diff --git a/storage/v1alpha1/autogen.md b/storage/v1alpha1/autogen.md index c59e0b2c..ed846b0e 100644 --- a/storage/v1alpha1/autogen.md +++ b/storage/v1alpha1/autogen.md @@ -156,6 +156,14 @@ - [CryptoType](#opi_api-storage-v1-CryptoType) +- [transactions.proto](#transactions-proto) + - [CreateTransactionRequest](#opi_api-storage-v1-CreateTransactionRequest) + - [DeleteTransactionRequest](#opi_api-storage-v1-DeleteTransactionRequest) + - [ExecuteTransactionRequest](#opi_api-storage-v1-ExecuteTransactionRequest) + - [Transaction](#opi_api-storage-v1-Transaction) + + - [TransactionService](#opi_api-storage-v1-TransactionService) + - [object_key.proto](#object_key-proto) - [ObjectKey](#opi_api-common-v1-ObjectKey) @@ -201,6 +209,7 @@ | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | device | [AioController](#opi_api-storage-v1-AioController) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -216,6 +225,7 @@ | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -317,6 +327,7 @@ Intentionally empty | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | device | [AioController](#opi_api-storage-v1-AioController) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -397,6 +408,7 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | device | [NullDebug](#opi_api-storage-v1-NullDebug) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -412,6 +424,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) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -498,6 +511,7 @@ Intentionally empty. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | device | [NullDebug](#opi_api-storage-v1-NullDebug) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -828,6 +842,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller | [NVMeController](#opi_api-storage-v1-NVMeController) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -843,6 +858,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [NVMeNamespace](#opi_api-storage-v1-NVMeNamespace) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -858,6 +874,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | subsystem | [NVMeSubsystem](#opi_api-storage-v1-NVMeSubsystem) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -873,6 +890,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -888,6 +906,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -903,6 +922,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | subsystem_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1311,6 +1331,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller | [NVMeController](#opi_api-storage-v1-NVMeController) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1326,6 +1347,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | namespace | [NVMeNamespace](#opi_api-storage-v1-NVMeNamespace) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1341,6 +1363,7 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | subsystem | [NVMeSubsystem](#opi_api-storage-v1-NVMeSubsystem) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1426,6 +1449,7 @@ Front End (host-facing) APIs. Mostly used for NVMe/PCIe emulation and host prese | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller | [VirtioBlk](#opi_api-storage-v1-VirtioBlk) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1441,6 +1465,7 @@ Front End (host-facing) APIs. Mostly used for NVMe/PCIe emulation and host prese | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1503,6 +1528,7 @@ Front End (host-facing) APIs. Mostly used for NVMe/PCIe emulation and host prese | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller | [VirtioBlk](#opi_api-storage-v1-VirtioBlk) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1614,6 +1640,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1629,6 +1656,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | lun | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1644,6 +1672,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | target | [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1659,6 +1688,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1675,6 +1705,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | ----- | ---- | ----- | ----------- | | controller_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | | lun_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1690,6 +1721,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | target_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1848,6 +1880,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | controller | [VirtioScsiController](#opi_api-storage-v1-VirtioScsiController) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1863,6 +1896,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | lun | [VirtioScsiLun](#opi_api-storage-v1-VirtioScsiLun) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -1878,6 +1912,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-blk emulation emulation and | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | target | [VirtioScsiTarget](#opi_api-storage-v1-VirtioScsiTarget) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -2079,6 +2114,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | volume | [Crypto](#opi_api-storage-v1-Crypto) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -2143,6 +2179,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | crypto_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -2205,6 +2242,7 @@ Front End (host-facing) APIs. Mostly used for Virtio-scsi emulation and host pre | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | volume | [Crypto](#opi_api-storage-v1-Crypto) | | | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | @@ -2292,6 +2330,89 @@ AES encryption type to be used + +

Top

+ +## transactions.proto + + + + + +### CreateTransactionRequest +Empty + + + + + + + + +### DeleteTransactionRequest + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | + + + + + + + + +### ExecuteTransactionRequest + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | + + + + + + + + +### Transaction + + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| txn_id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | + + + + + + + + + + + + + + +### TransactionService + + +| Method Name | Request Type | Response Type | Description | +| ----------- | ------------ | ------------- | ------------| +| CreateTransaction | [CreateTransactionRequest](#opi_api-storage-v1-CreateTransactionRequest) | [Transaction](#opi_api-storage-v1-Transaction) | | +| DeleteTransaction | [DeleteTransactionRequest](#opi_api-storage-v1-DeleteTransactionRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | +| ExecuteTransaction | [ExecuteTransactionRequest](#opi_api-storage-v1-ExecuteTransactionRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | + + + + +

Top

diff --git a/storage/v1alpha1/backend_aio.proto b/storage/v1alpha1/backend_aio.proto index d23ccc4c..41b90cac 100644 --- a/storage/v1alpha1/backend_aio.proto +++ b/storage/v1alpha1/backend_aio.proto @@ -37,14 +37,20 @@ message AioController { message AioControllerCreateRequest { AioController device = 1; + + common.v1.ObjectKey txn_id = 2; } message AioControllerDeleteRequest { common.v1.ObjectKey handle = 1; + + common.v1.ObjectKey txn_id = 2; } message AioControllerUpdateRequest { AioController device = 1; + + common.v1.ObjectKey txn_id = 2; } message AioControllerList{ diff --git a/storage/v1alpha1/backend_null.proto b/storage/v1alpha1/backend_null.proto index 90e4b7dd..04658aaa 100755 --- a/storage/v1alpha1/backend_null.proto +++ b/storage/v1alpha1/backend_null.proto @@ -33,15 +33,20 @@ message NullDebug { message NullDebugCreateRequest { NullDebug device = 1; + + common.v1.ObjectKey txn_id = 2; } message NullDebugDeleteRequest { common.v1.ObjectKey handle = 1; + common.v1.ObjectKey txn_id = 2; } message NullDebugUpdateRequest { NullDebug device = 1; + + common.v1.ObjectKey txn_id = 2; } message NullDebugListRequest { diff --git a/storage/v1alpha1/frontend_nvme_pcie.proto b/storage/v1alpha1/frontend_nvme_pcie.proto index 892430d4..6e62a0c9 100755 --- a/storage/v1alpha1/frontend_nvme_pcie.proto +++ b/storage/v1alpha1/frontend_nvme_pcie.proto @@ -225,14 +225,20 @@ message NVMeNamespaceStatus { message CreateNVMeSubsystemRequest { NVMeSubsystem subsystem = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteNVMeSubsystemRequest { common.v1.ObjectKey subsystem_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateNVMeSubsystemRequest { NVMeSubsystem subsystem = 1; + + common.v1.ObjectKey txn_id = 2; } message ListNVMeSubsystemRequest { @@ -259,14 +265,20 @@ message NVMeSubsystemStatsResponse { message CreateNVMeControllerRequest { NVMeController controller = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteNVMeControllerRequest { common.v1.ObjectKey controller_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateNVMeControllerRequest { NVMeController controller = 1; + + common.v1.ObjectKey txn_id = 2; } message ListNVMeControllerRequest { @@ -295,14 +307,20 @@ message NVMeControllerStatsResponse { message CreateNVMeNamespaceRequest { NVMeNamespace namespace = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteNVMeNamespaceRequest { common.v1.ObjectKey namespace_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateNVMeNamespaceRequest { NVMeNamespace namespace = 1; + + common.v1.ObjectKey txn_id = 2; } message ListNVMeNamespaceRequest { diff --git a/storage/v1alpha1/frontend_virtio_blk.proto b/storage/v1alpha1/frontend_virtio_blk.proto index d954dbbf..1b6d9a37 100755 --- a/storage/v1alpha1/frontend_virtio_blk.proto +++ b/storage/v1alpha1/frontend_virtio_blk.proto @@ -60,14 +60,20 @@ message VirtioBlk { message CreateVirtioBlkRequest { VirtioBlk controller = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteVirtioBlkRequest { common.v1.ObjectKey controller_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateVirtioBlkRequest { VirtioBlk controller = 1; + + common.v1.ObjectKey txn_id = 2; } message ListVirtioBlkRequest { diff --git a/storage/v1alpha1/frontend_virtio_scsi.proto b/storage/v1alpha1/frontend_virtio_scsi.proto index b8c9190a..06ac2709 100755 --- a/storage/v1alpha1/frontend_virtio_scsi.proto +++ b/storage/v1alpha1/frontend_virtio_scsi.proto @@ -130,14 +130,20 @@ message VirtioScsiLun { message CreateVirtioScsiTargetRequest { VirtioScsiTarget target = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteVirtioScsiTargetRequest { common.v1.ObjectKey target_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateVirtioScsiTargetRequest { VirtioScsiTarget target = 1; + + common.v1.ObjectKey txn_id = 2; } message ListVirtioScsiTargetRequest { @@ -165,14 +171,20 @@ message VirtioScsiTargetStatsResponse { message CreateVirtioScsiControllerRequest { VirtioScsiController controller = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteVirtioScsiControllerRequest { common.v1.ObjectKey controller_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateVirtioScsiControllerRequest { VirtioScsiController controller = 1; + + common.v1.ObjectKey txn_id = 2; } message ListVirtioScsiControllerRequest { @@ -200,15 +212,21 @@ message VirtioScsiControllerStatsResponse { message CreateVirtioScsiLunRequest { VirtioScsiLun lun = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteVirtioScsiLunRequest { common.v1.ObjectKey controller_id = 1; common.v1.ObjectKey lun_id = 2; + + common.v1.ObjectKey txn_id = 3; } message UpdateVirtioScsiLunRequest { VirtioScsiLun lun = 1; + + common.v1.ObjectKey txn_id = 2; } message ListVirtioScsiLunRequest { diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc index 539cae42..02986822 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc @@ -37,7 +37,8 @@ struct AioControllerDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerDefaultTypeInternal _AioController_default_instance_; constexpr AioControllerCreateRequest::AioControllerCreateRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : device_(nullptr){} + : device_(nullptr) + , txn_id_(nullptr){} struct AioControllerCreateRequestDefaultTypeInternal { constexpr AioControllerCreateRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -49,7 +50,8 @@ struct AioControllerCreateRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerCreateRequestDefaultTypeInternal _AioControllerCreateRequest_default_instance_; constexpr AioControllerDeleteRequest::AioControllerDeleteRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : handle_(nullptr){} + : handle_(nullptr) + , txn_id_(nullptr){} struct AioControllerDeleteRequestDefaultTypeInternal { constexpr AioControllerDeleteRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -61,7 +63,8 @@ struct AioControllerDeleteRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerDeleteRequestDefaultTypeInternal _AioControllerDeleteRequest_default_instance_; constexpr AioControllerUpdateRequest::AioControllerUpdateRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : device_(nullptr){} + : device_(nullptr) + , txn_id_(nullptr){} struct AioControllerUpdateRequestDefaultTypeInternal { constexpr AioControllerUpdateRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -169,6 +172,7 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerCreateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerCreateRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerDeleteRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -176,6 +180,7 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerDeleteRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerDeleteRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerUpdateRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -183,6 +188,7 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerUpdateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerUpdateRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerList, _internal_metadata_), ~0u, // no _extensions_ @@ -229,14 +235,14 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::AioController)}, { 11, -1, -1, sizeof(::opi_api::storage::v1::AioControllerCreateRequest)}, - { 18, -1, -1, sizeof(::opi_api::storage::v1::AioControllerDeleteRequest)}, - { 25, -1, -1, sizeof(::opi_api::storage::v1::AioControllerUpdateRequest)}, - { 32, -1, -1, sizeof(::opi_api::storage::v1::AioControllerList)}, - { 39, -1, -1, sizeof(::opi_api::storage::v1::AioControllerGetRequest)}, - { 46, -1, -1, sizeof(::opi_api::storage::v1::AioControllerGetListRequest)}, - { 52, -1, -1, sizeof(::opi_api::storage::v1::AioControllerGetStatsRequest)}, - { 59, -1, -1, sizeof(::opi_api::storage::v1::AioControllerStatsRequest)}, - { 66, -1, -1, sizeof(::opi_api::storage::v1::AioControllerStats)}, + { 19, -1, -1, sizeof(::opi_api::storage::v1::AioControllerDeleteRequest)}, + { 27, -1, -1, sizeof(::opi_api::storage::v1::AioControllerUpdateRequest)}, + { 35, -1, -1, sizeof(::opi_api::storage::v1::AioControllerList)}, + { 42, -1, -1, sizeof(::opi_api::storage::v1::AioControllerGetRequest)}, + { 49, -1, -1, sizeof(::opi_api::storage::v1::AioControllerGetListRequest)}, + { 55, -1, -1, sizeof(::opi_api::storage::v1::AioControllerGetStatsRequest)}, + { 62, -1, -1, sizeof(::opi_api::storage::v1::AioControllerStatsRequest)}, + { 69, -1, -1, sizeof(::opi_api::storage::v1::AioControllerStats)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -259,43 +265,46 @@ const char descriptor_table_protodef_backend_5faio_2eproto[] PROTOBUF_SECTION_VA "handle\030\001 \001(\0132\034.opi_api.common.v1.ObjectK" "ey\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_count\030\003" " \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.common.v1.U" - "uid\022\020\n\010filename\030\005 \001(\t\"O\n\032AioControllerCr" + "uid\022\020\n\010filename\030\005 \001(\t\"}\n\032AioControllerCr" "eateRequest\0221\n\006device\030\001 \001(\0132!.opi_api.st" - "orage.v1.AioController\"J\n\032AioControllerD" - "eleteRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.c" - "ommon.v1.ObjectKey\"O\n\032AioControllerUpdat" - "eRequest\0221\n\006device\030\001 \001(\0132!.opi_api.stora" - "ge.v1.AioController\"F\n\021AioControllerList" - "\0221\n\006device\030\001 \003(\0132!.opi_api.storage.v1.Ai" - "oController\"G\n\027AioControllerGetRequest\022," - "\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Objec" - "tKey\"\035\n\033AioControllerGetListRequest\"L\n\034A" - "ioControllerGetStatsRequest\022,\n\006handle\030\001 " - "\001(\0132\034.opi_api.common.v1.ObjectKey\"I\n\031Aio" - "ControllerStatsRequest\022,\n\006handle\030\001 \001(\0132\034" - ".opi_api.common.v1.ObjectKey\"Q\n\022AioContr" - "ollerStats\022,\n\006handle\030\001 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\234\005\n\024AioC" - "ontrollerService\022j\n\023AioControllerCreate\022" - "..opi_api.storage.v1.AioControllerCreate" - "Request\032!.opi_api.storage.v1.AioControll" - "er\"\000\022_\n\023AioControllerDelete\022..opi_api.st" - "orage.v1.AioControllerDeleteRequest\032\026.go" - "ogle.protobuf.Empty\"\000\022d\n\020AioControllerGe" - "t\022+.opi_api.storage.v1.AioControllerGetR" - "equest\032!.opi_api.storage.v1.AioControlle" - "r\"\000\022p\n\024AioControllerGetList\022/.opi_api.st" - "orage.v1.AioControllerGetListRequest\032%.o" - "pi_api.storage.v1.AioControllerList\"\000\022s\n" - "\025AioControllerGetStats\0220.opi_api.storage" - ".v1.AioControllerGetStatsRequest\032&.opi_a" - "pi.storage.v1.AioControllerStats\"\000\022j\n\023Ai" - "oControllerUpdate\022..opi_api.storage.v1.A" - "ioControllerUpdateRequest\032!.opi_api.stor" - "age.v1.AioController\"\000B^\n\022opi_api.storag" - "e.v1B\017BackendAioProtoP\001Z5github.com/opip" - "roject/opi-api/storage/v1alpha1/gen/gob\006" - "proto3" + "orage.v1.AioController\022,\n\006txn_id\030\002 \001(\0132\034" + ".opi_api.common.v1.ObjectKey\"x\n\032AioContr" + "ollerDeleteRequest\022,\n\006handle\030\001 \001(\0132\034.opi" + "_api.common.v1.ObjectKey\022,\n\006txn_id\030\002 \001(\013" + "2\034.opi_api.common.v1.ObjectKey\"}\n\032AioCon" + "trollerUpdateRequest\0221\n\006device\030\001 \001(\0132!.o" + "pi_api.storage.v1.AioController\022,\n\006txn_i" + "d\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"F\n" + "\021AioControllerList\0221\n\006device\030\001 \003(\0132!.opi" + "_api.storage.v1.AioController\"G\n\027AioCont" + "rollerGetRequest\022,\n\006handle\030\001 \001(\0132\034.opi_a" + "pi.common.v1.ObjectKey\"\035\n\033AioControllerG" + "etListRequest\"L\n\034AioControllerGetStatsRe" + "quest\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v" + "1.ObjectKey\"I\n\031AioControllerStatsRequest" + "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj" + "ectKey\"Q\n\022AioControllerStats\022,\n\006handle\030\001" + " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + "ats\030\002 \001(\t2\234\005\n\024AioControllerService\022j\n\023Ai" + "oControllerCreate\022..opi_api.storage.v1.A" + "ioControllerCreateRequest\032!.opi_api.stor" + "age.v1.AioController\"\000\022_\n\023AioControllerD" + "elete\022..opi_api.storage.v1.AioController" + "DeleteRequest\032\026.google.protobuf.Empty\"\000\022" + "d\n\020AioControllerGet\022+.opi_api.storage.v1" + ".AioControllerGetRequest\032!.opi_api.stora" + "ge.v1.AioController\"\000\022p\n\024AioControllerGe" + "tList\022/.opi_api.storage.v1.AioController" + "GetListRequest\032%.opi_api.storage.v1.AioC" + "ontrollerList\"\000\022s\n\025AioControllerGetStats" + "\0220.opi_api.storage.v1.AioControllerGetSt" + "atsRequest\032&.opi_api.storage.v1.AioContr" + "ollerStats\"\000\022j\n\023AioControllerUpdate\022..op" + "i_api.storage.v1.AioControllerUpdateRequ" + "est\032!.opi_api.storage.v1.AioController\"\000" + "B^\n\022opi_api.storage.v1B\017BackendAioProtoP" + "\001Z5github.com/opiproject/opi-api/storage" + "/v1alpha1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[3] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, @@ -304,7 +313,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; 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, 1686, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto", + false, false, 1824, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto", &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 3, 10, 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, @@ -681,12 +690,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioController::GetMetadata() const { class AioControllerCreateRequest::_Internal { public: static const ::opi_api::storage::v1::AioController& device(const AioControllerCreateRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const AioControllerCreateRequest* msg); }; const ::opi_api::storage::v1::AioController& AioControllerCreateRequest::_Internal::device(const AioControllerCreateRequest* msg) { return *msg->device_; } +const ::opi_api::common::v1::ObjectKey& +AioControllerCreateRequest::_Internal::txn_id(const AioControllerCreateRequest* msg) { + return *msg->txn_id_; +} +void AioControllerCreateRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} AioControllerCreateRequest::AioControllerCreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -704,11 +724,19 @@ AioControllerCreateRequest::AioControllerCreateRequest(const AioControllerCreate } else { device_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerCreateRequest) } inline void AioControllerCreateRequest::SharedCtor() { -device_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&device_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&device_)) + sizeof(txn_id_)); } AioControllerCreateRequest::~AioControllerCreateRequest() { @@ -721,6 +749,7 @@ AioControllerCreateRequest::~AioControllerCreateRequest() { inline void AioControllerCreateRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; + if (this != internal_default_instance()) delete txn_id_; } void AioControllerCreateRequest::ArenaDtor(void* object) { @@ -743,6 +772,10 @@ void AioControllerCreateRequest::Clear() { delete device_; } device_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -760,6 +793,14 @@ const char* AioControllerCreateRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -797,6 +838,14 @@ uint8_t* AioControllerCreateRequest::_InternalSerialize( 1, _Internal::device(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -820,6 +869,13 @@ size_t AioControllerCreateRequest::ByteSizeLong() const { *device_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -845,6 +901,9 @@ void AioControllerCreateRequest::MergeFrom(const AioControllerCreateRequest& fro if (from._internal_has_device()) { _internal_mutable_device()->::opi_api::storage::v1::AioController::MergeFrom(from._internal_device()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -862,7 +921,12 @@ bool AioControllerCreateRequest::IsInitialized() const { void AioControllerCreateRequest::InternalSwap(AioControllerCreateRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(device_, other->device_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(AioControllerCreateRequest, txn_id_) + + sizeof(AioControllerCreateRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(AioControllerCreateRequest, device_)>( + reinterpret_cast(&device_), + reinterpret_cast(&other->device_)); } ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerCreateRequest::GetMetadata() const { @@ -876,18 +940,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerCreateRequest::GetMetadata() cons class AioControllerDeleteRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerDeleteRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const AioControllerDeleteRequest* msg); }; const ::opi_api::common::v1::ObjectKey& AioControllerDeleteRequest::_Internal::handle(const AioControllerDeleteRequest* msg) { return *msg->handle_; } +const ::opi_api::common::v1::ObjectKey& +AioControllerDeleteRequest::_Internal::txn_id(const AioControllerDeleteRequest* msg) { + return *msg->txn_id_; +} void AioControllerDeleteRequest::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } +void AioControllerDeleteRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} AioControllerDeleteRequest::AioControllerDeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -905,11 +980,19 @@ AioControllerDeleteRequest::AioControllerDeleteRequest(const AioControllerDelete } else { handle_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerDeleteRequest) } inline void AioControllerDeleteRequest::SharedCtor() { -handle_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&handle_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&handle_)) + sizeof(txn_id_)); } AioControllerDeleteRequest::~AioControllerDeleteRequest() { @@ -922,6 +1005,7 @@ AioControllerDeleteRequest::~AioControllerDeleteRequest() { inline void AioControllerDeleteRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete handle_; + if (this != internal_default_instance()) delete txn_id_; } void AioControllerDeleteRequest::ArenaDtor(void* object) { @@ -944,6 +1028,10 @@ void AioControllerDeleteRequest::Clear() { delete handle_; } handle_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -961,6 +1049,14 @@ const char* AioControllerDeleteRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -998,6 +1094,14 @@ uint8_t* AioControllerDeleteRequest::_InternalSerialize( 1, _Internal::handle(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1021,6 +1125,13 @@ size_t AioControllerDeleteRequest::ByteSizeLong() const { *handle_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1046,6 +1157,9 @@ void AioControllerDeleteRequest::MergeFrom(const AioControllerDeleteRequest& fro if (from._internal_has_handle()) { _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1063,7 +1177,12 @@ bool AioControllerDeleteRequest::IsInitialized() const { void AioControllerDeleteRequest::InternalSwap(AioControllerDeleteRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(handle_, other->handle_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(AioControllerDeleteRequest, txn_id_) + + sizeof(AioControllerDeleteRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(AioControllerDeleteRequest, handle_)>( + reinterpret_cast(&handle_), + reinterpret_cast(&other->handle_)); } ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerDeleteRequest::GetMetadata() const { @@ -1077,12 +1196,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerDeleteRequest::GetMetadata() cons class AioControllerUpdateRequest::_Internal { public: static const ::opi_api::storage::v1::AioController& device(const AioControllerUpdateRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const AioControllerUpdateRequest* msg); }; const ::opi_api::storage::v1::AioController& AioControllerUpdateRequest::_Internal::device(const AioControllerUpdateRequest* msg) { return *msg->device_; } +const ::opi_api::common::v1::ObjectKey& +AioControllerUpdateRequest::_Internal::txn_id(const AioControllerUpdateRequest* msg) { + return *msg->txn_id_; +} +void AioControllerUpdateRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} AioControllerUpdateRequest::AioControllerUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1100,11 +1230,19 @@ AioControllerUpdateRequest::AioControllerUpdateRequest(const AioControllerUpdate } else { device_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerUpdateRequest) } inline void AioControllerUpdateRequest::SharedCtor() { -device_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&device_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&device_)) + sizeof(txn_id_)); } AioControllerUpdateRequest::~AioControllerUpdateRequest() { @@ -1117,6 +1255,7 @@ AioControllerUpdateRequest::~AioControllerUpdateRequest() { inline void AioControllerUpdateRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; + if (this != internal_default_instance()) delete txn_id_; } void AioControllerUpdateRequest::ArenaDtor(void* object) { @@ -1139,6 +1278,10 @@ void AioControllerUpdateRequest::Clear() { delete device_; } device_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1156,6 +1299,14 @@ const char* AioControllerUpdateRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1193,6 +1344,14 @@ uint8_t* AioControllerUpdateRequest::_InternalSerialize( 1, _Internal::device(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1216,6 +1375,13 @@ size_t AioControllerUpdateRequest::ByteSizeLong() const { *device_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1241,6 +1407,9 @@ void AioControllerUpdateRequest::MergeFrom(const AioControllerUpdateRequest& fro if (from._internal_has_device()) { _internal_mutable_device()->::opi_api::storage::v1::AioController::MergeFrom(from._internal_device()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1258,7 +1427,12 @@ bool AioControllerUpdateRequest::IsInitialized() const { void AioControllerUpdateRequest::InternalSwap(AioControllerUpdateRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(device_, other->device_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(AioControllerUpdateRequest, txn_id_) + + sizeof(AioControllerUpdateRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(AioControllerUpdateRequest, device_)>( + reinterpret_cast(&device_), + reinterpret_cast(&other->device_)); } ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerUpdateRequest::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.h b/storage/v1alpha1/gen/cpp/backend_aio.pb.h index 86f33a4f..f696b0ad 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.h @@ -447,6 +447,7 @@ class AioControllerCreateRequest final : enum : int { kDeviceFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.AioController device = 1; bool has_device() const; @@ -466,6 +467,24 @@ class AioControllerCreateRequest final : ::opi_api::storage::v1::AioController* device); ::opi_api::storage::v1::AioController* unsafe_arena_release_device(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerCreateRequest) private: class _Internal; @@ -474,6 +493,7 @@ class AioControllerCreateRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::AioController* device_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5faio_2eproto; }; @@ -602,6 +622,7 @@ class AioControllerDeleteRequest final : enum : int { kHandleFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey handle = 1; bool has_handle() const; @@ -621,6 +642,24 @@ class AioControllerDeleteRequest final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerDeleteRequest) private: class _Internal; @@ -629,6 +668,7 @@ class AioControllerDeleteRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* handle_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5faio_2eproto; }; @@ -757,6 +797,7 @@ class AioControllerUpdateRequest final : enum : int { kDeviceFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.AioController device = 1; bool has_device() const; @@ -776,6 +817,24 @@ class AioControllerUpdateRequest final : ::opi_api::storage::v1::AioController* device); ::opi_api::storage::v1::AioController* unsafe_arena_release_device(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerUpdateRequest) private: class _Internal; @@ -784,6 +843,7 @@ class AioControllerUpdateRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::AioController* device_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5faio_2eproto; }; @@ -2064,6 +2124,92 @@ inline void AioControllerCreateRequest::set_allocated_device(::opi_api::storage: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerCreateRequest.device) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool AioControllerCreateRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool AioControllerCreateRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& AioControllerCreateRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& AioControllerCreateRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerCreateRequest.txn_id) + return _internal_txn_id(); +} +inline void AioControllerCreateRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerCreateRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* AioControllerCreateRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerCreateRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerCreateRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerCreateRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerCreateRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerCreateRequest.txn_id) + return _msg; +} +inline void AioControllerCreateRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerCreateRequest.txn_id) +} + // ------------------------------------------------------------------- // AioControllerDeleteRequest @@ -2154,6 +2300,92 @@ inline void AioControllerDeleteRequest::set_allocated_handle(::opi_api::common:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerDeleteRequest.handle) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool AioControllerDeleteRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool AioControllerDeleteRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& AioControllerDeleteRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& AioControllerDeleteRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerDeleteRequest.txn_id) + return _internal_txn_id(); +} +inline void AioControllerDeleteRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerDeleteRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerDeleteRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerDeleteRequest.txn_id) + return _msg; +} +inline void AioControllerDeleteRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerDeleteRequest.txn_id) +} + // ------------------------------------------------------------------- // AioControllerUpdateRequest @@ -2248,6 +2480,92 @@ inline void AioControllerUpdateRequest::set_allocated_device(::opi_api::storage: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerUpdateRequest.device) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool AioControllerUpdateRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool AioControllerUpdateRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& AioControllerUpdateRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& AioControllerUpdateRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerUpdateRequest.txn_id) + return _internal_txn_id(); +} +inline void AioControllerUpdateRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerUpdateRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* AioControllerUpdateRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerUpdateRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerUpdateRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerUpdateRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* AioControllerUpdateRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerUpdateRequest.txn_id) + return _msg; +} +inline void AioControllerUpdateRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerUpdateRequest.txn_id) +} + // ------------------------------------------------------------------- // AioControllerList diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.cc b/storage/v1alpha1/gen/cpp/backend_null.pb.cc index f5245c0e..2da335f0 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_null.pb.cc @@ -36,7 +36,8 @@ struct NullDebugDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugDefaultTypeInternal _NullDebug_default_instance_; constexpr NullDebugCreateRequest::NullDebugCreateRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : device_(nullptr){} + : device_(nullptr) + , txn_id_(nullptr){} struct NullDebugCreateRequestDefaultTypeInternal { constexpr NullDebugCreateRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -48,7 +49,8 @@ struct NullDebugCreateRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugCreateRequestDefaultTypeInternal _NullDebugCreateRequest_default_instance_; constexpr NullDebugDeleteRequest::NullDebugDeleteRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : handle_(nullptr){} + : handle_(nullptr) + , txn_id_(nullptr){} struct NullDebugDeleteRequestDefaultTypeInternal { constexpr NullDebugDeleteRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -60,7 +62,8 @@ struct NullDebugDeleteRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugDeleteRequestDefaultTypeInternal _NullDebugDeleteRequest_default_instance_; constexpr NullDebugUpdateRequest::NullDebugUpdateRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : device_(nullptr){} + : device_(nullptr) + , txn_id_(nullptr){} struct NullDebugUpdateRequestDefaultTypeInternal { constexpr NullDebugUpdateRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -155,6 +158,7 @@ const uint32_t TableStruct_backend_5fnull_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugCreateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugCreateRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugDeleteRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -162,6 +166,7 @@ const uint32_t TableStruct_backend_5fnull_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugDeleteRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugDeleteRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugUpdateRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -169,6 +174,7 @@ const uint32_t TableStruct_backend_5fnull_2eproto::offsets[] PROTOBUF_SECTION_VA ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugUpdateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugUpdateRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugListRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -208,13 +214,13 @@ const uint32_t TableStruct_backend_5fnull_2eproto::offsets[] PROTOBUF_SECTION_VA static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::NullDebug)}, { 10, -1, -1, sizeof(::opi_api::storage::v1::NullDebugCreateRequest)}, - { 17, -1, -1, sizeof(::opi_api::storage::v1::NullDebugDeleteRequest)}, - { 24, -1, -1, sizeof(::opi_api::storage::v1::NullDebugUpdateRequest)}, - { 31, -1, -1, sizeof(::opi_api::storage::v1::NullDebugListRequest)}, - { 37, -1, -1, sizeof(::opi_api::storage::v1::NullDebugListResponse)}, - { 44, -1, -1, sizeof(::opi_api::storage::v1::NullDebugGetRequest)}, - { 51, -1, -1, sizeof(::opi_api::storage::v1::NullDebugStatsRequest)}, - { 58, -1, -1, sizeof(::opi_api::storage::v1::NullDebugStatsResponse)}, + { 18, -1, -1, sizeof(::opi_api::storage::v1::NullDebugDeleteRequest)}, + { 26, -1, -1, sizeof(::opi_api::storage::v1::NullDebugUpdateRequest)}, + { 34, -1, -1, sizeof(::opi_api::storage::v1::NullDebugListRequest)}, + { 40, -1, -1, sizeof(::opi_api::storage::v1::NullDebugListResponse)}, + { 47, -1, -1, sizeof(::opi_api::storage::v1::NullDebugGetRequest)}, + { 54, -1, -1, sizeof(::opi_api::storage::v1::NullDebugStatsRequest)}, + { 61, -1, -1, sizeof(::opi_api::storage::v1::NullDebugStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -236,38 +242,41 @@ const char descriptor_table_protodef_backend_5fnull_2eproto[] PROTOBUF_SECTION_V "dle\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\004uuid\030\004 \001(\0132\027.opi_api.common.v1.Uuid" - "\"G\n\026NullDebugCreateRequest\022-\n\006device\030\001 \001" - "(\0132\035.opi_api.storage.v1.NullDebug\"F\n\026Nul" - "lDebugDeleteRequest\022,\n\006handle\030\001 \001(\0132\034.op" - "i_api.common.v1.ObjectKey\"G\n\026NullDebugUp" - "dateRequest\022-\n\006device\030\001 \001(\0132\035.opi_api.st" - "orage.v1.NullDebug\"\026\n\024NullDebugListReque" - "st\"F\n\025NullDebugListResponse\022-\n\006device\030\001 " - "\003(\0132\035.opi_api.storage.v1.NullDebug\"C\n\023Nu" - "llDebugGetRequest\022,\n\006handle\030\001 \001(\0132\034.opi_" - "api.common.v1.ObjectKey\"E\n\025NullDebugStat" - "sRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.commo" - "n.v1.ObjectKey\"U\n\026NullDebugStatsResponse" - "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj" - "ectKey\022\r\n\005stats\030\002 \001(\t2\330\004\n\020NullDebugServi" - "ce\022^\n\017NullDebugCreate\022*.opi_api.storage." - "v1.NullDebugCreateRequest\032\035.opi_api.stor" - "age.v1.NullDebug\"\000\022W\n\017NullDebugDelete\022*." - "opi_api.storage.v1.NullDebugDeleteReques" - "t\032\026.google.protobuf.Empty\"\000\022^\n\017NullDebug" - "Update\022*.opi_api.storage.v1.NullDebugUpd" - "ateRequest\032\035.opi_api.storage.v1.NullDebu" - "g\"\000\022f\n\rNullDebugList\022(.opi_api.storage.v" - "1.NullDebugListRequest\032).opi_api.storage" - ".v1.NullDebugListResponse\"\000\022X\n\014NullDebug" - "Get\022\'.opi_api.storage.v1.NullDebugGetReq" - "uest\032\035.opi_api.storage.v1.NullDebug\"\000\022i\n" - "\016NullDebugStats\022).opi_api.storage.v1.Nul" - "lDebugStatsRequest\032*.opi_api.storage.v1." - "NullDebugStatsResponse\"\000B_\n\022opi_api.stor" - "age.v1B\020BackendNullProtoP\001Z5github.com/o" - "piproject/opi-api/storage/v1alpha1/gen/g" - "ob\006proto3" + "\"u\n\026NullDebugCreateRequest\022-\n\006device\030\001 \001" + "(\0132\035.opi_api.storage.v1.NullDebug\022,\n\006txn" + "_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"" + "t\n\026NullDebugDeleteRequest\022,\n\006handle\030\001 \001(" + "\0132\034.opi_api.common.v1.ObjectKey\022,\n\006txn_i" + "d\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"u\n" + "\026NullDebugUpdateRequest\022-\n\006device\030\001 \001(\0132" + "\035.opi_api.storage.v1.NullDebug\022,\n\006txn_id" + "\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"\026\n\024" + "NullDebugListRequest\"F\n\025NullDebugListRes" + "ponse\022-\n\006device\030\001 \003(\0132\035.opi_api.storage." + "v1.NullDebug\"C\n\023NullDebugGetRequest\022,\n\006h" + "andle\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + "y\"E\n\025NullDebugStatsRequest\022,\n\006handle\030\001 \001" + "(\0132\034.opi_api.common.v1.ObjectKey\"U\n\026Null" + "DebugStatsResponse\022,\n\006handle\030\001 \001(\0132\034.opi" + "_api.common.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2" + "\330\004\n\020NullDebugService\022^\n\017NullDebugCreate\022" + "*.opi_api.storage.v1.NullDebugCreateRequ" + "est\032\035.opi_api.storage.v1.NullDebug\"\000\022W\n\017" + "NullDebugDelete\022*.opi_api.storage.v1.Nul" + "lDebugDeleteRequest\032\026.google.protobuf.Em" + "pty\"\000\022^\n\017NullDebugUpdate\022*.opi_api.stora" + "ge.v1.NullDebugUpdateRequest\032\035.opi_api.s" + "torage.v1.NullDebug\"\000\022f\n\rNullDebugList\022(" + ".opi_api.storage.v1.NullDebugListRequest" + "\032).opi_api.storage.v1.NullDebugListRespo" + "nse\"\000\022X\n\014NullDebugGet\022\'.opi_api.storage." + "v1.NullDebugGetRequest\032\035.opi_api.storage" + ".v1.NullDebug\"\000\022i\n\016NullDebugStats\022).opi_" + "api.storage.v1.NullDebugStatsRequest\032*.o" + "pi_api.storage.v1.NullDebugStatsResponse" + "\"\000B_\n\022opi_api.storage.v1B\020BackendNullPro" + "toP\001Z5github.com/opiproject/opi-api/stor" + "age/v1alpha1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[3] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, @@ -276,7 +285,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor }; 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, 1489, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto", + false, false, 1627, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto", &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 3, 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, @@ -602,12 +611,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebug::GetMetadata() const { class NullDebugCreateRequest::_Internal { public: static const ::opi_api::storage::v1::NullDebug& device(const NullDebugCreateRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const NullDebugCreateRequest* msg); }; const ::opi_api::storage::v1::NullDebug& NullDebugCreateRequest::_Internal::device(const NullDebugCreateRequest* msg) { return *msg->device_; } +const ::opi_api::common::v1::ObjectKey& +NullDebugCreateRequest::_Internal::txn_id(const NullDebugCreateRequest* msg) { + return *msg->txn_id_; +} +void NullDebugCreateRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} NullDebugCreateRequest::NullDebugCreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -625,11 +645,19 @@ NullDebugCreateRequest::NullDebugCreateRequest(const NullDebugCreateRequest& fro } else { device_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugCreateRequest) } inline void NullDebugCreateRequest::SharedCtor() { -device_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&device_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&device_)) + sizeof(txn_id_)); } NullDebugCreateRequest::~NullDebugCreateRequest() { @@ -642,6 +670,7 @@ NullDebugCreateRequest::~NullDebugCreateRequest() { inline void NullDebugCreateRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; + if (this != internal_default_instance()) delete txn_id_; } void NullDebugCreateRequest::ArenaDtor(void* object) { @@ -664,6 +693,10 @@ void NullDebugCreateRequest::Clear() { delete device_; } device_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -681,6 +714,14 @@ const char* NullDebugCreateRequest::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -718,6 +759,14 @@ uint8_t* NullDebugCreateRequest::_InternalSerialize( 1, _Internal::device(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -741,6 +790,13 @@ size_t NullDebugCreateRequest::ByteSizeLong() const { *device_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -766,6 +822,9 @@ void NullDebugCreateRequest::MergeFrom(const NullDebugCreateRequest& from) { if (from._internal_has_device()) { _internal_mutable_device()->::opi_api::storage::v1::NullDebug::MergeFrom(from._internal_device()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -783,7 +842,12 @@ bool NullDebugCreateRequest::IsInitialized() const { void NullDebugCreateRequest::InternalSwap(NullDebugCreateRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(device_, other->device_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(NullDebugCreateRequest, txn_id_) + + sizeof(NullDebugCreateRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(NullDebugCreateRequest, device_)>( + reinterpret_cast(&device_), + reinterpret_cast(&other->device_)); } ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugCreateRequest::GetMetadata() const { @@ -797,18 +861,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugCreateRequest::GetMetadata() const { class NullDebugDeleteRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& handle(const NullDebugDeleteRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const NullDebugDeleteRequest* msg); }; const ::opi_api::common::v1::ObjectKey& NullDebugDeleteRequest::_Internal::handle(const NullDebugDeleteRequest* msg) { return *msg->handle_; } +const ::opi_api::common::v1::ObjectKey& +NullDebugDeleteRequest::_Internal::txn_id(const NullDebugDeleteRequest* msg) { + return *msg->txn_id_; +} void NullDebugDeleteRequest::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } +void NullDebugDeleteRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} NullDebugDeleteRequest::NullDebugDeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -826,11 +901,19 @@ NullDebugDeleteRequest::NullDebugDeleteRequest(const NullDebugDeleteRequest& fro } else { handle_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugDeleteRequest) } inline void NullDebugDeleteRequest::SharedCtor() { -handle_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&handle_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&handle_)) + sizeof(txn_id_)); } NullDebugDeleteRequest::~NullDebugDeleteRequest() { @@ -843,6 +926,7 @@ NullDebugDeleteRequest::~NullDebugDeleteRequest() { inline void NullDebugDeleteRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete handle_; + if (this != internal_default_instance()) delete txn_id_; } void NullDebugDeleteRequest::ArenaDtor(void* object) { @@ -865,6 +949,10 @@ void NullDebugDeleteRequest::Clear() { delete handle_; } handle_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -882,6 +970,14 @@ const char* NullDebugDeleteRequest::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -919,6 +1015,14 @@ uint8_t* NullDebugDeleteRequest::_InternalSerialize( 1, _Internal::handle(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -942,6 +1046,13 @@ size_t NullDebugDeleteRequest::ByteSizeLong() const { *handle_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -967,6 +1078,9 @@ void NullDebugDeleteRequest::MergeFrom(const NullDebugDeleteRequest& from) { if (from._internal_has_handle()) { _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -984,7 +1098,12 @@ bool NullDebugDeleteRequest::IsInitialized() const { void NullDebugDeleteRequest::InternalSwap(NullDebugDeleteRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(handle_, other->handle_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(NullDebugDeleteRequest, txn_id_) + + sizeof(NullDebugDeleteRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(NullDebugDeleteRequest, handle_)>( + reinterpret_cast(&handle_), + reinterpret_cast(&other->handle_)); } ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugDeleteRequest::GetMetadata() const { @@ -998,12 +1117,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugDeleteRequest::GetMetadata() const { class NullDebugUpdateRequest::_Internal { public: static const ::opi_api::storage::v1::NullDebug& device(const NullDebugUpdateRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const NullDebugUpdateRequest* msg); }; const ::opi_api::storage::v1::NullDebug& NullDebugUpdateRequest::_Internal::device(const NullDebugUpdateRequest* msg) { return *msg->device_; } +const ::opi_api::common::v1::ObjectKey& +NullDebugUpdateRequest::_Internal::txn_id(const NullDebugUpdateRequest* msg) { + return *msg->txn_id_; +} +void NullDebugUpdateRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} NullDebugUpdateRequest::NullDebugUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1021,11 +1151,19 @@ NullDebugUpdateRequest::NullDebugUpdateRequest(const NullDebugUpdateRequest& fro } else { device_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugUpdateRequest) } inline void NullDebugUpdateRequest::SharedCtor() { -device_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&device_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&device_)) + sizeof(txn_id_)); } NullDebugUpdateRequest::~NullDebugUpdateRequest() { @@ -1038,6 +1176,7 @@ NullDebugUpdateRequest::~NullDebugUpdateRequest() { inline void NullDebugUpdateRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; + if (this != internal_default_instance()) delete txn_id_; } void NullDebugUpdateRequest::ArenaDtor(void* object) { @@ -1060,6 +1199,10 @@ void NullDebugUpdateRequest::Clear() { delete device_; } device_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1077,6 +1220,14 @@ const char* NullDebugUpdateRequest::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1114,6 +1265,14 @@ uint8_t* NullDebugUpdateRequest::_InternalSerialize( 1, _Internal::device(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1137,6 +1296,13 @@ size_t NullDebugUpdateRequest::ByteSizeLong() const { *device_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1162,6 +1328,9 @@ void NullDebugUpdateRequest::MergeFrom(const NullDebugUpdateRequest& from) { if (from._internal_has_device()) { _internal_mutable_device()->::opi_api::storage::v1::NullDebug::MergeFrom(from._internal_device()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1179,7 +1348,12 @@ bool NullDebugUpdateRequest::IsInitialized() const { void NullDebugUpdateRequest::InternalSwap(NullDebugUpdateRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(device_, other->device_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(NullDebugUpdateRequest, txn_id_) + + sizeof(NullDebugUpdateRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(NullDebugUpdateRequest, device_)>( + reinterpret_cast(&device_), + reinterpret_cast(&other->device_)); } ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugUpdateRequest::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.h b/storage/v1alpha1/gen/cpp/backend_null.pb.h index cc5cfde6..7a112e43 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_null.pb.h @@ -427,6 +427,7 @@ class NullDebugCreateRequest final : enum : int { kDeviceFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NullDebug device = 1; bool has_device() const; @@ -446,6 +447,24 @@ class NullDebugCreateRequest final : ::opi_api::storage::v1::NullDebug* device); ::opi_api::storage::v1::NullDebug* unsafe_arena_release_device(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugCreateRequest) private: class _Internal; @@ -454,6 +473,7 @@ class NullDebugCreateRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NullDebug* device_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnull_2eproto; }; @@ -582,6 +602,7 @@ class NullDebugDeleteRequest final : enum : int { kHandleFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey handle = 1; bool has_handle() const; @@ -601,6 +622,24 @@ class NullDebugDeleteRequest final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugDeleteRequest) private: class _Internal; @@ -609,6 +648,7 @@ class NullDebugDeleteRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* handle_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnull_2eproto; }; @@ -737,6 +777,7 @@ class NullDebugUpdateRequest final : enum : int { kDeviceFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NullDebug device = 1; bool has_device() const; @@ -756,6 +797,24 @@ class NullDebugUpdateRequest final : ::opi_api::storage::v1::NullDebug* device); ::opi_api::storage::v1::NullDebug* unsafe_arena_release_device(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugUpdateRequest) private: class _Internal; @@ -764,6 +823,7 @@ class NullDebugUpdateRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NullDebug* device_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnull_2eproto; }; @@ -1838,6 +1898,92 @@ inline void NullDebugCreateRequest::set_allocated_device(::opi_api::storage::v1: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugCreateRequest.device) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool NullDebugCreateRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool NullDebugCreateRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& NullDebugCreateRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& NullDebugCreateRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugCreateRequest.txn_id) + return _internal_txn_id(); +} +inline void NullDebugCreateRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugCreateRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* NullDebugCreateRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugCreateRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugCreateRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugCreateRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugCreateRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugCreateRequest.txn_id) + return _msg; +} +inline void NullDebugCreateRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugCreateRequest.txn_id) +} + // ------------------------------------------------------------------- // NullDebugDeleteRequest @@ -1928,6 +2074,92 @@ inline void NullDebugDeleteRequest::set_allocated_handle(::opi_api::common::v1:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugDeleteRequest.handle) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool NullDebugDeleteRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool NullDebugDeleteRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& NullDebugDeleteRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& NullDebugDeleteRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugDeleteRequest.txn_id) + return _internal_txn_id(); +} +inline void NullDebugDeleteRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugDeleteRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugDeleteRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugDeleteRequest.txn_id) + return _msg; +} +inline void NullDebugDeleteRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugDeleteRequest.txn_id) +} + // ------------------------------------------------------------------- // NullDebugUpdateRequest @@ -2022,6 +2254,92 @@ inline void NullDebugUpdateRequest::set_allocated_device(::opi_api::storage::v1: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugUpdateRequest.device) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool NullDebugUpdateRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool NullDebugUpdateRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& NullDebugUpdateRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& NullDebugUpdateRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugUpdateRequest.txn_id) + return _internal_txn_id(); +} +inline void NullDebugUpdateRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugUpdateRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* NullDebugUpdateRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugUpdateRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugUpdateRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugUpdateRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* NullDebugUpdateRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugUpdateRequest.txn_id) + return _msg; +} +inline void NullDebugUpdateRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugUpdateRequest.txn_id) +} + // ------------------------------------------------------------------- // NullDebugListRequest diff --git a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc index 587e7111..4df88b58 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.cc @@ -154,7 +154,8 @@ struct NVMeNamespaceStatusDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMeNamespaceStatusDefaultTypeInternal _NVMeNamespaceStatus_default_instance_; constexpr CreateNVMeSubsystemRequest::CreateNVMeSubsystemRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : subsystem_(nullptr){} + : subsystem_(nullptr) + , txn_id_(nullptr){} struct CreateNVMeSubsystemRequestDefaultTypeInternal { constexpr CreateNVMeSubsystemRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -166,7 +167,8 @@ struct CreateNVMeSubsystemRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNVMeSubsystemRequestDefaultTypeInternal _CreateNVMeSubsystemRequest_default_instance_; constexpr DeleteNVMeSubsystemRequest::DeleteNVMeSubsystemRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : subsystem_id_(nullptr){} + : subsystem_id_(nullptr) + , txn_id_(nullptr){} struct DeleteNVMeSubsystemRequestDefaultTypeInternal { constexpr DeleteNVMeSubsystemRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -178,7 +180,8 @@ struct DeleteNVMeSubsystemRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteNVMeSubsystemRequestDefaultTypeInternal _DeleteNVMeSubsystemRequest_default_instance_; constexpr UpdateNVMeSubsystemRequest::UpdateNVMeSubsystemRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : subsystem_(nullptr){} + : subsystem_(nullptr) + , txn_id_(nullptr){} struct UpdateNVMeSubsystemRequestDefaultTypeInternal { constexpr UpdateNVMeSubsystemRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -252,7 +255,8 @@ struct NVMeSubsystemStatsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMeSubsystemStatsResponseDefaultTypeInternal _NVMeSubsystemStatsResponse_default_instance_; constexpr CreateNVMeControllerRequest::CreateNVMeControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_(nullptr){} + : controller_(nullptr) + , txn_id_(nullptr){} struct CreateNVMeControllerRequestDefaultTypeInternal { constexpr CreateNVMeControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -264,7 +268,8 @@ struct CreateNVMeControllerRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNVMeControllerRequestDefaultTypeInternal _CreateNVMeControllerRequest_default_instance_; constexpr DeleteNVMeControllerRequest::DeleteNVMeControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_id_(nullptr){} + : controller_id_(nullptr) + , txn_id_(nullptr){} struct DeleteNVMeControllerRequestDefaultTypeInternal { constexpr DeleteNVMeControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -276,7 +281,8 @@ struct DeleteNVMeControllerRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteNVMeControllerRequestDefaultTypeInternal _DeleteNVMeControllerRequest_default_instance_; constexpr UpdateNVMeControllerRequest::UpdateNVMeControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_(nullptr){} + : controller_(nullptr) + , txn_id_(nullptr){} struct UpdateNVMeControllerRequestDefaultTypeInternal { constexpr UpdateNVMeControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -352,7 +358,8 @@ struct NVMeControllerStatsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMeControllerStatsResponseDefaultTypeInternal _NVMeControllerStatsResponse_default_instance_; constexpr CreateNVMeNamespaceRequest::CreateNVMeNamespaceRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : namespace__(nullptr){} + : namespace__(nullptr) + , txn_id_(nullptr){} struct CreateNVMeNamespaceRequestDefaultTypeInternal { constexpr CreateNVMeNamespaceRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -364,7 +371,8 @@ struct CreateNVMeNamespaceRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNVMeNamespaceRequestDefaultTypeInternal _CreateNVMeNamespaceRequest_default_instance_; constexpr DeleteNVMeNamespaceRequest::DeleteNVMeNamespaceRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : namespace_id_(nullptr){} + : namespace_id_(nullptr) + , txn_id_(nullptr){} struct DeleteNVMeNamespaceRequestDefaultTypeInternal { constexpr DeleteNVMeNamespaceRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -376,7 +384,8 @@ struct DeleteNVMeNamespaceRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteNVMeNamespaceRequestDefaultTypeInternal _DeleteNVMeNamespaceRequest_default_instance_; constexpr UpdateNVMeNamespaceRequest::UpdateNVMeNamespaceRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : namespace__(nullptr){} + : namespace__(nullptr) + , txn_id_(nullptr){} struct UpdateNVMeNamespaceRequestDefaultTypeInternal { constexpr UpdateNVMeNamespaceRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -551,6 +560,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMeSubsystemRequest, subsystem_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMeSubsystemRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeSubsystemRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -558,6 +568,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeSubsystemRequest, subsystem_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeSubsystemRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeSubsystemRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -565,6 +576,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeSubsystemRequest, subsystem_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeSubsystemRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMeSubsystemRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -609,6 +621,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMeControllerRequest, controller_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMeControllerRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -616,6 +629,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeControllerRequest, controller_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeControllerRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -623,6 +637,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeControllerRequest, controller_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeControllerRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMeControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -669,6 +684,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMeNamespaceRequest, namespace__), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMeNamespaceRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeNamespaceRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -676,6 +692,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeNamespaceRequest, namespace_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMeNamespaceRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeNamespaceRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -683,6 +700,7 @@ const uint32_t TableStruct_frontend_5fnvme_5fpcie_2eproto::offsets[] PROTOBUF_SE ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeNamespaceRequest, namespace__), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMeNamespaceRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMeNamespaceRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -734,29 +752,29 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 65, -1, -1, sizeof(::opi_api::storage::v1::NVMeNamespaceSpec)}, { 78, -1, -1, sizeof(::opi_api::storage::v1::NVMeNamespaceStatus)}, { 86, -1, -1, sizeof(::opi_api::storage::v1::CreateNVMeSubsystemRequest)}, - { 93, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMeSubsystemRequest)}, - { 100, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMeSubsystemRequest)}, - { 107, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeSubsystemRequest)}, - { 115, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeSubsystemResponse)}, - { 123, -1, -1, sizeof(::opi_api::storage::v1::GetNVMeSubsystemRequest)}, - { 130, -1, -1, sizeof(::opi_api::storage::v1::NVMeSubsystemStatsRequest)}, - { 137, -1, -1, sizeof(::opi_api::storage::v1::NVMeSubsystemStatsResponse)}, - { 144, -1, -1, sizeof(::opi_api::storage::v1::CreateNVMeControllerRequest)}, - { 151, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMeControllerRequest)}, - { 158, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMeControllerRequest)}, - { 165, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeControllerRequest)}, - { 174, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeControllerResponse)}, - { 182, -1, -1, sizeof(::opi_api::storage::v1::GetNVMeControllerRequest)}, - { 189, -1, -1, sizeof(::opi_api::storage::v1::NVMeControllerStatsRequest)}, - { 196, -1, -1, sizeof(::opi_api::storage::v1::NVMeControllerStatsResponse)}, - { 204, -1, -1, sizeof(::opi_api::storage::v1::CreateNVMeNamespaceRequest)}, - { 211, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMeNamespaceRequest)}, - { 218, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMeNamespaceRequest)}, - { 225, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeNamespaceRequest)}, - { 234, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeNamespaceResponse)}, - { 242, -1, -1, sizeof(::opi_api::storage::v1::GetNVMeNamespaceRequest)}, - { 249, -1, -1, sizeof(::opi_api::storage::v1::NVMeNamespaceStatsRequest)}, - { 256, -1, -1, sizeof(::opi_api::storage::v1::NVMeNamespaceStatsResponse)}, + { 94, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMeSubsystemRequest)}, + { 102, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMeSubsystemRequest)}, + { 110, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeSubsystemRequest)}, + { 118, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeSubsystemResponse)}, + { 126, -1, -1, sizeof(::opi_api::storage::v1::GetNVMeSubsystemRequest)}, + { 133, -1, -1, sizeof(::opi_api::storage::v1::NVMeSubsystemStatsRequest)}, + { 140, -1, -1, sizeof(::opi_api::storage::v1::NVMeSubsystemStatsResponse)}, + { 147, -1, -1, sizeof(::opi_api::storage::v1::CreateNVMeControllerRequest)}, + { 155, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMeControllerRequest)}, + { 163, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMeControllerRequest)}, + { 171, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeControllerRequest)}, + { 180, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeControllerResponse)}, + { 188, -1, -1, sizeof(::opi_api::storage::v1::GetNVMeControllerRequest)}, + { 195, -1, -1, sizeof(::opi_api::storage::v1::NVMeControllerStatsRequest)}, + { 202, -1, -1, sizeof(::opi_api::storage::v1::NVMeControllerStatsResponse)}, + { 210, -1, -1, sizeof(::opi_api::storage::v1::CreateNVMeNamespaceRequest)}, + { 218, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMeNamespaceRequest)}, + { 226, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMeNamespaceRequest)}, + { 234, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeNamespaceRequest)}, + { 243, -1, -1, sizeof(::opi_api::storage::v1::ListNVMeNamespaceResponse)}, + { 251, -1, -1, sizeof(::opi_api::storage::v1::GetNVMeNamespaceRequest)}, + { 258, -1, -1, sizeof(::opi_api::storage::v1::NVMeNamespaceStatsRequest)}, + { 265, -1, -1, sizeof(::opi_api::storage::v1::NVMeNamespaceStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -833,132 +851,143 @@ const char descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto[] PROTOBUF_S "te\030\001 \001(\0162).opi_api.storage.v1.NVMeNamesp" "acePciState\022E\n\016pci_oper_state\030\002 \001(\0162-.op" "i_api.storage.v1.NVMeNamespacePciOperSta" - "te\"R\n\032CreateNVMeSubsystemRequest\0224\n\tsubs" - "ystem\030\001 \001(\0132!.opi_api.storage.v1.NVMeSub" - "system\"P\n\032DeleteNVMeSubsystemRequest\0222\n\014" + "te\"\200\001\n\032CreateNVMeSubsystemRequest\0224\n\tsub" + "system\030\001 \001(\0132!.opi_api.storage.v1.NVMeSu" + "bsystem\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common" + ".v1.ObjectKey\"~\n\032DeleteNVMeSubsystemRequ" + "est\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.comm" + "on.v1.ObjectKey\022,\n\006txn_id\030\002 \001(\0132\034.opi_ap" + "i.common.v1.ObjectKey\"\200\001\n\032UpdateNVMeSubs" + "ystemRequest\0224\n\tsubsystem\030\001 \001(\0132!.opi_ap" + "i.storage.v1.NVMeSubsystem\022,\n\006txn_id\030\002 \001" + "(\0132\034.opi_api.common.v1.ObjectKey\"A\n\030List" + "NVMeSubsystemRequest\022\021\n\tpage_size\030\001 \001(\005\022" + "\022\n\npage_token\030\002 \001(\t\"k\n\031ListNVMeSubsystem" + "Response\0225\n\nsubsystems\030\001 \003(\0132!.opi_api.s" + "torage.v1.NVMeSubsystem\022\027\n\017next_page_tok" + "en\030\002 \001(\t\"M\n\027GetNVMeSubsystemRequest\0222\n\014s" + "ubsystem_id\030\001 \001(\0132\034.opi_api.common.v1.Ob" + "jectKey\"O\n\031NVMeSubsystemStatsRequest\0222\n\014" "subsystem_id\030\001 \001(\0132\034.opi_api.common.v1.O" - "bjectKey\"R\n\032UpdateNVMeSubsystemRequest\0224" - "\n\tsubsystem\030\001 \001(\0132!.opi_api.storage.v1.N" - "VMeSubsystem\"A\n\030ListNVMeSubsystemRequest" - "\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"" - "k\n\031ListNVMeSubsystemResponse\0225\n\nsubsyste" - "ms\030\001 \003(\0132!.opi_api.storage.v1.NVMeSubsys" - "tem\022\027\n\017next_page_token\030\002 \001(\t\"M\n\027GetNVMeS" - "ubsystemRequest\0222\n\014subsystem_id\030\001 \001(\0132\034." - "opi_api.common.v1.ObjectKey\"O\n\031NVMeSubsy" - "stemStatsRequest\0222\n\014subsystem_id\030\001 \001(\0132\034" - ".opi_api.common.v1.ObjectKey\"+\n\032NVMeSubs" - "ystemStatsResponse\022\r\n\005stats\030\001 \001(\t\"U\n\033Cre" - "ateNVMeControllerRequest\0226\n\ncontroller\030\001" - " \001(\0132\".opi_api.storage.v1.NVMeController" - "\"R\n\033DeleteNVMeControllerRequest\0223\n\rcontr" - "oller_id\030\001 \001(\0132\034.opi_api.common.v1.Objec" - "tKey\"U\n\033UpdateNVMeControllerRequest\0226\n\nc" - "ontroller\030\001 \001(\0132\".opi_api.storage.v1.NVM" - "eController\"v\n\031ListNVMeControllerRequest" - "\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.common." - "v1.ObjectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" - "token\030\003 \001(\t\"n\n\032ListNVMeControllerRespons" - "e\0227\n\013controllers\030\001 \003(\0132\".opi_api.storage" - ".v1.NVMeController\022\027\n\017next_page_token\030\002 " - "\001(\t\"O\n\030GetNVMeControllerRequest\0223\n\rcontr" - "oller_id\030\001 \001(\0132\034.opi_api.common.v1.Objec" - "tKey\"F\n\032NVMeControllerStatsRequest\022(\n\002id" - "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"V\n\033" - "NVMeControllerStatsResponse\022(\n\002id\030\001 \001(\0132" - "\034.opi_api.common.v1.ObjectKey\022\r\n\005stats\030\002" - " \001(\t\"R\n\032CreateNVMeNamespaceRequest\0224\n\tna" - "mespace\030\001 \001(\0132!.opi_api.storage.v1.NVMeN" - "amespace\"P\n\032DeleteNVMeNamespaceRequest\0222" - "\n\014namespace_id\030\001 \001(\0132\034.opi_api.common.v1" - ".ObjectKey\"R\n\032UpdateNVMeNamespaceRequest" - "\0224\n\tnamespace\030\001 \001(\0132!.opi_api.storage.v1" - ".NVMeNamespace\"u\n\030ListNVMeNamespaceReque" - "st\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.commo" - "n.v1.ObjectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" - "e_token\030\003 \001(\t\"k\n\031ListNVMeNamespaceRespon" - "se\0225\n\nnamespaces\030\001 \003(\0132!.opi_api.storage" - ".v1.NVMeNamespace\022\027\n\017next_page_token\030\002 \001" - "(\t\"M\n\027GetNVMeNamespaceRequest\0222\n\014namespa" - "ce_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" - "y\"O\n\031NVMeNamespaceStatsRequest\0222\n\014namesp" - "ace_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectK" - "ey\"U\n\032NVMeNamespaceStatsResponse\022(\n\002id\030\001" - " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" - "ats\030\002 \001(\t*\266\001\n\025NVMeNamespacePciState\022)\n%N" - "V_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!N" - "VME_NAMESPACE_PCI_STATE_DELETING\020\003*\240\001\n\031N" - "VMeNamespacePciOperState\022.\n*NV_ME_NAMESP" - "ACE_PCI_OPER_STATE_UNSPECIFIED\020\000\022(\n$NVME" - "_NAMESPACE_PCI_OPER_STATE_ONLINE\020\001\022)\n%NV" - "ME_NAMESPACE_PCI_OPER_STATE_OFFLINE\020\0022\260\023" - "\n\023FrontendNvmeService\022\213\001\n\023CreateNVMeSubs" - "ystem\022..opi_api.storage.v1.CreateNVMeSub" - "systemRequest\032!.opi_api.storage.v1.NVMeS" - "ubsystem\"!\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsys" - "tem\022\201\001\n\023DeleteNVMeSubsystem\022..opi_api.st" - "orage.v1.DeleteNVMeSubsystemRequest\032\026.go" - "ogle.protobuf.Empty\"\"\202\323\344\223\002\034*\032/v1/subsyst" - "ems/{subsystem}\022\213\001\n\023UpdateNVMeSubsystem\022" - "..opi_api.storage.v1.UpdateNVMeSubsystem" - "Request\032!.opi_api.storage.v1.NVMeSubsyst" - "em\"!\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem\022\210\001" - "\n\021ListNVMeSubsystem\022,.opi_api.storage.v1" - ".ListNVMeSubsystemRequest\032-.opi_api.stor" - "age.v1.ListNVMeSubsystemResponse\"\026\202\323\344\223\002\020" - "\022\016/v1/subsystems\022\206\001\n\020GetNVMeSubsystem\022+." - "opi_api.storage.v1.GetNVMeSubsystemReque" - "st\032!.opi_api.storage.v1.NVMeSubsystem\"\"\202" - "\323\344\223\002\034\022\032/v1/subsystems/{subsystem}\022u\n\022NVM" - "eSubsystemStats\022-.opi_api.storage.v1.NVM" - "eSubsystemStatsRequest\032..opi_api.storage" - ".v1.NVMeSubsystemStatsResponse\"\000\022\220\001\n\024Cre" - "ateNVMeController\022/.opi_api.storage.v1.C" - "reateNVMeControllerRequest\032\".opi_api.sto" - "rage.v1.NVMeController\"#\202\323\344\223\002\035\"\017/v1/cont" - "rollers:\ncontroller\022\205\001\n\024DeleteNVMeContro" - "ller\022/.opi_api.storage.v1.DeleteNVMeCont" - "rollerRequest\032\026.google.protobuf.Empty\"$\202" - "\323\344\223\002\036*\034/v1/controllers/{controller}\022\220\001\n\024" - "UpdateNVMeController\022/.opi_api.storage.v" - "1.UpdateNVMeControllerRequest\032\".opi_api." - "storage.v1.NVMeController\"#\202\323\344\223\002\0352\017/v1/c" - "ontrollers:\ncontroller\022\214\001\n\022ListNVMeContr" - "oller\022-.opi_api.storage.v1.ListNVMeContr" - "ollerRequest\032..opi_api.storage.v1.ListNV" - "MeControllerResponse\"\027\202\323\344\223\002\021\022\017/v1/contro" - "llers\022\213\001\n\021GetNVMeController\022,.opi_api.st" - "orage.v1.GetNVMeControllerRequest\032\".opi_" - "api.storage.v1.NVMeController\"$\202\323\344\223\002\036\022\034/" - "v1/controllers/{controller}\022x\n\023NVMeContr" - "ollerStats\022..opi_api.storage.v1.NVMeCont" - "rollerStatsRequest\032/.opi_api.storage.v1." - "NVMeControllerStatsResponse\"\000\022\213\001\n\023Create" - "NVMeNamespace\022..opi_api.storage.v1.Creat" - "eNVMeNamespaceRequest\032!.opi_api.storage." - "v1.NVMeNamespace\"!\202\323\344\223\002\033\"\016/v1/namespaces" - ":\tnamespace\022\201\001\n\023DeleteNVMeNamespace\022..op" - "i_api.storage.v1.DeleteNVMeNamespaceRequ" - "est\032\026.google.protobuf.Empty\"\"\202\323\344\223\002\034*\032/v1" - "/namespaces/{namespace}\022\213\001\n\023UpdateNVMeNa" - "mespace\022..opi_api.storage.v1.UpdateNVMeN" - "amespaceRequest\032!.opi_api.storage.v1.NVM" - "eNamespace\"!\202\323\344\223\002\0332\016/v1/namespaces:\tname" - "space\022\210\001\n\021ListNVMeNamespace\022,.opi_api.st" - "orage.v1.ListNVMeNamespaceRequest\032-.opi_" - "api.storage.v1.ListNVMeNamespaceResponse" - "\"\026\202\323\344\223\002\020\022\016/v1/namespaces\022\206\001\n\020GetNVMeName" - "space\022+.opi_api.storage.v1.GetNVMeNamesp" - "aceRequest\032!.opi_api.storage.v1.NVMeName" - "space\"\"\202\323\344\223\002\034\022\032/v1/namespaces/{namespace" - "}\022u\n\022NVMeNamespaceStats\022-.opi_api.storag" - "e.v1.NVMeNamespaceStatsRequest\032..opi_api" - ".storage.v1.NVMeNamespaceStatsResponse\"\000" - "Bd\n\022opi_api.storage.v1B\025FrontendNvmePcie" - "ProtoP\001Z5github.com/opiproject/opi-api/s" - "torage/v1alpha1/gen/gob\006proto3" + "bjectKey\"+\n\032NVMeSubsystemStatsResponse\022\r" + "\n\005stats\030\001 \001(\t\"\203\001\n\033CreateNVMeControllerRe" + "quest\0226\n\ncontroller\030\001 \001(\0132\".opi_api.stor" + "age.v1.NVMeController\022,\n\006txn_id\030\002 \001(\0132\034." + "opi_api.common.v1.ObjectKey\"\200\001\n\033DeleteNV" + "MeControllerRequest\0223\n\rcontroller_id\030\001 \001" + "(\0132\034.opi_api.common.v1.ObjectKey\022,\n\006txn_" + "id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"\203" + "\001\n\033UpdateNVMeControllerRequest\0226\n\ncontro" + "ller\030\001 \001(\0132\".opi_api.storage.v1.NVMeCont" + "roller\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common." + "v1.ObjectKey\"v\n\031ListNVMeControllerReques" + "t\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.common" + ".v1.ObjectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + "_token\030\003 \001(\t\"n\n\032ListNVMeControllerRespon" + "se\0227\n\013controllers\030\001 \003(\0132\".opi_api.storag" + "e.v1.NVMeController\022\027\n\017next_page_token\030\002" + " \001(\t\"O\n\030GetNVMeControllerRequest\0223\n\rcont" + "roller_id\030\001 \001(\0132\034.opi_api.common.v1.Obje" + "ctKey\"F\n\032NVMeControllerStatsRequest\022(\n\002i" + "d\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"V\n" + "\033NVMeControllerStatsResponse\022(\n\002id\030\001 \001(\013" + "2\034.opi_api.common.v1.ObjectKey\022\r\n\005stats\030" + "\002 \001(\t\"\200\001\n\032CreateNVMeNamespaceRequest\0224\n\t" + "namespace\030\001 \001(\0132!.opi_api.storage.v1.NVM" + "eNamespace\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.com" + "mon.v1.ObjectKey\"~\n\032DeleteNVMeNamespaceR" + "equest\0222\n\014namespace_id\030\001 \001(\0132\034.opi_api.c" + "ommon.v1.ObjectKey\022,\n\006txn_id\030\002 \001(\0132\034.opi" + "_api.common.v1.ObjectKey\"\200\001\n\032UpdateNVMeN" + "amespaceRequest\0224\n\tnamespace\030\001 \001(\0132!.opi" + "_api.storage.v1.NVMeNamespace\022,\n\006txn_id\030" + "\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"u\n\030L" + "istNVMeNamespaceRequest\0222\n\014subsystem_id\030" + "\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022\021\n\tp" + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"k\n\031Li" + "stNVMeNamespaceResponse\0225\n\nnamespaces\030\001 " + "\003(\0132!.opi_api.storage.v1.NVMeNamespace\022\027" + "\n\017next_page_token\030\002 \001(\t\"M\n\027GetNVMeNamesp" + "aceRequest\0222\n\014namespace_id\030\001 \001(\0132\034.opi_a" + "pi.common.v1.ObjectKey\"O\n\031NVMeNamespaceS" + "tatsRequest\0222\n\014namespace_id\030\001 \001(\0132\034.opi_" + "api.common.v1.ObjectKey\"U\n\032NVMeNamespace" + "StatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.comm" + "on.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t*\266\001\n\025NVMeN" + "amespacePciState\022)\n%NV_ME_NAMESPACE_PCI_" + "STATE_UNSPECIFIED\020\000\022%\n!NVME_NAMESPACE_PC" + "I_STATE_DISABLED\020\001\022$\n NVME_NAMESPACE_PCI" + "_STATE_ENABLED\020\002\022%\n!NVME_NAMESPACE_PCI_S" + "TATE_DELETING\020\003*\240\001\n\031NVMeNamespacePciOper" + "State\022.\n*NV_ME_NAMESPACE_PCI_OPER_STATE_" + "UNSPECIFIED\020\000\022(\n$NVME_NAMESPACE_PCI_OPER" + "_STATE_ONLINE\020\001\022)\n%NVME_NAMESPACE_PCI_OP" + "ER_STATE_OFFLINE\020\0022\260\023\n\023FrontendNvmeServi" + "ce\022\213\001\n\023CreateNVMeSubsystem\022..opi_api.sto" + "rage.v1.CreateNVMeSubsystemRequest\032!.opi" + "_api.storage.v1.NVMeSubsystem\"!\202\323\344\223\002\033\"\016/" + "v1/subsystems:\tsubsystem\022\201\001\n\023DeleteNVMeS" + "ubsystem\022..opi_api.storage.v1.DeleteNVMe" + "SubsystemRequest\032\026.google.protobuf.Empty" + "\"\"\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}\022\213\001\n" + "\023UpdateNVMeSubsystem\022..opi_api.storage.v" + "1.UpdateNVMeSubsystemRequest\032!.opi_api.s" + "torage.v1.NVMeSubsystem\"!\202\323\344\223\002\0332\016/v1/sub" + "systems:\tsubsystem\022\210\001\n\021ListNVMeSubsystem" + "\022,.opi_api.storage.v1.ListNVMeSubsystemR" + "equest\032-.opi_api.storage.v1.ListNVMeSubs" + "ystemResponse\"\026\202\323\344\223\002\020\022\016/v1/subsystems\022\206\001" + "\n\020GetNVMeSubsystem\022+.opi_api.storage.v1." + "GetNVMeSubsystemRequest\032!.opi_api.storag" + "e.v1.NVMeSubsystem\"\"\202\323\344\223\002\034\022\032/v1/subsyste" + "ms/{subsystem}\022u\n\022NVMeSubsystemStats\022-.o" + "pi_api.storage.v1.NVMeSubsystemStatsRequ" + "est\032..opi_api.storage.v1.NVMeSubsystemSt" + "atsResponse\"\000\022\220\001\n\024CreateNVMeController\022/" + ".opi_api.storage.v1.CreateNVMeController" + "Request\032\".opi_api.storage.v1.NVMeControl" + "ler\"#\202\323\344\223\002\035\"\017/v1/controllers:\ncontroller" + "\022\205\001\n\024DeleteNVMeController\022/.opi_api.stor" + "age.v1.DeleteNVMeControllerRequest\032\026.goo" + "gle.protobuf.Empty\"$\202\323\344\223\002\036*\034/v1/controll" + "ers/{controller}\022\220\001\n\024UpdateNVMeControlle" + "r\022/.opi_api.storage.v1.UpdateNVMeControl" + "lerRequest\032\".opi_api.storage.v1.NVMeCont" + "roller\"#\202\323\344\223\002\0352\017/v1/controllers:\ncontrol" + "ler\022\214\001\n\022ListNVMeController\022-.opi_api.sto" + "rage.v1.ListNVMeControllerRequest\032..opi_" + "api.storage.v1.ListNVMeControllerRespons" + "e\"\027\202\323\344\223\002\021\022\017/v1/controllers\022\213\001\n\021GetNVMeCo" + "ntroller\022,.opi_api.storage.v1.GetNVMeCon" + "trollerRequest\032\".opi_api.storage.v1.NVMe" + "Controller\"$\202\323\344\223\002\036\022\034/v1/controllers/{con" + "troller}\022x\n\023NVMeControllerStats\022..opi_ap" + "i.storage.v1.NVMeControllerStatsRequest\032" + "/.opi_api.storage.v1.NVMeControllerStats" + "Response\"\000\022\213\001\n\023CreateNVMeNamespace\022..opi" + "_api.storage.v1.CreateNVMeNamespaceReque" + "st\032!.opi_api.storage.v1.NVMeNamespace\"!\202" + "\323\344\223\002\033\"\016/v1/namespaces:\tnamespace\022\201\001\n\023Del" + "eteNVMeNamespace\022..opi_api.storage.v1.De" + "leteNVMeNamespaceRequest\032\026.google.protob" + "uf.Empty\"\"\202\323\344\223\002\034*\032/v1/namespaces/{namesp" + "ace}\022\213\001\n\023UpdateNVMeNamespace\022..opi_api.s" + "torage.v1.UpdateNVMeNamespaceRequest\032!.o" + "pi_api.storage.v1.NVMeNamespace\"!\202\323\344\223\002\0332" + "\016/v1/namespaces:\tnamespace\022\210\001\n\021ListNVMeN" + "amespace\022,.opi_api.storage.v1.ListNVMeNa" + "mespaceRequest\032-.opi_api.storage.v1.List" + "NVMeNamespaceResponse\"\026\202\323\344\223\002\020\022\016/v1/names" + "paces\022\206\001\n\020GetNVMeNamespace\022+.opi_api.sto" + "rage.v1.GetNVMeNamespaceRequest\032!.opi_ap" + "i.storage.v1.NVMeNamespace\"\"\202\323\344\223\002\034\022\032/v1/" + "namespaces/{namespace}\022u\n\022NVMeNamespaceS" + "tats\022-.opi_api.storage.v1.NVMeNamespaceS" + "tatsRequest\032..opi_api.storage.v1.NVMeNam" + "espaceStatsResponse\"\000Bd\n\022opi_api.storage" + ".v1B\025FrontendNvmePcieProtoP\001Z5github.com" + "/opiproject/opi-api/storage/v1alpha1/gen" + "/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fnvme_5fpcie_2eproto_deps[5] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -969,7 +998,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, 6510, descriptor_table_protodef_frontend_5fnvme_5fpcie_2eproto, "frontend_nvme_pcie.proto", + false, false, 6931, 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, 5, 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, @@ -3669,12 +3698,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMeNamespaceStatus::GetMetadata() const { class CreateNVMeSubsystemRequest::_Internal { public: static const ::opi_api::storage::v1::NVMeSubsystem& subsystem(const CreateNVMeSubsystemRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateNVMeSubsystemRequest* msg); }; const ::opi_api::storage::v1::NVMeSubsystem& CreateNVMeSubsystemRequest::_Internal::subsystem(const CreateNVMeSubsystemRequest* msg) { return *msg->subsystem_; } +const ::opi_api::common::v1::ObjectKey& +CreateNVMeSubsystemRequest::_Internal::txn_id(const CreateNVMeSubsystemRequest* msg) { + return *msg->txn_id_; +} +void CreateNVMeSubsystemRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateNVMeSubsystemRequest::CreateNVMeSubsystemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3692,11 +3732,19 @@ CreateNVMeSubsystemRequest::CreateNVMeSubsystemRequest(const CreateNVMeSubsystem } else { subsystem_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateNVMeSubsystemRequest) } inline void CreateNVMeSubsystemRequest::SharedCtor() { -subsystem_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&subsystem_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&subsystem_)) + sizeof(txn_id_)); } CreateNVMeSubsystemRequest::~CreateNVMeSubsystemRequest() { @@ -3709,6 +3757,7 @@ CreateNVMeSubsystemRequest::~CreateNVMeSubsystemRequest() { inline void CreateNVMeSubsystemRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete subsystem_; + if (this != internal_default_instance()) delete txn_id_; } void CreateNVMeSubsystemRequest::ArenaDtor(void* object) { @@ -3731,6 +3780,10 @@ void CreateNVMeSubsystemRequest::Clear() { delete subsystem_; } subsystem_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3748,6 +3801,14 @@ const char* CreateNVMeSubsystemRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3785,6 +3846,14 @@ uint8_t* CreateNVMeSubsystemRequest::_InternalSerialize( 1, _Internal::subsystem(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3808,6 +3877,13 @@ size_t CreateNVMeSubsystemRequest::ByteSizeLong() const { *subsystem_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -3833,6 +3909,9 @@ void CreateNVMeSubsystemRequest::MergeFrom(const CreateNVMeSubsystemRequest& fro if (from._internal_has_subsystem()) { _internal_mutable_subsystem()->::opi_api::storage::v1::NVMeSubsystem::MergeFrom(from._internal_subsystem()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -3850,7 +3929,12 @@ bool CreateNVMeSubsystemRequest::IsInitialized() const { void CreateNVMeSubsystemRequest::InternalSwap(CreateNVMeSubsystemRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(subsystem_, other->subsystem_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateNVMeSubsystemRequest, txn_id_) + + sizeof(CreateNVMeSubsystemRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateNVMeSubsystemRequest, subsystem_)>( + reinterpret_cast(&subsystem_), + reinterpret_cast(&other->subsystem_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMeSubsystemRequest::GetMetadata() const { @@ -3864,18 +3948,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMeSubsystemRequest::GetMetadata() cons class DeleteNVMeSubsystemRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& subsystem_id(const DeleteNVMeSubsystemRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteNVMeSubsystemRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteNVMeSubsystemRequest::_Internal::subsystem_id(const DeleteNVMeSubsystemRequest* msg) { return *msg->subsystem_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteNVMeSubsystemRequest::_Internal::txn_id(const DeleteNVMeSubsystemRequest* msg) { + return *msg->txn_id_; +} void DeleteNVMeSubsystemRequest::clear_subsystem_id() { if (GetArenaForAllocation() == nullptr && subsystem_id_ != nullptr) { delete subsystem_id_; } subsystem_id_ = nullptr; } +void DeleteNVMeSubsystemRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteNVMeSubsystemRequest::DeleteNVMeSubsystemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3893,11 +3988,19 @@ DeleteNVMeSubsystemRequest::DeleteNVMeSubsystemRequest(const DeleteNVMeSubsystem } else { subsystem_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteNVMeSubsystemRequest) } inline void DeleteNVMeSubsystemRequest::SharedCtor() { -subsystem_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&subsystem_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&subsystem_id_)) + sizeof(txn_id_)); } DeleteNVMeSubsystemRequest::~DeleteNVMeSubsystemRequest() { @@ -3910,6 +4013,7 @@ DeleteNVMeSubsystemRequest::~DeleteNVMeSubsystemRequest() { inline void DeleteNVMeSubsystemRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete subsystem_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteNVMeSubsystemRequest::ArenaDtor(void* object) { @@ -3932,6 +4036,10 @@ void DeleteNVMeSubsystemRequest::Clear() { delete subsystem_id_; } subsystem_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3949,6 +4057,14 @@ const char* DeleteNVMeSubsystemRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3986,6 +4102,14 @@ uint8_t* DeleteNVMeSubsystemRequest::_InternalSerialize( 1, _Internal::subsystem_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -4009,6 +4133,13 @@ size_t DeleteNVMeSubsystemRequest::ByteSizeLong() const { *subsystem_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -4034,6 +4165,9 @@ void DeleteNVMeSubsystemRequest::MergeFrom(const DeleteNVMeSubsystemRequest& fro if (from._internal_has_subsystem_id()) { _internal_mutable_subsystem_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_subsystem_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -4051,7 +4185,12 @@ bool DeleteNVMeSubsystemRequest::IsInitialized() const { void DeleteNVMeSubsystemRequest::InternalSwap(DeleteNVMeSubsystemRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(subsystem_id_, other->subsystem_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteNVMeSubsystemRequest, txn_id_) + + sizeof(DeleteNVMeSubsystemRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteNVMeSubsystemRequest, subsystem_id_)>( + reinterpret_cast(&subsystem_id_), + reinterpret_cast(&other->subsystem_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMeSubsystemRequest::GetMetadata() const { @@ -4065,12 +4204,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMeSubsystemRequest::GetMetadata() cons class UpdateNVMeSubsystemRequest::_Internal { public: static const ::opi_api::storage::v1::NVMeSubsystem& subsystem(const UpdateNVMeSubsystemRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateNVMeSubsystemRequest* msg); }; const ::opi_api::storage::v1::NVMeSubsystem& UpdateNVMeSubsystemRequest::_Internal::subsystem(const UpdateNVMeSubsystemRequest* msg) { return *msg->subsystem_; } +const ::opi_api::common::v1::ObjectKey& +UpdateNVMeSubsystemRequest::_Internal::txn_id(const UpdateNVMeSubsystemRequest* msg) { + return *msg->txn_id_; +} +void UpdateNVMeSubsystemRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateNVMeSubsystemRequest::UpdateNVMeSubsystemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -4088,11 +4238,19 @@ UpdateNVMeSubsystemRequest::UpdateNVMeSubsystemRequest(const UpdateNVMeSubsystem } else { subsystem_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateNVMeSubsystemRequest) } inline void UpdateNVMeSubsystemRequest::SharedCtor() { -subsystem_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&subsystem_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&subsystem_)) + sizeof(txn_id_)); } UpdateNVMeSubsystemRequest::~UpdateNVMeSubsystemRequest() { @@ -4105,6 +4263,7 @@ UpdateNVMeSubsystemRequest::~UpdateNVMeSubsystemRequest() { inline void UpdateNVMeSubsystemRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete subsystem_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateNVMeSubsystemRequest::ArenaDtor(void* object) { @@ -4127,6 +4286,10 @@ void UpdateNVMeSubsystemRequest::Clear() { delete subsystem_; } subsystem_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -4144,6 +4307,14 @@ const char* UpdateNVMeSubsystemRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -4181,6 +4352,14 @@ uint8_t* UpdateNVMeSubsystemRequest::_InternalSerialize( 1, _Internal::subsystem(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -4204,6 +4383,13 @@ size_t UpdateNVMeSubsystemRequest::ByteSizeLong() const { *subsystem_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -4229,6 +4415,9 @@ void UpdateNVMeSubsystemRequest::MergeFrom(const UpdateNVMeSubsystemRequest& fro if (from._internal_has_subsystem()) { _internal_mutable_subsystem()->::opi_api::storage::v1::NVMeSubsystem::MergeFrom(from._internal_subsystem()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -4246,7 +4435,12 @@ bool UpdateNVMeSubsystemRequest::IsInitialized() const { void UpdateNVMeSubsystemRequest::InternalSwap(UpdateNVMeSubsystemRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(subsystem_, other->subsystem_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateNVMeSubsystemRequest, txn_id_) + + sizeof(UpdateNVMeSubsystemRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateNVMeSubsystemRequest, subsystem_)>( + reinterpret_cast(&subsystem_), + reinterpret_cast(&other->subsystem_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateNVMeSubsystemRequest::GetMetadata() const { @@ -5330,12 +5524,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMeSubsystemStatsResponse::GetMetadata() cons class CreateNVMeControllerRequest::_Internal { public: static const ::opi_api::storage::v1::NVMeController& controller(const CreateNVMeControllerRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateNVMeControllerRequest* msg); }; const ::opi_api::storage::v1::NVMeController& CreateNVMeControllerRequest::_Internal::controller(const CreateNVMeControllerRequest* msg) { return *msg->controller_; } +const ::opi_api::common::v1::ObjectKey& +CreateNVMeControllerRequest::_Internal::txn_id(const CreateNVMeControllerRequest* msg) { + return *msg->txn_id_; +} +void CreateNVMeControllerRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateNVMeControllerRequest::CreateNVMeControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5353,11 +5558,19 @@ CreateNVMeControllerRequest::CreateNVMeControllerRequest(const CreateNVMeControl } else { controller_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateNVMeControllerRequest) } inline void CreateNVMeControllerRequest::SharedCtor() { -controller_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_)) + sizeof(txn_id_)); } CreateNVMeControllerRequest::~CreateNVMeControllerRequest() { @@ -5370,6 +5583,7 @@ CreateNVMeControllerRequest::~CreateNVMeControllerRequest() { inline void CreateNVMeControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_; + if (this != internal_default_instance()) delete txn_id_; } void CreateNVMeControllerRequest::ArenaDtor(void* object) { @@ -5392,6 +5606,10 @@ void CreateNVMeControllerRequest::Clear() { delete controller_; } controller_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5409,6 +5627,14 @@ const char* CreateNVMeControllerRequest::_InternalParse(const char* ptr, ::PROTO } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5446,6 +5672,14 @@ uint8_t* CreateNVMeControllerRequest::_InternalSerialize( 1, _Internal::controller(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5469,6 +5703,13 @@ size_t CreateNVMeControllerRequest::ByteSizeLong() const { *controller_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5494,6 +5735,9 @@ void CreateNVMeControllerRequest::MergeFrom(const CreateNVMeControllerRequest& f if (from._internal_has_controller()) { _internal_mutable_controller()->::opi_api::storage::v1::NVMeController::MergeFrom(from._internal_controller()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5511,7 +5755,12 @@ bool CreateNVMeControllerRequest::IsInitialized() const { void CreateNVMeControllerRequest::InternalSwap(CreateNVMeControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_, other->controller_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateNVMeControllerRequest, txn_id_) + + sizeof(CreateNVMeControllerRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateNVMeControllerRequest, controller_)>( + reinterpret_cast(&controller_), + reinterpret_cast(&other->controller_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMeControllerRequest::GetMetadata() const { @@ -5525,18 +5774,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMeControllerRequest::GetMetadata() con class DeleteNVMeControllerRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& controller_id(const DeleteNVMeControllerRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteNVMeControllerRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteNVMeControllerRequest::_Internal::controller_id(const DeleteNVMeControllerRequest* msg) { return *msg->controller_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteNVMeControllerRequest::_Internal::txn_id(const DeleteNVMeControllerRequest* msg) { + return *msg->txn_id_; +} void DeleteNVMeControllerRequest::clear_controller_id() { if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { delete controller_id_; } controller_id_ = nullptr; } +void DeleteNVMeControllerRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteNVMeControllerRequest::DeleteNVMeControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5554,11 +5814,19 @@ DeleteNVMeControllerRequest::DeleteNVMeControllerRequest(const DeleteNVMeControl } else { controller_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteNVMeControllerRequest) } inline void DeleteNVMeControllerRequest::SharedCtor() { -controller_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_id_)) + sizeof(txn_id_)); } DeleteNVMeControllerRequest::~DeleteNVMeControllerRequest() { @@ -5571,6 +5839,7 @@ DeleteNVMeControllerRequest::~DeleteNVMeControllerRequest() { inline void DeleteNVMeControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteNVMeControllerRequest::ArenaDtor(void* object) { @@ -5593,6 +5862,10 @@ void DeleteNVMeControllerRequest::Clear() { delete controller_id_; } controller_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5610,6 +5883,14 @@ const char* DeleteNVMeControllerRequest::_InternalParse(const char* ptr, ::PROTO } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5647,6 +5928,14 @@ uint8_t* DeleteNVMeControllerRequest::_InternalSerialize( 1, _Internal::controller_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5670,6 +5959,13 @@ size_t DeleteNVMeControllerRequest::ByteSizeLong() const { *controller_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5695,6 +5991,9 @@ void DeleteNVMeControllerRequest::MergeFrom(const DeleteNVMeControllerRequest& f if (from._internal_has_controller_id()) { _internal_mutable_controller_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_controller_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5712,7 +6011,12 @@ bool DeleteNVMeControllerRequest::IsInitialized() const { void DeleteNVMeControllerRequest::InternalSwap(DeleteNVMeControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_id_, other->controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteNVMeControllerRequest, txn_id_) + + sizeof(DeleteNVMeControllerRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteNVMeControllerRequest, controller_id_)>( + reinterpret_cast(&controller_id_), + reinterpret_cast(&other->controller_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMeControllerRequest::GetMetadata() const { @@ -5726,12 +6030,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMeControllerRequest::GetMetadata() con class UpdateNVMeControllerRequest::_Internal { public: static const ::opi_api::storage::v1::NVMeController& controller(const UpdateNVMeControllerRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateNVMeControllerRequest* msg); }; const ::opi_api::storage::v1::NVMeController& UpdateNVMeControllerRequest::_Internal::controller(const UpdateNVMeControllerRequest* msg) { return *msg->controller_; } +const ::opi_api::common::v1::ObjectKey& +UpdateNVMeControllerRequest::_Internal::txn_id(const UpdateNVMeControllerRequest* msg) { + return *msg->txn_id_; +} +void UpdateNVMeControllerRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateNVMeControllerRequest::UpdateNVMeControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5749,11 +6064,19 @@ UpdateNVMeControllerRequest::UpdateNVMeControllerRequest(const UpdateNVMeControl } else { controller_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateNVMeControllerRequest) } inline void UpdateNVMeControllerRequest::SharedCtor() { -controller_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_)) + sizeof(txn_id_)); } UpdateNVMeControllerRequest::~UpdateNVMeControllerRequest() { @@ -5766,6 +6089,7 @@ UpdateNVMeControllerRequest::~UpdateNVMeControllerRequest() { inline void UpdateNVMeControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateNVMeControllerRequest::ArenaDtor(void* object) { @@ -5788,6 +6112,10 @@ void UpdateNVMeControllerRequest::Clear() { delete controller_; } controller_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5805,6 +6133,14 @@ const char* UpdateNVMeControllerRequest::_InternalParse(const char* ptr, ::PROTO } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5842,6 +6178,14 @@ uint8_t* UpdateNVMeControllerRequest::_InternalSerialize( 1, _Internal::controller(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5865,6 +6209,13 @@ size_t UpdateNVMeControllerRequest::ByteSizeLong() const { *controller_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5890,6 +6241,9 @@ void UpdateNVMeControllerRequest::MergeFrom(const UpdateNVMeControllerRequest& f if (from._internal_has_controller()) { _internal_mutable_controller()->::opi_api::storage::v1::NVMeController::MergeFrom(from._internal_controller()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5907,7 +6261,12 @@ bool UpdateNVMeControllerRequest::IsInitialized() const { void UpdateNVMeControllerRequest::InternalSwap(UpdateNVMeControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_, other->controller_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateNVMeControllerRequest, txn_id_) + + sizeof(UpdateNVMeControllerRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateNVMeControllerRequest, controller_)>( + reinterpret_cast(&controller_), + reinterpret_cast(&other->controller_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateNVMeControllerRequest::GetMetadata() const { @@ -7095,12 +7454,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMeControllerStatsResponse::GetMetadata() con class CreateNVMeNamespaceRequest::_Internal { public: static const ::opi_api::storage::v1::NVMeNamespace& namespace_(const CreateNVMeNamespaceRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateNVMeNamespaceRequest* msg); }; const ::opi_api::storage::v1::NVMeNamespace& CreateNVMeNamespaceRequest::_Internal::namespace_(const CreateNVMeNamespaceRequest* msg) { return *msg->namespace__; } +const ::opi_api::common::v1::ObjectKey& +CreateNVMeNamespaceRequest::_Internal::txn_id(const CreateNVMeNamespaceRequest* msg) { + return *msg->txn_id_; +} +void CreateNVMeNamespaceRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateNVMeNamespaceRequest::CreateNVMeNamespaceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -7118,11 +7488,19 @@ CreateNVMeNamespaceRequest::CreateNVMeNamespaceRequest(const CreateNVMeNamespace } else { namespace__ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateNVMeNamespaceRequest) } inline void CreateNVMeNamespaceRequest::SharedCtor() { -namespace__ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&namespace__) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&namespace__)) + sizeof(txn_id_)); } CreateNVMeNamespaceRequest::~CreateNVMeNamespaceRequest() { @@ -7135,6 +7513,7 @@ CreateNVMeNamespaceRequest::~CreateNVMeNamespaceRequest() { inline void CreateNVMeNamespaceRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete namespace__; + if (this != internal_default_instance()) delete txn_id_; } void CreateNVMeNamespaceRequest::ArenaDtor(void* object) { @@ -7157,6 +7536,10 @@ void CreateNVMeNamespaceRequest::Clear() { delete namespace__; } namespace__ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7174,6 +7557,14 @@ const char* CreateNVMeNamespaceRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -7211,6 +7602,14 @@ uint8_t* CreateNVMeNamespaceRequest::_InternalSerialize( 1, _Internal::namespace_(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -7234,6 +7633,13 @@ size_t CreateNVMeNamespaceRequest::ByteSizeLong() const { *namespace__); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -7259,6 +7665,9 @@ void CreateNVMeNamespaceRequest::MergeFrom(const CreateNVMeNamespaceRequest& fro if (from._internal_has_namespace_()) { _internal_mutable_namespace_()->::opi_api::storage::v1::NVMeNamespace::MergeFrom(from._internal_namespace_()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -7276,7 +7685,12 @@ bool CreateNVMeNamespaceRequest::IsInitialized() const { void CreateNVMeNamespaceRequest::InternalSwap(CreateNVMeNamespaceRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(namespace__, other->namespace__); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateNVMeNamespaceRequest, txn_id_) + + sizeof(CreateNVMeNamespaceRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateNVMeNamespaceRequest, namespace__)>( + reinterpret_cast(&namespace__), + reinterpret_cast(&other->namespace__)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMeNamespaceRequest::GetMetadata() const { @@ -7290,18 +7704,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMeNamespaceRequest::GetMetadata() cons class DeleteNVMeNamespaceRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& namespace_id(const DeleteNVMeNamespaceRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteNVMeNamespaceRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteNVMeNamespaceRequest::_Internal::namespace_id(const DeleteNVMeNamespaceRequest* msg) { return *msg->namespace_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteNVMeNamespaceRequest::_Internal::txn_id(const DeleteNVMeNamespaceRequest* msg) { + return *msg->txn_id_; +} void DeleteNVMeNamespaceRequest::clear_namespace_id() { if (GetArenaForAllocation() == nullptr && namespace_id_ != nullptr) { delete namespace_id_; } namespace_id_ = nullptr; } +void DeleteNVMeNamespaceRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteNVMeNamespaceRequest::DeleteNVMeNamespaceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -7319,11 +7744,19 @@ DeleteNVMeNamespaceRequest::DeleteNVMeNamespaceRequest(const DeleteNVMeNamespace } else { namespace_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteNVMeNamespaceRequest) } inline void DeleteNVMeNamespaceRequest::SharedCtor() { -namespace_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&namespace_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&namespace_id_)) + sizeof(txn_id_)); } DeleteNVMeNamespaceRequest::~DeleteNVMeNamespaceRequest() { @@ -7336,6 +7769,7 @@ DeleteNVMeNamespaceRequest::~DeleteNVMeNamespaceRequest() { inline void DeleteNVMeNamespaceRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete namespace_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteNVMeNamespaceRequest::ArenaDtor(void* object) { @@ -7358,6 +7792,10 @@ void DeleteNVMeNamespaceRequest::Clear() { delete namespace_id_; } namespace_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7375,6 +7813,14 @@ const char* DeleteNVMeNamespaceRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -7412,6 +7858,14 @@ uint8_t* DeleteNVMeNamespaceRequest::_InternalSerialize( 1, _Internal::namespace_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -7435,6 +7889,13 @@ size_t DeleteNVMeNamespaceRequest::ByteSizeLong() const { *namespace_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -7460,6 +7921,9 @@ void DeleteNVMeNamespaceRequest::MergeFrom(const DeleteNVMeNamespaceRequest& fro if (from._internal_has_namespace_id()) { _internal_mutable_namespace_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_namespace_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -7477,7 +7941,12 @@ bool DeleteNVMeNamespaceRequest::IsInitialized() const { void DeleteNVMeNamespaceRequest::InternalSwap(DeleteNVMeNamespaceRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(namespace_id_, other->namespace_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteNVMeNamespaceRequest, txn_id_) + + sizeof(DeleteNVMeNamespaceRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteNVMeNamespaceRequest, namespace_id_)>( + reinterpret_cast(&namespace_id_), + reinterpret_cast(&other->namespace_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMeNamespaceRequest::GetMetadata() const { @@ -7491,12 +7960,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMeNamespaceRequest::GetMetadata() cons class UpdateNVMeNamespaceRequest::_Internal { public: static const ::opi_api::storage::v1::NVMeNamespace& namespace_(const UpdateNVMeNamespaceRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateNVMeNamespaceRequest* msg); }; const ::opi_api::storage::v1::NVMeNamespace& UpdateNVMeNamespaceRequest::_Internal::namespace_(const UpdateNVMeNamespaceRequest* msg) { return *msg->namespace__; } +const ::opi_api::common::v1::ObjectKey& +UpdateNVMeNamespaceRequest::_Internal::txn_id(const UpdateNVMeNamespaceRequest* msg) { + return *msg->txn_id_; +} +void UpdateNVMeNamespaceRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateNVMeNamespaceRequest::UpdateNVMeNamespaceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -7514,11 +7994,19 @@ UpdateNVMeNamespaceRequest::UpdateNVMeNamespaceRequest(const UpdateNVMeNamespace } else { namespace__ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateNVMeNamespaceRequest) } inline void UpdateNVMeNamespaceRequest::SharedCtor() { -namespace__ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&namespace__) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&namespace__)) + sizeof(txn_id_)); } UpdateNVMeNamespaceRequest::~UpdateNVMeNamespaceRequest() { @@ -7531,6 +8019,7 @@ UpdateNVMeNamespaceRequest::~UpdateNVMeNamespaceRequest() { inline void UpdateNVMeNamespaceRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete namespace__; + if (this != internal_default_instance()) delete txn_id_; } void UpdateNVMeNamespaceRequest::ArenaDtor(void* object) { @@ -7553,6 +8042,10 @@ void UpdateNVMeNamespaceRequest::Clear() { delete namespace__; } namespace__ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7570,6 +8063,14 @@ const char* UpdateNVMeNamespaceRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -7607,6 +8108,14 @@ uint8_t* UpdateNVMeNamespaceRequest::_InternalSerialize( 1, _Internal::namespace_(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -7630,6 +8139,13 @@ size_t UpdateNVMeNamespaceRequest::ByteSizeLong() const { *namespace__); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -7655,6 +8171,9 @@ void UpdateNVMeNamespaceRequest::MergeFrom(const UpdateNVMeNamespaceRequest& fro if (from._internal_has_namespace_()) { _internal_mutable_namespace_()->::opi_api::storage::v1::NVMeNamespace::MergeFrom(from._internal_namespace_()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -7672,7 +8191,12 @@ bool UpdateNVMeNamespaceRequest::IsInitialized() const { void UpdateNVMeNamespaceRequest::InternalSwap(UpdateNVMeNamespaceRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(namespace__, other->namespace__); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateNVMeNamespaceRequest, txn_id_) + + sizeof(UpdateNVMeNamespaceRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateNVMeNamespaceRequest, namespace__)>( + reinterpret_cast(&namespace__), + reinterpret_cast(&other->namespace__)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateNVMeNamespaceRequest::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 112785fb..1b519c8f 100644 --- a/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_nvme_pcie.pb.h @@ -2104,6 +2104,7 @@ class CreateNVMeSubsystemRequest final : enum : int { kSubsystemFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NVMeSubsystem subsystem = 1; bool has_subsystem() const; @@ -2123,6 +2124,24 @@ class CreateNVMeSubsystemRequest final : ::opi_api::storage::v1::NVMeSubsystem* subsystem); ::opi_api::storage::v1::NVMeSubsystem* unsafe_arena_release_subsystem(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNVMeSubsystemRequest) private: class _Internal; @@ -2131,6 +2150,7 @@ class CreateNVMeSubsystemRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NVMeSubsystem* subsystem_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -2259,6 +2279,7 @@ class DeleteNVMeSubsystemRequest final : enum : int { kSubsystemIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey subsystem_id = 1; bool has_subsystem_id() const; @@ -2278,6 +2299,24 @@ class DeleteNVMeSubsystemRequest final : ::opi_api::common::v1::ObjectKey* subsystem_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_subsystem_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNVMeSubsystemRequest) private: class _Internal; @@ -2286,6 +2325,7 @@ class DeleteNVMeSubsystemRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* subsystem_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -2414,6 +2454,7 @@ class UpdateNVMeSubsystemRequest final : enum : int { kSubsystemFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NVMeSubsystem subsystem = 1; bool has_subsystem() const; @@ -2433,6 +2474,24 @@ class UpdateNVMeSubsystemRequest final : ::opi_api::storage::v1::NVMeSubsystem* subsystem); ::opi_api::storage::v1::NVMeSubsystem* unsafe_arena_release_subsystem(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNVMeSubsystemRequest) private: class _Internal; @@ -2441,6 +2500,7 @@ class UpdateNVMeSubsystemRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NVMeSubsystem* subsystem_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -3363,6 +3423,7 @@ class CreateNVMeControllerRequest final : enum : int { kControllerFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NVMeController controller = 1; bool has_controller() const; @@ -3382,6 +3443,24 @@ class CreateNVMeControllerRequest final : ::opi_api::storage::v1::NVMeController* controller); ::opi_api::storage::v1::NVMeController* unsafe_arena_release_controller(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNVMeControllerRequest) private: class _Internal; @@ -3390,6 +3469,7 @@ class CreateNVMeControllerRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NVMeController* controller_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -3518,6 +3598,7 @@ class DeleteNVMeControllerRequest final : enum : int { kControllerIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey controller_id = 1; bool has_controller_id() const; @@ -3537,6 +3618,24 @@ class DeleteNVMeControllerRequest final : ::opi_api::common::v1::ObjectKey* controller_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_controller_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNVMeControllerRequest) private: class _Internal; @@ -3545,6 +3644,7 @@ class DeleteNVMeControllerRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* controller_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -3673,6 +3773,7 @@ class UpdateNVMeControllerRequest final : enum : int { kControllerFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NVMeController controller = 1; bool has_controller() const; @@ -3692,6 +3793,24 @@ class UpdateNVMeControllerRequest final : ::opi_api::storage::v1::NVMeController* controller); ::opi_api::storage::v1::NVMeController* unsafe_arena_release_controller(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNVMeControllerRequest) private: class _Internal; @@ -3700,6 +3819,7 @@ class UpdateNVMeControllerRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NVMeController* controller_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -4662,6 +4782,7 @@ class CreateNVMeNamespaceRequest final : enum : int { kNamespaceFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NVMeNamespace namespace = 1; bool has_namespace_() const; @@ -4681,6 +4802,24 @@ class CreateNVMeNamespaceRequest final : ::opi_api::storage::v1::NVMeNamespace* namespace_); ::opi_api::storage::v1::NVMeNamespace* unsafe_arena_release_namespace_(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNVMeNamespaceRequest) private: class _Internal; @@ -4689,6 +4828,7 @@ class CreateNVMeNamespaceRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NVMeNamespace* namespace__; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -4817,6 +4957,7 @@ class DeleteNVMeNamespaceRequest final : enum : int { kNamespaceIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey namespace_id = 1; bool has_namespace_id() const; @@ -4836,6 +4977,24 @@ class DeleteNVMeNamespaceRequest final : ::opi_api::common::v1::ObjectKey* namespace_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_namespace_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNVMeNamespaceRequest) private: class _Internal; @@ -4844,6 +5003,7 @@ class DeleteNVMeNamespaceRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* namespace_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -4972,6 +5132,7 @@ class UpdateNVMeNamespaceRequest final : enum : int { kNamespaceFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.NVMeNamespace namespace = 1; bool has_namespace_() const; @@ -4991,6 +5152,24 @@ class UpdateNVMeNamespaceRequest final : ::opi_api::storage::v1::NVMeNamespace* namespace_); ::opi_api::storage::v1::NVMeNamespace* unsafe_arena_release_namespace_(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNVMeNamespaceRequest) private: class _Internal; @@ -4999,6 +5178,7 @@ class UpdateNVMeNamespaceRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::NVMeNamespace* namespace__; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fnvme_5fpcie_2eproto; }; @@ -7747,6 +7927,92 @@ inline void CreateNVMeSubsystemRequest::set_allocated_subsystem(::opi_api::stora // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMeSubsystemRequest.subsystem) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateNVMeSubsystemRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateNVMeSubsystemRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateNVMeSubsystemRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateNVMeSubsystemRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateNVMeSubsystemRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateNVMeSubsystemRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateNVMeSubsystemRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeSubsystemRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeSubsystemRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateNVMeSubsystemRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeSubsystemRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeSubsystemRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateNVMeSubsystemRequest.txn_id) + return _msg; +} +inline void CreateNVMeSubsystemRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMeSubsystemRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteNVMeSubsystemRequest @@ -7837,6 +8103,92 @@ inline void DeleteNVMeSubsystemRequest::set_allocated_subsystem_id(::opi_api::co // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMeSubsystemRequest.subsystem_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteNVMeSubsystemRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteNVMeSubsystemRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMeSubsystemRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMeSubsystemRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteNVMeSubsystemRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteNVMeSubsystemRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteNVMeSubsystemRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeSubsystemRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeSubsystemRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteNVMeSubsystemRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeSubsystemRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeSubsystemRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteNVMeSubsystemRequest.txn_id) + return _msg; +} +inline void DeleteNVMeSubsystemRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMeSubsystemRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateNVMeSubsystemRequest @@ -7931,6 +8283,92 @@ inline void UpdateNVMeSubsystemRequest::set_allocated_subsystem(::opi_api::stora // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMeSubsystemRequest.subsystem) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateNVMeSubsystemRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateNVMeSubsystemRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateNVMeSubsystemRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateNVMeSubsystemRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateNVMeSubsystemRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateNVMeSubsystemRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateNVMeSubsystemRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeSubsystemRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeSubsystemRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateNVMeSubsystemRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeSubsystemRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeSubsystemRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateNVMeSubsystemRequest.txn_id) + return _msg; +} +inline void UpdateNVMeSubsystemRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMeSubsystemRequest.txn_id) +} + // ------------------------------------------------------------------- // ListNVMeSubsystemRequest @@ -8430,6 +8868,92 @@ inline void CreateNVMeControllerRequest::set_allocated_controller(::opi_api::sto // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMeControllerRequest.controller) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateNVMeControllerRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateNVMeControllerRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateNVMeControllerRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateNVMeControllerRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateNVMeControllerRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateNVMeControllerRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateNVMeControllerRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeControllerRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeControllerRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateNVMeControllerRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeControllerRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeControllerRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateNVMeControllerRequest.txn_id) + return _msg; +} +inline void CreateNVMeControllerRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMeControllerRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteNVMeControllerRequest @@ -8520,6 +9044,92 @@ inline void DeleteNVMeControllerRequest::set_allocated_controller_id(::opi_api:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMeControllerRequest.controller_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteNVMeControllerRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteNVMeControllerRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMeControllerRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMeControllerRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteNVMeControllerRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteNVMeControllerRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteNVMeControllerRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeControllerRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeControllerRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteNVMeControllerRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeControllerRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeControllerRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteNVMeControllerRequest.txn_id) + return _msg; +} +inline void DeleteNVMeControllerRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMeControllerRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateNVMeControllerRequest @@ -8614,6 +9224,92 @@ inline void UpdateNVMeControllerRequest::set_allocated_controller(::opi_api::sto // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMeControllerRequest.controller) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateNVMeControllerRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateNVMeControllerRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateNVMeControllerRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateNVMeControllerRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateNVMeControllerRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateNVMeControllerRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateNVMeControllerRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeControllerRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeControllerRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateNVMeControllerRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeControllerRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeControllerRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateNVMeControllerRequest.txn_id) + return _msg; +} +inline void UpdateNVMeControllerRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMeControllerRequest.txn_id) +} + // ------------------------------------------------------------------- // ListNVMeControllerRequest @@ -9285,6 +9981,92 @@ inline void CreateNVMeNamespaceRequest::set_allocated_namespace_(::opi_api::stor // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMeNamespaceRequest.namespace) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateNVMeNamespaceRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateNVMeNamespaceRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateNVMeNamespaceRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateNVMeNamespaceRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateNVMeNamespaceRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateNVMeNamespaceRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateNVMeNamespaceRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeNamespaceRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeNamespaceRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateNVMeNamespaceRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeNamespaceRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateNVMeNamespaceRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateNVMeNamespaceRequest.txn_id) + return _msg; +} +inline void CreateNVMeNamespaceRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMeNamespaceRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteNVMeNamespaceRequest @@ -9375,6 +10157,92 @@ inline void DeleteNVMeNamespaceRequest::set_allocated_namespace_id(::opi_api::co // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMeNamespaceRequest.namespace_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteNVMeNamespaceRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteNVMeNamespaceRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMeNamespaceRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMeNamespaceRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteNVMeNamespaceRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteNVMeNamespaceRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteNVMeNamespaceRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeNamespaceRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeNamespaceRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteNVMeNamespaceRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeNamespaceRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteNVMeNamespaceRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteNVMeNamespaceRequest.txn_id) + return _msg; +} +inline void DeleteNVMeNamespaceRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMeNamespaceRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateNVMeNamespaceRequest @@ -9469,6 +10337,92 @@ inline void UpdateNVMeNamespaceRequest::set_allocated_namespace_(::opi_api::stor // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMeNamespaceRequest.namespace) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateNVMeNamespaceRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateNVMeNamespaceRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateNVMeNamespaceRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateNVMeNamespaceRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateNVMeNamespaceRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateNVMeNamespaceRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateNVMeNamespaceRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeNamespaceRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeNamespaceRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateNVMeNamespaceRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeNamespaceRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateNVMeNamespaceRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateNVMeNamespaceRequest.txn_id) + return _msg; +} +inline void UpdateNVMeNamespaceRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMeNamespaceRequest.txn_id) +} + // ------------------------------------------------------------------- // ListNVMeNamespaceRequest diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc index 89d8c2fc..b4a51b53 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.cc @@ -36,7 +36,8 @@ struct VirtioBlkDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioBlkDefaultTypeInternal _VirtioBlk_default_instance_; constexpr CreateVirtioBlkRequest::CreateVirtioBlkRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_(nullptr){} + : controller_(nullptr) + , txn_id_(nullptr){} struct CreateVirtioBlkRequestDefaultTypeInternal { constexpr CreateVirtioBlkRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -48,7 +49,8 @@ struct CreateVirtioBlkRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateVirtioBlkRequestDefaultTypeInternal _CreateVirtioBlkRequest_default_instance_; constexpr DeleteVirtioBlkRequest::DeleteVirtioBlkRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_id_(nullptr){} + : controller_id_(nullptr) + , txn_id_(nullptr){} struct DeleteVirtioBlkRequestDefaultTypeInternal { constexpr DeleteVirtioBlkRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -60,7 +62,8 @@ struct DeleteVirtioBlkRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteVirtioBlkRequestDefaultTypeInternal _DeleteVirtioBlkRequest_default_instance_; constexpr UpdateVirtioBlkRequest::UpdateVirtioBlkRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_(nullptr){} + : controller_(nullptr) + , txn_id_(nullptr){} struct UpdateVirtioBlkRequestDefaultTypeInternal { constexpr UpdateVirtioBlkRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -158,6 +161,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets[] PROTOBUF_S ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioBlkRequest, controller_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioBlkRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioBlkRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -165,6 +169,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets[] PROTOBUF_S ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioBlkRequest, controller_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioBlkRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioBlkRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -172,6 +177,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets[] PROTOBUF_S ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioBlkRequest, controller_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioBlkRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListVirtioBlkRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -214,13 +220,13 @@ const uint32_t TableStruct_frontend_5fvirtio_5fblk_2eproto::offsets[] PROTOBUF_S static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlk)}, { 10, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioBlkRequest)}, - { 17, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioBlkRequest)}, - { 24, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioBlkRequest)}, - { 31, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioBlkRequest)}, - { 39, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioBlkResponse)}, - { 47, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioBlkRequest)}, - { 54, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlkStatsRequest)}, - { 61, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlkStatsResponse)}, + { 18, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioBlkRequest)}, + { 26, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioBlkRequest)}, + { 34, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioBlkRequest)}, + { 42, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioBlkResponse)}, + { 50, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioBlkRequest)}, + { 57, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlkStatsRequest)}, + { 64, -1, -1, sizeof(::opi_api::storage::v1::VirtioBlkStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -243,45 +249,49 @@ const char descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto[] PROTOBUF_ "d\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\0220\n" "\007pcie_id\030\002 \001(\0132\037.opi_api.storage.v1.PciE" "ndpoint\022/\n\tvolume_id\030\003 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\022\022\n\nmax_io_qps\030\004 \001(\003\"K\n\026" + "mon.v1.ObjectKey\022\022\n\nmax_io_qps\030\004 \001(\003\"y\n\026" "CreateVirtioBlkRequest\0221\n\ncontroller\030\001 \001" - "(\0132\035.opi_api.storage.v1.VirtioBlk\"M\n\026Del" - "eteVirtioBlkRequest\0223\n\rcontroller_id\030\001 \001" - "(\0132\034.opi_api.common.v1.ObjectKey\"K\n\026Upda" - "teVirtioBlkRequest\0221\n\ncontroller\030\001 \001(\0132\035" - ".opi_api.storage.v1.VirtioBlk\"=\n\024ListVir" - "tioBlkRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage" - "_token\030\002 \001(\t\"d\n\025ListVirtioBlkResponse\0222\n" - "\013controllers\030\001 \003(\0132\035.opi_api.storage.v1." - "VirtioBlk\022\027\n\017next_page_token\030\002 \001(\t\"J\n\023Ge" - "tVirtioBlkRequest\0223\n\rcontroller_id\030\001 \001(\013" - "2\034.opi_api.common.v1.ObjectKey\"L\n\025Virtio" - "BlkStatsRequest\0223\n\rcontroller_id\030\001 \001(\0132\034" - ".opi_api.common.v1.ObjectKey\"Q\n\026VirtioBl" - "kStatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\374\005\n\030Fron" - "tendVirtioBlkService\022\177\n\017CreateVirtioBlk\022" - "*.opi_api.storage.v1.CreateVirtioBlkRequ" - "est\032\035.opi_api.storage.v1.VirtioBlk\"!\202\323\344\223" - "\002\033\"\016/v1/virtioblks:\tvirtioblk\022y\n\017DeleteV" - "irtioBlk\022*.opi_api.storage.v1.DeleteVirt" - "ioBlkRequest\032\026.google.protobuf.Empty\"\"\202\323" - "\344\223\002\034*\032/v1/virtioblks/{virtioblk}\022\177\n\017Upda" - "teVirtioBlk\022*.opi_api.storage.v1.UpdateV" - "irtioBlkRequest\032\035.opi_api.storage.v1.Vir" - "tioBlk\"!\202\323\344\223\002\0332\016/v1/virtioblks:\tvirtiobl" - "k\022|\n\rListVirtioBlk\022(.opi_api.storage.v1." - "ListVirtioBlkRequest\032).opi_api.storage.v" - "1.ListVirtioBlkResponse\"\026\202\323\344\223\002\020\022\016/v1/vir" - "tioblks\022z\n\014GetVirtioBlk\022\'.opi_api.storag" - "e.v1.GetVirtioBlkRequest\032\035.opi_api.stora" - "ge.v1.VirtioBlk\"\"\202\323\344\223\002\034\022\032/v1/virtioblks/" - "{virtioblk}\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" + "(\0132\035.opi_api.storage.v1.VirtioBlk\022,\n\006txn" + "_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"" + "{\n\026DeleteVirtioBlkRequest\0223\n\rcontroller_" + "id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022," + "\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Objec" + "tKey\"y\n\026UpdateVirtioBlkRequest\0221\n\ncontro" + "ller\030\001 \001(\0132\035.opi_api.storage.v1.VirtioBl" + "k\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Ob" + "jectKey\"=\n\024ListVirtioBlkRequest\022\021\n\tpage_" + "size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"d\n\025ListVi" + "rtioBlkResponse\0222\n\013controllers\030\001 \003(\0132\035.o" + "pi_api.storage.v1.VirtioBlk\022\027\n\017next_page" + "_token\030\002 \001(\t\"J\n\023GetVirtioBlkRequest\0223\n\rc" + "ontroller_id\030\001 \001(\0132\034.opi_api.common.v1.O" + "bjectKey\"L\n\025VirtioBlkStatsRequest\0223\n\rcon" + "troller_id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + "ectKey\"Q\n\026VirtioBlkStatsResponse\022(\n\002id\030\001" + " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + "ats\030\002 \001(\t2\374\005\n\030FrontendVirtioBlkService\022\177" + "\n\017CreateVirtioBlk\022*.opi_api.storage.v1.C" + "reateVirtioBlkRequest\032\035.opi_api.storage." + "v1.VirtioBlk\"!\202\323\344\223\002\033\"\016/v1/virtioblks:\tvi" + "rtioblk\022y\n\017DeleteVirtioBlk\022*.opi_api.sto" + "rage.v1.DeleteVirtioBlkRequest\032\026.google." + "protobuf.Empty\"\"\202\323\344\223\002\034*\032/v1/virtioblks/{" + "virtioblk}\022\177\n\017UpdateVirtioBlk\022*.opi_api." + "storage.v1.UpdateVirtioBlkRequest\032\035.opi_" + "api.storage.v1.VirtioBlk\"!\202\323\344\223\002\0332\016/v1/vi" + "rtioblks:\tvirtioblk\022|\n\rListVirtioBlk\022(.o" + "pi_api.storage.v1.ListVirtioBlkRequest\032)" + ".opi_api.storage.v1.ListVirtioBlkRespons" + "e\"\026\202\323\344\223\002\020\022\016/v1/virtioblks\022z\n\014GetVirtioBl" + "k\022\'.opi_api.storage.v1.GetVirtioBlkReque" + "st\032\035.opi_api.storage.v1.VirtioBlk\"\"\202\323\344\223\002" + "\034\022\032/v1/virtioblks/{virtioblk}\022i\n\016VirtioB" + "lkStats\022).opi_api.storage.v1.VirtioBlkSt" + "atsRequest\032*.opi_api.storage.v1.VirtioBl" + "kStatsResponse\"\000Be\n\022opi_api.storage.v1B\026" + "FrontendVirtioBlkProtoP\001Z5github.com/opi" + "project/opi-api/storage/v1alpha1/gen/gob" + "\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fblk_2eproto_deps[4] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -291,7 +301,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, 1829, descriptor_table_protodef_frontend_5fvirtio_5fblk_2eproto, "frontend_virtio_blk.proto", + false, false, 1967, 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, 4, 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, @@ -638,12 +648,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioBlk::GetMetadata() const { class CreateVirtioBlkRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioBlk& controller(const CreateVirtioBlkRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateVirtioBlkRequest* msg); }; const ::opi_api::storage::v1::VirtioBlk& CreateVirtioBlkRequest::_Internal::controller(const CreateVirtioBlkRequest* msg) { return *msg->controller_; } +const ::opi_api::common::v1::ObjectKey& +CreateVirtioBlkRequest::_Internal::txn_id(const CreateVirtioBlkRequest* msg) { + return *msg->txn_id_; +} +void CreateVirtioBlkRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateVirtioBlkRequest::CreateVirtioBlkRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -661,11 +682,19 @@ CreateVirtioBlkRequest::CreateVirtioBlkRequest(const CreateVirtioBlkRequest& fro } else { controller_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateVirtioBlkRequest) } inline void CreateVirtioBlkRequest::SharedCtor() { -controller_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_)) + sizeof(txn_id_)); } CreateVirtioBlkRequest::~CreateVirtioBlkRequest() { @@ -678,6 +707,7 @@ CreateVirtioBlkRequest::~CreateVirtioBlkRequest() { inline void CreateVirtioBlkRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_; + if (this != internal_default_instance()) delete txn_id_; } void CreateVirtioBlkRequest::ArenaDtor(void* object) { @@ -700,6 +730,10 @@ void CreateVirtioBlkRequest::Clear() { delete controller_; } controller_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -717,6 +751,14 @@ const char* CreateVirtioBlkRequest::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -754,6 +796,14 @@ uint8_t* CreateVirtioBlkRequest::_InternalSerialize( 1, _Internal::controller(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -777,6 +827,13 @@ size_t CreateVirtioBlkRequest::ByteSizeLong() const { *controller_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -802,6 +859,9 @@ void CreateVirtioBlkRequest::MergeFrom(const CreateVirtioBlkRequest& from) { if (from._internal_has_controller()) { _internal_mutable_controller()->::opi_api::storage::v1::VirtioBlk::MergeFrom(from._internal_controller()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -819,7 +879,12 @@ bool CreateVirtioBlkRequest::IsInitialized() const { void CreateVirtioBlkRequest::InternalSwap(CreateVirtioBlkRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_, other->controller_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateVirtioBlkRequest, txn_id_) + + sizeof(CreateVirtioBlkRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateVirtioBlkRequest, controller_)>( + reinterpret_cast(&controller_), + reinterpret_cast(&other->controller_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioBlkRequest::GetMetadata() const { @@ -833,18 +898,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioBlkRequest::GetMetadata() const { class DeleteVirtioBlkRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& controller_id(const DeleteVirtioBlkRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteVirtioBlkRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteVirtioBlkRequest::_Internal::controller_id(const DeleteVirtioBlkRequest* msg) { return *msg->controller_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteVirtioBlkRequest::_Internal::txn_id(const DeleteVirtioBlkRequest* msg) { + return *msg->txn_id_; +} void DeleteVirtioBlkRequest::clear_controller_id() { if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { delete controller_id_; } controller_id_ = nullptr; } +void DeleteVirtioBlkRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteVirtioBlkRequest::DeleteVirtioBlkRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -862,11 +938,19 @@ DeleteVirtioBlkRequest::DeleteVirtioBlkRequest(const DeleteVirtioBlkRequest& fro } else { controller_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteVirtioBlkRequest) } inline void DeleteVirtioBlkRequest::SharedCtor() { -controller_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_id_)) + sizeof(txn_id_)); } DeleteVirtioBlkRequest::~DeleteVirtioBlkRequest() { @@ -879,6 +963,7 @@ DeleteVirtioBlkRequest::~DeleteVirtioBlkRequest() { inline void DeleteVirtioBlkRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteVirtioBlkRequest::ArenaDtor(void* object) { @@ -901,6 +986,10 @@ void DeleteVirtioBlkRequest::Clear() { delete controller_id_; } controller_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -918,6 +1007,14 @@ const char* DeleteVirtioBlkRequest::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -955,6 +1052,14 @@ uint8_t* DeleteVirtioBlkRequest::_InternalSerialize( 1, _Internal::controller_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -978,6 +1083,13 @@ size_t DeleteVirtioBlkRequest::ByteSizeLong() const { *controller_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1003,6 +1115,9 @@ void DeleteVirtioBlkRequest::MergeFrom(const DeleteVirtioBlkRequest& from) { if (from._internal_has_controller_id()) { _internal_mutable_controller_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_controller_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1020,7 +1135,12 @@ bool DeleteVirtioBlkRequest::IsInitialized() const { void DeleteVirtioBlkRequest::InternalSwap(DeleteVirtioBlkRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_id_, other->controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteVirtioBlkRequest, txn_id_) + + sizeof(DeleteVirtioBlkRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteVirtioBlkRequest, controller_id_)>( + reinterpret_cast(&controller_id_), + reinterpret_cast(&other->controller_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioBlkRequest::GetMetadata() const { @@ -1034,12 +1154,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioBlkRequest::GetMetadata() const { class UpdateVirtioBlkRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioBlk& controller(const UpdateVirtioBlkRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateVirtioBlkRequest* msg); }; const ::opi_api::storage::v1::VirtioBlk& UpdateVirtioBlkRequest::_Internal::controller(const UpdateVirtioBlkRequest* msg) { return *msg->controller_; } +const ::opi_api::common::v1::ObjectKey& +UpdateVirtioBlkRequest::_Internal::txn_id(const UpdateVirtioBlkRequest* msg) { + return *msg->txn_id_; +} +void UpdateVirtioBlkRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateVirtioBlkRequest::UpdateVirtioBlkRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1057,11 +1188,19 @@ UpdateVirtioBlkRequest::UpdateVirtioBlkRequest(const UpdateVirtioBlkRequest& fro } else { controller_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateVirtioBlkRequest) } inline void UpdateVirtioBlkRequest::SharedCtor() { -controller_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_)) + sizeof(txn_id_)); } UpdateVirtioBlkRequest::~UpdateVirtioBlkRequest() { @@ -1074,6 +1213,7 @@ UpdateVirtioBlkRequest::~UpdateVirtioBlkRequest() { inline void UpdateVirtioBlkRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateVirtioBlkRequest::ArenaDtor(void* object) { @@ -1096,6 +1236,10 @@ void UpdateVirtioBlkRequest::Clear() { delete controller_; } controller_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1113,6 +1257,14 @@ const char* UpdateVirtioBlkRequest::_InternalParse(const char* ptr, ::PROTOBUF_N } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1150,6 +1302,14 @@ uint8_t* UpdateVirtioBlkRequest::_InternalSerialize( 1, _Internal::controller(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1173,6 +1333,13 @@ size_t UpdateVirtioBlkRequest::ByteSizeLong() const { *controller_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1198,6 +1365,9 @@ void UpdateVirtioBlkRequest::MergeFrom(const UpdateVirtioBlkRequest& from) { if (from._internal_has_controller()) { _internal_mutable_controller()->::opi_api::storage::v1::VirtioBlk::MergeFrom(from._internal_controller()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1215,7 +1385,12 @@ bool UpdateVirtioBlkRequest::IsInitialized() const { void UpdateVirtioBlkRequest::InternalSwap(UpdateVirtioBlkRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_, other->controller_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateVirtioBlkRequest, txn_id_) + + sizeof(UpdateVirtioBlkRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateVirtioBlkRequest, controller_)>( + reinterpret_cast(&controller_), + reinterpret_cast(&other->controller_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateVirtioBlkRequest::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 e8bfc4c1..00e509d4 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_blk.pb.h @@ -436,6 +436,7 @@ class CreateVirtioBlkRequest final : enum : int { kControllerFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioBlk controller = 1; bool has_controller() const; @@ -455,6 +456,24 @@ class CreateVirtioBlkRequest final : ::opi_api::storage::v1::VirtioBlk* controller); ::opi_api::storage::v1::VirtioBlk* unsafe_arena_release_controller(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateVirtioBlkRequest) private: class _Internal; @@ -463,6 +482,7 @@ class CreateVirtioBlkRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioBlk* controller_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fblk_2eproto; }; @@ -591,6 +611,7 @@ class DeleteVirtioBlkRequest final : enum : int { kControllerIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey controller_id = 1; bool has_controller_id() const; @@ -610,6 +631,24 @@ class DeleteVirtioBlkRequest final : ::opi_api::common::v1::ObjectKey* controller_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_controller_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteVirtioBlkRequest) private: class _Internal; @@ -618,6 +657,7 @@ class DeleteVirtioBlkRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* controller_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fblk_2eproto; }; @@ -746,6 +786,7 @@ class UpdateVirtioBlkRequest final : enum : int { kControllerFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioBlk controller = 1; bool has_controller() const; @@ -765,6 +806,24 @@ class UpdateVirtioBlkRequest final : ::opi_api::storage::v1::VirtioBlk* controller); ::opi_api::storage::v1::VirtioBlk* unsafe_arena_release_controller(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateVirtioBlkRequest) private: class _Internal; @@ -773,6 +832,7 @@ class UpdateVirtioBlkRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioBlk* controller_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fblk_2eproto; }; @@ -1973,6 +2033,92 @@ inline void CreateVirtioBlkRequest::set_allocated_controller(::opi_api::storage: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioBlkRequest.controller) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateVirtioBlkRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateVirtioBlkRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioBlkRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioBlkRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateVirtioBlkRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateVirtioBlkRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateVirtioBlkRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioBlkRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioBlkRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateVirtioBlkRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioBlkRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioBlkRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateVirtioBlkRequest.txn_id) + return _msg; +} +inline void CreateVirtioBlkRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioBlkRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteVirtioBlkRequest @@ -2063,6 +2209,92 @@ inline void DeleteVirtioBlkRequest::set_allocated_controller_id(::opi_api::commo // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioBlkRequest.controller_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteVirtioBlkRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteVirtioBlkRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioBlkRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioBlkRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteVirtioBlkRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteVirtioBlkRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteVirtioBlkRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioBlkRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioBlkRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteVirtioBlkRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioBlkRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioBlkRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteVirtioBlkRequest.txn_id) + return _msg; +} +inline void DeleteVirtioBlkRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioBlkRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateVirtioBlkRequest @@ -2157,6 +2389,92 @@ inline void UpdateVirtioBlkRequest::set_allocated_controller(::opi_api::storage: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioBlkRequest.controller) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateVirtioBlkRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateVirtioBlkRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioBlkRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioBlkRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateVirtioBlkRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateVirtioBlkRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateVirtioBlkRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioBlkRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioBlkRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateVirtioBlkRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioBlkRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioBlkRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateVirtioBlkRequest.txn_id) + return _msg; +} +inline void UpdateVirtioBlkRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioBlkRequest.txn_id) +} + // ------------------------------------------------------------------- // ListVirtioBlkRequest diff --git a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc index 9b3df840..7328aa8e 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.cc @@ -61,7 +61,8 @@ struct VirtioScsiLunDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiLunDefaultTypeInternal _VirtioScsiLun_default_instance_; constexpr CreateVirtioScsiTargetRequest::CreateVirtioScsiTargetRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : target_(nullptr){} + : target_(nullptr) + , txn_id_(nullptr){} struct CreateVirtioScsiTargetRequestDefaultTypeInternal { constexpr CreateVirtioScsiTargetRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -73,7 +74,8 @@ struct CreateVirtioScsiTargetRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateVirtioScsiTargetRequestDefaultTypeInternal _CreateVirtioScsiTargetRequest_default_instance_; constexpr DeleteVirtioScsiTargetRequest::DeleteVirtioScsiTargetRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : target_id_(nullptr){} + : target_id_(nullptr) + , txn_id_(nullptr){} struct DeleteVirtioScsiTargetRequestDefaultTypeInternal { constexpr DeleteVirtioScsiTargetRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -85,7 +87,8 @@ struct DeleteVirtioScsiTargetRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteVirtioScsiTargetRequestDefaultTypeInternal _DeleteVirtioScsiTargetRequest_default_instance_; constexpr UpdateVirtioScsiTargetRequest::UpdateVirtioScsiTargetRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : target_(nullptr){} + : target_(nullptr) + , txn_id_(nullptr){} struct UpdateVirtioScsiTargetRequestDefaultTypeInternal { constexpr UpdateVirtioScsiTargetRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -160,7 +163,8 @@ struct VirtioScsiTargetStatsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiTargetStatsResponseDefaultTypeInternal _VirtioScsiTargetStatsResponse_default_instance_; constexpr CreateVirtioScsiControllerRequest::CreateVirtioScsiControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_(nullptr){} + : controller_(nullptr) + , txn_id_(nullptr){} struct CreateVirtioScsiControllerRequestDefaultTypeInternal { constexpr CreateVirtioScsiControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -172,7 +176,8 @@ struct CreateVirtioScsiControllerRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateVirtioScsiControllerRequestDefaultTypeInternal _CreateVirtioScsiControllerRequest_default_instance_; constexpr DeleteVirtioScsiControllerRequest::DeleteVirtioScsiControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_id_(nullptr){} + : controller_id_(nullptr) + , txn_id_(nullptr){} struct DeleteVirtioScsiControllerRequestDefaultTypeInternal { constexpr DeleteVirtioScsiControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -184,7 +189,8 @@ struct DeleteVirtioScsiControllerRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteVirtioScsiControllerRequestDefaultTypeInternal _DeleteVirtioScsiControllerRequest_default_instance_; constexpr UpdateVirtioScsiControllerRequest::UpdateVirtioScsiControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : controller_(nullptr){} + : controller_(nullptr) + , txn_id_(nullptr){} struct UpdateVirtioScsiControllerRequestDefaultTypeInternal { constexpr UpdateVirtioScsiControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -259,7 +265,8 @@ struct VirtioScsiControllerStatsResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VirtioScsiControllerStatsResponseDefaultTypeInternal _VirtioScsiControllerStatsResponse_default_instance_; constexpr CreateVirtioScsiLunRequest::CreateVirtioScsiLunRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : lun_(nullptr){} + : lun_(nullptr) + , txn_id_(nullptr){} struct CreateVirtioScsiLunRequestDefaultTypeInternal { constexpr CreateVirtioScsiLunRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -272,7 +279,8 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateVirtioScsiLunRequestDefau constexpr DeleteVirtioScsiLunRequest::DeleteVirtioScsiLunRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : controller_id_(nullptr) - , lun_id_(nullptr){} + , lun_id_(nullptr) + , txn_id_(nullptr){} struct DeleteVirtioScsiLunRequestDefaultTypeInternal { constexpr DeleteVirtioScsiLunRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -284,7 +292,8 @@ struct DeleteVirtioScsiLunRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteVirtioScsiLunRequestDefaultTypeInternal _DeleteVirtioScsiLunRequest_default_instance_; constexpr UpdateVirtioScsiLunRequest::UpdateVirtioScsiLunRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : lun_(nullptr){} + : lun_(nullptr) + , txn_id_(nullptr){} struct UpdateVirtioScsiLunRequestDefaultTypeInternal { constexpr UpdateVirtioScsiLunRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -400,6 +409,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiTargetRequest, target_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiTargetRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiTargetRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -407,6 +417,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiTargetRequest, target_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiTargetRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiTargetRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -414,6 +425,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiTargetRequest, target_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiTargetRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListVirtioScsiTargetRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -459,6 +471,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiControllerRequest, controller_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiControllerRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -466,6 +479,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest, controller_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -473,6 +487,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest, controller_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListVirtioScsiControllerRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -518,6 +533,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiLunRequest, lun_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateVirtioScsiLunRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiLunRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -526,6 +542,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiLunRequest, controller_id_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiLunRequest, lun_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteVirtioScsiLunRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiLunRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -533,6 +550,7 @@ const uint32_t TableStruct_frontend_5fvirtio_5fscsi_2eproto::offsets[] PROTOBUF_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiLunRequest, lun_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateVirtioScsiLunRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListVirtioScsiLunRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -580,29 +598,29 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 8, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiController)}, { 16, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLun)}, { 25, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiTargetRequest)}, - { 32, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiTargetRequest)}, - { 39, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiTargetRequest)}, - { 46, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiTargetRequest)}, - { 54, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiTargetResponse)}, - { 62, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiTargetRequest)}, - { 69, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTargetStatsRequest)}, - { 76, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTargetStatsResponse)}, - { 84, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiControllerRequest)}, - { 91, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest)}, - { 98, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest)}, - { 105, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllerRequest)}, - { 113, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllerResponse)}, - { 121, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiControllerRequest)}, - { 128, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiControllerStatsRequest)}, - { 135, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiControllerStatsResponse)}, - { 143, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiLunRequest)}, - { 150, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiLunRequest)}, - { 158, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiLunRequest)}, - { 165, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunRequest)}, - { 174, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunResponse)}, - { 182, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiLunRequest)}, - { 190, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLunStatsRequest)}, - { 198, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLunStatsResponse)}, + { 33, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiTargetRequest)}, + { 41, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiTargetRequest)}, + { 49, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiTargetRequest)}, + { 57, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiTargetResponse)}, + { 65, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiTargetRequest)}, + { 72, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTargetStatsRequest)}, + { 79, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiTargetStatsResponse)}, + { 87, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiControllerRequest)}, + { 95, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiControllerRequest)}, + { 103, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiControllerRequest)}, + { 111, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllerRequest)}, + { 119, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiControllerResponse)}, + { 127, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiControllerRequest)}, + { 134, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiControllerStatsRequest)}, + { 141, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiControllerStatsResponse)}, + { 149, -1, -1, sizeof(::opi_api::storage::v1::CreateVirtioScsiLunRequest)}, + { 157, -1, -1, sizeof(::opi_api::storage::v1::DeleteVirtioScsiLunRequest)}, + { 166, -1, -1, sizeof(::opi_api::storage::v1::UpdateVirtioScsiLunRequest)}, + { 174, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunRequest)}, + { 183, -1, -1, sizeof(::opi_api::storage::v1::ListVirtioScsiLunResponse)}, + { 191, -1, -1, sizeof(::opi_api::storage::v1::GetVirtioScsiLunRequest)}, + { 199, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLunStatsRequest)}, + { 207, -1, -1, sizeof(::opi_api::storage::v1::VirtioScsiLunStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -648,136 +666,147 @@ const char descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto[] PROTOBUF "id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022/" "\n\ttarget_id\030\002 \001(\0132\034.opi_api.common.v1.Ob" "jectKey\022/\n\tvolume_id\030\003 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\"U\n\035CreateVirtioScsiTarg" - "etRequest\0224\n\006target\030\001 \001(\0132$.opi_api.stor" - "age.v1.VirtioScsiTarget\"P\n\035DeleteVirtioS" - "csiTargetRequest\022/\n\ttarget_id\030\001 \001(\0132\034.op" - "i_api.common.v1.ObjectKey\"U\n\035UpdateVirti" - "oScsiTargetRequest\0224\n\006target\030\001 \001(\0132$.opi" - "_api.storage.v1.VirtioScsiTarget\"D\n\033List" - "VirtioScsiTargetRequest\022\021\n\tpage_size\030\001 \001" - "(\005\022\022\n\npage_token\030\002 \001(\t\"n\n\034ListVirtioScsi" - "TargetResponse\0225\n\007targets\030\001 \003(\0132$.opi_ap" - "i.storage.v1.VirtioScsiTarget\022\027\n\017next_pa" - "ge_token\030\002 \001(\t\"M\n\032GetVirtioScsiTargetReq" - "uest\022/\n\ttarget_id\030\001 \001(\0132\034.opi_api.common" - ".v1.ObjectKey\"O\n\034VirtioScsiTargetStatsRe" - "quest\022/\n\ttarget_id\030\001 \001(\0132\034.opi_api.commo" - "n.v1.ObjectKey\"X\n\035VirtioScsiTargetStatsR" - "esponse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1." - "ObjectKey\022\r\n\005stats\030\002 \001(\t\"a\n!CreateVirtio" - "ScsiControllerRequest\022<\n\ncontroller\030\001 \001(" - "\0132(.opi_api.storage.v1.VirtioScsiControl" - "ler\"X\n!DeleteVirtioScsiControllerRequest" - "\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_api.common" - ".v1.ObjectKey\"a\n!UpdateVirtioScsiControl" - "lerRequest\022<\n\ncontroller\030\001 \001(\0132(.opi_api" - ".storage.v1.VirtioScsiController\"H\n\037List" - "VirtioScsiControllerRequest\022\021\n\tpage_size" - "\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"z\n ListVirtio" - "ScsiControllerResponse\022=\n\013controllers\030\001 " - "\003(\0132(.opi_api.storage.v1.VirtioScsiContr" - "oller\022\027\n\017next_page_token\030\002 \001(\t\"U\n\036GetVir" - "tioScsiControllerRequest\0223\n\rcontroller_i" - "d\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"W\n" - " VirtioScsiControllerStatsRequest\0223\n\rcon" + "mon.v1.ObjectKey\"\203\001\n\035CreateVirtioScsiTar" + "getRequest\0224\n\006target\030\001 \001(\0132$.opi_api.sto" + "rage.v1.VirtioScsiTarget\022,\n\006txn_id\030\002 \001(\013" + "2\034.opi_api.common.v1.ObjectKey\"~\n\035Delete" + "VirtioScsiTargetRequest\022/\n\ttarget_id\030\001 \001" + "(\0132\034.opi_api.common.v1.ObjectKey\022,\n\006txn_" + "id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"\203" + "\001\n\035UpdateVirtioScsiTargetRequest\0224\n\006targ" + "et\030\001 \001(\0132$.opi_api.storage.v1.VirtioScsi" + "Target\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common." + "v1.ObjectKey\"D\n\033ListVirtioScsiTargetRequ" + "est\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001" + "(\t\"n\n\034ListVirtioScsiTargetResponse\0225\n\007ta" + "rgets\030\001 \003(\0132$.opi_api.storage.v1.VirtioS" + "csiTarget\022\027\n\017next_page_token\030\002 \001(\t\"M\n\032Ge" + "tVirtioScsiTargetRequest\022/\n\ttarget_id\030\001 " + "\001(\0132\034.opi_api.common.v1.ObjectKey\"O\n\034Vir" + "tioScsiTargetStatsRequest\022/\n\ttarget_id\030\001" + " \001(\0132\034.opi_api.common.v1.ObjectKey\"X\n\035Vi" + "rtioScsiTargetStatsResponse\022(\n\002id\030\001 \001(\0132" + "\034.opi_api.common.v1.ObjectKey\022\r\n\005stats\030\002" + " \001(\t\"\217\001\n!CreateVirtioScsiControllerReque" + "st\022<\n\ncontroller\030\001 \001(\0132(.opi_api.storage" + ".v1.VirtioScsiController\022,\n\006txn_id\030\002 \001(\013" + "2\034.opi_api.common.v1.ObjectKey\"\206\001\n!Delet" + "eVirtioScsiControllerRequest\0223\n\rcontroll" + "er_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + "y\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Ob" + "jectKey\"\217\001\n!UpdateVirtioScsiControllerRe" + "quest\022<\n\ncontroller\030\001 \001(\0132(.opi_api.stor" + "age.v1.VirtioScsiController\022,\n\006txn_id\030\002 " + "\001(\0132\034.opi_api.common.v1.ObjectKey\"H\n\037Lis" + "tVirtioScsiControllerRequest\022\021\n\tpage_siz" + "e\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"z\n ListVirti" + "oScsiControllerResponse\022=\n\013controllers\030\001" + " \003(\0132(.opi_api.storage.v1.VirtioScsiCont" + "roller\022\027\n\017next_page_token\030\002 \001(\t\"U\n\036GetVi" + "rtioScsiControllerRequest\0223\n\rcontroller_" + "id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"W" + "\n VirtioScsiControllerStatsRequest\0223\n\rco" + "ntroller_id\030\001 \001(\0132\034.opi_api.common.v1.Ob" + "jectKey\"\\\n!VirtioScsiControllerStatsResp" + "onse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + "ectKey\022\r\n\005stats\030\002 \001(\t\"z\n\032CreateVirtioScs" + "iLunRequest\022.\n\003lun\030\001 \001(\0132!.opi_api.stora" + "ge.v1.VirtioScsiLun\022,\n\006txn_id\030\002 \001(\0132\034.op" + "i_api.common.v1.ObjectKey\"\255\001\n\032DeleteVirt" + "ioScsiLunRequest\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\022,\n\006t" + "xn_id\030\003 \001(\0132\034.opi_api.common.v1.ObjectKe" + "y\"z\n\032UpdateVirtioScsiLunRequest\022.\n\003lun\030\001" + " \001(\0132!.opi_api.storage.v1.VirtioScsiLun\022" + ",\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Obje" + "ctKey\"v\n\030ListVirtioScsiLunRequest\0223\n\rcon" "troller_id\030\001 \001(\0132\034.opi_api.common.v1.Obj" - "ectKey\"\\\n!VirtioScsiControllerStatsRespo" - "nse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Obje" - "ctKey\022\r\n\005stats\030\002 \001(\t\"L\n\032CreateVirtioScsi" - "LunRequest\022.\n\003lun\030\001 \001(\0132!.opi_api.storag" - "e.v1.VirtioScsiLun\"\177\n\032DeleteVirtioScsiLu" - "nRequest\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_ap" - "i.common.v1.ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034." - "opi_api.common.v1.ObjectKey\"L\n\032UpdateVir" - "tioScsiLunRequest\022.\n\003lun\030\001 \001(\0132!.opi_api" - ".storage.v1.VirtioScsiLun\"v\n\030ListVirtioS" - "csiLunRequest\0223\n\rcontroller_id\030\001 \001(\0132\034.o" - "pi_api.common.v1.ObjectKey\022\021\n\tpage_size\030" - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\031ListVirtioS" - "csiLunResponse\022/\n\004luns\030\001 \003(\0132!.opi_api.s" - "torage.v1.VirtioScsiLun\022\027\n\017next_page_tok" - "en\030\002 \001(\t\"|\n\027GetVirtioScsiLunRequest\0223\n\rc" - "ontroller_id\030\001 \001(\0132\034.opi_api.common.v1.O" - "bjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_api.commo" - "n.v1.ObjectKey\"~\n\031VirtioScsiLunStatsRequ" - "est\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_api.com" - "mon.v1.ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_a" - "pi.common.v1.ObjectKey\"U\n\032VirtioScsiLunS" - "tatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.commo" - "n.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\327\025\n\031Fronte" - "ndVirtioScsiService\022\242\001\n\026CreateVirtioScsi" - "Target\0221.opi_api.storage.v1.CreateVirtio" - "ScsiTargetRequest\032$.opi_api.storage.v1.V" - "irtioScsiTarget\"/\202\323\344\223\002)\"\025/v1/virtioscsit" - "argets:\020virtioscsitarget\022\225\001\n\026DeleteVirti" - "oScsiTarget\0221.opi_api.storage.v1.DeleteV" - "irtioScsiTargetRequest\032\026.google.protobuf" - ".Empty\"0\202\323\344\223\002**(/v1/virtioscsitargets/{v" - "irtioscsitarget}\022\242\001\n\026UpdateVirtioScsiTar" - "get\0221.opi_api.storage.v1.UpdateVirtioScs" - "iTargetRequest\032$.opi_api.storage.v1.Virt" - "ioScsiTarget\"/\202\323\344\223\002)2\025/v1/virtioscsitarg" - "ets:\020virtioscsitarget\022\230\001\n\024ListVirtioScsi" - "Target\022/.opi_api.storage.v1.ListVirtioSc" - "siTargetRequest\0320.opi_api.storage.v1.Lis" - "tVirtioScsiTargetResponse\"\035\202\323\344\223\002\027\022\025/v1/v" - "irtioscsitargets\022\235\001\n\023GetVirtioScsiTarget" - "\022..opi_api.storage.v1.GetVirtioScsiTarge" - "tRequest\032$.opi_api.storage.v1.VirtioScsi" - "Target\"0\202\323\344\223\002*\022(/v1/virtioscsitargets/{v" - "irtioscsitarget}\022~\n\025VirtioScsiTargetStat" - "s\0220.opi_api.storage.v1.VirtioScsiTargetS" - "tatsRequest\0321.opi_api.storage.v1.VirtioS" - "csiTargetStatsResponse\"\000\022\252\001\n\032CreateVirti" - "oScsiController\0225.opi_api.storage.v1.Cre" - "ateVirtioScsiControllerRequest\032(.opi_api" - ".storage.v1.VirtioScsiController\"+\202\323\344\223\002%" - "\"\023/v1/virtioscsictrls:\016virtioscsictrl\022\231\001" - "\n\032DeleteVirtioScsiController\0225.opi_api.s" - "torage.v1.DeleteVirtioScsiControllerRequ" - "est\032\026.google.protobuf.Empty\",\202\323\344\223\002&*$/v1" - "/virtioscsictrls/{virtioscsictrl}\022\252\001\n\032Up" - "dateVirtioScsiController\0225.opi_api.stora" - "ge.v1.UpdateVirtioScsiControllerRequest\032" - "(.opi_api.storage.v1.VirtioScsiControlle" - "r\"+\202\323\344\223\002%2\023/v1/virtioscsictrls:\016virtiosc" - "sictrl\022\242\001\n\030ListVirtioScsiController\0223.op" - "i_api.storage.v1.ListVirtioScsiControlle" - "rRequest\0324.opi_api.storage.v1.ListVirtio" - "ScsiControllerResponse\"\033\202\323\344\223\002\025\022\023/v1/virt" - "ioscsictrls\022\245\001\n\027GetVirtioScsiController\022" - "2.opi_api.storage.v1.GetVirtioScsiContro" - "llerRequest\032(.opi_api.storage.v1.VirtioS" - "csiController\",\202\323\344\223\002&\022$/v1/virtioscsictr" - "ls/{virtioscsictrl}\022\212\001\n\031VirtioScsiContro" - "llerStats\0224.opi_api.storage.v1.VirtioScs" - "iControllerStatsRequest\0325.opi_api.storag" - "e.v1.VirtioScsiControllerStatsResponse\"\000" - "\022\223\001\n\023CreateVirtioScsiLun\022..opi_api.stora" - "ge.v1.CreateVirtioScsiLunRequest\032!.opi_a" - "pi.storage.v1.VirtioScsiLun\")\202\323\344\223\002#\"\022/v1" - "/virtioscsiluns:\rvirtioscsilun\022\211\001\n\023Delet" - "eVirtioScsiLun\022..opi_api.storage.v1.Dele" - "teVirtioScsiLunRequest\032\026.google.protobuf" - ".Empty\"*\202\323\344\223\002$*\"/v1/virtioscsiluns/{virt" - "ioscsilun}\022\223\001\n\023UpdateVirtioScsiLun\022..opi" - "_api.storage.v1.UpdateVirtioScsiLunReque" - "st\032!.opi_api.storage.v1.VirtioScsiLun\")\202" - "\323\344\223\002#2\022/v1/virtioscsiluns:\rvirtioscsilun" - "\022\214\001\n\021ListVirtioScsiLun\022,.opi_api.storage" - ".v1.ListVirtioScsiLunRequest\032-.opi_api.s" - "torage.v1.ListVirtioScsiLunResponse\"\032\202\323\344" - "\223\002\024\022\022/v1/virtioscsiluns\022\216\001\n\020GetVirtioScs" - "iLun\022+.opi_api.storage.v1.GetVirtioScsiL" - "unRequest\032!.opi_api.storage.v1.VirtioScs" - "iLun\"*\202\323\344\223\002$\022\"/v1/virtioscsiluns/{virtio" - "scsilun}\022u\n\022VirtioScsiLunStats\022-.opi_api" - ".storage.v1.VirtioScsiLunStatsRequest\032.." - "opi_api.storage.v1.VirtioScsiLunStatsRes" - "ponse\"\000Bf\n\022opi_api.storage.v1B\027FrontendV" - "irtioScsiProtoP\001Z5github.com/opiproject/" - "opi-api/storage/v1alpha1/gen/gob\006proto3" + "ectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + "\003 \001(\t\"e\n\031ListVirtioScsiLunResponse\022/\n\004lu" + "ns\030\001 \003(\0132!.opi_api.storage.v1.VirtioScsi" + "Lun\022\027\n\017next_page_token\030\002 \001(\t\"|\n\027GetVirti" + "oScsiLunRequest\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\"~\n\031Vi" + "rtioScsiLunStatsRequest\0223\n\rcontroller_id" + "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022,\n\006" + "lun_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectK" + "ey\"U\n\032VirtioScsiLunStatsResponse\022(\n\002id\030\001" + " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + "ats\030\002 \001(\t2\327\025\n\031FrontendVirtioScsiService\022" + "\242\001\n\026CreateVirtioScsiTarget\0221.opi_api.sto" + "rage.v1.CreateVirtioScsiTargetRequest\032$." + "opi_api.storage.v1.VirtioScsiTarget\"/\202\323\344" + "\223\002)\"\025/v1/virtioscsitargets:\020virtioscsita" + "rget\022\225\001\n\026DeleteVirtioScsiTarget\0221.opi_ap" + "i.storage.v1.DeleteVirtioScsiTargetReque" + "st\032\026.google.protobuf.Empty\"0\202\323\344\223\002**(/v1/" + "virtioscsitargets/{virtioscsitarget}\022\242\001\n" + "\026UpdateVirtioScsiTarget\0221.opi_api.storag" + "e.v1.UpdateVirtioScsiTargetRequest\032$.opi" + "_api.storage.v1.VirtioScsiTarget\"/\202\323\344\223\002)" + "2\025/v1/virtioscsitargets:\020virtioscsitarge" + "t\022\230\001\n\024ListVirtioScsiTarget\022/.opi_api.sto" + "rage.v1.ListVirtioScsiTargetRequest\0320.op" + "i_api.storage.v1.ListVirtioScsiTargetRes" + "ponse\"\035\202\323\344\223\002\027\022\025/v1/virtioscsitargets\022\235\001\n" + "\023GetVirtioScsiTarget\022..opi_api.storage.v" + "1.GetVirtioScsiTargetRequest\032$.opi_api.s" + "torage.v1.VirtioScsiTarget\"0\202\323\344\223\002*\022(/v1/" + "virtioscsitargets/{virtioscsitarget}\022~\n\025" + "VirtioScsiTargetStats\0220.opi_api.storage." + "v1.VirtioScsiTargetStatsRequest\0321.opi_ap" + "i.storage.v1.VirtioScsiTargetStatsRespon" + "se\"\000\022\252\001\n\032CreateVirtioScsiController\0225.op" + "i_api.storage.v1.CreateVirtioScsiControl" + "lerRequest\032(.opi_api.storage.v1.VirtioSc" + "siController\"+\202\323\344\223\002%\"\023/v1/virtioscsictrl" + "s:\016virtioscsictrl\022\231\001\n\032DeleteVirtioScsiCo" + "ntroller\0225.opi_api.storage.v1.DeleteVirt" + "ioScsiControllerRequest\032\026.google.protobu" + "f.Empty\",\202\323\344\223\002&*$/v1/virtioscsictrls/{vi" + "rtioscsictrl}\022\252\001\n\032UpdateVirtioScsiContro" + "ller\0225.opi_api.storage.v1.UpdateVirtioSc" + "siControllerRequest\032(.opi_api.storage.v1" + ".VirtioScsiController\"+\202\323\344\223\002%2\023/v1/virti" + "oscsictrls:\016virtioscsictrl\022\242\001\n\030ListVirti" + "oScsiController\0223.opi_api.storage.v1.Lis" + "tVirtioScsiControllerRequest\0324.opi_api.s" + "torage.v1.ListVirtioScsiControllerRespon" + "se\"\033\202\323\344\223\002\025\022\023/v1/virtioscsictrls\022\245\001\n\027GetV" + "irtioScsiController\0222.opi_api.storage.v1" + ".GetVirtioScsiControllerRequest\032(.opi_ap" + "i.storage.v1.VirtioScsiController\",\202\323\344\223\002" + "&\022$/v1/virtioscsictrls/{virtioscsictrl}\022" + "\212\001\n\031VirtioScsiControllerStats\0224.opi_api." + "storage.v1.VirtioScsiControllerStatsRequ" + "est\0325.opi_api.storage.v1.VirtioScsiContr" + "ollerStatsResponse\"\000\022\223\001\n\023CreateVirtioScs" + "iLun\022..opi_api.storage.v1.CreateVirtioSc" + "siLunRequest\032!.opi_api.storage.v1.Virtio" + "ScsiLun\")\202\323\344\223\002#\"\022/v1/virtioscsiluns:\rvir" + "tioscsilun\022\211\001\n\023DeleteVirtioScsiLun\022..opi" + "_api.storage.v1.DeleteVirtioScsiLunReque" + "st\032\026.google.protobuf.Empty\"*\202\323\344\223\002$*\"/v1/" + "virtioscsiluns/{virtioscsilun}\022\223\001\n\023Updat" + "eVirtioScsiLun\022..opi_api.storage.v1.Upda" + "teVirtioScsiLunRequest\032!.opi_api.storage" + ".v1.VirtioScsiLun\")\202\323\344\223\002#2\022/v1/virtioscs" + "iluns:\rvirtioscsilun\022\214\001\n\021ListVirtioScsiL" + "un\022,.opi_api.storage.v1.ListVirtioScsiLu" + "nRequest\032-.opi_api.storage.v1.ListVirtio" + "ScsiLunResponse\"\032\202\323\344\223\002\024\022\022/v1/virtioscsil" + "uns\022\216\001\n\020GetVirtioScsiLun\022+.opi_api.stora" + "ge.v1.GetVirtioScsiLunRequest\032!.opi_api." + "storage.v1.VirtioScsiLun\"*\202\323\344\223\002$\022\"/v1/vi" + "rtioscsiluns/{virtioscsilun}\022u\n\022VirtioSc" + "siLunStats\022-.opi_api.storage.v1.VirtioSc" + "siLunStatsRequest\032..opi_api.storage.v1.V" + "irtioScsiLunStatsResponse\"\000Bf\n\022opi_api.s" + "torage.v1B\027FrontendVirtioScsiProtoP\001Z5gi" + "thub.com/opiproject/opi-api/storage/v1al" + "pha1/gen/gob\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_frontend_5fvirtio_5fscsi_2eproto_deps[4] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -787,7 +816,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, 5679, descriptor_table_protodef_frontend_5fvirtio_5fscsi_2eproto, "frontend_virtio_scsi.proto", + false, false, 6099, 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, 4, 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, @@ -1599,12 +1628,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiLun::GetMetadata() const { class CreateVirtioScsiTargetRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioScsiTarget& target(const CreateVirtioScsiTargetRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateVirtioScsiTargetRequest* msg); }; const ::opi_api::storage::v1::VirtioScsiTarget& CreateVirtioScsiTargetRequest::_Internal::target(const CreateVirtioScsiTargetRequest* msg) { return *msg->target_; } +const ::opi_api::common::v1::ObjectKey& +CreateVirtioScsiTargetRequest::_Internal::txn_id(const CreateVirtioScsiTargetRequest* msg) { + return *msg->txn_id_; +} +void CreateVirtioScsiTargetRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateVirtioScsiTargetRequest::CreateVirtioScsiTargetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1622,11 +1662,19 @@ CreateVirtioScsiTargetRequest::CreateVirtioScsiTargetRequest(const CreateVirtioS } else { target_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateVirtioScsiTargetRequest) } inline void CreateVirtioScsiTargetRequest::SharedCtor() { -target_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&target_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&target_)) + sizeof(txn_id_)); } CreateVirtioScsiTargetRequest::~CreateVirtioScsiTargetRequest() { @@ -1639,6 +1687,7 @@ CreateVirtioScsiTargetRequest::~CreateVirtioScsiTargetRequest() { inline void CreateVirtioScsiTargetRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete target_; + if (this != internal_default_instance()) delete txn_id_; } void CreateVirtioScsiTargetRequest::ArenaDtor(void* object) { @@ -1661,6 +1710,10 @@ void CreateVirtioScsiTargetRequest::Clear() { delete target_; } target_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1678,6 +1731,14 @@ const char* CreateVirtioScsiTargetRequest::_InternalParse(const char* ptr, ::PRO } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1715,6 +1776,14 @@ uint8_t* CreateVirtioScsiTargetRequest::_InternalSerialize( 1, _Internal::target(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1738,6 +1807,13 @@ size_t CreateVirtioScsiTargetRequest::ByteSizeLong() const { *target_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1763,6 +1839,9 @@ void CreateVirtioScsiTargetRequest::MergeFrom(const CreateVirtioScsiTargetReques if (from._internal_has_target()) { _internal_mutable_target()->::opi_api::storage::v1::VirtioScsiTarget::MergeFrom(from._internal_target()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1780,7 +1859,12 @@ bool CreateVirtioScsiTargetRequest::IsInitialized() const { void CreateVirtioScsiTargetRequest::InternalSwap(CreateVirtioScsiTargetRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(target_, other->target_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateVirtioScsiTargetRequest, txn_id_) + + sizeof(CreateVirtioScsiTargetRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateVirtioScsiTargetRequest, target_)>( + reinterpret_cast(&target_), + reinterpret_cast(&other->target_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioScsiTargetRequest::GetMetadata() const { @@ -1794,18 +1878,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioScsiTargetRequest::GetMetadata() c class DeleteVirtioScsiTargetRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& target_id(const DeleteVirtioScsiTargetRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteVirtioScsiTargetRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiTargetRequest::_Internal::target_id(const DeleteVirtioScsiTargetRequest* msg) { return *msg->target_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteVirtioScsiTargetRequest::_Internal::txn_id(const DeleteVirtioScsiTargetRequest* msg) { + return *msg->txn_id_; +} void DeleteVirtioScsiTargetRequest::clear_target_id() { if (GetArenaForAllocation() == nullptr && target_id_ != nullptr) { delete target_id_; } target_id_ = nullptr; } +void DeleteVirtioScsiTargetRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteVirtioScsiTargetRequest::DeleteVirtioScsiTargetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1823,11 +1918,19 @@ DeleteVirtioScsiTargetRequest::DeleteVirtioScsiTargetRequest(const DeleteVirtioS } else { target_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteVirtioScsiTargetRequest) } inline void DeleteVirtioScsiTargetRequest::SharedCtor() { -target_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&target_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&target_id_)) + sizeof(txn_id_)); } DeleteVirtioScsiTargetRequest::~DeleteVirtioScsiTargetRequest() { @@ -1840,6 +1943,7 @@ DeleteVirtioScsiTargetRequest::~DeleteVirtioScsiTargetRequest() { inline void DeleteVirtioScsiTargetRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete target_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteVirtioScsiTargetRequest::ArenaDtor(void* object) { @@ -1862,6 +1966,10 @@ void DeleteVirtioScsiTargetRequest::Clear() { delete target_id_; } target_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1879,6 +1987,14 @@ const char* DeleteVirtioScsiTargetRequest::_InternalParse(const char* ptr, ::PRO } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1916,6 +2032,14 @@ uint8_t* DeleteVirtioScsiTargetRequest::_InternalSerialize( 1, _Internal::target_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1939,6 +2063,13 @@ size_t DeleteVirtioScsiTargetRequest::ByteSizeLong() const { *target_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1964,6 +2095,9 @@ void DeleteVirtioScsiTargetRequest::MergeFrom(const DeleteVirtioScsiTargetReques if (from._internal_has_target_id()) { _internal_mutable_target_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_target_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1981,7 +2115,12 @@ bool DeleteVirtioScsiTargetRequest::IsInitialized() const { void DeleteVirtioScsiTargetRequest::InternalSwap(DeleteVirtioScsiTargetRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(target_id_, other->target_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiTargetRequest, txn_id_) + + sizeof(DeleteVirtioScsiTargetRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiTargetRequest, target_id_)>( + reinterpret_cast(&target_id_), + reinterpret_cast(&other->target_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioScsiTargetRequest::GetMetadata() const { @@ -1995,12 +2134,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioScsiTargetRequest::GetMetadata() c class UpdateVirtioScsiTargetRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioScsiTarget& target(const UpdateVirtioScsiTargetRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateVirtioScsiTargetRequest* msg); }; const ::opi_api::storage::v1::VirtioScsiTarget& UpdateVirtioScsiTargetRequest::_Internal::target(const UpdateVirtioScsiTargetRequest* msg) { return *msg->target_; } +const ::opi_api::common::v1::ObjectKey& +UpdateVirtioScsiTargetRequest::_Internal::txn_id(const UpdateVirtioScsiTargetRequest* msg) { + return *msg->txn_id_; +} +void UpdateVirtioScsiTargetRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateVirtioScsiTargetRequest::UpdateVirtioScsiTargetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2018,11 +2168,19 @@ UpdateVirtioScsiTargetRequest::UpdateVirtioScsiTargetRequest(const UpdateVirtioS } else { target_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateVirtioScsiTargetRequest) } inline void UpdateVirtioScsiTargetRequest::SharedCtor() { -target_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&target_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&target_)) + sizeof(txn_id_)); } UpdateVirtioScsiTargetRequest::~UpdateVirtioScsiTargetRequest() { @@ -2035,6 +2193,7 @@ UpdateVirtioScsiTargetRequest::~UpdateVirtioScsiTargetRequest() { inline void UpdateVirtioScsiTargetRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete target_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateVirtioScsiTargetRequest::ArenaDtor(void* object) { @@ -2057,6 +2216,10 @@ void UpdateVirtioScsiTargetRequest::Clear() { delete target_; } target_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2074,6 +2237,14 @@ const char* UpdateVirtioScsiTargetRequest::_InternalParse(const char* ptr, ::PRO } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -2111,6 +2282,14 @@ uint8_t* UpdateVirtioScsiTargetRequest::_InternalSerialize( 1, _Internal::target(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -2134,6 +2313,13 @@ size_t UpdateVirtioScsiTargetRequest::ByteSizeLong() const { *target_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -2159,6 +2345,9 @@ void UpdateVirtioScsiTargetRequest::MergeFrom(const UpdateVirtioScsiTargetReques if (from._internal_has_target()) { _internal_mutable_target()->::opi_api::storage::v1::VirtioScsiTarget::MergeFrom(from._internal_target()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -2176,7 +2365,12 @@ bool UpdateVirtioScsiTargetRequest::IsInitialized() const { void UpdateVirtioScsiTargetRequest::InternalSwap(UpdateVirtioScsiTargetRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(target_, other->target_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateVirtioScsiTargetRequest, txn_id_) + + sizeof(UpdateVirtioScsiTargetRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateVirtioScsiTargetRequest, target_)>( + reinterpret_cast(&target_), + reinterpret_cast(&other->target_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateVirtioScsiTargetRequest::GetMetadata() const { @@ -3309,12 +3503,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiTargetStatsResponse::GetMetadata() c class CreateVirtioScsiControllerRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioScsiController& controller(const CreateVirtioScsiControllerRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateVirtioScsiControllerRequest* msg); }; const ::opi_api::storage::v1::VirtioScsiController& CreateVirtioScsiControllerRequest::_Internal::controller(const CreateVirtioScsiControllerRequest* msg) { return *msg->controller_; } +const ::opi_api::common::v1::ObjectKey& +CreateVirtioScsiControllerRequest::_Internal::txn_id(const CreateVirtioScsiControllerRequest* msg) { + return *msg->txn_id_; +} +void CreateVirtioScsiControllerRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateVirtioScsiControllerRequest::CreateVirtioScsiControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3332,11 +3537,19 @@ CreateVirtioScsiControllerRequest::CreateVirtioScsiControllerRequest(const Creat } else { controller_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateVirtioScsiControllerRequest) } inline void CreateVirtioScsiControllerRequest::SharedCtor() { -controller_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_)) + sizeof(txn_id_)); } CreateVirtioScsiControllerRequest::~CreateVirtioScsiControllerRequest() { @@ -3349,6 +3562,7 @@ CreateVirtioScsiControllerRequest::~CreateVirtioScsiControllerRequest() { inline void CreateVirtioScsiControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_; + if (this != internal_default_instance()) delete txn_id_; } void CreateVirtioScsiControllerRequest::ArenaDtor(void* object) { @@ -3371,6 +3585,10 @@ void CreateVirtioScsiControllerRequest::Clear() { delete controller_; } controller_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3388,6 +3606,14 @@ const char* CreateVirtioScsiControllerRequest::_InternalParse(const char* ptr, : } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3425,6 +3651,14 @@ uint8_t* CreateVirtioScsiControllerRequest::_InternalSerialize( 1, _Internal::controller(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3448,6 +3682,13 @@ size_t CreateVirtioScsiControllerRequest::ByteSizeLong() const { *controller_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -3473,6 +3714,9 @@ void CreateVirtioScsiControllerRequest::MergeFrom(const CreateVirtioScsiControll if (from._internal_has_controller()) { _internal_mutable_controller()->::opi_api::storage::v1::VirtioScsiController::MergeFrom(from._internal_controller()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -3490,7 +3734,12 @@ bool CreateVirtioScsiControllerRequest::IsInitialized() const { void CreateVirtioScsiControllerRequest::InternalSwap(CreateVirtioScsiControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_, other->controller_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateVirtioScsiControllerRequest, txn_id_) + + sizeof(CreateVirtioScsiControllerRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateVirtioScsiControllerRequest, controller_)>( + reinterpret_cast(&controller_), + reinterpret_cast(&other->controller_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioScsiControllerRequest::GetMetadata() const { @@ -3504,18 +3753,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioScsiControllerRequest::GetMetadata class DeleteVirtioScsiControllerRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& controller_id(const DeleteVirtioScsiControllerRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteVirtioScsiControllerRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiControllerRequest::_Internal::controller_id(const DeleteVirtioScsiControllerRequest* msg) { return *msg->controller_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteVirtioScsiControllerRequest::_Internal::txn_id(const DeleteVirtioScsiControllerRequest* msg) { + return *msg->txn_id_; +} void DeleteVirtioScsiControllerRequest::clear_controller_id() { if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { delete controller_id_; } controller_id_ = nullptr; } +void DeleteVirtioScsiControllerRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteVirtioScsiControllerRequest::DeleteVirtioScsiControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3533,11 +3793,19 @@ DeleteVirtioScsiControllerRequest::DeleteVirtioScsiControllerRequest(const Delet } else { controller_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteVirtioScsiControllerRequest) } inline void DeleteVirtioScsiControllerRequest::SharedCtor() { -controller_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_id_)) + sizeof(txn_id_)); } DeleteVirtioScsiControllerRequest::~DeleteVirtioScsiControllerRequest() { @@ -3550,6 +3818,7 @@ DeleteVirtioScsiControllerRequest::~DeleteVirtioScsiControllerRequest() { inline void DeleteVirtioScsiControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteVirtioScsiControllerRequest::ArenaDtor(void* object) { @@ -3572,6 +3841,10 @@ void DeleteVirtioScsiControllerRequest::Clear() { delete controller_id_; } controller_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3589,6 +3862,14 @@ const char* DeleteVirtioScsiControllerRequest::_InternalParse(const char* ptr, : } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3626,6 +3907,14 @@ uint8_t* DeleteVirtioScsiControllerRequest::_InternalSerialize( 1, _Internal::controller_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3649,6 +3938,13 @@ size_t DeleteVirtioScsiControllerRequest::ByteSizeLong() const { *controller_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -3674,6 +3970,9 @@ void DeleteVirtioScsiControllerRequest::MergeFrom(const DeleteVirtioScsiControll if (from._internal_has_controller_id()) { _internal_mutable_controller_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_controller_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -3691,7 +3990,12 @@ bool DeleteVirtioScsiControllerRequest::IsInitialized() const { void DeleteVirtioScsiControllerRequest::InternalSwap(DeleteVirtioScsiControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_id_, other->controller_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiControllerRequest, txn_id_) + + sizeof(DeleteVirtioScsiControllerRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiControllerRequest, controller_id_)>( + reinterpret_cast(&controller_id_), + reinterpret_cast(&other->controller_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioScsiControllerRequest::GetMetadata() const { @@ -3705,12 +4009,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioScsiControllerRequest::GetMetadata class UpdateVirtioScsiControllerRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioScsiController& controller(const UpdateVirtioScsiControllerRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateVirtioScsiControllerRequest* msg); }; const ::opi_api::storage::v1::VirtioScsiController& UpdateVirtioScsiControllerRequest::_Internal::controller(const UpdateVirtioScsiControllerRequest* msg) { return *msg->controller_; } +const ::opi_api::common::v1::ObjectKey& +UpdateVirtioScsiControllerRequest::_Internal::txn_id(const UpdateVirtioScsiControllerRequest* msg) { + return *msg->txn_id_; +} +void UpdateVirtioScsiControllerRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateVirtioScsiControllerRequest::UpdateVirtioScsiControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3728,11 +4043,19 @@ UpdateVirtioScsiControllerRequest::UpdateVirtioScsiControllerRequest(const Updat } else { controller_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateVirtioScsiControllerRequest) } inline void UpdateVirtioScsiControllerRequest::SharedCtor() { -controller_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&controller_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_)) + sizeof(txn_id_)); } UpdateVirtioScsiControllerRequest::~UpdateVirtioScsiControllerRequest() { @@ -3745,6 +4068,7 @@ UpdateVirtioScsiControllerRequest::~UpdateVirtioScsiControllerRequest() { inline void UpdateVirtioScsiControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateVirtioScsiControllerRequest::ArenaDtor(void* object) { @@ -3767,6 +4091,10 @@ void UpdateVirtioScsiControllerRequest::Clear() { delete controller_; } controller_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3784,6 +4112,14 @@ const char* UpdateVirtioScsiControllerRequest::_InternalParse(const char* ptr, : } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3821,6 +4157,14 @@ uint8_t* UpdateVirtioScsiControllerRequest::_InternalSerialize( 1, _Internal::controller(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3844,6 +4188,13 @@ size_t UpdateVirtioScsiControllerRequest::ByteSizeLong() const { *controller_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -3869,6 +4220,9 @@ void UpdateVirtioScsiControllerRequest::MergeFrom(const UpdateVirtioScsiControll if (from._internal_has_controller()) { _internal_mutable_controller()->::opi_api::storage::v1::VirtioScsiController::MergeFrom(from._internal_controller()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -3886,7 +4240,12 @@ bool UpdateVirtioScsiControllerRequest::IsInitialized() const { void UpdateVirtioScsiControllerRequest::InternalSwap(UpdateVirtioScsiControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(controller_, other->controller_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateVirtioScsiControllerRequest, txn_id_) + + sizeof(UpdateVirtioScsiControllerRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateVirtioScsiControllerRequest, controller_)>( + reinterpret_cast(&controller_), + reinterpret_cast(&other->controller_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateVirtioScsiControllerRequest::GetMetadata() const { @@ -5019,12 +5378,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata VirtioScsiControllerStatsResponse::GetMetadata class CreateVirtioScsiLunRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioScsiLun& lun(const CreateVirtioScsiLunRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateVirtioScsiLunRequest* msg); }; const ::opi_api::storage::v1::VirtioScsiLun& CreateVirtioScsiLunRequest::_Internal::lun(const CreateVirtioScsiLunRequest* msg) { return *msg->lun_; } +const ::opi_api::common::v1::ObjectKey& +CreateVirtioScsiLunRequest::_Internal::txn_id(const CreateVirtioScsiLunRequest* msg) { + return *msg->txn_id_; +} +void CreateVirtioScsiLunRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateVirtioScsiLunRequest::CreateVirtioScsiLunRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5042,11 +5412,19 @@ CreateVirtioScsiLunRequest::CreateVirtioScsiLunRequest(const CreateVirtioScsiLun } else { lun_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateVirtioScsiLunRequest) } inline void CreateVirtioScsiLunRequest::SharedCtor() { -lun_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&lun_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&lun_)) + sizeof(txn_id_)); } CreateVirtioScsiLunRequest::~CreateVirtioScsiLunRequest() { @@ -5059,6 +5437,7 @@ CreateVirtioScsiLunRequest::~CreateVirtioScsiLunRequest() { inline void CreateVirtioScsiLunRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete lun_; + if (this != internal_default_instance()) delete txn_id_; } void CreateVirtioScsiLunRequest::ArenaDtor(void* object) { @@ -5081,6 +5460,10 @@ void CreateVirtioScsiLunRequest::Clear() { delete lun_; } lun_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5098,6 +5481,14 @@ const char* CreateVirtioScsiLunRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5135,6 +5526,14 @@ uint8_t* CreateVirtioScsiLunRequest::_InternalSerialize( 1, _Internal::lun(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5158,6 +5557,13 @@ size_t CreateVirtioScsiLunRequest::ByteSizeLong() const { *lun_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5183,6 +5589,9 @@ void CreateVirtioScsiLunRequest::MergeFrom(const CreateVirtioScsiLunRequest& fro if (from._internal_has_lun()) { _internal_mutable_lun()->::opi_api::storage::v1::VirtioScsiLun::MergeFrom(from._internal_lun()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5200,7 +5609,12 @@ bool CreateVirtioScsiLunRequest::IsInitialized() const { void CreateVirtioScsiLunRequest::InternalSwap(CreateVirtioScsiLunRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(lun_, other->lun_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateVirtioScsiLunRequest, txn_id_) + + sizeof(CreateVirtioScsiLunRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateVirtioScsiLunRequest, lun_)>( + reinterpret_cast(&lun_), + reinterpret_cast(&other->lun_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateVirtioScsiLunRequest::GetMetadata() const { @@ -5215,6 +5629,7 @@ class DeleteVirtioScsiLunRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& controller_id(const DeleteVirtioScsiLunRequest* msg); static const ::opi_api::common::v1::ObjectKey& lun_id(const DeleteVirtioScsiLunRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteVirtioScsiLunRequest* msg); }; const ::opi_api::common::v1::ObjectKey& @@ -5225,6 +5640,10 @@ const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiLunRequest::_Internal::lun_id(const DeleteVirtioScsiLunRequest* msg) { return *msg->lun_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteVirtioScsiLunRequest::_Internal::txn_id(const DeleteVirtioScsiLunRequest* msg) { + return *msg->txn_id_; +} void DeleteVirtioScsiLunRequest::clear_controller_id() { if (GetArenaForAllocation() == nullptr && controller_id_ != nullptr) { delete controller_id_; @@ -5237,6 +5656,12 @@ void DeleteVirtioScsiLunRequest::clear_lun_id() { } lun_id_ = nullptr; } +void DeleteVirtioScsiLunRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteVirtioScsiLunRequest::DeleteVirtioScsiLunRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5259,14 +5684,19 @@ DeleteVirtioScsiLunRequest::DeleteVirtioScsiLunRequest(const DeleteVirtioScsiLun } else { lun_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteVirtioScsiLunRequest) } inline void DeleteVirtioScsiLunRequest::SharedCtor() { ::memset(reinterpret_cast(this) + static_cast( reinterpret_cast(&controller_id_) - reinterpret_cast(this)), - 0, static_cast(reinterpret_cast(&lun_id_) - - reinterpret_cast(&controller_id_)) + sizeof(lun_id_)); + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&controller_id_)) + sizeof(txn_id_)); } DeleteVirtioScsiLunRequest::~DeleteVirtioScsiLunRequest() { @@ -5280,6 +5710,7 @@ inline void DeleteVirtioScsiLunRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete controller_id_; if (this != internal_default_instance()) delete lun_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteVirtioScsiLunRequest::ArenaDtor(void* object) { @@ -5306,6 +5737,10 @@ void DeleteVirtioScsiLunRequest::Clear() { delete lun_id_; } lun_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5331,6 +5766,14 @@ const char* DeleteVirtioScsiLunRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5376,6 +5819,14 @@ uint8_t* DeleteVirtioScsiLunRequest::_InternalSerialize( 2, _Internal::lun_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 3; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 3, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5406,6 +5857,13 @@ size_t DeleteVirtioScsiLunRequest::ByteSizeLong() const { *lun_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 3; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5434,6 +5892,9 @@ void DeleteVirtioScsiLunRequest::MergeFrom(const DeleteVirtioScsiLunRequest& fro if (from._internal_has_lun_id()) { _internal_mutable_lun_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_lun_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5452,8 +5913,8 @@ void DeleteVirtioScsiLunRequest::InternalSwap(DeleteVirtioScsiLunRequest* other) using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiLunRequest, lun_id_) - + sizeof(DeleteVirtioScsiLunRequest::lun_id_) + PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiLunRequest, txn_id_) + + sizeof(DeleteVirtioScsiLunRequest::txn_id_) - PROTOBUF_FIELD_OFFSET(DeleteVirtioScsiLunRequest, controller_id_)>( reinterpret_cast(&controller_id_), reinterpret_cast(&other->controller_id_)); @@ -5470,12 +5931,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteVirtioScsiLunRequest::GetMetadata() cons class UpdateVirtioScsiLunRequest::_Internal { public: static const ::opi_api::storage::v1::VirtioScsiLun& lun(const UpdateVirtioScsiLunRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateVirtioScsiLunRequest* msg); }; const ::opi_api::storage::v1::VirtioScsiLun& UpdateVirtioScsiLunRequest::_Internal::lun(const UpdateVirtioScsiLunRequest* msg) { return *msg->lun_; } +const ::opi_api::common::v1::ObjectKey& +UpdateVirtioScsiLunRequest::_Internal::txn_id(const UpdateVirtioScsiLunRequest* msg) { + return *msg->txn_id_; +} +void UpdateVirtioScsiLunRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateVirtioScsiLunRequest::UpdateVirtioScsiLunRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5493,11 +5965,19 @@ UpdateVirtioScsiLunRequest::UpdateVirtioScsiLunRequest(const UpdateVirtioScsiLun } else { lun_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateVirtioScsiLunRequest) } inline void UpdateVirtioScsiLunRequest::SharedCtor() { -lun_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&lun_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&lun_)) + sizeof(txn_id_)); } UpdateVirtioScsiLunRequest::~UpdateVirtioScsiLunRequest() { @@ -5510,6 +5990,7 @@ UpdateVirtioScsiLunRequest::~UpdateVirtioScsiLunRequest() { inline void UpdateVirtioScsiLunRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete lun_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateVirtioScsiLunRequest::ArenaDtor(void* object) { @@ -5532,6 +6013,10 @@ void UpdateVirtioScsiLunRequest::Clear() { delete lun_; } lun_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -5549,6 +6034,14 @@ const char* UpdateVirtioScsiLunRequest::_InternalParse(const char* ptr, ::PROTOB } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5586,6 +6079,14 @@ uint8_t* UpdateVirtioScsiLunRequest::_InternalSerialize( 1, _Internal::lun(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5609,6 +6110,13 @@ size_t UpdateVirtioScsiLunRequest::ByteSizeLong() const { *lun_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -5634,6 +6142,9 @@ void UpdateVirtioScsiLunRequest::MergeFrom(const UpdateVirtioScsiLunRequest& fro if (from._internal_has_lun()) { _internal_mutable_lun()->::opi_api::storage::v1::VirtioScsiLun::MergeFrom(from._internal_lun()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -5651,7 +6162,12 @@ bool UpdateVirtioScsiLunRequest::IsInitialized() const { void UpdateVirtioScsiLunRequest::InternalSwap(UpdateVirtioScsiLunRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(lun_, other->lun_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateVirtioScsiLunRequest, txn_id_) + + sizeof(UpdateVirtioScsiLunRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateVirtioScsiLunRequest, lun_)>( + reinterpret_cast(&lun_), + reinterpret_cast(&other->lun_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateVirtioScsiLunRequest::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 8553e84d..7a3b91ca 100644 --- a/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h +++ b/storage/v1alpha1/gen/cpp/frontend_virtio_scsi.pb.h @@ -838,6 +838,7 @@ class CreateVirtioScsiTargetRequest final : enum : int { kTargetFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioScsiTarget target = 1; bool has_target() const; @@ -857,6 +858,24 @@ class CreateVirtioScsiTargetRequest final : ::opi_api::storage::v1::VirtioScsiTarget* target); ::opi_api::storage::v1::VirtioScsiTarget* unsafe_arena_release_target(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateVirtioScsiTargetRequest) private: class _Internal; @@ -865,6 +884,7 @@ class CreateVirtioScsiTargetRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioScsiTarget* target_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -993,6 +1013,7 @@ class DeleteVirtioScsiTargetRequest final : enum : int { kTargetIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey target_id = 1; bool has_target_id() const; @@ -1012,6 +1033,24 @@ class DeleteVirtioScsiTargetRequest final : ::opi_api::common::v1::ObjectKey* target_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_target_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteVirtioScsiTargetRequest) private: class _Internal; @@ -1020,6 +1059,7 @@ class DeleteVirtioScsiTargetRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* target_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -1148,6 +1188,7 @@ class UpdateVirtioScsiTargetRequest final : enum : int { kTargetFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioScsiTarget target = 1; bool has_target() const; @@ -1167,6 +1208,24 @@ class UpdateVirtioScsiTargetRequest final : ::opi_api::storage::v1::VirtioScsiTarget* target); ::opi_api::storage::v1::VirtioScsiTarget* unsafe_arena_release_target(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateVirtioScsiTargetRequest) private: class _Internal; @@ -1175,6 +1234,7 @@ class UpdateVirtioScsiTargetRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioScsiTarget* target_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -2117,6 +2177,7 @@ class CreateVirtioScsiControllerRequest final : enum : int { kControllerFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioScsiController controller = 1; bool has_controller() const; @@ -2136,6 +2197,24 @@ class CreateVirtioScsiControllerRequest final : ::opi_api::storage::v1::VirtioScsiController* controller); ::opi_api::storage::v1::VirtioScsiController* unsafe_arena_release_controller(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateVirtioScsiControllerRequest) private: class _Internal; @@ -2144,6 +2223,7 @@ class CreateVirtioScsiControllerRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioScsiController* controller_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -2272,6 +2352,7 @@ class DeleteVirtioScsiControllerRequest final : enum : int { kControllerIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey controller_id = 1; bool has_controller_id() const; @@ -2291,6 +2372,24 @@ class DeleteVirtioScsiControllerRequest final : ::opi_api::common::v1::ObjectKey* controller_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_controller_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteVirtioScsiControllerRequest) private: class _Internal; @@ -2299,6 +2398,7 @@ class DeleteVirtioScsiControllerRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* controller_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -2427,6 +2527,7 @@ class UpdateVirtioScsiControllerRequest final : enum : int { kControllerFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioScsiController controller = 1; bool has_controller() const; @@ -2446,6 +2547,24 @@ class UpdateVirtioScsiControllerRequest final : ::opi_api::storage::v1::VirtioScsiController* controller); ::opi_api::storage::v1::VirtioScsiController* unsafe_arena_release_controller(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateVirtioScsiControllerRequest) private: class _Internal; @@ -2454,6 +2573,7 @@ class UpdateVirtioScsiControllerRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioScsiController* controller_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -3396,6 +3516,7 @@ class CreateVirtioScsiLunRequest final : enum : int { kLunFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioScsiLun lun = 1; bool has_lun() const; @@ -3415,6 +3536,24 @@ class CreateVirtioScsiLunRequest final : ::opi_api::storage::v1::VirtioScsiLun* lun); ::opi_api::storage::v1::VirtioScsiLun* unsafe_arena_release_lun(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateVirtioScsiLunRequest) private: class _Internal; @@ -3423,6 +3562,7 @@ class CreateVirtioScsiLunRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioScsiLun* lun_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -3552,6 +3692,7 @@ class DeleteVirtioScsiLunRequest final : enum : int { kControllerIdFieldNumber = 1, kLunIdFieldNumber = 2, + kTxnIdFieldNumber = 3, }; // .opi_api.common.v1.ObjectKey controller_id = 1; bool has_controller_id() const; @@ -3589,6 +3730,24 @@ class DeleteVirtioScsiLunRequest final : ::opi_api::common::v1::ObjectKey* lun_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_lun_id(); + // .opi_api.common.v1.ObjectKey txn_id = 3; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteVirtioScsiLunRequest) private: class _Internal; @@ -3598,6 +3757,7 @@ class DeleteVirtioScsiLunRequest final : typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* controller_id_; ::opi_api::common::v1::ObjectKey* lun_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -3726,6 +3886,7 @@ class UpdateVirtioScsiLunRequest final : enum : int { kLunFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.VirtioScsiLun lun = 1; bool has_lun() const; @@ -3745,6 +3906,24 @@ class UpdateVirtioScsiLunRequest final : ::opi_api::storage::v1::VirtioScsiLun* lun); ::opi_api::storage::v1::VirtioScsiLun* unsafe_arena_release_lun(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateVirtioScsiLunRequest) private: class _Internal; @@ -3753,6 +3932,7 @@ class UpdateVirtioScsiLunRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::VirtioScsiLun* lun_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_frontend_5fvirtio_5fscsi_2eproto; }; @@ -5279,6 +5459,92 @@ inline void CreateVirtioScsiTargetRequest::set_allocated_target(::opi_api::stora // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiTargetRequest.target) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateVirtioScsiTargetRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateVirtioScsiTargetRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioScsiTargetRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioScsiTargetRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateVirtioScsiTargetRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateVirtioScsiTargetRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateVirtioScsiTargetRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiTargetRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiTargetRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateVirtioScsiTargetRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiTargetRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiTargetRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateVirtioScsiTargetRequest.txn_id) + return _msg; +} +inline void CreateVirtioScsiTargetRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiTargetRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteVirtioScsiTargetRequest @@ -5369,6 +5635,92 @@ inline void DeleteVirtioScsiTargetRequest::set_allocated_target_id(::opi_api::co // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioScsiTargetRequest.target_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteVirtioScsiTargetRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteVirtioScsiTargetRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiTargetRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiTargetRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteVirtioScsiTargetRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteVirtioScsiTargetRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteVirtioScsiTargetRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiTargetRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiTargetRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteVirtioScsiTargetRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiTargetRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiTargetRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteVirtioScsiTargetRequest.txn_id) + return _msg; +} +inline void DeleteVirtioScsiTargetRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioScsiTargetRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateVirtioScsiTargetRequest @@ -5463,6 +5815,92 @@ inline void UpdateVirtioScsiTargetRequest::set_allocated_target(::opi_api::stora // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioScsiTargetRequest.target) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateVirtioScsiTargetRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateVirtioScsiTargetRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioScsiTargetRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioScsiTargetRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateVirtioScsiTargetRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateVirtioScsiTargetRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateVirtioScsiTargetRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiTargetRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiTargetRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateVirtioScsiTargetRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiTargetRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiTargetRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateVirtioScsiTargetRequest.txn_id) + return _msg; +} +inline void UpdateVirtioScsiTargetRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioScsiTargetRequest.txn_id) +} + // ------------------------------------------------------------------- // ListVirtioScsiTargetRequest @@ -6048,6 +6486,92 @@ inline void CreateVirtioScsiControllerRequest::set_allocated_controller(::opi_ap // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiControllerRequest.controller) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateVirtioScsiControllerRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateVirtioScsiControllerRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioScsiControllerRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioScsiControllerRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateVirtioScsiControllerRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateVirtioScsiControllerRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateVirtioScsiControllerRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiControllerRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiControllerRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateVirtioScsiControllerRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiControllerRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiControllerRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateVirtioScsiControllerRequest.txn_id) + return _msg; +} +inline void CreateVirtioScsiControllerRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiControllerRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteVirtioScsiControllerRequest @@ -6138,6 +6662,92 @@ inline void DeleteVirtioScsiControllerRequest::set_allocated_controller_id(::opi // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioScsiControllerRequest.controller_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteVirtioScsiControllerRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteVirtioScsiControllerRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiControllerRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiControllerRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteVirtioScsiControllerRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteVirtioScsiControllerRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteVirtioScsiControllerRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiControllerRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiControllerRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteVirtioScsiControllerRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiControllerRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiControllerRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteVirtioScsiControllerRequest.txn_id) + return _msg; +} +inline void DeleteVirtioScsiControllerRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioScsiControllerRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateVirtioScsiControllerRequest @@ -6232,6 +6842,92 @@ inline void UpdateVirtioScsiControllerRequest::set_allocated_controller(::opi_ap // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioScsiControllerRequest.controller) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateVirtioScsiControllerRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateVirtioScsiControllerRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioScsiControllerRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioScsiControllerRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateVirtioScsiControllerRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateVirtioScsiControllerRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateVirtioScsiControllerRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiControllerRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiControllerRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateVirtioScsiControllerRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiControllerRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiControllerRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateVirtioScsiControllerRequest.txn_id) + return _msg; +} +inline void UpdateVirtioScsiControllerRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioScsiControllerRequest.txn_id) +} + // ------------------------------------------------------------------- // ListVirtioScsiControllerRequest @@ -6817,6 +7513,92 @@ inline void CreateVirtioScsiLunRequest::set_allocated_lun(::opi_api::storage::v1 // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiLunRequest.lun) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateVirtioScsiLunRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateVirtioScsiLunRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioScsiLunRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateVirtioScsiLunRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateVirtioScsiLunRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateVirtioScsiLunRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateVirtioScsiLunRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiLunRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiLunRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateVirtioScsiLunRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiLunRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateVirtioScsiLunRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateVirtioScsiLunRequest.txn_id) + return _msg; +} +inline void CreateVirtioScsiLunRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateVirtioScsiLunRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteVirtioScsiLunRequest @@ -6993,6 +7775,92 @@ inline void DeleteVirtioScsiLunRequest::set_allocated_lun_id(::opi_api::common:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioScsiLunRequest.lun_id) } +// .opi_api.common.v1.ObjectKey txn_id = 3; +inline bool DeleteVirtioScsiLunRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteVirtioScsiLunRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiLunRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteVirtioScsiLunRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteVirtioScsiLunRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteVirtioScsiLunRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteVirtioScsiLunRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiLunRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiLunRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteVirtioScsiLunRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiLunRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteVirtioScsiLunRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteVirtioScsiLunRequest.txn_id) + return _msg; +} +inline void DeleteVirtioScsiLunRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteVirtioScsiLunRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateVirtioScsiLunRequest @@ -7087,6 +7955,92 @@ inline void UpdateVirtioScsiLunRequest::set_allocated_lun(::opi_api::storage::v1 // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioScsiLunRequest.lun) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateVirtioScsiLunRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateVirtioScsiLunRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioScsiLunRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateVirtioScsiLunRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateVirtioScsiLunRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateVirtioScsiLunRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateVirtioScsiLunRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiLunRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiLunRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateVirtioScsiLunRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiLunRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateVirtioScsiLunRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateVirtioScsiLunRequest.txn_id) + return _msg; +} +inline void UpdateVirtioScsiLunRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateVirtioScsiLunRequest.txn_id) +} + // ------------------------------------------------------------------- // ListVirtioScsiLunRequest diff --git a/storage/v1alpha1/gen/cpp/middleend.pb.cc b/storage/v1alpha1/gen/cpp/middleend.pb.cc index 6914c280..ed4d057b 100644 --- a/storage/v1alpha1/gen/cpp/middleend.pb.cc +++ b/storage/v1alpha1/gen/cpp/middleend.pb.cc @@ -37,7 +37,8 @@ struct CryptoDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CryptoDefaultTypeInternal _Crypto_default_instance_; constexpr CreateCryptoRequest::CreateCryptoRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : volume_(nullptr){} + : volume_(nullptr) + , txn_id_(nullptr){} struct CreateCryptoRequestDefaultTypeInternal { constexpr CreateCryptoRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -49,7 +50,8 @@ struct CreateCryptoRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateCryptoRequestDefaultTypeInternal _CreateCryptoRequest_default_instance_; constexpr DeleteCryptoRequest::DeleteCryptoRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : crypto_id_(nullptr){} + : crypto_id_(nullptr) + , txn_id_(nullptr){} struct DeleteCryptoRequestDefaultTypeInternal { constexpr DeleteCryptoRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -61,7 +63,8 @@ struct DeleteCryptoRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteCryptoRequestDefaultTypeInternal _DeleteCryptoRequest_default_instance_; constexpr UpdateCryptoRequest::UpdateCryptoRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : volume_(nullptr){} + : volume_(nullptr) + , txn_id_(nullptr){} struct UpdateCryptoRequestDefaultTypeInternal { constexpr UpdateCryptoRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -159,6 +162,7 @@ const uint32_t TableStruct_middleend_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateCryptoRequest, volume_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateCryptoRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteCryptoRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -166,6 +170,7 @@ const uint32_t TableStruct_middleend_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteCryptoRequest, crypto_id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteCryptoRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateCryptoRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -173,6 +178,7 @@ const uint32_t TableStruct_middleend_2eproto::offsets[] PROTOBUF_SECTION_VARIABL ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateCryptoRequest, volume_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateCryptoRequest, txn_id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListCryptoRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -215,13 +221,13 @@ const uint32_t TableStruct_middleend_2eproto::offsets[] PROTOBUF_SECTION_VARIABL static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::Crypto)}, { 10, -1, -1, sizeof(::opi_api::storage::v1::CreateCryptoRequest)}, - { 17, -1, -1, sizeof(::opi_api::storage::v1::DeleteCryptoRequest)}, - { 24, -1, -1, sizeof(::opi_api::storage::v1::UpdateCryptoRequest)}, - { 31, -1, -1, sizeof(::opi_api::storage::v1::ListCryptoRequest)}, - { 39, -1, -1, sizeof(::opi_api::storage::v1::ListCryptoResponse)}, - { 47, -1, -1, sizeof(::opi_api::storage::v1::GetCryptoRequest)}, - { 54, -1, -1, sizeof(::opi_api::storage::v1::CryptoStatsRequest)}, - { 61, -1, -1, sizeof(::opi_api::storage::v1::CryptoStatsResponse)}, + { 18, -1, -1, sizeof(::opi_api::storage::v1::DeleteCryptoRequest)}, + { 26, -1, -1, sizeof(::opi_api::storage::v1::UpdateCryptoRequest)}, + { 34, -1, -1, sizeof(::opi_api::storage::v1::ListCryptoRequest)}, + { 42, -1, -1, sizeof(::opi_api::storage::v1::ListCryptoResponse)}, + { 50, -1, -1, sizeof(::opi_api::storage::v1::GetCryptoRequest)}, + { 57, -1, -1, sizeof(::opi_api::storage::v1::CryptoStatsRequest)}, + { 64, -1, -1, sizeof(::opi_api::storage::v1::CryptoStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -244,41 +250,45 @@ const char descriptor_table_protodef_middleend_2eproto[] PROTOBUF_SECTION_VARIAB "\0132\034.opi_api.common.v1.ObjectKey\022/\n\tvolum" "e_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey" "\022\013\n\003key\030\003 \001(\014\022.\n\006cipher\030\004 \001(\0162\036.opi_api." - "storage.v1.CryptoType\"A\n\023CreateCryptoReq" + "storage.v1.CryptoType\"o\n\023CreateCryptoReq" "uest\022*\n\006volume\030\001 \001(\0132\032.opi_api.storage.v" - "1.Crypto\"F\n\023DeleteCryptoRequest\022/\n\tcrypt" - "o_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" - "\"A\n\023UpdateCryptoRequest\022*\n\006volume\030\001 \001(\0132" - "\032.opi_api.storage.v1.Crypto\":\n\021ListCrypt" - "oRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_toke" - "n\030\002 \001(\t\"Z\n\022ListCryptoResponse\022+\n\007volumes" - "\030\001 \003(\0132\032.opi_api.storage.v1.Crypto\022\027\n\017ne" - "xt_page_token\030\002 \001(\t\"C\n\020GetCryptoRequest\022" - "/\n\tcrypto_id\030\001 \001(\0132\034.opi_api.common.v1.O" - "bjectKey\"E\n\022CryptoStatsRequest\022/\n\tcrypto" - "_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"" - "U\n\023CryptoStatsResponse\022/\n\tcrypto_id\030\001 \001(" - "\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005stats" - "\030\002 \001(\t2\246\005\n\020MiddleendService\022p\n\014CreateCry" - "pto\022\'.opi_api.storage.v1.CreateCryptoReq" - "uest\032\032.opi_api.storage.v1.Crypto\"\033\202\323\344\223\002\025" - "\"\013/v1/volumes:\006volume\022m\n\014DeleteCrypto\022\'." - "opi_api.storage.v1.DeleteCryptoRequest\032\026" - ".google.protobuf.Empty\"\034\202\323\344\223\002\026*\024/v1/volu" - "mes/{volume}\022p\n\014UpdateCrypto\022\'.opi_api.s" - "torage.v1.UpdateCryptoRequest\032\032.opi_api." - "storage.v1.Crypto\"\033\202\323\344\223\002\0252\013/v1/volumes:\006" - "volume\022p\n\nListCrypto\022%.opi_api.storage.v" - "1.ListCryptoRequest\032&.opi_api.storage.v1" - ".ListCryptoResponse\"\023\202\323\344\223\002\r\022\013/v1/volumes" - "\022k\n\tGetCrypto\022$.opi_api.storage.v1.GetCr" - "yptoRequest\032\032.opi_api.storage.v1.Crypto\"" - "\034\202\323\344\223\002\026\022\024/v1/volumes/{volume}\022`\n\013CryptoS" - "tats\022&.opi_api.storage.v1.CryptoStatsReq" - "uest\032\'.opi_api.storage.v1.CryptoStatsRes" - "ponse\"\000B]\n\022opi_api.storage.v1B\016Middleend" - "ProtoP\001Z5github.com/opiproject/opi-api/s" - "torage/v1alpha1/gen/gob\006proto3" + "1.Crypto\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.commo" + "n.v1.ObjectKey\"t\n\023DeleteCryptoRequest\022/\n" + "\tcrypto_id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + "ectKey\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common." + "v1.ObjectKey\"o\n\023UpdateCryptoRequest\022*\n\006v" + "olume\030\001 \001(\0132\032.opi_api.storage.v1.Crypto\022" + ",\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Obje" + "ctKey\":\n\021ListCryptoRequest\022\021\n\tpage_size\030" + "\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"Z\n\022ListCryptoR" + "esponse\022+\n\007volumes\030\001 \003(\0132\032.opi_api.stora" + "ge.v1.Crypto\022\027\n\017next_page_token\030\002 \001(\t\"C\n" + "\020GetCryptoRequest\022/\n\tcrypto_id\030\001 \001(\0132\034.o" + "pi_api.common.v1.ObjectKey\"E\n\022CryptoStat" + "sRequest\022/\n\tcrypto_id\030\001 \001(\0132\034.opi_api.co" + "mmon.v1.ObjectKey\"U\n\023CryptoStatsResponse" + "\022/\n\tcrypto_id\030\001 \001(\0132\034.opi_api.common.v1." + "ObjectKey\022\r\n\005stats\030\002 \001(\t2\246\005\n\020MiddleendSe" + "rvice\022p\n\014CreateCrypto\022\'.opi_api.storage." + "v1.CreateCryptoRequest\032\032.opi_api.storage" + ".v1.Crypto\"\033\202\323\344\223\002\025\"\013/v1/volumes:\006volume\022" + "m\n\014DeleteCrypto\022\'.opi_api.storage.v1.Del" + "eteCryptoRequest\032\026.google.protobuf.Empty" + "\"\034\202\323\344\223\002\026*\024/v1/volumes/{volume}\022p\n\014Update" + "Crypto\022\'.opi_api.storage.v1.UpdateCrypto" + "Request\032\032.opi_api.storage.v1.Crypto\"\033\202\323\344" + "\223\002\0252\013/v1/volumes:\006volume\022p\n\nListCrypto\022%" + ".opi_api.storage.v1.ListCryptoRequest\032&." + "opi_api.storage.v1.ListCryptoResponse\"\023\202" + "\323\344\223\002\r\022\013/v1/volumes\022k\n\tGetCrypto\022$.opi_ap" + "i.storage.v1.GetCryptoRequest\032\032.opi_api." + "storage.v1.Crypto\"\034\202\323\344\223\002\026\022\024/v1/volumes/{" + "volume}\022`\n\013CryptoStats\022&.opi_api.storage" + ".v1.CryptoStatsRequest\032\'.opi_api.storage" + ".v1.CryptoStatsResponse\"\000B]\n\022opi_api.sto" + "rage.v1B\016MiddleendProtoP\001Z5github.com/op" + "iproject/opi-api/storage/v1alpha1/gen/go" + "b\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_middleend_2eproto_deps[4] = { &::descriptor_table_google_2fapi_2fannotations_2eproto, @@ -288,7 +298,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, 1670, descriptor_table_protodef_middleend_2eproto, "middleend.proto", + false, false, 1808, descriptor_table_protodef_middleend_2eproto, "middleend.proto", &descriptor_table_middleend_2eproto_once, descriptor_table_middleend_2eproto_deps, 4, 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, @@ -637,12 +647,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata Crypto::GetMetadata() const { class CreateCryptoRequest::_Internal { public: static const ::opi_api::storage::v1::Crypto& volume(const CreateCryptoRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const CreateCryptoRequest* msg); }; const ::opi_api::storage::v1::Crypto& CreateCryptoRequest::_Internal::volume(const CreateCryptoRequest* msg) { return *msg->volume_; } +const ::opi_api::common::v1::ObjectKey& +CreateCryptoRequest::_Internal::txn_id(const CreateCryptoRequest* msg) { + return *msg->txn_id_; +} +void CreateCryptoRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} CreateCryptoRequest::CreateCryptoRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -660,11 +681,19 @@ CreateCryptoRequest::CreateCryptoRequest(const CreateCryptoRequest& from) } else { volume_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateCryptoRequest) } inline void CreateCryptoRequest::SharedCtor() { -volume_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&volume_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&volume_)) + sizeof(txn_id_)); } CreateCryptoRequest::~CreateCryptoRequest() { @@ -677,6 +706,7 @@ CreateCryptoRequest::~CreateCryptoRequest() { inline void CreateCryptoRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete volume_; + if (this != internal_default_instance()) delete txn_id_; } void CreateCryptoRequest::ArenaDtor(void* object) { @@ -699,6 +729,10 @@ void CreateCryptoRequest::Clear() { delete volume_; } volume_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -716,6 +750,14 @@ const char* CreateCryptoRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAME } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -753,6 +795,14 @@ uint8_t* CreateCryptoRequest::_InternalSerialize( 1, _Internal::volume(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -776,6 +826,13 @@ size_t CreateCryptoRequest::ByteSizeLong() const { *volume_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -801,6 +858,9 @@ void CreateCryptoRequest::MergeFrom(const CreateCryptoRequest& from) { if (from._internal_has_volume()) { _internal_mutable_volume()->::opi_api::storage::v1::Crypto::MergeFrom(from._internal_volume()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -818,7 +878,12 @@ bool CreateCryptoRequest::IsInitialized() const { void CreateCryptoRequest::InternalSwap(CreateCryptoRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(volume_, other->volume_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateCryptoRequest, txn_id_) + + sizeof(CreateCryptoRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(CreateCryptoRequest, volume_)>( + reinterpret_cast(&volume_), + reinterpret_cast(&other->volume_)); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateCryptoRequest::GetMetadata() const { @@ -832,18 +897,29 @@ ::PROTOBUF_NAMESPACE_ID::Metadata CreateCryptoRequest::GetMetadata() const { class DeleteCryptoRequest::_Internal { public: static const ::opi_api::common::v1::ObjectKey& crypto_id(const DeleteCryptoRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteCryptoRequest* msg); }; const ::opi_api::common::v1::ObjectKey& DeleteCryptoRequest::_Internal::crypto_id(const DeleteCryptoRequest* msg) { return *msg->crypto_id_; } +const ::opi_api::common::v1::ObjectKey& +DeleteCryptoRequest::_Internal::txn_id(const DeleteCryptoRequest* msg) { + return *msg->txn_id_; +} void DeleteCryptoRequest::clear_crypto_id() { if (GetArenaForAllocation() == nullptr && crypto_id_ != nullptr) { delete crypto_id_; } crypto_id_ = nullptr; } +void DeleteCryptoRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} DeleteCryptoRequest::DeleteCryptoRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -861,11 +937,19 @@ DeleteCryptoRequest::DeleteCryptoRequest(const DeleteCryptoRequest& from) } else { crypto_id_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteCryptoRequest) } inline void DeleteCryptoRequest::SharedCtor() { -crypto_id_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&crypto_id_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&crypto_id_)) + sizeof(txn_id_)); } DeleteCryptoRequest::~DeleteCryptoRequest() { @@ -878,6 +962,7 @@ DeleteCryptoRequest::~DeleteCryptoRequest() { inline void DeleteCryptoRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete crypto_id_; + if (this != internal_default_instance()) delete txn_id_; } void DeleteCryptoRequest::ArenaDtor(void* object) { @@ -900,6 +985,10 @@ void DeleteCryptoRequest::Clear() { delete crypto_id_; } crypto_id_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -917,6 +1006,14 @@ const char* DeleteCryptoRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAME } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -954,6 +1051,14 @@ uint8_t* DeleteCryptoRequest::_InternalSerialize( 1, _Internal::crypto_id(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -977,6 +1082,13 @@ size_t DeleteCryptoRequest::ByteSizeLong() const { *crypto_id_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1002,6 +1114,9 @@ void DeleteCryptoRequest::MergeFrom(const DeleteCryptoRequest& from) { if (from._internal_has_crypto_id()) { _internal_mutable_crypto_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_crypto_id()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1019,7 +1134,12 @@ bool DeleteCryptoRequest::IsInitialized() const { void DeleteCryptoRequest::InternalSwap(DeleteCryptoRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(crypto_id_, other->crypto_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(DeleteCryptoRequest, txn_id_) + + sizeof(DeleteCryptoRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(DeleteCryptoRequest, crypto_id_)>( + reinterpret_cast(&crypto_id_), + reinterpret_cast(&other->crypto_id_)); } ::PROTOBUF_NAMESPACE_ID::Metadata DeleteCryptoRequest::GetMetadata() const { @@ -1033,12 +1153,23 @@ ::PROTOBUF_NAMESPACE_ID::Metadata DeleteCryptoRequest::GetMetadata() const { class UpdateCryptoRequest::_Internal { public: static const ::opi_api::storage::v1::Crypto& volume(const UpdateCryptoRequest* msg); + static const ::opi_api::common::v1::ObjectKey& txn_id(const UpdateCryptoRequest* msg); }; const ::opi_api::storage::v1::Crypto& UpdateCryptoRequest::_Internal::volume(const UpdateCryptoRequest* msg) { return *msg->volume_; } +const ::opi_api::common::v1::ObjectKey& +UpdateCryptoRequest::_Internal::txn_id(const UpdateCryptoRequest* msg) { + return *msg->txn_id_; +} +void UpdateCryptoRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} UpdateCryptoRequest::UpdateCryptoRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1056,11 +1187,19 @@ UpdateCryptoRequest::UpdateCryptoRequest(const UpdateCryptoRequest& from) } else { volume_ = nullptr; } + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateCryptoRequest) } inline void UpdateCryptoRequest::SharedCtor() { -volume_ = nullptr; +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&volume_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&txn_id_) - + reinterpret_cast(&volume_)) + sizeof(txn_id_)); } UpdateCryptoRequest::~UpdateCryptoRequest() { @@ -1073,6 +1212,7 @@ UpdateCryptoRequest::~UpdateCryptoRequest() { inline void UpdateCryptoRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete volume_; + if (this != internal_default_instance()) delete txn_id_; } void UpdateCryptoRequest::ArenaDtor(void* object) { @@ -1095,6 +1235,10 @@ void UpdateCryptoRequest::Clear() { delete volume_; } volume_ = nullptr; + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1112,6 +1256,14 @@ const char* UpdateCryptoRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAME } else goto handle_unusual; continue; + // .opi_api.common.v1.ObjectKey txn_id = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1149,6 +1301,14 @@ uint8_t* UpdateCryptoRequest::_InternalSerialize( 1, _Internal::volume(this), target, stream); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 2, _Internal::txn_id(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1172,6 +1332,13 @@ size_t UpdateCryptoRequest::ByteSizeLong() const { *volume_); } + // .opi_api.common.v1.ObjectKey txn_id = 2; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -1197,6 +1364,9 @@ void UpdateCryptoRequest::MergeFrom(const UpdateCryptoRequest& from) { if (from._internal_has_volume()) { _internal_mutable_volume()->::opi_api::storage::v1::Crypto::MergeFrom(from._internal_volume()); } + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -1214,7 +1384,12 @@ bool UpdateCryptoRequest::IsInitialized() const { void UpdateCryptoRequest::InternalSwap(UpdateCryptoRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(volume_, other->volume_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(UpdateCryptoRequest, txn_id_) + + sizeof(UpdateCryptoRequest::txn_id_) + - PROTOBUF_FIELD_OFFSET(UpdateCryptoRequest, volume_)>( + reinterpret_cast(&volume_), + reinterpret_cast(&other->volume_)); } ::PROTOBUF_NAMESPACE_ID::Metadata UpdateCryptoRequest::GetMetadata() const { diff --git a/storage/v1alpha1/gen/cpp/middleend.pb.h b/storage/v1alpha1/gen/cpp/middleend.pb.h index 23994bc9..078cb4fd 100644 --- a/storage/v1alpha1/gen/cpp/middleend.pb.h +++ b/storage/v1alpha1/gen/cpp/middleend.pb.h @@ -432,6 +432,7 @@ class CreateCryptoRequest final : enum : int { kVolumeFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.Crypto volume = 1; bool has_volume() const; @@ -451,6 +452,24 @@ class CreateCryptoRequest final : ::opi_api::storage::v1::Crypto* volume); ::opi_api::storage::v1::Crypto* unsafe_arena_release_volume(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateCryptoRequest) private: class _Internal; @@ -459,6 +478,7 @@ class CreateCryptoRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::Crypto* volume_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_2eproto; }; @@ -587,6 +607,7 @@ class DeleteCryptoRequest final : enum : int { kCryptoIdFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.common.v1.ObjectKey crypto_id = 1; bool has_crypto_id() const; @@ -606,6 +627,24 @@ class DeleteCryptoRequest final : ::opi_api::common::v1::ObjectKey* crypto_id); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_crypto_id(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteCryptoRequest) private: class _Internal; @@ -614,6 +653,7 @@ class DeleteCryptoRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::common::v1::ObjectKey* crypto_id_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_2eproto; }; @@ -742,6 +782,7 @@ class UpdateCryptoRequest final : enum : int { kVolumeFieldNumber = 1, + kTxnIdFieldNumber = 2, }; // .opi_api.storage.v1.Crypto volume = 1; bool has_volume() const; @@ -761,6 +802,24 @@ class UpdateCryptoRequest final : ::opi_api::storage::v1::Crypto* volume); ::opi_api::storage::v1::Crypto* unsafe_arena_release_volume(); + // .opi_api.common.v1.ObjectKey txn_id = 2; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateCryptoRequest) private: class _Internal; @@ -769,6 +828,7 @@ class UpdateCryptoRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::opi_api::storage::v1::Crypto* volume_; + ::opi_api::common::v1::ObjectKey* txn_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_middleend_2eproto; }; @@ -1934,6 +1994,92 @@ inline void CreateCryptoRequest::set_allocated_volume(::opi_api::storage::v1::Cr // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateCryptoRequest.volume) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool CreateCryptoRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool CreateCryptoRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& CreateCryptoRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& CreateCryptoRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateCryptoRequest.txn_id) + return _internal_txn_id(); +} +inline void CreateCryptoRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateCryptoRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* CreateCryptoRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateCryptoRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateCryptoRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* CreateCryptoRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* CreateCryptoRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateCryptoRequest.txn_id) + return _msg; +} +inline void CreateCryptoRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateCryptoRequest.txn_id) +} + // ------------------------------------------------------------------- // DeleteCryptoRequest @@ -2024,6 +2170,92 @@ inline void DeleteCryptoRequest::set_allocated_crypto_id(::opi_api::common::v1:: // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteCryptoRequest.crypto_id) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool DeleteCryptoRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteCryptoRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteCryptoRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteCryptoRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteCryptoRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteCryptoRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteCryptoRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteCryptoRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteCryptoRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteCryptoRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteCryptoRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteCryptoRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteCryptoRequest.txn_id) + return _msg; +} +inline void DeleteCryptoRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteCryptoRequest.txn_id) +} + // ------------------------------------------------------------------- // UpdateCryptoRequest @@ -2118,6 +2350,92 @@ inline void UpdateCryptoRequest::set_allocated_volume(::opi_api::storage::v1::Cr // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateCryptoRequest.volume) } +// .opi_api.common.v1.ObjectKey txn_id = 2; +inline bool UpdateCryptoRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool UpdateCryptoRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateCryptoRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& UpdateCryptoRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateCryptoRequest.txn_id) + return _internal_txn_id(); +} +inline void UpdateCryptoRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateCryptoRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* UpdateCryptoRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateCryptoRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateCryptoRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* UpdateCryptoRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* UpdateCryptoRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateCryptoRequest.txn_id) + return _msg; +} +inline void UpdateCryptoRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateCryptoRequest.txn_id) +} + // ------------------------------------------------------------------- // ListCryptoRequest diff --git a/storage/v1alpha1/gen/cpp/transactions.grpc.pb.cc b/storage/v1alpha1/gen/cpp/transactions.grpc.pb.cc new file mode 100644 index 00000000..036123a9 --- /dev/null +++ b/storage/v1alpha1/gen/cpp/transactions.grpc.pb.cc @@ -0,0 +1,174 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: transactions.proto + +#include "transactions.pb.h" +#include "transactions.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace opi_api { +namespace storage { +namespace v1 { + +static const char* TransactionService_method_names[] = { + "/opi_api.storage.v1.TransactionService/CreateTransaction", + "/opi_api.storage.v1.TransactionService/DeleteTransaction", + "/opi_api.storage.v1.TransactionService/ExecuteTransaction", +}; + +std::unique_ptr< TransactionService::Stub> TransactionService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< TransactionService::Stub> stub(new TransactionService::Stub(channel, options)); + return stub; +} + +TransactionService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) + : channel_(channel), rpcmethod_CreateTransaction_(TransactionService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteTransaction_(TransactionService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ExecuteTransaction_(TransactionService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status TransactionService::Stub::CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::opi_api::storage::v1::Transaction* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CreateTransaction_, context, request, response); +} + +void TransactionService::Stub::async::CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateTransaction_, context, request, response, std::move(f)); +} + +void TransactionService::Stub::async::CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateTransaction_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>* TransactionService::Stub::PrepareAsyncCreateTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::Transaction, ::opi_api::storage::v1::CreateTransactionRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CreateTransaction_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>* TransactionService::Stub::AsyncCreateTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncCreateTransactionRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status TransactionService::Stub::DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteTransaction_, context, request, response); +} + +void TransactionService::Stub::async::DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteTransaction_, context, request, response, std::move(f)); +} + +void TransactionService::Stub::async::DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteTransaction_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* TransactionService::Stub::PrepareAsyncDeleteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::DeleteTransactionRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteTransaction_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* TransactionService::Stub::AsyncDeleteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncDeleteTransactionRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status TransactionService::Stub::ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ExecuteTransaction_, context, request, response); +} + +void TransactionService::Stub::async::ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ExecuteTransaction_, context, request, response, std::move(f)); +} + +void TransactionService::Stub::async::ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ExecuteTransaction_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* TransactionService::Stub::PrepareAsyncExecuteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::ExecuteTransactionRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ExecuteTransaction_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* TransactionService::Stub::AsyncExecuteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncExecuteTransactionRaw(context, request, cq); + result->StartCall(); + return result; +} + +TransactionService::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + TransactionService_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< TransactionService::Service, ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](TransactionService::Service* service, + ::grpc::ServerContext* ctx, + const ::opi_api::storage::v1::CreateTransactionRequest* req, + ::opi_api::storage::v1::Transaction* resp) { + return service->CreateTransaction(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + TransactionService_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< TransactionService::Service, ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](TransactionService::Service* service, + ::grpc::ServerContext* ctx, + const ::opi_api::storage::v1::DeleteTransactionRequest* req, + ::google::protobuf::Empty* resp) { + return service->DeleteTransaction(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + TransactionService_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< TransactionService::Service, ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](TransactionService::Service* service, + ::grpc::ServerContext* ctx, + const ::opi_api::storage::v1::ExecuteTransactionRequest* req, + ::google::protobuf::Empty* resp) { + return service->ExecuteTransaction(ctx, req, resp); + }, this))); +} + +TransactionService::Service::~Service() { +} + +::grpc::Status TransactionService::Service::CreateTransaction(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status TransactionService::Service::DeleteTransaction(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status TransactionService::Service::ExecuteTransaction(::grpc::ServerContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace opi_api +} // namespace storage +} // namespace v1 + diff --git a/storage/v1alpha1/gen/cpp/transactions.grpc.pb.h b/storage/v1alpha1/gen/cpp/transactions.grpc.pb.h new file mode 100644 index 00000000..9401ae62 --- /dev/null +++ b/storage/v1alpha1/gen/cpp/transactions.grpc.pb.h @@ -0,0 +1,562 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: transactions.proto +// Original file comments: +// SPDX-License-Identifier: Apache-2.0 +// Copyright (c) 2022 Intel Corporation +// +#ifndef GRPC_transactions_2eproto__INCLUDED +#define GRPC_transactions_2eproto__INCLUDED + +#include "transactions.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace opi_api { +namespace storage { +namespace v1 { + +class TransactionService final { + public: + static constexpr char const* service_full_name() { + return "opi_api.storage.v1.TransactionService"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::opi_api::storage::v1::Transaction* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::Transaction>> AsyncCreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::Transaction>>(AsyncCreateTransactionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::Transaction>> PrepareAsyncCreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::Transaction>>(PrepareAsyncCreateTransactionRaw(context, request, cq)); + } + virtual ::grpc::Status DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncDeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncDeleteTransactionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncDeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncDeleteTransactionRaw(context, request, cq)); + } + virtual ::grpc::Status ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncExecuteTransactionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncExecuteTransactionRaw(context, request, cq)); + } + class async_interface { + public: + virtual ~async_interface() {} + virtual void CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response, std::function) = 0; + virtual void CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + }; + typedef class async_interface experimental_async_interface; + virtual class async_interface* async() { return nullptr; } + class async_interface* experimental_async() { return async(); } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::Transaction>* AsyncCreateTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::Transaction>* PrepareAsyncCreateTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncDeleteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncExecuteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncExecuteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + ::grpc::Status CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::opi_api::storage::v1::Transaction* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>> AsyncCreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>>(AsyncCreateTransactionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>> PrepareAsyncCreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>>(PrepareAsyncCreateTransactionRaw(context, request, cq)); + } + ::grpc::Status DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncDeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncDeleteTransactionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncDeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncDeleteTransactionRaw(context, request, cq)); + } + ::grpc::Status ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncExecuteTransactionRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncExecuteTransactionRaw(context, request, cq)); + } + class async final : + public StubInterface::async_interface { + public: + void CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response, std::function) override; + void CreateTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response, std::function) override; + void DeleteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + void ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response, std::function) override; + void ExecuteTransaction(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class async* async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>* AsyncCreateTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::Transaction>* PrepareAsyncCreateTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateTransactionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncDeleteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncExecuteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncExecuteTransactionRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_CreateTransaction_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteTransaction_; + const ::grpc::internal::RpcMethod rpcmethod_ExecuteTransaction_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + virtual ::grpc::Status CreateTransaction(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response); + virtual ::grpc::Status DeleteTransaction(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response); + virtual ::grpc::Status ExecuteTransaction(::grpc::ServerContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response); + }; + template + class WithAsyncMethod_CreateTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_CreateTransaction() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_CreateTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTransaction(::grpc::ServerContext* context, ::opi_api::storage::v1::CreateTransactionRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::Transaction>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_DeleteTransaction() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_DeleteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTransaction(::grpc::ServerContext* context, ::opi_api::storage::v1::DeleteTransactionRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_ExecuteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_ExecuteTransaction() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_ExecuteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ExecuteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestExecuteTransaction(::grpc::ServerContext* context, ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_CreateTransaction > > AsyncService; + template + class WithCallbackMethod_CreateTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_CreateTransaction() { + ::grpc::Service::MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction>( + [this]( + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::CreateTransactionRequest* request, ::opi_api::storage::v1::Transaction* response) { return this->CreateTransaction(context, request, response); }));} + void SetMessageAllocatorFor_CreateTransaction( + ::grpc::MessageAllocator< ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_CreateTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* CreateTransaction( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_DeleteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_DeleteTransaction() { + ::grpc::Service::MarkMethodCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty>( + [this]( + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::DeleteTransactionRequest* request, ::google::protobuf::Empty* response) { return this->DeleteTransaction(context, request, response); }));} + void SetMessageAllocatorFor_DeleteTransaction( + ::grpc::MessageAllocator< ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_DeleteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteTransaction( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_ExecuteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_ExecuteTransaction() { + ::grpc::Service::MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty>( + [this]( + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::ExecuteTransactionRequest* request, ::google::protobuf::Empty* response) { return this->ExecuteTransaction(context, request, response); }));} + void SetMessageAllocatorFor_ExecuteTransaction( + ::grpc::MessageAllocator< ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_ExecuteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ExecuteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* ExecuteTransaction( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } + }; + typedef WithCallbackMethod_CreateTransaction > > CallbackService; + typedef CallbackService ExperimentalCallbackService; + template + class WithGenericMethod_CreateTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_CreateTransaction() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_CreateTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_DeleteTransaction() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_DeleteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_ExecuteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_ExecuteTransaction() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_ExecuteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ExecuteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_CreateTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_CreateTransaction() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_CreateTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTransaction(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_DeleteTransaction() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_DeleteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTransaction(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_ExecuteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_ExecuteTransaction() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_ExecuteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ExecuteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestExecuteTransaction(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawCallbackMethod_CreateTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_CreateTransaction() { + ::grpc::Service::MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateTransaction(context, request, response); })); + } + ~WithRawCallbackMethod_CreateTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* CreateTransaction( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_DeleteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_DeleteTransaction() { + ::grpc::Service::MarkMethodRawCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteTransaction(context, request, response); })); + } + ~WithRawCallbackMethod_DeleteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* DeleteTransaction( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_ExecuteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_ExecuteTransaction() { + ::grpc::Service::MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ExecuteTransaction(context, request, response); })); + } + ~WithRawCallbackMethod_ExecuteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ExecuteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* ExecuteTransaction( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithStreamedUnaryMethod_CreateTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_CreateTransaction() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< + ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::opi_api::storage::v1::CreateTransactionRequest, ::opi_api::storage::v1::Transaction>* streamer) { + return this->StreamedCreateTransaction(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_CreateTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreateTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateTransactionRequest* /*request*/, ::opi_api::storage::v1::Transaction* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreateTransaction(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::CreateTransactionRequest,::opi_api::storage::v1::Transaction>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_DeleteTransaction() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< + ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::opi_api::storage::v1::DeleteTransactionRequest, ::google::protobuf::Empty>* streamer) { + return this->StreamedDeleteTransaction(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_DeleteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteTransaction(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::DeleteTransactionRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_ExecuteTransaction : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_ExecuteTransaction() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< + ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::opi_api::storage::v1::ExecuteTransactionRequest, ::google::protobuf::Empty>* streamer) { + return this->StreamedExecuteTransaction(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_ExecuteTransaction() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status ExecuteTransaction(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ExecuteTransactionRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedExecuteTransaction(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::ExecuteTransactionRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateTransaction > > StreamedUnaryService; + typedef Service SplitStreamedService; + typedef WithStreamedUnaryMethod_CreateTransaction > > StreamedService; +}; + +} // namespace v1 +} // namespace storage +} // namespace opi_api + + +#endif // GRPC_transactions_2eproto__INCLUDED diff --git a/storage/v1alpha1/gen/cpp/transactions.pb.cc b/storage/v1alpha1/gen/cpp/transactions.pb.cc new file mode 100644 index 00000000..77152683 --- /dev/null +++ b/storage/v1alpha1/gen/cpp/transactions.pb.cc @@ -0,0 +1,828 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +#include "transactions.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +PROTOBUF_PRAGMA_INIT_SEG +namespace opi_api { +namespace storage { +namespace v1 { +constexpr Transaction::Transaction( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : txn_id_(nullptr){} +struct TransactionDefaultTypeInternal { + constexpr TransactionDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~TransactionDefaultTypeInternal() {} + union { + Transaction _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT TransactionDefaultTypeInternal _Transaction_default_instance_; +constexpr CreateTransactionRequest::CreateTransactionRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct CreateTransactionRequestDefaultTypeInternal { + constexpr CreateTransactionRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CreateTransactionRequestDefaultTypeInternal() {} + union { + CreateTransactionRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateTransactionRequestDefaultTypeInternal _CreateTransactionRequest_default_instance_; +constexpr DeleteTransactionRequest::DeleteTransactionRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : txn_id_(nullptr){} +struct DeleteTransactionRequestDefaultTypeInternal { + constexpr DeleteTransactionRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DeleteTransactionRequestDefaultTypeInternal() {} + union { + DeleteTransactionRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteTransactionRequestDefaultTypeInternal _DeleteTransactionRequest_default_instance_; +constexpr ExecuteTransactionRequest::ExecuteTransactionRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : txn_id_(nullptr){} +struct ExecuteTransactionRequestDefaultTypeInternal { + constexpr ExecuteTransactionRequestDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ExecuteTransactionRequestDefaultTypeInternal() {} + union { + ExecuteTransactionRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ExecuteTransactionRequestDefaultTypeInternal _ExecuteTransactionRequest_default_instance_; +} // namespace v1 +} // namespace storage +} // namespace opi_api +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_transactions_2eproto[4]; +static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_transactions_2eproto = nullptr; +static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_transactions_2eproto = nullptr; + +const uint32_t TableStruct_transactions_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::Transaction, _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::Transaction, txn_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateTransactionRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteTransactionRequest, _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::DeleteTransactionRequest, txn_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ExecuteTransactionRequest, _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::ExecuteTransactionRequest, txn_id_), +}; +static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, -1, sizeof(::opi_api::storage::v1::Transaction)}, + { 7, -1, -1, sizeof(::opi_api::storage::v1::CreateTransactionRequest)}, + { 13, -1, -1, sizeof(::opi_api::storage::v1::DeleteTransactionRequest)}, + { 20, -1, -1, sizeof(::opi_api::storage::v1::ExecuteTransactionRequest)}, +}; + +static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { + reinterpret_cast(&::opi_api::storage::v1::_Transaction_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_CreateTransactionRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_DeleteTransactionRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ExecuteTransactionRequest_default_instance_), +}; + +const char descriptor_table_protodef_transactions_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\022transactions.proto\022\022opi_api.storage.v1" + "\032\020object_key.proto\032\033google/protobuf/empt" + "y.proto\032\034google/api/annotations.proto\";\n" + "\013Transaction\022,\n\006txn_id\030\001 \001(\0132\034.opi_api.c" + "ommon.v1.ObjectKey\"\032\n\030CreateTransactionR" + "equest\"H\n\030DeleteTransactionRequest\022,\n\006tx" + "n_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" + "\"I\n\031ExecuteTransactionRequest\022,\n\006txn_id\030" + "\001 \001(\0132\034.opi_api.common.v1.ObjectKey2\250\003\n\022" + "TransactionService\022\211\001\n\021CreateTransaction" + "\022,.opi_api.storage.v1.CreateTransactionR" + "equest\032\037.opi_api.storage.v1.Transaction\"" + "%\202\323\344\223\002\037\"\020/v1/transactions:\013transaction\022\200" + "\001\n\021DeleteTransaction\022,.opi_api.storage.v" + "1.DeleteTransactionRequest\032\026.google.prot" + "obuf.Empty\"%\202\323\344\223\002\037\"\020/v1/transactions:\013tr" + "ansaction\022\202\001\n\022ExecuteTransaction\022-.opi_a" + "pi.storage.v1.ExecuteTransactionRequest\032" + "\026.google.protobuf.Empty\"%\202\323\344\223\002\037\"\020/v1/tra" + "nsactions:\013transactionB`\n\022opi_api.storag" + "e.v1B\021TransactionsProtoP\001Z5github.com/op" + "iproject/opi-api/storage/v1alpha1/gen/go" + "b\006proto3" + ; +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_transactions_2eproto_deps[3] = { + &::descriptor_table_google_2fapi_2fannotations_2eproto, + &::descriptor_table_google_2fprotobuf_2fempty_2eproto, + &::descriptor_table_object_5fkey_2eproto, +}; +static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_transactions_2eproto_once; +const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_transactions_2eproto = { + false, false, 888, descriptor_table_protodef_transactions_2eproto, "transactions.proto", + &descriptor_table_transactions_2eproto_once, descriptor_table_transactions_2eproto_deps, 3, 4, + schemas, file_default_instances, TableStruct_transactions_2eproto::offsets, + file_level_metadata_transactions_2eproto, file_level_enum_descriptors_transactions_2eproto, file_level_service_descriptors_transactions_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_transactions_2eproto_getter() { + return &descriptor_table_transactions_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_transactions_2eproto(&descriptor_table_transactions_2eproto); +namespace opi_api { +namespace storage { +namespace v1 { + +// =================================================================== + +class Transaction::_Internal { + public: + static const ::opi_api::common::v1::ObjectKey& txn_id(const Transaction* msg); +}; + +const ::opi_api::common::v1::ObjectKey& +Transaction::_Internal::txn_id(const Transaction* msg) { + return *msg->txn_id_; +} +void Transaction::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} +Transaction::Transaction(::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.Transaction) +} +Transaction::Transaction(const Transaction& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.Transaction) +} + +inline void Transaction::SharedCtor() { +txn_id_ = nullptr; +} + +Transaction::~Transaction() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.Transaction) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void Transaction::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete txn_id_; +} + +void Transaction::ArenaDtor(void* object) { + Transaction* _this = reinterpret_cast< Transaction* >(object); + (void)_this; +} +void Transaction::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void Transaction::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void Transaction::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.Transaction) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Transaction::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .opi_api.common.v1.ObjectKey txn_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), 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* Transaction::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.Transaction) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .opi_api.common.v1.ObjectKey txn_id = 1; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::txn_id(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.Transaction) + return target; +} + +size_t Transaction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.Transaction) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .opi_api.common.v1.ObjectKey txn_id = 1; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Transaction::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + Transaction::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Transaction::GetClassData() const { return &_class_data_; } + +void Transaction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void Transaction::MergeFrom(const Transaction& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.Transaction) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Transaction::CopyFrom(const Transaction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.Transaction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Transaction::IsInitialized() const { + return true; +} + +void Transaction::InternalSwap(Transaction* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(txn_id_, other->txn_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Transaction::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_transactions_2eproto_getter, &descriptor_table_transactions_2eproto_once, + file_level_metadata_transactions_2eproto[0]); +} + +// =================================================================== + +class CreateTransactionRequest::_Internal { + public: +}; + +CreateTransactionRequest::CreateTransactionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.CreateTransactionRequest) +} +CreateTransactionRequest::CreateTransactionRequest(const CreateTransactionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateTransactionRequest) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateTransactionRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateTransactionRequest::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CreateTransactionRequest::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_transactions_2eproto_getter, &descriptor_table_transactions_2eproto_once, + file_level_metadata_transactions_2eproto[1]); +} + +// =================================================================== + +class DeleteTransactionRequest::_Internal { + public: + static const ::opi_api::common::v1::ObjectKey& txn_id(const DeleteTransactionRequest* msg); +}; + +const ::opi_api::common::v1::ObjectKey& +DeleteTransactionRequest::_Internal::txn_id(const DeleteTransactionRequest* msg) { + return *msg->txn_id_; +} +void DeleteTransactionRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} +DeleteTransactionRequest::DeleteTransactionRequest(::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.DeleteTransactionRequest) +} +DeleteTransactionRequest::DeleteTransactionRequest(const DeleteTransactionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteTransactionRequest) +} + +inline void DeleteTransactionRequest::SharedCtor() { +txn_id_ = nullptr; +} + +DeleteTransactionRequest::~DeleteTransactionRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.DeleteTransactionRequest) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void DeleteTransactionRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete txn_id_; +} + +void DeleteTransactionRequest::ArenaDtor(void* object) { + DeleteTransactionRequest* _this = reinterpret_cast< DeleteTransactionRequest* >(object); + (void)_this; +} +void DeleteTransactionRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void DeleteTransactionRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void DeleteTransactionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.DeleteTransactionRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* DeleteTransactionRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .opi_api.common.v1.ObjectKey txn_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), 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* DeleteTransactionRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.DeleteTransactionRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .opi_api.common.v1.ObjectKey txn_id = 1; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::txn_id(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.DeleteTransactionRequest) + return target; +} + +size_t DeleteTransactionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.DeleteTransactionRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .opi_api.common.v1.ObjectKey txn_id = 1; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteTransactionRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + DeleteTransactionRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteTransactionRequest::GetClassData() const { return &_class_data_; } + +void DeleteTransactionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void DeleteTransactionRequest::MergeFrom(const DeleteTransactionRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.DeleteTransactionRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void DeleteTransactionRequest::CopyFrom(const DeleteTransactionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.DeleteTransactionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteTransactionRequest::IsInitialized() const { + return true; +} + +void DeleteTransactionRequest::InternalSwap(DeleteTransactionRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(txn_id_, other->txn_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DeleteTransactionRequest::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_transactions_2eproto_getter, &descriptor_table_transactions_2eproto_once, + file_level_metadata_transactions_2eproto[2]); +} + +// =================================================================== + +class ExecuteTransactionRequest::_Internal { + public: + static const ::opi_api::common::v1::ObjectKey& txn_id(const ExecuteTransactionRequest* msg); +}; + +const ::opi_api::common::v1::ObjectKey& +ExecuteTransactionRequest::_Internal::txn_id(const ExecuteTransactionRequest* msg) { + return *msg->txn_id_; +} +void ExecuteTransactionRequest::clear_txn_id() { + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; +} +ExecuteTransactionRequest::ExecuteTransactionRequest(::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.ExecuteTransactionRequest) +} +ExecuteTransactionRequest::ExecuteTransactionRequest(const ExecuteTransactionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_txn_id()) { + txn_id_ = new ::opi_api::common::v1::ObjectKey(*from.txn_id_); + } else { + txn_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ExecuteTransactionRequest) +} + +inline void ExecuteTransactionRequest::SharedCtor() { +txn_id_ = nullptr; +} + +ExecuteTransactionRequest::~ExecuteTransactionRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ExecuteTransactionRequest) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +inline void ExecuteTransactionRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete txn_id_; +} + +void ExecuteTransactionRequest::ArenaDtor(void* object) { + ExecuteTransactionRequest* _this = reinterpret_cast< ExecuteTransactionRequest* >(object); + (void)_this; +} +void ExecuteTransactionRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void ExecuteTransactionRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ExecuteTransactionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ExecuteTransactionRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && txn_id_ != nullptr) { + delete txn_id_; + } + txn_id_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ExecuteTransactionRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .opi_api.common.v1.ObjectKey txn_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_txn_id(), 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* ExecuteTransactionRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ExecuteTransactionRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .opi_api.common.v1.ObjectKey txn_id = 1; + if (this->_internal_has_txn_id()) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::txn_id(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ExecuteTransactionRequest) + return target; +} + +size_t ExecuteTransactionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ExecuteTransactionRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .opi_api.common.v1.ObjectKey txn_id = 1; + if (this->_internal_has_txn_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *txn_id_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExecuteTransactionRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ExecuteTransactionRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExecuteTransactionRequest::GetClassData() const { return &_class_data_; } + +void ExecuteTransactionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} + + +void ExecuteTransactionRequest::MergeFrom(const ExecuteTransactionRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ExecuteTransactionRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_txn_id()) { + _internal_mutable_txn_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_txn_id()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ExecuteTransactionRequest::CopyFrom(const ExecuteTransactionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ExecuteTransactionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ExecuteTransactionRequest::IsInitialized() const { + return true; +} + +void ExecuteTransactionRequest::InternalSwap(ExecuteTransactionRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(txn_id_, other->txn_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ExecuteTransactionRequest::GetMetadata() const { + return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( + &descriptor_table_transactions_2eproto_getter, &descriptor_table_transactions_2eproto_once, + file_level_metadata_transactions_2eproto[3]); +} + +// @@protoc_insertion_point(namespace_scope) +} // namespace v1 +} // namespace storage +} // namespace opi_api +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::Transaction* Arena::CreateMaybeMessage< ::opi_api::storage::v1::Transaction >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::Transaction >(arena); +} +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateTransactionRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateTransactionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateTransactionRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::DeleteTransactionRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::DeleteTransactionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::DeleteTransactionRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ExecuteTransactionRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ExecuteTransactionRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ExecuteTransactionRequest >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/storage/v1alpha1/gen/cpp/transactions.pb.h b/storage/v1alpha1/gen/cpp/transactions.pb.h new file mode 100644 index 00000000..cabbc863 --- /dev/null +++ b/storage/v1alpha1/gen/cpp/transactions.pb.h @@ -0,0 +1,971 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_transactions_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_transactions_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3019000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3019004 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "object_key.pb.h" +#include +#include "google/api/annotations.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_transactions_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_transactions_2eproto { + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] + 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[4] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; + static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_transactions_2eproto; +namespace opi_api { +namespace storage { +namespace v1 { +class CreateTransactionRequest; +struct CreateTransactionRequestDefaultTypeInternal; +extern CreateTransactionRequestDefaultTypeInternal _CreateTransactionRequest_default_instance_; +class DeleteTransactionRequest; +struct DeleteTransactionRequestDefaultTypeInternal; +extern DeleteTransactionRequestDefaultTypeInternal _DeleteTransactionRequest_default_instance_; +class ExecuteTransactionRequest; +struct ExecuteTransactionRequestDefaultTypeInternal; +extern ExecuteTransactionRequestDefaultTypeInternal _ExecuteTransactionRequest_default_instance_; +class Transaction; +struct TransactionDefaultTypeInternal; +extern TransactionDefaultTypeInternal _Transaction_default_instance_; +} // namespace v1 +} // namespace storage +} // namespace opi_api +PROTOBUF_NAMESPACE_OPEN +template<> ::opi_api::storage::v1::CreateTransactionRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::CreateTransactionRequest>(Arena*); +template<> ::opi_api::storage::v1::DeleteTransactionRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::DeleteTransactionRequest>(Arena*); +template<> ::opi_api::storage::v1::ExecuteTransactionRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ExecuteTransactionRequest>(Arena*); +template<> ::opi_api::storage::v1::Transaction* Arena::CreateMaybeMessage<::opi_api::storage::v1::Transaction>(Arena*); +PROTOBUF_NAMESPACE_CLOSE +namespace opi_api { +namespace storage { +namespace v1 { + +// =================================================================== + +class Transaction final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.Transaction) */ { + public: + inline Transaction() : Transaction(nullptr) {} + ~Transaction() override; + explicit constexpr Transaction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Transaction(const Transaction& from); + Transaction(Transaction&& from) noexcept + : Transaction() { + *this = ::std::move(from); + } + + inline Transaction& operator=(const Transaction& from) { + CopyFrom(from); + return *this; + } + inline Transaction& operator=(Transaction&& 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 Transaction& default_instance() { + return *internal_default_instance(); + } + static inline const Transaction* internal_default_instance() { + return reinterpret_cast( + &_Transaction_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(Transaction& a, Transaction& b) { + a.Swap(&b); + } + inline void Swap(Transaction* 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(Transaction* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Transaction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Transaction& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const Transaction& 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(Transaction* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "opi_api.storage.v1.Transaction"; + } + protected: + explicit Transaction(::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 { + kTxnIdFieldNumber = 1, + }; + // .opi_api.common.v1.ObjectKey txn_id = 1; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.Transaction) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::opi_api::common::v1::ObjectKey* txn_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_transactions_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateTransactionRequest final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.CreateTransactionRequest) */ { + public: + inline CreateTransactionRequest() : CreateTransactionRequest(nullptr) {} + explicit constexpr CreateTransactionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CreateTransactionRequest(const CreateTransactionRequest& from); + CreateTransactionRequest(CreateTransactionRequest&& from) noexcept + : CreateTransactionRequest() { + *this = ::std::move(from); + } + + inline CreateTransactionRequest& operator=(const CreateTransactionRequest& from) { + CopyFrom(from); + return *this; + } + inline CreateTransactionRequest& operator=(CreateTransactionRequest&& 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 CreateTransactionRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CreateTransactionRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateTransactionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(CreateTransactionRequest& a, CreateTransactionRequest& b) { + a.Swap(&b); + } + inline void Swap(CreateTransactionRequest* 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(CreateTransactionRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CreateTransactionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CreateTransactionRequest& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CreateTransactionRequest& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "opi_api.storage.v1.CreateTransactionRequest"; + } + protected: + explicit CreateTransactionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateTransactionRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_transactions_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteTransactionRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.DeleteTransactionRequest) */ { + public: + inline DeleteTransactionRequest() : DeleteTransactionRequest(nullptr) {} + ~DeleteTransactionRequest() override; + explicit constexpr DeleteTransactionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + DeleteTransactionRequest(const DeleteTransactionRequest& from); + DeleteTransactionRequest(DeleteTransactionRequest&& from) noexcept + : DeleteTransactionRequest() { + *this = ::std::move(from); + } + + inline DeleteTransactionRequest& operator=(const DeleteTransactionRequest& from) { + CopyFrom(from); + return *this; + } + inline DeleteTransactionRequest& operator=(DeleteTransactionRequest&& 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 DeleteTransactionRequest& default_instance() { + return *internal_default_instance(); + } + static inline const DeleteTransactionRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteTransactionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(DeleteTransactionRequest& a, DeleteTransactionRequest& b) { + a.Swap(&b); + } + inline void Swap(DeleteTransactionRequest* 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(DeleteTransactionRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DeleteTransactionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DeleteTransactionRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const DeleteTransactionRequest& 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(DeleteTransactionRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "opi_api.storage.v1.DeleteTransactionRequest"; + } + protected: + explicit DeleteTransactionRequest(::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 { + kTxnIdFieldNumber = 1, + }; + // .opi_api.common.v1.ObjectKey txn_id = 1; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteTransactionRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::opi_api::common::v1::ObjectKey* txn_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_transactions_2eproto; +}; +// ------------------------------------------------------------------- + +class ExecuteTransactionRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ExecuteTransactionRequest) */ { + public: + inline ExecuteTransactionRequest() : ExecuteTransactionRequest(nullptr) {} + ~ExecuteTransactionRequest() override; + explicit constexpr ExecuteTransactionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ExecuteTransactionRequest(const ExecuteTransactionRequest& from); + ExecuteTransactionRequest(ExecuteTransactionRequest&& from) noexcept + : ExecuteTransactionRequest() { + *this = ::std::move(from); + } + + inline ExecuteTransactionRequest& operator=(const ExecuteTransactionRequest& from) { + CopyFrom(from); + return *this; + } + inline ExecuteTransactionRequest& operator=(ExecuteTransactionRequest&& 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 ExecuteTransactionRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ExecuteTransactionRequest* internal_default_instance() { + return reinterpret_cast( + &_ExecuteTransactionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(ExecuteTransactionRequest& a, ExecuteTransactionRequest& b) { + a.Swap(&b); + } + inline void Swap(ExecuteTransactionRequest* 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(ExecuteTransactionRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ExecuteTransactionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ExecuteTransactionRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ExecuteTransactionRequest& 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(ExecuteTransactionRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "opi_api.storage.v1.ExecuteTransactionRequest"; + } + protected: + explicit ExecuteTransactionRequest(::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 { + kTxnIdFieldNumber = 1, + }; + // .opi_api.common.v1.ObjectKey txn_id = 1; + bool has_txn_id() const; + private: + bool _internal_has_txn_id() const; + public: + void clear_txn_id(); + const ::opi_api::common::v1::ObjectKey& txn_id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_txn_id(); + ::opi_api::common::v1::ObjectKey* mutable_txn_id(); + void set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_txn_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_txn_id(); + public: + void unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_txn_id(); + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ExecuteTransactionRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::opi_api::common::v1::ObjectKey* txn_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_transactions_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Transaction + +// .opi_api.common.v1.ObjectKey txn_id = 1; +inline bool Transaction::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool Transaction::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& Transaction::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& Transaction::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.Transaction.txn_id) + return _internal_txn_id(); +} +inline void Transaction::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.Transaction.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* Transaction::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* Transaction::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.Transaction.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* Transaction::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* Transaction::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.Transaction.txn_id) + return _msg; +} +inline void Transaction::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.Transaction.txn_id) +} + +// ------------------------------------------------------------------- + +// CreateTransactionRequest + +// ------------------------------------------------------------------- + +// DeleteTransactionRequest + +// .opi_api.common.v1.ObjectKey txn_id = 1; +inline bool DeleteTransactionRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool DeleteTransactionRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteTransactionRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& DeleteTransactionRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteTransactionRequest.txn_id) + return _internal_txn_id(); +} +inline void DeleteTransactionRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteTransactionRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* DeleteTransactionRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteTransactionRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteTransactionRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* DeleteTransactionRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* DeleteTransactionRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteTransactionRequest.txn_id) + return _msg; +} +inline void DeleteTransactionRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteTransactionRequest.txn_id) +} + +// ------------------------------------------------------------------- + +// ExecuteTransactionRequest + +// .opi_api.common.v1.ObjectKey txn_id = 1; +inline bool ExecuteTransactionRequest::_internal_has_txn_id() const { + return this != internal_default_instance() && txn_id_ != nullptr; +} +inline bool ExecuteTransactionRequest::has_txn_id() const { + return _internal_has_txn_id(); +} +inline const ::opi_api::common::v1::ObjectKey& ExecuteTransactionRequest::_internal_txn_id() const { + const ::opi_api::common::v1::ObjectKey* p = txn_id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& ExecuteTransactionRequest::txn_id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ExecuteTransactionRequest.txn_id) + return _internal_txn_id(); +} +inline void ExecuteTransactionRequest::unsafe_arena_set_allocated_txn_id( + ::opi_api::common::v1::ObjectKey* txn_id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + txn_id_ = txn_id; + if (txn_id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.ExecuteTransactionRequest.txn_id) +} +inline ::opi_api::common::v1::ObjectKey* ExecuteTransactionRequest::release_txn_id() { + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* ExecuteTransactionRequest::unsafe_arena_release_txn_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ExecuteTransactionRequest.txn_id) + + ::opi_api::common::v1::ObjectKey* temp = txn_id_; + txn_id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* ExecuteTransactionRequest::_internal_mutable_txn_id() { + + if (txn_id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + txn_id_ = p; + } + return txn_id_; +} +inline ::opi_api::common::v1::ObjectKey* ExecuteTransactionRequest::mutable_txn_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_txn_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ExecuteTransactionRequest.txn_id) + return _msg; +} +inline void ExecuteTransactionRequest::set_allocated_txn_id(::opi_api::common::v1::ObjectKey* txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id_); + } + if (txn_id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(txn_id)); + if (message_arena != submessage_arena) { + txn_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, txn_id, submessage_arena); + } + + } else { + + } + txn_id_ = txn_id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ExecuteTransactionRequest.txn_id) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace v1 +} // namespace storage +} // namespace opi_api + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_transactions_2eproto diff --git a/storage/v1alpha1/gen/go/backend_aio.pb.go b/storage/v1alpha1/gen/go/backend_aio.pb.go index 79e7dde9..4f6afdac 100644 --- a/storage/v1alpha1/gen/go/backend_aio.pb.go +++ b/storage/v1alpha1/gen/go/backend_aio.pb.go @@ -116,6 +116,7 @@ type AioControllerCreateRequest struct { unknownFields protoimpl.UnknownFields Device *AioController `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *AioControllerCreateRequest) Reset() { @@ -157,12 +158,20 @@ func (x *AioControllerCreateRequest) GetDevice() *AioController { return nil } +func (x *AioControllerCreateRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type AioControllerDeleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *AioControllerDeleteRequest) Reset() { @@ -204,12 +213,20 @@ func (x *AioControllerDeleteRequest) GetHandle() *_go.ObjectKey { return nil } +func (x *AioControllerDeleteRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type AioControllerUpdateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Device *AioController `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *AioControllerUpdateRequest) Reset() { @@ -251,6 +268,13 @@ func (x *AioControllerUpdateRequest) GetDevice() *AioController { return nil } +func (x *AioControllerUpdateRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type AioControllerList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -554,100 +578,110 @@ var file_backend_aio_proto_rawDesc = []byte{ 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, 0x57, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x52, - 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x06, + 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, + 0x78, 0x6e, 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 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, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x8c, + 0x01, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, + 0x06, 0x64, 0x65, 0x76, 0x69, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x4e, 0x0a, + 0x11, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 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, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x4f, 0x0a, + 0x17, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, + 0x74, 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, 0x1d, + 0x0a, 0x1b, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, + 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, + 0x1c, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, + 0x74, 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, 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, 0x60, 0x0a, 0x12, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 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, 0x57, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x39, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x4e, 0x0a, 0x11, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x39, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 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, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x4f, 0x0a, 0x17, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 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, 0x1d, 0x0a, 0x1b, - 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x1c, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 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, 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, 0x60, 0x0a, 0x12, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 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, 0x9c, 0x05, 0x0a, 0x14, 0x41, 0x69, 0x6f, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x6a, 0x0a, 0x13, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 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, 0x43, 0x72, 0x65, 0x61, 0x74, 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, 0x41, 0x69, 0x6f, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x13, 0x41, - 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 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, 0x9c, 0x05, 0x0a, 0x14, 0x41, 0x69, 0x6f, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x6a, 0x0a, 0x13, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 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, 0x43, 0x72, 0x65, 0x61, 0x74, + 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, 0x41, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x00, 0x12, 0x5f, 0x0a, + 0x13, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x12, 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, 0x44, 0x65, 0x6c, 0x65, 0x74, 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, 0x00, 0x12, 0x64, + 0x0a, 0x10, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, + 0x65, 0x74, 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, 0x44, 0x65, 0x6c, 0x65, 0x74, 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, 0x00, 0x12, 0x64, 0x0a, 0x10, - 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, - 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, 0x47, 0x65, 0x74, 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, 0x00, 0x12, 0x70, 0x0a, 0x14, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 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, 0x47, 0x65, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 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, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x15, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x30, 0x2e, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 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, 0x00, 0x12, 0x70, 0x0a, 0x14, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 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, 0x47, + 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 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, - 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x26, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x15, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x13, 0x41, 0x69, 0x6f, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x12, 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, 0x55, 0x70, 0x64, 0x61, 0x74, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 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, + 0x65, 0x72, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 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, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x13, 0x41, + 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x12, 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, 0x55, 0x70, 0x64, 0x61, 0x74, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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 ( @@ -682,30 +716,33 @@ var file_backend_aio_proto_depIdxs = []int32{ 10, // 0: opi_api.storage.v1.AioController.handle:type_name -> opi_api.common.v1.ObjectKey 11, // 1: opi_api.storage.v1.AioController.uuid:type_name -> opi_api.common.v1.Uuid 0, // 2: opi_api.storage.v1.AioControllerCreateRequest.device:type_name -> opi_api.storage.v1.AioController - 10, // 3: opi_api.storage.v1.AioControllerDeleteRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 0, // 4: opi_api.storage.v1.AioControllerUpdateRequest.device:type_name -> opi_api.storage.v1.AioController - 0, // 5: opi_api.storage.v1.AioControllerList.device:type_name -> opi_api.storage.v1.AioController - 10, // 6: opi_api.storage.v1.AioControllerGetRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 10, // 7: opi_api.storage.v1.AioControllerGetStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 10, // 8: opi_api.storage.v1.AioControllerStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 10, // 9: opi_api.storage.v1.AioControllerStats.handle:type_name -> opi_api.common.v1.ObjectKey - 1, // 10: opi_api.storage.v1.AioControllerService.AioControllerCreate:input_type -> opi_api.storage.v1.AioControllerCreateRequest - 2, // 11: opi_api.storage.v1.AioControllerService.AioControllerDelete:input_type -> opi_api.storage.v1.AioControllerDeleteRequest - 5, // 12: opi_api.storage.v1.AioControllerService.AioControllerGet:input_type -> opi_api.storage.v1.AioControllerGetRequest - 6, // 13: opi_api.storage.v1.AioControllerService.AioControllerGetList:input_type -> opi_api.storage.v1.AioControllerGetListRequest - 7, // 14: opi_api.storage.v1.AioControllerService.AioControllerGetStats:input_type -> opi_api.storage.v1.AioControllerGetStatsRequest - 3, // 15: opi_api.storage.v1.AioControllerService.AioControllerUpdate:input_type -> opi_api.storage.v1.AioControllerUpdateRequest - 0, // 16: opi_api.storage.v1.AioControllerService.AioControllerCreate:output_type -> opi_api.storage.v1.AioController - 12, // 17: opi_api.storage.v1.AioControllerService.AioControllerDelete:output_type -> google.protobuf.Empty - 0, // 18: opi_api.storage.v1.AioControllerService.AioControllerGet:output_type -> opi_api.storage.v1.AioController - 4, // 19: opi_api.storage.v1.AioControllerService.AioControllerGetList:output_type -> opi_api.storage.v1.AioControllerList - 9, // 20: opi_api.storage.v1.AioControllerService.AioControllerGetStats:output_type -> opi_api.storage.v1.AioControllerStats - 0, // 21: opi_api.storage.v1.AioControllerService.AioControllerUpdate:output_type -> opi_api.storage.v1.AioController - 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 + 10, // 3: opi_api.storage.v1.AioControllerCreateRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 10, // 4: opi_api.storage.v1.AioControllerDeleteRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 10, // 5: opi_api.storage.v1.AioControllerDeleteRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 6: opi_api.storage.v1.AioControllerUpdateRequest.device:type_name -> opi_api.storage.v1.AioController + 10, // 7: opi_api.storage.v1.AioControllerUpdateRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 8: opi_api.storage.v1.AioControllerList.device:type_name -> opi_api.storage.v1.AioController + 10, // 9: opi_api.storage.v1.AioControllerGetRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 10, // 10: opi_api.storage.v1.AioControllerGetStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 10, // 11: opi_api.storage.v1.AioControllerStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 10, // 12: opi_api.storage.v1.AioControllerStats.handle:type_name -> opi_api.common.v1.ObjectKey + 1, // 13: opi_api.storage.v1.AioControllerService.AioControllerCreate:input_type -> opi_api.storage.v1.AioControllerCreateRequest + 2, // 14: opi_api.storage.v1.AioControllerService.AioControllerDelete:input_type -> opi_api.storage.v1.AioControllerDeleteRequest + 5, // 15: opi_api.storage.v1.AioControllerService.AioControllerGet:input_type -> opi_api.storage.v1.AioControllerGetRequest + 6, // 16: opi_api.storage.v1.AioControllerService.AioControllerGetList:input_type -> opi_api.storage.v1.AioControllerGetListRequest + 7, // 17: opi_api.storage.v1.AioControllerService.AioControllerGetStats:input_type -> opi_api.storage.v1.AioControllerGetStatsRequest + 3, // 18: opi_api.storage.v1.AioControllerService.AioControllerUpdate:input_type -> opi_api.storage.v1.AioControllerUpdateRequest + 0, // 19: opi_api.storage.v1.AioControllerService.AioControllerCreate:output_type -> opi_api.storage.v1.AioController + 12, // 20: opi_api.storage.v1.AioControllerService.AioControllerDelete:output_type -> google.protobuf.Empty + 0, // 21: opi_api.storage.v1.AioControllerService.AioControllerGet:output_type -> opi_api.storage.v1.AioController + 4, // 22: opi_api.storage.v1.AioControllerService.AioControllerGetList:output_type -> opi_api.storage.v1.AioControllerList + 9, // 23: opi_api.storage.v1.AioControllerService.AioControllerGetStats:output_type -> opi_api.storage.v1.AioControllerStats + 0, // 24: opi_api.storage.v1.AioControllerService.AioControllerUpdate:output_type -> opi_api.storage.v1.AioController + 19, // [19:25] is the sub-list for method output_type + 13, // [13:19] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name } func init() { file_backend_aio_proto_init() } diff --git a/storage/v1alpha1/gen/go/backend_null.pb.go b/storage/v1alpha1/gen/go/backend_null.pb.go index 48064a39..7dd9df73 100644 --- a/storage/v1alpha1/gen/go/backend_null.pb.go +++ b/storage/v1alpha1/gen/go/backend_null.pb.go @@ -105,7 +105,8 @@ type NullDebugCreateRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Device *NullDebug `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + Device *NullDebug `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *NullDebugCreateRequest) Reset() { @@ -147,12 +148,20 @@ func (x *NullDebugCreateRequest) GetDevice() *NullDebug { return nil } +func (x *NullDebugCreateRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type NullDebugDeleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *NullDebugDeleteRequest) Reset() { @@ -194,12 +203,20 @@ func (x *NullDebugDeleteRequest) GetHandle() *_go.ObjectKey { return nil } +func (x *NullDebugDeleteRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type NullDebugUpdateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Device *NullDebug `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + Device *NullDebug `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *NullDebugUpdateRequest) Reset() { @@ -241,6 +258,13 @@ func (x *NullDebugUpdateRequest) GetDevice() *NullDebug { return nil } +func (x *NullDebugUpdateRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type NullDebugListRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -495,89 +519,99 @@ var file_backend_null_proto_rawDesc = []byte{ 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, 0x4f, 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, - 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x35, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, - 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x4e, 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x44, - 0x65, 0x62, 0x75, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 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, 0x4f, 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x44, - 0x65, 0x62, 0x75, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x84, 0x01, 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, - 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x4e, 0x75, 0x6c, 0x6c, - 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x4e, 0x0a, 0x15, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x64, 0x65, 0x76, - 0x69, 0x63, 0x65, 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, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x22, 0x4b, 0x0a, 0x13, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x47, 0x65, 0x74, - 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, 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, 0xd8, 0x04, 0x0a, 0x10, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x44, - 0x65, 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, - 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, - 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x44, - 0x65, 0x62, 0x75, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 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, 0x00, - 0x12, 0x5e, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, - 0x75, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 0x00, - 0x12, 0x66, 0x0a, 0x0d, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x28, 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, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6f, 0x70, + 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x83, 0x01, + 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 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, 0x12, 0x33, + 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, + 0x6e, 0x49, 0x64, 0x22, 0x84, 0x01, 0x0a, 0x16, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, + 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, + 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x06, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x4e, 0x75, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x15, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 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, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0c, 0x4e, 0x75, 0x6c, 0x6c, - 0x44, 0x65, 0x62, 0x75, 0x67, 0x47, 0x65, 0x74, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x22, 0x4b, 0x0a, 0x13, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x47, + 0x65, 0x74, 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, + 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, 0xd8, 0x04, 0x0a, 0x10, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, + 0x75, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, - 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, + 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, 0x00, 0x12, 0x5e, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, - 0x22, 0x00, 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, + 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x28, 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, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0c, 0x4e, 0x75, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x47, 0x65, 0x74, 0x12, 0x27, 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, 0x47, 0x65, 0x74, 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, 0x00, 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, } var ( @@ -611,29 +645,32 @@ var file_backend_null_proto_depIdxs = []int32{ 9, // 0: opi_api.storage.v1.NullDebug.handle:type_name -> opi_api.common.v1.ObjectKey 10, // 1: opi_api.storage.v1.NullDebug.uuid:type_name -> opi_api.common.v1.Uuid 0, // 2: opi_api.storage.v1.NullDebugCreateRequest.device:type_name -> opi_api.storage.v1.NullDebug - 9, // 3: opi_api.storage.v1.NullDebugDeleteRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 0, // 4: opi_api.storage.v1.NullDebugUpdateRequest.device:type_name -> opi_api.storage.v1.NullDebug - 0, // 5: opi_api.storage.v1.NullDebugListResponse.device:type_name -> opi_api.storage.v1.NullDebug - 9, // 6: opi_api.storage.v1.NullDebugGetRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 9, // 7: opi_api.storage.v1.NullDebugStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey - 9, // 8: opi_api.storage.v1.NullDebugStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey - 1, // 9: opi_api.storage.v1.NullDebugService.NullDebugCreate:input_type -> opi_api.storage.v1.NullDebugCreateRequest - 2, // 10: opi_api.storage.v1.NullDebugService.NullDebugDelete:input_type -> opi_api.storage.v1.NullDebugDeleteRequest - 3, // 11: opi_api.storage.v1.NullDebugService.NullDebugUpdate:input_type -> opi_api.storage.v1.NullDebugUpdateRequest - 4, // 12: opi_api.storage.v1.NullDebugService.NullDebugList:input_type -> opi_api.storage.v1.NullDebugListRequest - 6, // 13: opi_api.storage.v1.NullDebugService.NullDebugGet:input_type -> opi_api.storage.v1.NullDebugGetRequest - 7, // 14: opi_api.storage.v1.NullDebugService.NullDebugStats:input_type -> opi_api.storage.v1.NullDebugStatsRequest - 0, // 15: opi_api.storage.v1.NullDebugService.NullDebugCreate:output_type -> opi_api.storage.v1.NullDebug - 11, // 16: opi_api.storage.v1.NullDebugService.NullDebugDelete:output_type -> google.protobuf.Empty - 0, // 17: opi_api.storage.v1.NullDebugService.NullDebugUpdate:output_type -> opi_api.storage.v1.NullDebug - 5, // 18: opi_api.storage.v1.NullDebugService.NullDebugList:output_type -> opi_api.storage.v1.NullDebugListResponse - 0, // 19: opi_api.storage.v1.NullDebugService.NullDebugGet: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 + 9, // 3: opi_api.storage.v1.NullDebugCreateRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 4: opi_api.storage.v1.NullDebugDeleteRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 9, // 5: opi_api.storage.v1.NullDebugDeleteRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 6: opi_api.storage.v1.NullDebugUpdateRequest.device:type_name -> opi_api.storage.v1.NullDebug + 9, // 7: opi_api.storage.v1.NullDebugUpdateRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 8: opi_api.storage.v1.NullDebugListResponse.device:type_name -> opi_api.storage.v1.NullDebug + 9, // 9: opi_api.storage.v1.NullDebugGetRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 9, // 10: opi_api.storage.v1.NullDebugStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 9, // 11: opi_api.storage.v1.NullDebugStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey + 1, // 12: opi_api.storage.v1.NullDebugService.NullDebugCreate:input_type -> opi_api.storage.v1.NullDebugCreateRequest + 2, // 13: opi_api.storage.v1.NullDebugService.NullDebugDelete:input_type -> opi_api.storage.v1.NullDebugDeleteRequest + 3, // 14: opi_api.storage.v1.NullDebugService.NullDebugUpdate:input_type -> opi_api.storage.v1.NullDebugUpdateRequest + 4, // 15: opi_api.storage.v1.NullDebugService.NullDebugList:input_type -> opi_api.storage.v1.NullDebugListRequest + 6, // 16: opi_api.storage.v1.NullDebugService.NullDebugGet:input_type -> opi_api.storage.v1.NullDebugGetRequest + 7, // 17: opi_api.storage.v1.NullDebugService.NullDebugStats:input_type -> opi_api.storage.v1.NullDebugStatsRequest + 0, // 18: opi_api.storage.v1.NullDebugService.NullDebugCreate:output_type -> opi_api.storage.v1.NullDebug + 11, // 19: opi_api.storage.v1.NullDebugService.NullDebugDelete:output_type -> google.protobuf.Empty + 0, // 20: opi_api.storage.v1.NullDebugService.NullDebugUpdate:output_type -> opi_api.storage.v1.NullDebug + 5, // 21: opi_api.storage.v1.NullDebugService.NullDebugList:output_type -> opi_api.storage.v1.NullDebugListResponse + 0, // 22: opi_api.storage.v1.NullDebugService.NullDebugGet:output_type -> opi_api.storage.v1.NullDebug + 8, // 23: opi_api.storage.v1.NullDebugService.NullDebugStats:output_type -> opi_api.storage.v1.NullDebugStatsResponse + 18, // [18:24] is the sub-list for method output_type + 12, // [12:18] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_backend_null_proto_init() } diff --git a/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go b/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go index 0f12173c..b29a6d74 100644 --- a/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go +++ b/storage/v1alpha1/gen/go/frontend_nvme_pcie.pb.go @@ -792,6 +792,7 @@ type CreateNVMeSubsystemRequest struct { unknownFields protoimpl.UnknownFields Subsystem *NVMeSubsystem `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateNVMeSubsystemRequest) Reset() { @@ -833,12 +834,20 @@ func (x *CreateNVMeSubsystemRequest) GetSubsystem() *NVMeSubsystem { return nil } +func (x *CreateNVMeSubsystemRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteNVMeSubsystemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SubsystemId *_go.ObjectKey `protobuf:"bytes,1,opt,name=subsystem_id,json=subsystemId,proto3" json:"subsystem_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteNVMeSubsystemRequest) Reset() { @@ -880,12 +889,20 @@ func (x *DeleteNVMeSubsystemRequest) GetSubsystemId() *_go.ObjectKey { return nil } +func (x *DeleteNVMeSubsystemRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateNVMeSubsystemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Subsystem *NVMeSubsystem `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateNVMeSubsystemRequest) Reset() { @@ -927,6 +944,13 @@ func (x *UpdateNVMeSubsystemRequest) GetSubsystem() *NVMeSubsystem { return nil } +func (x *UpdateNVMeSubsystemRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListNVMeSubsystemRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1184,6 +1208,7 @@ type CreateNVMeControllerRequest struct { unknownFields protoimpl.UnknownFields Controller *NVMeController `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateNVMeControllerRequest) Reset() { @@ -1225,12 +1250,20 @@ func (x *CreateNVMeControllerRequest) GetController() *NVMeController { return nil } +func (x *CreateNVMeControllerRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteNVMeControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteNVMeControllerRequest) Reset() { @@ -1272,12 +1305,20 @@ func (x *DeleteNVMeControllerRequest) GetControllerId() *_go.ObjectKey { return nil } +func (x *DeleteNVMeControllerRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateNVMeControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Controller *NVMeController `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateNVMeControllerRequest) Reset() { @@ -1319,6 +1360,13 @@ func (x *UpdateNVMeControllerRequest) GetController() *NVMeController { return nil } +func (x *UpdateNVMeControllerRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListNVMeControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1592,6 +1640,7 @@ type CreateNVMeNamespaceRequest struct { unknownFields protoimpl.UnknownFields Namespace *NVMeNamespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateNVMeNamespaceRequest) Reset() { @@ -1633,12 +1682,20 @@ func (x *CreateNVMeNamespaceRequest) GetNamespace() *NVMeNamespace { return nil } +func (x *CreateNVMeNamespaceRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteNVMeNamespaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields NamespaceId *_go.ObjectKey `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteNVMeNamespaceRequest) Reset() { @@ -1680,12 +1737,20 @@ func (x *DeleteNVMeNamespaceRequest) GetNamespaceId() *_go.ObjectKey { return nil } +func (x *DeleteNVMeNamespaceRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateNVMeNamespaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Namespace *NVMeNamespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateNVMeNamespaceRequest) Reset() { @@ -1727,6 +1792,13 @@ func (x *UpdateNVMeNamespaceRequest) GetNamespace() *NVMeNamespace { return nil } +func (x *UpdateNVMeNamespaceRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListNVMeNamespaceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2108,345 +2180,375 @@ var file_frontend_nvme_pcie_proto_rawDesc = []byte{ 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, 0x50, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x63, 0x69, 0x4f, 0x70, 0x65, 0x72, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x22, 0x5d, 0x0a, 0x1a, 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, 0x12, 0x3f, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x22, 0x5d, 0x0a, 0x1a, 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, - 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, - 0x64, 0x22, 0x5d, 0x0a, 0x1a, 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, 0x12, - 0x3f, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x22, 0x56, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, - 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0a, 0x73, - 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, - 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x22, 0x5a, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, + 0x61, 0x74, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x1a, 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, 0x12, 0x3f, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x53, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x1a, 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, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x92, 0x01, + 0x0a, 0x1a, 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, 0x12, 0x3f, 0x0a, 0x09, + 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x33, 0x0a, + 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, + 0x49, 0x64, 0x22, 0x56, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, + 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, + 0x0a, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x5a, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, + 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, + 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, + 0x5c, 0x0a, 0x19, 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, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x5c, 0x0a, - 0x19, 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, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, - 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, 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, - 0x61, 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, 0x42, - 0x0a, 0x0a, 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, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x22, 0x60, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x65, + 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, 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, 0x96, 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, 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, 0x61, 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, 0x42, 0x0a, 0x0a, 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, 0x0a, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x98, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, - 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 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, 0x8a, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x44, 0x0a, 0x0b, 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, 0x0b, 0x63, 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, - 0x5d, 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, 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, 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, + 0x74, 0x12, 0x42, 0x0a, 0x0a, 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, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 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, 0x5d, 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, 0x3f, 0x0a, 0x09, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5d, 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, 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, 0x5d, 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, 0x3f, 0x0a, 0x09, 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, - 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x18, 0x4c, - 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x4b, 0x65, 0x79, 0x52, 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x95, 0x01, 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, 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, 0x74, 0x78, 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, 0x0b, 0x73, 0x75, 0x62, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 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, 0x86, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 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, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x74, 0x78, 0x6e, + 0x49, 0x64, 0x22, 0x96, 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, 0x42, 0x0a, 0x0a, 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, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 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, 0x5a, 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, 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, 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, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x19, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, 0x73, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 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, 0x8a, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4e, + 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 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, 0x0b, + 0x63, 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, 0x5d, 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, + 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, 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, 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, + 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, 0x92, 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, 0x3f, 0x0a, 0x09, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, - 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, + 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x92, 0x01, 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, 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, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x92, 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, 0x3f, 0x0a, 0x09, 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, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, + 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, + 0x22, 0x97, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, + 0x0c, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 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, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 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, 0x86, 0x01, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 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, + 0x0a, 0x6e, 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, 0x5a, 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, 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, + 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, 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, + 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, 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, + 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, 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, 0xb0, 0x13, 0x0a, 0x13, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8b, 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, - 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x3a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x81, 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, 0x22, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 0x12, - 0x8b, 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x1b, 0x32, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x73, 0x3a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x88, 0x01, - 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x12, 0x2c, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, - 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x86, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, - 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2b, 0x2e, + 0x45, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x32, 0xb0, 0x13, 0x0a, 0x13, + 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x8b, 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, 0x21, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x12, 0x81, 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, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x73, + 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x7d, 0x12, 0x8b, 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, 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, - 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x22, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x7d, 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, 0x90, 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, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x0f, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x3a, - 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x85, 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, 0x24, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x2a, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x7d, 0x12, 0x90, 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, + 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, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x32, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x3a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4e, - 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2d, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x32, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, + 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, + 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2c, 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, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x86, + 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, 0x4e, 0x56, 0x4d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x73, 0x75, 0x62, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x7d, 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, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, + 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, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x8b, 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, 0x24, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x7d, 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, + 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, 0x90, + 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, 0x23, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x3a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x12, 0x85, 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, - 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, 0x8b, 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, 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, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, - 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, - 0x3a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x81, 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, 0x22, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x12, - 0x8b, 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x1b, 0x32, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x73, 0x3a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x88, 0x01, - 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 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, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x2a, 0x1c, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x7d, 0x12, 0x90, 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, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x32, + 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, + 0x3a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x8c, 0x01, 0x0a, + 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x86, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, - 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x76, 0x31, 0x2f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x12, 0x8b, 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, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x7d, 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, 0x8b, 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, 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, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x21, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x81, 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, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x7d, 0x12, 0x8b, 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, 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, - 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x22, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x7d, 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, + 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x32, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2c, 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, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, + 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x86, + 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, 0x4e, 0x56, 0x4d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x31, + 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 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, } var ( @@ -2522,68 +2624,77 @@ var file_frontend_nvme_pcie_proto_depIdxs = []int32{ 0, // 14: opi_api.storage.v1.NVMeNamespaceStatus.pci_state:type_name -> opi_api.storage.v1.NVMeNamespacePciState 1, // 15: opi_api.storage.v1.NVMeNamespaceStatus.pci_oper_state:type_name -> opi_api.storage.v1.NVMeNamespacePciOperState 2, // 16: opi_api.storage.v1.CreateNVMeSubsystemRequest.subsystem:type_name -> opi_api.storage.v1.NVMeSubsystem - 35, // 17: opi_api.storage.v1.DeleteNVMeSubsystemRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey - 2, // 18: opi_api.storage.v1.UpdateNVMeSubsystemRequest.subsystem:type_name -> opi_api.storage.v1.NVMeSubsystem - 2, // 19: opi_api.storage.v1.ListNVMeSubsystemResponse.subsystems:type_name -> opi_api.storage.v1.NVMeSubsystem - 35, // 20: opi_api.storage.v1.GetNVMeSubsystemRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey - 35, // 21: opi_api.storage.v1.NVMeSubsystemStatsRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey - 5, // 22: opi_api.storage.v1.CreateNVMeControllerRequest.controller:type_name -> opi_api.storage.v1.NVMeController - 35, // 23: opi_api.storage.v1.DeleteNVMeControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 5, // 24: opi_api.storage.v1.UpdateNVMeControllerRequest.controller:type_name -> opi_api.storage.v1.NVMeController - 35, // 25: opi_api.storage.v1.ListNVMeControllerRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey - 5, // 26: opi_api.storage.v1.ListNVMeControllerResponse.controllers:type_name -> opi_api.storage.v1.NVMeController - 35, // 27: opi_api.storage.v1.GetNVMeControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 35, // 28: opi_api.storage.v1.NVMeControllerStatsRequest.id:type_name -> opi_api.common.v1.ObjectKey - 35, // 29: opi_api.storage.v1.NVMeControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 8, // 30: opi_api.storage.v1.CreateNVMeNamespaceRequest.namespace:type_name -> opi_api.storage.v1.NVMeNamespace - 35, // 31: opi_api.storage.v1.DeleteNVMeNamespaceRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey - 8, // 32: opi_api.storage.v1.UpdateNVMeNamespaceRequest.namespace:type_name -> opi_api.storage.v1.NVMeNamespace - 35, // 33: opi_api.storage.v1.ListNVMeNamespaceRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey - 8, // 34: opi_api.storage.v1.ListNVMeNamespaceResponse.namespaces:type_name -> opi_api.storage.v1.NVMeNamespace - 35, // 35: opi_api.storage.v1.GetNVMeNamespaceRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey - 35, // 36: opi_api.storage.v1.NVMeNamespaceStatsRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey - 35, // 37: opi_api.storage.v1.NVMeNamespaceStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 11, // 38: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:input_type -> opi_api.storage.v1.CreateNVMeSubsystemRequest - 12, // 39: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:input_type -> opi_api.storage.v1.DeleteNVMeSubsystemRequest - 13, // 40: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:input_type -> opi_api.storage.v1.UpdateNVMeSubsystemRequest - 14, // 41: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystem:input_type -> opi_api.storage.v1.ListNVMeSubsystemRequest - 16, // 42: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:input_type -> opi_api.storage.v1.GetNVMeSubsystemRequest - 17, // 43: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:input_type -> opi_api.storage.v1.NVMeSubsystemStatsRequest - 19, // 44: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:input_type -> opi_api.storage.v1.CreateNVMeControllerRequest - 20, // 45: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:input_type -> opi_api.storage.v1.DeleteNVMeControllerRequest - 21, // 46: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:input_type -> opi_api.storage.v1.UpdateNVMeControllerRequest - 22, // 47: opi_api.storage.v1.FrontendNvmeService.ListNVMeController:input_type -> opi_api.storage.v1.ListNVMeControllerRequest - 24, // 48: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:input_type -> opi_api.storage.v1.GetNVMeControllerRequest - 25, // 49: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:input_type -> opi_api.storage.v1.NVMeControllerStatsRequest - 27, // 50: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:input_type -> opi_api.storage.v1.CreateNVMeNamespaceRequest - 28, // 51: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:input_type -> opi_api.storage.v1.DeleteNVMeNamespaceRequest - 29, // 52: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:input_type -> opi_api.storage.v1.UpdateNVMeNamespaceRequest - 30, // 53: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespace:input_type -> opi_api.storage.v1.ListNVMeNamespaceRequest - 32, // 54: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:input_type -> opi_api.storage.v1.GetNVMeNamespaceRequest - 33, // 55: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:input_type -> opi_api.storage.v1.NVMeNamespaceStatsRequest - 2, // 56: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem - 38, // 57: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:output_type -> google.protobuf.Empty - 2, // 58: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem - 15, // 59: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystem:output_type -> opi_api.storage.v1.ListNVMeSubsystemResponse - 2, // 60: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem - 18, // 61: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:output_type -> opi_api.storage.v1.NVMeSubsystemStatsResponse - 5, // 62: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:output_type -> opi_api.storage.v1.NVMeController - 38, // 63: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:output_type -> google.protobuf.Empty - 5, // 64: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:output_type -> opi_api.storage.v1.NVMeController - 23, // 65: opi_api.storage.v1.FrontendNvmeService.ListNVMeController:output_type -> opi_api.storage.v1.ListNVMeControllerResponse - 5, // 66: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:output_type -> opi_api.storage.v1.NVMeController - 26, // 67: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:output_type -> opi_api.storage.v1.NVMeControllerStatsResponse - 8, // 68: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace - 38, // 69: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:output_type -> google.protobuf.Empty - 8, // 70: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace - 31, // 71: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespace:output_type -> opi_api.storage.v1.ListNVMeNamespaceResponse - 8, // 72: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace - 34, // 73: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:output_type -> opi_api.storage.v1.NVMeNamespaceStatsResponse - 56, // [56:74] is the sub-list for method output_type - 38, // [38:56] is the sub-list for method input_type - 38, // [38:38] is the sub-list for extension type_name - 38, // [38:38] is the sub-list for extension extendee - 0, // [0:38] is the sub-list for field type_name + 35, // 17: opi_api.storage.v1.CreateNVMeSubsystemRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 18: opi_api.storage.v1.DeleteNVMeSubsystemRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 19: opi_api.storage.v1.DeleteNVMeSubsystemRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 2, // 20: opi_api.storage.v1.UpdateNVMeSubsystemRequest.subsystem:type_name -> opi_api.storage.v1.NVMeSubsystem + 35, // 21: opi_api.storage.v1.UpdateNVMeSubsystemRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 2, // 22: opi_api.storage.v1.ListNVMeSubsystemResponse.subsystems:type_name -> opi_api.storage.v1.NVMeSubsystem + 35, // 23: opi_api.storage.v1.GetNVMeSubsystemRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 24: opi_api.storage.v1.NVMeSubsystemStatsRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey + 5, // 25: opi_api.storage.v1.CreateNVMeControllerRequest.controller:type_name -> opi_api.storage.v1.NVMeController + 35, // 26: opi_api.storage.v1.CreateNVMeControllerRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 27: opi_api.storage.v1.DeleteNVMeControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 28: opi_api.storage.v1.DeleteNVMeControllerRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 5, // 29: opi_api.storage.v1.UpdateNVMeControllerRequest.controller:type_name -> opi_api.storage.v1.NVMeController + 35, // 30: opi_api.storage.v1.UpdateNVMeControllerRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 31: opi_api.storage.v1.ListNVMeControllerRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey + 5, // 32: opi_api.storage.v1.ListNVMeControllerResponse.controllers:type_name -> opi_api.storage.v1.NVMeController + 35, // 33: opi_api.storage.v1.GetNVMeControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 34: opi_api.storage.v1.NVMeControllerStatsRequest.id:type_name -> opi_api.common.v1.ObjectKey + 35, // 35: opi_api.storage.v1.NVMeControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 8, // 36: opi_api.storage.v1.CreateNVMeNamespaceRequest.namespace:type_name -> opi_api.storage.v1.NVMeNamespace + 35, // 37: opi_api.storage.v1.CreateNVMeNamespaceRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 38: opi_api.storage.v1.DeleteNVMeNamespaceRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 39: opi_api.storage.v1.DeleteNVMeNamespaceRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 8, // 40: opi_api.storage.v1.UpdateNVMeNamespaceRequest.namespace:type_name -> opi_api.storage.v1.NVMeNamespace + 35, // 41: opi_api.storage.v1.UpdateNVMeNamespaceRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 42: opi_api.storage.v1.ListNVMeNamespaceRequest.subsystem_id:type_name -> opi_api.common.v1.ObjectKey + 8, // 43: opi_api.storage.v1.ListNVMeNamespaceResponse.namespaces:type_name -> opi_api.storage.v1.NVMeNamespace + 35, // 44: opi_api.storage.v1.GetNVMeNamespaceRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 45: opi_api.storage.v1.NVMeNamespaceStatsRequest.namespace_id:type_name -> opi_api.common.v1.ObjectKey + 35, // 46: opi_api.storage.v1.NVMeNamespaceStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 11, // 47: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:input_type -> opi_api.storage.v1.CreateNVMeSubsystemRequest + 12, // 48: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:input_type -> opi_api.storage.v1.DeleteNVMeSubsystemRequest + 13, // 49: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:input_type -> opi_api.storage.v1.UpdateNVMeSubsystemRequest + 14, // 50: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystem:input_type -> opi_api.storage.v1.ListNVMeSubsystemRequest + 16, // 51: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:input_type -> opi_api.storage.v1.GetNVMeSubsystemRequest + 17, // 52: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:input_type -> opi_api.storage.v1.NVMeSubsystemStatsRequest + 19, // 53: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:input_type -> opi_api.storage.v1.CreateNVMeControllerRequest + 20, // 54: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:input_type -> opi_api.storage.v1.DeleteNVMeControllerRequest + 21, // 55: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:input_type -> opi_api.storage.v1.UpdateNVMeControllerRequest + 22, // 56: opi_api.storage.v1.FrontendNvmeService.ListNVMeController:input_type -> opi_api.storage.v1.ListNVMeControllerRequest + 24, // 57: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:input_type -> opi_api.storage.v1.GetNVMeControllerRequest + 25, // 58: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:input_type -> opi_api.storage.v1.NVMeControllerStatsRequest + 27, // 59: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:input_type -> opi_api.storage.v1.CreateNVMeNamespaceRequest + 28, // 60: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:input_type -> opi_api.storage.v1.DeleteNVMeNamespaceRequest + 29, // 61: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:input_type -> opi_api.storage.v1.UpdateNVMeNamespaceRequest + 30, // 62: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespace:input_type -> opi_api.storage.v1.ListNVMeNamespaceRequest + 32, // 63: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:input_type -> opi_api.storage.v1.GetNVMeNamespaceRequest + 33, // 64: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:input_type -> opi_api.storage.v1.NVMeNamespaceStatsRequest + 2, // 65: opi_api.storage.v1.FrontendNvmeService.CreateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem + 38, // 66: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeSubsystem:output_type -> google.protobuf.Empty + 2, // 67: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem + 15, // 68: opi_api.storage.v1.FrontendNvmeService.ListNVMeSubsystem:output_type -> opi_api.storage.v1.ListNVMeSubsystemResponse + 2, // 69: opi_api.storage.v1.FrontendNvmeService.GetNVMeSubsystem:output_type -> opi_api.storage.v1.NVMeSubsystem + 18, // 70: opi_api.storage.v1.FrontendNvmeService.NVMeSubsystemStats:output_type -> opi_api.storage.v1.NVMeSubsystemStatsResponse + 5, // 71: opi_api.storage.v1.FrontendNvmeService.CreateNVMeController:output_type -> opi_api.storage.v1.NVMeController + 38, // 72: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeController:output_type -> google.protobuf.Empty + 5, // 73: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeController:output_type -> opi_api.storage.v1.NVMeController + 23, // 74: opi_api.storage.v1.FrontendNvmeService.ListNVMeController:output_type -> opi_api.storage.v1.ListNVMeControllerResponse + 5, // 75: opi_api.storage.v1.FrontendNvmeService.GetNVMeController:output_type -> opi_api.storage.v1.NVMeController + 26, // 76: opi_api.storage.v1.FrontendNvmeService.NVMeControllerStats:output_type -> opi_api.storage.v1.NVMeControllerStatsResponse + 8, // 77: opi_api.storage.v1.FrontendNvmeService.CreateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace + 38, // 78: opi_api.storage.v1.FrontendNvmeService.DeleteNVMeNamespace:output_type -> google.protobuf.Empty + 8, // 79: opi_api.storage.v1.FrontendNvmeService.UpdateNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace + 31, // 80: opi_api.storage.v1.FrontendNvmeService.ListNVMeNamespace:output_type -> opi_api.storage.v1.ListNVMeNamespaceResponse + 8, // 81: opi_api.storage.v1.FrontendNvmeService.GetNVMeNamespace:output_type -> opi_api.storage.v1.NVMeNamespace + 34, // 82: opi_api.storage.v1.FrontendNvmeService.NVMeNamespaceStats:output_type -> opi_api.storage.v1.NVMeNamespaceStatsResponse + 65, // [65:83] is the sub-list for method output_type + 47, // [47:65] is the sub-list for method input_type + 47, // [47:47] is the sub-list for extension type_name + 47, // [47:47] is the sub-list for extension extendee + 0, // [0:47] 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 5773d739..3dfb3787 100644 --- a/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go +++ b/storage/v1alpha1/gen/go/frontend_virtio_blk.pb.go @@ -108,7 +108,8 @@ type CreateVirtioBlkRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Controller *VirtioBlk `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + Controller *VirtioBlk `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateVirtioBlkRequest) Reset() { @@ -150,12 +151,20 @@ func (x *CreateVirtioBlkRequest) GetController() *VirtioBlk { return nil } +func (x *CreateVirtioBlkRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteVirtioBlkRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteVirtioBlkRequest) Reset() { @@ -197,12 +206,20 @@ func (x *DeleteVirtioBlkRequest) GetControllerId() *_go.ObjectKey { return nil } +func (x *DeleteVirtioBlkRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateVirtioBlkRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Controller *VirtioBlk `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + Controller *VirtioBlk `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateVirtioBlkRequest) Reset() { @@ -244,6 +261,13 @@ func (x *UpdateVirtioBlkRequest) GetController() *VirtioBlk { return nil } +func (x *UpdateVirtioBlkRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListVirtioBlkRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -527,110 +551,120 @@ var file_frontend_virtio_blk_proto_rawDesc = []byte{ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6f, 0x5f, 0x71, 0x70, 0x73, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x6f, 0x51, 0x70, 0x73, 0x22, 0x57, 0x0a, 0x16, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5b, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 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, + 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x6f, 0x51, 0x70, 0x73, 0x22, 0x8c, 0x01, 0x0a, + 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x22, 0x57, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0a, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x16, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x8c, + 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, + 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x0a, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x52, 0x0a, + 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, - 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x52, 0x0a, 0x14, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x01, 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, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, - 0x80, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x0b, 0x63, - 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, 0x58, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, - 0x6c, 0x6b, 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, 0x5a, 0x0a, 0x15, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5c, 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, + 0x0b, 0x63, 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, 0x58, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x42, 0x6c, 0x6b, 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, 0x5a, + 0x0a, 0x15, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 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, 0xfc, 0x05, 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, 0x7f, 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x3a, 0x09, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x62, 0x6c, 0x6b, 0x12, 0x79, 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, 0x22, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, - 0x6c, 0x6b, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x7d, 0x12, - 0x7f, 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, 0x21, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x32, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x3a, 0x09, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, - 0x12, 0x7c, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, - 0x6b, 0x12, 0x28, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6f, 0x70, - 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, - 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x12, 0x7a, - 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, 0x12, 0x27, + 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, 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, 0xfc, 0x05, 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, 0x7f, 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, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x0e, 0x2f, 0x76, 0x31, + 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x3a, 0x09, 0x76, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x12, 0x79, 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, 0x22, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, + 0x7d, 0x12, 0x7f, 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, + 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x32, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x3a, 0x09, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, + 0x6c, 0x6b, 0x12, 0x7c, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x42, 0x6c, 0x6b, 0x12, 0x28, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x42, 0x6c, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, + 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, + 0x12, 0x7a, 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, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, + 0x12, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, + 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x7d, 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, 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, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, - 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x73, 0x2f, 0x7b, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x62, 0x6c, 0x6b, 0x7d, 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, + 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 ( @@ -665,29 +699,32 @@ var file_frontend_virtio_blk_proto_depIdxs = []int32{ 10, // 1: opi_api.storage.v1.VirtioBlk.pcie_id:type_name -> opi_api.storage.v1.PciEndpoint 9, // 2: opi_api.storage.v1.VirtioBlk.volume_id:type_name -> opi_api.common.v1.ObjectKey 0, // 3: opi_api.storage.v1.CreateVirtioBlkRequest.controller:type_name -> opi_api.storage.v1.VirtioBlk - 9, // 4: opi_api.storage.v1.DeleteVirtioBlkRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 0, // 5: opi_api.storage.v1.UpdateVirtioBlkRequest.controller:type_name -> opi_api.storage.v1.VirtioBlk - 0, // 6: opi_api.storage.v1.ListVirtioBlkResponse.controllers:type_name -> opi_api.storage.v1.VirtioBlk - 9, // 7: opi_api.storage.v1.GetVirtioBlkRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 9, // 8: opi_api.storage.v1.VirtioBlkStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 9, // 9: opi_api.storage.v1.VirtioBlkStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 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.ListVirtioBlk:input_type -> opi_api.storage.v1.ListVirtioBlkRequest - 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 - 11, // 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.ListVirtioBlk:output_type -> opi_api.storage.v1.ListVirtioBlkResponse - 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 + 9, // 4: opi_api.storage.v1.CreateVirtioBlkRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 5: opi_api.storage.v1.DeleteVirtioBlkRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 6: opi_api.storage.v1.DeleteVirtioBlkRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 7: opi_api.storage.v1.UpdateVirtioBlkRequest.controller:type_name -> opi_api.storage.v1.VirtioBlk + 9, // 8: opi_api.storage.v1.UpdateVirtioBlkRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 9: opi_api.storage.v1.ListVirtioBlkResponse.controllers:type_name -> opi_api.storage.v1.VirtioBlk + 9, // 10: opi_api.storage.v1.GetVirtioBlkRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 11: opi_api.storage.v1.VirtioBlkStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 12: opi_api.storage.v1.VirtioBlkStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 1, // 13: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:input_type -> opi_api.storage.v1.CreateVirtioBlkRequest + 2, // 14: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:input_type -> opi_api.storage.v1.DeleteVirtioBlkRequest + 3, // 15: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:input_type -> opi_api.storage.v1.UpdateVirtioBlkRequest + 4, // 16: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlk:input_type -> opi_api.storage.v1.ListVirtioBlkRequest + 6, // 17: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:input_type -> opi_api.storage.v1.GetVirtioBlkRequest + 7, // 18: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:input_type -> opi_api.storage.v1.VirtioBlkStatsRequest + 0, // 19: opi_api.storage.v1.FrontendVirtioBlkService.CreateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 11, // 20: opi_api.storage.v1.FrontendVirtioBlkService.DeleteVirtioBlk:output_type -> google.protobuf.Empty + 0, // 21: opi_api.storage.v1.FrontendVirtioBlkService.UpdateVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 5, // 22: opi_api.storage.v1.FrontendVirtioBlkService.ListVirtioBlk:output_type -> opi_api.storage.v1.ListVirtioBlkResponse + 0, // 23: opi_api.storage.v1.FrontendVirtioBlkService.GetVirtioBlk:output_type -> opi_api.storage.v1.VirtioBlk + 8, // 24: opi_api.storage.v1.FrontendVirtioBlkService.VirtioBlkStats:output_type -> opi_api.storage.v1.VirtioBlkStatsResponse + 19, // [19:25] is the sub-list for method output_type + 13, // [13:19] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] 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 ed82d3fd..71bd82e1 100644 --- a/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go +++ b/storage/v1alpha1/gen/go/frontend_virtio_scsi.pb.go @@ -213,6 +213,7 @@ type CreateVirtioScsiTargetRequest struct { unknownFields protoimpl.UnknownFields Target *VirtioScsiTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateVirtioScsiTargetRequest) Reset() { @@ -254,12 +255,20 @@ func (x *CreateVirtioScsiTargetRequest) GetTarget() *VirtioScsiTarget { return nil } +func (x *CreateVirtioScsiTargetRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteVirtioScsiTargetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields TargetId *_go.ObjectKey `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteVirtioScsiTargetRequest) Reset() { @@ -301,12 +310,20 @@ func (x *DeleteVirtioScsiTargetRequest) GetTargetId() *_go.ObjectKey { return nil } +func (x *DeleteVirtioScsiTargetRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateVirtioScsiTargetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Target *VirtioScsiTarget `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateVirtioScsiTargetRequest) Reset() { @@ -348,6 +365,13 @@ func (x *UpdateVirtioScsiTargetRequest) GetTarget() *VirtioScsiTarget { return nil } +func (x *UpdateVirtioScsiTargetRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListVirtioScsiTargetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -613,6 +637,7 @@ type CreateVirtioScsiControllerRequest struct { unknownFields protoimpl.UnknownFields Controller *VirtioScsiController `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateVirtioScsiControllerRequest) Reset() { @@ -654,12 +679,20 @@ func (x *CreateVirtioScsiControllerRequest) GetController() *VirtioScsiControlle return nil } +func (x *CreateVirtioScsiControllerRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteVirtioScsiControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteVirtioScsiControllerRequest) Reset() { @@ -701,12 +734,20 @@ func (x *DeleteVirtioScsiControllerRequest) GetControllerId() *_go.ObjectKey { return nil } +func (x *DeleteVirtioScsiControllerRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateVirtioScsiControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Controller *VirtioScsiController `protobuf:"bytes,1,opt,name=controller,proto3" json:"controller,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateVirtioScsiControllerRequest) Reset() { @@ -748,6 +789,13 @@ func (x *UpdateVirtioScsiControllerRequest) GetController() *VirtioScsiControlle return nil } +func (x *UpdateVirtioScsiControllerRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListVirtioScsiControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1012,7 +1060,8 @@ type CreateVirtioScsiLunRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Lun *VirtioScsiLun `protobuf:"bytes,1,opt,name=lun,proto3" json:"lun,omitempty"` + Lun *VirtioScsiLun `protobuf:"bytes,1,opt,name=lun,proto3" json:"lun,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateVirtioScsiLunRequest) Reset() { @@ -1054,6 +1103,13 @@ func (x *CreateVirtioScsiLunRequest) GetLun() *VirtioScsiLun { return nil } +func (x *CreateVirtioScsiLunRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteVirtioScsiLunRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1061,6 +1117,7 @@ type DeleteVirtioScsiLunRequest struct { ControllerId *_go.ObjectKey `protobuf:"bytes,1,opt,name=controller_id,json=controllerId,proto3" json:"controller_id,omitempty"` LunId *_go.ObjectKey `protobuf:"bytes,2,opt,name=lun_id,json=lunId,proto3" json:"lun_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,3,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteVirtioScsiLunRequest) Reset() { @@ -1109,12 +1166,20 @@ func (x *DeleteVirtioScsiLunRequest) GetLunId() *_go.ObjectKey { return nil } +func (x *DeleteVirtioScsiLunRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateVirtioScsiLunRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Lun *VirtioScsiLun `protobuf:"bytes,1,opt,name=lun,proto3" json:"lun,omitempty"` + Lun *VirtioScsiLun `protobuf:"bytes,1,opt,name=lun,proto3" json:"lun,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateVirtioScsiLunRequest) Reset() { @@ -1156,6 +1221,13 @@ func (x *UpdateVirtioScsiLunRequest) GetLun() *VirtioScsiLun { return nil } +func (x *UpdateVirtioScsiLunRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListVirtioScsiLunRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1476,354 +1548,384 @@ var file_frontend_virtio_scsi_proto_rawDesc = []byte{ 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, - 0x64, 0x22, 0x5d, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x22, 0x5a, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 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, 0x5d, 0x0a, 0x1d, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, - 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x59, 0x0a, 0x1b, 0x4c, - 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, - 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x07, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, - 0x57, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x59, 0x0a, 0x1c, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, + 0x64, 0x22, 0x92, 0x01, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, + 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x6d, 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, 0x48, 0x0a, - 0x0a, 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, 0x0a, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x66, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x74, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x1d, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x59, 0x0a, + 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, + 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x57, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, + 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 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, 0x59, 0x0a, 0x1c, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x49, 0x64, 0x22, 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, 0xa2, 0x01, 0x0a, 0x21, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x48, 0x0a, 0x0a, 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, 0x0a, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, + 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, + 0x9b, 0x01, 0x0a, 0x21, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0xa2, 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, 0x48, 0x0a, 0x0a, 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, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x0a, + 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, + 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x96, 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, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 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, 0x0b, 0x63, 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, 0x63, 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, 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, - 0x6d, 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, 0x48, 0x0a, 0x0a, 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, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x5d, - 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, - 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, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x96, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 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, 0x0b, 0x63, 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, 0x63, 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, 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, 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, + 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, + 0x86, 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, 0x33, + 0x0a, 0x03, 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, 0x03, + 0x6c, 0x75, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 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, 0x51, 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, 0x33, 0x0a, 0x03, 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, 0x03, 0x6c, 0x75, 0x6e, 0x22, 0x94, - 0x01, 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, 0x41, 0x0a, - 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, - 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, - 0x6c, 0x75, 0x6e, 0x49, 0x64, 0x22, 0x51, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, + 0x79, 0x52, 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0xc9, 0x01, 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, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x75, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x6c, 0x75, 0x6e, 0x49, 0x64, 0x12, + 0x33, 0x0a, 0x06, 0x74, 0x78, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x74, + 0x78, 0x6e, 0x49, 0x64, 0x22, 0x86, 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, 0x33, 0x0a, 0x03, 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, 0x03, 0x6c, 0x75, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, + 0x4c, 0x75, 0x6e, 0x52, 0x03, 0x6c, 0x75, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x99, 0x01, + 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x4c, 0x75, 0x6e, 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, 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, 0x7a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 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, 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, 0x7a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x35, 0x0a, 0x04, 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, 0x04, 0x6c, 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, 0x91, 0x01, 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, 0x41, 0x0a, 0x0d, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, - 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x33, 0x0a, 0x06, 0x6c, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x6c, - 0x75, 0x6e, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x19, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, - 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x75, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x4b, 0x65, 0x79, 0x52, 0x05, 0x6c, 0x75, 0x6e, 0x49, 0x64, 0x22, 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, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 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, 0x04, 0x6c, 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, 0x91, 0x01, 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, 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, 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, 0xd7, 0x15, 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, 0xa2, 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, 0x2f, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x3a, 0x10, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, - 0x95, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x65, 0x79, 0x52, 0x05, 0x6c, 0x75, 0x6e, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x19, 0x56, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0c, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x75, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x6c, 0x75, 0x6e, 0x49, 0x64, 0x22, + 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, 0xd7, 0x15, 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, + 0xa2, 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, - 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, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, - 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x12, 0xa2, 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, 0x2f, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x29, 0x32, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, - 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x3a, 0x10, 0x76, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x98, 0x01, 0x0a, - 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 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, 0x56, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 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, - 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, - 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x9d, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, + 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, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x15, 0x2f, 0x76, 0x31, + 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x73, 0x3a, 0x10, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x95, 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, - 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, - 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x12, 0x7e, 0x0a, 0x15, 0x56, 0x69, 0x72, 0x74, 0x69, + 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, 0x30, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, + 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x12, 0xa2, 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, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x32, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, + 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x3a, + 0x10, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x12, 0x98, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 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, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 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, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x9d, 0x01, 0x0a, + 0x13, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x53, 0x63, 0x73, 0x69, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, + 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x73, 0x63, 0x73, 0x69, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 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, - 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, + 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, 0xaa, 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, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xaa, 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, + 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x2b, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x25, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, + 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x3a, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x12, 0x99, 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, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x2a, + 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, + 0x74, 0x72, 0x6c, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, + 0x63, 0x74, 0x72, 0x6c, 0x7d, 0x12, 0xaa, 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, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x32, 0x13, 0x2f, + 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, + 0x6c, 0x73, 0x3a, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, + 0x72, 0x6c, 0x12, 0xa2, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, + 0x33, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 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, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, + 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x12, 0xa5, 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, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x76, + 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x2f, 0x7b, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x7d, 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, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, - 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, - 0x74, 0x72, 0x6c, 0x73, 0x3a, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, - 0x63, 0x74, 0x72, 0x6c, 0x12, 0x99, 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, + 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, 0x93, 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, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, + 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, + 0x75, 0x6e, 0x73, 0x3a, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, + 0x75, 0x6e, 0x12, 0x89, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, + 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x2a, 0x24, 0x2f, 0x76, 0x31, 0x2f, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x2f, - 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x7d, - 0x12, 0xaa, 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, + 0x74, 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x2a, 0x22, 0x2f, 0x76, 0x31, 0x2f, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x2f, 0x7b, + 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x7d, 0x12, 0x93, + 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, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x32, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, - 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x3a, 0x0e, 0x76, - 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x12, 0xa2, 0x01, - 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x6f, 0x70, 0x69, + 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x23, 0x32, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, + 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x3a, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, + 0x69, 0x6c, 0x75, 0x6e, 0x12, 0x8c, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, + 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2c, 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, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, - 0x63, 0x73, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, - 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, - 0x6c, 0x73, 0x12, 0xa5, 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, 0x2c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, - 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x73, 0x63, 0x73, 0x69, 0x63, 0x74, 0x72, 0x6c, 0x7d, 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, 0x93, 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, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x12, 0x2f, 0x76, 0x31, 0x2f, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x3a, 0x0d, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x12, 0x89, 0x01, - 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2a, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x2a, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, - 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x7d, 0x12, 0x93, 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, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x32, 0x12, 0x2f, 0x76, - 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, - 0x3a, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x12, - 0x8c, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, - 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2c, 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, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 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, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, - 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x12, 0x8e, - 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x4c, 0x75, 0x6e, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, - 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, - 0x4c, 0x75, 0x6e, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, - 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x73, 0x2f, - 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, 0x75, 0x6e, 0x7d, 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, + 0x4c, 0x69, 0x73, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, + 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, 0x6c, + 0x75, 0x6e, 0x73, 0x12, 0x8e, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x56, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 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, + 0x6f, 0x53, 0x63, 0x73, 0x69, 0x4c, 0x75, 0x6e, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, + 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, + 0x6c, 0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x69, 0x72, 0x74, 0x69, 0x6f, 0x73, 0x63, 0x73, 0x69, + 0x6c, 0x75, 0x6e, 0x7d, 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 ( @@ -1879,71 +1981,80 @@ var file_frontend_virtio_scsi_proto_depIdxs = []int32{ 27, // 4: opi_api.storage.v1.VirtioScsiLun.target_id:type_name -> opi_api.common.v1.ObjectKey 27, // 5: opi_api.storage.v1.VirtioScsiLun.volume_id:type_name -> opi_api.common.v1.ObjectKey 0, // 6: opi_api.storage.v1.CreateVirtioScsiTargetRequest.target:type_name -> opi_api.storage.v1.VirtioScsiTarget - 27, // 7: opi_api.storage.v1.DeleteVirtioScsiTargetRequest.target_id:type_name -> opi_api.common.v1.ObjectKey - 0, // 8: opi_api.storage.v1.UpdateVirtioScsiTargetRequest.target:type_name -> opi_api.storage.v1.VirtioScsiTarget - 0, // 9: opi_api.storage.v1.ListVirtioScsiTargetResponse.targets:type_name -> opi_api.storage.v1.VirtioScsiTarget - 27, // 10: opi_api.storage.v1.GetVirtioScsiTargetRequest.target_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 11: opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 12: opi_api.storage.v1.VirtioScsiTargetStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 1, // 13: opi_api.storage.v1.CreateVirtioScsiControllerRequest.controller:type_name -> opi_api.storage.v1.VirtioScsiController - 27, // 14: opi_api.storage.v1.DeleteVirtioScsiControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 1, // 15: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.controller:type_name -> opi_api.storage.v1.VirtioScsiController - 1, // 16: opi_api.storage.v1.ListVirtioScsiControllerResponse.controllers:type_name -> opi_api.storage.v1.VirtioScsiController - 27, // 17: opi_api.storage.v1.GetVirtioScsiControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 18: opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 19: opi_api.storage.v1.VirtioScsiControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 2, // 20: opi_api.storage.v1.CreateVirtioScsiLunRequest.lun:type_name -> opi_api.storage.v1.VirtioScsiLun - 27, // 21: opi_api.storage.v1.DeleteVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 22: opi_api.storage.v1.DeleteVirtioScsiLunRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey - 2, // 23: opi_api.storage.v1.UpdateVirtioScsiLunRequest.lun:type_name -> opi_api.storage.v1.VirtioScsiLun - 27, // 24: opi_api.storage.v1.ListVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 2, // 25: opi_api.storage.v1.ListVirtioScsiLunResponse.luns:type_name -> opi_api.storage.v1.VirtioScsiLun - 27, // 26: opi_api.storage.v1.GetVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 27: opi_api.storage.v1.GetVirtioScsiLunRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 28: opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 29: opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey - 27, // 30: opi_api.storage.v1.VirtioScsiLunStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey - 3, // 31: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:input_type -> opi_api.storage.v1.CreateVirtioScsiTargetRequest - 4, // 32: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:input_type -> opi_api.storage.v1.DeleteVirtioScsiTargetRequest - 5, // 33: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:input_type -> opi_api.storage.v1.UpdateVirtioScsiTargetRequest - 6, // 34: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTarget:input_type -> opi_api.storage.v1.ListVirtioScsiTargetRequest - 8, // 35: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:input_type -> opi_api.storage.v1.GetVirtioScsiTargetRequest - 9, // 36: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:input_type -> opi_api.storage.v1.VirtioScsiTargetStatsRequest - 11, // 37: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:input_type -> opi_api.storage.v1.CreateVirtioScsiControllerRequest - 12, // 38: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:input_type -> opi_api.storage.v1.DeleteVirtioScsiControllerRequest - 13, // 39: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:input_type -> opi_api.storage.v1.UpdateVirtioScsiControllerRequest - 14, // 40: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiController:input_type -> opi_api.storage.v1.ListVirtioScsiControllerRequest - 16, // 41: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:input_type -> opi_api.storage.v1.GetVirtioScsiControllerRequest - 17, // 42: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:input_type -> opi_api.storage.v1.VirtioScsiControllerStatsRequest - 19, // 43: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:input_type -> opi_api.storage.v1.CreateVirtioScsiLunRequest - 20, // 44: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:input_type -> opi_api.storage.v1.DeleteVirtioScsiLunRequest - 21, // 45: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:input_type -> opi_api.storage.v1.UpdateVirtioScsiLunRequest - 22, // 46: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLun:input_type -> opi_api.storage.v1.ListVirtioScsiLunRequest - 24, // 47: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:input_type -> opi_api.storage.v1.GetVirtioScsiLunRequest - 25, // 48: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:input_type -> opi_api.storage.v1.VirtioScsiLunStatsRequest - 0, // 49: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 29, // 50: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:output_type -> google.protobuf.Empty - 0, // 51: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 7, // 52: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTarget:output_type -> opi_api.storage.v1.ListVirtioScsiTargetResponse - 0, // 53: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget - 10, // 54: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:output_type -> opi_api.storage.v1.VirtioScsiTargetStatsResponse - 1, // 55: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 29, // 56: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:output_type -> google.protobuf.Empty - 1, // 57: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 15, // 58: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiController:output_type -> opi_api.storage.v1.ListVirtioScsiControllerResponse - 1, // 59: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController - 18, // 60: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:output_type -> opi_api.storage.v1.VirtioScsiControllerStatsResponse - 2, // 61: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 29, // 62: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:output_type -> google.protobuf.Empty - 2, // 63: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 23, // 64: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLun:output_type -> opi_api.storage.v1.ListVirtioScsiLunResponse - 2, // 65: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun - 26, // 66: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:output_type -> opi_api.storage.v1.VirtioScsiLunStatsResponse - 49, // [49:67] is the sub-list for method output_type - 31, // [31:49] is the sub-list for method input_type - 31, // [31:31] is the sub-list for extension type_name - 31, // [31:31] is the sub-list for extension extendee - 0, // [0:31] is the sub-list for field type_name + 27, // 7: opi_api.storage.v1.CreateVirtioScsiTargetRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 8: opi_api.storage.v1.DeleteVirtioScsiTargetRequest.target_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 9: opi_api.storage.v1.DeleteVirtioScsiTargetRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 10: opi_api.storage.v1.UpdateVirtioScsiTargetRequest.target:type_name -> opi_api.storage.v1.VirtioScsiTarget + 27, // 11: opi_api.storage.v1.UpdateVirtioScsiTargetRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 12: opi_api.storage.v1.ListVirtioScsiTargetResponse.targets:type_name -> opi_api.storage.v1.VirtioScsiTarget + 27, // 13: opi_api.storage.v1.GetVirtioScsiTargetRequest.target_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 14: opi_api.storage.v1.VirtioScsiTargetStatsRequest.target_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 15: opi_api.storage.v1.VirtioScsiTargetStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 1, // 16: opi_api.storage.v1.CreateVirtioScsiControllerRequest.controller:type_name -> opi_api.storage.v1.VirtioScsiController + 27, // 17: opi_api.storage.v1.CreateVirtioScsiControllerRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 18: opi_api.storage.v1.DeleteVirtioScsiControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 19: opi_api.storage.v1.DeleteVirtioScsiControllerRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 1, // 20: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.controller:type_name -> opi_api.storage.v1.VirtioScsiController + 27, // 21: opi_api.storage.v1.UpdateVirtioScsiControllerRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 1, // 22: opi_api.storage.v1.ListVirtioScsiControllerResponse.controllers:type_name -> opi_api.storage.v1.VirtioScsiController + 27, // 23: opi_api.storage.v1.GetVirtioScsiControllerRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 24: opi_api.storage.v1.VirtioScsiControllerStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 25: opi_api.storage.v1.VirtioScsiControllerStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 2, // 26: opi_api.storage.v1.CreateVirtioScsiLunRequest.lun:type_name -> opi_api.storage.v1.VirtioScsiLun + 27, // 27: opi_api.storage.v1.CreateVirtioScsiLunRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 28: opi_api.storage.v1.DeleteVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 29: opi_api.storage.v1.DeleteVirtioScsiLunRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 30: opi_api.storage.v1.DeleteVirtioScsiLunRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 2, // 31: opi_api.storage.v1.UpdateVirtioScsiLunRequest.lun:type_name -> opi_api.storage.v1.VirtioScsiLun + 27, // 32: opi_api.storage.v1.UpdateVirtioScsiLunRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 33: opi_api.storage.v1.ListVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 2, // 34: opi_api.storage.v1.ListVirtioScsiLunResponse.luns:type_name -> opi_api.storage.v1.VirtioScsiLun + 27, // 35: opi_api.storage.v1.GetVirtioScsiLunRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 36: opi_api.storage.v1.GetVirtioScsiLunRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 37: opi_api.storage.v1.VirtioScsiLunStatsRequest.controller_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 38: opi_api.storage.v1.VirtioScsiLunStatsRequest.lun_id:type_name -> opi_api.common.v1.ObjectKey + 27, // 39: opi_api.storage.v1.VirtioScsiLunStatsResponse.id:type_name -> opi_api.common.v1.ObjectKey + 3, // 40: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:input_type -> opi_api.storage.v1.CreateVirtioScsiTargetRequest + 4, // 41: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:input_type -> opi_api.storage.v1.DeleteVirtioScsiTargetRequest + 5, // 42: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:input_type -> opi_api.storage.v1.UpdateVirtioScsiTargetRequest + 6, // 43: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTarget:input_type -> opi_api.storage.v1.ListVirtioScsiTargetRequest + 8, // 44: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:input_type -> opi_api.storage.v1.GetVirtioScsiTargetRequest + 9, // 45: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:input_type -> opi_api.storage.v1.VirtioScsiTargetStatsRequest + 11, // 46: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:input_type -> opi_api.storage.v1.CreateVirtioScsiControllerRequest + 12, // 47: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:input_type -> opi_api.storage.v1.DeleteVirtioScsiControllerRequest + 13, // 48: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:input_type -> opi_api.storage.v1.UpdateVirtioScsiControllerRequest + 14, // 49: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiController:input_type -> opi_api.storage.v1.ListVirtioScsiControllerRequest + 16, // 50: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:input_type -> opi_api.storage.v1.GetVirtioScsiControllerRequest + 17, // 51: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:input_type -> opi_api.storage.v1.VirtioScsiControllerStatsRequest + 19, // 52: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:input_type -> opi_api.storage.v1.CreateVirtioScsiLunRequest + 20, // 53: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:input_type -> opi_api.storage.v1.DeleteVirtioScsiLunRequest + 21, // 54: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:input_type -> opi_api.storage.v1.UpdateVirtioScsiLunRequest + 22, // 55: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLun:input_type -> opi_api.storage.v1.ListVirtioScsiLunRequest + 24, // 56: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:input_type -> opi_api.storage.v1.GetVirtioScsiLunRequest + 25, // 57: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:input_type -> opi_api.storage.v1.VirtioScsiLunStatsRequest + 0, // 58: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 29, // 59: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiTarget:output_type -> google.protobuf.Empty + 0, // 60: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 7, // 61: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiTarget:output_type -> opi_api.storage.v1.ListVirtioScsiTargetResponse + 0, // 62: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiTarget:output_type -> opi_api.storage.v1.VirtioScsiTarget + 10, // 63: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiTargetStats:output_type -> opi_api.storage.v1.VirtioScsiTargetStatsResponse + 1, // 64: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 29, // 65: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiController:output_type -> google.protobuf.Empty + 1, // 66: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 15, // 67: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiController:output_type -> opi_api.storage.v1.ListVirtioScsiControllerResponse + 1, // 68: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiController:output_type -> opi_api.storage.v1.VirtioScsiController + 18, // 69: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiControllerStats:output_type -> opi_api.storage.v1.VirtioScsiControllerStatsResponse + 2, // 70: opi_api.storage.v1.FrontendVirtioScsiService.CreateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 29, // 71: opi_api.storage.v1.FrontendVirtioScsiService.DeleteVirtioScsiLun:output_type -> google.protobuf.Empty + 2, // 72: opi_api.storage.v1.FrontendVirtioScsiService.UpdateVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 23, // 73: opi_api.storage.v1.FrontendVirtioScsiService.ListVirtioScsiLun:output_type -> opi_api.storage.v1.ListVirtioScsiLunResponse + 2, // 74: opi_api.storage.v1.FrontendVirtioScsiService.GetVirtioScsiLun:output_type -> opi_api.storage.v1.VirtioScsiLun + 26, // 75: opi_api.storage.v1.FrontendVirtioScsiService.VirtioScsiLunStats:output_type -> opi_api.storage.v1.VirtioScsiLunStatsResponse + 58, // [58:76] is the sub-list for method output_type + 40, // [40:58] is the sub-list for method input_type + 40, // [40:40] is the sub-list for extension type_name + 40, // [40:40] is the sub-list for extension extendee + 0, // [0:40] 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 e78525ec..336a8daa 100644 --- a/storage/v1alpha1/gen/go/middleend.pb.go +++ b/storage/v1alpha1/gen/go/middleend.pb.go @@ -109,7 +109,8 @@ type CreateCryptoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Volume *Crypto `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` + Volume *Crypto `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *CreateCryptoRequest) Reset() { @@ -151,12 +152,20 @@ func (x *CreateCryptoRequest) GetVolume() *Crypto { return nil } +func (x *CreateCryptoRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type DeleteCryptoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CryptoId *_go.ObjectKey `protobuf:"bytes,1,opt,name=crypto_id,json=cryptoId,proto3" json:"crypto_id,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *DeleteCryptoRequest) Reset() { @@ -198,12 +207,20 @@ func (x *DeleteCryptoRequest) GetCryptoId() *_go.ObjectKey { return nil } +func (x *DeleteCryptoRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type UpdateCryptoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Volume *Crypto `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` + Volume *Crypto `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` + TxnId *_go.ObjectKey `protobuf:"bytes,2,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` } func (x *UpdateCryptoRequest) Reset() { @@ -245,6 +262,13 @@ func (x *UpdateCryptoRequest) GetVolume() *Crypto { return nil } +func (x *UpdateCryptoRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + type ListCryptoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -527,22 +551,32 @@ var file_middleend_proto_rawDesc = []byte{ 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x79, 0x70, - 0x74, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x22, 0x49, + 0x74, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x22, 0x7e, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, - 0x6f, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x13, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x39, 0x0a, 0x09, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 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, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x49, 0x64, 0x22, 0x49, 0x0a, 0x13, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x06, - 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, + 0x6f, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x85, + 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, + 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, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x49, + 0x64, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x7e, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, + 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 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, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x4f, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, @@ -655,29 +689,32 @@ var file_middleend_proto_depIdxs = []int32{ 9, // 1: opi_api.storage.v1.Crypto.volume_id:type_name -> opi_api.common.v1.ObjectKey 10, // 2: opi_api.storage.v1.Crypto.cipher:type_name -> opi_api.storage.v1.CryptoType 0, // 3: opi_api.storage.v1.CreateCryptoRequest.volume:type_name -> opi_api.storage.v1.Crypto - 9, // 4: opi_api.storage.v1.DeleteCryptoRequest.crypto_id:type_name -> opi_api.common.v1.ObjectKey - 0, // 5: opi_api.storage.v1.UpdateCryptoRequest.volume:type_name -> opi_api.storage.v1.Crypto - 0, // 6: opi_api.storage.v1.ListCryptoResponse.volumes:type_name -> opi_api.storage.v1.Crypto - 9, // 7: opi_api.storage.v1.GetCryptoRequest.crypto_id:type_name -> opi_api.common.v1.ObjectKey - 9, // 8: opi_api.storage.v1.CryptoStatsRequest.crypto_id:type_name -> opi_api.common.v1.ObjectKey - 9, // 9: opi_api.storage.v1.CryptoStatsResponse.crypto_id:type_name -> opi_api.common.v1.ObjectKey - 1, // 10: opi_api.storage.v1.MiddleendService.CreateCrypto:input_type -> opi_api.storage.v1.CreateCryptoRequest - 2, // 11: opi_api.storage.v1.MiddleendService.DeleteCrypto:input_type -> opi_api.storage.v1.DeleteCryptoRequest - 3, // 12: opi_api.storage.v1.MiddleendService.UpdateCrypto:input_type -> opi_api.storage.v1.UpdateCryptoRequest - 4, // 13: opi_api.storage.v1.MiddleendService.ListCrypto:input_type -> opi_api.storage.v1.ListCryptoRequest - 6, // 14: opi_api.storage.v1.MiddleendService.GetCrypto:input_type -> opi_api.storage.v1.GetCryptoRequest - 7, // 15: opi_api.storage.v1.MiddleendService.CryptoStats:input_type -> opi_api.storage.v1.CryptoStatsRequest - 0, // 16: opi_api.storage.v1.MiddleendService.CreateCrypto:output_type -> opi_api.storage.v1.Crypto - 11, // 17: opi_api.storage.v1.MiddleendService.DeleteCrypto:output_type -> google.protobuf.Empty - 0, // 18: opi_api.storage.v1.MiddleendService.UpdateCrypto:output_type -> opi_api.storage.v1.Crypto - 5, // 19: opi_api.storage.v1.MiddleendService.ListCrypto:output_type -> opi_api.storage.v1.ListCryptoResponse - 0, // 20: opi_api.storage.v1.MiddleendService.GetCrypto:output_type -> opi_api.storage.v1.Crypto - 8, // 21: opi_api.storage.v1.MiddleendService.CryptoStats:output_type -> opi_api.storage.v1.CryptoStatsResponse - 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 + 9, // 4: opi_api.storage.v1.CreateCryptoRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 5: opi_api.storage.v1.DeleteCryptoRequest.crypto_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 6: opi_api.storage.v1.DeleteCryptoRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 7: opi_api.storage.v1.UpdateCryptoRequest.volume:type_name -> opi_api.storage.v1.Crypto + 9, // 8: opi_api.storage.v1.UpdateCryptoRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 0, // 9: opi_api.storage.v1.ListCryptoResponse.volumes:type_name -> opi_api.storage.v1.Crypto + 9, // 10: opi_api.storage.v1.GetCryptoRequest.crypto_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 11: opi_api.storage.v1.CryptoStatsRequest.crypto_id:type_name -> opi_api.common.v1.ObjectKey + 9, // 12: opi_api.storage.v1.CryptoStatsResponse.crypto_id:type_name -> opi_api.common.v1.ObjectKey + 1, // 13: opi_api.storage.v1.MiddleendService.CreateCrypto:input_type -> opi_api.storage.v1.CreateCryptoRequest + 2, // 14: opi_api.storage.v1.MiddleendService.DeleteCrypto:input_type -> opi_api.storage.v1.DeleteCryptoRequest + 3, // 15: opi_api.storage.v1.MiddleendService.UpdateCrypto:input_type -> opi_api.storage.v1.UpdateCryptoRequest + 4, // 16: opi_api.storage.v1.MiddleendService.ListCrypto:input_type -> opi_api.storage.v1.ListCryptoRequest + 6, // 17: opi_api.storage.v1.MiddleendService.GetCrypto:input_type -> opi_api.storage.v1.GetCryptoRequest + 7, // 18: opi_api.storage.v1.MiddleendService.CryptoStats:input_type -> opi_api.storage.v1.CryptoStatsRequest + 0, // 19: opi_api.storage.v1.MiddleendService.CreateCrypto:output_type -> opi_api.storage.v1.Crypto + 11, // 20: opi_api.storage.v1.MiddleendService.DeleteCrypto:output_type -> google.protobuf.Empty + 0, // 21: opi_api.storage.v1.MiddleendService.UpdateCrypto:output_type -> opi_api.storage.v1.Crypto + 5, // 22: opi_api.storage.v1.MiddleendService.ListCrypto:output_type -> opi_api.storage.v1.ListCryptoResponse + 0, // 23: opi_api.storage.v1.MiddleendService.GetCrypto:output_type -> opi_api.storage.v1.Crypto + 8, // 24: opi_api.storage.v1.MiddleendService.CryptoStats:output_type -> opi_api.storage.v1.CryptoStatsResponse + 19, // [19:25] is the sub-list for method output_type + 13, // [13:19] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name } func init() { file_middleend_proto_init() } diff --git a/storage/v1alpha1/gen/go/transactions.pb.go b/storage/v1alpha1/gen/go/transactions.pb.go new file mode 100644 index 00000000..a768f7aa --- /dev/null +++ b/storage/v1alpha1/gen/go/transactions.pb.go @@ -0,0 +1,537 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright (c) 2022 Intel Corporation + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.19.4 +// source: transactions.proto + +package _go + +import ( + context "context" + _go "github.com/opiproject/opi-api/common/v1/gen/go" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + emptypb "google.golang.org/protobuf/types/known/emptypb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Transaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TxnId *_go.ObjectKey `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` +} + +func (x *Transaction) Reset() { + *x = Transaction{} + if protoimpl.UnsafeEnabled { + mi := &file_transactions_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction) ProtoMessage() {} + +func (x *Transaction) ProtoReflect() protoreflect.Message { + mi := &file_transactions_proto_msgTypes[0] + 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 Transaction.ProtoReflect.Descriptor instead. +func (*Transaction) Descriptor() ([]byte, []int) { + return file_transactions_proto_rawDescGZIP(), []int{0} +} + +func (x *Transaction) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + +type CreateTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateTransactionRequest) Reset() { + *x = CreateTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transactions_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTransactionRequest) ProtoMessage() {} + +func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transactions_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 CreateTransactionRequest.ProtoReflect.Descriptor instead. +func (*CreateTransactionRequest) Descriptor() ([]byte, []int) { + return file_transactions_proto_rawDescGZIP(), []int{1} +} + +type DeleteTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TxnId *_go.ObjectKey `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` +} + +func (x *DeleteTransactionRequest) Reset() { + *x = DeleteTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transactions_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTransactionRequest) ProtoMessage() {} + +func (x *DeleteTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transactions_proto_msgTypes[2] + 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 DeleteTransactionRequest.ProtoReflect.Descriptor instead. +func (*DeleteTransactionRequest) Descriptor() ([]byte, []int) { + return file_transactions_proto_rawDescGZIP(), []int{2} +} + +func (x *DeleteTransactionRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + +type ExecuteTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TxnId *_go.ObjectKey `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` +} + +func (x *ExecuteTransactionRequest) Reset() { + *x = ExecuteTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transactions_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteTransactionRequest) ProtoMessage() {} + +func (x *ExecuteTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transactions_proto_msgTypes[3] + 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 ExecuteTransactionRequest.ProtoReflect.Descriptor instead. +func (*ExecuteTransactionRequest) Descriptor() ([]byte, []int) { + return file_transactions_proto_rawDescGZIP(), []int{3} +} + +func (x *ExecuteTransactionRequest) GetTxnId() *_go.ObjectKey { + if x != nil { + return x.TxnId + } + return nil +} + +var File_transactions_proto protoreflect.FileDescriptor + +var file_transactions_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 0x6e, 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, 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4f, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 0x6e, 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, + 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x22, 0x50, 0x0a, 0x19, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x74, 0x78, 0x6e, 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, 0x05, 0x74, 0x78, 0x6e, 0x49, 0x64, 0x32, 0xa8, 0x03, 0x0a, 0x12, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x89, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 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, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x10, 0x2f, 0x76, + 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0b, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x80, 0x01, 0x0a, 0x11, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x2c, 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, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 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, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, + 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x3a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, + 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 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, 0x25, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x60, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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 ( + file_transactions_proto_rawDescOnce sync.Once + file_transactions_proto_rawDescData = file_transactions_proto_rawDesc +) + +func file_transactions_proto_rawDescGZIP() []byte { + file_transactions_proto_rawDescOnce.Do(func() { + file_transactions_proto_rawDescData = protoimpl.X.CompressGZIP(file_transactions_proto_rawDescData) + }) + return file_transactions_proto_rawDescData +} + +var file_transactions_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_transactions_proto_goTypes = []interface{}{ + (*Transaction)(nil), // 0: opi_api.storage.v1.Transaction + (*CreateTransactionRequest)(nil), // 1: opi_api.storage.v1.CreateTransactionRequest + (*DeleteTransactionRequest)(nil), // 2: opi_api.storage.v1.DeleteTransactionRequest + (*ExecuteTransactionRequest)(nil), // 3: opi_api.storage.v1.ExecuteTransactionRequest + (*_go.ObjectKey)(nil), // 4: opi_api.common.v1.ObjectKey + (*emptypb.Empty)(nil), // 5: google.protobuf.Empty +} +var file_transactions_proto_depIdxs = []int32{ + 4, // 0: opi_api.storage.v1.Transaction.txn_id:type_name -> opi_api.common.v1.ObjectKey + 4, // 1: opi_api.storage.v1.DeleteTransactionRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 4, // 2: opi_api.storage.v1.ExecuteTransactionRequest.txn_id:type_name -> opi_api.common.v1.ObjectKey + 1, // 3: opi_api.storage.v1.TransactionService.CreateTransaction:input_type -> opi_api.storage.v1.CreateTransactionRequest + 2, // 4: opi_api.storage.v1.TransactionService.DeleteTransaction:input_type -> opi_api.storage.v1.DeleteTransactionRequest + 3, // 5: opi_api.storage.v1.TransactionService.ExecuteTransaction:input_type -> opi_api.storage.v1.ExecuteTransactionRequest + 0, // 6: opi_api.storage.v1.TransactionService.CreateTransaction:output_type -> opi_api.storage.v1.Transaction + 5, // 7: opi_api.storage.v1.TransactionService.DeleteTransaction:output_type -> google.protobuf.Empty + 5, // 8: opi_api.storage.v1.TransactionService.ExecuteTransaction:output_type -> google.protobuf.Empty + 6, // [6:9] is the sub-list for method output_type + 3, // [3:6] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_transactions_proto_init() } +func file_transactions_proto_init() { + if File_transactions_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_transactions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transactions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transactions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transactions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteTransactionRequest); 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{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_transactions_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_transactions_proto_goTypes, + DependencyIndexes: file_transactions_proto_depIdxs, + MessageInfos: file_transactions_proto_msgTypes, + }.Build() + File_transactions_proto = out.File + file_transactions_proto_rawDesc = nil + file_transactions_proto_goTypes = nil + file_transactions_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// TransactionServiceClient is the client API for TransactionService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type TransactionServiceClient interface { + CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) + DeleteTransaction(ctx context.Context, in *DeleteTransactionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ExecuteTransaction(ctx context.Context, in *ExecuteTransactionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) +} + +type transactionServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewTransactionServiceClient(cc grpc.ClientConnInterface) TransactionServiceClient { + return &transactionServiceClient{cc} +} + +func (c *transactionServiceClient) CreateTransaction(ctx context.Context, in *CreateTransactionRequest, opts ...grpc.CallOption) (*Transaction, error) { + out := new(Transaction) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.TransactionService/CreateTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *transactionServiceClient) DeleteTransaction(ctx context.Context, in *DeleteTransactionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.TransactionService/DeleteTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *transactionServiceClient) ExecuteTransaction(ctx context.Context, in *ExecuteTransactionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.TransactionService/ExecuteTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TransactionServiceServer is the server API for TransactionService service. +type TransactionServiceServer interface { + CreateTransaction(context.Context, *CreateTransactionRequest) (*Transaction, error) + DeleteTransaction(context.Context, *DeleteTransactionRequest) (*emptypb.Empty, error) + ExecuteTransaction(context.Context, *ExecuteTransactionRequest) (*emptypb.Empty, error) +} + +// UnimplementedTransactionServiceServer can be embedded to have forward compatible implementations. +type UnimplementedTransactionServiceServer struct { +} + +func (*UnimplementedTransactionServiceServer) CreateTransaction(context.Context, *CreateTransactionRequest) (*Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction not implemented") +} +func (*UnimplementedTransactionServiceServer) DeleteTransaction(context.Context, *DeleteTransactionRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTransaction not implemented") +} +func (*UnimplementedTransactionServiceServer) ExecuteTransaction(context.Context, *ExecuteTransactionRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExecuteTransaction not implemented") +} + +func RegisterTransactionServiceServer(s *grpc.Server, srv TransactionServiceServer) { + s.RegisterService(&_TransactionService_serviceDesc, srv) +} + +func _TransactionService_CreateTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTransactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TransactionServiceServer).CreateTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/opi_api.storage.v1.TransactionService/CreateTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TransactionServiceServer).CreateTransaction(ctx, req.(*CreateTransactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TransactionService_DeleteTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteTransactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TransactionServiceServer).DeleteTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/opi_api.storage.v1.TransactionService/DeleteTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TransactionServiceServer).DeleteTransaction(ctx, req.(*DeleteTransactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TransactionService_ExecuteTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExecuteTransactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TransactionServiceServer).ExecuteTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/opi_api.storage.v1.TransactionService/ExecuteTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TransactionServiceServer).ExecuteTransaction(ctx, req.(*ExecuteTransactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _TransactionService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "opi_api.storage.v1.TransactionService", + HandlerType: (*TransactionServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateTransaction", + Handler: _TransactionService_CreateTransaction_Handler, + }, + { + MethodName: "DeleteTransaction", + Handler: _TransactionService_DeleteTransaction_Handler, + }, + { + MethodName: "ExecuteTransaction", + Handler: _TransactionService_ExecuteTransaction_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "transactions.proto", +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java index 62fdf0b8..7be600bc 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java @@ -61,6 +61,19 @@ private AioControllerCreateRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder() { return getDevice(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (device_ != null) { output.writeMessage(1, getDevice()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDevice()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getDevice() .equals(other.getDevice())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + DEVICE_FIELD_NUMBER; hash = (53 * hash) + getDevice().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { device_ = null; deviceBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.AioControllerCreateRequest buildPartial() { } else { result.device_ = deviceBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.AioControllerCreateRequest other) { if (other.hasDevice()) { mergeDevice(other.getDevice()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder() { } return deviceBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java index 264c99e1..29544e87 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface AioControllerCreateRequestOrBuilder extends * .opi_api.storage.v1.AioController device = 1; */ opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java index a6a020a4..33b8495a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java @@ -61,6 +61,19 @@ private AioControllerDeleteRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { return getHandle(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (handle_ != null) { output.writeMessage(1, getHandle()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHandle()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getHandle() .equals(other.getHandle())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + HANDLE_FIELD_NUMBER; hash = (53 * hash) + getHandle().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { handle_ = null; handleBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.AioControllerDeleteRequest buildPartial() { } else { result.handle_ = handleBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.AioControllerDeleteRequest other) { if (other.hasHandle()) { mergeHandle(other.getHandle()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { } return handleBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java index d3195d73..aea772bc 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface AioControllerDeleteRequestOrBuilder extends * .opi_api.common.v1.ObjectKey handle = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java index 0d5ece44..2f880401 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java @@ -61,6 +61,19 @@ private AioControllerUpdateRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder() { return getDevice(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (device_ != null) { output.writeMessage(1, getDevice()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDevice()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getDevice() .equals(other.getDevice())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + DEVICE_FIELD_NUMBER; hash = (53 * hash) + getDevice().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { device_ = null; deviceBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.AioControllerUpdateRequest buildPartial() { } else { result.device_ = deviceBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.AioControllerUpdateRequest other) { if (other.hasDevice()) { mergeDevice(other.getDevice()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder() { } return deviceBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java index 7ab94431..752bb0ed 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface AioControllerUpdateRequestOrBuilder extends * .opi_api.storage.v1.AioController device = 1; */ opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } 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 dc83501b..760da21a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java @@ -79,43 +79,46 @@ public static void registerAllExtensions( "handle\030\001 \001(\0132\034.opi_api.common.v1.ObjectK" + "ey\022\022\n\nblock_size\030\002 \001(\003\022\024\n\014blocks_count\030\003" + " \001(\003\022%\n\004uuid\030\004 \001(\0132\027.opi_api.common.v1.U" + - "uid\022\020\n\010filename\030\005 \001(\t\"O\n\032AioControllerCr" + + "uid\022\020\n\010filename\030\005 \001(\t\"}\n\032AioControllerCr" + "eateRequest\0221\n\006device\030\001 \001(\0132!.opi_api.st" + - "orage.v1.AioController\"J\n\032AioControllerD" + - "eleteRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.c" + - "ommon.v1.ObjectKey\"O\n\032AioControllerUpdat" + - "eRequest\0221\n\006device\030\001 \001(\0132!.opi_api.stora" + - "ge.v1.AioController\"F\n\021AioControllerList" + - "\0221\n\006device\030\001 \003(\0132!.opi_api.storage.v1.Ai" + - "oController\"G\n\027AioControllerGetRequest\022," + - "\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Objec" + - "tKey\"\035\n\033AioControllerGetListRequest\"L\n\034A" + - "ioControllerGetStatsRequest\022,\n\006handle\030\001 " + - "\001(\0132\034.opi_api.common.v1.ObjectKey\"I\n\031Aio" + - "ControllerStatsRequest\022,\n\006handle\030\001 \001(\0132\034" + - ".opi_api.common.v1.ObjectKey\"Q\n\022AioContr" + - "ollerStats\022,\n\006handle\030\001 \001(\0132\034.opi_api.com" + - "mon.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\234\005\n\024AioC" + - "ontrollerService\022j\n\023AioControllerCreate\022" + - "..opi_api.storage.v1.AioControllerCreate" + - "Request\032!.opi_api.storage.v1.AioControll" + - "er\"\000\022_\n\023AioControllerDelete\022..opi_api.st" + - "orage.v1.AioControllerDeleteRequest\032\026.go" + - "ogle.protobuf.Empty\"\000\022d\n\020AioControllerGe" + - "t\022+.opi_api.storage.v1.AioControllerGetR" + - "equest\032!.opi_api.storage.v1.AioControlle" + - "r\"\000\022p\n\024AioControllerGetList\022/.opi_api.st" + - "orage.v1.AioControllerGetListRequest\032%.o" + - "pi_api.storage.v1.AioControllerList\"\000\022s\n" + - "\025AioControllerGetStats\0220.opi_api.storage" + - ".v1.AioControllerGetStatsRequest\032&.opi_a" + - "pi.storage.v1.AioControllerStats\"\000\022j\n\023Ai" + - "oControllerUpdate\022..opi_api.storage.v1.A" + - "ioControllerUpdateRequest\032!.opi_api.stor" + - "age.v1.AioController\"\000B^\n\022opi_api.storag" + - "e.v1B\017BackendAioProtoP\001Z5github.com/opip" + - "roject/opi-api/storage/v1alpha1/gen/gob\006" + - "proto3" + "orage.v1.AioController\022,\n\006txn_id\030\002 \001(\0132\034" + + ".opi_api.common.v1.ObjectKey\"x\n\032AioContr" + + "ollerDeleteRequest\022,\n\006handle\030\001 \001(\0132\034.opi" + + "_api.common.v1.ObjectKey\022,\n\006txn_id\030\002 \001(\013" + + "2\034.opi_api.common.v1.ObjectKey\"}\n\032AioCon" + + "trollerUpdateRequest\0221\n\006device\030\001 \001(\0132!.o" + + "pi_api.storage.v1.AioController\022,\n\006txn_i" + + "d\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"F\n" + + "\021AioControllerList\0221\n\006device\030\001 \003(\0132!.opi" + + "_api.storage.v1.AioController\"G\n\027AioCont" + + "rollerGetRequest\022,\n\006handle\030\001 \001(\0132\034.opi_a" + + "pi.common.v1.ObjectKey\"\035\n\033AioControllerG" + + "etListRequest\"L\n\034AioControllerGetStatsRe" + + "quest\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v" + + "1.ObjectKey\"I\n\031AioControllerStatsRequest" + + "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj" + + "ectKey\"Q\n\022AioControllerStats\022,\n\006handle\030\001" + + " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + + "ats\030\002 \001(\t2\234\005\n\024AioControllerService\022j\n\023Ai" + + "oControllerCreate\022..opi_api.storage.v1.A" + + "ioControllerCreateRequest\032!.opi_api.stor" + + "age.v1.AioController\"\000\022_\n\023AioControllerD" + + "elete\022..opi_api.storage.v1.AioController" + + "DeleteRequest\032\026.google.protobuf.Empty\"\000\022" + + "d\n\020AioControllerGet\022+.opi_api.storage.v1" + + ".AioControllerGetRequest\032!.opi_api.stora" + + "ge.v1.AioController\"\000\022p\n\024AioControllerGe" + + "tList\022/.opi_api.storage.v1.AioController" + + "GetListRequest\032%.opi_api.storage.v1.AioC" + + "ontrollerList\"\000\022s\n\025AioControllerGetStats" + + "\0220.opi_api.storage.v1.AioControllerGetSt" + + "atsRequest\032&.opi_api.storage.v1.AioContr" + + "ollerStats\"\000\022j\n\023AioControllerUpdate\022..op" + + "i_api.storage.v1.AioControllerUpdateRequ" + + "est\032!.opi_api.storage.v1.AioController\"\000" + + "B^\n\022opi_api.storage.v1B\017BackendAioProtoP" + + "\001Z5github.com/opiproject/opi-api/storage" + + "/v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -135,19 +138,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_AioControllerCreateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor, - new java.lang.String[] { "Device", }); + new java.lang.String[] { "Device", "TxnId", }); internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_opi_api_storage_v1_AioControllerDeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor, - new java.lang.String[] { "Handle", }); + new java.lang.String[] { "Handle", "TxnId", }); internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_opi_api_storage_v1_AioControllerUpdateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor, - new java.lang.String[] { "Device", }); + new java.lang.String[] { "Device", "TxnId", }); internal_static_opi_api_storage_v1_AioControllerList_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_opi_api_storage_v1_AioControllerList_fieldAccessorTable = new 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 1169430e..75ff2de0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java @@ -74,38 +74,41 @@ public static void registerAllExtensions( "dle\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\004uuid\030\004 \001(\0132\027.opi_api.common.v1.Uuid" + - "\"G\n\026NullDebugCreateRequest\022-\n\006device\030\001 \001" + - "(\0132\035.opi_api.storage.v1.NullDebug\"F\n\026Nul" + - "lDebugDeleteRequest\022,\n\006handle\030\001 \001(\0132\034.op" + - "i_api.common.v1.ObjectKey\"G\n\026NullDebugUp" + - "dateRequest\022-\n\006device\030\001 \001(\0132\035.opi_api.st" + - "orage.v1.NullDebug\"\026\n\024NullDebugListReque" + - "st\"F\n\025NullDebugListResponse\022-\n\006device\030\001 " + - "\003(\0132\035.opi_api.storage.v1.NullDebug\"C\n\023Nu" + - "llDebugGetRequest\022,\n\006handle\030\001 \001(\0132\034.opi_" + - "api.common.v1.ObjectKey\"E\n\025NullDebugStat" + - "sRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.commo" + - "n.v1.ObjectKey\"U\n\026NullDebugStatsResponse" + - "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj" + - "ectKey\022\r\n\005stats\030\002 \001(\t2\330\004\n\020NullDebugServi" + - "ce\022^\n\017NullDebugCreate\022*.opi_api.storage." + - "v1.NullDebugCreateRequest\032\035.opi_api.stor" + - "age.v1.NullDebug\"\000\022W\n\017NullDebugDelete\022*." + - "opi_api.storage.v1.NullDebugDeleteReques" + - "t\032\026.google.protobuf.Empty\"\000\022^\n\017NullDebug" + - "Update\022*.opi_api.storage.v1.NullDebugUpd" + - "ateRequest\032\035.opi_api.storage.v1.NullDebu" + - "g\"\000\022f\n\rNullDebugList\022(.opi_api.storage.v" + - "1.NullDebugListRequest\032).opi_api.storage" + - ".v1.NullDebugListResponse\"\000\022X\n\014NullDebug" + - "Get\022\'.opi_api.storage.v1.NullDebugGetReq" + - "uest\032\035.opi_api.storage.v1.NullDebug\"\000\022i\n" + - "\016NullDebugStats\022).opi_api.storage.v1.Nul" + - "lDebugStatsRequest\032*.opi_api.storage.v1." + - "NullDebugStatsResponse\"\000B_\n\022opi_api.stor" + - "age.v1B\020BackendNullProtoP\001Z5github.com/o" + - "piproject/opi-api/storage/v1alpha1/gen/g" + - "ob\006proto3" + "\"u\n\026NullDebugCreateRequest\022-\n\006device\030\001 \001" + + "(\0132\035.opi_api.storage.v1.NullDebug\022,\n\006txn" + + "_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"" + + "t\n\026NullDebugDeleteRequest\022,\n\006handle\030\001 \001(" + + "\0132\034.opi_api.common.v1.ObjectKey\022,\n\006txn_i" + + "d\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"u\n" + + "\026NullDebugUpdateRequest\022-\n\006device\030\001 \001(\0132" + + "\035.opi_api.storage.v1.NullDebug\022,\n\006txn_id" + + "\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"\026\n\024" + + "NullDebugListRequest\"F\n\025NullDebugListRes" + + "ponse\022-\n\006device\030\001 \003(\0132\035.opi_api.storage." + + "v1.NullDebug\"C\n\023NullDebugGetRequest\022,\n\006h" + + "andle\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + + "y\"E\n\025NullDebugStatsRequest\022,\n\006handle\030\001 \001" + + "(\0132\034.opi_api.common.v1.ObjectKey\"U\n\026Null" + + "DebugStatsResponse\022,\n\006handle\030\001 \001(\0132\034.opi" + + "_api.common.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2" + + "\330\004\n\020NullDebugService\022^\n\017NullDebugCreate\022" + + "*.opi_api.storage.v1.NullDebugCreateRequ" + + "est\032\035.opi_api.storage.v1.NullDebug\"\000\022W\n\017" + + "NullDebugDelete\022*.opi_api.storage.v1.Nul" + + "lDebugDeleteRequest\032\026.google.protobuf.Em" + + "pty\"\000\022^\n\017NullDebugUpdate\022*.opi_api.stora" + + "ge.v1.NullDebugUpdateRequest\032\035.opi_api.s" + + "torage.v1.NullDebug\"\000\022f\n\rNullDebugList\022(" + + ".opi_api.storage.v1.NullDebugListRequest" + + "\032).opi_api.storage.v1.NullDebugListRespo" + + "nse\"\000\022X\n\014NullDebugGet\022\'.opi_api.storage." + + "v1.NullDebugGetRequest\032\035.opi_api.storage" + + ".v1.NullDebug\"\000\022i\n\016NullDebugStats\022).opi_" + + "api.storage.v1.NullDebugStatsRequest\032*.o" + + "pi_api.storage.v1.NullDebugStatsResponse" + + "\"\000B_\n\022opi_api.storage.v1B\020BackendNullPro" + + "toP\001Z5github.com/opiproject/opi-api/stor" + + "age/v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -125,19 +128,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_NullDebugCreateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor, - new java.lang.String[] { "Device", }); + new java.lang.String[] { "Device", "TxnId", }); internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_opi_api_storage_v1_NullDebugDeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor, - new java.lang.String[] { "Handle", }); + new java.lang.String[] { "Handle", "TxnId", }); internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_opi_api_storage_v1_NullDebugUpdateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor, - new java.lang.String[] { "Device", }); + new java.lang.String[] { "Device", "TxnId", }); internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_opi_api_storage_v1_NullDebugListRequest_fieldAccessorTable = new diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequest.java index 2562f88c..7929fa5d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequest.java @@ -61,6 +61,19 @@ private CreateCryptoRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.CryptoOrBuilder getVolumeOrBuilder() { return getVolume(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (volume_ != null) { output.writeMessage(1, getVolume()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getVolume()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getVolume() .equals(other.getVolume())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { volume_ = null; volumeBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateCryptoRequest buildPartial() { } else { result.volume_ = volumeBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateCryptoRequest other) { if (other.hasVolume()) { mergeVolume(other.getVolume()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.CryptoOrBuilder getVolumeOrBuilder() { } return volumeBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequestOrBuilder.java index f5838d99..d17459c8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateCryptoRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateCryptoRequestOrBuilder extends * .opi_api.storage.v1.Crypto volume = 1; */ opi_api.storage.v1.CryptoOrBuilder getVolumeOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequest.java index f151e39a..f8192bdd 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequest.java @@ -61,6 +61,19 @@ private CreateNVMeControllerRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NVMeControllerOrBuilder getControllerOrBuilder() { return getController(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controller_ != null) { output.writeMessage(1, getController()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getController()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getController() .equals(other.getController())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + getController().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controller_ = null; controllerBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateNVMeControllerRequest buildPartial() { } else { result.controller_ = controllerBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateNVMeControllerRequest other) { if (other.hasController()) { mergeController(other.getController()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NVMeControllerOrBuilder getControllerOrBuilder() { } return controllerBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequestOrBuilder.java index 38de8676..6441e4bd 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeControllerRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateNVMeControllerRequestOrBuilder extends * .opi_api.storage.v1.NVMeController controller = 1; */ opi_api.storage.v1.NVMeControllerOrBuilder getControllerOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequest.java index f0899df5..dc291d40 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequest.java @@ -61,6 +61,19 @@ private CreateNVMeNamespaceRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NVMeNamespaceOrBuilder getNamespaceOrBuilder() { return getNamespace(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (namespace_ != null) { output.writeMessage(1, getNamespace()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNamespace()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getNamespace() .equals(other.getNamespace())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getNamespace().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { namespace_ = null; namespaceBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateNVMeNamespaceRequest buildPartial() { } else { result.namespace_ = namespaceBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateNVMeNamespaceRequest other) { if (other.hasNamespace()) { mergeNamespace(other.getNamespace()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NVMeNamespaceOrBuilder getNamespaceOrBuilder() { } return namespaceBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequestOrBuilder.java index d1503426..a4d5a425 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeNamespaceRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateNVMeNamespaceRequestOrBuilder extends * .opi_api.storage.v1.NVMeNamespace namespace = 1; */ opi_api.storage.v1.NVMeNamespaceOrBuilder getNamespaceOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequest.java index 434ca2ab..c43b32be 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequest.java @@ -61,6 +61,19 @@ private CreateNVMeSubsystemRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NVMeSubsystemOrBuilder getSubsystemOrBuilder() { return getSubsystem(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (subsystem_ != null) { output.writeMessage(1, getSubsystem()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSubsystem()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getSubsystem() .equals(other.getSubsystem())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + SUBSYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSubsystem().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { subsystem_ = null; subsystemBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateNVMeSubsystemRequest buildPartial() { } else { result.subsystem_ = subsystemBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateNVMeSubsystemRequest other) { if (other.hasSubsystem()) { mergeSubsystem(other.getSubsystem()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NVMeSubsystemOrBuilder getSubsystemOrBuilder() { } return subsystemBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequestOrBuilder.java index 67f4db82..792a0562 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMeSubsystemRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateNVMeSubsystemRequestOrBuilder extends * .opi_api.storage.v1.NVMeSubsystem subsystem = 1; */ opi_api.storage.v1.NVMeSubsystemOrBuilder getSubsystemOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateTransactionRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateTransactionRequest.java new file mode 100644 index 00000000..a86e5657 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateTransactionRequest.java @@ -0,0 +1,427 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +/** + *
+ * Empty
+ * 
+ * + * Protobuf type {@code opi_api.storage.v1.CreateTransactionRequest} + */ +public final class CreateTransactionRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.CreateTransactionRequest) + CreateTransactionRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateTransactionRequest.newBuilder() to construct. + private CreateTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateTransactionRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateTransactionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateTransactionRequest( + 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; + 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.TransactionsProto.internal_static_opi_api_storage_v1_CreateTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_CreateTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.CreateTransactionRequest.class, opi_api.storage.v1.CreateTransactionRequest.Builder.class); + } + + 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 { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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.CreateTransactionRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.CreateTransactionRequest other = (opi_api.storage.v1.CreateTransactionRequest) obj; + + 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.CreateTransactionRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.CreateTransactionRequest 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.CreateTransactionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.CreateTransactionRequest 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.CreateTransactionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.CreateTransactionRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.CreateTransactionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.CreateTransactionRequest 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.CreateTransactionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.CreateTransactionRequest 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.CreateTransactionRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.CreateTransactionRequest 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.CreateTransactionRequest 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; + } + /** + *
+   * Empty
+   * 
+ * + * Protobuf type {@code opi_api.storage.v1.CreateTransactionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.CreateTransactionRequest) + opi_api.storage.v1.CreateTransactionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_CreateTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_CreateTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.CreateTransactionRequest.class, opi_api.storage.v1.CreateTransactionRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.CreateTransactionRequest.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(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_CreateTransactionRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.CreateTransactionRequest getDefaultInstanceForType() { + return opi_api.storage.v1.CreateTransactionRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.CreateTransactionRequest build() { + opi_api.storage.v1.CreateTransactionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.CreateTransactionRequest buildPartial() { + opi_api.storage.v1.CreateTransactionRequest result = new opi_api.storage.v1.CreateTransactionRequest(this); + 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.CreateTransactionRequest) { + return mergeFrom((opi_api.storage.v1.CreateTransactionRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.CreateTransactionRequest other) { + if (other == opi_api.storage.v1.CreateTransactionRequest.getDefaultInstance()) return this; + 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.CreateTransactionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.CreateTransactionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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.CreateTransactionRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateTransactionRequest) + private static final opi_api.storage.v1.CreateTransactionRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.CreateTransactionRequest(); + } + + public static opi_api.storage.v1.CreateTransactionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTransactionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTransactionRequest(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.CreateTransactionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateTransactionRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateTransactionRequestOrBuilder.java new file mode 100644 index 00000000..22f6426f --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateTransactionRequestOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +public interface CreateTransactionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.CreateTransactionRequest) + com.google.protobuf.MessageOrBuilder { +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java index e4c95787..4e4ff486 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequest.java @@ -61,6 +61,19 @@ private CreateVirtioBlkRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioBlkOrBuilder getControllerOrBuilder() { return getController(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controller_ != null) { output.writeMessage(1, getController()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getController()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getController() .equals(other.getController())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + getController().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controller_ = null; controllerBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateVirtioBlkRequest buildPartial() { } else { result.controller_ = controllerBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateVirtioBlkRequest other) { if (other.hasController()) { mergeController(other.getController()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioBlkOrBuilder getControllerOrBuilder() { } return controllerBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java index 51a880a8..4b422984 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioBlkRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateVirtioBlkRequestOrBuilder extends * .opi_api.storage.v1.VirtioBlk controller = 1; */ opi_api.storage.v1.VirtioBlkOrBuilder getControllerOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java index b5b02451..91065f55 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequest.java @@ -61,6 +61,19 @@ private CreateVirtioScsiControllerRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getControllerOrBuilder() return getController(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controller_ != null) { output.writeMessage(1, getController()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getController()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getController() .equals(other.getController())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + getController().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controller_ = null; controllerBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateVirtioScsiControllerRequest buildPartial() { } else { result.controller_ = controllerBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateVirtioScsiControllerRequest ot if (other.hasController()) { mergeController(other.getController()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getControllerOrBuilder() } return controllerBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java index 4a4a8c1b..77c91268 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiControllerRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateVirtioScsiControllerRequestOrBuilder extends * .opi_api.storage.v1.VirtioScsiController controller = 1; */ opi_api.storage.v1.VirtioScsiControllerOrBuilder getControllerOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java index 31f085b4..8573153a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequest.java @@ -61,6 +61,19 @@ private CreateVirtioScsiLunRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioScsiLunOrBuilder getLunOrBuilder() { return getLun(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (lun_ != null) { output.writeMessage(1, getLun()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLun()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getLun() .equals(other.getLun())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + LUN_FIELD_NUMBER; hash = (53 * hash) + getLun().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { lun_ = null; lunBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateVirtioScsiLunRequest buildPartial() { } else { result.lun_ = lunBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateVirtioScsiLunRequest other) { if (other.hasLun()) { mergeLun(other.getLun()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioScsiLunOrBuilder getLunOrBuilder() { } return lunBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java index 5230d04f..ef7e8630 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiLunRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateVirtioScsiLunRequestOrBuilder extends * .opi_api.storage.v1.VirtioScsiLun lun = 1; */ opi_api.storage.v1.VirtioScsiLunOrBuilder getLunOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java index 163f8176..a5232d01 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequest.java @@ -61,6 +61,19 @@ private CreateVirtioScsiTargetRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getTargetOrBuilder() { return getTarget(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (target_ != null) { output.writeMessage(1, getTarget()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTarget()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getTarget() .equals(other.getTarget())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + TARGET_FIELD_NUMBER; hash = (53 * hash) + getTarget().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { target_ = null; targetBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.CreateVirtioScsiTargetRequest buildPartial() { } else { result.target_ = targetBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.CreateVirtioScsiTargetRequest other) if (other.hasTarget()) { mergeTarget(other.getTarget()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getTargetOrBuilder() { } return targetBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java index 66d1f372..8bdadbc8 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateVirtioScsiTargetRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface CreateVirtioScsiTargetRequestOrBuilder extends * .opi_api.storage.v1.VirtioScsiTarget target = 1; */ opi_api.storage.v1.VirtioScsiTargetOrBuilder getTargetOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequest.java index d2d07c0a..b15bbc3c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequest.java @@ -61,6 +61,19 @@ private DeleteCryptoRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getCryptoIdOrBuilder() { return getCryptoId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (cryptoId_ != null) { output.writeMessage(1, getCryptoId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCryptoId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getCryptoId() .equals(other.getCryptoId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CRYPTO_ID_FIELD_NUMBER; hash = (53 * hash) + getCryptoId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { cryptoId_ = null; cryptoIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteCryptoRequest buildPartial() { } else { result.cryptoId_ = cryptoIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteCryptoRequest other) { if (other.hasCryptoId()) { mergeCryptoId(other.getCryptoId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getCryptoIdOrBuilder() { } return cryptoIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequestOrBuilder.java index 0e28786e..5d2ee885 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteCryptoRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteCryptoRequestOrBuilder extends * .opi_api.common.v1.ObjectKey crypto_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getCryptoIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequest.java index e24d98c8..79b996f0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequest.java @@ -61,6 +61,19 @@ private DeleteNVMeControllerRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { return getControllerId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controllerId_ != null) { output.writeMessage(1, getControllerId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getControllerId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getControllerId() .equals(other.getControllerId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER; hash = (53 * hash) + getControllerId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controllerId_ = null; controllerIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteNVMeControllerRequest buildPartial() { } else { result.controllerId_ = controllerIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteNVMeControllerRequest other) { if (other.hasControllerId()) { mergeControllerId(other.getControllerId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { } return controllerIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequestOrBuilder.java index 34b57f05..3a8105d2 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeControllerRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteNVMeControllerRequestOrBuilder extends * .opi_api.common.v1.ObjectKey controller_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequest.java index edb7c055..5c48850d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequest.java @@ -61,6 +61,19 @@ private DeleteNVMeNamespaceRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getNamespaceIdOrBuilder() { return getNamespaceId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (namespaceId_ != null) { output.writeMessage(1, getNamespaceId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNamespaceId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getNamespaceId() .equals(other.getNamespaceId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + NAMESPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getNamespaceId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { namespaceId_ = null; namespaceIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteNVMeNamespaceRequest buildPartial() { } else { result.namespaceId_ = namespaceIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteNVMeNamespaceRequest other) { if (other.hasNamespaceId()) { mergeNamespaceId(other.getNamespaceId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getNamespaceIdOrBuilder() { } return namespaceIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequestOrBuilder.java index 34713ea5..1be9b542 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeNamespaceRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteNVMeNamespaceRequestOrBuilder extends * .opi_api.common.v1.ObjectKey namespace_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getNamespaceIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequest.java index aa2fe4d4..1621bc81 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequest.java @@ -61,6 +61,19 @@ private DeleteNVMeSubsystemRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getSubsystemIdOrBuilder() { return getSubsystemId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (subsystemId_ != null) { output.writeMessage(1, getSubsystemId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSubsystemId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getSubsystemId() .equals(other.getSubsystemId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + SUBSYSTEM_ID_FIELD_NUMBER; hash = (53 * hash) + getSubsystemId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { subsystemId_ = null; subsystemIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteNVMeSubsystemRequest buildPartial() { } else { result.subsystemId_ = subsystemIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteNVMeSubsystemRequest other) { if (other.hasSubsystemId()) { mergeSubsystemId(other.getSubsystemId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getSubsystemIdOrBuilder() { } return subsystemIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequestOrBuilder.java index 2d2d9533..f0e5eead 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMeSubsystemRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteNVMeSubsystemRequestOrBuilder extends * .opi_api.common.v1.ObjectKey subsystem_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getSubsystemIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteTransactionRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteTransactionRequest.java new file mode 100644 index 00000000..ef817de7 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteTransactionRequest.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.DeleteTransactionRequest} + */ +public final class DeleteTransactionRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.DeleteTransactionRequest) + DeleteTransactionRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteTransactionRequest.newBuilder() to construct. + private DeleteTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteTransactionRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteTransactionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteTransactionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_DeleteTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_DeleteTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.DeleteTransactionRequest.class, opi_api.storage.v1.DeleteTransactionRequest.Builder.class); + } + + public static final int TXN_ID_FIELD_NUMBER = 1; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + + 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 (txnId_ != null) { + output.writeMessage(1, getTxnId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTxnId()); + } + 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.DeleteTransactionRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.DeleteTransactionRequest other = (opi_api.storage.v1.DeleteTransactionRequest) obj; + + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.DeleteTransactionRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.DeleteTransactionRequest 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.DeleteTransactionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.DeleteTransactionRequest 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.DeleteTransactionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.DeleteTransactionRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.DeleteTransactionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.DeleteTransactionRequest 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.DeleteTransactionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.DeleteTransactionRequest 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.DeleteTransactionRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.DeleteTransactionRequest 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.DeleteTransactionRequest 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.DeleteTransactionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.DeleteTransactionRequest) + opi_api.storage.v1.DeleteTransactionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_DeleteTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_DeleteTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.DeleteTransactionRequest.class, opi_api.storage.v1.DeleteTransactionRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.DeleteTransactionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_DeleteTransactionRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.DeleteTransactionRequest getDefaultInstanceForType() { + return opi_api.storage.v1.DeleteTransactionRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.DeleteTransactionRequest build() { + opi_api.storage.v1.DeleteTransactionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.DeleteTransactionRequest buildPartial() { + opi_api.storage.v1.DeleteTransactionRequest result = new opi_api.storage.v1.DeleteTransactionRequest(this); + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.DeleteTransactionRequest) { + return mergeFrom((opi_api.storage.v1.DeleteTransactionRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.DeleteTransactionRequest other) { + if (other == opi_api.storage.v1.DeleteTransactionRequest.getDefaultInstance()) return this; + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } + 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.DeleteTransactionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.DeleteTransactionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } + @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.DeleteTransactionRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteTransactionRequest) + private static final opi_api.storage.v1.DeleteTransactionRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.DeleteTransactionRequest(); + } + + public static opi_api.storage.v1.DeleteTransactionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTransactionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTransactionRequest(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.DeleteTransactionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteTransactionRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteTransactionRequestOrBuilder.java new file mode 100644 index 00000000..25cfea2a --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteTransactionRequestOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +public interface DeleteTransactionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.DeleteTransactionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequest.java index 26a4d94c..62d7f265 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequest.java @@ -61,6 +61,19 @@ private DeleteVirtioBlkRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { return getControllerId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controllerId_ != null) { output.writeMessage(1, getControllerId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getControllerId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getControllerId() .equals(other.getControllerId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER; hash = (53 * hash) + getControllerId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controllerId_ = null; controllerIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteVirtioBlkRequest buildPartial() { } else { result.controllerId_ = controllerIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteVirtioBlkRequest other) { if (other.hasControllerId()) { mergeControllerId(other.getControllerId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { } return controllerIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequestOrBuilder.java index 55adf9dd..5b33744d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioBlkRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteVirtioBlkRequestOrBuilder extends * .opi_api.common.v1.ObjectKey controller_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequest.java index ed974ff6..635ab279 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequest.java @@ -61,6 +61,19 @@ private DeleteVirtioScsiControllerRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { return getControllerId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controllerId_ != null) { output.writeMessage(1, getControllerId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getControllerId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getControllerId() .equals(other.getControllerId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER; hash = (53 * hash) + getControllerId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controllerId_ = null; controllerIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteVirtioScsiControllerRequest buildPartial() { } else { result.controllerId_ = controllerIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteVirtioScsiControllerRequest ot if (other.hasControllerId()) { mergeControllerId(other.getControllerId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder() { } return controllerIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequestOrBuilder.java index 69a5584b..31714b5d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiControllerRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteVirtioScsiControllerRequestOrBuilder extends * .opi_api.common.v1.ObjectKey controller_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getControllerIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequest.java index 9b6e869f..f5e7e4c6 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequest.java @@ -74,6 +74,19 @@ private DeleteVirtioScsiLunRequest( break; } + case 26: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -158,6 +171,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getLunIdOrBuilder() { return getLunId(); } + public static final int TXN_ID_FIELD_NUMBER = 3; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -178,6 +217,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (lunId_ != null) { output.writeMessage(2, getLunId()); } + if (txnId_ != null) { + output.writeMessage(3, getTxnId()); + } unknownFields.writeTo(output); } @@ -195,6 +237,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getLunId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -220,6 +266,11 @@ public boolean equals(final java.lang.Object obj) { if (!getLunId() .equals(other.getLunId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,6 +290,10 @@ public int hashCode() { hash = (37 * hash) + LUN_ID_FIELD_NUMBER; hash = (53 * hash) + getLunId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -384,6 +439,12 @@ public Builder clear() { lunId_ = null; lunIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -420,6 +481,11 @@ public opi_api.storage.v1.DeleteVirtioScsiLunRequest buildPartial() { } else { result.lunId_ = lunIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -474,6 +540,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteVirtioScsiLunRequest other) { if (other.hasLunId()) { mergeLunId(other.getLunId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -740,6 +809,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getLunIdOrBuilder() { } return lunIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequestOrBuilder.java index bc324f5f..808ab06d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiLunRequestOrBuilder.java @@ -36,4 +36,19 @@ public interface DeleteVirtioScsiLunRequestOrBuilder extends * .opi_api.common.v1.ObjectKey lun_id = 2; */ opi_api.common.v1.ObjectKeyOrBuilder getLunIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 3; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequest.java index a780c5aa..ed7ae9d5 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequest.java @@ -61,6 +61,19 @@ private DeleteVirtioScsiTargetRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getTargetIdOrBuilder() { return getTargetId(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (targetId_ != null) { output.writeMessage(1, getTargetId()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTargetId()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getTargetId() .equals(other.getTargetId())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; hash = (53 * hash) + getTargetId().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { targetId_ = null; targetIdBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.DeleteVirtioScsiTargetRequest buildPartial() { } else { result.targetId_ = targetIdBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.DeleteVirtioScsiTargetRequest other) if (other.hasTargetId()) { mergeTargetId(other.getTargetId()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getTargetIdOrBuilder() { } return targetIdBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequestOrBuilder.java index b3c891f3..a042eb92 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteVirtioScsiTargetRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface DeleteVirtioScsiTargetRequestOrBuilder extends * .opi_api.common.v1.ObjectKey target_id = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getTargetIdOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ExecuteTransactionRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ExecuteTransactionRequest.java new file mode 100644 index 00000000..5e8b17cf --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ExecuteTransactionRequest.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.ExecuteTransactionRequest} + */ +public final class ExecuteTransactionRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ExecuteTransactionRequest) + ExecuteTransactionRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ExecuteTransactionRequest.newBuilder() to construct. + private ExecuteTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecuteTransactionRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExecuteTransactionRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExecuteTransactionRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_ExecuteTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_ExecuteTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.ExecuteTransactionRequest.class, opi_api.storage.v1.ExecuteTransactionRequest.Builder.class); + } + + public static final int TXN_ID_FIELD_NUMBER = 1; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + + 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 (txnId_ != null) { + output.writeMessage(1, getTxnId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTxnId()); + } + 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.ExecuteTransactionRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.ExecuteTransactionRequest other = (opi_api.storage.v1.ExecuteTransactionRequest) obj; + + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.ExecuteTransactionRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ExecuteTransactionRequest 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.ExecuteTransactionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ExecuteTransactionRequest 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.ExecuteTransactionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ExecuteTransactionRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.ExecuteTransactionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ExecuteTransactionRequest 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.ExecuteTransactionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ExecuteTransactionRequest 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.ExecuteTransactionRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ExecuteTransactionRequest 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.ExecuteTransactionRequest 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.ExecuteTransactionRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ExecuteTransactionRequest) + opi_api.storage.v1.ExecuteTransactionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_ExecuteTransactionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_ExecuteTransactionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.ExecuteTransactionRequest.class, opi_api.storage.v1.ExecuteTransactionRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.ExecuteTransactionRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_ExecuteTransactionRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.ExecuteTransactionRequest getDefaultInstanceForType() { + return opi_api.storage.v1.ExecuteTransactionRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.ExecuteTransactionRequest build() { + opi_api.storage.v1.ExecuteTransactionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.ExecuteTransactionRequest buildPartial() { + opi_api.storage.v1.ExecuteTransactionRequest result = new opi_api.storage.v1.ExecuteTransactionRequest(this); + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.ExecuteTransactionRequest) { + return mergeFrom((opi_api.storage.v1.ExecuteTransactionRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.ExecuteTransactionRequest other) { + if (other == opi_api.storage.v1.ExecuteTransactionRequest.getDefaultInstance()) return this; + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } + 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.ExecuteTransactionRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.ExecuteTransactionRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } + @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.ExecuteTransactionRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ExecuteTransactionRequest) + private static final opi_api.storage.v1.ExecuteTransactionRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.ExecuteTransactionRequest(); + } + + public static opi_api.storage.v1.ExecuteTransactionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteTransactionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecuteTransactionRequest(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.ExecuteTransactionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ExecuteTransactionRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ExecuteTransactionRequestOrBuilder.java new file mode 100644 index 00000000..67e854ce --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ExecuteTransactionRequestOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +public interface ExecuteTransactionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ExecuteTransactionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); +} 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 98e91d4f..555adebb 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendNvmePcieProto.java @@ -225,132 +225,143 @@ public static void registerAllExtensions( "te\030\001 \001(\0162).opi_api.storage.v1.NVMeNamesp" + "acePciState\022E\n\016pci_oper_state\030\002 \001(\0162-.op" + "i_api.storage.v1.NVMeNamespacePciOperSta" + - "te\"R\n\032CreateNVMeSubsystemRequest\0224\n\tsubs" + - "ystem\030\001 \001(\0132!.opi_api.storage.v1.NVMeSub" + - "system\"P\n\032DeleteNVMeSubsystemRequest\0222\n\014" + + "te\"\200\001\n\032CreateNVMeSubsystemRequest\0224\n\tsub" + + "system\030\001 \001(\0132!.opi_api.storage.v1.NVMeSu" + + "bsystem\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common" + + ".v1.ObjectKey\"~\n\032DeleteNVMeSubsystemRequ" + + "est\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.comm" + + "on.v1.ObjectKey\022,\n\006txn_id\030\002 \001(\0132\034.opi_ap" + + "i.common.v1.ObjectKey\"\200\001\n\032UpdateNVMeSubs" + + "ystemRequest\0224\n\tsubsystem\030\001 \001(\0132!.opi_ap" + + "i.storage.v1.NVMeSubsystem\022,\n\006txn_id\030\002 \001" + + "(\0132\034.opi_api.common.v1.ObjectKey\"A\n\030List" + + "NVMeSubsystemRequest\022\021\n\tpage_size\030\001 \001(\005\022" + + "\022\n\npage_token\030\002 \001(\t\"k\n\031ListNVMeSubsystem" + + "Response\0225\n\nsubsystems\030\001 \003(\0132!.opi_api.s" + + "torage.v1.NVMeSubsystem\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"M\n\027GetNVMeSubsystemRequest\0222\n\014s" + + "ubsystem_id\030\001 \001(\0132\034.opi_api.common.v1.Ob" + + "jectKey\"O\n\031NVMeSubsystemStatsRequest\0222\n\014" + "subsystem_id\030\001 \001(\0132\034.opi_api.common.v1.O" + - "bjectKey\"R\n\032UpdateNVMeSubsystemRequest\0224" + - "\n\tsubsystem\030\001 \001(\0132!.opi_api.storage.v1.N" + - "VMeSubsystem\"A\n\030ListNVMeSubsystemRequest" + - "\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"" + - "k\n\031ListNVMeSubsystemResponse\0225\n\nsubsyste" + - "ms\030\001 \003(\0132!.opi_api.storage.v1.NVMeSubsys" + - "tem\022\027\n\017next_page_token\030\002 \001(\t\"M\n\027GetNVMeS" + - "ubsystemRequest\0222\n\014subsystem_id\030\001 \001(\0132\034." + - "opi_api.common.v1.ObjectKey\"O\n\031NVMeSubsy" + - "stemStatsRequest\0222\n\014subsystem_id\030\001 \001(\0132\034" + - ".opi_api.common.v1.ObjectKey\"+\n\032NVMeSubs" + - "ystemStatsResponse\022\r\n\005stats\030\001 \001(\t\"U\n\033Cre" + - "ateNVMeControllerRequest\0226\n\ncontroller\030\001" + - " \001(\0132\".opi_api.storage.v1.NVMeController" + - "\"R\n\033DeleteNVMeControllerRequest\0223\n\rcontr" + - "oller_id\030\001 \001(\0132\034.opi_api.common.v1.Objec" + - "tKey\"U\n\033UpdateNVMeControllerRequest\0226\n\nc" + - "ontroller\030\001 \001(\0132\".opi_api.storage.v1.NVM" + - "eController\"v\n\031ListNVMeControllerRequest" + - "\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.common." + - "v1.ObjectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + - "token\030\003 \001(\t\"n\n\032ListNVMeControllerRespons" + - "e\0227\n\013controllers\030\001 \003(\0132\".opi_api.storage" + - ".v1.NVMeController\022\027\n\017next_page_token\030\002 " + - "\001(\t\"O\n\030GetNVMeControllerRequest\0223\n\rcontr" + - "oller_id\030\001 \001(\0132\034.opi_api.common.v1.Objec" + - "tKey\"F\n\032NVMeControllerStatsRequest\022(\n\002id" + - "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"V\n\033" + - "NVMeControllerStatsResponse\022(\n\002id\030\001 \001(\0132" + - "\034.opi_api.common.v1.ObjectKey\022\r\n\005stats\030\002" + - " \001(\t\"R\n\032CreateNVMeNamespaceRequest\0224\n\tna" + - "mespace\030\001 \001(\0132!.opi_api.storage.v1.NVMeN" + - "amespace\"P\n\032DeleteNVMeNamespaceRequest\0222" + - "\n\014namespace_id\030\001 \001(\0132\034.opi_api.common.v1" + - ".ObjectKey\"R\n\032UpdateNVMeNamespaceRequest" + - "\0224\n\tnamespace\030\001 \001(\0132!.opi_api.storage.v1" + - ".NVMeNamespace\"u\n\030ListNVMeNamespaceReque" + - "st\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.commo" + - "n.v1.ObjectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\"k\n\031ListNVMeNamespaceRespon" + - "se\0225\n\nnamespaces\030\001 \003(\0132!.opi_api.storage" + - ".v1.NVMeNamespace\022\027\n\017next_page_token\030\002 \001" + - "(\t\"M\n\027GetNVMeNamespaceRequest\0222\n\014namespa" + - "ce_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + - "y\"O\n\031NVMeNamespaceStatsRequest\0222\n\014namesp" + - "ace_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectK" + - "ey\"U\n\032NVMeNamespaceStatsResponse\022(\n\002id\030\001" + - " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + - "ats\030\002 \001(\t*\266\001\n\025NVMeNamespacePciState\022)\n%N" + - "V_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!N" + - "VME_NAMESPACE_PCI_STATE_DELETING\020\003*\240\001\n\031N" + - "VMeNamespacePciOperState\022.\n*NV_ME_NAMESP" + - "ACE_PCI_OPER_STATE_UNSPECIFIED\020\000\022(\n$NVME" + - "_NAMESPACE_PCI_OPER_STATE_ONLINE\020\001\022)\n%NV" + - "ME_NAMESPACE_PCI_OPER_STATE_OFFLINE\020\0022\260\023" + - "\n\023FrontendNvmeService\022\213\001\n\023CreateNVMeSubs" + - "ystem\022..opi_api.storage.v1.CreateNVMeSub" + - "systemRequest\032!.opi_api.storage.v1.NVMeS" + - "ubsystem\"!\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsys" + - "tem\022\201\001\n\023DeleteNVMeSubsystem\022..opi_api.st" + - "orage.v1.DeleteNVMeSubsystemRequest\032\026.go" + - "ogle.protobuf.Empty\"\"\202\323\344\223\002\034*\032/v1/subsyst" + - "ems/{subsystem}\022\213\001\n\023UpdateNVMeSubsystem\022" + - "..opi_api.storage.v1.UpdateNVMeSubsystem" + - "Request\032!.opi_api.storage.v1.NVMeSubsyst" + - "em\"!\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem\022\210\001" + - "\n\021ListNVMeSubsystem\022,.opi_api.storage.v1" + - ".ListNVMeSubsystemRequest\032-.opi_api.stor" + - "age.v1.ListNVMeSubsystemResponse\"\026\202\323\344\223\002\020" + - "\022\016/v1/subsystems\022\206\001\n\020GetNVMeSubsystem\022+." + - "opi_api.storage.v1.GetNVMeSubsystemReque" + - "st\032!.opi_api.storage.v1.NVMeSubsystem\"\"\202" + - "\323\344\223\002\034\022\032/v1/subsystems/{subsystem}\022u\n\022NVM" + - "eSubsystemStats\022-.opi_api.storage.v1.NVM" + - "eSubsystemStatsRequest\032..opi_api.storage" + - ".v1.NVMeSubsystemStatsResponse\"\000\022\220\001\n\024Cre" + - "ateNVMeController\022/.opi_api.storage.v1.C" + - "reateNVMeControllerRequest\032\".opi_api.sto" + - "rage.v1.NVMeController\"#\202\323\344\223\002\035\"\017/v1/cont" + - "rollers:\ncontroller\022\205\001\n\024DeleteNVMeContro" + - "ller\022/.opi_api.storage.v1.DeleteNVMeCont" + - "rollerRequest\032\026.google.protobuf.Empty\"$\202" + - "\323\344\223\002\036*\034/v1/controllers/{controller}\022\220\001\n\024" + - "UpdateNVMeController\022/.opi_api.storage.v" + - "1.UpdateNVMeControllerRequest\032\".opi_api." + - "storage.v1.NVMeController\"#\202\323\344\223\002\0352\017/v1/c" + - "ontrollers:\ncontroller\022\214\001\n\022ListNVMeContr" + - "oller\022-.opi_api.storage.v1.ListNVMeContr" + - "ollerRequest\032..opi_api.storage.v1.ListNV" + - "MeControllerResponse\"\027\202\323\344\223\002\021\022\017/v1/contro" + - "llers\022\213\001\n\021GetNVMeController\022,.opi_api.st" + - "orage.v1.GetNVMeControllerRequest\032\".opi_" + - "api.storage.v1.NVMeController\"$\202\323\344\223\002\036\022\034/" + - "v1/controllers/{controller}\022x\n\023NVMeContr" + - "ollerStats\022..opi_api.storage.v1.NVMeCont" + - "rollerStatsRequest\032/.opi_api.storage.v1." + - "NVMeControllerStatsResponse\"\000\022\213\001\n\023Create" + - "NVMeNamespace\022..opi_api.storage.v1.Creat" + - "eNVMeNamespaceRequest\032!.opi_api.storage." + - "v1.NVMeNamespace\"!\202\323\344\223\002\033\"\016/v1/namespaces" + - ":\tnamespace\022\201\001\n\023DeleteNVMeNamespace\022..op" + - "i_api.storage.v1.DeleteNVMeNamespaceRequ" + - "est\032\026.google.protobuf.Empty\"\"\202\323\344\223\002\034*\032/v1" + - "/namespaces/{namespace}\022\213\001\n\023UpdateNVMeNa" + - "mespace\022..opi_api.storage.v1.UpdateNVMeN" + - "amespaceRequest\032!.opi_api.storage.v1.NVM" + - "eNamespace\"!\202\323\344\223\002\0332\016/v1/namespaces:\tname" + - "space\022\210\001\n\021ListNVMeNamespace\022,.opi_api.st" + - "orage.v1.ListNVMeNamespaceRequest\032-.opi_" + - "api.storage.v1.ListNVMeNamespaceResponse" + - "\"\026\202\323\344\223\002\020\022\016/v1/namespaces\022\206\001\n\020GetNVMeName" + - "space\022+.opi_api.storage.v1.GetNVMeNamesp" + - "aceRequest\032!.opi_api.storage.v1.NVMeName" + - "space\"\"\202\323\344\223\002\034\022\032/v1/namespaces/{namespace" + - "}\022u\n\022NVMeNamespaceStats\022-.opi_api.storag" + - "e.v1.NVMeNamespaceStatsRequest\032..opi_api" + - ".storage.v1.NVMeNamespaceStatsResponse\"\000" + - "Bd\n\022opi_api.storage.v1B\025FrontendNvmePcie" + - "ProtoP\001Z5github.com/opiproject/opi-api/s" + - "torage/v1alpha1/gen/gob\006proto3" + "bjectKey\"+\n\032NVMeSubsystemStatsResponse\022\r" + + "\n\005stats\030\001 \001(\t\"\203\001\n\033CreateNVMeControllerRe" + + "quest\0226\n\ncontroller\030\001 \001(\0132\".opi_api.stor" + + "age.v1.NVMeController\022,\n\006txn_id\030\002 \001(\0132\034." + + "opi_api.common.v1.ObjectKey\"\200\001\n\033DeleteNV" + + "MeControllerRequest\0223\n\rcontroller_id\030\001 \001" + + "(\0132\034.opi_api.common.v1.ObjectKey\022,\n\006txn_" + + "id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"\203" + + "\001\n\033UpdateNVMeControllerRequest\0226\n\ncontro" + + "ller\030\001 \001(\0132\".opi_api.storage.v1.NVMeCont" + + "roller\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common." + + "v1.ObjectKey\"v\n\031ListNVMeControllerReques" + + "t\0222\n\014subsystem_id\030\001 \001(\0132\034.opi_api.common" + + ".v1.ObjectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"n\n\032ListNVMeControllerRespon" + + "se\0227\n\013controllers\030\001 \003(\0132\".opi_api.storag" + + "e.v1.NVMeController\022\027\n\017next_page_token\030\002" + + " \001(\t\"O\n\030GetNVMeControllerRequest\0223\n\rcont" + + "roller_id\030\001 \001(\0132\034.opi_api.common.v1.Obje" + + "ctKey\"F\n\032NVMeControllerStatsRequest\022(\n\002i" + + "d\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"V\n" + + "\033NVMeControllerStatsResponse\022(\n\002id\030\001 \001(\013" + + "2\034.opi_api.common.v1.ObjectKey\022\r\n\005stats\030" + + "\002 \001(\t\"\200\001\n\032CreateNVMeNamespaceRequest\0224\n\t" + + "namespace\030\001 \001(\0132!.opi_api.storage.v1.NVM" + + "eNamespace\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.com" + + "mon.v1.ObjectKey\"~\n\032DeleteNVMeNamespaceR" + + "equest\0222\n\014namespace_id\030\001 \001(\0132\034.opi_api.c" + + "ommon.v1.ObjectKey\022,\n\006txn_id\030\002 \001(\0132\034.opi" + + "_api.common.v1.ObjectKey\"\200\001\n\032UpdateNVMeN" + + "amespaceRequest\0224\n\tnamespace\030\001 \001(\0132!.opi" + + "_api.storage.v1.NVMeNamespace\022,\n\006txn_id\030" + + "\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"u\n\030L" + + "istNVMeNamespaceRequest\0222\n\014subsystem_id\030" + + "\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"k\n\031Li" + + "stNVMeNamespaceResponse\0225\n\nnamespaces\030\001 " + + "\003(\0132!.opi_api.storage.v1.NVMeNamespace\022\027" + + "\n\017next_page_token\030\002 \001(\t\"M\n\027GetNVMeNamesp" + + "aceRequest\0222\n\014namespace_id\030\001 \001(\0132\034.opi_a" + + "pi.common.v1.ObjectKey\"O\n\031NVMeNamespaceS" + + "tatsRequest\0222\n\014namespace_id\030\001 \001(\0132\034.opi_" + + "api.common.v1.ObjectKey\"U\n\032NVMeNamespace" + + "StatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.comm" + + "on.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t*\266\001\n\025NVMeN" + + "amespacePciState\022)\n%NV_ME_NAMESPACE_PCI_" + + "STATE_UNSPECIFIED\020\000\022%\n!NVME_NAMESPACE_PC" + + "I_STATE_DISABLED\020\001\022$\n NVME_NAMESPACE_PCI" + + "_STATE_ENABLED\020\002\022%\n!NVME_NAMESPACE_PCI_S" + + "TATE_DELETING\020\003*\240\001\n\031NVMeNamespacePciOper" + + "State\022.\n*NV_ME_NAMESPACE_PCI_OPER_STATE_" + + "UNSPECIFIED\020\000\022(\n$NVME_NAMESPACE_PCI_OPER" + + "_STATE_ONLINE\020\001\022)\n%NVME_NAMESPACE_PCI_OP" + + "ER_STATE_OFFLINE\020\0022\260\023\n\023FrontendNvmeServi" + + "ce\022\213\001\n\023CreateNVMeSubsystem\022..opi_api.sto" + + "rage.v1.CreateNVMeSubsystemRequest\032!.opi" + + "_api.storage.v1.NVMeSubsystem\"!\202\323\344\223\002\033\"\016/" + + "v1/subsystems:\tsubsystem\022\201\001\n\023DeleteNVMeS" + + "ubsystem\022..opi_api.storage.v1.DeleteNVMe" + + "SubsystemRequest\032\026.google.protobuf.Empty" + + "\"\"\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}\022\213\001\n" + + "\023UpdateNVMeSubsystem\022..opi_api.storage.v" + + "1.UpdateNVMeSubsystemRequest\032!.opi_api.s" + + "torage.v1.NVMeSubsystem\"!\202\323\344\223\002\0332\016/v1/sub" + + "systems:\tsubsystem\022\210\001\n\021ListNVMeSubsystem" + + "\022,.opi_api.storage.v1.ListNVMeSubsystemR" + + "equest\032-.opi_api.storage.v1.ListNVMeSubs" + + "ystemResponse\"\026\202\323\344\223\002\020\022\016/v1/subsystems\022\206\001" + + "\n\020GetNVMeSubsystem\022+.opi_api.storage.v1." + + "GetNVMeSubsystemRequest\032!.opi_api.storag" + + "e.v1.NVMeSubsystem\"\"\202\323\344\223\002\034\022\032/v1/subsyste" + + "ms/{subsystem}\022u\n\022NVMeSubsystemStats\022-.o" + + "pi_api.storage.v1.NVMeSubsystemStatsRequ" + + "est\032..opi_api.storage.v1.NVMeSubsystemSt" + + "atsResponse\"\000\022\220\001\n\024CreateNVMeController\022/" + + ".opi_api.storage.v1.CreateNVMeController" + + "Request\032\".opi_api.storage.v1.NVMeControl" + + "ler\"#\202\323\344\223\002\035\"\017/v1/controllers:\ncontroller" + + "\022\205\001\n\024DeleteNVMeController\022/.opi_api.stor" + + "age.v1.DeleteNVMeControllerRequest\032\026.goo" + + "gle.protobuf.Empty\"$\202\323\344\223\002\036*\034/v1/controll" + + "ers/{controller}\022\220\001\n\024UpdateNVMeControlle" + + "r\022/.opi_api.storage.v1.UpdateNVMeControl" + + "lerRequest\032\".opi_api.storage.v1.NVMeCont" + + "roller\"#\202\323\344\223\002\0352\017/v1/controllers:\ncontrol" + + "ler\022\214\001\n\022ListNVMeController\022-.opi_api.sto" + + "rage.v1.ListNVMeControllerRequest\032..opi_" + + "api.storage.v1.ListNVMeControllerRespons" + + "e\"\027\202\323\344\223\002\021\022\017/v1/controllers\022\213\001\n\021GetNVMeCo" + + "ntroller\022,.opi_api.storage.v1.GetNVMeCon" + + "trollerRequest\032\".opi_api.storage.v1.NVMe" + + "Controller\"$\202\323\344\223\002\036\022\034/v1/controllers/{con" + + "troller}\022x\n\023NVMeControllerStats\022..opi_ap" + + "i.storage.v1.NVMeControllerStatsRequest\032" + + "/.opi_api.storage.v1.NVMeControllerStats" + + "Response\"\000\022\213\001\n\023CreateNVMeNamespace\022..opi" + + "_api.storage.v1.CreateNVMeNamespaceReque" + + "st\032!.opi_api.storage.v1.NVMeNamespace\"!\202" + + "\323\344\223\002\033\"\016/v1/namespaces:\tnamespace\022\201\001\n\023Del" + + "eteNVMeNamespace\022..opi_api.storage.v1.De" + + "leteNVMeNamespaceRequest\032\026.google.protob" + + "uf.Empty\"\"\202\323\344\223\002\034*\032/v1/namespaces/{namesp" + + "ace}\022\213\001\n\023UpdateNVMeNamespace\022..opi_api.s" + + "torage.v1.UpdateNVMeNamespaceRequest\032!.o" + + "pi_api.storage.v1.NVMeNamespace\"!\202\323\344\223\002\0332" + + "\016/v1/namespaces:\tnamespace\022\210\001\n\021ListNVMeN" + + "amespace\022,.opi_api.storage.v1.ListNVMeNa" + + "mespaceRequest\032-.opi_api.storage.v1.List" + + "NVMeNamespaceResponse\"\026\202\323\344\223\002\020\022\016/v1/names" + + "paces\022\206\001\n\020GetNVMeNamespace\022+.opi_api.sto" + + "rage.v1.GetNVMeNamespaceRequest\032!.opi_ap" + + "i.storage.v1.NVMeNamespace\"\"\202\323\344\223\002\034\022\032/v1/" + + "namespaces/{namespace}\022u\n\022NVMeNamespaceS" + + "tats\022-.opi_api.storage.v1.NVMeNamespaceS" + + "tatsRequest\032..opi_api.storage.v1.NVMeNam" + + "espaceStatsResponse\"\000Bd\n\022opi_api.storage" + + ".v1B\025FrontendNvmePcieProtoP\001Z5github.com" + + "/opiproject/opi-api/storage/v1alpha1/gen" + + "/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -420,19 +431,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateNVMeSubsystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateNVMeSubsystemRequest_descriptor, - new java.lang.String[] { "Subsystem", }); + new java.lang.String[] { "Subsystem", "TxnId", }); internal_static_opi_api_storage_v1_DeleteNVMeSubsystemRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_opi_api_storage_v1_DeleteNVMeSubsystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteNVMeSubsystemRequest_descriptor, - new java.lang.String[] { "SubsystemId", }); + new java.lang.String[] { "SubsystemId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateNVMeSubsystemRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_opi_api_storage_v1_UpdateNVMeSubsystemRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateNVMeSubsystemRequest_descriptor, - new java.lang.String[] { "Subsystem", }); + new java.lang.String[] { "Subsystem", "TxnId", }); internal_static_opi_api_storage_v1_ListNVMeSubsystemRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_opi_api_storage_v1_ListNVMeSubsystemRequest_fieldAccessorTable = new @@ -468,19 +479,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateNVMeControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateNVMeControllerRequest_descriptor, - new java.lang.String[] { "Controller", }); + new java.lang.String[] { "Controller", "TxnId", }); internal_static_opi_api_storage_v1_DeleteNVMeControllerRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_opi_api_storage_v1_DeleteNVMeControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteNVMeControllerRequest_descriptor, - new java.lang.String[] { "ControllerId", }); + new java.lang.String[] { "ControllerId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateNVMeControllerRequest_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_opi_api_storage_v1_UpdateNVMeControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateNVMeControllerRequest_descriptor, - new java.lang.String[] { "Controller", }); + new java.lang.String[] { "Controller", "TxnId", }); internal_static_opi_api_storage_v1_ListNVMeControllerRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_opi_api_storage_v1_ListNVMeControllerRequest_fieldAccessorTable = new @@ -516,19 +527,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateNVMeNamespaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateNVMeNamespaceRequest_descriptor, - new java.lang.String[] { "Namespace", }); + new java.lang.String[] { "Namespace", "TxnId", }); internal_static_opi_api_storage_v1_DeleteNVMeNamespaceRequest_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_opi_api_storage_v1_DeleteNVMeNamespaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteNVMeNamespaceRequest_descriptor, - new java.lang.String[] { "NamespaceId", }); + new java.lang.String[] { "NamespaceId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateNVMeNamespaceRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_opi_api_storage_v1_UpdateNVMeNamespaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateNVMeNamespaceRequest_descriptor, - new java.lang.String[] { "Namespace", }); + new java.lang.String[] { "Namespace", "TxnId", }); internal_static_opi_api_storage_v1_ListNVMeNamespaceRequest_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_opi_api_storage_v1_ListNVMeNamespaceRequest_fieldAccessorTable = new 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 5e33f5c8..f534ca74 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioBlkProto.java @@ -75,45 +75,49 @@ public static void registerAllExtensions( "d\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\0220\n" + "\007pcie_id\030\002 \001(\0132\037.opi_api.storage.v1.PciE" + "ndpoint\022/\n\tvolume_id\030\003 \001(\0132\034.opi_api.com" + - "mon.v1.ObjectKey\022\022\n\nmax_io_qps\030\004 \001(\003\"K\n\026" + + "mon.v1.ObjectKey\022\022\n\nmax_io_qps\030\004 \001(\003\"y\n\026" + "CreateVirtioBlkRequest\0221\n\ncontroller\030\001 \001" + - "(\0132\035.opi_api.storage.v1.VirtioBlk\"M\n\026Del" + - "eteVirtioBlkRequest\0223\n\rcontroller_id\030\001 \001" + - "(\0132\034.opi_api.common.v1.ObjectKey\"K\n\026Upda" + - "teVirtioBlkRequest\0221\n\ncontroller\030\001 \001(\0132\035" + - ".opi_api.storage.v1.VirtioBlk\"=\n\024ListVir" + - "tioBlkRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage" + - "_token\030\002 \001(\t\"d\n\025ListVirtioBlkResponse\0222\n" + - "\013controllers\030\001 \003(\0132\035.opi_api.storage.v1." + - "VirtioBlk\022\027\n\017next_page_token\030\002 \001(\t\"J\n\023Ge" + - "tVirtioBlkRequest\0223\n\rcontroller_id\030\001 \001(\013" + - "2\034.opi_api.common.v1.ObjectKey\"L\n\025Virtio" + - "BlkStatsRequest\0223\n\rcontroller_id\030\001 \001(\0132\034" + - ".opi_api.common.v1.ObjectKey\"Q\n\026VirtioBl" + - "kStatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.com" + - "mon.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\374\005\n\030Fron" + - "tendVirtioBlkService\022\177\n\017CreateVirtioBlk\022" + - "*.opi_api.storage.v1.CreateVirtioBlkRequ" + - "est\032\035.opi_api.storage.v1.VirtioBlk\"!\202\323\344\223" + - "\002\033\"\016/v1/virtioblks:\tvirtioblk\022y\n\017DeleteV" + - "irtioBlk\022*.opi_api.storage.v1.DeleteVirt" + - "ioBlkRequest\032\026.google.protobuf.Empty\"\"\202\323" + - "\344\223\002\034*\032/v1/virtioblks/{virtioblk}\022\177\n\017Upda" + - "teVirtioBlk\022*.opi_api.storage.v1.UpdateV" + - "irtioBlkRequest\032\035.opi_api.storage.v1.Vir" + - "tioBlk\"!\202\323\344\223\002\0332\016/v1/virtioblks:\tvirtiobl" + - "k\022|\n\rListVirtioBlk\022(.opi_api.storage.v1." + - "ListVirtioBlkRequest\032).opi_api.storage.v" + - "1.ListVirtioBlkResponse\"\026\202\323\344\223\002\020\022\016/v1/vir" + - "tioblks\022z\n\014GetVirtioBlk\022\'.opi_api.storag" + - "e.v1.GetVirtioBlkRequest\032\035.opi_api.stora" + - "ge.v1.VirtioBlk\"\"\202\323\344\223\002\034\022\032/v1/virtioblks/" + - "{virtioblk}\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" + "(\0132\035.opi_api.storage.v1.VirtioBlk\022,\n\006txn" + + "_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"" + + "{\n\026DeleteVirtioBlkRequest\0223\n\rcontroller_" + + "id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022," + + "\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Objec" + + "tKey\"y\n\026UpdateVirtioBlkRequest\0221\n\ncontro" + + "ller\030\001 \001(\0132\035.opi_api.storage.v1.VirtioBl" + + "k\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Ob" + + "jectKey\"=\n\024ListVirtioBlkRequest\022\021\n\tpage_" + + "size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"d\n\025ListVi" + + "rtioBlkResponse\0222\n\013controllers\030\001 \003(\0132\035.o" + + "pi_api.storage.v1.VirtioBlk\022\027\n\017next_page" + + "_token\030\002 \001(\t\"J\n\023GetVirtioBlkRequest\0223\n\rc" + + "ontroller_id\030\001 \001(\0132\034.opi_api.common.v1.O" + + "bjectKey\"L\n\025VirtioBlkStatsRequest\0223\n\rcon" + + "troller_id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + + "ectKey\"Q\n\026VirtioBlkStatsResponse\022(\n\002id\030\001" + + " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + + "ats\030\002 \001(\t2\374\005\n\030FrontendVirtioBlkService\022\177" + + "\n\017CreateVirtioBlk\022*.opi_api.storage.v1.C" + + "reateVirtioBlkRequest\032\035.opi_api.storage." + + "v1.VirtioBlk\"!\202\323\344\223\002\033\"\016/v1/virtioblks:\tvi" + + "rtioblk\022y\n\017DeleteVirtioBlk\022*.opi_api.sto" + + "rage.v1.DeleteVirtioBlkRequest\032\026.google." + + "protobuf.Empty\"\"\202\323\344\223\002\034*\032/v1/virtioblks/{" + + "virtioblk}\022\177\n\017UpdateVirtioBlk\022*.opi_api." + + "storage.v1.UpdateVirtioBlkRequest\032\035.opi_" + + "api.storage.v1.VirtioBlk\"!\202\323\344\223\002\0332\016/v1/vi" + + "rtioblks:\tvirtioblk\022|\n\rListVirtioBlk\022(.o" + + "pi_api.storage.v1.ListVirtioBlkRequest\032)" + + ".opi_api.storage.v1.ListVirtioBlkRespons" + + "e\"\026\202\323\344\223\002\020\022\016/v1/virtioblks\022z\n\014GetVirtioBl" + + "k\022\'.opi_api.storage.v1.GetVirtioBlkReque" + + "st\032\035.opi_api.storage.v1.VirtioBlk\"\"\202\323\344\223\002" + + "\034\022\032/v1/virtioblks/{virtioblk}\022i\n\016VirtioB" + + "lkStats\022).opi_api.storage.v1.VirtioBlkSt" + + "atsRequest\032*.opi_api.storage.v1.VirtioBl" + + "kStatsResponse\"\000Be\n\022opi_api.storage.v1B\026" + + "FrontendVirtioBlkProtoP\001Z5github.com/opi" + + "project/opi-api/storage/v1alpha1/gen/gob" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -134,19 +138,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateVirtioBlkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateVirtioBlkRequest_descriptor, - new java.lang.String[] { "Controller", }); + new java.lang.String[] { "Controller", "TxnId", }); internal_static_opi_api_storage_v1_DeleteVirtioBlkRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_opi_api_storage_v1_DeleteVirtioBlkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteVirtioBlkRequest_descriptor, - new java.lang.String[] { "ControllerId", }); + new java.lang.String[] { "ControllerId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateVirtioBlkRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_opi_api_storage_v1_UpdateVirtioBlkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateVirtioBlkRequest_descriptor, - new java.lang.String[] { "Controller", }); + new java.lang.String[] { "Controller", "TxnId", }); internal_static_opi_api_storage_v1_ListVirtioBlkRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_opi_api_storage_v1_ListVirtioBlkRequest_fieldAccessorTable = new 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 501a6573..0903fcd4 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FrontendVirtioScsiProto.java @@ -170,136 +170,147 @@ public static void registerAllExtensions( "id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022/" + "\n\ttarget_id\030\002 \001(\0132\034.opi_api.common.v1.Ob" + "jectKey\022/\n\tvolume_id\030\003 \001(\0132\034.opi_api.com" + - "mon.v1.ObjectKey\"U\n\035CreateVirtioScsiTarg" + - "etRequest\0224\n\006target\030\001 \001(\0132$.opi_api.stor" + - "age.v1.VirtioScsiTarget\"P\n\035DeleteVirtioS" + - "csiTargetRequest\022/\n\ttarget_id\030\001 \001(\0132\034.op" + - "i_api.common.v1.ObjectKey\"U\n\035UpdateVirti" + - "oScsiTargetRequest\0224\n\006target\030\001 \001(\0132$.opi" + - "_api.storage.v1.VirtioScsiTarget\"D\n\033List" + - "VirtioScsiTargetRequest\022\021\n\tpage_size\030\001 \001" + - "(\005\022\022\n\npage_token\030\002 \001(\t\"n\n\034ListVirtioScsi" + - "TargetResponse\0225\n\007targets\030\001 \003(\0132$.opi_ap" + - "i.storage.v1.VirtioScsiTarget\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"M\n\032GetVirtioScsiTargetReq" + - "uest\022/\n\ttarget_id\030\001 \001(\0132\034.opi_api.common" + - ".v1.ObjectKey\"O\n\034VirtioScsiTargetStatsRe" + - "quest\022/\n\ttarget_id\030\001 \001(\0132\034.opi_api.commo" + - "n.v1.ObjectKey\"X\n\035VirtioScsiTargetStatsR" + - "esponse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1." + - "ObjectKey\022\r\n\005stats\030\002 \001(\t\"a\n!CreateVirtio" + - "ScsiControllerRequest\022<\n\ncontroller\030\001 \001(" + - "\0132(.opi_api.storage.v1.VirtioScsiControl" + - "ler\"X\n!DeleteVirtioScsiControllerRequest" + - "\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_api.common" + - ".v1.ObjectKey\"a\n!UpdateVirtioScsiControl" + - "lerRequest\022<\n\ncontroller\030\001 \001(\0132(.opi_api" + - ".storage.v1.VirtioScsiController\"H\n\037List" + - "VirtioScsiControllerRequest\022\021\n\tpage_size" + - "\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"z\n ListVirtio" + - "ScsiControllerResponse\022=\n\013controllers\030\001 " + - "\003(\0132(.opi_api.storage.v1.VirtioScsiContr" + - "oller\022\027\n\017next_page_token\030\002 \001(\t\"U\n\036GetVir" + - "tioScsiControllerRequest\0223\n\rcontroller_i" + - "d\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"W\n" + - " VirtioScsiControllerStatsRequest\0223\n\rcon" + + "mon.v1.ObjectKey\"\203\001\n\035CreateVirtioScsiTar" + + "getRequest\0224\n\006target\030\001 \001(\0132$.opi_api.sto" + + "rage.v1.VirtioScsiTarget\022,\n\006txn_id\030\002 \001(\013" + + "2\034.opi_api.common.v1.ObjectKey\"~\n\035Delete" + + "VirtioScsiTargetRequest\022/\n\ttarget_id\030\001 \001" + + "(\0132\034.opi_api.common.v1.ObjectKey\022,\n\006txn_" + + "id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey\"\203" + + "\001\n\035UpdateVirtioScsiTargetRequest\0224\n\006targ" + + "et\030\001 \001(\0132$.opi_api.storage.v1.VirtioScsi" + + "Target\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common." + + "v1.ObjectKey\"D\n\033ListVirtioScsiTargetRequ" + + "est\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001" + + "(\t\"n\n\034ListVirtioScsiTargetResponse\0225\n\007ta" + + "rgets\030\001 \003(\0132$.opi_api.storage.v1.VirtioS" + + "csiTarget\022\027\n\017next_page_token\030\002 \001(\t\"M\n\032Ge" + + "tVirtioScsiTargetRequest\022/\n\ttarget_id\030\001 " + + "\001(\0132\034.opi_api.common.v1.ObjectKey\"O\n\034Vir" + + "tioScsiTargetStatsRequest\022/\n\ttarget_id\030\001" + + " \001(\0132\034.opi_api.common.v1.ObjectKey\"X\n\035Vi" + + "rtioScsiTargetStatsResponse\022(\n\002id\030\001 \001(\0132" + + "\034.opi_api.common.v1.ObjectKey\022\r\n\005stats\030\002" + + " \001(\t\"\217\001\n!CreateVirtioScsiControllerReque" + + "st\022<\n\ncontroller\030\001 \001(\0132(.opi_api.storage" + + ".v1.VirtioScsiController\022,\n\006txn_id\030\002 \001(\013" + + "2\034.opi_api.common.v1.ObjectKey\"\206\001\n!Delet" + + "eVirtioScsiControllerRequest\0223\n\rcontroll" + + "er_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKe" + + "y\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Ob" + + "jectKey\"\217\001\n!UpdateVirtioScsiControllerRe" + + "quest\022<\n\ncontroller\030\001 \001(\0132(.opi_api.stor" + + "age.v1.VirtioScsiController\022,\n\006txn_id\030\002 " + + "\001(\0132\034.opi_api.common.v1.ObjectKey\"H\n\037Lis" + + "tVirtioScsiControllerRequest\022\021\n\tpage_siz" + + "e\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"z\n ListVirti" + + "oScsiControllerResponse\022=\n\013controllers\030\001" + + " \003(\0132(.opi_api.storage.v1.VirtioScsiCont" + + "roller\022\027\n\017next_page_token\030\002 \001(\t\"U\n\036GetVi" + + "rtioScsiControllerRequest\0223\n\rcontroller_" + + "id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"W" + + "\n VirtioScsiControllerStatsRequest\0223\n\rco" + + "ntroller_id\030\001 \001(\0132\034.opi_api.common.v1.Ob" + + "jectKey\"\\\n!VirtioScsiControllerStatsResp" + + "onse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + + "ectKey\022\r\n\005stats\030\002 \001(\t\"z\n\032CreateVirtioScs" + + "iLunRequest\022.\n\003lun\030\001 \001(\0132!.opi_api.stora" + + "ge.v1.VirtioScsiLun\022,\n\006txn_id\030\002 \001(\0132\034.op" + + "i_api.common.v1.ObjectKey\"\255\001\n\032DeleteVirt" + + "ioScsiLunRequest\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\022,\n\006t" + + "xn_id\030\003 \001(\0132\034.opi_api.common.v1.ObjectKe" + + "y\"z\n\032UpdateVirtioScsiLunRequest\022.\n\003lun\030\001" + + " \001(\0132!.opi_api.storage.v1.VirtioScsiLun\022" + + ",\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Obje" + + "ctKey\"v\n\030ListVirtioScsiLunRequest\0223\n\rcon" + "troller_id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + - "ectKey\"\\\n!VirtioScsiControllerStatsRespo" + - "nse\022(\n\002id\030\001 \001(\0132\034.opi_api.common.v1.Obje" + - "ctKey\022\r\n\005stats\030\002 \001(\t\"L\n\032CreateVirtioScsi" + - "LunRequest\022.\n\003lun\030\001 \001(\0132!.opi_api.storag" + - "e.v1.VirtioScsiLun\"\177\n\032DeleteVirtioScsiLu" + - "nRequest\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_ap" + - "i.common.v1.ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034." + - "opi_api.common.v1.ObjectKey\"L\n\032UpdateVir" + - "tioScsiLunRequest\022.\n\003lun\030\001 \001(\0132!.opi_api" + - ".storage.v1.VirtioScsiLun\"v\n\030ListVirtioS" + - "csiLunRequest\0223\n\rcontroller_id\030\001 \001(\0132\034.o" + - "pi_api.common.v1.ObjectKey\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\031ListVirtioS" + - "csiLunResponse\022/\n\004luns\030\001 \003(\0132!.opi_api.s" + - "torage.v1.VirtioScsiLun\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"|\n\027GetVirtioScsiLunRequest\0223\n\rc" + - "ontroller_id\030\001 \001(\0132\034.opi_api.common.v1.O" + - "bjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_api.commo" + - "n.v1.ObjectKey\"~\n\031VirtioScsiLunStatsRequ" + - "est\0223\n\rcontroller_id\030\001 \001(\0132\034.opi_api.com" + - "mon.v1.ObjectKey\022,\n\006lun_id\030\002 \001(\0132\034.opi_a" + - "pi.common.v1.ObjectKey\"U\n\032VirtioScsiLunS" + - "tatsResponse\022(\n\002id\030\001 \001(\0132\034.opi_api.commo" + - "n.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\327\025\n\031Fronte" + - "ndVirtioScsiService\022\242\001\n\026CreateVirtioScsi" + - "Target\0221.opi_api.storage.v1.CreateVirtio" + - "ScsiTargetRequest\032$.opi_api.storage.v1.V" + - "irtioScsiTarget\"/\202\323\344\223\002)\"\025/v1/virtioscsit" + - "argets:\020virtioscsitarget\022\225\001\n\026DeleteVirti" + - "oScsiTarget\0221.opi_api.storage.v1.DeleteV" + - "irtioScsiTargetRequest\032\026.google.protobuf" + - ".Empty\"0\202\323\344\223\002**(/v1/virtioscsitargets/{v" + - "irtioscsitarget}\022\242\001\n\026UpdateVirtioScsiTar" + - "get\0221.opi_api.storage.v1.UpdateVirtioScs" + - "iTargetRequest\032$.opi_api.storage.v1.Virt" + - "ioScsiTarget\"/\202\323\344\223\002)2\025/v1/virtioscsitarg" + - "ets:\020virtioscsitarget\022\230\001\n\024ListVirtioScsi" + - "Target\022/.opi_api.storage.v1.ListVirtioSc" + - "siTargetRequest\0320.opi_api.storage.v1.Lis" + - "tVirtioScsiTargetResponse\"\035\202\323\344\223\002\027\022\025/v1/v" + - "irtioscsitargets\022\235\001\n\023GetVirtioScsiTarget" + - "\022..opi_api.storage.v1.GetVirtioScsiTarge" + - "tRequest\032$.opi_api.storage.v1.VirtioScsi" + - "Target\"0\202\323\344\223\002*\022(/v1/virtioscsitargets/{v" + - "irtioscsitarget}\022~\n\025VirtioScsiTargetStat" + - "s\0220.opi_api.storage.v1.VirtioScsiTargetS" + - "tatsRequest\0321.opi_api.storage.v1.VirtioS" + - "csiTargetStatsResponse\"\000\022\252\001\n\032CreateVirti" + - "oScsiController\0225.opi_api.storage.v1.Cre" + - "ateVirtioScsiControllerRequest\032(.opi_api" + - ".storage.v1.VirtioScsiController\"+\202\323\344\223\002%" + - "\"\023/v1/virtioscsictrls:\016virtioscsictrl\022\231\001" + - "\n\032DeleteVirtioScsiController\0225.opi_api.s" + - "torage.v1.DeleteVirtioScsiControllerRequ" + - "est\032\026.google.protobuf.Empty\",\202\323\344\223\002&*$/v1" + - "/virtioscsictrls/{virtioscsictrl}\022\252\001\n\032Up" + - "dateVirtioScsiController\0225.opi_api.stora" + - "ge.v1.UpdateVirtioScsiControllerRequest\032" + - "(.opi_api.storage.v1.VirtioScsiControlle" + - "r\"+\202\323\344\223\002%2\023/v1/virtioscsictrls:\016virtiosc" + - "sictrl\022\242\001\n\030ListVirtioScsiController\0223.op" + - "i_api.storage.v1.ListVirtioScsiControlle" + - "rRequest\0324.opi_api.storage.v1.ListVirtio" + - "ScsiControllerResponse\"\033\202\323\344\223\002\025\022\023/v1/virt" + - "ioscsictrls\022\245\001\n\027GetVirtioScsiController\022" + - "2.opi_api.storage.v1.GetVirtioScsiContro" + - "llerRequest\032(.opi_api.storage.v1.VirtioS" + - "csiController\",\202\323\344\223\002&\022$/v1/virtioscsictr" + - "ls/{virtioscsictrl}\022\212\001\n\031VirtioScsiContro" + - "llerStats\0224.opi_api.storage.v1.VirtioScs" + - "iControllerStatsRequest\0325.opi_api.storag" + - "e.v1.VirtioScsiControllerStatsResponse\"\000" + - "\022\223\001\n\023CreateVirtioScsiLun\022..opi_api.stora" + - "ge.v1.CreateVirtioScsiLunRequest\032!.opi_a" + - "pi.storage.v1.VirtioScsiLun\")\202\323\344\223\002#\"\022/v1" + - "/virtioscsiluns:\rvirtioscsilun\022\211\001\n\023Delet" + - "eVirtioScsiLun\022..opi_api.storage.v1.Dele" + - "teVirtioScsiLunRequest\032\026.google.protobuf" + - ".Empty\"*\202\323\344\223\002$*\"/v1/virtioscsiluns/{virt" + - "ioscsilun}\022\223\001\n\023UpdateVirtioScsiLun\022..opi" + - "_api.storage.v1.UpdateVirtioScsiLunReque" + - "st\032!.opi_api.storage.v1.VirtioScsiLun\")\202" + - "\323\344\223\002#2\022/v1/virtioscsiluns:\rvirtioscsilun" + - "\022\214\001\n\021ListVirtioScsiLun\022,.opi_api.storage" + - ".v1.ListVirtioScsiLunRequest\032-.opi_api.s" + - "torage.v1.ListVirtioScsiLunResponse\"\032\202\323\344" + - "\223\002\024\022\022/v1/virtioscsiluns\022\216\001\n\020GetVirtioScs" + - "iLun\022+.opi_api.storage.v1.GetVirtioScsiL" + - "unRequest\032!.opi_api.storage.v1.VirtioScs" + - "iLun\"*\202\323\344\223\002$\022\"/v1/virtioscsiluns/{virtio" + - "scsilun}\022u\n\022VirtioScsiLunStats\022-.opi_api" + - ".storage.v1.VirtioScsiLunStatsRequest\032.." + - "opi_api.storage.v1.VirtioScsiLunStatsRes" + - "ponse\"\000Bf\n\022opi_api.storage.v1B\027FrontendV" + - "irtioScsiProtoP\001Z5github.com/opiproject/" + - "opi-api/storage/v1alpha1/gen/gob\006proto3" + "ectKey\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"e\n\031ListVirtioScsiLunResponse\022/\n\004lu" + + "ns\030\001 \003(\0132!.opi_api.storage.v1.VirtioScsi" + + "Lun\022\027\n\017next_page_token\030\002 \001(\t\"|\n\027GetVirti" + + "oScsiLunRequest\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\"~\n\031Vi" + + "rtioScsiLunStatsRequest\0223\n\rcontroller_id" + + "\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\022,\n\006" + + "lun_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectK" + + "ey\"U\n\032VirtioScsiLunStatsResponse\022(\n\002id\030\001" + + " \001(\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005st" + + "ats\030\002 \001(\t2\327\025\n\031FrontendVirtioScsiService\022" + + "\242\001\n\026CreateVirtioScsiTarget\0221.opi_api.sto" + + "rage.v1.CreateVirtioScsiTargetRequest\032$." + + "opi_api.storage.v1.VirtioScsiTarget\"/\202\323\344" + + "\223\002)\"\025/v1/virtioscsitargets:\020virtioscsita" + + "rget\022\225\001\n\026DeleteVirtioScsiTarget\0221.opi_ap" + + "i.storage.v1.DeleteVirtioScsiTargetReque" + + "st\032\026.google.protobuf.Empty\"0\202\323\344\223\002**(/v1/" + + "virtioscsitargets/{virtioscsitarget}\022\242\001\n" + + "\026UpdateVirtioScsiTarget\0221.opi_api.storag" + + "e.v1.UpdateVirtioScsiTargetRequest\032$.opi" + + "_api.storage.v1.VirtioScsiTarget\"/\202\323\344\223\002)" + + "2\025/v1/virtioscsitargets:\020virtioscsitarge" + + "t\022\230\001\n\024ListVirtioScsiTarget\022/.opi_api.sto" + + "rage.v1.ListVirtioScsiTargetRequest\0320.op" + + "i_api.storage.v1.ListVirtioScsiTargetRes" + + "ponse\"\035\202\323\344\223\002\027\022\025/v1/virtioscsitargets\022\235\001\n" + + "\023GetVirtioScsiTarget\022..opi_api.storage.v" + + "1.GetVirtioScsiTargetRequest\032$.opi_api.s" + + "torage.v1.VirtioScsiTarget\"0\202\323\344\223\002*\022(/v1/" + + "virtioscsitargets/{virtioscsitarget}\022~\n\025" + + "VirtioScsiTargetStats\0220.opi_api.storage." + + "v1.VirtioScsiTargetStatsRequest\0321.opi_ap" + + "i.storage.v1.VirtioScsiTargetStatsRespon" + + "se\"\000\022\252\001\n\032CreateVirtioScsiController\0225.op" + + "i_api.storage.v1.CreateVirtioScsiControl" + + "lerRequest\032(.opi_api.storage.v1.VirtioSc" + + "siController\"+\202\323\344\223\002%\"\023/v1/virtioscsictrl" + + "s:\016virtioscsictrl\022\231\001\n\032DeleteVirtioScsiCo" + + "ntroller\0225.opi_api.storage.v1.DeleteVirt" + + "ioScsiControllerRequest\032\026.google.protobu" + + "f.Empty\",\202\323\344\223\002&*$/v1/virtioscsictrls/{vi" + + "rtioscsictrl}\022\252\001\n\032UpdateVirtioScsiContro" + + "ller\0225.opi_api.storage.v1.UpdateVirtioSc" + + "siControllerRequest\032(.opi_api.storage.v1" + + ".VirtioScsiController\"+\202\323\344\223\002%2\023/v1/virti" + + "oscsictrls:\016virtioscsictrl\022\242\001\n\030ListVirti" + + "oScsiController\0223.opi_api.storage.v1.Lis" + + "tVirtioScsiControllerRequest\0324.opi_api.s" + + "torage.v1.ListVirtioScsiControllerRespon" + + "se\"\033\202\323\344\223\002\025\022\023/v1/virtioscsictrls\022\245\001\n\027GetV" + + "irtioScsiController\0222.opi_api.storage.v1" + + ".GetVirtioScsiControllerRequest\032(.opi_ap" + + "i.storage.v1.VirtioScsiController\",\202\323\344\223\002" + + "&\022$/v1/virtioscsictrls/{virtioscsictrl}\022" + + "\212\001\n\031VirtioScsiControllerStats\0224.opi_api." + + "storage.v1.VirtioScsiControllerStatsRequ" + + "est\0325.opi_api.storage.v1.VirtioScsiContr" + + "ollerStatsResponse\"\000\022\223\001\n\023CreateVirtioScs" + + "iLun\022..opi_api.storage.v1.CreateVirtioSc" + + "siLunRequest\032!.opi_api.storage.v1.Virtio" + + "ScsiLun\")\202\323\344\223\002#\"\022/v1/virtioscsiluns:\rvir" + + "tioscsilun\022\211\001\n\023DeleteVirtioScsiLun\022..opi" + + "_api.storage.v1.DeleteVirtioScsiLunReque" + + "st\032\026.google.protobuf.Empty\"*\202\323\344\223\002$*\"/v1/" + + "virtioscsiluns/{virtioscsilun}\022\223\001\n\023Updat" + + "eVirtioScsiLun\022..opi_api.storage.v1.Upda" + + "teVirtioScsiLunRequest\032!.opi_api.storage" + + ".v1.VirtioScsiLun\")\202\323\344\223\002#2\022/v1/virtioscs" + + "iluns:\rvirtioscsilun\022\214\001\n\021ListVirtioScsiL" + + "un\022,.opi_api.storage.v1.ListVirtioScsiLu" + + "nRequest\032-.opi_api.storage.v1.ListVirtio" + + "ScsiLunResponse\"\032\202\323\344\223\002\024\022\022/v1/virtioscsil" + + "uns\022\216\001\n\020GetVirtioScsiLun\022+.opi_api.stora" + + "ge.v1.GetVirtioScsiLunRequest\032!.opi_api." + + "storage.v1.VirtioScsiLun\"*\202\323\344\223\002$\022\"/v1/vi" + + "rtioscsiluns/{virtioscsilun}\022u\n\022VirtioSc" + + "siLunStats\022-.opi_api.storage.v1.VirtioSc" + + "siLunStatsRequest\032..opi_api.storage.v1.V" + + "irtioScsiLunStatsResponse\"\000Bf\n\022opi_api.s" + + "torage.v1B\027FrontendVirtioScsiProtoP\001Z5gi" + + "thub.com/opiproject/opi-api/storage/v1al" + + "pha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -332,19 +343,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateVirtioScsiTargetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateVirtioScsiTargetRequest_descriptor, - new java.lang.String[] { "Target", }); + new java.lang.String[] { "Target", "TxnId", }); internal_static_opi_api_storage_v1_DeleteVirtioScsiTargetRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_opi_api_storage_v1_DeleteVirtioScsiTargetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteVirtioScsiTargetRequest_descriptor, - new java.lang.String[] { "TargetId", }); + new java.lang.String[] { "TargetId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateVirtioScsiTargetRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_opi_api_storage_v1_UpdateVirtioScsiTargetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateVirtioScsiTargetRequest_descriptor, - new java.lang.String[] { "Target", }); + new java.lang.String[] { "Target", "TxnId", }); internal_static_opi_api_storage_v1_ListVirtioScsiTargetRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_opi_api_storage_v1_ListVirtioScsiTargetRequest_fieldAccessorTable = new @@ -380,19 +391,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateVirtioScsiControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateVirtioScsiControllerRequest_descriptor, - new java.lang.String[] { "Controller", }); + new java.lang.String[] { "Controller", "TxnId", }); internal_static_opi_api_storage_v1_DeleteVirtioScsiControllerRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_opi_api_storage_v1_DeleteVirtioScsiControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteVirtioScsiControllerRequest_descriptor, - new java.lang.String[] { "ControllerId", }); + new java.lang.String[] { "ControllerId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateVirtioScsiControllerRequest_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_opi_api_storage_v1_UpdateVirtioScsiControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateVirtioScsiControllerRequest_descriptor, - new java.lang.String[] { "Controller", }); + new java.lang.String[] { "Controller", "TxnId", }); internal_static_opi_api_storage_v1_ListVirtioScsiControllerRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_opi_api_storage_v1_ListVirtioScsiControllerRequest_fieldAccessorTable = new @@ -428,19 +439,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateVirtioScsiLunRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateVirtioScsiLunRequest_descriptor, - new java.lang.String[] { "Lun", }); + new java.lang.String[] { "Lun", "TxnId", }); internal_static_opi_api_storage_v1_DeleteVirtioScsiLunRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_opi_api_storage_v1_DeleteVirtioScsiLunRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteVirtioScsiLunRequest_descriptor, - new java.lang.String[] { "ControllerId", "LunId", }); + new java.lang.String[] { "ControllerId", "LunId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateVirtioScsiLunRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_opi_api_storage_v1_UpdateVirtioScsiLunRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateVirtioScsiLunRequest_descriptor, - new java.lang.String[] { "Lun", }); + new java.lang.String[] { "Lun", "TxnId", }); internal_static_opi_api_storage_v1_ListVirtioScsiLunRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_opi_api_storage_v1_ListVirtioScsiLunRequest_fieldAccessorTable = new 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 62d7d885..e855201b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/MiddleendProto.java @@ -75,41 +75,45 @@ public static void registerAllExtensions( "\0132\034.opi_api.common.v1.ObjectKey\022/\n\tvolum" + "e_id\030\002 \001(\0132\034.opi_api.common.v1.ObjectKey" + "\022\013\n\003key\030\003 \001(\014\022.\n\006cipher\030\004 \001(\0162\036.opi_api." + - "storage.v1.CryptoType\"A\n\023CreateCryptoReq" + + "storage.v1.CryptoType\"o\n\023CreateCryptoReq" + "uest\022*\n\006volume\030\001 \001(\0132\032.opi_api.storage.v" + - "1.Crypto\"F\n\023DeleteCryptoRequest\022/\n\tcrypt" + - "o_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" + - "\"A\n\023UpdateCryptoRequest\022*\n\006volume\030\001 \001(\0132" + - "\032.opi_api.storage.v1.Crypto\":\n\021ListCrypt" + - "oRequest\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_toke" + - "n\030\002 \001(\t\"Z\n\022ListCryptoResponse\022+\n\007volumes" + - "\030\001 \003(\0132\032.opi_api.storage.v1.Crypto\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"C\n\020GetCryptoRequest\022" + - "/\n\tcrypto_id\030\001 \001(\0132\034.opi_api.common.v1.O" + - "bjectKey\"E\n\022CryptoStatsRequest\022/\n\tcrypto" + - "_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"" + - "U\n\023CryptoStatsResponse\022/\n\tcrypto_id\030\001 \001(" + - "\0132\034.opi_api.common.v1.ObjectKey\022\r\n\005stats" + - "\030\002 \001(\t2\246\005\n\020MiddleendService\022p\n\014CreateCry" + - "pto\022\'.opi_api.storage.v1.CreateCryptoReq" + - "uest\032\032.opi_api.storage.v1.Crypto\"\033\202\323\344\223\002\025" + - "\"\013/v1/volumes:\006volume\022m\n\014DeleteCrypto\022\'." + - "opi_api.storage.v1.DeleteCryptoRequest\032\026" + - ".google.protobuf.Empty\"\034\202\323\344\223\002\026*\024/v1/volu" + - "mes/{volume}\022p\n\014UpdateCrypto\022\'.opi_api.s" + - "torage.v1.UpdateCryptoRequest\032\032.opi_api." + - "storage.v1.Crypto\"\033\202\323\344\223\002\0252\013/v1/volumes:\006" + - "volume\022p\n\nListCrypto\022%.opi_api.storage.v" + - "1.ListCryptoRequest\032&.opi_api.storage.v1" + - ".ListCryptoResponse\"\023\202\323\344\223\002\r\022\013/v1/volumes" + - "\022k\n\tGetCrypto\022$.opi_api.storage.v1.GetCr" + - "yptoRequest\032\032.opi_api.storage.v1.Crypto\"" + - "\034\202\323\344\223\002\026\022\024/v1/volumes/{volume}\022`\n\013CryptoS" + - "tats\022&.opi_api.storage.v1.CryptoStatsReq" + - "uest\032\'.opi_api.storage.v1.CryptoStatsRes" + - "ponse\"\000B]\n\022opi_api.storage.v1B\016Middleend" + - "ProtoP\001Z5github.com/opiproject/opi-api/s" + - "torage/v1alpha1/gen/gob\006proto3" + "1.Crypto\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.commo" + + "n.v1.ObjectKey\"t\n\023DeleteCryptoRequest\022/\n" + + "\tcrypto_id\030\001 \001(\0132\034.opi_api.common.v1.Obj" + + "ectKey\022,\n\006txn_id\030\002 \001(\0132\034.opi_api.common." + + "v1.ObjectKey\"o\n\023UpdateCryptoRequest\022*\n\006v" + + "olume\030\001 \001(\0132\032.opi_api.storage.v1.Crypto\022" + + ",\n\006txn_id\030\002 \001(\0132\034.opi_api.common.v1.Obje" + + "ctKey\":\n\021ListCryptoRequest\022\021\n\tpage_size\030" + + "\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"Z\n\022ListCryptoR" + + "esponse\022+\n\007volumes\030\001 \003(\0132\032.opi_api.stora" + + "ge.v1.Crypto\022\027\n\017next_page_token\030\002 \001(\t\"C\n" + + "\020GetCryptoRequest\022/\n\tcrypto_id\030\001 \001(\0132\034.o" + + "pi_api.common.v1.ObjectKey\"E\n\022CryptoStat" + + "sRequest\022/\n\tcrypto_id\030\001 \001(\0132\034.opi_api.co" + + "mmon.v1.ObjectKey\"U\n\023CryptoStatsResponse" + + "\022/\n\tcrypto_id\030\001 \001(\0132\034.opi_api.common.v1." + + "ObjectKey\022\r\n\005stats\030\002 \001(\t2\246\005\n\020MiddleendSe" + + "rvice\022p\n\014CreateCrypto\022\'.opi_api.storage." + + "v1.CreateCryptoRequest\032\032.opi_api.storage" + + ".v1.Crypto\"\033\202\323\344\223\002\025\"\013/v1/volumes:\006volume\022" + + "m\n\014DeleteCrypto\022\'.opi_api.storage.v1.Del" + + "eteCryptoRequest\032\026.google.protobuf.Empty" + + "\"\034\202\323\344\223\002\026*\024/v1/volumes/{volume}\022p\n\014Update" + + "Crypto\022\'.opi_api.storage.v1.UpdateCrypto" + + "Request\032\032.opi_api.storage.v1.Crypto\"\033\202\323\344" + + "\223\002\0252\013/v1/volumes:\006volume\022p\n\nListCrypto\022%" + + ".opi_api.storage.v1.ListCryptoRequest\032&." + + "opi_api.storage.v1.ListCryptoResponse\"\023\202" + + "\323\344\223\002\r\022\013/v1/volumes\022k\n\tGetCrypto\022$.opi_ap" + + "i.storage.v1.GetCryptoRequest\032\032.opi_api." + + "storage.v1.Crypto\"\034\202\323\344\223\002\026\022\024/v1/volumes/{" + + "volume}\022`\n\013CryptoStats\022&.opi_api.storage" + + ".v1.CryptoStatsRequest\032\'.opi_api.storage" + + ".v1.CryptoStatsResponse\"\000B]\n\022opi_api.sto" + + "rage.v1B\016MiddleendProtoP\001Z5github.com/op" + + "iproject/opi-api/storage/v1alpha1/gen/go" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -130,19 +134,19 @@ public static void registerAllExtensions( internal_static_opi_api_storage_v1_CreateCryptoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_CreateCryptoRequest_descriptor, - new java.lang.String[] { "Volume", }); + new java.lang.String[] { "Volume", "TxnId", }); internal_static_opi_api_storage_v1_DeleteCryptoRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_opi_api_storage_v1_DeleteCryptoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_DeleteCryptoRequest_descriptor, - new java.lang.String[] { "CryptoId", }); + new java.lang.String[] { "CryptoId", "TxnId", }); internal_static_opi_api_storage_v1_UpdateCryptoRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_opi_api_storage_v1_UpdateCryptoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_UpdateCryptoRequest_descriptor, - new java.lang.String[] { "Volume", }); + new java.lang.String[] { "Volume", "TxnId", }); internal_static_opi_api_storage_v1_ListCryptoRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_opi_api_storage_v1_ListCryptoRequest_fieldAccessorTable = new diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java index 8523777c..12059412 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java @@ -61,6 +61,19 @@ private NullDebugCreateRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder() { return getDevice(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (device_ != null) { output.writeMessage(1, getDevice()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDevice()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getDevice() .equals(other.getDevice())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + DEVICE_FIELD_NUMBER; hash = (53 * hash) + getDevice().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { device_ = null; deviceBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.NullDebugCreateRequest buildPartial() { } else { result.device_ = deviceBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.NullDebugCreateRequest other) { if (other.hasDevice()) { mergeDevice(other.getDevice()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder() { } return deviceBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java index 3bc8159d..b6fe19dc 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface NullDebugCreateRequestOrBuilder extends * .opi_api.storage.v1.NullDebug device = 1; */ opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java index 85697aeb..405a3531 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java @@ -61,6 +61,19 @@ private NullDebugDeleteRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { return getHandle(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (handle_ != null) { output.writeMessage(1, getHandle()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHandle()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getHandle() .equals(other.getHandle())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + HANDLE_FIELD_NUMBER; hash = (53 * hash) + getHandle().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { handle_ = null; handleBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.NullDebugDeleteRequest buildPartial() { } else { result.handle_ = handleBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.NullDebugDeleteRequest other) { if (other.hasHandle()) { mergeHandle(other.getHandle()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { } return handleBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java index 5bfadb11..b96af891 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface NullDebugDeleteRequestOrBuilder extends * .opi_api.common.v1.ObjectKey handle = 1; */ opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java index bfef7b1d..913ed58f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java @@ -61,6 +61,19 @@ private NullDebugUpdateRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder() { return getDevice(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (device_ != null) { output.writeMessage(1, getDevice()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDevice()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getDevice() .equals(other.getDevice())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + DEVICE_FIELD_NUMBER; hash = (53 * hash) + getDevice().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { device_ = null; deviceBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.NullDebugUpdateRequest buildPartial() { } else { result.device_ = deviceBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.NullDebugUpdateRequest other) { if (other.hasDevice()) { mergeDevice(other.getDevice()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder() { } return deviceBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java index 3086647f..fb7b47e7 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface NullDebugUpdateRequestOrBuilder extends * .opi_api.storage.v1.NullDebug device = 1; */ opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/Transaction.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/Transaction.java new file mode 100644 index 00000000..5252e192 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/Transaction.java @@ -0,0 +1,607 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.Transaction} + */ +public final class Transaction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.Transaction) + TransactionOrBuilder { +private static final long serialVersionUID = 0L; + // Use Transaction.newBuilder() to construct. + private Transaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Transaction() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Transaction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Transaction( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_Transaction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_Transaction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.Transaction.class, opi_api.storage.v1.Transaction.Builder.class); + } + + public static final int TXN_ID_FIELD_NUMBER = 1; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + + 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 (txnId_ != null) { + output.writeMessage(1, getTxnId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTxnId()); + } + 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.Transaction)) { + return super.equals(obj); + } + opi_api.storage.v1.Transaction other = (opi_api.storage.v1.Transaction) obj; + + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.Transaction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.Transaction 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.Transaction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.Transaction 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.Transaction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.Transaction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.Transaction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.Transaction 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.Transaction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.Transaction 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.Transaction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.Transaction 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.Transaction 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.Transaction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.Transaction) + opi_api.storage.v1.TransactionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_Transaction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_Transaction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.Transaction.class, opi_api.storage.v1.Transaction.Builder.class); + } + + // Construct using opi_api.storage.v1.Transaction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.TransactionsProto.internal_static_opi_api_storage_v1_Transaction_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.Transaction getDefaultInstanceForType() { + return opi_api.storage.v1.Transaction.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.Transaction build() { + opi_api.storage.v1.Transaction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.Transaction buildPartial() { + opi_api.storage.v1.Transaction result = new opi_api.storage.v1.Transaction(this); + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof opi_api.storage.v1.Transaction) { + return mergeFrom((opi_api.storage.v1.Transaction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.Transaction other) { + if (other == opi_api.storage.v1.Transaction.getDefaultInstance()) return this; + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } + 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.Transaction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.Transaction) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } + @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.Transaction) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.Transaction) + private static final opi_api.storage.v1.Transaction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.Transaction(); + } + + public static opi_api.storage.v1.Transaction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Transaction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Transaction(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.Transaction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionOrBuilder.java new file mode 100644 index 00000000..51696a02 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionOrBuilder.java @@ -0,0 +1,24 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +public interface TransactionOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.Transaction) + com.google.protobuf.MessageOrBuilder { + + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionServiceGrpc.java new file mode 100644 index 00000000..7ba61f9e --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionServiceGrpc.java @@ -0,0 +1,424 @@ +package opi_api.storage.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: transactions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TransactionServiceGrpc { + + private TransactionServiceGrpc() {} + + public static final String SERVICE_NAME = "opi_api.storage.v1.TransactionService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTransactionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTransaction", + requestType = opi_api.storage.v1.CreateTransactionRequest.class, + responseType = opi_api.storage.v1.Transaction.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTransactionMethod() { + io.grpc.MethodDescriptor getCreateTransactionMethod; + if ((getCreateTransactionMethod = TransactionServiceGrpc.getCreateTransactionMethod) == null) { + synchronized (TransactionServiceGrpc.class) { + if ((getCreateTransactionMethod = TransactionServiceGrpc.getCreateTransactionMethod) == null) { + TransactionServiceGrpc.getCreateTransactionMethod = getCreateTransactionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTransaction")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + opi_api.storage.v1.CreateTransactionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + opi_api.storage.v1.Transaction.getDefaultInstance())) + .setSchemaDescriptor(new TransactionServiceMethodDescriptorSupplier("CreateTransaction")) + .build(); + } + } + } + return getCreateTransactionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTransactionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTransaction", + requestType = opi_api.storage.v1.DeleteTransactionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTransactionMethod() { + io.grpc.MethodDescriptor getDeleteTransactionMethod; + if ((getDeleteTransactionMethod = TransactionServiceGrpc.getDeleteTransactionMethod) == null) { + synchronized (TransactionServiceGrpc.class) { + if ((getDeleteTransactionMethod = TransactionServiceGrpc.getDeleteTransactionMethod) == null) { + TransactionServiceGrpc.getDeleteTransactionMethod = getDeleteTransactionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTransaction")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + opi_api.storage.v1.DeleteTransactionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TransactionServiceMethodDescriptorSupplier("DeleteTransaction")) + .build(); + } + } + } + return getDeleteTransactionMethod; + } + + private static volatile io.grpc.MethodDescriptor getExecuteTransactionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExecuteTransaction", + requestType = opi_api.storage.v1.ExecuteTransactionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExecuteTransactionMethod() { + io.grpc.MethodDescriptor getExecuteTransactionMethod; + if ((getExecuteTransactionMethod = TransactionServiceGrpc.getExecuteTransactionMethod) == null) { + synchronized (TransactionServiceGrpc.class) { + if ((getExecuteTransactionMethod = TransactionServiceGrpc.getExecuteTransactionMethod) == null) { + TransactionServiceGrpc.getExecuteTransactionMethod = getExecuteTransactionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteTransaction")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + opi_api.storage.v1.ExecuteTransactionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TransactionServiceMethodDescriptorSupplier("ExecuteTransaction")) + .build(); + } + } + } + return getExecuteTransactionMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TransactionServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TransactionServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TransactionServiceStub(channel, callOptions); + } + }; + return TransactionServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TransactionServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TransactionServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TransactionServiceBlockingStub(channel, callOptions); + } + }; + return TransactionServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TransactionServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TransactionServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TransactionServiceFutureStub(channel, callOptions); + } + }; + return TransactionServiceFutureStub.newStub(factory, channel); + } + + /** + */ + public static abstract class TransactionServiceImplBase implements io.grpc.BindableService { + + /** + */ + public void createTransaction(opi_api.storage.v1.CreateTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTransactionMethod(), responseObserver); + } + + /** + */ + public void deleteTransaction(opi_api.storage.v1.DeleteTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTransactionMethod(), responseObserver); + } + + /** + */ + public void executeTransaction(opi_api.storage.v1.ExecuteTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteTransactionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + opi_api.storage.v1.CreateTransactionRequest, + opi_api.storage.v1.Transaction>( + this, METHODID_CREATE_TRANSACTION))) + .addMethod( + getDeleteTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + opi_api.storage.v1.DeleteTransactionRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TRANSACTION))) + .addMethod( + getExecuteTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + opi_api.storage.v1.ExecuteTransactionRequest, + com.google.protobuf.Empty>( + this, METHODID_EXECUTE_TRANSACTION))) + .build(); + } + } + + /** + */ + public static final class TransactionServiceStub extends io.grpc.stub.AbstractAsyncStub { + private TransactionServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TransactionServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TransactionServiceStub(channel, callOptions); + } + + /** + */ + public void createTransaction(opi_api.storage.v1.CreateTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTransactionMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void deleteTransaction(opi_api.storage.v1.DeleteTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTransactionMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void executeTransaction(opi_api.storage.v1.ExecuteTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExecuteTransactionMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + */ + public static final class TransactionServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TransactionServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TransactionServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TransactionServiceBlockingStub(channel, callOptions); + } + + /** + */ + public opi_api.storage.v1.Transaction createTransaction(opi_api.storage.v1.CreateTransactionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTransactionMethod(), getCallOptions(), request); + } + + /** + */ + public com.google.protobuf.Empty deleteTransaction(opi_api.storage.v1.DeleteTransactionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTransactionMethod(), getCallOptions(), request); + } + + /** + */ + public com.google.protobuf.Empty executeTransaction(opi_api.storage.v1.ExecuteTransactionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExecuteTransactionMethod(), getCallOptions(), request); + } + } + + /** + */ + public static final class TransactionServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private TransactionServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TransactionServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TransactionServiceFutureStub(channel, callOptions); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture createTransaction( + opi_api.storage.v1.CreateTransactionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTransactionMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture deleteTransaction( + opi_api.storage.v1.DeleteTransactionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTransactionMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture executeTransaction( + opi_api.storage.v1.ExecuteTransactionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExecuteTransactionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TRANSACTION = 0; + private static final int METHODID_DELETE_TRANSACTION = 1; + private static final int METHODID_EXECUTE_TRANSACTION = 2; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TransactionServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TransactionServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TRANSACTION: + serviceImpl.createTransaction((opi_api.storage.v1.CreateTransactionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TRANSACTION: + serviceImpl.deleteTransaction((opi_api.storage.v1.DeleteTransactionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXECUTE_TRANSACTION: + serviceImpl.executeTransaction((opi_api.storage.v1.ExecuteTransactionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TransactionServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TransactionServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return opi_api.storage.v1.TransactionsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TransactionService"); + } + } + + private static final class TransactionServiceFileDescriptorSupplier + extends TransactionServiceBaseDescriptorSupplier { + TransactionServiceFileDescriptorSupplier() {} + } + + private static final class TransactionServiceMethodDescriptorSupplier + extends TransactionServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TransactionServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TransactionServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TransactionServiceFileDescriptorSupplier()) + .addMethod(getCreateTransactionMethod()) + .addMethod(getDeleteTransactionMethod()) + .addMethod(getExecuteTransactionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionsProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionsProto.java new file mode 100644 index 00000000..d7faf341 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/TransactionsProto.java @@ -0,0 +1,112 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transactions.proto + +package opi_api.storage.v1; + +public final class TransactionsProto { + private TransactionsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_opi_api_storage_v1_Transaction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_opi_api_storage_v1_Transaction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_opi_api_storage_v1_CreateTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_opi_api_storage_v1_CreateTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_opi_api_storage_v1_DeleteTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_opi_api_storage_v1_DeleteTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_opi_api_storage_v1_ExecuteTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_opi_api_storage_v1_ExecuteTransactionRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\022transactions.proto\022\022opi_api.storage.v1" + + "\032\020object_key.proto\032\033google/protobuf/empt" + + "y.proto\032\034google/api/annotations.proto\";\n" + + "\013Transaction\022,\n\006txn_id\030\001 \001(\0132\034.opi_api.c" + + "ommon.v1.ObjectKey\"\032\n\030CreateTransactionR" + + "equest\"H\n\030DeleteTransactionRequest\022,\n\006tx" + + "n_id\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey" + + "\"I\n\031ExecuteTransactionRequest\022,\n\006txn_id\030" + + "\001 \001(\0132\034.opi_api.common.v1.ObjectKey2\250\003\n\022" + + "TransactionService\022\211\001\n\021CreateTransaction" + + "\022,.opi_api.storage.v1.CreateTransactionR" + + "equest\032\037.opi_api.storage.v1.Transaction\"" + + "%\202\323\344\223\002\037\"\020/v1/transactions:\013transaction\022\200" + + "\001\n\021DeleteTransaction\022,.opi_api.storage.v" + + "1.DeleteTransactionRequest\032\026.google.prot" + + "obuf.Empty\"%\202\323\344\223\002\037\"\020/v1/transactions:\013tr" + + "ansaction\022\202\001\n\022ExecuteTransaction\022-.opi_a" + + "pi.storage.v1.ExecuteTransactionRequest\032" + + "\026.google.protobuf.Empty\"%\202\323\344\223\002\037\"\020/v1/tra" + + "nsactions:\013transactionB`\n\022opi_api.storag" + + "e.v1B\021TransactionsProtoP\001Z5github.com/op" + + "iproject/opi-api/storage/v1alpha1/gen/go" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + opi_api.common.v1.ObjectKeyProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_opi_api_storage_v1_Transaction_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_opi_api_storage_v1_Transaction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_opi_api_storage_v1_Transaction_descriptor, + new java.lang.String[] { "TxnId", }); + internal_static_opi_api_storage_v1_CreateTransactionRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_opi_api_storage_v1_CreateTransactionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_opi_api_storage_v1_CreateTransactionRequest_descriptor, + new java.lang.String[] { }); + internal_static_opi_api_storage_v1_DeleteTransactionRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_opi_api_storage_v1_DeleteTransactionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_opi_api_storage_v1_DeleteTransactionRequest_descriptor, + new java.lang.String[] { "TxnId", }); + internal_static_opi_api_storage_v1_ExecuteTransactionRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_opi_api_storage_v1_ExecuteTransactionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_opi_api_storage_v1_ExecuteTransactionRequest_descriptor, + new java.lang.String[] { "TxnId", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.AnnotationsProto.http); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + opi_api.common.v1.ObjectKeyProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequest.java index 3b999b38..883e3bec 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequest.java @@ -61,6 +61,19 @@ private UpdateCryptoRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.CryptoOrBuilder getVolumeOrBuilder() { return getVolume(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (volume_ != null) { output.writeMessage(1, getVolume()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getVolume()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getVolume() .equals(other.getVolume())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { volume_ = null; volumeBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateCryptoRequest buildPartial() { } else { result.volume_ = volumeBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateCryptoRequest other) { if (other.hasVolume()) { mergeVolume(other.getVolume()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.CryptoOrBuilder getVolumeOrBuilder() { } return volumeBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequestOrBuilder.java index a890c497..fd27ca46 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateCryptoRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateCryptoRequestOrBuilder extends * .opi_api.storage.v1.Crypto volume = 1; */ opi_api.storage.v1.CryptoOrBuilder getVolumeOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequest.java index 730b3456..d3344f65 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequest.java @@ -61,6 +61,19 @@ private UpdateNVMeControllerRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NVMeControllerOrBuilder getControllerOrBuilder() { return getController(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controller_ != null) { output.writeMessage(1, getController()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getController()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getController() .equals(other.getController())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + getController().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controller_ = null; controllerBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateNVMeControllerRequest buildPartial() { } else { result.controller_ = controllerBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateNVMeControllerRequest other) { if (other.hasController()) { mergeController(other.getController()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NVMeControllerOrBuilder getControllerOrBuilder() { } return controllerBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequestOrBuilder.java index 3970a4b0..e07bf18a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeControllerRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateNVMeControllerRequestOrBuilder extends * .opi_api.storage.v1.NVMeController controller = 1; */ opi_api.storage.v1.NVMeControllerOrBuilder getControllerOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequest.java index 413bf697..ed04224b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequest.java @@ -61,6 +61,19 @@ private UpdateNVMeNamespaceRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NVMeNamespaceOrBuilder getNamespaceOrBuilder() { return getNamespace(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (namespace_ != null) { output.writeMessage(1, getNamespace()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNamespace()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getNamespace() .equals(other.getNamespace())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getNamespace().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { namespace_ = null; namespaceBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateNVMeNamespaceRequest buildPartial() { } else { result.namespace_ = namespaceBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateNVMeNamespaceRequest other) { if (other.hasNamespace()) { mergeNamespace(other.getNamespace()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NVMeNamespaceOrBuilder getNamespaceOrBuilder() { } return namespaceBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequestOrBuilder.java index 1db2bc70..d45af720 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeNamespaceRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateNVMeNamespaceRequestOrBuilder extends * .opi_api.storage.v1.NVMeNamespace namespace = 1; */ opi_api.storage.v1.NVMeNamespaceOrBuilder getNamespaceOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequest.java index 45853a30..d20f1697 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequest.java @@ -61,6 +61,19 @@ private UpdateNVMeSubsystemRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.NVMeSubsystemOrBuilder getSubsystemOrBuilder() { return getSubsystem(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (subsystem_ != null) { output.writeMessage(1, getSubsystem()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSubsystem()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getSubsystem() .equals(other.getSubsystem())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + SUBSYSTEM_FIELD_NUMBER; hash = (53 * hash) + getSubsystem().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { subsystem_ = null; subsystemBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateNVMeSubsystemRequest buildPartial() { } else { result.subsystem_ = subsystemBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateNVMeSubsystemRequest other) { if (other.hasSubsystem()) { mergeSubsystem(other.getSubsystem()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.NVMeSubsystemOrBuilder getSubsystemOrBuilder() { } return subsystemBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequestOrBuilder.java index 9ee992d9..1cc3fba9 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMeSubsystemRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateNVMeSubsystemRequestOrBuilder extends * .opi_api.storage.v1.NVMeSubsystem subsystem = 1; */ opi_api.storage.v1.NVMeSubsystemOrBuilder getSubsystemOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequest.java index ac77dd04..bda810e5 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequest.java @@ -61,6 +61,19 @@ private UpdateVirtioBlkRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioBlkOrBuilder getControllerOrBuilder() { return getController(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controller_ != null) { output.writeMessage(1, getController()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getController()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getController() .equals(other.getController())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + getController().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controller_ = null; controllerBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateVirtioBlkRequest buildPartial() { } else { result.controller_ = controllerBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateVirtioBlkRequest other) { if (other.hasController()) { mergeController(other.getController()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioBlkOrBuilder getControllerOrBuilder() { } return controllerBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequestOrBuilder.java index ffc54b69..0e3b74b3 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioBlkRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateVirtioBlkRequestOrBuilder extends * .opi_api.storage.v1.VirtioBlk controller = 1; */ opi_api.storage.v1.VirtioBlkOrBuilder getControllerOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequest.java index c022efa7..befcb643 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequest.java @@ -61,6 +61,19 @@ private UpdateVirtioScsiControllerRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getControllerOrBuilder() return getController(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controller_ != null) { output.writeMessage(1, getController()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getController()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getController() .equals(other.getController())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + getController().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { controller_ = null; controllerBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateVirtioScsiControllerRequest buildPartial() { } else { result.controller_ = controllerBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateVirtioScsiControllerRequest ot if (other.hasController()) { mergeController(other.getController()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioScsiControllerOrBuilder getControllerOrBuilder() } return controllerBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequestOrBuilder.java index 7cdccf98..5fe8dcfb 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiControllerRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateVirtioScsiControllerRequestOrBuilder extends * .opi_api.storage.v1.VirtioScsiController controller = 1; */ opi_api.storage.v1.VirtioScsiControllerOrBuilder getControllerOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequest.java index 8d160c01..8b8c9296 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequest.java @@ -61,6 +61,19 @@ private UpdateVirtioScsiLunRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioScsiLunOrBuilder getLunOrBuilder() { return getLun(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (lun_ != null) { output.writeMessage(1, getLun()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLun()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getLun() .equals(other.getLun())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + LUN_FIELD_NUMBER; hash = (53 * hash) + getLun().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { lun_ = null; lunBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateVirtioScsiLunRequest buildPartial() { } else { result.lun_ = lunBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateVirtioScsiLunRequest other) { if (other.hasLun()) { mergeLun(other.getLun()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioScsiLunOrBuilder getLunOrBuilder() { } return lunBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequestOrBuilder.java index 4a33d9fb..616ce9fb 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiLunRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateVirtioScsiLunRequestOrBuilder extends * .opi_api.storage.v1.VirtioScsiLun lun = 1; */ opi_api.storage.v1.VirtioScsiLunOrBuilder getLunOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequest.java index a09b86ea..d7aca171 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequest.java @@ -61,6 +61,19 @@ private UpdateVirtioScsiTargetRequest( break; } + case 18: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (txnId_ != null) { + subBuilder = txnId_.toBuilder(); + } + txnId_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(txnId_); + txnId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -119,6 +132,32 @@ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getTargetOrBuilder() { return getTarget(); } + public static final int TXN_ID_FIELD_NUMBER = 2; + private opi_api.common.v1.ObjectKey txnId_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + @java.lang.Override + public boolean hasTxnId() { + return txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getTxnId() { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + return getTxnId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -136,6 +175,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (target_ != null) { output.writeMessage(1, getTarget()); } + if (txnId_ != null) { + output.writeMessage(2, getTxnId()); + } unknownFields.writeTo(output); } @@ -149,6 +191,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTarget()); } + if (txnId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTxnId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -169,6 +215,11 @@ public boolean equals(final java.lang.Object obj) { if (!getTarget() .equals(other.getTarget())) return false; } + if (hasTxnId() != other.hasTxnId()) return false; + if (hasTxnId()) { + if (!getTxnId() + .equals(other.getTxnId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -184,6 +235,10 @@ public int hashCode() { hash = (37 * hash) + TARGET_FIELD_NUMBER; hash = (53 * hash) + getTarget().hashCode(); } + if (hasTxnId()) { + hash = (37 * hash) + TXN_ID_FIELD_NUMBER; + hash = (53 * hash) + getTxnId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -323,6 +378,12 @@ public Builder clear() { target_ = null; targetBuilder_ = null; } + if (txnIdBuilder_ == null) { + txnId_ = null; + } else { + txnId_ = null; + txnIdBuilder_ = null; + } return this; } @@ -354,6 +415,11 @@ public opi_api.storage.v1.UpdateVirtioScsiTargetRequest buildPartial() { } else { result.target_ = targetBuilder_.build(); } + if (txnIdBuilder_ == null) { + result.txnId_ = txnId_; + } else { + result.txnId_ = txnIdBuilder_.build(); + } onBuilt(); return result; } @@ -405,6 +471,9 @@ public Builder mergeFrom(opi_api.storage.v1.UpdateVirtioScsiTargetRequest other) if (other.hasTarget()) { mergeTarget(other.getTarget()); } + if (other.hasTxnId()) { + mergeTxnId(other.getTxnId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -552,6 +621,125 @@ public opi_api.storage.v1.VirtioScsiTargetOrBuilder getTargetOrBuilder() { } return targetBuilder_; } + + private opi_api.common.v1.ObjectKey txnId_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> txnIdBuilder_; + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + public boolean hasTxnId() { + return txnIdBuilder_ != null || txnId_ != null; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + public opi_api.common.v1.ObjectKey getTxnId() { + if (txnIdBuilder_ == null) { + return txnId_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } else { + return txnIdBuilder_.getMessage(); + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + txnId_ = value; + onChanged(); + } else { + txnIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder setTxnId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (txnIdBuilder_ == null) { + txnId_ = builderForValue.build(); + onChanged(); + } else { + txnIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder mergeTxnId(opi_api.common.v1.ObjectKey value) { + if (txnIdBuilder_ == null) { + if (txnId_ != null) { + txnId_ = + opi_api.common.v1.ObjectKey.newBuilder(txnId_).mergeFrom(value).buildPartial(); + } else { + txnId_ = value; + } + onChanged(); + } else { + txnIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public Builder clearTxnId() { + if (txnIdBuilder_ == null) { + txnId_ = null; + onChanged(); + } else { + txnId_ = null; + txnIdBuilder_ = null; + } + + return this; + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKey.Builder getTxnIdBuilder() { + + onChanged(); + return getTxnIdFieldBuilder().getBuilder(); + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder() { + if (txnIdBuilder_ != null) { + return txnIdBuilder_.getMessageOrBuilder(); + } else { + return txnId_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : txnId_; + } + } + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getTxnIdFieldBuilder() { + if (txnIdBuilder_ == null) { + txnIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getTxnId(), + getParentForChildren(), + isClean()); + txnId_ = null; + } + return txnIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequestOrBuilder.java index 24f1de39..5e5b2167 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateVirtioScsiTargetRequestOrBuilder.java @@ -21,4 +21,19 @@ public interface UpdateVirtioScsiTargetRequestOrBuilder extends * .opi_api.storage.v1.VirtioScsiTarget target = 1; */ opi_api.storage.v1.VirtioScsiTargetOrBuilder getTargetOrBuilder(); + + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return Whether the txnId field is set. + */ + boolean hasTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + * @return The txnId. + */ + opi_api.common.v1.ObjectKey getTxnId(); + /** + * .opi_api.common.v1.ObjectKey txn_id = 2; + */ + opi_api.common.v1.ObjectKeyOrBuilder getTxnIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/python/backend_aio_pb2.py b/storage/v1alpha1/gen/python/backend_aio_pb2.py index 25873c6d..9f914999 100644 --- a/storage/v1alpha1/gen/python/backend_aio_pb2.py +++ b/storage/v1alpha1/gen/python/backend_aio_pb2.py @@ -17,7 +17,7 @@ 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\x1bgoogle/protobuf/empty.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\"O\n\x1a\x41ioControllerCreateRequest\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\"J\n\x1a\x41ioControllerDeleteRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"O\n\x1a\x41ioControllerUpdateRequest\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\"F\n\x11\x41ioControllerList\x12\x31\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.AioController\"G\n\x17\x41ioControllerGetRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x1d\n\x1b\x41ioControllerGetListRequest\"L\n\x1c\x41ioControllerGetStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"I\n\x19\x41ioControllerStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"Q\n\x12\x41ioControllerStats\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\x9c\x05\n\x14\x41ioControllerService\x12j\n\x13\x41ioControllerCreate\x12..opi_api.storage.v1.AioControllerCreateRequest\x1a!.opi_api.storage.v1.AioController\"\x00\x12_\n\x13\x41ioControllerDelete\x12..opi_api.storage.v1.AioControllerDeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x64\n\x10\x41ioControllerGet\x12+.opi_api.storage.v1.AioControllerGetRequest\x1a!.opi_api.storage.v1.AioController\"\x00\x12p\n\x14\x41ioControllerGetList\x12/.opi_api.storage.v1.AioControllerGetListRequest\x1a%.opi_api.storage.v1.AioControllerList\"\x00\x12s\n\x15\x41ioControllerGetStats\x12\x30.opi_api.storage.v1.AioControllerGetStatsRequest\x1a&.opi_api.storage.v1.AioControllerStats\"\x00\x12j\n\x13\x41ioControllerUpdate\x12..opi_api.storage.v1.AioControllerUpdateRequest\x1a!.opi_api.storage.v1.AioController\"\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\x1bgoogle/protobuf/empty.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\"}\n\x1a\x41ioControllerCreateRequest\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"x\n\x1a\x41ioControllerDeleteRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"}\n\x1a\x41ioControllerUpdateRequest\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"F\n\x11\x41ioControllerList\x12\x31\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.AioController\"G\n\x17\x41ioControllerGetRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x1d\n\x1b\x41ioControllerGetListRequest\"L\n\x1c\x41ioControllerGetStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"I\n\x19\x41ioControllerStatsRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"Q\n\x12\x41ioControllerStats\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\x9c\x05\n\x14\x41ioControllerService\x12j\n\x13\x41ioControllerCreate\x12..opi_api.storage.v1.AioControllerCreateRequest\x1a!.opi_api.storage.v1.AioController\"\x00\x12_\n\x13\x41ioControllerDelete\x12..opi_api.storage.v1.AioControllerDeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x64\n\x10\x41ioControllerGet\x12+.opi_api.storage.v1.AioControllerGetRequest\x1a!.opi_api.storage.v1.AioController\"\x00\x12p\n\x14\x41ioControllerGetList\x12/.opi_api.storage.v1.AioControllerGetListRequest\x1a%.opi_api.storage.v1.AioControllerList\"\x00\x12s\n\x15\x41ioControllerGetStats\x12\x30.opi_api.storage.v1.AioControllerGetStatsRequest\x1a&.opi_api.storage.v1.AioControllerStats\"\x00\x12j\n\x13\x41ioControllerUpdate\x12..opi_api.storage.v1.AioControllerUpdateRequest\x1a!.opi_api.storage.v1.AioController\"\x00\x42^\n\x12opi_api.storage.v1B\x0f\x42\x61\x63kendAioProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -109,23 +109,23 @@ _AIOCONTROLLER._serialized_start=101 _AIOCONTROLLER._serialized_end=261 _AIOCONTROLLERCREATEREQUEST._serialized_start=263 - _AIOCONTROLLERCREATEREQUEST._serialized_end=342 - _AIOCONTROLLERDELETEREQUEST._serialized_start=344 - _AIOCONTROLLERDELETEREQUEST._serialized_end=418 - _AIOCONTROLLERUPDATEREQUEST._serialized_start=420 - _AIOCONTROLLERUPDATEREQUEST._serialized_end=499 - _AIOCONTROLLERLIST._serialized_start=501 - _AIOCONTROLLERLIST._serialized_end=571 - _AIOCONTROLLERGETREQUEST._serialized_start=573 - _AIOCONTROLLERGETREQUEST._serialized_end=644 - _AIOCONTROLLERGETLISTREQUEST._serialized_start=646 - _AIOCONTROLLERGETLISTREQUEST._serialized_end=675 - _AIOCONTROLLERGETSTATSREQUEST._serialized_start=677 - _AIOCONTROLLERGETSTATSREQUEST._serialized_end=753 - _AIOCONTROLLERSTATSREQUEST._serialized_start=755 - _AIOCONTROLLERSTATSREQUEST._serialized_end=828 - _AIOCONTROLLERSTATS._serialized_start=830 - _AIOCONTROLLERSTATS._serialized_end=911 - _AIOCONTROLLERSERVICE._serialized_start=914 - _AIOCONTROLLERSERVICE._serialized_end=1582 + _AIOCONTROLLERCREATEREQUEST._serialized_end=388 + _AIOCONTROLLERDELETEREQUEST._serialized_start=390 + _AIOCONTROLLERDELETEREQUEST._serialized_end=510 + _AIOCONTROLLERUPDATEREQUEST._serialized_start=512 + _AIOCONTROLLERUPDATEREQUEST._serialized_end=637 + _AIOCONTROLLERLIST._serialized_start=639 + _AIOCONTROLLERLIST._serialized_end=709 + _AIOCONTROLLERGETREQUEST._serialized_start=711 + _AIOCONTROLLERGETREQUEST._serialized_end=782 + _AIOCONTROLLERGETLISTREQUEST._serialized_start=784 + _AIOCONTROLLERGETLISTREQUEST._serialized_end=813 + _AIOCONTROLLERGETSTATSREQUEST._serialized_start=815 + _AIOCONTROLLERGETSTATSREQUEST._serialized_end=891 + _AIOCONTROLLERSTATSREQUEST._serialized_start=893 + _AIOCONTROLLERSTATSREQUEST._serialized_end=966 + _AIOCONTROLLERSTATS._serialized_start=968 + _AIOCONTROLLERSTATS._serialized_end=1049 + _AIOCONTROLLERSERVICE._serialized_start=1052 + _AIOCONTROLLERSERVICE._serialized_end=1720 # @@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 5b0db5f5..787ca3c1 100644 --- a/storage/v1alpha1/gen/python/backend_null_pb2.py +++ b/storage/v1alpha1/gen/python/backend_null_pb2.py @@ -17,7 +17,7 @@ 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\x1bgoogle/protobuf/empty.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\"G\n\x16NullDebugCreateRequest\x12-\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\"F\n\x16NullDebugDeleteRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"G\n\x16NullDebugUpdateRequest\x12-\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\"\x16\n\x14NullDebugListRequest\"F\n\x15NullDebugListResponse\x12-\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\"C\n\x13NullDebugGetRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\xd8\x04\n\x10NullDebugService\x12^\n\x0fNullDebugCreate\x12*.opi_api.storage.v1.NullDebugCreateRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\x00\x12W\n\x0fNullDebugDelete\x12*.opi_api.storage.v1.NullDebugDeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x12^\n\x0fNullDebugUpdate\x12*.opi_api.storage.v1.NullDebugUpdateRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\x00\x12\x66\n\rNullDebugList\x12(.opi_api.storage.v1.NullDebugListRequest\x1a).opi_api.storage.v1.NullDebugListResponse\"\x00\x12X\n\x0cNullDebugGet\x12\'.opi_api.storage.v1.NullDebugGetRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\x00\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\x1bgoogle/protobuf/empty.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\"u\n\x16NullDebugCreateRequest\x12-\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"t\n\x16NullDebugDeleteRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"u\n\x16NullDebugUpdateRequest\x12-\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x16\n\x14NullDebugListRequest\"F\n\x15NullDebugListResponse\x12-\n\x06\x64\x65vice\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\"C\n\x13NullDebugGetRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\xd8\x04\n\x10NullDebugService\x12^\n\x0fNullDebugCreate\x12*.opi_api.storage.v1.NullDebugCreateRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\x00\x12W\n\x0fNullDebugDelete\x12*.opi_api.storage.v1.NullDebugDeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x12^\n\x0fNullDebugUpdate\x12*.opi_api.storage.v1.NullDebugUpdateRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\x00\x12\x66\n\rNullDebugList\x12(.opi_api.storage.v1.NullDebugListRequest\x1a).opi_api.storage.v1.NullDebugListResponse\"\x00\x12X\n\x0cNullDebugGet\x12\'.opi_api.storage.v1.NullDebugGetRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\x00\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') @@ -101,21 +101,21 @@ _NULLDEBUG._serialized_start=102 _NULLDEBUG._serialized_end=240 _NULLDEBUGCREATEREQUEST._serialized_start=242 - _NULLDEBUGCREATEREQUEST._serialized_end=313 - _NULLDEBUGDELETEREQUEST._serialized_start=315 - _NULLDEBUGDELETEREQUEST._serialized_end=385 - _NULLDEBUGUPDATEREQUEST._serialized_start=387 - _NULLDEBUGUPDATEREQUEST._serialized_end=458 - _NULLDEBUGLISTREQUEST._serialized_start=460 - _NULLDEBUGLISTREQUEST._serialized_end=482 - _NULLDEBUGLISTRESPONSE._serialized_start=484 - _NULLDEBUGLISTRESPONSE._serialized_end=554 - _NULLDEBUGGETREQUEST._serialized_start=556 - _NULLDEBUGGETREQUEST._serialized_end=623 - _NULLDEBUGSTATSREQUEST._serialized_start=625 - _NULLDEBUGSTATSREQUEST._serialized_end=694 - _NULLDEBUGSTATSRESPONSE._serialized_start=696 - _NULLDEBUGSTATSRESPONSE._serialized_end=781 - _NULLDEBUGSERVICE._serialized_start=784 - _NULLDEBUGSERVICE._serialized_end=1384 + _NULLDEBUGCREATEREQUEST._serialized_end=359 + _NULLDEBUGDELETEREQUEST._serialized_start=361 + _NULLDEBUGDELETEREQUEST._serialized_end=477 + _NULLDEBUGUPDATEREQUEST._serialized_start=479 + _NULLDEBUGUPDATEREQUEST._serialized_end=596 + _NULLDEBUGLISTREQUEST._serialized_start=598 + _NULLDEBUGLISTREQUEST._serialized_end=620 + _NULLDEBUGLISTRESPONSE._serialized_start=622 + _NULLDEBUGLISTRESPONSE._serialized_end=692 + _NULLDEBUGGETREQUEST._serialized_start=694 + _NULLDEBUGGETREQUEST._serialized_end=761 + _NULLDEBUGSTATSREQUEST._serialized_start=763 + _NULLDEBUGSTATSREQUEST._serialized_end=832 + _NULLDEBUGSTATSRESPONSE._serialized_start=834 + _NULLDEBUGSTATSRESPONSE._serialized_end=919 + _NULLDEBUGSERVICE._serialized_start=922 + _NULLDEBUGSERVICE._serialized_end=1522 # @@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 7ff71983..e2ee921e 100644 --- a/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_nvme_pcie_pb2.py @@ -20,7 +20,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.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\"R\n\x1a\x43reateNVMeSubsystemRequest\x12\x34\n\tsubsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\"P\n\x1a\x44\x65leteNVMeSubsystemRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"R\n\x1aUpdateNVMeSubsystemRequest\x12\x34\n\tsubsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\"A\n\x18ListNVMeSubsystemRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"k\n\x19ListNVMeSubsystemResponse\x12\x35\n\nsubsystems\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x17GetNVMeSubsystemRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"U\n\x1b\x43reateNVMeControllerRequest\x12\x36\n\ncontroller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NVMeController\"R\n\x1b\x44\x65leteNVMeControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"U\n\x1bUpdateNVMeControllerRequest\x12\x36\n\ncontroller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NVMeController\"v\n\x19ListNVMeControllerRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"n\n\x1aListNVMeControllerResponse\x12\x37\n\x0b\x63ontrollers\x18\x01 \x03(\x0b\x32\".opi_api.storage.v1.NVMeController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x18GetNVMeControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"R\n\x1a\x43reateNVMeNamespaceRequest\x12\x34\n\tnamespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\"P\n\x1a\x44\x65leteNVMeNamespaceRequest\x12\x32\n\x0cnamespace_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"R\n\x1aUpdateNVMeNamespaceRequest\x12\x34\n\tnamespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\"u\n\x18ListNVMeNamespaceRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"k\n\x19ListNVMeNamespaceResponse\x12\x35\n\nnamespaces\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x17GetNVMeNamespaceRequest\x12\x32\n\x0cnamespace_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\xb0\x13\n\x13\x46rontendNvmeService\x12\x8b\x01\n\x13\x43reateNVMeSubsystem\x12..opi_api.storage.v1.CreateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/subsystems:\tsubsystem\x12\x81\x01\n\x13\x44\x65leteNVMeSubsystem\x12..opi_api.storage.v1.DeleteNVMeSubsystemRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/subsystems/{subsystem}\x12\x8b\x01\n\x13UpdateNVMeSubsystem\x12..opi_api.storage.v1.UpdateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/subsystems:\tsubsystem\x12\x88\x01\n\x11ListNVMeSubsystem\x12,.opi_api.storage.v1.ListNVMeSubsystemRequest\x1a-.opi_api.storage.v1.ListNVMeSubsystemResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/subsystems\x12\x86\x01\n\x10GetNVMeSubsystem\x12+.opi_api.storage.v1.GetNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/subsystems/{subsystem}\x12u\n\x12NVMeSubsystemStats\x12-.opi_api.storage.v1.NVMeSubsystemStatsRequest\x1a..opi_api.storage.v1.NVMeSubsystemStatsResponse\"\x00\x12\x90\x01\n\x14\x43reateNVMeController\x12/.opi_api.storage.v1.CreateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"#\x82\xd3\xe4\x93\x02\x1d\"\x0f/v1/controllers:\ncontroller\x12\x85\x01\n\x14\x44\x65leteNVMeController\x12/.opi_api.storage.v1.DeleteNVMeControllerRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e*\x1c/v1/controllers/{controller}\x12\x90\x01\n\x14UpdateNVMeController\x12/.opi_api.storage.v1.UpdateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"#\x82\xd3\xe4\x93\x02\x1d\x32\x0f/v1/controllers:\ncontroller\x12\x8c\x01\n\x12ListNVMeController\x12-.opi_api.storage.v1.ListNVMeControllerRequest\x1a..opi_api.storage.v1.ListNVMeControllerResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/controllers\x12\x8b\x01\n\x11GetNVMeController\x12,.opi_api.storage.v1.GetNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/controllers/{controller}\x12x\n\x13NVMeControllerStats\x12..opi_api.storage.v1.NVMeControllerStatsRequest\x1a/.opi_api.storage.v1.NVMeControllerStatsResponse\"\x00\x12\x8b\x01\n\x13\x43reateNVMeNamespace\x12..opi_api.storage.v1.CreateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/namespaces:\tnamespace\x12\x81\x01\n\x13\x44\x65leteNVMeNamespace\x12..opi_api.storage.v1.DeleteNVMeNamespaceRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/namespaces/{namespace}\x12\x8b\x01\n\x13UpdateNVMeNamespace\x12..opi_api.storage.v1.UpdateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/namespaces:\tnamespace\x12\x88\x01\n\x11ListNVMeNamespace\x12,.opi_api.storage.v1.ListNVMeNamespaceRequest\x1a-.opi_api.storage.v1.ListNVMeNamespaceResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/namespaces\x12\x86\x01\n\x10GetNVMeNamespace\x12+.opi_api.storage.v1.GetNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/namespaces/{namespace}\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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.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\"\x80\x01\n\x1a\x43reateNVMeSubsystemRequest\x12\x34\n\tsubsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"~\n\x1a\x44\x65leteNVMeSubsystemRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x80\x01\n\x1aUpdateNVMeSubsystemRequest\x12\x34\n\tsubsystem\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"A\n\x18ListNVMeSubsystemRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"k\n\x19ListNVMeSubsystemResponse\x12\x35\n\nsubsystems\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NVMeSubsystem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x17GetNVMeSubsystemRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"\x83\x01\n\x1b\x43reateNVMeControllerRequest\x12\x36\n\ncontroller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NVMeController\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x80\x01\n\x1b\x44\x65leteNVMeControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x83\x01\n\x1bUpdateNVMeControllerRequest\x12\x36\n\ncontroller\x18\x01 \x01(\x0b\x32\".opi_api.storage.v1.NVMeController\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"v\n\x19ListNVMeControllerRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"n\n\x1aListNVMeControllerResponse\x12\x37\n\x0b\x63ontrollers\x18\x01 \x03(\x0b\x32\".opi_api.storage.v1.NVMeController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x18GetNVMeControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"\x80\x01\n\x1a\x43reateNVMeNamespaceRequest\x12\x34\n\tnamespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"~\n\x1a\x44\x65leteNVMeNamespaceRequest\x12\x32\n\x0cnamespace_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x80\x01\n\x1aUpdateNVMeNamespaceRequest\x12\x34\n\tnamespace\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"u\n\x18ListNVMeNamespaceRequest\x12\x32\n\x0csubsystem_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"k\n\x19ListNVMeNamespaceResponse\x12\x35\n\nnamespaces\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.NVMeNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x17GetNVMeNamespaceRequest\x12\x32\n\x0cnamespace_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\xb0\x13\n\x13\x46rontendNvmeService\x12\x8b\x01\n\x13\x43reateNVMeSubsystem\x12..opi_api.storage.v1.CreateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/subsystems:\tsubsystem\x12\x81\x01\n\x13\x44\x65leteNVMeSubsystem\x12..opi_api.storage.v1.DeleteNVMeSubsystemRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/subsystems/{subsystem}\x12\x8b\x01\n\x13UpdateNVMeSubsystem\x12..opi_api.storage.v1.UpdateNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/subsystems:\tsubsystem\x12\x88\x01\n\x11ListNVMeSubsystem\x12,.opi_api.storage.v1.ListNVMeSubsystemRequest\x1a-.opi_api.storage.v1.ListNVMeSubsystemResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/subsystems\x12\x86\x01\n\x10GetNVMeSubsystem\x12+.opi_api.storage.v1.GetNVMeSubsystemRequest\x1a!.opi_api.storage.v1.NVMeSubsystem\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/subsystems/{subsystem}\x12u\n\x12NVMeSubsystemStats\x12-.opi_api.storage.v1.NVMeSubsystemStatsRequest\x1a..opi_api.storage.v1.NVMeSubsystemStatsResponse\"\x00\x12\x90\x01\n\x14\x43reateNVMeController\x12/.opi_api.storage.v1.CreateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"#\x82\xd3\xe4\x93\x02\x1d\"\x0f/v1/controllers:\ncontroller\x12\x85\x01\n\x14\x44\x65leteNVMeController\x12/.opi_api.storage.v1.DeleteNVMeControllerRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e*\x1c/v1/controllers/{controller}\x12\x90\x01\n\x14UpdateNVMeController\x12/.opi_api.storage.v1.UpdateNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"#\x82\xd3\xe4\x93\x02\x1d\x32\x0f/v1/controllers:\ncontroller\x12\x8c\x01\n\x12ListNVMeController\x12-.opi_api.storage.v1.ListNVMeControllerRequest\x1a..opi_api.storage.v1.ListNVMeControllerResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/controllers\x12\x8b\x01\n\x11GetNVMeController\x12,.opi_api.storage.v1.GetNVMeControllerRequest\x1a\".opi_api.storage.v1.NVMeController\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/controllers/{controller}\x12x\n\x13NVMeControllerStats\x12..opi_api.storage.v1.NVMeControllerStatsRequest\x1a/.opi_api.storage.v1.NVMeControllerStatsResponse\"\x00\x12\x8b\x01\n\x13\x43reateNVMeNamespace\x12..opi_api.storage.v1.CreateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/namespaces:\tnamespace\x12\x81\x01\n\x13\x44\x65leteNVMeNamespace\x12..opi_api.storage.v1.DeleteNVMeNamespaceRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/namespaces/{namespace}\x12\x8b\x01\n\x13UpdateNVMeNamespace\x12..opi_api.storage.v1.UpdateNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/namespaces:\tnamespace\x12\x88\x01\n\x11ListNVMeNamespace\x12,.opi_api.storage.v1.ListNVMeNamespaceRequest\x1a-.opi_api.storage.v1.ListNVMeNamespaceResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/namespaces\x12\x86\x01\n\x10GetNVMeNamespace\x12+.opi_api.storage.v1.GetNVMeNamespaceRequest\x1a!.opi_api.storage.v1.NVMeNamespace\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/namespaces/{namespace}\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) @@ -334,10 +334,10 @@ _FRONTENDNVMESERVICE.methods_by_name['ListNVMeNamespace']._serialized_options = b'\202\323\344\223\002\020\022\016/v1/namespaces' _FRONTENDNVMESERVICE.methods_by_name['GetNVMeNamespace']._options = None _FRONTENDNVMESERVICE.methods_by_name['GetNVMeNamespace']._serialized_options = b'\202\323\344\223\002\034\022\032/v1/namespaces/{namespace}' - _NVMENAMESPACEPCISTATE._serialized_start=3572 - _NVMENAMESPACEPCISTATE._serialized_end=3754 - _NVMENAMESPACEPCIOPERSTATE._serialized_start=3757 - _NVMENAMESPACEPCIOPERSTATE._serialized_end=3917 + _NVMENAMESPACEPCISTATE._serialized_start=3993 + _NVMENAMESPACEPCISTATE._serialized_end=4175 + _NVMENAMESPACEPCIOPERSTATE._serialized_start=4178 + _NVMENAMESPACEPCIOPERSTATE._serialized_end=4338 _NVMESUBSYSTEM._serialized_start=154 _NVMESUBSYSTEM._serialized_end=279 _NVMESUBSYSTEMSPEC._serialized_start=282 @@ -356,54 +356,54 @@ _NVMENAMESPACESPEC._serialized_end=1325 _NVMENAMESPACESTATUS._serialized_start=1328 _NVMENAMESPACESTATUS._serialized_end=1482 - _CREATENVMESUBSYSTEMREQUEST._serialized_start=1484 - _CREATENVMESUBSYSTEMREQUEST._serialized_end=1566 - _DELETENVMESUBSYSTEMREQUEST._serialized_start=1568 - _DELETENVMESUBSYSTEMREQUEST._serialized_end=1648 - _UPDATENVMESUBSYSTEMREQUEST._serialized_start=1650 - _UPDATENVMESUBSYSTEMREQUEST._serialized_end=1732 - _LISTNVMESUBSYSTEMREQUEST._serialized_start=1734 - _LISTNVMESUBSYSTEMREQUEST._serialized_end=1799 - _LISTNVMESUBSYSTEMRESPONSE._serialized_start=1801 - _LISTNVMESUBSYSTEMRESPONSE._serialized_end=1908 - _GETNVMESUBSYSTEMREQUEST._serialized_start=1910 - _GETNVMESUBSYSTEMREQUEST._serialized_end=1987 - _NVMESUBSYSTEMSTATSREQUEST._serialized_start=1989 - _NVMESUBSYSTEMSTATSREQUEST._serialized_end=2068 - _NVMESUBSYSTEMSTATSRESPONSE._serialized_start=2070 - _NVMESUBSYSTEMSTATSRESPONSE._serialized_end=2113 - _CREATENVMECONTROLLERREQUEST._serialized_start=2115 - _CREATENVMECONTROLLERREQUEST._serialized_end=2200 - _DELETENVMECONTROLLERREQUEST._serialized_start=2202 - _DELETENVMECONTROLLERREQUEST._serialized_end=2284 - _UPDATENVMECONTROLLERREQUEST._serialized_start=2286 - _UPDATENVMECONTROLLERREQUEST._serialized_end=2371 - _LISTNVMECONTROLLERREQUEST._serialized_start=2373 - _LISTNVMECONTROLLERREQUEST._serialized_end=2491 - _LISTNVMECONTROLLERRESPONSE._serialized_start=2493 - _LISTNVMECONTROLLERRESPONSE._serialized_end=2603 - _GETNVMECONTROLLERREQUEST._serialized_start=2605 - _GETNVMECONTROLLERREQUEST._serialized_end=2684 - _NVMECONTROLLERSTATSREQUEST._serialized_start=2686 - _NVMECONTROLLERSTATSREQUEST._serialized_end=2756 - _NVMECONTROLLERSTATSRESPONSE._serialized_start=2758 - _NVMECONTROLLERSTATSRESPONSE._serialized_end=2844 - _CREATENVMENAMESPACEREQUEST._serialized_start=2846 - _CREATENVMENAMESPACEREQUEST._serialized_end=2928 - _DELETENVMENAMESPACEREQUEST._serialized_start=2930 - _DELETENVMENAMESPACEREQUEST._serialized_end=3010 - _UPDATENVMENAMESPACEREQUEST._serialized_start=3012 - _UPDATENVMENAMESPACEREQUEST._serialized_end=3094 - _LISTNVMENAMESPACEREQUEST._serialized_start=3096 - _LISTNVMENAMESPACEREQUEST._serialized_end=3213 - _LISTNVMENAMESPACERESPONSE._serialized_start=3215 - _LISTNVMENAMESPACERESPONSE._serialized_end=3322 - _GETNVMENAMESPACEREQUEST._serialized_start=3324 - _GETNVMENAMESPACEREQUEST._serialized_end=3401 - _NVMENAMESPACESTATSREQUEST._serialized_start=3403 - _NVMENAMESPACESTATSREQUEST._serialized_end=3482 - _NVMENAMESPACESTATSRESPONSE._serialized_start=3484 - _NVMENAMESPACESTATSRESPONSE._serialized_end=3569 - _FRONTENDNVMESERVICE._serialized_start=3920 - _FRONTENDNVMESERVICE._serialized_end=6400 + _CREATENVMESUBSYSTEMREQUEST._serialized_start=1485 + _CREATENVMESUBSYSTEMREQUEST._serialized_end=1613 + _DELETENVMESUBSYSTEMREQUEST._serialized_start=1615 + _DELETENVMESUBSYSTEMREQUEST._serialized_end=1741 + _UPDATENVMESUBSYSTEMREQUEST._serialized_start=1744 + _UPDATENVMESUBSYSTEMREQUEST._serialized_end=1872 + _LISTNVMESUBSYSTEMREQUEST._serialized_start=1874 + _LISTNVMESUBSYSTEMREQUEST._serialized_end=1939 + _LISTNVMESUBSYSTEMRESPONSE._serialized_start=1941 + _LISTNVMESUBSYSTEMRESPONSE._serialized_end=2048 + _GETNVMESUBSYSTEMREQUEST._serialized_start=2050 + _GETNVMESUBSYSTEMREQUEST._serialized_end=2127 + _NVMESUBSYSTEMSTATSREQUEST._serialized_start=2129 + _NVMESUBSYSTEMSTATSREQUEST._serialized_end=2208 + _NVMESUBSYSTEMSTATSRESPONSE._serialized_start=2210 + _NVMESUBSYSTEMSTATSRESPONSE._serialized_end=2253 + _CREATENVMECONTROLLERREQUEST._serialized_start=2256 + _CREATENVMECONTROLLERREQUEST._serialized_end=2387 + _DELETENVMECONTROLLERREQUEST._serialized_start=2390 + _DELETENVMECONTROLLERREQUEST._serialized_end=2518 + _UPDATENVMECONTROLLERREQUEST._serialized_start=2521 + _UPDATENVMECONTROLLERREQUEST._serialized_end=2652 + _LISTNVMECONTROLLERREQUEST._serialized_start=2654 + _LISTNVMECONTROLLERREQUEST._serialized_end=2772 + _LISTNVMECONTROLLERRESPONSE._serialized_start=2774 + _LISTNVMECONTROLLERRESPONSE._serialized_end=2884 + _GETNVMECONTROLLERREQUEST._serialized_start=2886 + _GETNVMECONTROLLERREQUEST._serialized_end=2965 + _NVMECONTROLLERSTATSREQUEST._serialized_start=2967 + _NVMECONTROLLERSTATSREQUEST._serialized_end=3037 + _NVMECONTROLLERSTATSRESPONSE._serialized_start=3039 + _NVMECONTROLLERSTATSRESPONSE._serialized_end=3125 + _CREATENVMENAMESPACEREQUEST._serialized_start=3128 + _CREATENVMENAMESPACEREQUEST._serialized_end=3256 + _DELETENVMENAMESPACEREQUEST._serialized_start=3258 + _DELETENVMENAMESPACEREQUEST._serialized_end=3384 + _UPDATENVMENAMESPACEREQUEST._serialized_start=3387 + _UPDATENVMENAMESPACEREQUEST._serialized_end=3515 + _LISTNVMENAMESPACEREQUEST._serialized_start=3517 + _LISTNVMENAMESPACEREQUEST._serialized_end=3634 + _LISTNVMENAMESPACERESPONSE._serialized_start=3636 + _LISTNVMENAMESPACERESPONSE._serialized_end=3743 + _GETNVMENAMESPACEREQUEST._serialized_start=3745 + _GETNVMENAMESPACEREQUEST._serialized_end=3822 + _NVMENAMESPACESTATSREQUEST._serialized_start=3824 + _NVMENAMESPACESTATSREQUEST._serialized_end=3903 + _NVMENAMESPACESTATSRESPONSE._serialized_start=3905 + _NVMENAMESPACESTATSRESPONSE._serialized_end=3990 + _FRONTENDNVMESERVICE._serialized_start=4341 + _FRONTENDNVMESERVICE._serialized_end=6821 # @@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 d4f230e1..b8715229 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_blk_pb2.py @@ -18,7 +18,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.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\"K\n\x16\x43reateVirtioBlkRequest\x12\x31\n\ncontroller\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\"M\n\x16\x44\x65leteVirtioBlkRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"K\n\x16UpdateVirtioBlkRequest\x12\x31\n\ncontroller\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\"=\n\x14ListVirtioBlkRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"d\n\x15ListVirtioBlkResponse\x12\x32\n\x0b\x63ontrollers\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x13GetVirtioBlkRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\xfc\x05\n\x18\x46rontendVirtioBlkService\x12\x7f\n\x0f\x43reateVirtioBlk\x12*.opi_api.storage.v1.CreateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/virtioblks:\tvirtioblk\x12y\n\x0f\x44\x65leteVirtioBlk\x12*.opi_api.storage.v1.DeleteVirtioBlkRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/virtioblks/{virtioblk}\x12\x7f\n\x0fUpdateVirtioBlk\x12*.opi_api.storage.v1.UpdateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/virtioblks:\tvirtioblk\x12|\n\rListVirtioBlk\x12(.opi_api.storage.v1.ListVirtioBlkRequest\x1a).opi_api.storage.v1.ListVirtioBlkResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/virtioblks\x12z\n\x0cGetVirtioBlk\x12\'.opi_api.storage.v1.GetVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/virtioblks/{virtioblk}\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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.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\"y\n\x16\x43reateVirtioBlkRequest\x12\x31\n\ncontroller\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"{\n\x16\x44\x65leteVirtioBlkRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"y\n\x16UpdateVirtioBlkRequest\x12\x31\n\ncontroller\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"=\n\x14ListVirtioBlkRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"d\n\x15ListVirtioBlkResponse\x12\x32\n\x0b\x63ontrollers\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.VirtioBlk\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x13GetVirtioBlkRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\xfc\x05\n\x18\x46rontendVirtioBlkService\x12\x7f\n\x0f\x43reateVirtioBlk\x12*.opi_api.storage.v1.CreateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/virtioblks:\tvirtioblk\x12y\n\x0f\x44\x65leteVirtioBlk\x12*.opi_api.storage.v1.DeleteVirtioBlkRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/virtioblks/{virtioblk}\x12\x7f\n\x0fUpdateVirtioBlk\x12*.opi_api.storage.v1.UpdateVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/virtioblks:\tvirtioblk\x12|\n\rListVirtioBlk\x12(.opi_api.storage.v1.ListVirtioBlkRequest\x1a).opi_api.storage.v1.ListVirtioBlkResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/virtioblks\x12z\n\x0cGetVirtioBlk\x12\'.opi_api.storage.v1.GetVirtioBlkRequest\x1a\x1d.opi_api.storage.v1.VirtioBlk\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/virtioblks/{virtioblk}\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') @@ -112,21 +112,21 @@ _VIRTIOBLK._serialized_start=144 _VIRTIOBLK._serialized_end=316 _CREATEVIRTIOBLKREQUEST._serialized_start=318 - _CREATEVIRTIOBLKREQUEST._serialized_end=393 - _DELETEVIRTIOBLKREQUEST._serialized_start=395 - _DELETEVIRTIOBLKREQUEST._serialized_end=472 - _UPDATEVIRTIOBLKREQUEST._serialized_start=474 - _UPDATEVIRTIOBLKREQUEST._serialized_end=549 - _LISTVIRTIOBLKREQUEST._serialized_start=551 - _LISTVIRTIOBLKREQUEST._serialized_end=612 - _LISTVIRTIOBLKRESPONSE._serialized_start=614 - _LISTVIRTIOBLKRESPONSE._serialized_end=714 - _GETVIRTIOBLKREQUEST._serialized_start=716 - _GETVIRTIOBLKREQUEST._serialized_end=790 - _VIRTIOBLKSTATSREQUEST._serialized_start=792 - _VIRTIOBLKSTATSREQUEST._serialized_end=868 - _VIRTIOBLKSTATSRESPONSE._serialized_start=870 - _VIRTIOBLKSTATSRESPONSE._serialized_end=951 - _FRONTENDVIRTIOBLKSERVICE._serialized_start=954 - _FRONTENDVIRTIOBLKSERVICE._serialized_end=1718 + _CREATEVIRTIOBLKREQUEST._serialized_end=439 + _DELETEVIRTIOBLKREQUEST._serialized_start=441 + _DELETEVIRTIOBLKREQUEST._serialized_end=564 + _UPDATEVIRTIOBLKREQUEST._serialized_start=566 + _UPDATEVIRTIOBLKREQUEST._serialized_end=687 + _LISTVIRTIOBLKREQUEST._serialized_start=689 + _LISTVIRTIOBLKREQUEST._serialized_end=750 + _LISTVIRTIOBLKRESPONSE._serialized_start=752 + _LISTVIRTIOBLKRESPONSE._serialized_end=852 + _GETVIRTIOBLKREQUEST._serialized_start=854 + _GETVIRTIOBLKREQUEST._serialized_end=928 + _VIRTIOBLKSTATSREQUEST._serialized_start=930 + _VIRTIOBLKSTATSREQUEST._serialized_end=1006 + _VIRTIOBLKSTATSRESPONSE._serialized_start=1008 + _VIRTIOBLKSTATSRESPONSE._serialized_end=1089 + _FRONTENDVIRTIOBLKSERVICE._serialized_start=1092 + _FRONTENDVIRTIOBLKSERVICE._serialized_end=1856 # @@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 466b352c..f41c7c5f 100644 --- a/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py +++ b/storage/v1alpha1/gen/python/frontend_virtio_scsi_pb2.py @@ -18,7 +18,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.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\"U\n\x1d\x43reateVirtioScsiTargetRequest\x12\x34\n\x06target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\"P\n\x1d\x44\x65leteVirtioScsiTargetRequest\x12/\n\ttarget_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"U\n\x1dUpdateVirtioScsiTargetRequest\x12\x34\n\x06target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\"D\n\x1bListVirtioScsiTargetRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"n\n\x1cListVirtioScsiTargetResponse\x12\x35\n\x07targets\x18\x01 \x03(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x1aGetVirtioScsiTargetRequest\x12/\n\ttarget_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"a\n!CreateVirtioScsiControllerRequest\x12<\n\ncontroller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\"X\n!DeleteVirtioScsiControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"a\n!UpdateVirtioScsiControllerRequest\x12<\n\ncontroller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\"H\n\x1fListVirtioScsiControllerRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"z\n ListVirtioScsiControllerResponse\x12=\n\x0b\x63ontrollers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x1eGetVirtioScsiControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"L\n\x1a\x43reateVirtioScsiLunRequest\x12.\n\x03lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\"\x7f\n\x1a\x44\x65leteVirtioScsiLunRequest\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\"L\n\x1aUpdateVirtioScsiLunRequest\x12.\n\x03lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\"v\n\x18ListVirtioScsiLunRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x19ListVirtioScsiLunResponse\x12/\n\x04luns\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x17GetVirtioScsiLunRequest\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\"~\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\xd7\x15\n\x19\x46rontendVirtioScsiService\x12\xa2\x01\n\x16\x43reateVirtioScsiTarget\x12\x31.opi_api.storage.v1.CreateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"/\x82\xd3\xe4\x93\x02)\"\x15/v1/virtioscsitargets:\x10virtioscsitarget\x12\x95\x01\n\x16\x44\x65leteVirtioScsiTarget\x12\x31.opi_api.storage.v1.DeleteVirtioScsiTargetRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02**(/v1/virtioscsitargets/{virtioscsitarget}\x12\xa2\x01\n\x16UpdateVirtioScsiTarget\x12\x31.opi_api.storage.v1.UpdateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"/\x82\xd3\xe4\x93\x02)2\x15/v1/virtioscsitargets:\x10virtioscsitarget\x12\x98\x01\n\x14ListVirtioScsiTarget\x12/.opi_api.storage.v1.ListVirtioScsiTargetRequest\x1a\x30.opi_api.storage.v1.ListVirtioScsiTargetResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/virtioscsitargets\x12\x9d\x01\n\x13GetVirtioScsiTarget\x12..opi_api.storage.v1.GetVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"0\x82\xd3\xe4\x93\x02*\x12(/v1/virtioscsitargets/{virtioscsitarget}\x12~\n\x15VirtioScsiTargetStats\x12\x30.opi_api.storage.v1.VirtioScsiTargetStatsRequest\x1a\x31.opi_api.storage.v1.VirtioScsiTargetStatsResponse\"\x00\x12\xaa\x01\n\x1a\x43reateVirtioScsiController\x12\x35.opi_api.storage.v1.CreateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"+\x82\xd3\xe4\x93\x02%\"\x13/v1/virtioscsictrls:\x0evirtioscsictrl\x12\x99\x01\n\x1a\x44\x65leteVirtioScsiController\x12\x35.opi_api.storage.v1.DeleteVirtioScsiControllerRequest\x1a\x16.google.protobuf.Empty\",\x82\xd3\xe4\x93\x02&*$/v1/virtioscsictrls/{virtioscsictrl}\x12\xaa\x01\n\x1aUpdateVirtioScsiController\x12\x35.opi_api.storage.v1.UpdateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"+\x82\xd3\xe4\x93\x02%2\x13/v1/virtioscsictrls:\x0evirtioscsictrl\x12\xa2\x01\n\x18ListVirtioScsiController\x12\x33.opi_api.storage.v1.ListVirtioScsiControllerRequest\x1a\x34.opi_api.storage.v1.ListVirtioScsiControllerResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/virtioscsictrls\x12\xa5\x01\n\x17GetVirtioScsiController\x12\x32.opi_api.storage.v1.GetVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\",\x82\xd3\xe4\x93\x02&\x12$/v1/virtioscsictrls/{virtioscsictrl}\x12\x8a\x01\n\x19VirtioScsiControllerStats\x12\x34.opi_api.storage.v1.VirtioScsiControllerStatsRequest\x1a\x35.opi_api.storage.v1.VirtioScsiControllerStatsResponse\"\x00\x12\x93\x01\n\x13\x43reateVirtioScsiLun\x12..opi_api.storage.v1.CreateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\")\x82\xd3\xe4\x93\x02#\"\x12/v1/virtioscsiluns:\rvirtioscsilun\x12\x89\x01\n\x13\x44\x65leteVirtioScsiLun\x12..opi_api.storage.v1.DeleteVirtioScsiLunRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02$*\"/v1/virtioscsiluns/{virtioscsilun}\x12\x93\x01\n\x13UpdateVirtioScsiLun\x12..opi_api.storage.v1.UpdateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\")\x82\xd3\xe4\x93\x02#2\x12/v1/virtioscsiluns:\rvirtioscsilun\x12\x8c\x01\n\x11ListVirtioScsiLun\x12,.opi_api.storage.v1.ListVirtioScsiLunRequest\x1a-.opi_api.storage.v1.ListVirtioScsiLunResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/virtioscsiluns\x12\x8e\x01\n\x10GetVirtioScsiLun\x12+.opi_api.storage.v1.GetVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"*\x82\xd3\xe4\x93\x02$\x12\"/v1/virtioscsiluns/{virtioscsilun}\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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.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\"\x83\x01\n\x1d\x43reateVirtioScsiTargetRequest\x12\x34\n\x06target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"~\n\x1d\x44\x65leteVirtioScsiTargetRequest\x12/\n\ttarget_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x83\x01\n\x1dUpdateVirtioScsiTargetRequest\x12\x34\n\x06target\x18\x01 \x01(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"D\n\x1bListVirtioScsiTargetRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"n\n\x1cListVirtioScsiTargetResponse\x12\x35\n\x07targets\x18\x01 \x03(\x0b\x32$.opi_api.storage.v1.VirtioScsiTarget\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x1aGetVirtioScsiTargetRequest\x12/\n\ttarget_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"\x8f\x01\n!CreateVirtioScsiControllerRequest\x12<\n\ncontroller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x86\x01\n!DeleteVirtioScsiControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x8f\x01\n!UpdateVirtioScsiControllerRequest\x12<\n\ncontroller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"H\n\x1fListVirtioScsiControllerRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"z\n ListVirtioScsiControllerResponse\x12=\n\x0b\x63ontrollers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.VirtioScsiController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x1eGetVirtioScsiControllerRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"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\"z\n\x1a\x43reateVirtioScsiLunRequest\x12.\n\x03lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\xad\x01\n\x1a\x44\x65leteVirtioScsiLunRequest\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\x12,\n\x06txn_id\x18\x03 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"z\n\x1aUpdateVirtioScsiLunRequest\x12.\n\x03lun\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"v\n\x18ListVirtioScsiLunRequest\x12\x33\n\rcontroller_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"e\n\x19ListVirtioScsiLunResponse\x12/\n\x04luns\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.VirtioScsiLun\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x17GetVirtioScsiLunRequest\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\"~\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\xd7\x15\n\x19\x46rontendVirtioScsiService\x12\xa2\x01\n\x16\x43reateVirtioScsiTarget\x12\x31.opi_api.storage.v1.CreateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"/\x82\xd3\xe4\x93\x02)\"\x15/v1/virtioscsitargets:\x10virtioscsitarget\x12\x95\x01\n\x16\x44\x65leteVirtioScsiTarget\x12\x31.opi_api.storage.v1.DeleteVirtioScsiTargetRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02**(/v1/virtioscsitargets/{virtioscsitarget}\x12\xa2\x01\n\x16UpdateVirtioScsiTarget\x12\x31.opi_api.storage.v1.UpdateVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"/\x82\xd3\xe4\x93\x02)2\x15/v1/virtioscsitargets:\x10virtioscsitarget\x12\x98\x01\n\x14ListVirtioScsiTarget\x12/.opi_api.storage.v1.ListVirtioScsiTargetRequest\x1a\x30.opi_api.storage.v1.ListVirtioScsiTargetResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/virtioscsitargets\x12\x9d\x01\n\x13GetVirtioScsiTarget\x12..opi_api.storage.v1.GetVirtioScsiTargetRequest\x1a$.opi_api.storage.v1.VirtioScsiTarget\"0\x82\xd3\xe4\x93\x02*\x12(/v1/virtioscsitargets/{virtioscsitarget}\x12~\n\x15VirtioScsiTargetStats\x12\x30.opi_api.storage.v1.VirtioScsiTargetStatsRequest\x1a\x31.opi_api.storage.v1.VirtioScsiTargetStatsResponse\"\x00\x12\xaa\x01\n\x1a\x43reateVirtioScsiController\x12\x35.opi_api.storage.v1.CreateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"+\x82\xd3\xe4\x93\x02%\"\x13/v1/virtioscsictrls:\x0evirtioscsictrl\x12\x99\x01\n\x1a\x44\x65leteVirtioScsiController\x12\x35.opi_api.storage.v1.DeleteVirtioScsiControllerRequest\x1a\x16.google.protobuf.Empty\",\x82\xd3\xe4\x93\x02&*$/v1/virtioscsictrls/{virtioscsictrl}\x12\xaa\x01\n\x1aUpdateVirtioScsiController\x12\x35.opi_api.storage.v1.UpdateVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\"+\x82\xd3\xe4\x93\x02%2\x13/v1/virtioscsictrls:\x0evirtioscsictrl\x12\xa2\x01\n\x18ListVirtioScsiController\x12\x33.opi_api.storage.v1.ListVirtioScsiControllerRequest\x1a\x34.opi_api.storage.v1.ListVirtioScsiControllerResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/virtioscsictrls\x12\xa5\x01\n\x17GetVirtioScsiController\x12\x32.opi_api.storage.v1.GetVirtioScsiControllerRequest\x1a(.opi_api.storage.v1.VirtioScsiController\",\x82\xd3\xe4\x93\x02&\x12$/v1/virtioscsictrls/{virtioscsictrl}\x12\x8a\x01\n\x19VirtioScsiControllerStats\x12\x34.opi_api.storage.v1.VirtioScsiControllerStatsRequest\x1a\x35.opi_api.storage.v1.VirtioScsiControllerStatsResponse\"\x00\x12\x93\x01\n\x13\x43reateVirtioScsiLun\x12..opi_api.storage.v1.CreateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\")\x82\xd3\xe4\x93\x02#\"\x12/v1/virtioscsiluns:\rvirtioscsilun\x12\x89\x01\n\x13\x44\x65leteVirtioScsiLun\x12..opi_api.storage.v1.DeleteVirtioScsiLunRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02$*\"/v1/virtioscsiluns/{virtioscsilun}\x12\x93\x01\n\x13UpdateVirtioScsiLun\x12..opi_api.storage.v1.UpdateVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\")\x82\xd3\xe4\x93\x02#2\x12/v1/virtioscsiluns:\rvirtioscsilun\x12\x8c\x01\n\x11ListVirtioScsiLun\x12,.opi_api.storage.v1.ListVirtioScsiLunRequest\x1a-.opi_api.storage.v1.ListVirtioScsiLunResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/virtioscsiluns\x12\x8e\x01\n\x10GetVirtioScsiLun\x12+.opi_api.storage.v1.GetVirtioScsiLunRequest\x1a!.opi_api.storage.v1.VirtioScsiLun\"*\x82\xd3\xe4\x93\x02$\x12\"/v1/virtioscsiluns/{virtioscsilun}\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') @@ -279,54 +279,54 @@ _VIRTIOSCSICONTROLLER._serialized_end=338 _VIRTIOSCSILUN._serialized_start=341 _VIRTIOSCSILUN._serialized_end=496 - _CREATEVIRTIOSCSITARGETREQUEST._serialized_start=498 - _CREATEVIRTIOSCSITARGETREQUEST._serialized_end=583 - _DELETEVIRTIOSCSITARGETREQUEST._serialized_start=585 - _DELETEVIRTIOSCSITARGETREQUEST._serialized_end=665 - _UPDATEVIRTIOSCSITARGETREQUEST._serialized_start=667 - _UPDATEVIRTIOSCSITARGETREQUEST._serialized_end=752 - _LISTVIRTIOSCSITARGETREQUEST._serialized_start=754 - _LISTVIRTIOSCSITARGETREQUEST._serialized_end=822 - _LISTVIRTIOSCSITARGETRESPONSE._serialized_start=824 - _LISTVIRTIOSCSITARGETRESPONSE._serialized_end=934 - _GETVIRTIOSCSITARGETREQUEST._serialized_start=936 - _GETVIRTIOSCSITARGETREQUEST._serialized_end=1013 - _VIRTIOSCSITARGETSTATSREQUEST._serialized_start=1015 - _VIRTIOSCSITARGETSTATSREQUEST._serialized_end=1094 - _VIRTIOSCSITARGETSTATSRESPONSE._serialized_start=1096 - _VIRTIOSCSITARGETSTATSRESPONSE._serialized_end=1184 - _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1186 - _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1283 - _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1285 - _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1373 - _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1375 - _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1472 - _LISTVIRTIOSCSICONTROLLERREQUEST._serialized_start=1474 - _LISTVIRTIOSCSICONTROLLERREQUEST._serialized_end=1546 - _LISTVIRTIOSCSICONTROLLERRESPONSE._serialized_start=1548 - _LISTVIRTIOSCSICONTROLLERRESPONSE._serialized_end=1670 - _GETVIRTIOSCSICONTROLLERREQUEST._serialized_start=1672 - _GETVIRTIOSCSICONTROLLERREQUEST._serialized_end=1757 - _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_start=1759 - _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_end=1846 - _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_start=1848 - _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_end=1940 - _CREATEVIRTIOSCSILUNREQUEST._serialized_start=1942 - _CREATEVIRTIOSCSILUNREQUEST._serialized_end=2018 - _DELETEVIRTIOSCSILUNREQUEST._serialized_start=2020 - _DELETEVIRTIOSCSILUNREQUEST._serialized_end=2147 - _UPDATEVIRTIOSCSILUNREQUEST._serialized_start=2149 - _UPDATEVIRTIOSCSILUNREQUEST._serialized_end=2225 - _LISTVIRTIOSCSILUNREQUEST._serialized_start=2227 - _LISTVIRTIOSCSILUNREQUEST._serialized_end=2345 - _LISTVIRTIOSCSILUNRESPONSE._serialized_start=2347 - _LISTVIRTIOSCSILUNRESPONSE._serialized_end=2448 - _GETVIRTIOSCSILUNREQUEST._serialized_start=2450 - _GETVIRTIOSCSILUNREQUEST._serialized_end=2574 - _VIRTIOSCSILUNSTATSREQUEST._serialized_start=2576 - _VIRTIOSCSILUNSTATSREQUEST._serialized_end=2702 - _VIRTIOSCSILUNSTATSRESPONSE._serialized_start=2704 - _VIRTIOSCSILUNSTATSRESPONSE._serialized_end=2789 - _FRONTENDVIRTIOSCSISERVICE._serialized_start=2792 - _FRONTENDVIRTIOSCSISERVICE._serialized_end=5567 + _CREATEVIRTIOSCSITARGETREQUEST._serialized_start=499 + _CREATEVIRTIOSCSITARGETREQUEST._serialized_end=630 + _DELETEVIRTIOSCSITARGETREQUEST._serialized_start=632 + _DELETEVIRTIOSCSITARGETREQUEST._serialized_end=758 + _UPDATEVIRTIOSCSITARGETREQUEST._serialized_start=761 + _UPDATEVIRTIOSCSITARGETREQUEST._serialized_end=892 + _LISTVIRTIOSCSITARGETREQUEST._serialized_start=894 + _LISTVIRTIOSCSITARGETREQUEST._serialized_end=962 + _LISTVIRTIOSCSITARGETRESPONSE._serialized_start=964 + _LISTVIRTIOSCSITARGETRESPONSE._serialized_end=1074 + _GETVIRTIOSCSITARGETREQUEST._serialized_start=1076 + _GETVIRTIOSCSITARGETREQUEST._serialized_end=1153 + _VIRTIOSCSITARGETSTATSREQUEST._serialized_start=1155 + _VIRTIOSCSITARGETSTATSREQUEST._serialized_end=1234 + _VIRTIOSCSITARGETSTATSRESPONSE._serialized_start=1236 + _VIRTIOSCSITARGETSTATSRESPONSE._serialized_end=1324 + _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1327 + _CREATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1470 + _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1473 + _DELETEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1607 + _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_start=1610 + _UPDATEVIRTIOSCSICONTROLLERREQUEST._serialized_end=1753 + _LISTVIRTIOSCSICONTROLLERREQUEST._serialized_start=1755 + _LISTVIRTIOSCSICONTROLLERREQUEST._serialized_end=1827 + _LISTVIRTIOSCSICONTROLLERRESPONSE._serialized_start=1829 + _LISTVIRTIOSCSICONTROLLERRESPONSE._serialized_end=1951 + _GETVIRTIOSCSICONTROLLERREQUEST._serialized_start=1953 + _GETVIRTIOSCSICONTROLLERREQUEST._serialized_end=2038 + _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_start=2040 + _VIRTIOSCSICONTROLLERSTATSREQUEST._serialized_end=2127 + _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_start=2129 + _VIRTIOSCSICONTROLLERSTATSRESPONSE._serialized_end=2221 + _CREATEVIRTIOSCSILUNREQUEST._serialized_start=2223 + _CREATEVIRTIOSCSILUNREQUEST._serialized_end=2345 + _DELETEVIRTIOSCSILUNREQUEST._serialized_start=2348 + _DELETEVIRTIOSCSILUNREQUEST._serialized_end=2521 + _UPDATEVIRTIOSCSILUNREQUEST._serialized_start=2523 + _UPDATEVIRTIOSCSILUNREQUEST._serialized_end=2645 + _LISTVIRTIOSCSILUNREQUEST._serialized_start=2647 + _LISTVIRTIOSCSILUNREQUEST._serialized_end=2765 + _LISTVIRTIOSCSILUNRESPONSE._serialized_start=2767 + _LISTVIRTIOSCSILUNRESPONSE._serialized_end=2868 + _GETVIRTIOSCSILUNREQUEST._serialized_start=2870 + _GETVIRTIOSCSILUNREQUEST._serialized_end=2994 + _VIRTIOSCSILUNSTATSREQUEST._serialized_start=2996 + _VIRTIOSCSILUNSTATSREQUEST._serialized_end=3122 + _VIRTIOSCSILUNSTATSRESPONSE._serialized_start=3124 + _VIRTIOSCSILUNSTATSRESPONSE._serialized_end=3209 + _FRONTENDVIRTIOSCSISERVICE._serialized_start=3212 + _FRONTENDVIRTIOSCSISERVICE._serialized_end=5987 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/middleend_pb2.py b/storage/v1alpha1/gen/python/middleend_pb2.py index a8c747e9..c2cf110a 100644 --- a/storage/v1alpha1/gen/python/middleend_pb2.py +++ b/storage/v1alpha1/gen/python/middleend_pb2.py @@ -18,7 +18,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fmiddleend.proto\x12\x12opi_api.storage.v1\x1a\x0fopicommon.proto\x1a\x10object_key.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n\x06\x43rypto\x12/\n\tcrypto_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.\n\x06\x63ipher\x18\x04 \x01(\x0e\x32\x1e.opi_api.storage.v1.CryptoType\"A\n\x13\x43reateCryptoRequest\x12*\n\x06volume\x18\x01 \x01(\x0b\x32\x1a.opi_api.storage.v1.Crypto\"F\n\x13\x44\x65leteCryptoRequest\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"A\n\x13UpdateCryptoRequest\x12*\n\x06volume\x18\x01 \x01(\x0b\x32\x1a.opi_api.storage.v1.Crypto\":\n\x11ListCryptoRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"Z\n\x12ListCryptoResponse\x12+\n\x07volumes\x18\x01 \x03(\x0b\x32\x1a.opi_api.storage.v1.Crypto\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"C\n\x10GetCryptoRequest\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"E\n\x12\x43ryptoStatsRequest\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"U\n\x13\x43ryptoStatsResponse\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\xa6\x05\n\x10MiddleendService\x12p\n\x0c\x43reateCrypto\x12\'.opi_api.storage.v1.CreateCryptoRequest\x1a\x1a.opi_api.storage.v1.Crypto\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x0b/v1/volumes:\x06volume\x12m\n\x0c\x44\x65leteCrypto\x12\'.opi_api.storage.v1.DeleteCryptoRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v1/volumes/{volume}\x12p\n\x0cUpdateCrypto\x12\'.opi_api.storage.v1.UpdateCryptoRequest\x1a\x1a.opi_api.storage.v1.Crypto\"\x1b\x82\xd3\xe4\x93\x02\x15\x32\x0b/v1/volumes:\x06volume\x12p\n\nListCrypto\x12%.opi_api.storage.v1.ListCryptoRequest\x1a&.opi_api.storage.v1.ListCryptoResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/volumes\x12k\n\tGetCrypto\x12$.opi_api.storage.v1.GetCryptoRequest\x1a\x1a.opi_api.storage.v1.Crypto\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/volumes/{volume}\x12`\n\x0b\x43ryptoStats\x12&.opi_api.storage.v1.CryptoStatsRequest\x1a\'.opi_api.storage.v1.CryptoStatsResponse\"\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\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n\x06\x43rypto\x12/\n\tcrypto_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.\n\x06\x63ipher\x18\x04 \x01(\x0e\x32\x1e.opi_api.storage.v1.CryptoType\"o\n\x13\x43reateCryptoRequest\x12*\n\x06volume\x18\x01 \x01(\x0b\x32\x1a.opi_api.storage.v1.Crypto\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"t\n\x13\x44\x65leteCryptoRequest\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"o\n\x13UpdateCryptoRequest\x12*\n\x06volume\x18\x01 \x01(\x0b\x32\x1a.opi_api.storage.v1.Crypto\x12,\n\x06txn_id\x18\x02 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\":\n\x11ListCryptoRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"Z\n\x12ListCryptoResponse\x12+\n\x07volumes\x18\x01 \x03(\x0b\x32\x1a.opi_api.storage.v1.Crypto\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"C\n\x10GetCryptoRequest\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"E\n\x12\x43ryptoStatsRequest\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"U\n\x13\x43ryptoStatsResponse\x12/\n\tcrypto_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\xa6\x05\n\x10MiddleendService\x12p\n\x0c\x43reateCrypto\x12\'.opi_api.storage.v1.CreateCryptoRequest\x1a\x1a.opi_api.storage.v1.Crypto\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x0b/v1/volumes:\x06volume\x12m\n\x0c\x44\x65leteCrypto\x12\'.opi_api.storage.v1.DeleteCryptoRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v1/volumes/{volume}\x12p\n\x0cUpdateCrypto\x12\'.opi_api.storage.v1.UpdateCryptoRequest\x1a\x1a.opi_api.storage.v1.Crypto\"\x1b\x82\xd3\xe4\x93\x02\x15\x32\x0b/v1/volumes:\x06volume\x12p\n\nListCrypto\x12%.opi_api.storage.v1.ListCryptoRequest\x1a&.opi_api.storage.v1.ListCryptoResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/volumes\x12k\n\tGetCrypto\x12$.opi_api.storage.v1.GetCryptoRequest\x1a\x1a.opi_api.storage.v1.Crypto\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/volumes/{volume}\x12`\n\x0b\x43ryptoStats\x12&.opi_api.storage.v1.CryptoStatsRequest\x1a\'.opi_api.storage.v1.CryptoStatsResponse\"\x00\x42]\n\x12opi_api.storage.v1B\x0eMiddleendProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') @@ -112,21 +112,21 @@ _CRYPTO._serialized_start=134 _CRYPTO._serialized_end=301 _CREATECRYPTOREQUEST._serialized_start=303 - _CREATECRYPTOREQUEST._serialized_end=368 - _DELETECRYPTOREQUEST._serialized_start=370 - _DELETECRYPTOREQUEST._serialized_end=440 - _UPDATECRYPTOREQUEST._serialized_start=442 - _UPDATECRYPTOREQUEST._serialized_end=507 - _LISTCRYPTOREQUEST._serialized_start=509 - _LISTCRYPTOREQUEST._serialized_end=567 - _LISTCRYPTORESPONSE._serialized_start=569 - _LISTCRYPTORESPONSE._serialized_end=659 - _GETCRYPTOREQUEST._serialized_start=661 - _GETCRYPTOREQUEST._serialized_end=728 - _CRYPTOSTATSREQUEST._serialized_start=730 - _CRYPTOSTATSREQUEST._serialized_end=799 - _CRYPTOSTATSRESPONSE._serialized_start=801 - _CRYPTOSTATSRESPONSE._serialized_end=886 - _MIDDLEENDSERVICE._serialized_start=889 - _MIDDLEENDSERVICE._serialized_end=1567 + _CREATECRYPTOREQUEST._serialized_end=414 + _DELETECRYPTOREQUEST._serialized_start=416 + _DELETECRYPTOREQUEST._serialized_end=532 + _UPDATECRYPTOREQUEST._serialized_start=534 + _UPDATECRYPTOREQUEST._serialized_end=645 + _LISTCRYPTOREQUEST._serialized_start=647 + _LISTCRYPTOREQUEST._serialized_end=705 + _LISTCRYPTORESPONSE._serialized_start=707 + _LISTCRYPTORESPONSE._serialized_end=797 + _GETCRYPTOREQUEST._serialized_start=799 + _GETCRYPTOREQUEST._serialized_end=866 + _CRYPTOSTATSREQUEST._serialized_start=868 + _CRYPTOSTATSREQUEST._serialized_end=937 + _CRYPTOSTATSRESPONSE._serialized_start=939 + _CRYPTOSTATSRESPONSE._serialized_end=1024 + _MIDDLEENDSERVICE._serialized_start=1027 + _MIDDLEENDSERVICE._serialized_end=1705 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/transactions_pb2.py b/storage/v1alpha1/gen/python/transactions_pb2.py new file mode 100644 index 00000000..e5dca640 --- /dev/null +++ b/storage/v1alpha1/gen/python/transactions_pb2.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: transactions.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +import object_key_pb2 as object__key__pb2 +from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12transactions.proto\x12\x12opi_api.storage.v1\x1a\x10object_key.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\";\n\x0bTransaction\x12,\n\x06txn_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"\x1a\n\x18\x43reateTransactionRequest\"H\n\x18\x44\x65leteTransactionRequest\x12,\n\x06txn_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"I\n\x19\x45xecuteTransactionRequest\x12,\n\x06txn_id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey2\xa8\x03\n\x12TransactionService\x12\x89\x01\n\x11\x43reateTransaction\x12,.opi_api.storage.v1.CreateTransactionRequest\x1a\x1f.opi_api.storage.v1.Transaction\"%\x82\xd3\xe4\x93\x02\x1f\"\x10/v1/transactions:\x0btransaction\x12\x80\x01\n\x11\x44\x65leteTransaction\x12,.opi_api.storage.v1.DeleteTransactionRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x1f\"\x10/v1/transactions:\x0btransaction\x12\x82\x01\n\x12\x45xecuteTransaction\x12-.opi_api.storage.v1.ExecuteTransactionRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x1f\"\x10/v1/transactions:\x0btransactionB`\n\x12opi_api.storage.v1B\x11TransactionsProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') + + + +_TRANSACTION = DESCRIPTOR.message_types_by_name['Transaction'] +_CREATETRANSACTIONREQUEST = DESCRIPTOR.message_types_by_name['CreateTransactionRequest'] +_DELETETRANSACTIONREQUEST = DESCRIPTOR.message_types_by_name['DeleteTransactionRequest'] +_EXECUTETRANSACTIONREQUEST = DESCRIPTOR.message_types_by_name['ExecuteTransactionRequest'] +Transaction = _reflection.GeneratedProtocolMessageType('Transaction', (_message.Message,), { + 'DESCRIPTOR' : _TRANSACTION, + '__module__' : 'transactions_pb2' + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.Transaction) + }) +_sym_db.RegisterMessage(Transaction) + +CreateTransactionRequest = _reflection.GeneratedProtocolMessageType('CreateTransactionRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATETRANSACTIONREQUEST, + '__module__' : 'transactions_pb2' + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateTransactionRequest) + }) +_sym_db.RegisterMessage(CreateTransactionRequest) + +DeleteTransactionRequest = _reflection.GeneratedProtocolMessageType('DeleteTransactionRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETETRANSACTIONREQUEST, + '__module__' : 'transactions_pb2' + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteTransactionRequest) + }) +_sym_db.RegisterMessage(DeleteTransactionRequest) + +ExecuteTransactionRequest = _reflection.GeneratedProtocolMessageType('ExecuteTransactionRequest', (_message.Message,), { + 'DESCRIPTOR' : _EXECUTETRANSACTIONREQUEST, + '__module__' : 'transactions_pb2' + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ExecuteTransactionRequest) + }) +_sym_db.RegisterMessage(ExecuteTransactionRequest) + +_TRANSACTIONSERVICE = DESCRIPTOR.services_by_name['TransactionService'] +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\021TransactionsProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' + _TRANSACTIONSERVICE.methods_by_name['CreateTransaction']._options = None + _TRANSACTIONSERVICE.methods_by_name['CreateTransaction']._serialized_options = b'\202\323\344\223\002\037\"\020/v1/transactions:\013transaction' + _TRANSACTIONSERVICE.methods_by_name['DeleteTransaction']._options = None + _TRANSACTIONSERVICE.methods_by_name['DeleteTransaction']._serialized_options = b'\202\323\344\223\002\037\"\020/v1/transactions:\013transaction' + _TRANSACTIONSERVICE.methods_by_name['ExecuteTransaction']._options = None + _TRANSACTIONSERVICE.methods_by_name['ExecuteTransaction']._serialized_options = b'\202\323\344\223\002\037\"\020/v1/transactions:\013transaction' + _TRANSACTION._serialized_start=119 + _TRANSACTION._serialized_end=178 + _CREATETRANSACTIONREQUEST._serialized_start=180 + _CREATETRANSACTIONREQUEST._serialized_end=206 + _DELETETRANSACTIONREQUEST._serialized_start=208 + _DELETETRANSACTIONREQUEST._serialized_end=280 + _EXECUTETRANSACTIONREQUEST._serialized_start=282 + _EXECUTETRANSACTIONREQUEST._serialized_end=355 + _TRANSACTIONSERVICE._serialized_start=358 + _TRANSACTIONSERVICE._serialized_end=782 +# @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/transactions_pb2_grpc.py b/storage/v1alpha1/gen/python/transactions_pb2_grpc.py new file mode 100644 index 00000000..cebf0d4d --- /dev/null +++ b/storage/v1alpha1/gen/python/transactions_pb2_grpc.py @@ -0,0 +1,133 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 +import transactions_pb2 as transactions__pb2 + + +class TransactionServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTransaction = channel.unary_unary( + '/opi_api.storage.v1.TransactionService/CreateTransaction', + request_serializer=transactions__pb2.CreateTransactionRequest.SerializeToString, + response_deserializer=transactions__pb2.Transaction.FromString, + ) + self.DeleteTransaction = channel.unary_unary( + '/opi_api.storage.v1.TransactionService/DeleteTransaction', + request_serializer=transactions__pb2.DeleteTransactionRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + ) + self.ExecuteTransaction = channel.unary_unary( + '/opi_api.storage.v1.TransactionService/ExecuteTransaction', + request_serializer=transactions__pb2.ExecuteTransactionRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + ) + + +class TransactionServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateTransaction(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTransaction(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExecuteTransaction(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TransactionServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTransaction': grpc.unary_unary_rpc_method_handler( + servicer.CreateTransaction, + request_deserializer=transactions__pb2.CreateTransactionRequest.FromString, + response_serializer=transactions__pb2.Transaction.SerializeToString, + ), + 'DeleteTransaction': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTransaction, + request_deserializer=transactions__pb2.DeleteTransactionRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + 'ExecuteTransaction': grpc.unary_unary_rpc_method_handler( + servicer.ExecuteTransaction, + request_deserializer=transactions__pb2.ExecuteTransactionRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'opi_api.storage.v1.TransactionService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class TransactionService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateTransaction(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.TransactionService/CreateTransaction', + transactions__pb2.CreateTransactionRequest.SerializeToString, + transactions__pb2.Transaction.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteTransaction(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.TransactionService/DeleteTransaction', + transactions__pb2.DeleteTransactionRequest.SerializeToString, + google_dot_protobuf_dot_empty__pb2.Empty.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ExecuteTransaction(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.TransactionService/ExecuteTransaction', + transactions__pb2.ExecuteTransactionRequest.SerializeToString, + google_dot_protobuf_dot_empty__pb2.Empty.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/middleend.proto b/storage/v1alpha1/middleend.proto index 3a9d1d36..1fa8231f 100755 --- a/storage/v1alpha1/middleend.proto +++ b/storage/v1alpha1/middleend.proto @@ -62,14 +62,20 @@ message Crypto { message CreateCryptoRequest { Crypto volume = 1; + + common.v1.ObjectKey txn_id = 2; } message DeleteCryptoRequest { common.v1.ObjectKey crypto_id = 1; + + common.v1.ObjectKey txn_id = 2; } message UpdateCryptoRequest { Crypto volume = 1; + + common.v1.ObjectKey txn_id = 2; } message ListCryptoRequest { diff --git a/storage/v1alpha1/transactions.proto b/storage/v1alpha1/transactions.proto new file mode 100644 index 00000000..8e0d068f --- /dev/null +++ b/storage/v1alpha1/transactions.proto @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright (c) 2022 Intel Corporation + +syntax = "proto3"; +package opi_api.storage.v1; + +option java_package = "opi_api.storage.v1"; +option java_multiple_files = true; +option java_outer_classname = "TransactionsProto"; + +option go_package = "github.com/opiproject/opi-api/storage/v1alpha1/gen/go"; +import "object_key.proto"; +import "google/protobuf/empty.proto"; +import "google/api/annotations.proto"; + +service TransactionService { + rpc CreateTransaction (CreateTransactionRequest) returns (Transaction) { + option (google.api.http) = { + post: "/v1/transactions" + body: "transaction" + }; + } + + rpc DeleteTransaction (DeleteTransactionRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/transactions" + body: "transaction" + }; + } + + rpc ExecuteTransaction (ExecuteTransactionRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/transactions" + body: "transaction" + }; + } +} + +message Transaction { + common.v1.ObjectKey txn_id = 1; +} + +message CreateTransactionRequest { + // Empty +} + +message DeleteTransactionRequest { + common.v1.ObjectKey txn_id = 1; +} + +message ExecuteTransactionRequest { + common.v1.ObjectKey txn_id = 1; +} \ No newline at end of file