diff --git a/storage/v1alpha1/autogen.md b/storage/v1alpha1/autogen.md index f3d9073e..6fd384ac 100644 --- a/storage/v1alpha1/autogen.md +++ b/storage/v1alpha1/autogen.md @@ -5,47 +5,43 @@ - [backend_aio.proto](#backend_aio-proto) - [AioController](#opi_api-storage-v1-AioController) - - [AioControllerCreateRequest](#opi_api-storage-v1-AioControllerCreateRequest) - - [AioControllerDeleteRequest](#opi_api-storage-v1-AioControllerDeleteRequest) - - [AioControllerGetListRequest](#opi_api-storage-v1-AioControllerGetListRequest) - - [AioControllerGetRequest](#opi_api-storage-v1-AioControllerGetRequest) - - [AioControllerGetStatsRequest](#opi_api-storage-v1-AioControllerGetStatsRequest) - - [AioControllerList](#opi_api-storage-v1-AioControllerList) - - [AioControllerStats](#opi_api-storage-v1-AioControllerStats) - [AioControllerStatsRequest](#opi_api-storage-v1-AioControllerStatsRequest) - - [AioControllerUpdateRequest](#opi_api-storage-v1-AioControllerUpdateRequest) + - [AioControllerStatsResponse](#opi_api-storage-v1-AioControllerStatsResponse) + - [CreateAioControllerRequest](#opi_api-storage-v1-CreateAioControllerRequest) + - [DeleteAioControllerRequest](#opi_api-storage-v1-DeleteAioControllerRequest) + - [GetAioControllerRequest](#opi_api-storage-v1-GetAioControllerRequest) + - [ListAioControllerRequest](#opi_api-storage-v1-ListAioControllerRequest) + - [ListAioControllerResponse](#opi_api-storage-v1-ListAioControllerResponse) + - [UpdateAioControllerRequest](#opi_api-storage-v1-UpdateAioControllerRequest) - [AioControllerService](#opi_api-storage-v1-AioControllerService) - [backend_iscsi.proto](#backend_iscsi-proto) - [backend_null.proto](#backend_null-proto) + - [CreateNullDebugRequest](#opi_api-storage-v1-CreateNullDebugRequest) + - [DeleteNullDebugRequest](#opi_api-storage-v1-DeleteNullDebugRequest) + - [GetNullDebugRequest](#opi_api-storage-v1-GetNullDebugRequest) + - [ListNullDebugRequest](#opi_api-storage-v1-ListNullDebugRequest) + - [ListNullDebugResponse](#opi_api-storage-v1-ListNullDebugResponse) - [NullDebug](#opi_api-storage-v1-NullDebug) - - [NullDebugCreateRequest](#opi_api-storage-v1-NullDebugCreateRequest) - - [NullDebugDeleteRequest](#opi_api-storage-v1-NullDebugDeleteRequest) - - [NullDebugGetRequest](#opi_api-storage-v1-NullDebugGetRequest) - - [NullDebugListRequest](#opi_api-storage-v1-NullDebugListRequest) - - [NullDebugListResponse](#opi_api-storage-v1-NullDebugListResponse) - [NullDebugStatsRequest](#opi_api-storage-v1-NullDebugStatsRequest) - [NullDebugStatsResponse](#opi_api-storage-v1-NullDebugStatsResponse) - - [NullDebugUpdateRequest](#opi_api-storage-v1-NullDebugUpdateRequest) + - [UpdateNullDebugRequest](#opi_api-storage-v1-UpdateNullDebugRequest) - [NullDebugService](#opi_api-storage-v1-NullDebugService) - [backend_nvme_pcie.proto](#backend_nvme_pcie-proto) - [backend_nvme_tcp.proto](#backend_nvme_tcp-proto) + - [CreateNVMfRemoteControllerRequest](#opi_api-storage-v1-CreateNVMfRemoteControllerRequest) + - [DeleteNVMfRemoteControllerRequest](#opi_api-storage-v1-DeleteNVMfRemoteControllerRequest) + - [GetNVMfRemoteControllerRequest](#opi_api-storage-v1-GetNVMfRemoteControllerRequest) + - [ListNVMfRemoteControllerRequest](#opi_api-storage-v1-ListNVMfRemoteControllerRequest) + - [ListNVMfRemoteControllerResponse](#opi_api-storage-v1-ListNVMfRemoteControllerResponse) - [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) - - [NVMfRemoteControllerConnectRequest](#opi_api-storage-v1-NVMfRemoteControllerConnectRequest) - - [NVMfRemoteControllerConnectResponse](#opi_api-storage-v1-NVMfRemoteControllerConnectResponse) - - [NVMfRemoteControllerDisconnectRequest](#opi_api-storage-v1-NVMfRemoteControllerDisconnectRequest) - - [NVMfRemoteControllerDisconnectResponse](#opi_api-storage-v1-NVMfRemoteControllerDisconnectResponse) - - [NVMfRemoteControllerGetRequest](#opi_api-storage-v1-NVMfRemoteControllerGetRequest) - - [NVMfRemoteControllerGetResponse](#opi_api-storage-v1-NVMfRemoteControllerGetResponse) - - [NVMfRemoteControllerListRequest](#opi_api-storage-v1-NVMfRemoteControllerListRequest) - - [NVMfRemoteControllerListResponse](#opi_api-storage-v1-NVMfRemoteControllerListResponse) - [NVMfRemoteControllerResetRequest](#opi_api-storage-v1-NVMfRemoteControllerResetRequest) - - [NVMfRemoteControllerResetResponse](#opi_api-storage-v1-NVMfRemoteControllerResetResponse) - [NVMfRemoteControllerStatsRequest](#opi_api-storage-v1-NVMfRemoteControllerStatsRequest) - [NVMfRemoteControllerStatsResponse](#opi_api-storage-v1-NVMfRemoteControllerStatsResponse) + - [UpdateNVMfRemoteControllerRequest](#opi_api-storage-v1-UpdateNVMfRemoteControllerRequest) - [NvmeAddressFamily](#opi_api-storage-v1-NvmeAddressFamily) - [NvmeMultipath](#opi_api-storage-v1-NvmeMultipath) @@ -192,64 +188,55 @@ - + -### AioControllerCreateRequest +### AioControllerStatsRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| device | [AioController](#opi_api-storage-v1-AioController) | | | +| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | - + -### AioControllerDeleteRequest +### AioControllerStatsResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| stats | [string](#string) | | | - - -### AioControllerGetListRequest -Intentionally empty - - - - - - - + -### AioControllerGetRequest +### CreateAioControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| device | [AioController](#opi_api-storage-v1-AioController) | | | - + -### AioControllerGetStatsRequest +### DeleteAioControllerRequest @@ -262,55 +249,56 @@ Intentionally empty - + -### AioControllerList +### GetAioControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| device | [AioController](#opi_api-storage-v1-AioController) | repeated | | +| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | - + -### AioControllerStats +### ListAioControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| stats | [string](#string) | | | +| page_size | [int32](#int32) | | | +| page_token | [string](#string) | | | - + -### AioControllerStatsRequest +### ListAioControllerResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| devices | [AioController](#opi_api-storage-v1-AioController) | repeated | | +| next_page_token | [string](#string) | | | - + -### AioControllerUpdateRequest +### UpdateAioControllerRequest @@ -336,12 +324,12 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| -| AioControllerCreate | [AioControllerCreateRequest](#opi_api-storage-v1-AioControllerCreateRequest) | [AioController](#opi_api-storage-v1-AioController) | | -| AioControllerDelete | [AioControllerDeleteRequest](#opi_api-storage-v1-AioControllerDeleteRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | -| AioControllerGet | [AioControllerGetRequest](#opi_api-storage-v1-AioControllerGetRequest) | [AioController](#opi_api-storage-v1-AioController) | | -| AioControllerGetList | [AioControllerGetListRequest](#opi_api-storage-v1-AioControllerGetListRequest) | [AioControllerList](#opi_api-storage-v1-AioControllerList) | | -| AioControllerGetStats | [AioControllerGetStatsRequest](#opi_api-storage-v1-AioControllerGetStatsRequest) | [AioControllerStats](#opi_api-storage-v1-AioControllerStats) | | -| AioControllerUpdate | [AioControllerUpdateRequest](#opi_api-storage-v1-AioControllerUpdateRequest) | [AioController](#opi_api-storage-v1-AioController) | | +| CreateAioController | [CreateAioControllerRequest](#opi_api-storage-v1-CreateAioControllerRequest) | [AioController](#opi_api-storage-v1-AioController) | | +| DeleteAioController | [DeleteAioControllerRequest](#opi_api-storage-v1-DeleteAioControllerRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | +| UpdateAioController | [UpdateAioControllerRequest](#opi_api-storage-v1-UpdateAioControllerRequest) | [AioController](#opi_api-storage-v1-AioController) | | +| ListAioController | [ListAioControllerRequest](#opi_api-storage-v1-ListAioControllerRequest) | [ListAioControllerResponse](#opi_api-storage-v1-ListAioControllerResponse) | | +| GetAioController | [GetAioControllerRequest](#opi_api-storage-v1-GetAioControllerRequest) | [AioController](#opi_api-storage-v1-AioController) | | +| AioControllerStats | [AioControllerStatsRequest](#opi_api-storage-v1-AioControllerStatsRequest) | [AioControllerStatsResponse](#opi_api-storage-v1-AioControllerStatsResponse) | | @@ -370,42 +358,39 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev - + -### NullDebug +### CreateNullDebugRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | -| block_size | [int64](#int64) | | | -| blocks_count | [int64](#int64) | | | -| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | | +| device | [NullDebug](#opi_api-storage-v1-NullDebug) | | | - + -### NullDebugCreateRequest +### DeleteNullDebugRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| device | [NullDebug](#opi_api-storage-v1-NullDebug) | | | +| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | - + -### NullDebugDeleteRequest +### GetNullDebugRequest @@ -418,40 +403,50 @@ Back End (network-facing) APIs. This service is for AIO generic kernel block dev - + -### NullDebugGetRequest +### ListNullDebugRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| page_size | [int32](#int32) | | | +| page_token | [string](#string) | | | - + -### NullDebugListRequest -Intentionally empty. +### ListNullDebugResponse +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| devices | [NullDebug](#opi_api-storage-v1-NullDebug) | repeated | | +| next_page_token | [string](#string) | | | - -### NullDebugListResponse + + + + +### NullDebug | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| device | [NullDebug](#opi_api-storage-v1-NullDebug) | repeated | | +| handle | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | | +| block_size | [int64](#int64) | | | +| blocks_count | [int64](#int64) | | | +| uuid | [opi_api.common.v1.Uuid](#opi_api-common-v1-Uuid) | | | @@ -489,9 +484,9 @@ Intentionally empty. - + -### NullDebugUpdateRequest +### UpdateNullDebugRequest @@ -517,11 +512,11 @@ Back End (network-facing) APIs. This is debug interface for null block devices. | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| -| NullDebugCreate | [NullDebugCreateRequest](#opi_api-storage-v1-NullDebugCreateRequest) | [NullDebug](#opi_api-storage-v1-NullDebug) | | -| NullDebugDelete | [NullDebugDeleteRequest](#opi_api-storage-v1-NullDebugDeleteRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | -| NullDebugUpdate | [NullDebugUpdateRequest](#opi_api-storage-v1-NullDebugUpdateRequest) | [NullDebug](#opi_api-storage-v1-NullDebug) | | -| NullDebugList | [NullDebugListRequest](#opi_api-storage-v1-NullDebugListRequest) | [NullDebugListResponse](#opi_api-storage-v1-NullDebugListResponse) | | -| NullDebugGet | [NullDebugGetRequest](#opi_api-storage-v1-NullDebugGetRequest) | [NullDebug](#opi_api-storage-v1-NullDebug) | | +| CreateNullDebug | [CreateNullDebugRequest](#opi_api-storage-v1-CreateNullDebugRequest) | [NullDebug](#opi_api-storage-v1-NullDebug) | | +| DeleteNullDebug | [DeleteNullDebugRequest](#opi_api-storage-v1-DeleteNullDebugRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | +| UpdateNullDebug | [UpdateNullDebugRequest](#opi_api-storage-v1-UpdateNullDebugRequest) | [NullDebug](#opi_api-storage-v1-NullDebug) | | +| ListNullDebug | [ListNullDebugRequest](#opi_api-storage-v1-ListNullDebugRequest) | [ListNullDebugResponse](#opi_api-storage-v1-ListNullDebugResponse) | | +| GetNullDebug | [GetNullDebugRequest](#opi_api-storage-v1-GetNullDebugRequest) | [NullDebug](#opi_api-storage-v1-NullDebug) | | | NullDebugStats | [NullDebugStatsRequest](#opi_api-storage-v1-NullDebugStatsRequest) | [NullDebugStatsResponse](#opi_api-storage-v1-NullDebugStatsResponse) | | @@ -551,192 +546,163 @@ Back End (network-facing) APIs. This is debug interface for null block devices. - + -### NVMfRemoteController +### CreateNVMfRemoteControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | -| trtype | [NvmeTransportType](#opi_api-storage-v1-NvmeTransportType) | | | -| adrfam | [NvmeAddressFamily](#opi_api-storage-v1-NvmeAddressFamily) | | | -| traddr | [string](#string) | | | -| trsvcid | [int64](#int64) | | | -| subnqn | [string](#string) | | | -| hdgst | [bool](#bool) | | | -| ddgst | [bool](#bool) | | | -| multipath | [NvmeMultipath](#opi_api-storage-v1-NvmeMultipath) | | | -| io_queues_count | [int64](#int64) | | | -| queue_size | [int64](#int64) | | | -| hostnqn | [string](#string) | | | +| ctrl | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | | - + -### NVMfRemoteControllerConnectRequest +### DeleteNVMfRemoteControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| ctrl | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | | - - - - - - - - -### NVMfRemoteControllerConnectResponse -Intentionally empty. +| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | object's unique identifier | - + -### NVMfRemoteControllerDisconnectRequest +### GetNVMfRemoteControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | - - - - - - - - -### NVMfRemoteControllerDisconnectResponse -Intentionally empty. +| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | object's unique identifier | - + -### NVMfRemoteControllerGetRequest +### ListNVMfRemoteControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | +| page_size | [int32](#int32) | | | +| page_token | [string](#string) | | | - + -### NVMfRemoteControllerGetResponse +### ListNVMfRemoteControllerResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| ctrl | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | | +| ctrls | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | repeated | | +| next_page_token | [string](#string) | | | - + -### NVMfRemoteControllerListRequest +### NVMfRemoteController | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | +| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | object's unique identifier | +| trtype | [NvmeTransportType](#opi_api-storage-v1-NvmeTransportType) | | | +| adrfam | [NvmeAddressFamily](#opi_api-storage-v1-NvmeAddressFamily) | | | +| traddr | [string](#string) | | | +| trsvcid | [int64](#int64) | | | +| subnqn | [string](#string) | | | +| hdgst | [bool](#bool) | | | +| ddgst | [bool](#bool) | | | +| multipath | [NvmeMultipath](#opi_api-storage-v1-NvmeMultipath) | | | +| io_queues_count | [int64](#int64) | | | +| queue_size | [int64](#int64) | | | +| hostnqn | [string](#string) | | | - + -### NVMfRemoteControllerListResponse +### NVMfRemoteControllerResetRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| ctrl | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | repeated | | +| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | object's unique identifier | - + -### NVMfRemoteControllerResetRequest +### NVMfRemoteControllerStatsRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | - - - - - - - - -### NVMfRemoteControllerResetResponse -Intentionally empty. +| id | [opi_api.common.v1.ObjectKey](#opi_api-common-v1-ObjectKey) | | object's unique identifier | - + -### NVMfRemoteControllerStatsRequest +### NVMfRemoteControllerStatsResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | +| stats | [string](#string) | | | - + -### NVMfRemoteControllerStatsResponse +### UpdateNVMfRemoteControllerRequest | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [int64](#int64) | | | -| stats | [string](#string) | | | +| ctrl | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | | @@ -802,11 +768,12 @@ Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered b | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| -| NVMfRemoteControllerConnect | [NVMfRemoteControllerConnectRequest](#opi_api-storage-v1-NVMfRemoteControllerConnectRequest) | [NVMfRemoteControllerConnectResponse](#opi_api-storage-v1-NVMfRemoteControllerConnectResponse) | | -| NVMfRemoteControllerDisconnect | [NVMfRemoteControllerDisconnectRequest](#opi_api-storage-v1-NVMfRemoteControllerDisconnectRequest) | [NVMfRemoteControllerDisconnectResponse](#opi_api-storage-v1-NVMfRemoteControllerDisconnectResponse) | | -| NVMfRemoteControllerReset | [NVMfRemoteControllerResetRequest](#opi_api-storage-v1-NVMfRemoteControllerResetRequest) | [NVMfRemoteControllerResetResponse](#opi_api-storage-v1-NVMfRemoteControllerResetResponse) | | -| NVMfRemoteControllerList | [NVMfRemoteControllerListRequest](#opi_api-storage-v1-NVMfRemoteControllerListRequest) | [NVMfRemoteControllerListResponse](#opi_api-storage-v1-NVMfRemoteControllerListResponse) | | -| NVMfRemoteControllerGet | [NVMfRemoteControllerGetRequest](#opi_api-storage-v1-NVMfRemoteControllerGetRequest) | [NVMfRemoteControllerGetResponse](#opi_api-storage-v1-NVMfRemoteControllerGetResponse) | | +| CreateNVMfRemoteController | [CreateNVMfRemoteControllerRequest](#opi_api-storage-v1-CreateNVMfRemoteControllerRequest) | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | +| DeleteNVMfRemoteController | [DeleteNVMfRemoteControllerRequest](#opi_api-storage-v1-DeleteNVMfRemoteControllerRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | +| UpdateNVMfRemoteController | [UpdateNVMfRemoteControllerRequest](#opi_api-storage-v1-UpdateNVMfRemoteControllerRequest) | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | +| ListNVMfRemoteController | [ListNVMfRemoteControllerRequest](#opi_api-storage-v1-ListNVMfRemoteControllerRequest) | [ListNVMfRemoteControllerResponse](#opi_api-storage-v1-ListNVMfRemoteControllerResponse) | | +| GetNVMfRemoteController | [GetNVMfRemoteControllerRequest](#opi_api-storage-v1-GetNVMfRemoteControllerRequest) | [NVMfRemoteController](#opi_api-storage-v1-NVMfRemoteController) | | +| NVMfRemoteControllerReset | [NVMfRemoteControllerResetRequest](#opi_api-storage-v1-NVMfRemoteControllerResetRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | | | NVMfRemoteControllerStats | [NVMfRemoteControllerStatsRequest](#opi_api-storage-v1-NVMfRemoteControllerStatsRequest) | [NVMfRemoteControllerStatsResponse](#opi_api-storage-v1-NVMfRemoteControllerStatsResponse) | | diff --git a/storage/v1alpha1/backend_aio.proto b/storage/v1alpha1/backend_aio.proto index d23ccc4c..a9980068 100644 --- a/storage/v1alpha1/backend_aio.proto +++ b/storage/v1alpha1/backend_aio.proto @@ -11,17 +11,40 @@ option java_outer_classname = "BackendAioProto"; option go_package = "github.com/opiproject/opi-api/storage/v1alpha1/gen/go"; import "google/protobuf/empty.proto"; +import "google/api/annotations.proto"; import "object_key.proto"; import "uuid.proto"; // Back End (network-facing) APIs. This service is for AIO generic kernel block device. service AioControllerService { - rpc AioControllerCreate (AioControllerCreateRequest) returns (AioController) {} - rpc AioControllerDelete (AioControllerDeleteRequest) returns (google.protobuf.Empty) {} - rpc AioControllerGet (AioControllerGetRequest) returns (AioController) {} - rpc AioControllerGetList (AioControllerGetListRequest) returns (AioControllerList) {} - rpc AioControllerGetStats (AioControllerGetStatsRequest) returns (AioControllerStats) {} - rpc AioControllerUpdate (AioControllerUpdateRequest) returns (AioController) {} + rpc CreateAioController (CreateAioControllerRequest) returns (AioController) { + option (google.api.http) = { + post: "/v1/subsystems" + body: "subsystem" + }; + } + rpc DeleteAioController (DeleteAioControllerRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/subsystems/{subsystem}" + }; + } + rpc UpdateAioController (UpdateAioControllerRequest) returns (AioController) { + option (google.api.http) = { + patch: "/v1/subsystems" + body: "subsystem" + }; + } + rpc ListAioController (ListAioControllerRequest) returns (ListAioControllerResponse) { + option (google.api.http) = { + get: "/v1/subsystems" + }; + } + rpc GetAioController (GetAioControllerRequest) returns (AioController) { + option (google.api.http) = { + get: "/v1/subsystems/{subsystem}" + }; + } + rpc AioControllerStats (AioControllerStatsRequest) returns (AioControllerStatsResponse) {} } message AioController { @@ -35,31 +58,29 @@ message AioController { string filename = 5; } -message AioControllerCreateRequest { +message CreateAioControllerRequest { AioController device = 1; } -message AioControllerDeleteRequest { +message DeleteAioControllerRequest { common.v1.ObjectKey handle = 1; } -message AioControllerUpdateRequest { +message UpdateAioControllerRequest { AioController device = 1; } -message AioControllerList{ - repeated AioController device = 1; +message ListAioControllerRequest { + int32 page_size = 1; + string page_token = 2; } -message AioControllerGetRequest { - common.v1.ObjectKey handle = 1; -} - -message AioControllerGetListRequest { - // Intentionally empty +message ListAioControllerResponse{ + repeated AioController devices = 1; + string next_page_token = 2; } -message AioControllerGetStatsRequest { +message GetAioControllerRequest { common.v1.ObjectKey handle = 1; } @@ -67,7 +88,7 @@ message AioControllerStatsRequest { common.v1.ObjectKey handle = 1; } -message AioControllerStats { +message AioControllerStatsResponse { common.v1.ObjectKey handle = 1; string stats = 2; } diff --git a/storage/v1alpha1/backend_null.proto b/storage/v1alpha1/backend_null.proto index 90e4b7dd..987f6aee 100755 --- a/storage/v1alpha1/backend_null.proto +++ b/storage/v1alpha1/backend_null.proto @@ -11,16 +11,39 @@ option java_outer_classname = "BackendNullProto"; option go_package = "github.com/opiproject/opi-api/storage/v1alpha1/gen/go"; import "google/protobuf/empty.proto"; +import "google/api/annotations.proto"; import "object_key.proto"; import "uuid.proto"; // Back End (network-facing) APIs. This is debug interface for null block devices. service NullDebugService { - rpc NullDebugCreate (NullDebugCreateRequest) returns (NullDebug) {} - rpc NullDebugDelete (NullDebugDeleteRequest) returns (google.protobuf.Empty) {} - rpc NullDebugUpdate (NullDebugUpdateRequest) returns (NullDebug) {} - rpc NullDebugList (NullDebugListRequest) returns (NullDebugListResponse) {} - rpc NullDebugGet (NullDebugGetRequest) returns (NullDebug) {} + rpc CreateNullDebug (CreateNullDebugRequest) returns (NullDebug) { + option (google.api.http) = { + post: "/v1/subsystems" + body: "subsystem" + }; + } + rpc DeleteNullDebug (DeleteNullDebugRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/subsystems/{subsystem}" + }; + } + rpc UpdateNullDebug (UpdateNullDebugRequest) returns (NullDebug) { + option (google.api.http) = { + patch: "/v1/subsystems" + body: "subsystem" + }; + } + rpc ListNullDebug (ListNullDebugRequest) returns (ListNullDebugResponse) { + option (google.api.http) = { + get: "/v1/subsystems" + }; + } + rpc GetNullDebug (GetNullDebugRequest) returns (NullDebug) { + option (google.api.http) = { + get: "/v1/subsystems/{subsystem}" + }; + } rpc NullDebugStats (NullDebugStatsRequest) returns (NullDebugStatsResponse) {} } @@ -31,28 +54,30 @@ message NullDebug { common.v1.Uuid uuid = 4; } -message NullDebugCreateRequest { +message CreateNullDebugRequest { NullDebug device = 1; } -message NullDebugDeleteRequest { +message DeleteNullDebugRequest { common.v1.ObjectKey handle = 1; } -message NullDebugUpdateRequest { +message UpdateNullDebugRequest { NullDebug device = 1; } -message NullDebugListRequest { - // Intentionally empty. +message ListNullDebugRequest { + int32 page_size = 1; + string page_token = 2; } -message NullDebugListResponse { - repeated NullDebug device = 1; +message ListNullDebugResponse { + repeated NullDebug devices = 1; + string next_page_token = 2; } -message NullDebugGetRequest { +message GetNullDebugRequest { common.v1.ObjectKey handle = 1; } diff --git a/storage/v1alpha1/backend_nvme_tcp.proto b/storage/v1alpha1/backend_nvme_tcp.proto index 5ee28e3e..9df8fbe1 100755 --- a/storage/v1alpha1/backend_nvme_tcp.proto +++ b/storage/v1alpha1/backend_nvme_tcp.proto @@ -10,18 +10,47 @@ option java_outer_classname = "BackendNvmeTcpProto"; option go_package = "github.com/opiproject/opi-api/storage/v1alpha1/gen/go"; +import "google/protobuf/empty.proto"; +import "google/api/annotations.proto"; +import "object_key.proto"; + // Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered by this service. service NVMfRemoteControllerService { - rpc NVMfRemoteControllerConnect (NVMfRemoteControllerConnectRequest) returns (NVMfRemoteControllerConnectResponse) {} - rpc NVMfRemoteControllerDisconnect (NVMfRemoteControllerDisconnectRequest) returns (NVMfRemoteControllerDisconnectResponse) {} - rpc NVMfRemoteControllerReset (NVMfRemoteControllerResetRequest) returns (NVMfRemoteControllerResetResponse) {} - rpc NVMfRemoteControllerList (NVMfRemoteControllerListRequest) returns (NVMfRemoteControllerListResponse) {} - rpc NVMfRemoteControllerGet (NVMfRemoteControllerGetRequest) returns (NVMfRemoteControllerGetResponse) {} + rpc CreateNVMfRemoteController (CreateNVMfRemoteControllerRequest) returns (NVMfRemoteController) { + option (google.api.http) = { + post: "/v1/subsystems" + body: "subsystem" + }; + } + rpc DeleteNVMfRemoteController (DeleteNVMfRemoteControllerRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/subsystems/{subsystem}" + }; + } + rpc UpdateNVMfRemoteController (UpdateNVMfRemoteControllerRequest) returns (NVMfRemoteController) { + option (google.api.http) = { + patch: "/v1/subsystems" + body: "subsystem" + }; + } + rpc ListNVMfRemoteController (ListNVMfRemoteControllerRequest) returns (ListNVMfRemoteControllerResponse) { + option (google.api.http) = { + get: "/v1/subsystems" + }; + } + rpc GetNVMfRemoteController (GetNVMfRemoteControllerRequest) returns (NVMfRemoteController) { + option (google.api.http) = { + get: "/v1/subsystems/{subsystem}" + }; + } + rpc NVMfRemoteControllerReset (NVMfRemoteControllerResetRequest) returns (google.protobuf.Empty) {} rpc NVMfRemoteControllerStats (NVMfRemoteControllerStatsRequest) returns (NVMfRemoteControllerStatsResponse) {} } message NVMfRemoteController { - int64 id = 1; + // object's unique identifier + common.v1.ObjectKey id = 1; + NvmeTransportType trtype = 2; NvmeAddressFamily adrfam = 3; string traddr = 4; @@ -35,53 +64,46 @@ message NVMfRemoteController { string hostnqn = 12; } -message NVMfRemoteControllerConnectRequest { +message CreateNVMfRemoteControllerRequest { NVMfRemoteController ctrl = 1; } -message NVMfRemoteControllerConnectResponse { - // Intentionally empty. -} - -message NVMfRemoteControllerDisconnectRequest { - int64 id = 1; -} - -message NVMfRemoteControllerDisconnectResponse { - // Intentionally empty. +message DeleteNVMfRemoteControllerRequest { + // object's unique identifier + common.v1.ObjectKey id = 1; } -message NVMfRemoteControllerResetRequest { - int64 id = 1; -} - -message NVMfRemoteControllerResetResponse { - // Intentionally empty. +message UpdateNVMfRemoteControllerRequest { + NVMfRemoteController ctrl = 1; } -message NVMfRemoteControllerListRequest { - int64 id = 1; +message ListNVMfRemoteControllerRequest { + int32 page_size = 1; + string page_token = 2; } -message NVMfRemoteControllerListResponse { - repeated NVMfRemoteController ctrl = 1; +message ListNVMfRemoteControllerResponse { + repeated NVMfRemoteController ctrls = 1; + string next_page_token = 2; } -message NVMfRemoteControllerGetRequest { - int64 id = 1; +message GetNVMfRemoteControllerRequest { + // object's unique identifier + common.v1.ObjectKey id = 1; } -message NVMfRemoteControllerGetResponse { - NVMfRemoteController ctrl = 1; +message NVMfRemoteControllerResetRequest { + // object's unique identifier + common.v1.ObjectKey id = 1; } message NVMfRemoteControllerStatsRequest { - int64 id = 1; + // object's unique identifier + common.v1.ObjectKey id = 1; } message NVMfRemoteControllerStatsResponse { - int64 id = 1; - string stats = 2; + string stats = 1; } enum NvmeTransportType { diff --git a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc index af1fa783..7ffe6972 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.cc @@ -24,12 +24,12 @@ namespace storage { namespace v1 { static const char* AioControllerService_method_names[] = { - "/opi_api.storage.v1.AioControllerService/AioControllerCreate", - "/opi_api.storage.v1.AioControllerService/AioControllerDelete", - "/opi_api.storage.v1.AioControllerService/AioControllerGet", - "/opi_api.storage.v1.AioControllerService/AioControllerGetList", - "/opi_api.storage.v1.AioControllerService/AioControllerGetStats", - "/opi_api.storage.v1.AioControllerService/AioControllerUpdate", + "/opi_api.storage.v1.AioControllerService/CreateAioController", + "/opi_api.storage.v1.AioControllerService/DeleteAioController", + "/opi_api.storage.v1.AioControllerService/UpdateAioController", + "/opi_api.storage.v1.AioControllerService/ListAioController", + "/opi_api.storage.v1.AioControllerService/GetAioController", + "/opi_api.storage.v1.AioControllerService/AioControllerStats", }; std::unique_ptr< AioControllerService::Stub> AioControllerService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -39,148 +39,148 @@ std::unique_ptr< AioControllerService::Stub> AioControllerService::NewStub(const } AioControllerService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) - : channel_(channel), rpcmethod_AioControllerCreate_(AioControllerService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AioControllerDelete_(AioControllerService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AioControllerGet_(AioControllerService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AioControllerGetList_(AioControllerService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AioControllerGetStats_(AioControllerService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_AioControllerUpdate_(AioControllerService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + : channel_(channel), rpcmethod_CreateAioController_(AioControllerService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteAioController_(AioControllerService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateAioController_(AioControllerService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListAioController_(AioControllerService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetAioController_(AioControllerService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AioControllerStats_(AioControllerService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} -::grpc::Status AioControllerService::Stub::AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::opi_api::storage::v1::AioController* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerCreate_, context, request, response); +::grpc::Status AioControllerService::Stub::CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CreateAioController_, context, request, response); } -void AioControllerService::Stub::async::AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerCreate_, context, request, response, std::move(f)); +void AioControllerService::Stub::async::CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateAioController_, context, request, response, std::move(f)); } -void AioControllerService::Stub::async::AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerCreate_, context, request, response, reactor); +void AioControllerService::Stub::async::CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateAioController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::PrepareAsyncAioControllerCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioController, ::opi_api::storage::v1::AioControllerCreateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerCreate_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::PrepareAsyncCreateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioController, ::opi_api::storage::v1::CreateAioControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CreateAioController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::AsyncAioControllerCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::AsyncCreateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncAioControllerCreateRaw(context, request, cq); + this->PrepareAsyncCreateAioControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status AioControllerService::Stub::AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::google::protobuf::Empty* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerDelete_, context, request, response); +::grpc::Status AioControllerService::Stub::DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteAioController_, context, request, response); } -void AioControllerService::Stub::async::AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerDelete_, context, request, response, std::move(f)); +void AioControllerService::Stub::async::DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteAioController_, context, request, response, std::move(f)); } -void AioControllerService::Stub::async::AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerDelete_, context, request, response, reactor); +void AioControllerService::Stub::async::DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteAioController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AioControllerService::Stub::PrepareAsyncAioControllerDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::AioControllerDeleteRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerDelete_, context, request); +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AioControllerService::Stub::PrepareAsyncDeleteAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::DeleteAioControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteAioController_, context, request); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AioControllerService::Stub::AsyncAioControllerDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AioControllerService::Stub::AsyncDeleteAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncAioControllerDeleteRaw(context, request, cq); + this->PrepareAsyncDeleteAioControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status AioControllerService::Stub::AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::opi_api::storage::v1::AioController* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerGet_, context, request, response); +::grpc::Status AioControllerService::Stub::UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateAioController_, context, request, response); } -void AioControllerService::Stub::async::AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerGet_, context, request, response, std::move(f)); +void AioControllerService::Stub::async::UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateAioController_, context, request, response, std::move(f)); } -void AioControllerService::Stub::async::AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerGet_, context, request, response, reactor); +void AioControllerService::Stub::async::UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateAioController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::PrepareAsyncAioControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioController, ::opi_api::storage::v1::AioControllerGetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerGet_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::PrepareAsyncUpdateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioController, ::opi_api::storage::v1::UpdateAioControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateAioController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::AsyncAioControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::AsyncUpdateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncAioControllerGetRaw(context, request, cq); + this->PrepareAsyncUpdateAioControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status AioControllerService::Stub::AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::opi_api::storage::v1::AioControllerList* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerGetList_, context, request, response); +::grpc::Status AioControllerService::Stub::ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::opi_api::storage::v1::ListAioControllerResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ListAioController_, context, request, response); } -void AioControllerService::Stub::async::AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerGetList_, context, request, response, std::move(f)); +void AioControllerService::Stub::async::ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListAioController_, context, request, response, std::move(f)); } -void AioControllerService::Stub::async::AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerGetList_, context, request, response, reactor); +void AioControllerService::Stub::async::ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListAioController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>* AioControllerService::Stub::PrepareAsyncAioControllerGetListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioControllerList, ::opi_api::storage::v1::AioControllerGetListRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerGetList_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>* AioControllerService::Stub::PrepareAsyncListAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::ListAioControllerResponse, ::opi_api::storage::v1::ListAioControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ListAioController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>* AioControllerService::Stub::AsyncAioControllerGetListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>* AioControllerService::Stub::AsyncListAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncAioControllerGetListRaw(context, request, cq); + this->PrepareAsyncListAioControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status AioControllerService::Stub::AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::opi_api::storage::v1::AioControllerStats* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerGetStats_, context, request, response); +::grpc::Status AioControllerService::Stub::GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetAioController_, context, request, response); } -void AioControllerService::Stub::async::AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerGetStats_, context, request, response, std::move(f)); +void AioControllerService::Stub::async::GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetAioController_, context, request, response, std::move(f)); } -void AioControllerService::Stub::async::AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerGetStats_, context, request, response, reactor); +void AioControllerService::Stub::async::GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetAioController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>* AioControllerService::Stub::PrepareAsyncAioControllerGetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioControllerStats, ::opi_api::storage::v1::AioControllerGetStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerGetStats_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::PrepareAsyncGetAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioController, ::opi_api::storage::v1::GetAioControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetAioController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>* AioControllerService::Stub::AsyncAioControllerGetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::AsyncGetAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncAioControllerGetStatsRaw(context, request, cq); + this->PrepareAsyncGetAioControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status AioControllerService::Stub::AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::opi_api::storage::v1::AioController* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerUpdate_, context, request, response); +::grpc::Status AioControllerService::Stub::AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::opi_api::storage::v1::AioControllerStatsResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_AioControllerStats_, context, request, response); } -void AioControllerService::Stub::async::AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerUpdate_, context, request, response, std::move(f)); +void AioControllerService::Stub::async::AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerStats_, context, request, response, std::move(f)); } -void AioControllerService::Stub::async::AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerUpdate_, context, request, response, reactor); +void AioControllerService::Stub::async::AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_AioControllerStats_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::PrepareAsyncAioControllerUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioController, ::opi_api::storage::v1::AioControllerUpdateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerUpdate_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>* AioControllerService::Stub::PrepareAsyncAioControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::AioControllerStatsResponse, ::opi_api::storage::v1::AioControllerStatsRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_AioControllerStats_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AioControllerService::Stub::AsyncAioControllerUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>* AioControllerService::Stub::AsyncAioControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncAioControllerUpdateRaw(context, request, cq); + this->PrepareAsyncAioControllerStatsRaw(context, request, cq); result->StartCall(); return result; } @@ -189,104 +189,104 @@ AioControllerService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( AioControllerService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AioControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::AioControllerCreateRequest* req, + const ::opi_api::storage::v1::CreateAioControllerRequest* req, ::opi_api::storage::v1::AioController* resp) { - return service->AioControllerCreate(ctx, req, resp); + return service->CreateAioController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( AioControllerService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AioControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::AioControllerDeleteRequest* req, + const ::opi_api::storage::v1::DeleteAioControllerRequest* req, ::google::protobuf::Empty* resp) { - return service->AioControllerDelete(ctx, req, resp); + return service->DeleteAioController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( AioControllerService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AioControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::AioControllerGetRequest* req, + const ::opi_api::storage::v1::UpdateAioControllerRequest* req, ::opi_api::storage::v1::AioController* resp) { - return service->AioControllerGet(ctx, req, resp); + return service->UpdateAioController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( AioControllerService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AioControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::AioControllerGetListRequest* req, - ::opi_api::storage::v1::AioControllerList* resp) { - return service->AioControllerGetList(ctx, req, resp); + const ::opi_api::storage::v1::ListAioControllerRequest* req, + ::opi_api::storage::v1::ListAioControllerResponse* resp) { + return service->ListAioController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( AioControllerService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AioControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::AioControllerGetStatsRequest* req, - ::opi_api::storage::v1::AioControllerStats* resp) { - return service->AioControllerGetStats(ctx, req, resp); + const ::opi_api::storage::v1::GetAioControllerRequest* req, + ::opi_api::storage::v1::AioController* resp) { + return service->GetAioController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( AioControllerService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< AioControllerService::Service, ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](AioControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::AioControllerUpdateRequest* req, - ::opi_api::storage::v1::AioController* resp) { - return service->AioControllerUpdate(ctx, req, resp); + const ::opi_api::storage::v1::AioControllerStatsRequest* req, + ::opi_api::storage::v1::AioControllerStatsResponse* resp) { + return service->AioControllerStats(ctx, req, resp); }, this))); } AioControllerService::Service::~Service() { } -::grpc::Status AioControllerService::Service::AioControllerCreate(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response) { +::grpc::Status AioControllerService::Service::CreateAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status AioControllerService::Service::AioControllerDelete(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response) { +::grpc::Status AioControllerService::Service::DeleteAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status AioControllerService::Service::AioControllerGet(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response) { +::grpc::Status AioControllerService::Service::UpdateAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status AioControllerService::Service::AioControllerGetList(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response) { +::grpc::Status AioControllerService::Service::ListAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status AioControllerService::Service::AioControllerGetStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response) { +::grpc::Status AioControllerService::Service::GetAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status AioControllerService::Service::AioControllerUpdate(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response) { +::grpc::Status AioControllerService::Service::AioControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h index 42201722..21b74162 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_aio.grpc.pb.h @@ -42,141 +42,141 @@ class AioControllerService final { class StubInterface { public: virtual ~StubInterface() {} - virtual ::grpc::Status AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::opi_api::storage::v1::AioController* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> AsyncAioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(AsyncAioControllerCreateRaw(context, request, cq)); + virtual ::grpc::Status CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> AsyncCreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(AsyncCreateAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> PrepareAsyncAioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(PrepareAsyncAioControllerCreateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> PrepareAsyncCreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(PrepareAsyncCreateAioControllerRaw(context, request, cq)); } - virtual ::grpc::Status AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::google::protobuf::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncAioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncAioControllerDeleteRaw(context, request, cq)); + virtual ::grpc::Status DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncDeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncDeleteAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncAioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncAioControllerDeleteRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncDeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncDeleteAioControllerRaw(context, request, cq)); } - virtual ::grpc::Status AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::opi_api::storage::v1::AioController* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> AsyncAioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(AsyncAioControllerGetRaw(context, request, cq)); + virtual ::grpc::Status UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> AsyncUpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(AsyncUpdateAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> PrepareAsyncAioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(PrepareAsyncAioControllerGetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> PrepareAsyncUpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(PrepareAsyncUpdateAioControllerRaw(context, request, cq)); } - virtual ::grpc::Status AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::opi_api::storage::v1::AioControllerList* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerList>> AsyncAioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerList>>(AsyncAioControllerGetListRaw(context, request, cq)); + virtual ::grpc::Status ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::opi_api::storage::v1::ListAioControllerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioControllerResponse>> AsyncListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioControllerResponse>>(AsyncListAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerList>> PrepareAsyncAioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerList>>(PrepareAsyncAioControllerGetListRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioControllerResponse>> PrepareAsyncListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioControllerResponse>>(PrepareAsyncListAioControllerRaw(context, request, cq)); } - virtual ::grpc::Status AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::opi_api::storage::v1::AioControllerStats* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStats>> AsyncAioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStats>>(AsyncAioControllerGetStatsRaw(context, request, cq)); + virtual ::grpc::Status GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> AsyncGetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(AsyncGetAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStats>> PrepareAsyncAioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStats>>(PrepareAsyncAioControllerGetStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> PrepareAsyncGetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(PrepareAsyncGetAioControllerRaw(context, request, cq)); } - virtual ::grpc::Status AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::opi_api::storage::v1::AioController* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> AsyncAioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(AsyncAioControllerUpdateRaw(context, request, cq)); + virtual ::grpc::Status AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::opi_api::storage::v1::AioControllerStatsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStatsResponse>> AsyncAioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStatsResponse>>(AsyncAioControllerStatsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>> PrepareAsyncAioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>>(PrepareAsyncAioControllerUpdateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStatsResponse>> PrepareAsyncAioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStatsResponse>>(PrepareAsyncAioControllerStatsRaw(context, request, cq)); } class async_interface { public: virtual ~async_interface() {} - virtual void AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response, std::function) = 0; - virtual void AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response, std::function) = 0; - virtual void AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response, std::function) = 0; - virtual void AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response, std::function) = 0; - virtual void AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response, std::function) = 0; - virtual void AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response, std::function) = 0; - virtual void AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function) = 0; + virtual void CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function) = 0; + virtual void UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response, std::function) = 0; + virtual void ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function) = 0; + virtual void GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response, std::function) = 0; + virtual void AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* 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::AioController>* AsyncAioControllerCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* PrepareAsyncAioControllerCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncAioControllerDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncAioControllerDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* AsyncAioControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* PrepareAsyncAioControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerList>* AsyncAioControllerGetListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerList>* PrepareAsyncAioControllerGetListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStats>* AsyncAioControllerGetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStats>* PrepareAsyncAioControllerGetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* AsyncAioControllerUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* PrepareAsyncAioControllerUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* AsyncCreateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* PrepareAsyncCreateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncDeleteAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* AsyncUpdateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* PrepareAsyncUpdateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioControllerResponse>* AsyncListAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListAioControllerResponse>* PrepareAsyncListAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* AsyncGetAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioController>* PrepareAsyncGetAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStatsResponse>* AsyncAioControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::AioControllerStatsResponse>* PrepareAsyncAioControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& 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 AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::opi_api::storage::v1::AioController* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> AsyncAioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(AsyncAioControllerCreateRaw(context, request, cq)); + ::grpc::Status CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> AsyncCreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(AsyncCreateAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> PrepareAsyncAioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(PrepareAsyncAioControllerCreateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> PrepareAsyncCreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(PrepareAsyncCreateAioControllerRaw(context, request, cq)); } - ::grpc::Status AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::google::protobuf::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncAioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncAioControllerDeleteRaw(context, request, cq)); + ::grpc::Status DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncDeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncDeleteAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncAioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncAioControllerDeleteRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncDeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncDeleteAioControllerRaw(context, request, cq)); } - ::grpc::Status AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::opi_api::storage::v1::AioController* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> AsyncAioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(AsyncAioControllerGetRaw(context, request, cq)); + ::grpc::Status UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> AsyncUpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(AsyncUpdateAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> PrepareAsyncAioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(PrepareAsyncAioControllerGetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> PrepareAsyncUpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(PrepareAsyncUpdateAioControllerRaw(context, request, cq)); } - ::grpc::Status AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::opi_api::storage::v1::AioControllerList* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>> AsyncAioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>>(AsyncAioControllerGetListRaw(context, request, cq)); + ::grpc::Status ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::opi_api::storage::v1::ListAioControllerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>> AsyncListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>>(AsyncListAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>> PrepareAsyncAioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>>(PrepareAsyncAioControllerGetListRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>> PrepareAsyncListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>>(PrepareAsyncListAioControllerRaw(context, request, cq)); } - ::grpc::Status AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::opi_api::storage::v1::AioControllerStats* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>> AsyncAioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>>(AsyncAioControllerGetStatsRaw(context, request, cq)); + ::grpc::Status GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::opi_api::storage::v1::AioController* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> AsyncGetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(AsyncGetAioControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>> PrepareAsyncAioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>>(PrepareAsyncAioControllerGetStatsRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> PrepareAsyncGetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(PrepareAsyncGetAioControllerRaw(context, request, cq)); } - ::grpc::Status AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::opi_api::storage::v1::AioController* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> AsyncAioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(AsyncAioControllerUpdateRaw(context, request, cq)); + ::grpc::Status AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::opi_api::storage::v1::AioControllerStatsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>> AsyncAioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>>(AsyncAioControllerStatsRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>> PrepareAsyncAioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>>(PrepareAsyncAioControllerUpdateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>> PrepareAsyncAioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>>(PrepareAsyncAioControllerStatsRaw(context, request, cq)); } class async final : public StubInterface::async_interface { public: - void AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response, std::function) override; - void AioControllerCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) override; - void AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response, std::function) override; - void AioControllerDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; - void AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response, std::function) override; - void AioControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) override; - void AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response, std::function) override; - void AioControllerGetList(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response, ::grpc::ClientUnaryReactor* reactor) override; - void AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response, std::function) override; - void AioControllerGetStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response, ::grpc::ClientUnaryReactor* reactor) override; - void AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response, std::function) override; - void AioControllerUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) override; + void CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function) override; + void CreateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response, std::function) override; + void DeleteAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + void UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function) override; + void UpdateAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) override; + void ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response, std::function) override; + void ListAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, std::function) override; + void GetAioController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response, ::grpc::ClientUnaryReactor* reactor) override; + void AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response, std::function) override; + void AioControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit async(Stub* stub): stub_(stub) { } @@ -188,24 +188,24 @@ class AioControllerService final { private: std::shared_ptr< ::grpc::ChannelInterface> channel_; class async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AsyncAioControllerCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* PrepareAsyncAioControllerCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncAioControllerDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncAioControllerDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AsyncAioControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* PrepareAsyncAioControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>* AsyncAioControllerGetListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerList>* PrepareAsyncAioControllerGetListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>* AsyncAioControllerGetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStats>* PrepareAsyncAioControllerGetStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AsyncAioControllerUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* PrepareAsyncAioControllerUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_AioControllerCreate_; - const ::grpc::internal::RpcMethod rpcmethod_AioControllerDelete_; - const ::grpc::internal::RpcMethod rpcmethod_AioControllerGet_; - const ::grpc::internal::RpcMethod rpcmethod_AioControllerGetList_; - const ::grpc::internal::RpcMethod rpcmethod_AioControllerGetStats_; - const ::grpc::internal::RpcMethod rpcmethod_AioControllerUpdate_; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AsyncCreateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* PrepareAsyncCreateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncDeleteAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AsyncUpdateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* PrepareAsyncUpdateAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>* AsyncListAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListAioControllerResponse>* PrepareAsyncListAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* AsyncGetAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioController>* PrepareAsyncGetAioControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetAioControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>* AsyncAioControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::AioControllerStatsResponse>* PrepareAsyncAioControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_CreateAioController_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteAioController_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateAioController_; + const ::grpc::internal::RpcMethod rpcmethod_ListAioController_; + const ::grpc::internal::RpcMethod rpcmethod_GetAioController_; + const ::grpc::internal::RpcMethod rpcmethod_AioControllerStats_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -213,817 +213,817 @@ class AioControllerService final { public: Service(); virtual ~Service(); - virtual ::grpc::Status AioControllerCreate(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response); - virtual ::grpc::Status AioControllerDelete(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response); - virtual ::grpc::Status AioControllerGet(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response); - virtual ::grpc::Status AioControllerGetList(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response); - virtual ::grpc::Status AioControllerGetStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response); - virtual ::grpc::Status AioControllerUpdate(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response); + virtual ::grpc::Status CreateAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response); + virtual ::grpc::Status DeleteAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response); + virtual ::grpc::Status UpdateAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response); + virtual ::grpc::Status ListAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response); + virtual ::grpc::Status GetAioController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response); + virtual ::grpc::Status AioControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response); }; template - class WithAsyncMethod_AioControllerCreate : public BaseClass { + class WithAsyncMethod_CreateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_AioControllerCreate() { + WithAsyncMethod_CreateAioController() { ::grpc::Service::MarkMethodAsync(0); } - ~WithAsyncMethod_AioControllerCreate() override { + ~WithAsyncMethod_CreateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status CreateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerCreate(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioController>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestCreateAioController(::grpc::ServerContext* context, ::opi_api::storage::v1::CreateAioControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioController>* 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_AioControllerDelete : public BaseClass { + class WithAsyncMethod_DeleteAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_AioControllerDelete() { + WithAsyncMethod_DeleteAioController() { ::grpc::Service::MarkMethodAsync(1); } - ~WithAsyncMethod_AioControllerDelete() override { + ~WithAsyncMethod_DeleteAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerDelete(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeleteAioController(::grpc::ServerContext* context, ::opi_api::storage::v1::DeleteAioControllerRequest* 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_AioControllerGet : public BaseClass { + class WithAsyncMethod_UpdateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_AioControllerGet() { + WithAsyncMethod_UpdateAioController() { ::grpc::Service::MarkMethodAsync(2); } - ~WithAsyncMethod_AioControllerGet() override { + ~WithAsyncMethod_UpdateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status UpdateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerGet(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioController>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestUpdateAioController(::grpc::ServerContext* context, ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioController>* 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 WithAsyncMethod_AioControllerGetList : public BaseClass { + class WithAsyncMethod_ListAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_AioControllerGetList() { + WithAsyncMethod_ListAioController() { ::grpc::Service::MarkMethodAsync(3); } - ~WithAsyncMethod_AioControllerGetList() override { + ~WithAsyncMethod_ListAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) override { + ::grpc::Status ListAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerGetList(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerGetListRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioControllerList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestListAioController(::grpc::ServerContext* context, ::opi_api::storage::v1::ListAioControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::ListAioControllerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithAsyncMethod_AioControllerGetStats : public BaseClass { + class WithAsyncMethod_GetAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_AioControllerGetStats() { + WithAsyncMethod_GetAioController() { ::grpc::Service::MarkMethodAsync(4); } - ~WithAsyncMethod_AioControllerGetStats() override { + ~WithAsyncMethod_GetAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) override { + ::grpc::Status GetAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerGetStats(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioControllerStats>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetAioController(::grpc::ServerContext* context, ::opi_api::storage::v1::GetAioControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioController>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithAsyncMethod_AioControllerUpdate : public BaseClass { + class WithAsyncMethod_AioControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_AioControllerUpdate() { + WithAsyncMethod_AioControllerStats() { ::grpc::Service::MarkMethodAsync(5); } - ~WithAsyncMethod_AioControllerUpdate() override { + ~WithAsyncMethod_AioControllerStats() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status AioControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerUpdate(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioController>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestAioControllerStats(::grpc::ServerContext* context, ::opi_api::storage::v1::AioControllerStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::AioControllerStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_AioControllerCreate > > > > > AsyncService; + typedef WithAsyncMethod_CreateAioController > > > > > AsyncService; template - class WithCallbackMethod_AioControllerCreate : public BaseClass { + class WithCallbackMethod_CreateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_AioControllerCreate() { + WithCallbackMethod_CreateAioController() { ::grpc::Service::MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerCreateRequest* request, ::opi_api::storage::v1::AioController* response) { return this->AioControllerCreate(context, request, response); }));} - void SetMessageAllocatorFor_AioControllerCreate( - ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::CreateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response) { return this->CreateAioController(context, request, response); }));} + void SetMessageAllocatorFor_CreateAioController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_AioControllerCreate() override { + ~WithCallbackMethod_CreateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status CreateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerCreate( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* CreateAioController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_AioControllerDelete : public BaseClass { + class WithCallbackMethod_DeleteAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_AioControllerDelete() { + WithCallbackMethod_DeleteAioController() { ::grpc::Service::MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerDeleteRequest* request, ::google::protobuf::Empty* response) { return this->AioControllerDelete(context, request, response); }));} - void SetMessageAllocatorFor_AioControllerDelete( - ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::DeleteAioControllerRequest* request, ::google::protobuf::Empty* response) { return this->DeleteAioController(context, request, response); }));} + void SetMessageAllocatorFor_DeleteAioController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_AioControllerDelete() override { + ~WithCallbackMethod_DeleteAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerDelete( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* DeleteAioController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_AioControllerGet : public BaseClass { + class WithCallbackMethod_UpdateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_AioControllerGet() { + WithCallbackMethod_UpdateAioController() { ::grpc::Service::MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerGetRequest* request, ::opi_api::storage::v1::AioController* response) { return this->AioControllerGet(context, request, response); }));} - void SetMessageAllocatorFor_AioControllerGet( - ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::UpdateAioControllerRequest* request, ::opi_api::storage::v1::AioController* response) { return this->UpdateAioController(context, request, response); }));} + void SetMessageAllocatorFor_UpdateAioController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_AioControllerGet() override { + ~WithCallbackMethod_UpdateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status UpdateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerGet( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* UpdateAioController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_AioControllerGetList : public BaseClass { + class WithCallbackMethod_ListAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_AioControllerGetList() { + WithCallbackMethod_ListAioController() { ::grpc::Service::MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerGetListRequest* request, ::opi_api::storage::v1::AioControllerList* response) { return this->AioControllerGetList(context, request, response); }));} - void SetMessageAllocatorFor_AioControllerGetList( - ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::ListAioControllerRequest* request, ::opi_api::storage::v1::ListAioControllerResponse* response) { return this->ListAioController(context, request, response); }));} + void SetMessageAllocatorFor_ListAioController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_AioControllerGetList() override { + ~WithCallbackMethod_ListAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) override { + ::grpc::Status ListAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerGetList( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* ListAioController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_AioControllerGetStats : public BaseClass { + class WithCallbackMethod_GetAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_AioControllerGetStats() { + WithCallbackMethod_GetAioController() { ::grpc::Service::MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerGetStatsRequest* request, ::opi_api::storage::v1::AioControllerStats* response) { return this->AioControllerGetStats(context, request, response); }));} - void SetMessageAllocatorFor_AioControllerGetStats( - ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::GetAioControllerRequest* request, ::opi_api::storage::v1::AioController* response) { return this->GetAioController(context, request, response); }));} + void SetMessageAllocatorFor_GetAioController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_AioControllerGetStats() override { + ~WithCallbackMethod_GetAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) override { + ::grpc::Status GetAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerGetStats( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* GetAioController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_AioControllerUpdate : public BaseClass { + class WithCallbackMethod_AioControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_AioControllerUpdate() { + WithCallbackMethod_AioControllerStats() { ::grpc::Service::MarkMethodCallback(5, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerUpdateRequest* request, ::opi_api::storage::v1::AioController* response) { return this->AioControllerUpdate(context, request, response); }));} - void SetMessageAllocatorFor_AioControllerUpdate( - ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::AioControllerStatsRequest* request, ::opi_api::storage::v1::AioControllerStatsResponse* response) { return this->AioControllerStats(context, request, response); }));} + void SetMessageAllocatorFor_AioControllerStats( + ::grpc::MessageAllocator< ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_AioControllerUpdate() override { + ~WithCallbackMethod_AioControllerStats() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status AioControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerUpdate( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* AioControllerStats( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_AioControllerCreate > > > > > CallbackService; + typedef WithCallbackMethod_CreateAioController > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template - class WithGenericMethod_AioControllerCreate : public BaseClass { + class WithGenericMethod_CreateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AioControllerCreate() { + WithGenericMethod_CreateAioController() { ::grpc::Service::MarkMethodGeneric(0); } - ~WithGenericMethod_AioControllerCreate() override { + ~WithGenericMethod_CreateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status CreateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_AioControllerDelete : public BaseClass { + class WithGenericMethod_DeleteAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AioControllerDelete() { + WithGenericMethod_DeleteAioController() { ::grpc::Service::MarkMethodGeneric(1); } - ~WithGenericMethod_AioControllerDelete() override { + ~WithGenericMethod_DeleteAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_AioControllerGet : public BaseClass { + class WithGenericMethod_UpdateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AioControllerGet() { + WithGenericMethod_UpdateAioController() { ::grpc::Service::MarkMethodGeneric(2); } - ~WithGenericMethod_AioControllerGet() override { + ~WithGenericMethod_UpdateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status UpdateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_AioControllerGetList : public BaseClass { + class WithGenericMethod_ListAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AioControllerGetList() { + WithGenericMethod_ListAioController() { ::grpc::Service::MarkMethodGeneric(3); } - ~WithGenericMethod_AioControllerGetList() override { + ~WithGenericMethod_ListAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) override { + ::grpc::Status ListAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_AioControllerGetStats : public BaseClass { + class WithGenericMethod_GetAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AioControllerGetStats() { + WithGenericMethod_GetAioController() { ::grpc::Service::MarkMethodGeneric(4); } - ~WithGenericMethod_AioControllerGetStats() override { + ~WithGenericMethod_GetAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) override { + ::grpc::Status GetAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_AioControllerUpdate : public BaseClass { + class WithGenericMethod_AioControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_AioControllerUpdate() { + WithGenericMethod_AioControllerStats() { ::grpc::Service::MarkMethodGeneric(5); } - ~WithGenericMethod_AioControllerUpdate() override { + ~WithGenericMethod_AioControllerStats() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status AioControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithRawMethod_AioControllerCreate : public BaseClass { + class WithRawMethod_CreateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_AioControllerCreate() { + WithRawMethod_CreateAioController() { ::grpc::Service::MarkMethodRaw(0); } - ~WithRawMethod_AioControllerCreate() override { + ~WithRawMethod_CreateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status CreateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerCreate(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestCreateAioController(::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_AioControllerDelete : public BaseClass { + class WithRawMethod_DeleteAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_AioControllerDelete() { + WithRawMethod_DeleteAioController() { ::grpc::Service::MarkMethodRaw(1); } - ~WithRawMethod_AioControllerDelete() override { + ~WithRawMethod_DeleteAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerDelete(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeleteAioController(::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_AioControllerGet : public BaseClass { + class WithRawMethod_UpdateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_AioControllerGet() { + WithRawMethod_UpdateAioController() { ::grpc::Service::MarkMethodRaw(2); } - ~WithRawMethod_AioControllerGet() override { + ~WithRawMethod_UpdateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status UpdateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerGet(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestUpdateAioController(::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 WithRawMethod_AioControllerGetList : public BaseClass { + class WithRawMethod_ListAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_AioControllerGetList() { + WithRawMethod_ListAioController() { ::grpc::Service::MarkMethodRaw(3); } - ~WithRawMethod_AioControllerGetList() override { + ~WithRawMethod_ListAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) override { + ::grpc::Status ListAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerGetList(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestListAioController(::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(3, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawMethod_AioControllerGetStats : public BaseClass { + class WithRawMethod_GetAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_AioControllerGetStats() { + WithRawMethod_GetAioController() { ::grpc::Service::MarkMethodRaw(4); } - ~WithRawMethod_AioControllerGetStats() override { + ~WithRawMethod_GetAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) override { + ::grpc::Status GetAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerGetStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetAioController(::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(4, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawMethod_AioControllerUpdate : public BaseClass { + class WithRawMethod_AioControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_AioControllerUpdate() { + WithRawMethod_AioControllerStats() { ::grpc::Service::MarkMethodRaw(5); } - ~WithRawMethod_AioControllerUpdate() override { + ~WithRawMethod_AioControllerStats() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status AioControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestAioControllerUpdate(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestAioControllerStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawCallbackMethod_AioControllerCreate : public BaseClass { + class WithRawCallbackMethod_CreateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_AioControllerCreate() { + WithRawCallbackMethod_CreateAioController() { ::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->AioControllerCreate(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateAioController(context, request, response); })); } - ~WithRawCallbackMethod_AioControllerCreate() override { + ~WithRawCallbackMethod_CreateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status CreateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerCreate( + virtual ::grpc::ServerUnaryReactor* CreateAioController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_AioControllerDelete : public BaseClass { + class WithRawCallbackMethod_DeleteAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_AioControllerDelete() { + WithRawCallbackMethod_DeleteAioController() { ::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->AioControllerDelete(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteAioController(context, request, response); })); } - ~WithRawCallbackMethod_AioControllerDelete() override { + ~WithRawCallbackMethod_DeleteAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerDelete( + virtual ::grpc::ServerUnaryReactor* DeleteAioController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_AioControllerGet : public BaseClass { + class WithRawCallbackMethod_UpdateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_AioControllerGet() { + WithRawCallbackMethod_UpdateAioController() { ::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->AioControllerGet(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateAioController(context, request, response); })); } - ~WithRawCallbackMethod_AioControllerGet() override { + ~WithRawCallbackMethod_UpdateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status UpdateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerGet( + virtual ::grpc::ServerUnaryReactor* UpdateAioController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_AioControllerGetList : public BaseClass { + class WithRawCallbackMethod_ListAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_AioControllerGetList() { + WithRawCallbackMethod_ListAioController() { ::grpc::Service::MarkMethodRawCallback(3, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AioControllerGetList(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListAioController(context, request, response); })); } - ~WithRawCallbackMethod_AioControllerGetList() override { + ~WithRawCallbackMethod_ListAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) override { + ::grpc::Status ListAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerGetList( + virtual ::grpc::ServerUnaryReactor* ListAioController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_AioControllerGetStats : public BaseClass { + class WithRawCallbackMethod_GetAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_AioControllerGetStats() { + WithRawCallbackMethod_GetAioController() { ::grpc::Service::MarkMethodRawCallback(4, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AioControllerGetStats(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetAioController(context, request, response); })); } - ~WithRawCallbackMethod_AioControllerGetStats() override { + ~WithRawCallbackMethod_GetAioController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerGetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) override { + ::grpc::Status GetAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerGetStats( + virtual ::grpc::ServerUnaryReactor* GetAioController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_AioControllerUpdate : public BaseClass { + class WithRawCallbackMethod_AioControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_AioControllerUpdate() { + WithRawCallbackMethod_AioControllerStats() { ::grpc::Service::MarkMethodRawCallback(5, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AioControllerUpdate(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->AioControllerStats(context, request, response); })); } - ~WithRawCallbackMethod_AioControllerUpdate() override { + ~WithRawCallbackMethod_AioControllerStats() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status AioControllerUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status AioControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* AioControllerUpdate( + virtual ::grpc::ServerUnaryReactor* AioControllerStats( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithStreamedUnaryMethod_AioControllerCreate : public BaseClass { + class WithStreamedUnaryMethod_CreateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_AioControllerCreate() { + WithStreamedUnaryMethod_CreateAioController() { ::grpc::Service::MarkMethodStreamed(0, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController>( + ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::AioControllerCreateRequest, ::opi_api::storage::v1::AioController>* streamer) { - return this->StreamedAioControllerCreate(context, + ::opi_api::storage::v1::CreateAioControllerRequest, ::opi_api::storage::v1::AioController>* streamer) { + return this->StreamedCreateAioController(context, streamer); })); } - ~WithStreamedUnaryMethod_AioControllerCreate() override { + ~WithStreamedUnaryMethod_CreateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status AioControllerCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerCreateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status CreateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAioControllerCreate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerCreateRequest,::opi_api::storage::v1::AioController>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedCreateAioController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::CreateAioControllerRequest,::opi_api::storage::v1::AioController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_AioControllerDelete : public BaseClass { + class WithStreamedUnaryMethod_DeleteAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_AioControllerDelete() { + WithStreamedUnaryMethod_DeleteAioController() { ::grpc::Service::MarkMethodStreamed(1, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty>( + ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::AioControllerDeleteRequest, ::google::protobuf::Empty>* streamer) { - return this->StreamedAioControllerDelete(context, + ::opi_api::storage::v1::DeleteAioControllerRequest, ::google::protobuf::Empty>* streamer) { + return this->StreamedDeleteAioController(context, streamer); })); } - ~WithStreamedUnaryMethod_AioControllerDelete() override { + ~WithStreamedUnaryMethod_DeleteAioController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status AioControllerDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteAioControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAioControllerDelete(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerDeleteRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedDeleteAioController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::DeleteAioControllerRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_AioControllerGet : public BaseClass { + class WithStreamedUnaryMethod_UpdateAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_AioControllerGet() { + WithStreamedUnaryMethod_UpdateAioController() { ::grpc::Service::MarkMethodStreamed(2, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController>( + ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::AioControllerGetRequest, ::opi_api::storage::v1::AioController>* streamer) { - return this->StreamedAioControllerGet(context, + ::opi_api::storage::v1::UpdateAioControllerRequest, ::opi_api::storage::v1::AioController>* streamer) { + return this->StreamedUpdateAioController(context, streamer); })); } - ~WithStreamedUnaryMethod_AioControllerGet() override { + ~WithStreamedUnaryMethod_UpdateAioController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status AioControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status UpdateAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAioControllerGet(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerGetRequest,::opi_api::storage::v1::AioController>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedUpdateAioController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::UpdateAioControllerRequest,::opi_api::storage::v1::AioController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_AioControllerGetList : public BaseClass { + class WithStreamedUnaryMethod_ListAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_AioControllerGetList() { + WithStreamedUnaryMethod_ListAioController() { ::grpc::Service::MarkMethodStreamed(3, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList>( + ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::AioControllerGetListRequest, ::opi_api::storage::v1::AioControllerList>* streamer) { - return this->StreamedAioControllerGetList(context, + ::opi_api::storage::v1::ListAioControllerRequest, ::opi_api::storage::v1::ListAioControllerResponse>* streamer) { + return this->StreamedListAioController(context, streamer); })); } - ~WithStreamedUnaryMethod_AioControllerGetList() override { + ~WithStreamedUnaryMethod_ListAioController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status AioControllerGetList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetListRequest* /*request*/, ::opi_api::storage::v1::AioControllerList* /*response*/) override { + ::grpc::Status ListAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListAioControllerRequest* /*request*/, ::opi_api::storage::v1::ListAioControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAioControllerGetList(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerGetListRequest,::opi_api::storage::v1::AioControllerList>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedListAioController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::ListAioControllerRequest,::opi_api::storage::v1::ListAioControllerResponse>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_AioControllerGetStats : public BaseClass { + class WithStreamedUnaryMethod_GetAioController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_AioControllerGetStats() { + WithStreamedUnaryMethod_GetAioController() { ::grpc::Service::MarkMethodStreamed(4, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats>( + ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::AioControllerGetStatsRequest, ::opi_api::storage::v1::AioControllerStats>* streamer) { - return this->StreamedAioControllerGetStats(context, + ::opi_api::storage::v1::GetAioControllerRequest, ::opi_api::storage::v1::AioController>* streamer) { + return this->StreamedGetAioController(context, streamer); })); } - ~WithStreamedUnaryMethod_AioControllerGetStats() override { + ~WithStreamedUnaryMethod_GetAioController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status AioControllerGetStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerGetStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStats* /*response*/) override { + ::grpc::Status GetAioController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetAioControllerRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAioControllerGetStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerGetStatsRequest,::opi_api::storage::v1::AioControllerStats>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedGetAioController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetAioControllerRequest,::opi_api::storage::v1::AioController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_AioControllerUpdate : public BaseClass { + class WithStreamedUnaryMethod_AioControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_AioControllerUpdate() { + WithStreamedUnaryMethod_AioControllerStats() { ::grpc::Service::MarkMethodStreamed(5, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController>( + ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::AioControllerUpdateRequest, ::opi_api::storage::v1::AioController>* streamer) { - return this->StreamedAioControllerUpdate(context, + ::opi_api::storage::v1::AioControllerStatsRequest, ::opi_api::storage::v1::AioControllerStatsResponse>* streamer) { + return this->StreamedAioControllerStats(context, streamer); })); } - ~WithStreamedUnaryMethod_AioControllerUpdate() override { + ~WithStreamedUnaryMethod_AioControllerStats() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status AioControllerUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerUpdateRequest* /*request*/, ::opi_api::storage::v1::AioController* /*response*/) override { + ::grpc::Status AioControllerStats(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::AioControllerStatsRequest* /*request*/, ::opi_api::storage::v1::AioControllerStatsResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedAioControllerUpdate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerUpdateRequest,::opi_api::storage::v1::AioController>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedAioControllerStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::AioControllerStatsRequest,::opi_api::storage::v1::AioControllerStatsResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_AioControllerCreate > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateAioController > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_AioControllerCreate > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateAioController > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc index 539cae42..82d56c75 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.cc @@ -35,89 +35,80 @@ struct AioControllerDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerDefaultTypeInternal _AioController_default_instance_; -constexpr AioControllerCreateRequest::AioControllerCreateRequest( +constexpr CreateAioControllerRequest::CreateAioControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : device_(nullptr){} -struct AioControllerCreateRequestDefaultTypeInternal { - constexpr AioControllerCreateRequestDefaultTypeInternal() +struct CreateAioControllerRequestDefaultTypeInternal { + constexpr CreateAioControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerCreateRequestDefaultTypeInternal() {} + ~CreateAioControllerRequestDefaultTypeInternal() {} union { - AioControllerCreateRequest _instance; + CreateAioControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerCreateRequestDefaultTypeInternal _AioControllerCreateRequest_default_instance_; -constexpr AioControllerDeleteRequest::AioControllerDeleteRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateAioControllerRequestDefaultTypeInternal _CreateAioControllerRequest_default_instance_; +constexpr DeleteAioControllerRequest::DeleteAioControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : handle_(nullptr){} -struct AioControllerDeleteRequestDefaultTypeInternal { - constexpr AioControllerDeleteRequestDefaultTypeInternal() +struct DeleteAioControllerRequestDefaultTypeInternal { + constexpr DeleteAioControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerDeleteRequestDefaultTypeInternal() {} + ~DeleteAioControllerRequestDefaultTypeInternal() {} union { - AioControllerDeleteRequest _instance; + DeleteAioControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerDeleteRequestDefaultTypeInternal _AioControllerDeleteRequest_default_instance_; -constexpr AioControllerUpdateRequest::AioControllerUpdateRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteAioControllerRequestDefaultTypeInternal _DeleteAioControllerRequest_default_instance_; +constexpr UpdateAioControllerRequest::UpdateAioControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : device_(nullptr){} -struct AioControllerUpdateRequestDefaultTypeInternal { - constexpr AioControllerUpdateRequestDefaultTypeInternal() +struct UpdateAioControllerRequestDefaultTypeInternal { + constexpr UpdateAioControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerUpdateRequestDefaultTypeInternal() {} + ~UpdateAioControllerRequestDefaultTypeInternal() {} union { - AioControllerUpdateRequest _instance; + UpdateAioControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerUpdateRequestDefaultTypeInternal _AioControllerUpdateRequest_default_instance_; -constexpr AioControllerList::AioControllerList( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UpdateAioControllerRequestDefaultTypeInternal _UpdateAioControllerRequest_default_instance_; +constexpr ListAioControllerRequest::ListAioControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : device_(){} -struct AioControllerListDefaultTypeInternal { - constexpr AioControllerListDefaultTypeInternal() + : page_token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , page_size_(0){} +struct ListAioControllerRequestDefaultTypeInternal { + constexpr ListAioControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerListDefaultTypeInternal() {} + ~ListAioControllerRequestDefaultTypeInternal() {} union { - AioControllerList _instance; + ListAioControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerListDefaultTypeInternal _AioControllerList_default_instance_; -constexpr AioControllerGetRequest::AioControllerGetRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListAioControllerRequestDefaultTypeInternal _ListAioControllerRequest_default_instance_; +constexpr ListAioControllerResponse::ListAioControllerResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : handle_(nullptr){} -struct AioControllerGetRequestDefaultTypeInternal { - constexpr AioControllerGetRequestDefaultTypeInternal() - : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerGetRequestDefaultTypeInternal() {} - union { - AioControllerGetRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerGetRequestDefaultTypeInternal _AioControllerGetRequest_default_instance_; -constexpr AioControllerGetListRequest::AioControllerGetListRequest( - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} -struct AioControllerGetListRequestDefaultTypeInternal { - constexpr AioControllerGetListRequestDefaultTypeInternal() + : devices_() + , next_page_token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct ListAioControllerResponseDefaultTypeInternal { + constexpr ListAioControllerResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerGetListRequestDefaultTypeInternal() {} + ~ListAioControllerResponseDefaultTypeInternal() {} union { - AioControllerGetListRequest _instance; + ListAioControllerResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerGetListRequestDefaultTypeInternal _AioControllerGetListRequest_default_instance_; -constexpr AioControllerGetStatsRequest::AioControllerGetStatsRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListAioControllerResponseDefaultTypeInternal _ListAioControllerResponse_default_instance_; +constexpr GetAioControllerRequest::GetAioControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : handle_(nullptr){} -struct AioControllerGetStatsRequestDefaultTypeInternal { - constexpr AioControllerGetStatsRequestDefaultTypeInternal() +struct GetAioControllerRequestDefaultTypeInternal { + constexpr GetAioControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerGetStatsRequestDefaultTypeInternal() {} + ~GetAioControllerRequestDefaultTypeInternal() {} union { - AioControllerGetStatsRequest _instance; + GetAioControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerGetStatsRequestDefaultTypeInternal _AioControllerGetStatsRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetAioControllerRequestDefaultTypeInternal _GetAioControllerRequest_default_instance_; constexpr AioControllerStatsRequest::AioControllerStatsRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : handle_(nullptr){} @@ -130,23 +121,23 @@ struct AioControllerStatsRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerStatsRequestDefaultTypeInternal _AioControllerStatsRequest_default_instance_; -constexpr AioControllerStats::AioControllerStats( +constexpr AioControllerStatsResponse::AioControllerStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , handle_(nullptr){} -struct AioControllerStatsDefaultTypeInternal { - constexpr AioControllerStatsDefaultTypeInternal() +struct AioControllerStatsResponseDefaultTypeInternal { + constexpr AioControllerStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~AioControllerStatsDefaultTypeInternal() {} + ~AioControllerStatsResponseDefaultTypeInternal() {} union { - AioControllerStats _instance; + AioControllerStatsResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerStatsDefaultTypeInternal _AioControllerStats_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AioControllerStatsResponseDefaultTypeInternal _AioControllerStatsResponse_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_backend_5faio_2eproto[10]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_backend_5faio_2eproto[9]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_backend_5faio_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_backend_5faio_2eproto = nullptr; @@ -163,53 +154,49 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioController, uuid_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioController, filename_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerCreateRequest, _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::AioControllerCreateRequest, device_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerDeleteRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateAioControllerRequest, _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::AioControllerDeleteRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateAioControllerRequest, device_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerUpdateRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteAioControllerRequest, _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::AioControllerUpdateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteAioControllerRequest, handle_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerList, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateAioControllerRequest, _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::AioControllerList, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateAioControllerRequest, device_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerGetRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListAioControllerRequest, _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::AioControllerGetRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListAioControllerRequest, page_size_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListAioControllerRequest, page_token_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerGetListRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListAioControllerResponse, _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::ListAioControllerResponse, devices_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListAioControllerResponse, next_page_token_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerGetStatsRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetAioControllerRequest, _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::AioControllerGetStatsRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetAioControllerRequest, handle_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStatsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -218,94 +205,98 @@ const uint32_t TableStruct_backend_5faio_2eproto::offsets[] PROTOBUF_SECTION_VAR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStatsRequest, handle_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStats, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStatsResponse, _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::AioControllerStats, handle_), - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStats, stats_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStatsResponse, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::AioControllerStatsResponse, stats_), }; 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)}, + { 11, -1, -1, sizeof(::opi_api::storage::v1::CreateAioControllerRequest)}, + { 18, -1, -1, sizeof(::opi_api::storage::v1::DeleteAioControllerRequest)}, + { 25, -1, -1, sizeof(::opi_api::storage::v1::UpdateAioControllerRequest)}, + { 32, -1, -1, sizeof(::opi_api::storage::v1::ListAioControllerRequest)}, + { 40, -1, -1, sizeof(::opi_api::storage::v1::ListAioControllerResponse)}, + { 48, -1, -1, sizeof(::opi_api::storage::v1::GetAioControllerRequest)}, + { 55, -1, -1, sizeof(::opi_api::storage::v1::AioControllerStatsRequest)}, + { 62, -1, -1, sizeof(::opi_api::storage::v1::AioControllerStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::opi_api::storage::v1::_AioController_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerCreateRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerDeleteRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerUpdateRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerList_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerGetRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerGetListRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerGetStatsRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_CreateAioControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_DeleteAioControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_UpdateAioControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ListAioControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ListAioControllerResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_GetAioControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_AioControllerStatsRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_AioControllerStats_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_AioControllerStatsResponse_default_instance_), }; const char descriptor_table_protodef_backend_5faio_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\021backend_aio.proto\022\022opi_api.storage.v1\032" - "\033google/protobuf/empty.proto\032\020object_key" - ".proto\032\nuuid.proto\"\240\001\n\rAioController\022,\n\006" - "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" - "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" + "\033google/protobuf/empty.proto\032\034google/api" + "/annotations.proto\032\020object_key.proto\032\nuu" + "id.proto\"\240\001\n\rAioController\022,\n\006handle\030\001 \001" + "(\0132\034.opi_api.common.v1.ObjectKey\022\022\n\nbloc" + "k_size\030\002 \001(\003\022\024\n\014blocks_count\030\003 \001(\003\022%\n\004uu" + "id\030\004 \001(\0132\027.opi_api.common.v1.Uuid\022\020\n\010fil" + "ename\030\005 \001(\t\"O\n\032CreateAioControllerReques" + "t\0221\n\006device\030\001 \001(\0132!.opi_api.storage.v1.A" + "ioController\"J\n\032DeleteAioControllerReque" + "st\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.O" + "bjectKey\"O\n\032UpdateAioControllerRequest\0221" + "\n\006device\030\001 \001(\0132!.opi_api.storage.v1.AioC" + "ontroller\"A\n\030ListAioControllerRequest\022\021\n" + "\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"h\n\031" + "ListAioControllerResponse\0222\n\007devices\030\001 \003" + "(\0132!.opi_api.storage.v1.AioController\022\027\n" + "\017next_page_token\030\002 \001(\t\"G\n\027GetAioControll" + "erRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.comm" + "on.v1.ObjectKey\"I\n\031AioControllerStatsReq" + "uest\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1" + ".ObjectKey\"Y\n\032AioControllerStatsResponse" + "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj" + "ectKey\022\r\n\005stats\030\002 \001(\t2\301\006\n\024AioControllerS" + "ervice\022\213\001\n\023CreateAioController\022..opi_api" + ".storage.v1.CreateAioControllerRequest\032!" + ".opi_api.storage.v1.AioController\"!\202\323\344\223\002" + "\033\"\016/v1/subsystems:\tsubsystem\022\201\001\n\023DeleteA" + "ioController\022..opi_api.storage.v1.Delete" + "AioControllerRequest\032\026.google.protobuf.E" + "mpty\"\"\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}" + "\022\213\001\n\023UpdateAioController\022..opi_api.stora" + "ge.v1.UpdateAioControllerRequest\032!.opi_a" + "pi.storage.v1.AioController\"!\202\323\344\223\002\0332\016/v1" + "/subsystems:\tsubsystem\022\210\001\n\021ListAioContro" + "ller\022,.opi_api.storage.v1.ListAioControl" + "lerRequest\032-.opi_api.storage.v1.ListAioC" + "ontrollerResponse\"\026\202\323\344\223\002\020\022\016/v1/subsystem" + "s\022\206\001\n\020GetAioController\022+.opi_api.storage" + ".v1.GetAioControllerRequest\032!.opi_api.st" + "orage.v1.AioController\"\"\202\323\344\223\002\034\022\032/v1/subs" + "ystems/{subsystem}\022u\n\022AioControllerStats" + "\022-.opi_api.storage.v1.AioControllerStats" + "Request\032..opi_api.storage.v1.AioControll" + "erStatsResponse\"\000B^\n\022opi_api.storage.v1B" + "\017BackendAioProtoP\001Z5github.com/opiprojec" + "t/opi-api/storage/v1alpha1/gen/gob\006proto" + "3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[3] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5faio_2eproto_deps[4] = { + &::descriptor_table_google_2fapi_2fannotations_2eproto, &::descriptor_table_google_2fprotobuf_2fempty_2eproto, &::descriptor_table_object_5fkey_2eproto, &::descriptor_table_uuid_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_backend_5faio_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5faio_2eproto = { - false, false, 1686, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto", - &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 3, 10, + false, false, 1881, descriptor_table_protodef_backend_5faio_2eproto, "backend_aio.proto", + &descriptor_table_backend_5faio_2eproto_once, descriptor_table_backend_5faio_2eproto_deps, 4, 9, schemas, file_default_instances, TableStruct_backend_5faio_2eproto::offsets, file_level_metadata_backend_5faio_2eproto, file_level_enum_descriptors_backend_5faio_2eproto, file_level_service_descriptors_backend_5faio_2eproto, }; @@ -678,25 +669,25 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioController::GetMetadata() const { // =================================================================== -class AioControllerCreateRequest::_Internal { +class CreateAioControllerRequest::_Internal { public: - static const ::opi_api::storage::v1::AioController& device(const AioControllerCreateRequest* msg); + static const ::opi_api::storage::v1::AioController& device(const CreateAioControllerRequest* msg); }; const ::opi_api::storage::v1::AioController& -AioControllerCreateRequest::_Internal::device(const AioControllerCreateRequest* msg) { +CreateAioControllerRequest::_Internal::device(const CreateAioControllerRequest* msg) { return *msg->device_; } -AioControllerCreateRequest::AioControllerCreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +CreateAioControllerRequest::CreateAioControllerRequest(::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.AioControllerCreateRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.CreateAioControllerRequest) } -AioControllerCreateRequest::AioControllerCreateRequest(const AioControllerCreateRequest& from) +CreateAioControllerRequest::CreateAioControllerRequest(const CreateAioControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_device()) { @@ -704,37 +695,37 @@ AioControllerCreateRequest::AioControllerCreateRequest(const AioControllerCreate } else { device_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerCreateRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateAioControllerRequest) } -inline void AioControllerCreateRequest::SharedCtor() { +inline void CreateAioControllerRequest::SharedCtor() { device_ = nullptr; } -AioControllerCreateRequest::~AioControllerCreateRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerCreateRequest) +CreateAioControllerRequest::~CreateAioControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.CreateAioControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerCreateRequest::SharedDtor() { +inline void CreateAioControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; } -void AioControllerCreateRequest::ArenaDtor(void* object) { - AioControllerCreateRequest* _this = reinterpret_cast< AioControllerCreateRequest* >(object); +void CreateAioControllerRequest::ArenaDtor(void* object) { + CreateAioControllerRequest* _this = reinterpret_cast< CreateAioControllerRequest* >(object); (void)_this; } -void AioControllerCreateRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void CreateAioControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerCreateRequest::SetCachedSize(int size) const { +void CreateAioControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerCreateRequest) +void CreateAioControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.CreateAioControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -746,7 +737,7 @@ void AioControllerCreateRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerCreateRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* CreateAioControllerRequest::_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; @@ -783,9 +774,9 @@ const char* AioControllerCreateRequest::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* AioControllerCreateRequest::_InternalSerialize( +uint8_t* CreateAioControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerCreateRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.CreateAioControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -801,12 +792,12 @@ uint8_t* AioControllerCreateRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerCreateRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.CreateAioControllerRequest) return target; } -size_t AioControllerCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerCreateRequest) +size_t CreateAioControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.CreateAioControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -823,21 +814,21 @@ size_t AioControllerCreateRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerCreateRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateAioControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerCreateRequest::MergeImpl + CreateAioControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerCreateRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateAioControllerRequest::GetClassData() const { return &_class_data_; } -void AioControllerCreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateAioControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerCreateRequest::MergeFrom(const AioControllerCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerCreateRequest) +void CreateAioControllerRequest::MergeFrom(const CreateAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.CreateAioControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -848,24 +839,24 @@ void AioControllerCreateRequest::MergeFrom(const AioControllerCreateRequest& fro _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerCreateRequest::CopyFrom(const AioControllerCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerCreateRequest) +void CreateAioControllerRequest::CopyFrom(const CreateAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.CreateAioControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerCreateRequest::IsInitialized() const { +bool CreateAioControllerRequest::IsInitialized() const { return true; } -void AioControllerCreateRequest::InternalSwap(AioControllerCreateRequest* other) { +void CreateAioControllerRequest::InternalSwap(CreateAioControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(device_, other->device_); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerCreateRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata CreateAioControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, file_level_metadata_backend_5faio_2eproto[1]); @@ -873,31 +864,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerCreateRequest::GetMetadata() cons // =================================================================== -class AioControllerDeleteRequest::_Internal { +class DeleteAioControllerRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerDeleteRequest* msg); + static const ::opi_api::common::v1::ObjectKey& handle(const DeleteAioControllerRequest* msg); }; const ::opi_api::common::v1::ObjectKey& -AioControllerDeleteRequest::_Internal::handle(const AioControllerDeleteRequest* msg) { +DeleteAioControllerRequest::_Internal::handle(const DeleteAioControllerRequest* msg) { return *msg->handle_; } -void AioControllerDeleteRequest::clear_handle() { +void DeleteAioControllerRequest::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } -AioControllerDeleteRequest::AioControllerDeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteAioControllerRequest::DeleteAioControllerRequest(::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.AioControllerDeleteRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.DeleteAioControllerRequest) } -AioControllerDeleteRequest::AioControllerDeleteRequest(const AioControllerDeleteRequest& from) +DeleteAioControllerRequest::DeleteAioControllerRequest(const DeleteAioControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_handle()) { @@ -905,37 +896,37 @@ AioControllerDeleteRequest::AioControllerDeleteRequest(const AioControllerDelete } else { handle_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerDeleteRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteAioControllerRequest) } -inline void AioControllerDeleteRequest::SharedCtor() { +inline void DeleteAioControllerRequest::SharedCtor() { handle_ = nullptr; } -AioControllerDeleteRequest::~AioControllerDeleteRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerDeleteRequest) +DeleteAioControllerRequest::~DeleteAioControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.DeleteAioControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerDeleteRequest::SharedDtor() { +inline void DeleteAioControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete handle_; } -void AioControllerDeleteRequest::ArenaDtor(void* object) { - AioControllerDeleteRequest* _this = reinterpret_cast< AioControllerDeleteRequest* >(object); +void DeleteAioControllerRequest::ArenaDtor(void* object) { + DeleteAioControllerRequest* _this = reinterpret_cast< DeleteAioControllerRequest* >(object); (void)_this; } -void AioControllerDeleteRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void DeleteAioControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerDeleteRequest::SetCachedSize(int size) const { +void DeleteAioControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerDeleteRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerDeleteRequest) +void DeleteAioControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.DeleteAioControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -947,7 +938,7 @@ void AioControllerDeleteRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerDeleteRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* DeleteAioControllerRequest::_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; @@ -984,9 +975,9 @@ const char* AioControllerDeleteRequest::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* AioControllerDeleteRequest::_InternalSerialize( +uint8_t* DeleteAioControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerDeleteRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.DeleteAioControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1002,12 +993,12 @@ uint8_t* AioControllerDeleteRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerDeleteRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.DeleteAioControllerRequest) return target; } -size_t AioControllerDeleteRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerDeleteRequest) +size_t DeleteAioControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.DeleteAioControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1024,21 +1015,21 @@ size_t AioControllerDeleteRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerDeleteRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteAioControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerDeleteRequest::MergeImpl + DeleteAioControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerDeleteRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteAioControllerRequest::GetClassData() const { return &_class_data_; } -void AioControllerDeleteRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteAioControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerDeleteRequest::MergeFrom(const AioControllerDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerDeleteRequest) +void DeleteAioControllerRequest::MergeFrom(const DeleteAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.DeleteAioControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1049,24 +1040,24 @@ void AioControllerDeleteRequest::MergeFrom(const AioControllerDeleteRequest& fro _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerDeleteRequest::CopyFrom(const AioControllerDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerDeleteRequest) +void DeleteAioControllerRequest::CopyFrom(const DeleteAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.DeleteAioControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerDeleteRequest::IsInitialized() const { +bool DeleteAioControllerRequest::IsInitialized() const { return true; } -void AioControllerDeleteRequest::InternalSwap(AioControllerDeleteRequest* other) { +void DeleteAioControllerRequest::InternalSwap(DeleteAioControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(handle_, other->handle_); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerDeleteRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteAioControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, file_level_metadata_backend_5faio_2eproto[2]); @@ -1074,25 +1065,25 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerDeleteRequest::GetMetadata() cons // =================================================================== -class AioControllerUpdateRequest::_Internal { +class UpdateAioControllerRequest::_Internal { public: - static const ::opi_api::storage::v1::AioController& device(const AioControllerUpdateRequest* msg); + static const ::opi_api::storage::v1::AioController& device(const UpdateAioControllerRequest* msg); }; const ::opi_api::storage::v1::AioController& -AioControllerUpdateRequest::_Internal::device(const AioControllerUpdateRequest* msg) { +UpdateAioControllerRequest::_Internal::device(const UpdateAioControllerRequest* msg) { return *msg->device_; } -AioControllerUpdateRequest::AioControllerUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateAioControllerRequest::UpdateAioControllerRequest(::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.AioControllerUpdateRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.UpdateAioControllerRequest) } -AioControllerUpdateRequest::AioControllerUpdateRequest(const AioControllerUpdateRequest& from) +UpdateAioControllerRequest::UpdateAioControllerRequest(const UpdateAioControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_device()) { @@ -1100,37 +1091,37 @@ AioControllerUpdateRequest::AioControllerUpdateRequest(const AioControllerUpdate } else { device_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerUpdateRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateAioControllerRequest) } -inline void AioControllerUpdateRequest::SharedCtor() { +inline void UpdateAioControllerRequest::SharedCtor() { device_ = nullptr; } -AioControllerUpdateRequest::~AioControllerUpdateRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerUpdateRequest) +UpdateAioControllerRequest::~UpdateAioControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.UpdateAioControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerUpdateRequest::SharedDtor() { +inline void UpdateAioControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; } -void AioControllerUpdateRequest::ArenaDtor(void* object) { - AioControllerUpdateRequest* _this = reinterpret_cast< AioControllerUpdateRequest* >(object); +void UpdateAioControllerRequest::ArenaDtor(void* object) { + UpdateAioControllerRequest* _this = reinterpret_cast< UpdateAioControllerRequest* >(object); (void)_this; } -void AioControllerUpdateRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void UpdateAioControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerUpdateRequest::SetCachedSize(int size) const { +void UpdateAioControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerUpdateRequest) +void UpdateAioControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.UpdateAioControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1142,7 +1133,7 @@ void AioControllerUpdateRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerUpdateRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* UpdateAioControllerRequest::_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; @@ -1179,9 +1170,9 @@ const char* AioControllerUpdateRequest::_InternalParse(const char* ptr, ::PROTOB #undef CHK_ } -uint8_t* AioControllerUpdateRequest::_InternalSerialize( +uint8_t* UpdateAioControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerUpdateRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.UpdateAioControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1197,12 +1188,12 @@ uint8_t* AioControllerUpdateRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerUpdateRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.UpdateAioControllerRequest) return target; } -size_t AioControllerUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerUpdateRequest) +size_t UpdateAioControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.UpdateAioControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1219,21 +1210,21 @@ size_t AioControllerUpdateRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerUpdateRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateAioControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerUpdateRequest::MergeImpl + UpdateAioControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerUpdateRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateAioControllerRequest::GetClassData() const { return &_class_data_; } -void AioControllerUpdateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateAioControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerUpdateRequest::MergeFrom(const AioControllerUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerUpdateRequest) +void UpdateAioControllerRequest::MergeFrom(const UpdateAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.UpdateAioControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1244,24 +1235,24 @@ void AioControllerUpdateRequest::MergeFrom(const AioControllerUpdateRequest& fro _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerUpdateRequest::CopyFrom(const AioControllerUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerUpdateRequest) +void UpdateAioControllerRequest::CopyFrom(const UpdateAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.UpdateAioControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerUpdateRequest::IsInitialized() const { +bool UpdateAioControllerRequest::IsInitialized() const { return true; } -void AioControllerUpdateRequest::InternalSwap(AioControllerUpdateRequest* other) { +void UpdateAioControllerRequest::InternalSwap(UpdateAioControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(device_, other->device_); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerUpdateRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateAioControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, file_level_metadata_backend_5faio_2eproto[3]); @@ -1269,77 +1260,96 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerUpdateRequest::GetMetadata() cons // =================================================================== -class AioControllerList::_Internal { +class ListAioControllerRequest::_Internal { public: }; -AioControllerList::AioControllerList(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListAioControllerRequest::ListAioControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - device_(arena) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.AioControllerList) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ListAioControllerRequest) } -AioControllerList::AioControllerList(const AioControllerList& from) - : ::PROTOBUF_NAMESPACE_ID::Message(), - device_(from.device_) { +ListAioControllerRequest::ListAioControllerRequest(const ListAioControllerRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerList) + page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_page_token().empty()) { + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_page_token(), + GetArenaForAllocation()); + } + page_size_ = from.page_size_; + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ListAioControllerRequest) } -inline void AioControllerList::SharedCtor() { +inline void ListAioControllerRequest::SharedCtor() { +page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +page_size_ = 0; } -AioControllerList::~AioControllerList() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerList) +ListAioControllerRequest::~ListAioControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ListAioControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerList::SharedDtor() { +inline void ListAioControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + page_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void AioControllerList::ArenaDtor(void* object) { - AioControllerList* _this = reinterpret_cast< AioControllerList* >(object); +void ListAioControllerRequest::ArenaDtor(void* object) { + ListAioControllerRequest* _this = reinterpret_cast< ListAioControllerRequest* >(object); (void)_this; } -void AioControllerList::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ListAioControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerList::SetCachedSize(int size) const { +void ListAioControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerList::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerList) +void ListAioControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ListAioControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - device_.Clear(); + page_token_.ClearToEmpty(); + page_size_ = 0; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerList::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ListAioControllerRequest::_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) { - // repeated .opi_api.storage.v1.AioController device = 1; + // int32 page_size = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_device(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + page_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string page_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_page_token(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ListAioControllerRequest.page_token")); + CHK_(ptr); } else goto handle_unusual; continue; @@ -1366,87 +1376,112 @@ const char* AioControllerList::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP #undef CHK_ } -uint8_t* AioControllerList::_InternalSerialize( +uint8_t* ListAioControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerList) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ListAioControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .opi_api.storage.v1.AioController device = 1; - for (unsigned int i = 0, - n = static_cast(this->_internal_device_size()); i < n; i++) { + // int32 page_size = 1; + if (this->_internal_page_size() != 0) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_device(i), target, stream); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_page_size(), target); + } + + // string page_token = 2; + if (!this->_internal_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.ListAioControllerRequest.page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_page_token(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerList) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ListAioControllerRequest) return target; } -size_t AioControllerList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerList) +size_t ListAioControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ListAioControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .opi_api.storage.v1.AioController device = 1; - total_size += 1UL * this->_internal_device_size(); - for (const auto& msg : this->device_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + // string page_token = 2; + if (!this->_internal_page_token().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_page_token()); + } + + // int32 page_size = 1; + if (this->_internal_page_size() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_page_size()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerList::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListAioControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerList::MergeImpl + ListAioControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerList::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListAioControllerRequest::GetClassData() const { return &_class_data_; } -void AioControllerList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListAioControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerList::MergeFrom(const AioControllerList& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerList) +void ListAioControllerRequest::MergeFrom(const ListAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ListAioControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - device_.MergeFrom(from.device_); + if (!from._internal_page_token().empty()) { + _internal_set_page_token(from._internal_page_token()); + } + if (from._internal_page_size() != 0) { + _internal_set_page_size(from._internal_page_size()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerList::CopyFrom(const AioControllerList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerList) +void ListAioControllerRequest::CopyFrom(const ListAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ListAioControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerList::IsInitialized() const { +bool ListAioControllerRequest::IsInitialized() const { return true; } -void AioControllerList::InternalSwap(AioControllerList* other) { +void ListAioControllerRequest::InternalSwap(ListAioControllerRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - device_.InternalSwap(&other->device_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &page_token_, lhs_arena, + &other->page_token_, rhs_arena + ); + swap(page_size_, other->page_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerList::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListAioControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, file_level_metadata_backend_5faio_2eproto[4]); @@ -1454,90 +1489,100 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerList::GetMetadata() const { // =================================================================== -class AioControllerGetRequest::_Internal { +class ListAioControllerResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerGetRequest* msg); }; -const ::opi_api::common::v1::ObjectKey& -AioControllerGetRequest::_Internal::handle(const AioControllerGetRequest* msg) { - return *msg->handle_; -} -void AioControllerGetRequest::clear_handle() { - if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { - delete handle_; - } - handle_ = nullptr; -} -AioControllerGetRequest::AioControllerGetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListAioControllerResponse::ListAioControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), + devices_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.AioControllerGetRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ListAioControllerResponse) } -AioControllerGetRequest::AioControllerGetRequest(const AioControllerGetRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { +ListAioControllerResponse::ListAioControllerResponse(const ListAioControllerResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + devices_(from.devices_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_handle()) { - handle_ = new ::opi_api::common::v1::ObjectKey(*from.handle_); - } else { - handle_ = nullptr; + next_page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_next_page_token().empty()) { + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_next_page_token(), + GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerGetRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ListAioControllerResponse) } -inline void AioControllerGetRequest::SharedCtor() { -handle_ = nullptr; +inline void ListAioControllerResponse::SharedCtor() { +next_page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -AioControllerGetRequest::~AioControllerGetRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerGetRequest) +ListAioControllerResponse::~ListAioControllerResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ListAioControllerResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerGetRequest::SharedDtor() { +inline void ListAioControllerResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete handle_; + next_page_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void AioControllerGetRequest::ArenaDtor(void* object) { - AioControllerGetRequest* _this = reinterpret_cast< AioControllerGetRequest* >(object); +void ListAioControllerResponse::ArenaDtor(void* object) { + ListAioControllerResponse* _this = reinterpret_cast< ListAioControllerResponse* >(object); (void)_this; } -void AioControllerGetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ListAioControllerResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerGetRequest::SetCachedSize(int size) const { +void ListAioControllerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerGetRequest) +void ListAioControllerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ListAioControllerResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { - delete handle_; - } - handle_ = nullptr; + devices_.Clear(); + next_page_token_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerGetRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ListAioControllerResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // .opi_api.common.v1.ObjectKey handle = 1; + // repeated .opi_api.storage.v1.AioController devices = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_handle(), ptr); + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_devices(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // string next_page_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_next_page_token(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ListAioControllerResponse.next_page_token")); CHK_(ptr); } else goto handle_unusual; @@ -1565,89 +1610,114 @@ const char* AioControllerGetRequest::_InternalParse(const char* ptr, ::PROTOBUF_ #undef CHK_ } -uint8_t* AioControllerGetRequest::_InternalSerialize( +uint8_t* ListAioControllerResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerGetRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ListAioControllerResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey handle = 1; - if (this->_internal_has_handle()) { + // repeated .opi_api.storage.v1.AioController devices = 1; + for (unsigned int i = 0, + n = static_cast(this->_internal_devices_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage( - 1, _Internal::handle(this), target, stream); + InternalWriteMessage(1, this->_internal_devices(i), target, stream); + } + + // string next_page_token = 2; + if (!this->_internal_next_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.ListAioControllerResponse.next_page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_next_page_token(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerGetRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ListAioControllerResponse) return target; } -size_t AioControllerGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerGetRequest) +size_t ListAioControllerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ListAioControllerResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .opi_api.common.v1.ObjectKey handle = 1; - if (this->_internal_has_handle()) { + // repeated .opi_api.storage.v1.AioController devices = 1; + total_size += 1UL * this->_internal_devices_size(); + for (const auto& msg : this->devices_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string next_page_token = 2; + if (!this->_internal_next_page_token().empty()) { total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *handle_); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_next_page_token()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerGetRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListAioControllerResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerGetRequest::MergeImpl + ListAioControllerResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerGetRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListAioControllerResponse::GetClassData() const { return &_class_data_; } -void AioControllerGetRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListAioControllerResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerGetRequest::MergeFrom(const AioControllerGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerGetRequest) +void ListAioControllerResponse::MergeFrom(const ListAioControllerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ListAioControllerResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_handle()) { - _internal_mutable_handle()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_handle()); + devices_.MergeFrom(from.devices_); + if (!from._internal_next_page_token().empty()) { + _internal_set_next_page_token(from._internal_next_page_token()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerGetRequest::CopyFrom(const AioControllerGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerGetRequest) +void ListAioControllerResponse::CopyFrom(const ListAioControllerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ListAioControllerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerGetRequest::IsInitialized() const { +bool ListAioControllerResponse::IsInitialized() const { return true; } -void AioControllerGetRequest::InternalSwap(AioControllerGetRequest* other) { +void ListAioControllerResponse::InternalSwap(ListAioControllerResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(handle_, other->handle_); + devices_.InternalSwap(&other->devices_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &next_page_token_, lhs_arena, + &other->next_page_token_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerGetRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListAioControllerResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, file_level_metadata_backend_5faio_2eproto[5]); @@ -1655,70 +1725,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerGetRequest::GetMetadata() const { // =================================================================== -class AioControllerGetListRequest::_Internal { +class GetAioControllerRequest::_Internal { public: -}; - -AioControllerGetListRequest::AioControllerGetListRequest(::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.AioControllerGetListRequest) -} -AioControllerGetListRequest::AioControllerGetListRequest(const AioControllerGetListRequest& 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.AioControllerGetListRequest) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerGetListRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerGetListRequest::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerGetListRequest::GetMetadata() const { - return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( - &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, - file_level_metadata_backend_5faio_2eproto[6]); -} - -// =================================================================== - -class AioControllerGetStatsRequest::_Internal { - public: - static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerGetStatsRequest* msg); + static const ::opi_api::common::v1::ObjectKey& handle(const GetAioControllerRequest* msg); }; const ::opi_api::common::v1::ObjectKey& -AioControllerGetStatsRequest::_Internal::handle(const AioControllerGetStatsRequest* msg) { +GetAioControllerRequest::_Internal::handle(const GetAioControllerRequest* msg) { return *msg->handle_; } -void AioControllerGetStatsRequest::clear_handle() { +void GetAioControllerRequest::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } -AioControllerGetStatsRequest::AioControllerGetStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetAioControllerRequest::GetAioControllerRequest(::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.AioControllerGetStatsRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.GetAioControllerRequest) } -AioControllerGetStatsRequest::AioControllerGetStatsRequest(const AioControllerGetStatsRequest& from) +GetAioControllerRequest::GetAioControllerRequest(const GetAioControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_handle()) { @@ -1726,37 +1757,37 @@ AioControllerGetStatsRequest::AioControllerGetStatsRequest(const AioControllerGe } else { handle_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerGetStatsRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.GetAioControllerRequest) } -inline void AioControllerGetStatsRequest::SharedCtor() { +inline void GetAioControllerRequest::SharedCtor() { handle_ = nullptr; } -AioControllerGetStatsRequest::~AioControllerGetStatsRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerGetStatsRequest) +GetAioControllerRequest::~GetAioControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.GetAioControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerGetStatsRequest::SharedDtor() { +inline void GetAioControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete handle_; } -void AioControllerGetStatsRequest::ArenaDtor(void* object) { - AioControllerGetStatsRequest* _this = reinterpret_cast< AioControllerGetStatsRequest* >(object); +void GetAioControllerRequest::ArenaDtor(void* object) { + GetAioControllerRequest* _this = reinterpret_cast< GetAioControllerRequest* >(object); (void)_this; } -void AioControllerGetStatsRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void GetAioControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerGetStatsRequest::SetCachedSize(int size) const { +void GetAioControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerGetStatsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerGetStatsRequest) +void GetAioControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.GetAioControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1768,7 +1799,7 @@ void AioControllerGetStatsRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerGetStatsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* GetAioControllerRequest::_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; @@ -1805,9 +1836,9 @@ const char* AioControllerGetStatsRequest::_InternalParse(const char* ptr, ::PROT #undef CHK_ } -uint8_t* AioControllerGetStatsRequest::_InternalSerialize( +uint8_t* GetAioControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerGetStatsRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.GetAioControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1823,12 +1854,12 @@ uint8_t* AioControllerGetStatsRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerGetStatsRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.GetAioControllerRequest) return target; } -size_t AioControllerGetStatsRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerGetStatsRequest) +size_t GetAioControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.GetAioControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1845,21 +1876,21 @@ size_t AioControllerGetStatsRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerGetStatsRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetAioControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerGetStatsRequest::MergeImpl + GetAioControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerGetStatsRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetAioControllerRequest::GetClassData() const { return &_class_data_; } -void AioControllerGetStatsRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetAioControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerGetStatsRequest::MergeFrom(const AioControllerGetStatsRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerGetStatsRequest) +void GetAioControllerRequest::MergeFrom(const GetAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.GetAioControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1870,27 +1901,27 @@ void AioControllerGetStatsRequest::MergeFrom(const AioControllerGetStatsRequest& _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerGetStatsRequest::CopyFrom(const AioControllerGetStatsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerGetStatsRequest) +void GetAioControllerRequest::CopyFrom(const GetAioControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.GetAioControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerGetStatsRequest::IsInitialized() const { +bool GetAioControllerRequest::IsInitialized() const { return true; } -void AioControllerGetStatsRequest::InternalSwap(AioControllerGetStatsRequest* other) { +void GetAioControllerRequest::InternalSwap(GetAioControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(handle_, other->handle_); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerGetStatsRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetAioControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, - file_level_metadata_backend_5faio_2eproto[7]); + file_level_metadata_backend_5faio_2eproto[6]); } // =================================================================== @@ -2091,36 +2122,36 @@ void AioControllerStatsRequest::InternalSwap(AioControllerStatsRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AioControllerStatsRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, - file_level_metadata_backend_5faio_2eproto[8]); + file_level_metadata_backend_5faio_2eproto[7]); } // =================================================================== -class AioControllerStats::_Internal { +class AioControllerStatsResponse::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerStats* msg); + static const ::opi_api::common::v1::ObjectKey& handle(const AioControllerStatsResponse* msg); }; const ::opi_api::common::v1::ObjectKey& -AioControllerStats::_Internal::handle(const AioControllerStats* msg) { +AioControllerStatsResponse::_Internal::handle(const AioControllerStatsResponse* msg) { return *msg->handle_; } -void AioControllerStats::clear_handle() { +void AioControllerStatsResponse::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } -AioControllerStats::AioControllerStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, +AioControllerStatsResponse::AioControllerStatsResponse(::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.AioControllerStats) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.AioControllerStatsResponse) } -AioControllerStats::AioControllerStats(const AioControllerStats& from) +AioControllerStatsResponse::AioControllerStatsResponse(const AioControllerStatsResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -2136,10 +2167,10 @@ AioControllerStats::AioControllerStats(const AioControllerStats& from) } else { handle_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerStats) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.AioControllerStatsResponse) } -inline void AioControllerStats::SharedCtor() { +inline void AioControllerStatsResponse::SharedCtor() { stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); @@ -2147,31 +2178,31 @@ stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlread handle_ = nullptr; } -AioControllerStats::~AioControllerStats() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerStats) +AioControllerStatsResponse::~AioControllerStatsResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.AioControllerStatsResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void AioControllerStats::SharedDtor() { +inline void AioControllerStatsResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); stats_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete handle_; } -void AioControllerStats::ArenaDtor(void* object) { - AioControllerStats* _this = reinterpret_cast< AioControllerStats* >(object); +void AioControllerStatsResponse::ArenaDtor(void* object) { + AioControllerStatsResponse* _this = reinterpret_cast< AioControllerStatsResponse* >(object); (void)_this; } -void AioControllerStats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void AioControllerStatsResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void AioControllerStats::SetCachedSize(int size) const { +void AioControllerStatsResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void AioControllerStats::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerStats) +void AioControllerStatsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.AioControllerStatsResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -2184,7 +2215,7 @@ void AioControllerStats::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* AioControllerStats::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* AioControllerStatsResponse::_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; @@ -2203,7 +2234,7 @@ const char* AioControllerStats::_InternalParse(const char* ptr, ::PROTOBUF_NAMES if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_stats(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); - CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.AioControllerStats.stats")); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.AioControllerStatsResponse.stats")); CHK_(ptr); } else goto handle_unusual; @@ -2231,9 +2262,9 @@ const char* AioControllerStats::_InternalParse(const char* ptr, ::PROTOBUF_NAMES #undef CHK_ } -uint8_t* AioControllerStats::_InternalSerialize( +uint8_t* AioControllerStatsResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerStats) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.AioControllerStatsResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -2250,7 +2281,7 @@ uint8_t* AioControllerStats::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_stats().data(), static_cast(this->_internal_stats().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, - "opi_api.storage.v1.AioControllerStats.stats"); + "opi_api.storage.v1.AioControllerStatsResponse.stats"); target = stream->WriteStringMaybeAliased( 2, this->_internal_stats(), target); } @@ -2259,12 +2290,12 @@ uint8_t* AioControllerStats::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerStats) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.AioControllerStatsResponse) return target; } -size_t AioControllerStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerStats) +size_t AioControllerStatsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.AioControllerStatsResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -2288,21 +2319,21 @@ size_t AioControllerStats::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerStats::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AioControllerStatsResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - AioControllerStats::MergeImpl + AioControllerStatsResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerStats::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AioControllerStatsResponse::GetClassData() const { return &_class_data_; } -void AioControllerStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void AioControllerStatsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void AioControllerStats::MergeFrom(const AioControllerStats& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerStats) +void AioControllerStatsResponse::MergeFrom(const AioControllerStatsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.AioControllerStatsResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -2316,18 +2347,18 @@ void AioControllerStats::MergeFrom(const AioControllerStats& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void AioControllerStats::CopyFrom(const AioControllerStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerStats) +void AioControllerStatsResponse::CopyFrom(const AioControllerStatsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.AioControllerStatsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool AioControllerStats::IsInitialized() const { +bool AioControllerStatsResponse::IsInitialized() const { return true; } -void AioControllerStats::InternalSwap(AioControllerStats* other) { +void AioControllerStatsResponse::InternalSwap(AioControllerStatsResponse* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -2340,10 +2371,10 @@ void AioControllerStats::InternalSwap(AioControllerStats* other) { swap(handle_, other->handle_); } -::PROTOBUF_NAMESPACE_ID::Metadata AioControllerStats::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata AioControllerStatsResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5faio_2eproto_getter, &descriptor_table_backend_5faio_2eproto_once, - file_level_metadata_backend_5faio_2eproto[9]); + file_level_metadata_backend_5faio_2eproto[8]); } // @@protoc_insertion_point(namespace_scope) @@ -2354,32 +2385,29 @@ PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioController* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioController >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioController >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerCreateRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerCreateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerDeleteRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerDeleteRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerDeleteRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateAioControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateAioControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateAioControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerUpdateRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerUpdateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerUpdateRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::DeleteAioControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::DeleteAioControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::DeleteAioControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerList* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerList >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerList >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::UpdateAioControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::UpdateAioControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::UpdateAioControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerGetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerGetRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerGetRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListAioControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListAioControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListAioControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerGetListRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerGetListRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerGetListRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListAioControllerResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListAioControllerResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListAioControllerResponse >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerGetStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerGetStatsRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerGetStatsRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetAioControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetAioControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetAioControllerRequest >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerStatsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerStatsRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerStats* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerStats >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::AioControllerStatsResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::AioControllerStatsResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::AioControllerStatsResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE diff --git a/storage/v1alpha1/gen/cpp/backend_aio.pb.h b/storage/v1alpha1/gen/cpp/backend_aio.pb.h index 86f33a4f..7b0561db 100644 --- a/storage/v1alpha1/gen/cpp/backend_aio.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_aio.pb.h @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -33,6 +32,7 @@ #include // IWYU pragma: export #include #include +#include "google/api/annotations.pb.h" #include "object_key.pb.h" #include "uuid.pb.h" // @@protoc_insertion_point(includes) @@ -50,7 +50,7 @@ struct TableStruct_backend_5faio_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[10] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[9] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -63,47 +63,43 @@ namespace v1 { class AioController; struct AioControllerDefaultTypeInternal; extern AioControllerDefaultTypeInternal _AioController_default_instance_; -class AioControllerCreateRequest; -struct AioControllerCreateRequestDefaultTypeInternal; -extern AioControllerCreateRequestDefaultTypeInternal _AioControllerCreateRequest_default_instance_; -class AioControllerDeleteRequest; -struct AioControllerDeleteRequestDefaultTypeInternal; -extern AioControllerDeleteRequestDefaultTypeInternal _AioControllerDeleteRequest_default_instance_; -class AioControllerGetListRequest; -struct AioControllerGetListRequestDefaultTypeInternal; -extern AioControllerGetListRequestDefaultTypeInternal _AioControllerGetListRequest_default_instance_; -class AioControllerGetRequest; -struct AioControllerGetRequestDefaultTypeInternal; -extern AioControllerGetRequestDefaultTypeInternal _AioControllerGetRequest_default_instance_; -class AioControllerGetStatsRequest; -struct AioControllerGetStatsRequestDefaultTypeInternal; -extern AioControllerGetStatsRequestDefaultTypeInternal _AioControllerGetStatsRequest_default_instance_; -class AioControllerList; -struct AioControllerListDefaultTypeInternal; -extern AioControllerListDefaultTypeInternal _AioControllerList_default_instance_; -class AioControllerStats; -struct AioControllerStatsDefaultTypeInternal; -extern AioControllerStatsDefaultTypeInternal _AioControllerStats_default_instance_; class AioControllerStatsRequest; struct AioControllerStatsRequestDefaultTypeInternal; extern AioControllerStatsRequestDefaultTypeInternal _AioControllerStatsRequest_default_instance_; -class AioControllerUpdateRequest; -struct AioControllerUpdateRequestDefaultTypeInternal; -extern AioControllerUpdateRequestDefaultTypeInternal _AioControllerUpdateRequest_default_instance_; +class AioControllerStatsResponse; +struct AioControllerStatsResponseDefaultTypeInternal; +extern AioControllerStatsResponseDefaultTypeInternal _AioControllerStatsResponse_default_instance_; +class CreateAioControllerRequest; +struct CreateAioControllerRequestDefaultTypeInternal; +extern CreateAioControllerRequestDefaultTypeInternal _CreateAioControllerRequest_default_instance_; +class DeleteAioControllerRequest; +struct DeleteAioControllerRequestDefaultTypeInternal; +extern DeleteAioControllerRequestDefaultTypeInternal _DeleteAioControllerRequest_default_instance_; +class GetAioControllerRequest; +struct GetAioControllerRequestDefaultTypeInternal; +extern GetAioControllerRequestDefaultTypeInternal _GetAioControllerRequest_default_instance_; +class ListAioControllerRequest; +struct ListAioControllerRequestDefaultTypeInternal; +extern ListAioControllerRequestDefaultTypeInternal _ListAioControllerRequest_default_instance_; +class ListAioControllerResponse; +struct ListAioControllerResponseDefaultTypeInternal; +extern ListAioControllerResponseDefaultTypeInternal _ListAioControllerResponse_default_instance_; +class UpdateAioControllerRequest; +struct UpdateAioControllerRequestDefaultTypeInternal; +extern UpdateAioControllerRequestDefaultTypeInternal _UpdateAioControllerRequest_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api PROTOBUF_NAMESPACE_OPEN template<> ::opi_api::storage::v1::AioController* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioController>(Arena*); -template<> ::opi_api::storage::v1::AioControllerCreateRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerCreateRequest>(Arena*); -template<> ::opi_api::storage::v1::AioControllerDeleteRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerDeleteRequest>(Arena*); -template<> ::opi_api::storage::v1::AioControllerGetListRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerGetListRequest>(Arena*); -template<> ::opi_api::storage::v1::AioControllerGetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerGetRequest>(Arena*); -template<> ::opi_api::storage::v1::AioControllerGetStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerGetStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::AioControllerList* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerList>(Arena*); -template<> ::opi_api::storage::v1::AioControllerStats* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerStats>(Arena*); template<> ::opi_api::storage::v1::AioControllerStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerStatsRequest>(Arena*); -template<> ::opi_api::storage::v1::AioControllerUpdateRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerUpdateRequest>(Arena*); +template<> ::opi_api::storage::v1::AioControllerStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::AioControllerStatsResponse>(Arena*); +template<> ::opi_api::storage::v1::CreateAioControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::CreateAioControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::DeleteAioControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::DeleteAioControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::GetAioControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::GetAioControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::ListAioControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListAioControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::ListAioControllerResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListAioControllerResponse>(Arena*); +template<> ::opi_api::storage::v1::UpdateAioControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateAioControllerRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { namespace storage { @@ -324,24 +320,24 @@ class AioController final : }; // ------------------------------------------------------------------- -class AioControllerCreateRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerCreateRequest) */ { +class CreateAioControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.CreateAioControllerRequest) */ { public: - inline AioControllerCreateRequest() : AioControllerCreateRequest(nullptr) {} - ~AioControllerCreateRequest() override; - explicit constexpr AioControllerCreateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateAioControllerRequest() : CreateAioControllerRequest(nullptr) {} + ~CreateAioControllerRequest() override; + explicit constexpr CreateAioControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerCreateRequest(const AioControllerCreateRequest& from); - AioControllerCreateRequest(AioControllerCreateRequest&& from) noexcept - : AioControllerCreateRequest() { + CreateAioControllerRequest(const CreateAioControllerRequest& from); + CreateAioControllerRequest(CreateAioControllerRequest&& from) noexcept + : CreateAioControllerRequest() { *this = ::std::move(from); } - inline AioControllerCreateRequest& operator=(const AioControllerCreateRequest& from) { + inline CreateAioControllerRequest& operator=(const CreateAioControllerRequest& from) { CopyFrom(from); return *this; } - inline AioControllerCreateRequest& operator=(AioControllerCreateRequest&& from) noexcept { + inline CreateAioControllerRequest& operator=(CreateAioControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -364,20 +360,20 @@ class AioControllerCreateRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerCreateRequest& default_instance() { + static const CreateAioControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const AioControllerCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_AioControllerCreateRequest_default_instance_); + static inline const CreateAioControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateAioControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 1; - friend void swap(AioControllerCreateRequest& a, AioControllerCreateRequest& b) { + friend void swap(CreateAioControllerRequest& a, CreateAioControllerRequest& b) { a.Swap(&b); } - inline void Swap(AioControllerCreateRequest* other) { + inline void Swap(CreateAioControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -390,7 +386,7 @@ class AioControllerCreateRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerCreateRequest* other) { + void UnsafeArenaSwap(CreateAioControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -398,13 +394,13 @@ class AioControllerCreateRequest final : // implements Message ---------------------------------------------- - AioControllerCreateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + CreateAioControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerCreateRequest& from); + void CopyFrom(const CreateAioControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerCreateRequest& from); + void MergeFrom(const CreateAioControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -421,15 +417,15 @@ class AioControllerCreateRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerCreateRequest* other); + void InternalSwap(CreateAioControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerCreateRequest"; + return "opi_api.storage.v1.CreateAioControllerRequest"; } protected: - explicit AioControllerCreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateAioControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -466,7 +462,7 @@ class AioControllerCreateRequest final : ::opi_api::storage::v1::AioController* device); ::opi_api::storage::v1::AioController* unsafe_arena_release_device(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerCreateRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateAioControllerRequest) private: class _Internal; @@ -479,24 +475,24 @@ class AioControllerCreateRequest final : }; // ------------------------------------------------------------------- -class AioControllerDeleteRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerDeleteRequest) */ { +class DeleteAioControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.DeleteAioControllerRequest) */ { public: - inline AioControllerDeleteRequest() : AioControllerDeleteRequest(nullptr) {} - ~AioControllerDeleteRequest() override; - explicit constexpr AioControllerDeleteRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteAioControllerRequest() : DeleteAioControllerRequest(nullptr) {} + ~DeleteAioControllerRequest() override; + explicit constexpr DeleteAioControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerDeleteRequest(const AioControllerDeleteRequest& from); - AioControllerDeleteRequest(AioControllerDeleteRequest&& from) noexcept - : AioControllerDeleteRequest() { + DeleteAioControllerRequest(const DeleteAioControllerRequest& from); + DeleteAioControllerRequest(DeleteAioControllerRequest&& from) noexcept + : DeleteAioControllerRequest() { *this = ::std::move(from); } - inline AioControllerDeleteRequest& operator=(const AioControllerDeleteRequest& from) { + inline DeleteAioControllerRequest& operator=(const DeleteAioControllerRequest& from) { CopyFrom(from); return *this; } - inline AioControllerDeleteRequest& operator=(AioControllerDeleteRequest&& from) noexcept { + inline DeleteAioControllerRequest& operator=(DeleteAioControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -519,20 +515,20 @@ class AioControllerDeleteRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerDeleteRequest& default_instance() { + static const DeleteAioControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const AioControllerDeleteRequest* internal_default_instance() { - return reinterpret_cast( - &_AioControllerDeleteRequest_default_instance_); + static inline const DeleteAioControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteAioControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; - friend void swap(AioControllerDeleteRequest& a, AioControllerDeleteRequest& b) { + friend void swap(DeleteAioControllerRequest& a, DeleteAioControllerRequest& b) { a.Swap(&b); } - inline void Swap(AioControllerDeleteRequest* other) { + inline void Swap(DeleteAioControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -545,7 +541,7 @@ class AioControllerDeleteRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerDeleteRequest* other) { + void UnsafeArenaSwap(DeleteAioControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -553,13 +549,13 @@ class AioControllerDeleteRequest final : // implements Message ---------------------------------------------- - AioControllerDeleteRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteAioControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerDeleteRequest& from); + void CopyFrom(const DeleteAioControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerDeleteRequest& from); + void MergeFrom(const DeleteAioControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -576,15 +572,15 @@ class AioControllerDeleteRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerDeleteRequest* other); + void InternalSwap(DeleteAioControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerDeleteRequest"; + return "opi_api.storage.v1.DeleteAioControllerRequest"; } protected: - explicit AioControllerDeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteAioControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -621,7 +617,7 @@ class AioControllerDeleteRequest final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerDeleteRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteAioControllerRequest) private: class _Internal; @@ -634,24 +630,24 @@ class AioControllerDeleteRequest final : }; // ------------------------------------------------------------------- -class AioControllerUpdateRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerUpdateRequest) */ { +class UpdateAioControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.UpdateAioControllerRequest) */ { public: - inline AioControllerUpdateRequest() : AioControllerUpdateRequest(nullptr) {} - ~AioControllerUpdateRequest() override; - explicit constexpr AioControllerUpdateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateAioControllerRequest() : UpdateAioControllerRequest(nullptr) {} + ~UpdateAioControllerRequest() override; + explicit constexpr UpdateAioControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerUpdateRequest(const AioControllerUpdateRequest& from); - AioControllerUpdateRequest(AioControllerUpdateRequest&& from) noexcept - : AioControllerUpdateRequest() { + UpdateAioControllerRequest(const UpdateAioControllerRequest& from); + UpdateAioControllerRequest(UpdateAioControllerRequest&& from) noexcept + : UpdateAioControllerRequest() { *this = ::std::move(from); } - inline AioControllerUpdateRequest& operator=(const AioControllerUpdateRequest& from) { + inline UpdateAioControllerRequest& operator=(const UpdateAioControllerRequest& from) { CopyFrom(from); return *this; } - inline AioControllerUpdateRequest& operator=(AioControllerUpdateRequest&& from) noexcept { + inline UpdateAioControllerRequest& operator=(UpdateAioControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -674,20 +670,20 @@ class AioControllerUpdateRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerUpdateRequest& default_instance() { + static const UpdateAioControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const AioControllerUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_AioControllerUpdateRequest_default_instance_); + static inline const UpdateAioControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateAioControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 3; - friend void swap(AioControllerUpdateRequest& a, AioControllerUpdateRequest& b) { + friend void swap(UpdateAioControllerRequest& a, UpdateAioControllerRequest& b) { a.Swap(&b); } - inline void Swap(AioControllerUpdateRequest* other) { + inline void Swap(UpdateAioControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -700,7 +696,7 @@ class AioControllerUpdateRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerUpdateRequest* other) { + void UnsafeArenaSwap(UpdateAioControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -708,13 +704,13 @@ class AioControllerUpdateRequest final : // implements Message ---------------------------------------------- - AioControllerUpdateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateAioControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerUpdateRequest& from); + void CopyFrom(const UpdateAioControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerUpdateRequest& from); + void MergeFrom(const UpdateAioControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -731,15 +727,15 @@ class AioControllerUpdateRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerUpdateRequest* other); + void InternalSwap(UpdateAioControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerUpdateRequest"; + return "opi_api.storage.v1.UpdateAioControllerRequest"; } protected: - explicit AioControllerUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateAioControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -776,7 +772,7 @@ class AioControllerUpdateRequest final : ::opi_api::storage::v1::AioController* device); ::opi_api::storage::v1::AioController* unsafe_arena_release_device(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerUpdateRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateAioControllerRequest) private: class _Internal; @@ -789,24 +785,24 @@ class AioControllerUpdateRequest final : }; // ------------------------------------------------------------------- -class AioControllerList final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerList) */ { +class ListAioControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ListAioControllerRequest) */ { public: - inline AioControllerList() : AioControllerList(nullptr) {} - ~AioControllerList() override; - explicit constexpr AioControllerList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListAioControllerRequest() : ListAioControllerRequest(nullptr) {} + ~ListAioControllerRequest() override; + explicit constexpr ListAioControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerList(const AioControllerList& from); - AioControllerList(AioControllerList&& from) noexcept - : AioControllerList() { + ListAioControllerRequest(const ListAioControllerRequest& from); + ListAioControllerRequest(ListAioControllerRequest&& from) noexcept + : ListAioControllerRequest() { *this = ::std::move(from); } - inline AioControllerList& operator=(const AioControllerList& from) { + inline ListAioControllerRequest& operator=(const ListAioControllerRequest& from) { CopyFrom(from); return *this; } - inline AioControllerList& operator=(AioControllerList&& from) noexcept { + inline ListAioControllerRequest& operator=(ListAioControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -829,20 +825,20 @@ class AioControllerList final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerList& default_instance() { + static const ListAioControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const AioControllerList* internal_default_instance() { - return reinterpret_cast( - &_AioControllerList_default_instance_); + static inline const ListAioControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_ListAioControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 4; - friend void swap(AioControllerList& a, AioControllerList& b) { + friend void swap(ListAioControllerRequest& a, ListAioControllerRequest& b) { a.Swap(&b); } - inline void Swap(AioControllerList* other) { + inline void Swap(ListAioControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -855,7 +851,7 @@ class AioControllerList final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerList* other) { + void UnsafeArenaSwap(ListAioControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -863,13 +859,13 @@ class AioControllerList final : // implements Message ---------------------------------------------- - AioControllerList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListAioControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerList& from); + void CopyFrom(const ListAioControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerList& from); + void MergeFrom(const ListAioControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -886,15 +882,15 @@ class AioControllerList final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerList* other); + void InternalSwap(ListAioControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerList"; + return "opi_api.storage.v1.ListAioControllerRequest"; } protected: - explicit AioControllerList(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListAioControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -911,57 +907,64 @@ class AioControllerList final : // accessors ------------------------------------------------------- enum : int { - kDeviceFieldNumber = 1, + kPageTokenFieldNumber = 2, + kPageSizeFieldNumber = 1, }; - // repeated .opi_api.storage.v1.AioController device = 1; - int device_size() const; + // string page_token = 2; + void clear_page_token(); + const std::string& page_token() const; + template + void set_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_page_token(); + PROTOBUF_NODISCARD std::string* release_page_token(); + void set_allocated_page_token(std::string* page_token); private: - int _internal_device_size() const; + const std::string& _internal_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_page_token(const std::string& value); + std::string* _internal_mutable_page_token(); public: - void clear_device(); - ::opi_api::storage::v1::AioController* mutable_device(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >* - mutable_device(); + + // int32 page_size = 1; + void clear_page_size(); + int32_t page_size() const; + void set_page_size(int32_t value); private: - const ::opi_api::storage::v1::AioController& _internal_device(int index) const; - ::opi_api::storage::v1::AioController* _internal_add_device(); + int32_t _internal_page_size() const; + void _internal_set_page_size(int32_t value); public: - const ::opi_api::storage::v1::AioController& device(int index) const; - ::opi_api::storage::v1::AioController* add_device(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >& - device() const; - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerList) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListAioControllerRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController > device_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; + int32_t page_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5faio_2eproto; }; // ------------------------------------------------------------------- -class AioControllerGetRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerGetRequest) */ { +class ListAioControllerResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ListAioControllerResponse) */ { public: - inline AioControllerGetRequest() : AioControllerGetRequest(nullptr) {} - ~AioControllerGetRequest() override; - explicit constexpr AioControllerGetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListAioControllerResponse() : ListAioControllerResponse(nullptr) {} + ~ListAioControllerResponse() override; + explicit constexpr ListAioControllerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerGetRequest(const AioControllerGetRequest& from); - AioControllerGetRequest(AioControllerGetRequest&& from) noexcept - : AioControllerGetRequest() { + ListAioControllerResponse(const ListAioControllerResponse& from); + ListAioControllerResponse(ListAioControllerResponse&& from) noexcept + : ListAioControllerResponse() { *this = ::std::move(from); } - inline AioControllerGetRequest& operator=(const AioControllerGetRequest& from) { + inline ListAioControllerResponse& operator=(const ListAioControllerResponse& from) { CopyFrom(from); return *this; } - inline AioControllerGetRequest& operator=(AioControllerGetRequest&& from) noexcept { + inline ListAioControllerResponse& operator=(ListAioControllerResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -984,20 +987,20 @@ class AioControllerGetRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerGetRequest& default_instance() { + static const ListAioControllerResponse& default_instance() { return *internal_default_instance(); } - static inline const AioControllerGetRequest* internal_default_instance() { - return reinterpret_cast( - &_AioControllerGetRequest_default_instance_); + static inline const ListAioControllerResponse* internal_default_instance() { + return reinterpret_cast( + &_ListAioControllerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 5; - friend void swap(AioControllerGetRequest& a, AioControllerGetRequest& b) { + friend void swap(ListAioControllerResponse& a, ListAioControllerResponse& b) { a.Swap(&b); } - inline void Swap(AioControllerGetRequest* other) { + inline void Swap(ListAioControllerResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1010,7 +1013,7 @@ class AioControllerGetRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerGetRequest* other) { + void UnsafeArenaSwap(ListAioControllerResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1018,13 +1021,13 @@ class AioControllerGetRequest final : // implements Message ---------------------------------------------- - AioControllerGetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListAioControllerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerGetRequest& from); + void CopyFrom(const ListAioControllerResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerGetRequest& from); + void MergeFrom(const ListAioControllerResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1041,15 +1044,15 @@ class AioControllerGetRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerGetRequest* other); + void InternalSwap(ListAioControllerResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerGetRequest"; + return "opi_api.storage.v1.ListAioControllerResponse"; } protected: - explicit AioControllerGetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListAioControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1066,175 +1069,73 @@ class AioControllerGetRequest final : // accessors ------------------------------------------------------- enum : int { - kHandleFieldNumber = 1, + kDevicesFieldNumber = 1, + kNextPageTokenFieldNumber = 2, }; - // .opi_api.common.v1.ObjectKey handle = 1; - bool has_handle() const; + // repeated .opi_api.storage.v1.AioController devices = 1; + int devices_size() const; private: - bool _internal_has_handle() const; + int _internal_devices_size() const; public: - void clear_handle(); - const ::opi_api::common::v1::ObjectKey& handle() const; - PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_handle(); - ::opi_api::common::v1::ObjectKey* mutable_handle(); - void set_allocated_handle(::opi_api::common::v1::ObjectKey* handle); + void clear_devices(); + ::opi_api::storage::v1::AioController* mutable_devices(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >* + mutable_devices(); private: - const ::opi_api::common::v1::ObjectKey& _internal_handle() const; - ::opi_api::common::v1::ObjectKey* _internal_mutable_handle(); - public: - void unsafe_arena_set_allocated_handle( - ::opi_api::common::v1::ObjectKey* handle); - ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::opi_api::common::v1::ObjectKey* handle_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_backend_5faio_2eproto; -}; -// ------------------------------------------------------------------- - -class AioControllerGetListRequest final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerGetListRequest) */ { - public: - inline AioControllerGetListRequest() : AioControllerGetListRequest(nullptr) {} - explicit constexpr AioControllerGetListRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AioControllerGetListRequest(const AioControllerGetListRequest& from); - AioControllerGetListRequest(AioControllerGetListRequest&& from) noexcept - : AioControllerGetListRequest() { - *this = ::std::move(from); - } - - inline AioControllerGetListRequest& operator=(const AioControllerGetListRequest& from) { - CopyFrom(from); - return *this; - } - inline AioControllerGetListRequest& operator=(AioControllerGetListRequest&& 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 AioControllerGetListRequest& default_instance() { - return *internal_default_instance(); - } - static inline const AioControllerGetListRequest* internal_default_instance() { - return reinterpret_cast( - &_AioControllerGetListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(AioControllerGetListRequest& a, AioControllerGetListRequest& b) { - a.Swap(&b); - } - inline void Swap(AioControllerGetListRequest* 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(AioControllerGetListRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AioControllerGetListRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const AioControllerGetListRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const AioControllerGetListRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); - } + const ::opi_api::storage::v1::AioController& _internal_devices(int index) const; + ::opi_api::storage::v1::AioController* _internal_add_devices(); public: + const ::opi_api::storage::v1::AioController& devices(int index) const; + ::opi_api::storage::v1::AioController* add_devices(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >& + devices() const; + // string next_page_token = 2; + void clear_next_page_token(); + const std::string& next_page_token() const; + template + void set_next_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_next_page_token(); + PROTOBUF_NODISCARD std::string* release_next_page_token(); + void set_allocated_next_page_token(std::string* next_page_token); private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerGetListRequest"; - } - protected: - explicit AioControllerGetListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - private: + const std::string& _internal_next_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_next_page_token(const std::string& value); + std::string* _internal_mutable_next_page_token(); 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.AioControllerGetListRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListAioControllerResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController > devices_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5faio_2eproto; }; // ------------------------------------------------------------------- -class AioControllerGetStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerGetStatsRequest) */ { +class GetAioControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.GetAioControllerRequest) */ { public: - inline AioControllerGetStatsRequest() : AioControllerGetStatsRequest(nullptr) {} - ~AioControllerGetStatsRequest() override; - explicit constexpr AioControllerGetStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetAioControllerRequest() : GetAioControllerRequest(nullptr) {} + ~GetAioControllerRequest() override; + explicit constexpr GetAioControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerGetStatsRequest(const AioControllerGetStatsRequest& from); - AioControllerGetStatsRequest(AioControllerGetStatsRequest&& from) noexcept - : AioControllerGetStatsRequest() { + GetAioControllerRequest(const GetAioControllerRequest& from); + GetAioControllerRequest(GetAioControllerRequest&& from) noexcept + : GetAioControllerRequest() { *this = ::std::move(from); } - inline AioControllerGetStatsRequest& operator=(const AioControllerGetStatsRequest& from) { + inline GetAioControllerRequest& operator=(const GetAioControllerRequest& from) { CopyFrom(from); return *this; } - inline AioControllerGetStatsRequest& operator=(AioControllerGetStatsRequest&& from) noexcept { + inline GetAioControllerRequest& operator=(GetAioControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1257,20 +1158,20 @@ class AioControllerGetStatsRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerGetStatsRequest& default_instance() { + static const GetAioControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const AioControllerGetStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_AioControllerGetStatsRequest_default_instance_); + static inline const GetAioControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_GetAioControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 6; - friend void swap(AioControllerGetStatsRequest& a, AioControllerGetStatsRequest& b) { + friend void swap(GetAioControllerRequest& a, GetAioControllerRequest& b) { a.Swap(&b); } - inline void Swap(AioControllerGetStatsRequest* other) { + inline void Swap(GetAioControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1283,7 +1184,7 @@ class AioControllerGetStatsRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerGetStatsRequest* other) { + void UnsafeArenaSwap(GetAioControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1291,13 +1192,13 @@ class AioControllerGetStatsRequest final : // implements Message ---------------------------------------------- - AioControllerGetStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetAioControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerGetStatsRequest& from); + void CopyFrom(const GetAioControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerGetStatsRequest& from); + void MergeFrom(const GetAioControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1314,15 +1215,15 @@ class AioControllerGetStatsRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerGetStatsRequest* other); + void InternalSwap(GetAioControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerGetStatsRequest"; + return "opi_api.storage.v1.GetAioControllerRequest"; } protected: - explicit AioControllerGetStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetAioControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1359,7 +1260,7 @@ class AioControllerGetStatsRequest final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetStatsRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetAioControllerRequest) private: class _Internal; @@ -1420,7 +1321,7 @@ class AioControllerStatsRequest final : &_AioControllerStatsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 7; friend void swap(AioControllerStatsRequest& a, AioControllerStatsRequest& b) { a.Swap(&b); @@ -1527,24 +1428,24 @@ class AioControllerStatsRequest final : }; // ------------------------------------------------------------------- -class AioControllerStats final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerStats) */ { +class AioControllerStatsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.AioControllerStatsResponse) */ { public: - inline AioControllerStats() : AioControllerStats(nullptr) {} - ~AioControllerStats() override; - explicit constexpr AioControllerStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline AioControllerStatsResponse() : AioControllerStatsResponse(nullptr) {} + ~AioControllerStatsResponse() override; + explicit constexpr AioControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - AioControllerStats(const AioControllerStats& from); - AioControllerStats(AioControllerStats&& from) noexcept - : AioControllerStats() { + AioControllerStatsResponse(const AioControllerStatsResponse& from); + AioControllerStatsResponse(AioControllerStatsResponse&& from) noexcept + : AioControllerStatsResponse() { *this = ::std::move(from); } - inline AioControllerStats& operator=(const AioControllerStats& from) { + inline AioControllerStatsResponse& operator=(const AioControllerStatsResponse& from) { CopyFrom(from); return *this; } - inline AioControllerStats& operator=(AioControllerStats&& from) noexcept { + inline AioControllerStatsResponse& operator=(AioControllerStatsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1567,20 +1468,20 @@ class AioControllerStats final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const AioControllerStats& default_instance() { + static const AioControllerStatsResponse& default_instance() { return *internal_default_instance(); } - static inline const AioControllerStats* internal_default_instance() { - return reinterpret_cast( - &_AioControllerStats_default_instance_); + static inline const AioControllerStatsResponse* internal_default_instance() { + return reinterpret_cast( + &_AioControllerStatsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 8; - friend void swap(AioControllerStats& a, AioControllerStats& b) { + friend void swap(AioControllerStatsResponse& a, AioControllerStatsResponse& b) { a.Swap(&b); } - inline void Swap(AioControllerStats* other) { + inline void Swap(AioControllerStatsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1593,7 +1494,7 @@ class AioControllerStats final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(AioControllerStats* other) { + void UnsafeArenaSwap(AioControllerStatsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1601,13 +1502,13 @@ class AioControllerStats final : // implements Message ---------------------------------------------- - AioControllerStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + AioControllerStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AioControllerStats& from); + void CopyFrom(const AioControllerStatsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const AioControllerStats& from); + void MergeFrom(const AioControllerStatsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1624,15 +1525,15 @@ class AioControllerStats final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(AioControllerStats* other); + void InternalSwap(AioControllerStatsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.AioControllerStats"; + return "opi_api.storage.v1.AioControllerStatsResponse"; } protected: - explicit AioControllerStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit AioControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1684,7 +1585,7 @@ class AioControllerStats final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStats) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStatsResponse) private: class _Internal; @@ -1972,31 +1873,31 @@ inline void AioController::set_allocated_filename(std::string* filename) { // ------------------------------------------------------------------- -// AioControllerCreateRequest +// CreateAioControllerRequest // .opi_api.storage.v1.AioController device = 1; -inline bool AioControllerCreateRequest::_internal_has_device() const { +inline bool CreateAioControllerRequest::_internal_has_device() const { return this != internal_default_instance() && device_ != nullptr; } -inline bool AioControllerCreateRequest::has_device() const { +inline bool CreateAioControllerRequest::has_device() const { return _internal_has_device(); } -inline void AioControllerCreateRequest::clear_device() { +inline void CreateAioControllerRequest::clear_device() { if (GetArenaForAllocation() == nullptr && device_ != nullptr) { delete device_; } device_ = nullptr; } -inline const ::opi_api::storage::v1::AioController& AioControllerCreateRequest::_internal_device() const { +inline const ::opi_api::storage::v1::AioController& CreateAioControllerRequest::_internal_device() const { const ::opi_api::storage::v1::AioController* p = device_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::storage::v1::_AioController_default_instance_); } -inline const ::opi_api::storage::v1::AioController& AioControllerCreateRequest::device() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerCreateRequest.device) +inline const ::opi_api::storage::v1::AioController& CreateAioControllerRequest::device() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateAioControllerRequest.device) return _internal_device(); } -inline void AioControllerCreateRequest::unsafe_arena_set_allocated_device( +inline void CreateAioControllerRequest::unsafe_arena_set_allocated_device( ::opi_api::storage::v1::AioController* device) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_); @@ -2007,9 +1908,9 @@ inline void AioControllerCreateRequest::unsafe_arena_set_allocated_device( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerCreateRequest.device) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateAioControllerRequest.device) } -inline ::opi_api::storage::v1::AioController* AioControllerCreateRequest::release_device() { +inline ::opi_api::storage::v1::AioController* CreateAioControllerRequest::release_device() { ::opi_api::storage::v1::AioController* temp = device_; device_ = nullptr; @@ -2024,14 +1925,14 @@ inline ::opi_api::storage::v1::AioController* AioControllerCreateRequest::releas #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::AioController* AioControllerCreateRequest::unsafe_arena_release_device() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerCreateRequest.device) +inline ::opi_api::storage::v1::AioController* CreateAioControllerRequest::unsafe_arena_release_device() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateAioControllerRequest.device) ::opi_api::storage::v1::AioController* temp = device_; device_ = nullptr; return temp; } -inline ::opi_api::storage::v1::AioController* AioControllerCreateRequest::_internal_mutable_device() { +inline ::opi_api::storage::v1::AioController* CreateAioControllerRequest::_internal_mutable_device() { if (device_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::AioController>(GetArenaForAllocation()); @@ -2039,12 +1940,12 @@ inline ::opi_api::storage::v1::AioController* AioControllerCreateRequest::_inter } return device_; } -inline ::opi_api::storage::v1::AioController* AioControllerCreateRequest::mutable_device() { +inline ::opi_api::storage::v1::AioController* CreateAioControllerRequest::mutable_device() { ::opi_api::storage::v1::AioController* _msg = _internal_mutable_device(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerCreateRequest.device) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateAioControllerRequest.device) return _msg; } -inline void AioControllerCreateRequest::set_allocated_device(::opi_api::storage::v1::AioController* device) { +inline void CreateAioControllerRequest::set_allocated_device(::opi_api::storage::v1::AioController* device) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete device_; @@ -2061,30 +1962,30 @@ inline void AioControllerCreateRequest::set_allocated_device(::opi_api::storage: } device_ = device; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerCreateRequest.device) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateAioControllerRequest.device) } // ------------------------------------------------------------------- -// AioControllerDeleteRequest +// DeleteAioControllerRequest // .opi_api.common.v1.ObjectKey handle = 1; -inline bool AioControllerDeleteRequest::_internal_has_handle() const { +inline bool DeleteAioControllerRequest::_internal_has_handle() const { return this != internal_default_instance() && handle_ != nullptr; } -inline bool AioControllerDeleteRequest::has_handle() const { +inline bool DeleteAioControllerRequest::has_handle() const { return _internal_has_handle(); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerDeleteRequest::_internal_handle() const { +inline const ::opi_api::common::v1::ObjectKey& DeleteAioControllerRequest::_internal_handle() const { const ::opi_api::common::v1::ObjectKey* p = handle_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerDeleteRequest::handle() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerDeleteRequest.handle) +inline const ::opi_api::common::v1::ObjectKey& DeleteAioControllerRequest::handle() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteAioControllerRequest.handle) return _internal_handle(); } -inline void AioControllerDeleteRequest::unsafe_arena_set_allocated_handle( +inline void DeleteAioControllerRequest::unsafe_arena_set_allocated_handle( ::opi_api::common::v1::ObjectKey* handle) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2095,9 +1996,9 @@ inline void AioControllerDeleteRequest::unsafe_arena_set_allocated_handle( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerDeleteRequest.handle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteAioControllerRequest.handle) } -inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::release_handle() { +inline ::opi_api::common::v1::ObjectKey* DeleteAioControllerRequest::release_handle() { ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; @@ -2112,14 +2013,14 @@ inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::release_han #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::unsafe_arena_release_handle() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerDeleteRequest.handle) +inline ::opi_api::common::v1::ObjectKey* DeleteAioControllerRequest::unsafe_arena_release_handle() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteAioControllerRequest.handle) ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; return temp; } -inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::_internal_mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* DeleteAioControllerRequest::_internal_mutable_handle() { if (handle_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); @@ -2127,12 +2028,12 @@ inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::_internal_m } return handle_; } -inline ::opi_api::common::v1::ObjectKey* AioControllerDeleteRequest::mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* DeleteAioControllerRequest::mutable_handle() { ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerDeleteRequest.handle) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteAioControllerRequest.handle) return _msg; } -inline void AioControllerDeleteRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { +inline void DeleteAioControllerRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2151,36 +2052,36 @@ inline void AioControllerDeleteRequest::set_allocated_handle(::opi_api::common:: } handle_ = handle; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerDeleteRequest.handle) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteAioControllerRequest.handle) } // ------------------------------------------------------------------- -// AioControllerUpdateRequest +// UpdateAioControllerRequest // .opi_api.storage.v1.AioController device = 1; -inline bool AioControllerUpdateRequest::_internal_has_device() const { +inline bool UpdateAioControllerRequest::_internal_has_device() const { return this != internal_default_instance() && device_ != nullptr; } -inline bool AioControllerUpdateRequest::has_device() const { +inline bool UpdateAioControllerRequest::has_device() const { return _internal_has_device(); } -inline void AioControllerUpdateRequest::clear_device() { +inline void UpdateAioControllerRequest::clear_device() { if (GetArenaForAllocation() == nullptr && device_ != nullptr) { delete device_; } device_ = nullptr; } -inline const ::opi_api::storage::v1::AioController& AioControllerUpdateRequest::_internal_device() const { +inline const ::opi_api::storage::v1::AioController& UpdateAioControllerRequest::_internal_device() const { const ::opi_api::storage::v1::AioController* p = device_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::storage::v1::_AioController_default_instance_); } -inline const ::opi_api::storage::v1::AioController& AioControllerUpdateRequest::device() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerUpdateRequest.device) +inline const ::opi_api::storage::v1::AioController& UpdateAioControllerRequest::device() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateAioControllerRequest.device) return _internal_device(); } -inline void AioControllerUpdateRequest::unsafe_arena_set_allocated_device( +inline void UpdateAioControllerRequest::unsafe_arena_set_allocated_device( ::opi_api::storage::v1::AioController* device) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_); @@ -2191,9 +2092,9 @@ inline void AioControllerUpdateRequest::unsafe_arena_set_allocated_device( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerUpdateRequest.device) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateAioControllerRequest.device) } -inline ::opi_api::storage::v1::AioController* AioControllerUpdateRequest::release_device() { +inline ::opi_api::storage::v1::AioController* UpdateAioControllerRequest::release_device() { ::opi_api::storage::v1::AioController* temp = device_; device_ = nullptr; @@ -2208,14 +2109,14 @@ inline ::opi_api::storage::v1::AioController* AioControllerUpdateRequest::releas #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::AioController* AioControllerUpdateRequest::unsafe_arena_release_device() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerUpdateRequest.device) +inline ::opi_api::storage::v1::AioController* UpdateAioControllerRequest::unsafe_arena_release_device() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateAioControllerRequest.device) ::opi_api::storage::v1::AioController* temp = device_; device_ = nullptr; return temp; } -inline ::opi_api::storage::v1::AioController* AioControllerUpdateRequest::_internal_mutable_device() { +inline ::opi_api::storage::v1::AioController* UpdateAioControllerRequest::_internal_mutable_device() { if (device_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::AioController>(GetArenaForAllocation()); @@ -2223,12 +2124,12 @@ inline ::opi_api::storage::v1::AioController* AioControllerUpdateRequest::_inter } return device_; } -inline ::opi_api::storage::v1::AioController* AioControllerUpdateRequest::mutable_device() { +inline ::opi_api::storage::v1::AioController* UpdateAioControllerRequest::mutable_device() { ::opi_api::storage::v1::AioController* _msg = _internal_mutable_device(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerUpdateRequest.device) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateAioControllerRequest.device) return _msg; } -inline void AioControllerUpdateRequest::set_allocated_device(::opi_api::storage::v1::AioController* device) { +inline void UpdateAioControllerRequest::set_allocated_device(::opi_api::storage::v1::AioController* device) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete device_; @@ -2245,168 +2146,200 @@ inline void AioControllerUpdateRequest::set_allocated_device(::opi_api::storage: } device_ = device; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerUpdateRequest.device) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateAioControllerRequest.device) } // ------------------------------------------------------------------- -// AioControllerList +// ListAioControllerRequest -// repeated .opi_api.storage.v1.AioController device = 1; -inline int AioControllerList::_internal_device_size() const { - return device_.size(); +// int32 page_size = 1; +inline void ListAioControllerRequest::clear_page_size() { + page_size_ = 0; } -inline int AioControllerList::device_size() const { - return _internal_device_size(); +inline int32_t ListAioControllerRequest::_internal_page_size() const { + return page_size_; } -inline void AioControllerList::clear_device() { - device_.Clear(); +inline int32_t ListAioControllerRequest::page_size() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListAioControllerRequest.page_size) + return _internal_page_size(); } -inline ::opi_api::storage::v1::AioController* AioControllerList::mutable_device(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerList.device) - return device_.Mutable(index); +inline void ListAioControllerRequest::_internal_set_page_size(int32_t value) { + + page_size_ = value; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >* -AioControllerList::mutable_device() { - // @@protoc_insertion_point(field_mutable_list:opi_api.storage.v1.AioControllerList.device) - return &device_; +inline void ListAioControllerRequest::set_page_size(int32_t value) { + _internal_set_page_size(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListAioControllerRequest.page_size) } -inline const ::opi_api::storage::v1::AioController& AioControllerList::_internal_device(int index) const { - return device_.Get(index); + +// string page_token = 2; +inline void ListAioControllerRequest::clear_page_token() { + page_token_.ClearToEmpty(); } -inline const ::opi_api::storage::v1::AioController& AioControllerList::device(int index) const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerList.device) - return _internal_device(index); +inline const std::string& ListAioControllerRequest::page_token() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListAioControllerRequest.page_token) + return _internal_page_token(); } -inline ::opi_api::storage::v1::AioController* AioControllerList::_internal_add_device() { - return device_.Add(); +template +inline PROTOBUF_ALWAYS_INLINE +void ListAioControllerRequest::set_page_token(ArgT0&& arg0, ArgT... args) { + + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListAioControllerRequest.page_token) } -inline ::opi_api::storage::v1::AioController* AioControllerList::add_device() { - ::opi_api::storage::v1::AioController* _add = _internal_add_device(); - // @@protoc_insertion_point(field_add:opi_api.storage.v1.AioControllerList.device) - return _add; +inline std::string* ListAioControllerRequest::mutable_page_token() { + std::string* _s = _internal_mutable_page_token(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListAioControllerRequest.page_token) + return _s; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >& -AioControllerList::device() const { - // @@protoc_insertion_point(field_list:opi_api.storage.v1.AioControllerList.device) - return device_; +inline const std::string& ListAioControllerRequest::_internal_page_token() const { + return page_token_.Get(); +} +inline void ListAioControllerRequest::_internal_set_page_token(const std::string& value) { + + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ListAioControllerRequest::_internal_mutable_page_token() { + + return page_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ListAioControllerRequest::release_page_token() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ListAioControllerRequest.page_token) + return page_token_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ListAioControllerRequest::set_allocated_page_token(std::string* page_token) { + if (page_token != nullptr) { + + } else { + + } + page_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), page_token, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (page_token_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ListAioControllerRequest.page_token) } // ------------------------------------------------------------------- -// AioControllerGetRequest +// ListAioControllerResponse -// .opi_api.common.v1.ObjectKey handle = 1; -inline bool AioControllerGetRequest::_internal_has_handle() const { - return this != internal_default_instance() && handle_ != nullptr; +// repeated .opi_api.storage.v1.AioController devices = 1; +inline int ListAioControllerResponse::_internal_devices_size() const { + return devices_.size(); } -inline bool AioControllerGetRequest::has_handle() const { - return _internal_has_handle(); +inline int ListAioControllerResponse::devices_size() const { + return _internal_devices_size(); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerGetRequest::_internal_handle() const { - const ::opi_api::common::v1::ObjectKey* p = handle_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::common::v1::_ObjectKey_default_instance_); +inline void ListAioControllerResponse::clear_devices() { + devices_.Clear(); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerGetRequest::handle() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerGetRequest.handle) - return _internal_handle(); +inline ::opi_api::storage::v1::AioController* ListAioControllerResponse::mutable_devices(int index) { + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListAioControllerResponse.devices) + return devices_.Mutable(index); } -inline void AioControllerGetRequest::unsafe_arena_set_allocated_handle( - ::opi_api::common::v1::ObjectKey* handle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); - } - handle_ = handle; - if (handle) { - - } else { - - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerGetRequest.handle) +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >* +ListAioControllerResponse::mutable_devices() { + // @@protoc_insertion_point(field_mutable_list:opi_api.storage.v1.ListAioControllerResponse.devices) + return &devices_; } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetRequest::release_handle() { - - ::opi_api::common::v1::ObjectKey* temp = handle_; - handle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; +inline const ::opi_api::storage::v1::AioController& ListAioControllerResponse::_internal_devices(int index) const { + return devices_.Get(index); +} +inline const ::opi_api::storage::v1::AioController& ListAioControllerResponse::devices(int index) const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListAioControllerResponse.devices) + return _internal_devices(index); +} +inline ::opi_api::storage::v1::AioController* ListAioControllerResponse::_internal_add_devices() { + return devices_.Add(); +} +inline ::opi_api::storage::v1::AioController* ListAioControllerResponse::add_devices() { + ::opi_api::storage::v1::AioController* _add = _internal_add_devices(); + // @@protoc_insertion_point(field_add:opi_api.storage.v1.ListAioControllerResponse.devices) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::AioController >& +ListAioControllerResponse::devices() const { + // @@protoc_insertion_point(field_list:opi_api.storage.v1.ListAioControllerResponse.devices) + return devices_; +} + +// string next_page_token = 2; +inline void ListAioControllerResponse::clear_next_page_token() { + next_page_token_.ClearToEmpty(); } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetRequest::unsafe_arena_release_handle() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerGetRequest.handle) +inline const std::string& ListAioControllerResponse::next_page_token() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListAioControllerResponse.next_page_token) + return _internal_next_page_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ListAioControllerResponse::set_next_page_token(ArgT0&& arg0, ArgT... args) { + + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListAioControllerResponse.next_page_token) +} +inline std::string* ListAioControllerResponse::mutable_next_page_token() { + std::string* _s = _internal_mutable_next_page_token(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListAioControllerResponse.next_page_token) + return _s; +} +inline const std::string& ListAioControllerResponse::_internal_next_page_token() const { + return next_page_token_.Get(); +} +inline void ListAioControllerResponse::_internal_set_next_page_token(const std::string& value) { - ::opi_api::common::v1::ObjectKey* temp = handle_; - handle_ = nullptr; - return temp; + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetRequest::_internal_mutable_handle() { +inline std::string* ListAioControllerResponse::_internal_mutable_next_page_token() { - if (handle_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); - handle_ = p; - } - return handle_; + return next_page_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetRequest::mutable_handle() { - ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerGetRequest.handle) - return _msg; +inline std::string* ListAioControllerResponse::release_next_page_token() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ListAioControllerResponse.next_page_token) + return next_page_token_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void AioControllerGetRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); - } - if (handle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< - ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle)); - if (message_arena != submessage_arena) { - handle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, handle, submessage_arena); - } +inline void ListAioControllerResponse::set_allocated_next_page_token(std::string* next_page_token) { + if (next_page_token != nullptr) { } else { } - handle_ = handle; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerGetRequest.handle) + next_page_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), next_page_token, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (next_page_token_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ListAioControllerResponse.next_page_token) } // ------------------------------------------------------------------- -// AioControllerGetListRequest - -// ------------------------------------------------------------------- - -// AioControllerGetStatsRequest +// GetAioControllerRequest // .opi_api.common.v1.ObjectKey handle = 1; -inline bool AioControllerGetStatsRequest::_internal_has_handle() const { +inline bool GetAioControllerRequest::_internal_has_handle() const { return this != internal_default_instance() && handle_ != nullptr; } -inline bool AioControllerGetStatsRequest::has_handle() const { +inline bool GetAioControllerRequest::has_handle() const { return _internal_has_handle(); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerGetStatsRequest::_internal_handle() const { +inline const ::opi_api::common::v1::ObjectKey& GetAioControllerRequest::_internal_handle() const { const ::opi_api::common::v1::ObjectKey* p = handle_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerGetStatsRequest::handle() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerGetStatsRequest.handle) +inline const ::opi_api::common::v1::ObjectKey& GetAioControllerRequest::handle() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.GetAioControllerRequest.handle) return _internal_handle(); } -inline void AioControllerGetStatsRequest::unsafe_arena_set_allocated_handle( +inline void GetAioControllerRequest::unsafe_arena_set_allocated_handle( ::opi_api::common::v1::ObjectKey* handle) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2417,9 +2350,9 @@ inline void AioControllerGetStatsRequest::unsafe_arena_set_allocated_handle( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerGetStatsRequest.handle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.GetAioControllerRequest.handle) } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetStatsRequest::release_handle() { +inline ::opi_api::common::v1::ObjectKey* GetAioControllerRequest::release_handle() { ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; @@ -2434,14 +2367,14 @@ inline ::opi_api::common::v1::ObjectKey* AioControllerGetStatsRequest::release_h #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetStatsRequest::unsafe_arena_release_handle() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerGetStatsRequest.handle) +inline ::opi_api::common::v1::ObjectKey* GetAioControllerRequest::unsafe_arena_release_handle() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.GetAioControllerRequest.handle) ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; return temp; } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetStatsRequest::_internal_mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* GetAioControllerRequest::_internal_mutable_handle() { if (handle_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); @@ -2449,12 +2382,12 @@ inline ::opi_api::common::v1::ObjectKey* AioControllerGetStatsRequest::_internal } return handle_; } -inline ::opi_api::common::v1::ObjectKey* AioControllerGetStatsRequest::mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* GetAioControllerRequest::mutable_handle() { ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerGetStatsRequest.handle) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.GetAioControllerRequest.handle) return _msg; } -inline void AioControllerGetStatsRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { +inline void GetAioControllerRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2473,7 +2406,7 @@ inline void AioControllerGetStatsRequest::set_allocated_handle(::opi_api::common } handle_ = handle; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerGetStatsRequest.handle) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.GetAioControllerRequest.handle) } // ------------------------------------------------------------------- @@ -2568,25 +2501,25 @@ inline void AioControllerStatsRequest::set_allocated_handle(::opi_api::common::v // ------------------------------------------------------------------- -// AioControllerStats +// AioControllerStatsResponse // .opi_api.common.v1.ObjectKey handle = 1; -inline bool AioControllerStats::_internal_has_handle() const { +inline bool AioControllerStatsResponse::_internal_has_handle() const { return this != internal_default_instance() && handle_ != nullptr; } -inline bool AioControllerStats::has_handle() const { +inline bool AioControllerStatsResponse::has_handle() const { return _internal_has_handle(); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerStats::_internal_handle() const { +inline const ::opi_api::common::v1::ObjectKey& AioControllerStatsResponse::_internal_handle() const { const ::opi_api::common::v1::ObjectKey* p = handle_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::common::v1::ObjectKey& AioControllerStats::handle() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerStats.handle) +inline const ::opi_api::common::v1::ObjectKey& AioControllerStatsResponse::handle() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerStatsResponse.handle) return _internal_handle(); } -inline void AioControllerStats::unsafe_arena_set_allocated_handle( +inline void AioControllerStatsResponse::unsafe_arena_set_allocated_handle( ::opi_api::common::v1::ObjectKey* handle) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2597,9 +2530,9 @@ inline void AioControllerStats::unsafe_arena_set_allocated_handle( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerStats.handle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.AioControllerStatsResponse.handle) } -inline ::opi_api::common::v1::ObjectKey* AioControllerStats::release_handle() { +inline ::opi_api::common::v1::ObjectKey* AioControllerStatsResponse::release_handle() { ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; @@ -2614,14 +2547,14 @@ inline ::opi_api::common::v1::ObjectKey* AioControllerStats::release_handle() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::common::v1::ObjectKey* AioControllerStats::unsafe_arena_release_handle() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerStats.handle) +inline ::opi_api::common::v1::ObjectKey* AioControllerStatsResponse::unsafe_arena_release_handle() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerStatsResponse.handle) ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; return temp; } -inline ::opi_api::common::v1::ObjectKey* AioControllerStats::_internal_mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* AioControllerStatsResponse::_internal_mutable_handle() { if (handle_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); @@ -2629,12 +2562,12 @@ inline ::opi_api::common::v1::ObjectKey* AioControllerStats::_internal_mutable_h } return handle_; } -inline ::opi_api::common::v1::ObjectKey* AioControllerStats::mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* AioControllerStatsResponse::mutable_handle() { ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerStats.handle) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerStatsResponse.handle) return _msg; } -inline void AioControllerStats::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { +inline void AioControllerStatsResponse::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2653,45 +2586,45 @@ inline void AioControllerStats::set_allocated_handle(::opi_api::common::v1::Obje } handle_ = handle; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerStats.handle) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerStatsResponse.handle) } // string stats = 2; -inline void AioControllerStats::clear_stats() { +inline void AioControllerStatsResponse::clear_stats() { stats_.ClearToEmpty(); } -inline const std::string& AioControllerStats::stats() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerStats.stats) +inline const std::string& AioControllerStatsResponse::stats() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.AioControllerStatsResponse.stats) return _internal_stats(); } template inline PROTOBUF_ALWAYS_INLINE -void AioControllerStats::set_stats(ArgT0&& arg0, ArgT... args) { +void AioControllerStatsResponse::set_stats(ArgT0&& arg0, ArgT... args) { stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.AioControllerStats.stats) + // @@protoc_insertion_point(field_set:opi_api.storage.v1.AioControllerStatsResponse.stats) } -inline std::string* AioControllerStats::mutable_stats() { +inline std::string* AioControllerStatsResponse::mutable_stats() { std::string* _s = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerStats.stats) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.AioControllerStatsResponse.stats) return _s; } -inline const std::string& AioControllerStats::_internal_stats() const { +inline const std::string& AioControllerStatsResponse::_internal_stats() const { return stats_.Get(); } -inline void AioControllerStats::_internal_set_stats(const std::string& value) { +inline void AioControllerStatsResponse::_internal_set_stats(const std::string& value) { stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline std::string* AioControllerStats::_internal_mutable_stats() { +inline std::string* AioControllerStatsResponse::_internal_mutable_stats() { return stats_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline std::string* AioControllerStats::release_stats() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerStats.stats) +inline std::string* AioControllerStatsResponse::release_stats() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.AioControllerStatsResponse.stats) return stats_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void AioControllerStats::set_allocated_stats(std::string* stats) { +inline void AioControllerStatsResponse::set_allocated_stats(std::string* stats) { if (stats != nullptr) { } else { @@ -2704,7 +2637,7 @@ inline void AioControllerStats::set_allocated_stats(std::string* stats) { stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerStats.stats) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.AioControllerStatsResponse.stats) } #ifdef __GNUC__ @@ -2726,8 +2659,6 @@ inline void AioControllerStats::set_allocated_stats(std::string* stats) { // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) diff --git a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc index 5e993541..aac2efd0 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.cc @@ -24,11 +24,11 @@ namespace storage { namespace v1 { static const char* NullDebugService_method_names[] = { - "/opi_api.storage.v1.NullDebugService/NullDebugCreate", - "/opi_api.storage.v1.NullDebugService/NullDebugDelete", - "/opi_api.storage.v1.NullDebugService/NullDebugUpdate", - "/opi_api.storage.v1.NullDebugService/NullDebugList", - "/opi_api.storage.v1.NullDebugService/NullDebugGet", + "/opi_api.storage.v1.NullDebugService/CreateNullDebug", + "/opi_api.storage.v1.NullDebugService/DeleteNullDebug", + "/opi_api.storage.v1.NullDebugService/UpdateNullDebug", + "/opi_api.storage.v1.NullDebugService/ListNullDebug", + "/opi_api.storage.v1.NullDebugService/GetNullDebug", "/opi_api.storage.v1.NullDebugService/NullDebugStats", }; @@ -39,125 +39,125 @@ std::unique_ptr< NullDebugService::Stub> NullDebugService::NewStub(const std::sh } NullDebugService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) - : channel_(channel), rpcmethod_NullDebugCreate_(NullDebugService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NullDebugDelete_(NullDebugService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NullDebugUpdate_(NullDebugService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NullDebugList_(NullDebugService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NullDebugGet_(NullDebugService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + : channel_(channel), rpcmethod_CreateNullDebug_(NullDebugService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteNullDebug_(NullDebugService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateNullDebug_(NullDebugService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListNullDebug_(NullDebugService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetNullDebug_(NullDebugService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_NullDebugStats_(NullDebugService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} -::grpc::Status NullDebugService::Stub::NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::opi_api::storage::v1::NullDebug* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NullDebugCreate_, context, request, response); +::grpc::Status NullDebugService::Stub::CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CreateNullDebug_, context, request, response); } -void NullDebugService::Stub::async::NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugCreate_, context, request, response, std::move(f)); +void NullDebugService::Stub::async::CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateNullDebug_, context, request, response, std::move(f)); } -void NullDebugService::Stub::async::NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugCreate_, context, request, response, reactor); +void NullDebugService::Stub::async::CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateNullDebug_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::PrepareAsyncNullDebugCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebug, ::opi_api::storage::v1::NullDebugCreateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NullDebugCreate_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::PrepareAsyncCreateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebug, ::opi_api::storage::v1::CreateNullDebugRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CreateNullDebug_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::AsyncNullDebugCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::AsyncCreateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNullDebugCreateRaw(context, request, cq); + this->PrepareAsyncCreateNullDebugRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NullDebugService::Stub::NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::google::protobuf::Empty* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NullDebugDelete_, context, request, response); +::grpc::Status NullDebugService::Stub::DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteNullDebug_, context, request, response); } -void NullDebugService::Stub::async::NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugDelete_, context, request, response, std::move(f)); +void NullDebugService::Stub::async::DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteNullDebug_, context, request, response, std::move(f)); } -void NullDebugService::Stub::async::NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugDelete_, context, request, response, reactor); +void NullDebugService::Stub::async::DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteNullDebug_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NullDebugService::Stub::PrepareAsyncNullDebugDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::NullDebugDeleteRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NullDebugDelete_, context, request); +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NullDebugService::Stub::PrepareAsyncDeleteNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::DeleteNullDebugRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteNullDebug_, context, request); } -::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NullDebugService::Stub::AsyncNullDebugDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NullDebugService::Stub::AsyncDeleteNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNullDebugDeleteRaw(context, request, cq); + this->PrepareAsyncDeleteNullDebugRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NullDebugService::Stub::NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::opi_api::storage::v1::NullDebug* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NullDebugUpdate_, context, request, response); +::grpc::Status NullDebugService::Stub::UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateNullDebug_, context, request, response); } -void NullDebugService::Stub::async::NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugUpdate_, context, request, response, std::move(f)); +void NullDebugService::Stub::async::UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateNullDebug_, context, request, response, std::move(f)); } -void NullDebugService::Stub::async::NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugUpdate_, context, request, response, reactor); +void NullDebugService::Stub::async::UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateNullDebug_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::PrepareAsyncNullDebugUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebug, ::opi_api::storage::v1::NullDebugUpdateRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NullDebugUpdate_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::PrepareAsyncUpdateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebug, ::opi_api::storage::v1::UpdateNullDebugRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateNullDebug_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::AsyncNullDebugUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::AsyncUpdateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNullDebugUpdateRaw(context, request, cq); + this->PrepareAsyncUpdateNullDebugRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NullDebugService::Stub::NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::opi_api::storage::v1::NullDebugListResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NullDebugList_, context, request, response); +::grpc::Status NullDebugService::Stub::ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::opi_api::storage::v1::ListNullDebugResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ListNullDebug_, context, request, response); } -void NullDebugService::Stub::async::NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugList_, context, request, response, std::move(f)); +void NullDebugService::Stub::async::ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListNullDebug_, context, request, response, std::move(f)); } -void NullDebugService::Stub::async::NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugList_, context, request, response, reactor); +void NullDebugService::Stub::async::ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListNullDebug_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>* NullDebugService::Stub::PrepareAsyncNullDebugListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebugListResponse, ::opi_api::storage::v1::NullDebugListRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NullDebugList_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>* NullDebugService::Stub::PrepareAsyncListNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::ListNullDebugResponse, ::opi_api::storage::v1::ListNullDebugRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ListNullDebug_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>* NullDebugService::Stub::AsyncNullDebugListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>* NullDebugService::Stub::AsyncListNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNullDebugListRaw(context, request, cq); + this->PrepareAsyncListNullDebugRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NullDebugService::Stub::NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::opi_api::storage::v1::NullDebug* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NullDebugGet_, context, request, response); +::grpc::Status NullDebugService::Stub::GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetNullDebug_, context, request, response); } -void NullDebugService::Stub::async::NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugGet_, context, request, response, std::move(f)); +void NullDebugService::Stub::async::GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetNullDebug_, context, request, response, std::move(f)); } -void NullDebugService::Stub::async::NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NullDebugGet_, context, request, response, reactor); +void NullDebugService::Stub::async::GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetNullDebug_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::PrepareAsyncNullDebugGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebug, ::opi_api::storage::v1::NullDebugGetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NullDebugGet_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::PrepareAsyncGetNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NullDebug, ::opi_api::storage::v1::GetNullDebugRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetNullDebug_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::AsyncNullDebugGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* NullDebugService::Stub::AsyncGetNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNullDebugGetRaw(context, request, cq); + this->PrepareAsyncGetNullDebugRaw(context, request, cq); result->StartCall(); return result; } @@ -189,52 +189,52 @@ NullDebugService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( NullDebugService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NullDebugService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NullDebugCreateRequest* req, + const ::opi_api::storage::v1::CreateNullDebugRequest* req, ::opi_api::storage::v1::NullDebug* resp) { - return service->NullDebugCreate(ctx, req, resp); + return service->CreateNullDebug(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NullDebugService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NullDebugService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NullDebugDeleteRequest* req, + const ::opi_api::storage::v1::DeleteNullDebugRequest* req, ::google::protobuf::Empty* resp) { - return service->NullDebugDelete(ctx, req, resp); + return service->DeleteNullDebug(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NullDebugService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NullDebugService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NullDebugUpdateRequest* req, + const ::opi_api::storage::v1::UpdateNullDebugRequest* req, ::opi_api::storage::v1::NullDebug* resp) { - return service->NullDebugUpdate(ctx, req, resp); + return service->UpdateNullDebug(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NullDebugService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NullDebugService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NullDebugListRequest* req, - ::opi_api::storage::v1::NullDebugListResponse* resp) { - return service->NullDebugList(ctx, req, resp); + const ::opi_api::storage::v1::ListNullDebugRequest* req, + ::opi_api::storage::v1::ListNullDebugResponse* resp) { + return service->ListNullDebug(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NullDebugService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NullDebugService::Service, ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NullDebugService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NullDebugGetRequest* req, + const ::opi_api::storage::v1::GetNullDebugRequest* req, ::opi_api::storage::v1::NullDebug* resp) { - return service->NullDebugGet(ctx, req, resp); + return service->GetNullDebug(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NullDebugService_method_names[5], @@ -251,35 +251,35 @@ NullDebugService::Service::Service() { NullDebugService::Service::~Service() { } -::grpc::Status NullDebugService::Service::NullDebugCreate(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response) { +::grpc::Status NullDebugService::Service::CreateNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NullDebugService::Service::NullDebugDelete(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response) { +::grpc::Status NullDebugService::Service::DeleteNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NullDebugService::Service::NullDebugUpdate(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response) { +::grpc::Status NullDebugService::Service::UpdateNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NullDebugService::Service::NullDebugList(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response) { +::grpc::Status NullDebugService::Service::ListNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NullDebugService::Service::NullDebugGet(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response) { +::grpc::Status NullDebugService::Service::GetNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h index adc76630..3e931be5 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_null.grpc.pb.h @@ -42,40 +42,40 @@ class NullDebugService final { class StubInterface { public: virtual ~StubInterface() {} - virtual ::grpc::Status NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::opi_api::storage::v1::NullDebug* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> AsyncNullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(AsyncNullDebugCreateRaw(context, request, cq)); + virtual ::grpc::Status CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> AsyncCreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(AsyncCreateNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> PrepareAsyncNullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncNullDebugCreateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> PrepareAsyncCreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncCreateNullDebugRaw(context, request, cq)); } - virtual ::grpc::Status NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::google::protobuf::Empty* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncNullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncNullDebugDeleteRaw(context, request, cq)); + virtual ::grpc::Status DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncDeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncDeleteNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncNullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncNullDebugDeleteRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncDeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncDeleteNullDebugRaw(context, request, cq)); } - virtual ::grpc::Status NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::opi_api::storage::v1::NullDebug* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> AsyncNullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(AsyncNullDebugUpdateRaw(context, request, cq)); + virtual ::grpc::Status UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> AsyncUpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(AsyncUpdateNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> PrepareAsyncNullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncNullDebugUpdateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> PrepareAsyncUpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncUpdateNullDebugRaw(context, request, cq)); } - virtual ::grpc::Status NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::opi_api::storage::v1::NullDebugListResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugListResponse>> AsyncNullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugListResponse>>(AsyncNullDebugListRaw(context, request, cq)); + virtual ::grpc::Status ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::opi_api::storage::v1::ListNullDebugResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullDebugResponse>> AsyncListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullDebugResponse>>(AsyncListNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugListResponse>> PrepareAsyncNullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugListResponse>>(PrepareAsyncNullDebugListRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullDebugResponse>> PrepareAsyncListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullDebugResponse>>(PrepareAsyncListNullDebugRaw(context, request, cq)); } - virtual ::grpc::Status NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::opi_api::storage::v1::NullDebug* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> AsyncNullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(AsyncNullDebugGetRaw(context, request, cq)); + virtual ::grpc::Status GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> AsyncGetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(AsyncGetNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> PrepareAsyncNullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncNullDebugGetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>> PrepareAsyncGetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncGetNullDebugRaw(context, request, cq)); } virtual ::grpc::Status NullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::opi_api::storage::v1::NullDebugStatsResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugStatsResponse>> AsyncNullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::grpc::CompletionQueue* cq) { @@ -87,16 +87,16 @@ class NullDebugService final { class async_interface { public: virtual ~async_interface() {} - virtual void NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) = 0; - virtual void NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response, std::function) = 0; - virtual void NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) = 0; - virtual void NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response, std::function) = 0; - virtual void NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) = 0; - virtual void NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) = 0; + virtual void CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) = 0; + virtual void UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response, std::function) = 0; + virtual void ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) = 0; + virtual void GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void NullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest* request, ::opi_api::storage::v1::NullDebugStatsResponse* response, std::function) = 0; virtual void NullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest* request, ::opi_api::storage::v1::NullDebugStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; @@ -104,56 +104,56 @@ class NullDebugService final { virtual class async_interface* async() { return nullptr; } class async_interface* experimental_async() { return async(); } private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* AsyncNullDebugCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* PrepareAsyncNullDebugCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncNullDebugDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncNullDebugDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* AsyncNullDebugUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* PrepareAsyncNullDebugUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugListResponse>* AsyncNullDebugListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugListResponse>* PrepareAsyncNullDebugListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* AsyncNullDebugGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* PrepareAsyncNullDebugGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* AsyncCreateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* PrepareAsyncCreateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncDeleteNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* AsyncUpdateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* PrepareAsyncUpdateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullDebugResponse>* AsyncListNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNullDebugResponse>* PrepareAsyncListNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* AsyncGetNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebug>* PrepareAsyncGetNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugStatsResponse>* AsyncNullDebugStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NullDebugStatsResponse>* PrepareAsyncNullDebugStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& 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 NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::opi_api::storage::v1::NullDebug* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> AsyncNullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(AsyncNullDebugCreateRaw(context, request, cq)); + ::grpc::Status CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> AsyncCreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(AsyncCreateNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> PrepareAsyncNullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncNullDebugCreateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> PrepareAsyncCreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncCreateNullDebugRaw(context, request, cq)); } - ::grpc::Status NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::google::protobuf::Empty* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncNullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncNullDebugDeleteRaw(context, request, cq)); + ::grpc::Status DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncDeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncDeleteNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncNullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncNullDebugDeleteRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncDeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncDeleteNullDebugRaw(context, request, cq)); } - ::grpc::Status NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::opi_api::storage::v1::NullDebug* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> AsyncNullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(AsyncNullDebugUpdateRaw(context, request, cq)); + ::grpc::Status UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> AsyncUpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(AsyncUpdateNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> PrepareAsyncNullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncNullDebugUpdateRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> PrepareAsyncUpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncUpdateNullDebugRaw(context, request, cq)); } - ::grpc::Status NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::opi_api::storage::v1::NullDebugListResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>> AsyncNullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>>(AsyncNullDebugListRaw(context, request, cq)); + ::grpc::Status ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::opi_api::storage::v1::ListNullDebugResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>> AsyncListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>>(AsyncListNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>> PrepareAsyncNullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>>(PrepareAsyncNullDebugListRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>> PrepareAsyncListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>>(PrepareAsyncListNullDebugRaw(context, request, cq)); } - ::grpc::Status NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::opi_api::storage::v1::NullDebug* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> AsyncNullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(AsyncNullDebugGetRaw(context, request, cq)); + ::grpc::Status GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::opi_api::storage::v1::NullDebug* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> AsyncGetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(AsyncGetNullDebugRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> PrepareAsyncNullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncNullDebugGetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>> PrepareAsyncGetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>>(PrepareAsyncGetNullDebugRaw(context, request, cq)); } ::grpc::Status NullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::opi_api::storage::v1::NullDebugStatsResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugStatsResponse>> AsyncNullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::grpc::CompletionQueue* cq) { @@ -165,16 +165,16 @@ class NullDebugService final { class async final : public StubInterface::async_interface { public: - void NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) override; - void NullDebugCreate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) override; - void NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response, std::function) override; - void NullDebugDelete(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; - void NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) override; - void NullDebugUpdate(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) override; - void NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response, std::function) override; - void NullDebugList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) override; - void NullDebugGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) override; + void CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) override; + void CreateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response, std::function) override; + void DeleteNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + void UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) override; + void UpdateNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) override; + void ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response, std::function) override; + void ListNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, std::function) override; + void GetNullDebug(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response, ::grpc::ClientUnaryReactor* reactor) override; void NullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest* request, ::opi_api::storage::v1::NullDebugStatsResponse* response, std::function) override; void NullDebugStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest* request, ::opi_api::storage::v1::NullDebugStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: @@ -188,23 +188,23 @@ class NullDebugService final { private: std::shared_ptr< ::grpc::ChannelInterface> channel_; class async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* AsyncNullDebugCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* PrepareAsyncNullDebugCreateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncNullDebugDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncNullDebugDeleteRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* AsyncNullDebugUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* PrepareAsyncNullDebugUpdateRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>* AsyncNullDebugListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugListResponse>* PrepareAsyncNullDebugListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* AsyncNullDebugGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* PrepareAsyncNullDebugGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugGetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* AsyncCreateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* PrepareAsyncCreateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncDeleteNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* AsyncUpdateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* PrepareAsyncUpdateNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>* AsyncListNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNullDebugResponse>* PrepareAsyncListNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* AsyncGetNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebug>* PrepareAsyncGetNullDebugRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNullDebugRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugStatsResponse>* AsyncNullDebugStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NullDebugStatsResponse>* PrepareAsyncNullDebugStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_NullDebugCreate_; - const ::grpc::internal::RpcMethod rpcmethod_NullDebugDelete_; - const ::grpc::internal::RpcMethod rpcmethod_NullDebugUpdate_; - const ::grpc::internal::RpcMethod rpcmethod_NullDebugList_; - const ::grpc::internal::RpcMethod rpcmethod_NullDebugGet_; + const ::grpc::internal::RpcMethod rpcmethod_CreateNullDebug_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteNullDebug_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateNullDebug_; + const ::grpc::internal::RpcMethod rpcmethod_ListNullDebug_; + const ::grpc::internal::RpcMethod rpcmethod_GetNullDebug_; const ::grpc::internal::RpcMethod rpcmethod_NullDebugStats_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -213,110 +213,110 @@ class NullDebugService final { public: Service(); virtual ~Service(); - virtual ::grpc::Status NullDebugCreate(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response); - virtual ::grpc::Status NullDebugDelete(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response); - virtual ::grpc::Status NullDebugUpdate(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response); - virtual ::grpc::Status NullDebugList(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response); - virtual ::grpc::Status NullDebugGet(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response); + virtual ::grpc::Status CreateNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response); + virtual ::grpc::Status DeleteNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response); + virtual ::grpc::Status UpdateNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response); + virtual ::grpc::Status ListNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response); + virtual ::grpc::Status GetNullDebug(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response); virtual ::grpc::Status NullDebugStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NullDebugStatsRequest* request, ::opi_api::storage::v1::NullDebugStatsResponse* response); }; template - class WithAsyncMethod_NullDebugCreate : public BaseClass { + class WithAsyncMethod_CreateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NullDebugCreate() { + WithAsyncMethod_CreateNullDebug() { ::grpc::Service::MarkMethodAsync(0); } - ~WithAsyncMethod_NullDebugCreate() override { + ~WithAsyncMethod_CreateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status CreateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugCreate(::grpc::ServerContext* context, ::opi_api::storage::v1::NullDebugCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebug>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestCreateNullDebug(::grpc::ServerContext* context, ::opi_api::storage::v1::CreateNullDebugRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebug>* 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_NullDebugDelete : public BaseClass { + class WithAsyncMethod_DeleteNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NullDebugDelete() { + WithAsyncMethod_DeleteNullDebug() { ::grpc::Service::MarkMethodAsync(1); } - ~WithAsyncMethod_NullDebugDelete() override { + ~WithAsyncMethod_DeleteNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugDelete(::grpc::ServerContext* context, ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeleteNullDebug(::grpc::ServerContext* context, ::opi_api::storage::v1::DeleteNullDebugRequest* 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_NullDebugUpdate : public BaseClass { + class WithAsyncMethod_UpdateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NullDebugUpdate() { + WithAsyncMethod_UpdateNullDebug() { ::grpc::Service::MarkMethodAsync(2); } - ~WithAsyncMethod_NullDebugUpdate() override { + ~WithAsyncMethod_UpdateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status UpdateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugUpdate(::grpc::ServerContext* context, ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebug>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestUpdateNullDebug(::grpc::ServerContext* context, ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebug>* 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 WithAsyncMethod_NullDebugList : public BaseClass { + class WithAsyncMethod_ListNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NullDebugList() { + WithAsyncMethod_ListNullDebug() { ::grpc::Service::MarkMethodAsync(3); } - ~WithAsyncMethod_NullDebugList() override { + ~WithAsyncMethod_ListNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) override { + ::grpc::Status ListNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugList(::grpc::ServerContext* context, ::opi_api::storage::v1::NullDebugListRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebugListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestListNullDebug(::grpc::ServerContext* context, ::opi_api::storage::v1::ListNullDebugRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::ListNullDebugResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithAsyncMethod_NullDebugGet : public BaseClass { + class WithAsyncMethod_GetNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NullDebugGet() { + WithAsyncMethod_GetNullDebug() { ::grpc::Service::MarkMethodAsync(4); } - ~WithAsyncMethod_NullDebugGet() override { + ~WithAsyncMethod_GetNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status GetNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugGet(::grpc::ServerContext* context, ::opi_api::storage::v1::NullDebugGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebug>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetNullDebug(::grpc::ServerContext* context, ::opi_api::storage::v1::GetNullDebugRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NullDebug>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -340,141 +340,141 @@ class NullDebugService final { ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_NullDebugCreate > > > > > AsyncService; + typedef WithAsyncMethod_CreateNullDebug > > > > > AsyncService; template - class WithCallbackMethod_NullDebugCreate : public BaseClass { + class WithCallbackMethod_CreateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NullDebugCreate() { + WithCallbackMethod_CreateNullDebug() { ::grpc::Service::MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NullDebugCreateRequest* request, ::opi_api::storage::v1::NullDebug* response) { return this->NullDebugCreate(context, request, response); }));} - void SetMessageAllocatorFor_NullDebugCreate( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::CreateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response) { return this->CreateNullDebug(context, request, response); }));} + void SetMessageAllocatorFor_CreateNullDebug( + ::grpc::MessageAllocator< ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NullDebugCreate() override { + ~WithCallbackMethod_CreateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status CreateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugCreate( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* CreateNullDebug( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NullDebugDelete : public BaseClass { + class WithCallbackMethod_DeleteNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NullDebugDelete() { + WithCallbackMethod_DeleteNullDebug() { ::grpc::Service::MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NullDebugDeleteRequest* request, ::google::protobuf::Empty* response) { return this->NullDebugDelete(context, request, response); }));} - void SetMessageAllocatorFor_NullDebugDelete( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::DeleteNullDebugRequest* request, ::google::protobuf::Empty* response) { return this->DeleteNullDebug(context, request, response); }));} + void SetMessageAllocatorFor_DeleteNullDebug( + ::grpc::MessageAllocator< ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NullDebugDelete() override { + ~WithCallbackMethod_DeleteNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugDelete( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* DeleteNullDebug( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NullDebugUpdate : public BaseClass { + class WithCallbackMethod_UpdateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NullDebugUpdate() { + WithCallbackMethod_UpdateNullDebug() { ::grpc::Service::MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NullDebugUpdateRequest* request, ::opi_api::storage::v1::NullDebug* response) { return this->NullDebugUpdate(context, request, response); }));} - void SetMessageAllocatorFor_NullDebugUpdate( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::UpdateNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response) { return this->UpdateNullDebug(context, request, response); }));} + void SetMessageAllocatorFor_UpdateNullDebug( + ::grpc::MessageAllocator< ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NullDebugUpdate() override { + ~WithCallbackMethod_UpdateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status UpdateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugUpdate( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* UpdateNullDebug( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NullDebugList : public BaseClass { + class WithCallbackMethod_ListNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NullDebugList() { + WithCallbackMethod_ListNullDebug() { ::grpc::Service::MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NullDebugListRequest* request, ::opi_api::storage::v1::NullDebugListResponse* response) { return this->NullDebugList(context, request, response); }));} - void SetMessageAllocatorFor_NullDebugList( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::ListNullDebugRequest* request, ::opi_api::storage::v1::ListNullDebugResponse* response) { return this->ListNullDebug(context, request, response); }));} + void SetMessageAllocatorFor_ListNullDebug( + ::grpc::MessageAllocator< ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NullDebugList() override { + ~WithCallbackMethod_ListNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) override { + ::grpc::Status ListNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugList( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* ListNullDebug( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NullDebugGet : public BaseClass { + class WithCallbackMethod_GetNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NullDebugGet() { + WithCallbackMethod_GetNullDebug() { ::grpc::Service::MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NullDebugGetRequest* request, ::opi_api::storage::v1::NullDebug* response) { return this->NullDebugGet(context, request, response); }));} - void SetMessageAllocatorFor_NullDebugGet( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::GetNullDebugRequest* request, ::opi_api::storage::v1::NullDebug* response) { return this->GetNullDebug(context, request, response); }));} + void SetMessageAllocatorFor_GetNullDebug( + ::grpc::MessageAllocator< ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NullDebugGet() override { + ~WithCallbackMethod_GetNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status GetNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugGet( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* GetNullDebug( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) { return nullptr; } }; template class WithCallbackMethod_NullDebugStats : public BaseClass { @@ -503,89 +503,89 @@ class NullDebugService final { virtual ::grpc::ServerUnaryReactor* NullDebugStats( ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugStatsRequest* /*request*/, ::opi_api::storage::v1::NullDebugStatsResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_NullDebugCreate > > > > > CallbackService; + typedef WithCallbackMethod_CreateNullDebug > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template - class WithGenericMethod_NullDebugCreate : public BaseClass { + class WithGenericMethod_CreateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NullDebugCreate() { + WithGenericMethod_CreateNullDebug() { ::grpc::Service::MarkMethodGeneric(0); } - ~WithGenericMethod_NullDebugCreate() override { + ~WithGenericMethod_CreateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status CreateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NullDebugDelete : public BaseClass { + class WithGenericMethod_DeleteNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NullDebugDelete() { + WithGenericMethod_DeleteNullDebug() { ::grpc::Service::MarkMethodGeneric(1); } - ~WithGenericMethod_NullDebugDelete() override { + ~WithGenericMethod_DeleteNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NullDebugUpdate : public BaseClass { + class WithGenericMethod_UpdateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NullDebugUpdate() { + WithGenericMethod_UpdateNullDebug() { ::grpc::Service::MarkMethodGeneric(2); } - ~WithGenericMethod_NullDebugUpdate() override { + ~WithGenericMethod_UpdateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status UpdateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NullDebugList : public BaseClass { + class WithGenericMethod_ListNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NullDebugList() { + WithGenericMethod_ListNullDebug() { ::grpc::Service::MarkMethodGeneric(3); } - ~WithGenericMethod_NullDebugList() override { + ~WithGenericMethod_ListNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) override { + ::grpc::Status ListNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NullDebugGet : public BaseClass { + class WithGenericMethod_GetNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NullDebugGet() { + WithGenericMethod_GetNullDebug() { ::grpc::Service::MarkMethodGeneric(4); } - ~WithGenericMethod_NullDebugGet() override { + ~WithGenericMethod_GetNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status GetNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -608,102 +608,102 @@ class NullDebugService final { } }; template - class WithRawMethod_NullDebugCreate : public BaseClass { + class WithRawMethod_CreateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NullDebugCreate() { + WithRawMethod_CreateNullDebug() { ::grpc::Service::MarkMethodRaw(0); } - ~WithRawMethod_NullDebugCreate() override { + ~WithRawMethod_CreateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status CreateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugCreate(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestCreateNullDebug(::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_NullDebugDelete : public BaseClass { + class WithRawMethod_DeleteNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NullDebugDelete() { + WithRawMethod_DeleteNullDebug() { ::grpc::Service::MarkMethodRaw(1); } - ~WithRawMethod_NullDebugDelete() override { + ~WithRawMethod_DeleteNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugDelete(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeleteNullDebug(::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_NullDebugUpdate : public BaseClass { + class WithRawMethod_UpdateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NullDebugUpdate() { + WithRawMethod_UpdateNullDebug() { ::grpc::Service::MarkMethodRaw(2); } - ~WithRawMethod_NullDebugUpdate() override { + ~WithRawMethod_UpdateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status UpdateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugUpdate(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestUpdateNullDebug(::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 WithRawMethod_NullDebugList : public BaseClass { + class WithRawMethod_ListNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NullDebugList() { + WithRawMethod_ListNullDebug() { ::grpc::Service::MarkMethodRaw(3); } - ~WithRawMethod_NullDebugList() override { + ~WithRawMethod_ListNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) override { + ::grpc::Status ListNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugList(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestListNullDebug(::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(3, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawMethod_NullDebugGet : public BaseClass { + class WithRawMethod_GetNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NullDebugGet() { + WithRawMethod_GetNullDebug() { ::grpc::Service::MarkMethodRaw(4); } - ~WithRawMethod_NullDebugGet() override { + ~WithRawMethod_GetNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status GetNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNullDebugGet(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetNullDebug(::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(4, context, request, response, new_call_cq, notification_cq, tag); } }; @@ -728,113 +728,113 @@ class NullDebugService final { } }; template - class WithRawCallbackMethod_NullDebugCreate : public BaseClass { + class WithRawCallbackMethod_CreateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NullDebugCreate() { + WithRawCallbackMethod_CreateNullDebug() { ::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->NullDebugCreate(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateNullDebug(context, request, response); })); } - ~WithRawCallbackMethod_NullDebugCreate() override { + ~WithRawCallbackMethod_CreateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status CreateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugCreate( + virtual ::grpc::ServerUnaryReactor* CreateNullDebug( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NullDebugDelete : public BaseClass { + class WithRawCallbackMethod_DeleteNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NullDebugDelete() { + WithRawCallbackMethod_DeleteNullDebug() { ::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->NullDebugDelete(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteNullDebug(context, request, response); })); } - ~WithRawCallbackMethod_NullDebugDelete() override { + ~WithRawCallbackMethod_DeleteNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugDelete( + virtual ::grpc::ServerUnaryReactor* DeleteNullDebug( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NullDebugUpdate : public BaseClass { + class WithRawCallbackMethod_UpdateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NullDebugUpdate() { + WithRawCallbackMethod_UpdateNullDebug() { ::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->NullDebugUpdate(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateNullDebug(context, request, response); })); } - ~WithRawCallbackMethod_NullDebugUpdate() override { + ~WithRawCallbackMethod_UpdateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status UpdateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugUpdate( + virtual ::grpc::ServerUnaryReactor* UpdateNullDebug( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NullDebugList : public BaseClass { + class WithRawCallbackMethod_ListNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NullDebugList() { + WithRawCallbackMethod_ListNullDebug() { ::grpc::Service::MarkMethodRawCallback(3, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NullDebugList(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListNullDebug(context, request, response); })); } - ~WithRawCallbackMethod_NullDebugList() override { + ~WithRawCallbackMethod_ListNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) override { + ::grpc::Status ListNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugList( + virtual ::grpc::ServerUnaryReactor* ListNullDebug( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NullDebugGet : public BaseClass { + class WithRawCallbackMethod_GetNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NullDebugGet() { + WithRawCallbackMethod_GetNullDebug() { ::grpc::Service::MarkMethodRawCallback(4, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NullDebugGet(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetNullDebug(context, request, response); })); } - ~WithRawCallbackMethod_NullDebugGet() override { + ~WithRawCallbackMethod_GetNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NullDebugGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status GetNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NullDebugGet( + virtual ::grpc::ServerUnaryReactor* GetNullDebug( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -860,139 +860,139 @@ class NullDebugService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithStreamedUnaryMethod_NullDebugCreate : public BaseClass { + class WithStreamedUnaryMethod_CreateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NullDebugCreate() { + WithStreamedUnaryMethod_CreateNullDebug() { ::grpc::Service::MarkMethodStreamed(0, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug>( + ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NullDebugCreateRequest, ::opi_api::storage::v1::NullDebug>* streamer) { - return this->StreamedNullDebugCreate(context, + ::opi_api::storage::v1::CreateNullDebugRequest, ::opi_api::storage::v1::NullDebug>* streamer) { + return this->StreamedCreateNullDebug(context, streamer); })); } - ~WithStreamedUnaryMethod_NullDebugCreate() override { + ~WithStreamedUnaryMethod_CreateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NullDebugCreate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugCreateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status CreateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNullDebugCreate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullDebugCreateRequest,::opi_api::storage::v1::NullDebug>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedCreateNullDebug(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::CreateNullDebugRequest,::opi_api::storage::v1::NullDebug>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NullDebugDelete : public BaseClass { + class WithStreamedUnaryMethod_DeleteNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NullDebugDelete() { + WithStreamedUnaryMethod_DeleteNullDebug() { ::grpc::Service::MarkMethodStreamed(1, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty>( + ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NullDebugDeleteRequest, ::google::protobuf::Empty>* streamer) { - return this->StreamedNullDebugDelete(context, + ::opi_api::storage::v1::DeleteNullDebugRequest, ::google::protobuf::Empty>* streamer) { + return this->StreamedDeleteNullDebug(context, streamer); })); } - ~WithStreamedUnaryMethod_NullDebugDelete() override { + ~WithStreamedUnaryMethod_DeleteNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NullDebugDelete(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugDeleteRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + ::grpc::Status DeleteNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNullDebugRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNullDebugDelete(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullDebugDeleteRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedDeleteNullDebug(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::DeleteNullDebugRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NullDebugUpdate : public BaseClass { + class WithStreamedUnaryMethod_UpdateNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NullDebugUpdate() { + WithStreamedUnaryMethod_UpdateNullDebug() { ::grpc::Service::MarkMethodStreamed(2, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug>( + ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NullDebugUpdateRequest, ::opi_api::storage::v1::NullDebug>* streamer) { - return this->StreamedNullDebugUpdate(context, + ::opi_api::storage::v1::UpdateNullDebugRequest, ::opi_api::storage::v1::NullDebug>* streamer) { + return this->StreamedUpdateNullDebug(context, streamer); })); } - ~WithStreamedUnaryMethod_NullDebugUpdate() override { + ~WithStreamedUnaryMethod_UpdateNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NullDebugUpdate(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugUpdateRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status UpdateNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNullDebugUpdate(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullDebugUpdateRequest,::opi_api::storage::v1::NullDebug>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedUpdateNullDebug(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::UpdateNullDebugRequest,::opi_api::storage::v1::NullDebug>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NullDebugList : public BaseClass { + class WithStreamedUnaryMethod_ListNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NullDebugList() { + WithStreamedUnaryMethod_ListNullDebug() { ::grpc::Service::MarkMethodStreamed(3, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse>( + ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NullDebugListRequest, ::opi_api::storage::v1::NullDebugListResponse>* streamer) { - return this->StreamedNullDebugList(context, + ::opi_api::storage::v1::ListNullDebugRequest, ::opi_api::storage::v1::ListNullDebugResponse>* streamer) { + return this->StreamedListNullDebug(context, streamer); })); } - ~WithStreamedUnaryMethod_NullDebugList() override { + ~WithStreamedUnaryMethod_ListNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NullDebugList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugListRequest* /*request*/, ::opi_api::storage::v1::NullDebugListResponse* /*response*/) override { + ::grpc::Status ListNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNullDebugRequest* /*request*/, ::opi_api::storage::v1::ListNullDebugResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNullDebugList(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullDebugListRequest,::opi_api::storage::v1::NullDebugListResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedListNullDebug(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::ListNullDebugRequest,::opi_api::storage::v1::ListNullDebugResponse>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NullDebugGet : public BaseClass { + class WithStreamedUnaryMethod_GetNullDebug : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NullDebugGet() { + WithStreamedUnaryMethod_GetNullDebug() { ::grpc::Service::MarkMethodStreamed(4, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug>( + ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NullDebugGetRequest, ::opi_api::storage::v1::NullDebug>* streamer) { - return this->StreamedNullDebugGet(context, + ::opi_api::storage::v1::GetNullDebugRequest, ::opi_api::storage::v1::NullDebug>* streamer) { + return this->StreamedGetNullDebug(context, streamer); })); } - ~WithStreamedUnaryMethod_NullDebugGet() override { + ~WithStreamedUnaryMethod_GetNullDebug() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NullDebugGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NullDebugGetRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { + ::grpc::Status GetNullDebug(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNullDebugRequest* /*request*/, ::opi_api::storage::v1::NullDebug* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNullDebugGet(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullDebugGetRequest,::opi_api::storage::v1::NullDebug>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedGetNullDebug(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNullDebugRequest,::opi_api::storage::v1::NullDebug>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_NullDebugStats : public BaseClass { @@ -1021,9 +1021,9 @@ class NullDebugService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedNullDebugStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NullDebugStatsRequest,::opi_api::storage::v1::NullDebugStatsResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_NullDebugCreate > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateNullDebug > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_NullDebugCreate > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateNullDebug > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.cc b/storage/v1alpha1/gen/cpp/backend_null.pb.cc index f5245c0e..d35ca92a 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_null.pb.cc @@ -34,77 +34,80 @@ struct NullDebugDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugDefaultTypeInternal _NullDebug_default_instance_; -constexpr NullDebugCreateRequest::NullDebugCreateRequest( +constexpr CreateNullDebugRequest::CreateNullDebugRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : device_(nullptr){} -struct NullDebugCreateRequestDefaultTypeInternal { - constexpr NullDebugCreateRequestDefaultTypeInternal() +struct CreateNullDebugRequestDefaultTypeInternal { + constexpr CreateNullDebugRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NullDebugCreateRequestDefaultTypeInternal() {} + ~CreateNullDebugRequestDefaultTypeInternal() {} union { - NullDebugCreateRequest _instance; + CreateNullDebugRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugCreateRequestDefaultTypeInternal _NullDebugCreateRequest_default_instance_; -constexpr NullDebugDeleteRequest::NullDebugDeleteRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNullDebugRequestDefaultTypeInternal _CreateNullDebugRequest_default_instance_; +constexpr DeleteNullDebugRequest::DeleteNullDebugRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : handle_(nullptr){} -struct NullDebugDeleteRequestDefaultTypeInternal { - constexpr NullDebugDeleteRequestDefaultTypeInternal() +struct DeleteNullDebugRequestDefaultTypeInternal { + constexpr DeleteNullDebugRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NullDebugDeleteRequestDefaultTypeInternal() {} + ~DeleteNullDebugRequestDefaultTypeInternal() {} union { - NullDebugDeleteRequest _instance; + DeleteNullDebugRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugDeleteRequestDefaultTypeInternal _NullDebugDeleteRequest_default_instance_; -constexpr NullDebugUpdateRequest::NullDebugUpdateRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteNullDebugRequestDefaultTypeInternal _DeleteNullDebugRequest_default_instance_; +constexpr UpdateNullDebugRequest::UpdateNullDebugRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : device_(nullptr){} -struct NullDebugUpdateRequestDefaultTypeInternal { - constexpr NullDebugUpdateRequestDefaultTypeInternal() +struct UpdateNullDebugRequestDefaultTypeInternal { + constexpr UpdateNullDebugRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NullDebugUpdateRequestDefaultTypeInternal() {} + ~UpdateNullDebugRequestDefaultTypeInternal() {} union { - NullDebugUpdateRequest _instance; + UpdateNullDebugRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugUpdateRequestDefaultTypeInternal _NullDebugUpdateRequest_default_instance_; -constexpr NullDebugListRequest::NullDebugListRequest( - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} -struct NullDebugListRequestDefaultTypeInternal { - constexpr NullDebugListRequestDefaultTypeInternal() +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UpdateNullDebugRequestDefaultTypeInternal _UpdateNullDebugRequest_default_instance_; +constexpr ListNullDebugRequest::ListNullDebugRequest( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : page_token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , page_size_(0){} +struct ListNullDebugRequestDefaultTypeInternal { + constexpr ListNullDebugRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NullDebugListRequestDefaultTypeInternal() {} + ~ListNullDebugRequestDefaultTypeInternal() {} union { - NullDebugListRequest _instance; + ListNullDebugRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugListRequestDefaultTypeInternal _NullDebugListRequest_default_instance_; -constexpr NullDebugListResponse::NullDebugListResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListNullDebugRequestDefaultTypeInternal _ListNullDebugRequest_default_instance_; +constexpr ListNullDebugResponse::ListNullDebugResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : device_(){} -struct NullDebugListResponseDefaultTypeInternal { - constexpr NullDebugListResponseDefaultTypeInternal() + : devices_() + , next_page_token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct ListNullDebugResponseDefaultTypeInternal { + constexpr ListNullDebugResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NullDebugListResponseDefaultTypeInternal() {} + ~ListNullDebugResponseDefaultTypeInternal() {} union { - NullDebugListResponse _instance; + ListNullDebugResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugListResponseDefaultTypeInternal _NullDebugListResponse_default_instance_; -constexpr NullDebugGetRequest::NullDebugGetRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListNullDebugResponseDefaultTypeInternal _ListNullDebugResponse_default_instance_; +constexpr GetNullDebugRequest::GetNullDebugRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : handle_(nullptr){} -struct NullDebugGetRequestDefaultTypeInternal { - constexpr NullDebugGetRequestDefaultTypeInternal() +struct GetNullDebugRequestDefaultTypeInternal { + constexpr GetNullDebugRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NullDebugGetRequestDefaultTypeInternal() {} + ~GetNullDebugRequestDefaultTypeInternal() {} union { - NullDebugGetRequest _instance; + GetNullDebugRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NullDebugGetRequestDefaultTypeInternal _NullDebugGetRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNullDebugRequestDefaultTypeInternal _GetNullDebugRequest_default_instance_; constexpr NullDebugStatsRequest::NullDebugStatsRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : handle_(nullptr){} @@ -149,46 +152,49 @@ const uint32_t TableStruct_backend_5fnull_2eproto::offsets[] PROTOBUF_SECTION_VA PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebug, blocks_count_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebug, uuid_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugCreateRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNullDebugRequest, _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::NullDebugCreateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNullDebugRequest, device_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugDeleteRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNullDebugRequest, _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::NullDebugDeleteRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNullDebugRequest, handle_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugUpdateRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNullDebugRequest, _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::NullDebugUpdateRequest, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNullDebugRequest, device_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugListRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNullDebugRequest, _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::ListNullDebugRequest, page_size_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNullDebugRequest, page_token_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugListResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNullDebugResponse, _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::NullDebugListResponse, device_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNullDebugResponse, devices_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNullDebugResponse, next_page_token_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugGetRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNullDebugRequest, _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::NullDebugGetRequest, handle_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNullDebugRequest, handle_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NullDebugStatsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -207,77 +213,84 @@ 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)}, + { 10, -1, -1, sizeof(::opi_api::storage::v1::CreateNullDebugRequest)}, + { 17, -1, -1, sizeof(::opi_api::storage::v1::DeleteNullDebugRequest)}, + { 24, -1, -1, sizeof(::opi_api::storage::v1::UpdateNullDebugRequest)}, + { 31, -1, -1, sizeof(::opi_api::storage::v1::ListNullDebugRequest)}, + { 39, -1, -1, sizeof(::opi_api::storage::v1::ListNullDebugResponse)}, + { 47, -1, -1, sizeof(::opi_api::storage::v1::GetNullDebugRequest)}, + { 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[] = { reinterpret_cast(&::opi_api::storage::v1::_NullDebug_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NullDebugCreateRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NullDebugDeleteRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NullDebugUpdateRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NullDebugListRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NullDebugListResponse_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NullDebugGetRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_CreateNullDebugRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_DeleteNullDebugRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_UpdateNullDebugRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ListNullDebugRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ListNullDebugResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_GetNullDebugRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_NullDebugStatsRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_NullDebugStatsResponse_default_instance_), }; const char descriptor_table_protodef_backend_5fnull_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\022backend_null.proto\022\022opi_api.storage.v1" - "\032\033google/protobuf/empty.proto\032\020object_ke" - "y.proto\032\nuuid.proto\"\212\001\n\tNullDebug\022,\n\006han" - "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" + "\032\033google/protobuf/empty.proto\032\034google/ap" + "i/annotations.proto\032\020object_key.proto\032\nu" + "uid.proto\"\212\001\n\tNullDebug\022,\n\006handle\030\001 \001(\0132" + "\034.opi_api.common.v1.ObjectKey\022\022\n\nblock_s" + "ize\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\026Create" + "NullDebugRequest\022-\n\006device\030\001 \001(\0132\035.opi_a" + "pi.storage.v1.NullDebug\"F\n\026DeleteNullDeb" + "ugRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.comm" + "on.v1.ObjectKey\"G\n\026UpdateNullDebugReques" + "t\022-\n\006device\030\001 \001(\0132\035.opi_api.storage.v1.N" + "ullDebug\"=\n\024ListNullDebugRequest\022\021\n\tpage" + "_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"`\n\025ListN" + "ullDebugResponse\022.\n\007devices\030\001 \003(\0132\035.opi_" + "api.storage.v1.NullDebug\022\027\n\017next_page_to" + "ken\030\002 \001(\t\"C\n\023GetNullDebugRequest\022,\n\006hand" + "le\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"E" + "\n\025NullDebugStatsRequest\022,\n\006handle\030\001 \001(\0132" + "\034.opi_api.common.v1.ObjectKey\"U\n\026NullDeb" + "ugStatsResponse\022,\n\006handle\030\001 \001(\0132\034.opi_ap" + "i.common.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\364\005\n" + "\020NullDebugService\022\177\n\017CreateNullDebug\022*.o" + "pi_api.storage.v1.CreateNullDebugRequest" + "\032\035.opi_api.storage.v1.NullDebug\"!\202\323\344\223\002\033\"" + "\016/v1/subsystems:\tsubsystem\022y\n\017DeleteNull" + "Debug\022*.opi_api.storage.v1.DeleteNullDeb" + "ugRequest\032\026.google.protobuf.Empty\"\"\202\323\344\223\002" + "\034*\032/v1/subsystems/{subsystem}\022\177\n\017UpdateN" + "ullDebug\022*.opi_api.storage.v1.UpdateNull" + "DebugRequest\032\035.opi_api.storage.v1.NullDe" + "bug\"!\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem\022|" + "\n\rListNullDebug\022(.opi_api.storage.v1.Lis" + "tNullDebugRequest\032).opi_api.storage.v1.L" + "istNullDebugResponse\"\026\202\323\344\223\002\020\022\016/v1/subsys" + "tems\022z\n\014GetNullDebug\022\'.opi_api.storage.v" + "1.GetNullDebugRequest\032\035.opi_api.storage." + "v1.NullDebug\"\"\202\323\344\223\002\034\022\032/v1/subsystems/{su" + "bsystem}\022i\n\016NullDebugStats\022).opi_api.sto" + "rage.v1.NullDebugStatsRequest\032*.opi_api." + "storage.v1.NullDebugStatsResponse\"\000B_\n\022o" + "pi_api.storage.v1B\020BackendNullProtoP\001Z5g" + "ithub.com/opiproject/opi-api/storage/v1a" + "lpha1/gen/gob\006proto3" ; -static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[3] = { +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnull_2eproto_deps[4] = { + &::descriptor_table_google_2fapi_2fannotations_2eproto, &::descriptor_table_google_2fprotobuf_2fempty_2eproto, &::descriptor_table_object_5fkey_2eproto, &::descriptor_table_uuid_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_backend_5fnull_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5fnull_2eproto = { - false, false, 1489, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto", - &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 3, 9, + false, false, 1740, descriptor_table_protodef_backend_5fnull_2eproto, "backend_null.proto", + &descriptor_table_backend_5fnull_2eproto_once, descriptor_table_backend_5fnull_2eproto_deps, 4, 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, }; @@ -599,25 +612,25 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebug::GetMetadata() const { // =================================================================== -class NullDebugCreateRequest::_Internal { +class CreateNullDebugRequest::_Internal { public: - static const ::opi_api::storage::v1::NullDebug& device(const NullDebugCreateRequest* msg); + static const ::opi_api::storage::v1::NullDebug& device(const CreateNullDebugRequest* msg); }; const ::opi_api::storage::v1::NullDebug& -NullDebugCreateRequest::_Internal::device(const NullDebugCreateRequest* msg) { +CreateNullDebugRequest::_Internal::device(const CreateNullDebugRequest* msg) { return *msg->device_; } -NullDebugCreateRequest::NullDebugCreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +CreateNullDebugRequest::CreateNullDebugRequest(::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.NullDebugCreateRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.CreateNullDebugRequest) } -NullDebugCreateRequest::NullDebugCreateRequest(const NullDebugCreateRequest& from) +CreateNullDebugRequest::CreateNullDebugRequest(const CreateNullDebugRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_device()) { @@ -625,37 +638,37 @@ NullDebugCreateRequest::NullDebugCreateRequest(const NullDebugCreateRequest& fro } else { device_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugCreateRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateNullDebugRequest) } -inline void NullDebugCreateRequest::SharedCtor() { +inline void CreateNullDebugRequest::SharedCtor() { device_ = nullptr; } -NullDebugCreateRequest::~NullDebugCreateRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullDebugCreateRequest) +CreateNullDebugRequest::~CreateNullDebugRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.CreateNullDebugRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NullDebugCreateRequest::SharedDtor() { +inline void CreateNullDebugRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; } -void NullDebugCreateRequest::ArenaDtor(void* object) { - NullDebugCreateRequest* _this = reinterpret_cast< NullDebugCreateRequest* >(object); +void CreateNullDebugRequest::ArenaDtor(void* object) { + CreateNullDebugRequest* _this = reinterpret_cast< CreateNullDebugRequest* >(object); (void)_this; } -void NullDebugCreateRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void CreateNullDebugRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NullDebugCreateRequest::SetCachedSize(int size) const { +void CreateNullDebugRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NullDebugCreateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullDebugCreateRequest) +void CreateNullDebugRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.CreateNullDebugRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -667,7 +680,7 @@ void NullDebugCreateRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NullDebugCreateRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* CreateNullDebugRequest::_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; @@ -704,9 +717,9 @@ const char* NullDebugCreateRequest::_InternalParse(const char* ptr, ::PROTOBUF_N #undef CHK_ } -uint8_t* NullDebugCreateRequest::_InternalSerialize( +uint8_t* CreateNullDebugRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullDebugCreateRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.CreateNullDebugRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -722,12 +735,12 @@ uint8_t* NullDebugCreateRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullDebugCreateRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.CreateNullDebugRequest) return target; } -size_t NullDebugCreateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullDebugCreateRequest) +size_t CreateNullDebugRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.CreateNullDebugRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -744,21 +757,21 @@ size_t NullDebugCreateRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullDebugCreateRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateNullDebugRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NullDebugCreateRequest::MergeImpl + CreateNullDebugRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullDebugCreateRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateNullDebugRequest::GetClassData() const { return &_class_data_; } -void NullDebugCreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateNullDebugRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NullDebugCreateRequest::MergeFrom(const NullDebugCreateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullDebugCreateRequest) +void CreateNullDebugRequest::MergeFrom(const CreateNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.CreateNullDebugRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -769,24 +782,24 @@ void NullDebugCreateRequest::MergeFrom(const NullDebugCreateRequest& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NullDebugCreateRequest::CopyFrom(const NullDebugCreateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullDebugCreateRequest) +void CreateNullDebugRequest::CopyFrom(const CreateNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.CreateNullDebugRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NullDebugCreateRequest::IsInitialized() const { +bool CreateNullDebugRequest::IsInitialized() const { return true; } -void NullDebugCreateRequest::InternalSwap(NullDebugCreateRequest* other) { +void CreateNullDebugRequest::InternalSwap(CreateNullDebugRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(device_, other->device_); } -::PROTOBUF_NAMESPACE_ID::Metadata NullDebugCreateRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata CreateNullDebugRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once, file_level_metadata_backend_5fnull_2eproto[1]); @@ -794,31 +807,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugCreateRequest::GetMetadata() const { // =================================================================== -class NullDebugDeleteRequest::_Internal { +class DeleteNullDebugRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& handle(const NullDebugDeleteRequest* msg); + static const ::opi_api::common::v1::ObjectKey& handle(const DeleteNullDebugRequest* msg); }; const ::opi_api::common::v1::ObjectKey& -NullDebugDeleteRequest::_Internal::handle(const NullDebugDeleteRequest* msg) { +DeleteNullDebugRequest::_Internal::handle(const DeleteNullDebugRequest* msg) { return *msg->handle_; } -void NullDebugDeleteRequest::clear_handle() { +void DeleteNullDebugRequest::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } -NullDebugDeleteRequest::NullDebugDeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteNullDebugRequest::DeleteNullDebugRequest(::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.NullDebugDeleteRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.DeleteNullDebugRequest) } -NullDebugDeleteRequest::NullDebugDeleteRequest(const NullDebugDeleteRequest& from) +DeleteNullDebugRequest::DeleteNullDebugRequest(const DeleteNullDebugRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_handle()) { @@ -826,37 +839,37 @@ NullDebugDeleteRequest::NullDebugDeleteRequest(const NullDebugDeleteRequest& fro } else { handle_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugDeleteRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteNullDebugRequest) } -inline void NullDebugDeleteRequest::SharedCtor() { +inline void DeleteNullDebugRequest::SharedCtor() { handle_ = nullptr; } -NullDebugDeleteRequest::~NullDebugDeleteRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullDebugDeleteRequest) +DeleteNullDebugRequest::~DeleteNullDebugRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.DeleteNullDebugRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NullDebugDeleteRequest::SharedDtor() { +inline void DeleteNullDebugRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete handle_; } -void NullDebugDeleteRequest::ArenaDtor(void* object) { - NullDebugDeleteRequest* _this = reinterpret_cast< NullDebugDeleteRequest* >(object); +void DeleteNullDebugRequest::ArenaDtor(void* object) { + DeleteNullDebugRequest* _this = reinterpret_cast< DeleteNullDebugRequest* >(object); (void)_this; } -void NullDebugDeleteRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void DeleteNullDebugRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NullDebugDeleteRequest::SetCachedSize(int size) const { +void DeleteNullDebugRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NullDebugDeleteRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullDebugDeleteRequest) +void DeleteNullDebugRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.DeleteNullDebugRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -868,7 +881,7 @@ void NullDebugDeleteRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NullDebugDeleteRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* DeleteNullDebugRequest::_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; @@ -905,9 +918,9 @@ const char* NullDebugDeleteRequest::_InternalParse(const char* ptr, ::PROTOBUF_N #undef CHK_ } -uint8_t* NullDebugDeleteRequest::_InternalSerialize( +uint8_t* DeleteNullDebugRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullDebugDeleteRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.DeleteNullDebugRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -923,12 +936,12 @@ uint8_t* NullDebugDeleteRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullDebugDeleteRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.DeleteNullDebugRequest) return target; } -size_t NullDebugDeleteRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullDebugDeleteRequest) +size_t DeleteNullDebugRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.DeleteNullDebugRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -945,21 +958,21 @@ size_t NullDebugDeleteRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullDebugDeleteRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteNullDebugRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NullDebugDeleteRequest::MergeImpl + DeleteNullDebugRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullDebugDeleteRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteNullDebugRequest::GetClassData() const { return &_class_data_; } -void NullDebugDeleteRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteNullDebugRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NullDebugDeleteRequest::MergeFrom(const NullDebugDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullDebugDeleteRequest) +void DeleteNullDebugRequest::MergeFrom(const DeleteNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.DeleteNullDebugRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -970,24 +983,24 @@ void NullDebugDeleteRequest::MergeFrom(const NullDebugDeleteRequest& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NullDebugDeleteRequest::CopyFrom(const NullDebugDeleteRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullDebugDeleteRequest) +void DeleteNullDebugRequest::CopyFrom(const DeleteNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.DeleteNullDebugRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NullDebugDeleteRequest::IsInitialized() const { +bool DeleteNullDebugRequest::IsInitialized() const { return true; } -void NullDebugDeleteRequest::InternalSwap(NullDebugDeleteRequest* other) { +void DeleteNullDebugRequest::InternalSwap(DeleteNullDebugRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(handle_, other->handle_); } -::PROTOBUF_NAMESPACE_ID::Metadata NullDebugDeleteRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteNullDebugRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once, file_level_metadata_backend_5fnull_2eproto[2]); @@ -995,25 +1008,25 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugDeleteRequest::GetMetadata() const { // =================================================================== -class NullDebugUpdateRequest::_Internal { +class UpdateNullDebugRequest::_Internal { public: - static const ::opi_api::storage::v1::NullDebug& device(const NullDebugUpdateRequest* msg); + static const ::opi_api::storage::v1::NullDebug& device(const UpdateNullDebugRequest* msg); }; const ::opi_api::storage::v1::NullDebug& -NullDebugUpdateRequest::_Internal::device(const NullDebugUpdateRequest* msg) { +UpdateNullDebugRequest::_Internal::device(const UpdateNullDebugRequest* msg) { return *msg->device_; } -NullDebugUpdateRequest::NullDebugUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateNullDebugRequest::UpdateNullDebugRequest(::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.NullDebugUpdateRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.UpdateNullDebugRequest) } -NullDebugUpdateRequest::NullDebugUpdateRequest(const NullDebugUpdateRequest& from) +UpdateNullDebugRequest::UpdateNullDebugRequest(const UpdateNullDebugRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_device()) { @@ -1021,37 +1034,37 @@ NullDebugUpdateRequest::NullDebugUpdateRequest(const NullDebugUpdateRequest& fro } else { device_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugUpdateRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateNullDebugRequest) } -inline void NullDebugUpdateRequest::SharedCtor() { +inline void UpdateNullDebugRequest::SharedCtor() { device_ = nullptr; } -NullDebugUpdateRequest::~NullDebugUpdateRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullDebugUpdateRequest) +UpdateNullDebugRequest::~UpdateNullDebugRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.UpdateNullDebugRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NullDebugUpdateRequest::SharedDtor() { +inline void UpdateNullDebugRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete device_; } -void NullDebugUpdateRequest::ArenaDtor(void* object) { - NullDebugUpdateRequest* _this = reinterpret_cast< NullDebugUpdateRequest* >(object); +void UpdateNullDebugRequest::ArenaDtor(void* object) { + UpdateNullDebugRequest* _this = reinterpret_cast< UpdateNullDebugRequest* >(object); (void)_this; } -void NullDebugUpdateRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void UpdateNullDebugRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NullDebugUpdateRequest::SetCachedSize(int size) const { +void UpdateNullDebugRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NullDebugUpdateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullDebugUpdateRequest) +void UpdateNullDebugRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.UpdateNullDebugRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1063,7 +1076,7 @@ void NullDebugUpdateRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NullDebugUpdateRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* UpdateNullDebugRequest::_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; @@ -1100,9 +1113,9 @@ const char* NullDebugUpdateRequest::_InternalParse(const char* ptr, ::PROTOBUF_N #undef CHK_ } -uint8_t* NullDebugUpdateRequest::_InternalSerialize( +uint8_t* UpdateNullDebugRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullDebugUpdateRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.UpdateNullDebugRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1118,12 +1131,12 @@ uint8_t* NullDebugUpdateRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullDebugUpdateRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.UpdateNullDebugRequest) return target; } -size_t NullDebugUpdateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullDebugUpdateRequest) +size_t UpdateNullDebugRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.UpdateNullDebugRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1140,21 +1153,21 @@ size_t NullDebugUpdateRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullDebugUpdateRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateNullDebugRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NullDebugUpdateRequest::MergeImpl + UpdateNullDebugRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullDebugUpdateRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateNullDebugRequest::GetClassData() const { return &_class_data_; } -void NullDebugUpdateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateNullDebugRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NullDebugUpdateRequest::MergeFrom(const NullDebugUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullDebugUpdateRequest) +void UpdateNullDebugRequest::MergeFrom(const UpdateNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.UpdateNullDebugRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1165,24 +1178,24 @@ void NullDebugUpdateRequest::MergeFrom(const NullDebugUpdateRequest& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NullDebugUpdateRequest::CopyFrom(const NullDebugUpdateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullDebugUpdateRequest) +void UpdateNullDebugRequest::CopyFrom(const UpdateNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.UpdateNullDebugRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NullDebugUpdateRequest::IsInitialized() const { +bool UpdateNullDebugRequest::IsInitialized() const { return true; } -void NullDebugUpdateRequest::InternalSwap(NullDebugUpdateRequest* other) { +void UpdateNullDebugRequest::InternalSwap(UpdateNullDebugRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(device_, other->device_); } -::PROTOBUF_NAMESPACE_ID::Metadata NullDebugUpdateRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateNullDebugRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once, file_level_metadata_backend_5fnull_2eproto[3]); @@ -1190,38 +1203,228 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugUpdateRequest::GetMetadata() const { // =================================================================== -class NullDebugListRequest::_Internal { +class ListNullDebugRequest::_Internal { public: }; -NullDebugListRequest::NullDebugListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListNullDebugRequest::ListNullDebugRequest(::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.NullDebugListRequest) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ListNullDebugRequest) } -NullDebugListRequest::NullDebugListRequest(const NullDebugListRequest& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { +ListNullDebugRequest::ListNullDebugRequest(const ListNullDebugRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugListRequest) + page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_page_token().empty()) { + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_page_token(), + GetArenaForAllocation()); + } + page_size_ = from.page_size_; + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ListNullDebugRequest) +} + +inline void ListNullDebugRequest::SharedCtor() { +page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +page_size_ = 0; +} + +ListNullDebugRequest::~ListNullDebugRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ListNullDebugRequest) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } +inline void ListNullDebugRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + page_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void ListNullDebugRequest::ArenaDtor(void* object) { + ListNullDebugRequest* _this = reinterpret_cast< ListNullDebugRequest* >(object); + (void)_this; +} +void ListNullDebugRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void ListNullDebugRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void ListNullDebugRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ListNullDebugRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + page_token_.ClearToEmpty(); + page_size_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} +const char* ListNullDebugRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 page_size = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + page_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string page_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_page_token(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ListNullDebugRequest.page_token")); + 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* ListNullDebugRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ListNullDebugRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + // int32 page_size = 1; + if (this->_internal_page_size() != 0) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_page_size(), target); + } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullDebugListRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, + // string page_token = 2; + if (!this->_internal_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.ListNullDebugRequest.page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_page_token(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ListNullDebugRequest) + return target; +} + +size_t ListNullDebugRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ListNullDebugRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string page_token = 2; + if (!this->_internal_page_token().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_page_token()); + } + + // int32 page_size = 1; + if (this->_internal_page_size() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_page_size()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListNullDebugRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, + ListNullDebugRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullDebugListRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListNullDebugRequest::GetClassData() const { return &_class_data_; } +void ListNullDebugRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, + const ::PROTOBUF_NAMESPACE_ID::Message& from) { + static_cast(to)->MergeFrom( + static_cast(from)); +} +void ListNullDebugRequest::MergeFrom(const ListNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ListNullDebugRequest) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + if (!from._internal_page_token().empty()) { + _internal_set_page_token(from._internal_page_token()); + } + if (from._internal_page_size() != 0) { + _internal_set_page_size(from._internal_page_size()); + } + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} +void ListNullDebugRequest::CopyFrom(const ListNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ListNullDebugRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} +bool ListNullDebugRequest::IsInitialized() const { + return true; +} + +void ListNullDebugRequest::InternalSwap(ListNullDebugRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &page_token_, lhs_arena, + &other->page_token_, rhs_arena + ); + swap(page_size_, other->page_size_); +} -::PROTOBUF_NAMESPACE_ID::Metadata NullDebugListRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListNullDebugRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once, file_level_metadata_backend_5fnull_2eproto[4]); @@ -1229,80 +1432,104 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugListRequest::GetMetadata() const { // =================================================================== -class NullDebugListResponse::_Internal { +class ListNullDebugResponse::_Internal { public: }; -NullDebugListResponse::NullDebugListResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListNullDebugResponse::ListNullDebugResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - device_(arena) { + devices_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.NullDebugListResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ListNullDebugResponse) } -NullDebugListResponse::NullDebugListResponse(const NullDebugListResponse& from) +ListNullDebugResponse::ListNullDebugResponse(const ListNullDebugResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - device_(from.device_) { + devices_(from.devices_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugListResponse) + next_page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_next_page_token().empty()) { + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_next_page_token(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ListNullDebugResponse) } -inline void NullDebugListResponse::SharedCtor() { +inline void ListNullDebugResponse::SharedCtor() { +next_page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -NullDebugListResponse::~NullDebugListResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullDebugListResponse) +ListNullDebugResponse::~ListNullDebugResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ListNullDebugResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NullDebugListResponse::SharedDtor() { +inline void ListNullDebugResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + next_page_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NullDebugListResponse::ArenaDtor(void* object) { - NullDebugListResponse* _this = reinterpret_cast< NullDebugListResponse* >(object); +void ListNullDebugResponse::ArenaDtor(void* object) { + ListNullDebugResponse* _this = reinterpret_cast< ListNullDebugResponse* >(object); (void)_this; } -void NullDebugListResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ListNullDebugResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NullDebugListResponse::SetCachedSize(int size) const { +void ListNullDebugResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NullDebugListResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullDebugListResponse) +void ListNullDebugResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ListNullDebugResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - device_.Clear(); + devices_.Clear(); + next_page_token_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NullDebugListResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ListNullDebugResponse::_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) { - // repeated .opi_api.storage.v1.NullDebug device = 1; + // repeated .opi_api.storage.v1.NullDebug devices = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_device(), ptr); + ptr = ctx->ParseMessage(_internal_add_devices(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; + // string next_page_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_next_page_token(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ListNullDebugResponse.next_page_token")); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1326,87 +1553,114 @@ const char* NullDebugListResponse::_InternalParse(const char* ptr, ::PROTOBUF_NA #undef CHK_ } -uint8_t* NullDebugListResponse::_InternalSerialize( +uint8_t* ListNullDebugResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullDebugListResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ListNullDebugResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .opi_api.storage.v1.NullDebug device = 1; + // repeated .opi_api.storage.v1.NullDebug devices = 1; for (unsigned int i = 0, - n = static_cast(this->_internal_device_size()); i < n; i++) { + n = static_cast(this->_internal_devices_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_device(i), target, stream); + InternalWriteMessage(1, this->_internal_devices(i), target, stream); + } + + // string next_page_token = 2; + if (!this->_internal_next_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.ListNullDebugResponse.next_page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_next_page_token(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullDebugListResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ListNullDebugResponse) return target; } -size_t NullDebugListResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullDebugListResponse) +size_t ListNullDebugResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ListNullDebugResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .opi_api.storage.v1.NullDebug device = 1; - total_size += 1UL * this->_internal_device_size(); - for (const auto& msg : this->device_) { + // repeated .opi_api.storage.v1.NullDebug devices = 1; + total_size += 1UL * this->_internal_devices_size(); + for (const auto& msg : this->devices_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // string next_page_token = 2; + if (!this->_internal_next_page_token().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_next_page_token()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullDebugListResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListNullDebugResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NullDebugListResponse::MergeImpl + ListNullDebugResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullDebugListResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListNullDebugResponse::GetClassData() const { return &_class_data_; } -void NullDebugListResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListNullDebugResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NullDebugListResponse::MergeFrom(const NullDebugListResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullDebugListResponse) +void ListNullDebugResponse::MergeFrom(const ListNullDebugResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ListNullDebugResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - device_.MergeFrom(from.device_); + devices_.MergeFrom(from.devices_); + if (!from._internal_next_page_token().empty()) { + _internal_set_next_page_token(from._internal_next_page_token()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NullDebugListResponse::CopyFrom(const NullDebugListResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullDebugListResponse) +void ListNullDebugResponse::CopyFrom(const ListNullDebugResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ListNullDebugResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NullDebugListResponse::IsInitialized() const { +bool ListNullDebugResponse::IsInitialized() const { return true; } -void NullDebugListResponse::InternalSwap(NullDebugListResponse* other) { +void ListNullDebugResponse::InternalSwap(ListNullDebugResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - device_.InternalSwap(&other->device_); + devices_.InternalSwap(&other->devices_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &next_page_token_, lhs_arena, + &other->next_page_token_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata NullDebugListResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListNullDebugResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once, file_level_metadata_backend_5fnull_2eproto[5]); @@ -1414,31 +1668,31 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NullDebugListResponse::GetMetadata() const { // =================================================================== -class NullDebugGetRequest::_Internal { +class GetNullDebugRequest::_Internal { public: - static const ::opi_api::common::v1::ObjectKey& handle(const NullDebugGetRequest* msg); + static const ::opi_api::common::v1::ObjectKey& handle(const GetNullDebugRequest* msg); }; const ::opi_api::common::v1::ObjectKey& -NullDebugGetRequest::_Internal::handle(const NullDebugGetRequest* msg) { +GetNullDebugRequest::_Internal::handle(const GetNullDebugRequest* msg) { return *msg->handle_; } -void NullDebugGetRequest::clear_handle() { +void GetNullDebugRequest::clear_handle() { if (GetArenaForAllocation() == nullptr && handle_ != nullptr) { delete handle_; } handle_ = nullptr; } -NullDebugGetRequest::NullDebugGetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +GetNullDebugRequest::GetNullDebugRequest(::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.NullDebugGetRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.GetNullDebugRequest) } -NullDebugGetRequest::NullDebugGetRequest(const NullDebugGetRequest& from) +GetNullDebugRequest::GetNullDebugRequest(const GetNullDebugRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_handle()) { @@ -1446,37 +1700,37 @@ NullDebugGetRequest::NullDebugGetRequest(const NullDebugGetRequest& from) } else { handle_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NullDebugGetRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.GetNullDebugRequest) } -inline void NullDebugGetRequest::SharedCtor() { +inline void GetNullDebugRequest::SharedCtor() { handle_ = nullptr; } -NullDebugGetRequest::~NullDebugGetRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NullDebugGetRequest) +GetNullDebugRequest::~GetNullDebugRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.GetNullDebugRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NullDebugGetRequest::SharedDtor() { +inline void GetNullDebugRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete handle_; } -void NullDebugGetRequest::ArenaDtor(void* object) { - NullDebugGetRequest* _this = reinterpret_cast< NullDebugGetRequest* >(object); +void GetNullDebugRequest::ArenaDtor(void* object) { + GetNullDebugRequest* _this = reinterpret_cast< GetNullDebugRequest* >(object); (void)_this; } -void NullDebugGetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void GetNullDebugRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NullDebugGetRequest::SetCachedSize(int size) const { +void GetNullDebugRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NullDebugGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NullDebugGetRequest) +void GetNullDebugRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.GetNullDebugRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1488,7 +1742,7 @@ void NullDebugGetRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NullDebugGetRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* GetNullDebugRequest::_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; @@ -1525,9 +1779,9 @@ const char* NullDebugGetRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAME #undef CHK_ } -uint8_t* NullDebugGetRequest::_InternalSerialize( +uint8_t* GetNullDebugRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NullDebugGetRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.GetNullDebugRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1543,12 +1797,12 @@ uint8_t* NullDebugGetRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NullDebugGetRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.GetNullDebugRequest) return target; } -size_t NullDebugGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NullDebugGetRequest) +size_t GetNullDebugRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.GetNullDebugRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1565,21 +1819,21 @@ size_t NullDebugGetRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NullDebugGetRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetNullDebugRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NullDebugGetRequest::MergeImpl + GetNullDebugRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NullDebugGetRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetNullDebugRequest::GetClassData() const { return &_class_data_; } -void NullDebugGetRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetNullDebugRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NullDebugGetRequest::MergeFrom(const NullDebugGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NullDebugGetRequest) +void GetNullDebugRequest::MergeFrom(const GetNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.GetNullDebugRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1590,24 +1844,24 @@ void NullDebugGetRequest::MergeFrom(const NullDebugGetRequest& from) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NullDebugGetRequest::CopyFrom(const NullDebugGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NullDebugGetRequest) +void GetNullDebugRequest::CopyFrom(const GetNullDebugRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.GetNullDebugRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NullDebugGetRequest::IsInitialized() const { +bool GetNullDebugRequest::IsInitialized() const { return true; } -void NullDebugGetRequest::InternalSwap(NullDebugGetRequest* other) { +void GetNullDebugRequest::InternalSwap(GetNullDebugRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(handle_, other->handle_); } -::PROTOBUF_NAMESPACE_ID::Metadata NullDebugGetRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetNullDebugRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnull_2eproto_getter, &descriptor_table_backend_5fnull_2eproto_once, file_level_metadata_backend_5fnull_2eproto[6]); @@ -2074,23 +2328,23 @@ PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebug* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebug >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebug >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugCreateRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugCreateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugCreateRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateNullDebugRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateNullDebugRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateNullDebugRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugDeleteRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugDeleteRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugDeleteRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::DeleteNullDebugRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::DeleteNullDebugRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::DeleteNullDebugRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugUpdateRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugUpdateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugUpdateRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::UpdateNullDebugRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::UpdateNullDebugRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::UpdateNullDebugRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugListRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugListRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugListRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNullDebugRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListNullDebugRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListNullDebugRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugListResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugListResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugListResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNullDebugResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListNullDebugResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListNullDebugResponse >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugGetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugGetRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugGetRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNullDebugRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNullDebugRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNullDebugRequest >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NullDebugStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NullDebugStatsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::NullDebugStatsRequest >(arena); diff --git a/storage/v1alpha1/gen/cpp/backend_null.pb.h b/storage/v1alpha1/gen/cpp/backend_null.pb.h index cc5cfde6..c2cec211 100644 --- a/storage/v1alpha1/gen/cpp/backend_null.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_null.pb.h @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -33,6 +32,7 @@ #include // IWYU pragma: export #include #include +#include "google/api/annotations.pb.h" #include "object_key.pb.h" #include "uuid.pb.h" // @@protoc_insertion_point(includes) @@ -60,46 +60,46 @@ extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table namespace opi_api { namespace storage { namespace v1 { +class CreateNullDebugRequest; +struct CreateNullDebugRequestDefaultTypeInternal; +extern CreateNullDebugRequestDefaultTypeInternal _CreateNullDebugRequest_default_instance_; +class DeleteNullDebugRequest; +struct DeleteNullDebugRequestDefaultTypeInternal; +extern DeleteNullDebugRequestDefaultTypeInternal _DeleteNullDebugRequest_default_instance_; +class GetNullDebugRequest; +struct GetNullDebugRequestDefaultTypeInternal; +extern GetNullDebugRequestDefaultTypeInternal _GetNullDebugRequest_default_instance_; +class ListNullDebugRequest; +struct ListNullDebugRequestDefaultTypeInternal; +extern ListNullDebugRequestDefaultTypeInternal _ListNullDebugRequest_default_instance_; +class ListNullDebugResponse; +struct ListNullDebugResponseDefaultTypeInternal; +extern ListNullDebugResponseDefaultTypeInternal _ListNullDebugResponse_default_instance_; class NullDebug; struct NullDebugDefaultTypeInternal; extern NullDebugDefaultTypeInternal _NullDebug_default_instance_; -class NullDebugCreateRequest; -struct NullDebugCreateRequestDefaultTypeInternal; -extern NullDebugCreateRequestDefaultTypeInternal _NullDebugCreateRequest_default_instance_; -class NullDebugDeleteRequest; -struct NullDebugDeleteRequestDefaultTypeInternal; -extern NullDebugDeleteRequestDefaultTypeInternal _NullDebugDeleteRequest_default_instance_; -class NullDebugGetRequest; -struct NullDebugGetRequestDefaultTypeInternal; -extern NullDebugGetRequestDefaultTypeInternal _NullDebugGetRequest_default_instance_; -class NullDebugListRequest; -struct NullDebugListRequestDefaultTypeInternal; -extern NullDebugListRequestDefaultTypeInternal _NullDebugListRequest_default_instance_; -class NullDebugListResponse; -struct NullDebugListResponseDefaultTypeInternal; -extern NullDebugListResponseDefaultTypeInternal _NullDebugListResponse_default_instance_; class NullDebugStatsRequest; struct NullDebugStatsRequestDefaultTypeInternal; extern NullDebugStatsRequestDefaultTypeInternal _NullDebugStatsRequest_default_instance_; class NullDebugStatsResponse; struct NullDebugStatsResponseDefaultTypeInternal; extern NullDebugStatsResponseDefaultTypeInternal _NullDebugStatsResponse_default_instance_; -class NullDebugUpdateRequest; -struct NullDebugUpdateRequestDefaultTypeInternal; -extern NullDebugUpdateRequestDefaultTypeInternal _NullDebugUpdateRequest_default_instance_; +class UpdateNullDebugRequest; +struct UpdateNullDebugRequestDefaultTypeInternal; +extern UpdateNullDebugRequestDefaultTypeInternal _UpdateNullDebugRequest_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api PROTOBUF_NAMESPACE_OPEN +template<> ::opi_api::storage::v1::CreateNullDebugRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::CreateNullDebugRequest>(Arena*); +template<> ::opi_api::storage::v1::DeleteNullDebugRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::DeleteNullDebugRequest>(Arena*); +template<> ::opi_api::storage::v1::GetNullDebugRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::GetNullDebugRequest>(Arena*); +template<> ::opi_api::storage::v1::ListNullDebugRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNullDebugRequest>(Arena*); +template<> ::opi_api::storage::v1::ListNullDebugResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNullDebugResponse>(Arena*); template<> ::opi_api::storage::v1::NullDebug* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebug>(Arena*); -template<> ::opi_api::storage::v1::NullDebugCreateRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugCreateRequest>(Arena*); -template<> ::opi_api::storage::v1::NullDebugDeleteRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugDeleteRequest>(Arena*); -template<> ::opi_api::storage::v1::NullDebugGetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugGetRequest>(Arena*); -template<> ::opi_api::storage::v1::NullDebugListRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugListRequest>(Arena*); -template<> ::opi_api::storage::v1::NullDebugListResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugListResponse>(Arena*); template<> ::opi_api::storage::v1::NullDebugStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugStatsRequest>(Arena*); template<> ::opi_api::storage::v1::NullDebugStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugStatsResponse>(Arena*); -template<> ::opi_api::storage::v1::NullDebugUpdateRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NullDebugUpdateRequest>(Arena*); +template<> ::opi_api::storage::v1::UpdateNullDebugRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNullDebugRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { namespace storage { @@ -304,24 +304,24 @@ class NullDebug final : }; // ------------------------------------------------------------------- -class NullDebugCreateRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullDebugCreateRequest) */ { +class CreateNullDebugRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.CreateNullDebugRequest) */ { public: - inline NullDebugCreateRequest() : NullDebugCreateRequest(nullptr) {} - ~NullDebugCreateRequest() override; - explicit constexpr NullDebugCreateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateNullDebugRequest() : CreateNullDebugRequest(nullptr) {} + ~CreateNullDebugRequest() override; + explicit constexpr CreateNullDebugRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NullDebugCreateRequest(const NullDebugCreateRequest& from); - NullDebugCreateRequest(NullDebugCreateRequest&& from) noexcept - : NullDebugCreateRequest() { + CreateNullDebugRequest(const CreateNullDebugRequest& from); + CreateNullDebugRequest(CreateNullDebugRequest&& from) noexcept + : CreateNullDebugRequest() { *this = ::std::move(from); } - inline NullDebugCreateRequest& operator=(const NullDebugCreateRequest& from) { + inline CreateNullDebugRequest& operator=(const CreateNullDebugRequest& from) { CopyFrom(from); return *this; } - inline NullDebugCreateRequest& operator=(NullDebugCreateRequest&& from) noexcept { + inline CreateNullDebugRequest& operator=(CreateNullDebugRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -344,20 +344,20 @@ class NullDebugCreateRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NullDebugCreateRequest& default_instance() { + static const CreateNullDebugRequest& default_instance() { return *internal_default_instance(); } - static inline const NullDebugCreateRequest* internal_default_instance() { - return reinterpret_cast( - &_NullDebugCreateRequest_default_instance_); + static inline const CreateNullDebugRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateNullDebugRequest_default_instance_); } static constexpr int kIndexInFileMessages = 1; - friend void swap(NullDebugCreateRequest& a, NullDebugCreateRequest& b) { + friend void swap(CreateNullDebugRequest& a, CreateNullDebugRequest& b) { a.Swap(&b); } - inline void Swap(NullDebugCreateRequest* other) { + inline void Swap(CreateNullDebugRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -370,7 +370,7 @@ class NullDebugCreateRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NullDebugCreateRequest* other) { + void UnsafeArenaSwap(CreateNullDebugRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -378,13 +378,13 @@ class NullDebugCreateRequest final : // implements Message ---------------------------------------------- - NullDebugCreateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + CreateNullDebugRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NullDebugCreateRequest& from); + void CopyFrom(const CreateNullDebugRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NullDebugCreateRequest& from); + void MergeFrom(const CreateNullDebugRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -401,15 +401,15 @@ class NullDebugCreateRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NullDebugCreateRequest* other); + void InternalSwap(CreateNullDebugRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NullDebugCreateRequest"; + return "opi_api.storage.v1.CreateNullDebugRequest"; } protected: - explicit NullDebugCreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateNullDebugRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -446,7 +446,7 @@ class NullDebugCreateRequest final : ::opi_api::storage::v1::NullDebug* device); ::opi_api::storage::v1::NullDebug* unsafe_arena_release_device(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugCreateRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNullDebugRequest) private: class _Internal; @@ -459,24 +459,24 @@ class NullDebugCreateRequest final : }; // ------------------------------------------------------------------- -class NullDebugDeleteRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullDebugDeleteRequest) */ { +class DeleteNullDebugRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.DeleteNullDebugRequest) */ { public: - inline NullDebugDeleteRequest() : NullDebugDeleteRequest(nullptr) {} - ~NullDebugDeleteRequest() override; - explicit constexpr NullDebugDeleteRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteNullDebugRequest() : DeleteNullDebugRequest(nullptr) {} + ~DeleteNullDebugRequest() override; + explicit constexpr DeleteNullDebugRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NullDebugDeleteRequest(const NullDebugDeleteRequest& from); - NullDebugDeleteRequest(NullDebugDeleteRequest&& from) noexcept - : NullDebugDeleteRequest() { + DeleteNullDebugRequest(const DeleteNullDebugRequest& from); + DeleteNullDebugRequest(DeleteNullDebugRequest&& from) noexcept + : DeleteNullDebugRequest() { *this = ::std::move(from); } - inline NullDebugDeleteRequest& operator=(const NullDebugDeleteRequest& from) { + inline DeleteNullDebugRequest& operator=(const DeleteNullDebugRequest& from) { CopyFrom(from); return *this; } - inline NullDebugDeleteRequest& operator=(NullDebugDeleteRequest&& from) noexcept { + inline DeleteNullDebugRequest& operator=(DeleteNullDebugRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -499,20 +499,20 @@ class NullDebugDeleteRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NullDebugDeleteRequest& default_instance() { + static const DeleteNullDebugRequest& default_instance() { return *internal_default_instance(); } - static inline const NullDebugDeleteRequest* internal_default_instance() { - return reinterpret_cast( - &_NullDebugDeleteRequest_default_instance_); + static inline const DeleteNullDebugRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteNullDebugRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; - friend void swap(NullDebugDeleteRequest& a, NullDebugDeleteRequest& b) { + friend void swap(DeleteNullDebugRequest& a, DeleteNullDebugRequest& b) { a.Swap(&b); } - inline void Swap(NullDebugDeleteRequest* other) { + inline void Swap(DeleteNullDebugRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -525,7 +525,7 @@ class NullDebugDeleteRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NullDebugDeleteRequest* other) { + void UnsafeArenaSwap(DeleteNullDebugRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -533,13 +533,13 @@ class NullDebugDeleteRequest final : // implements Message ---------------------------------------------- - NullDebugDeleteRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + DeleteNullDebugRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NullDebugDeleteRequest& from); + void CopyFrom(const DeleteNullDebugRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NullDebugDeleteRequest& from); + void MergeFrom(const DeleteNullDebugRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -556,15 +556,15 @@ class NullDebugDeleteRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NullDebugDeleteRequest* other); + void InternalSwap(DeleteNullDebugRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NullDebugDeleteRequest"; + return "opi_api.storage.v1.DeleteNullDebugRequest"; } protected: - explicit NullDebugDeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteNullDebugRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -601,7 +601,7 @@ class NullDebugDeleteRequest final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugDeleteRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNullDebugRequest) private: class _Internal; @@ -614,24 +614,24 @@ class NullDebugDeleteRequest final : }; // ------------------------------------------------------------------- -class NullDebugUpdateRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullDebugUpdateRequest) */ { +class UpdateNullDebugRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.UpdateNullDebugRequest) */ { public: - inline NullDebugUpdateRequest() : NullDebugUpdateRequest(nullptr) {} - ~NullDebugUpdateRequest() override; - explicit constexpr NullDebugUpdateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateNullDebugRequest() : UpdateNullDebugRequest(nullptr) {} + ~UpdateNullDebugRequest() override; + explicit constexpr UpdateNullDebugRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NullDebugUpdateRequest(const NullDebugUpdateRequest& from); - NullDebugUpdateRequest(NullDebugUpdateRequest&& from) noexcept - : NullDebugUpdateRequest() { + UpdateNullDebugRequest(const UpdateNullDebugRequest& from); + UpdateNullDebugRequest(UpdateNullDebugRequest&& from) noexcept + : UpdateNullDebugRequest() { *this = ::std::move(from); } - inline NullDebugUpdateRequest& operator=(const NullDebugUpdateRequest& from) { + inline UpdateNullDebugRequest& operator=(const UpdateNullDebugRequest& from) { CopyFrom(from); return *this; } - inline NullDebugUpdateRequest& operator=(NullDebugUpdateRequest&& from) noexcept { + inline UpdateNullDebugRequest& operator=(UpdateNullDebugRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -654,20 +654,20 @@ class NullDebugUpdateRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NullDebugUpdateRequest& default_instance() { + static const UpdateNullDebugRequest& default_instance() { return *internal_default_instance(); } - static inline const NullDebugUpdateRequest* internal_default_instance() { - return reinterpret_cast( - &_NullDebugUpdateRequest_default_instance_); + static inline const UpdateNullDebugRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateNullDebugRequest_default_instance_); } static constexpr int kIndexInFileMessages = 3; - friend void swap(NullDebugUpdateRequest& a, NullDebugUpdateRequest& b) { + friend void swap(UpdateNullDebugRequest& a, UpdateNullDebugRequest& b) { a.Swap(&b); } - inline void Swap(NullDebugUpdateRequest* other) { + inline void Swap(UpdateNullDebugRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -680,7 +680,7 @@ class NullDebugUpdateRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NullDebugUpdateRequest* other) { + void UnsafeArenaSwap(UpdateNullDebugRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -688,13 +688,13 @@ class NullDebugUpdateRequest final : // implements Message ---------------------------------------------- - NullDebugUpdateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateNullDebugRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NullDebugUpdateRequest& from); + void CopyFrom(const UpdateNullDebugRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NullDebugUpdateRequest& from); + void MergeFrom(const UpdateNullDebugRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -711,15 +711,15 @@ class NullDebugUpdateRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NullDebugUpdateRequest* other); + void InternalSwap(UpdateNullDebugRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NullDebugUpdateRequest"; + return "opi_api.storage.v1.UpdateNullDebugRequest"; } protected: - explicit NullDebugUpdateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateNullDebugRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -756,7 +756,7 @@ class NullDebugUpdateRequest final : ::opi_api::storage::v1::NullDebug* device); ::opi_api::storage::v1::NullDebug* unsafe_arena_release_device(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugUpdateRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNullDebugRequest) private: class _Internal; @@ -769,23 +769,24 @@ class NullDebugUpdateRequest final : }; // ------------------------------------------------------------------- -class NullDebugListRequest final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullDebugListRequest) */ { +class ListNullDebugRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ListNullDebugRequest) */ { public: - inline NullDebugListRequest() : NullDebugListRequest(nullptr) {} - explicit constexpr NullDebugListRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListNullDebugRequest() : ListNullDebugRequest(nullptr) {} + ~ListNullDebugRequest() override; + explicit constexpr ListNullDebugRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NullDebugListRequest(const NullDebugListRequest& from); - NullDebugListRequest(NullDebugListRequest&& from) noexcept - : NullDebugListRequest() { + ListNullDebugRequest(const ListNullDebugRequest& from); + ListNullDebugRequest(ListNullDebugRequest&& from) noexcept + : ListNullDebugRequest() { *this = ::std::move(from); } - inline NullDebugListRequest& operator=(const NullDebugListRequest& from) { + inline ListNullDebugRequest& operator=(const ListNullDebugRequest& from) { CopyFrom(from); return *this; } - inline NullDebugListRequest& operator=(NullDebugListRequest&& from) noexcept { + inline ListNullDebugRequest& operator=(ListNullDebugRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -808,20 +809,20 @@ class NullDebugListRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NullDebugListRequest& default_instance() { + static const ListNullDebugRequest& default_instance() { return *internal_default_instance(); } - static inline const NullDebugListRequest* internal_default_instance() { - return reinterpret_cast( - &_NullDebugListRequest_default_instance_); + static inline const ListNullDebugRequest* internal_default_instance() { + return reinterpret_cast( + &_ListNullDebugRequest_default_instance_); } static constexpr int kIndexInFileMessages = 4; - friend void swap(NullDebugListRequest& a, NullDebugListRequest& b) { + friend void swap(ListNullDebugRequest& a, ListNullDebugRequest& b) { a.Swap(&b); } - inline void Swap(NullDebugListRequest* other) { + inline void Swap(ListNullDebugRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -834,7 +835,7 @@ class NullDebugListRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NullDebugListRequest* other) { + void UnsafeArenaSwap(ListNullDebugRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -842,28 +843,42 @@ class NullDebugListRequest final : // implements Message ---------------------------------------------- - NullDebugListRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const NullDebugListRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const NullDebugListRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + ListNullDebugRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ListNullDebugRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ListNullDebugRequest& 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(ListNullDebugRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NullDebugListRequest"; + return "opi_api.storage.v1.ListNullDebugRequest"; } protected: - explicit NullDebugListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListNullDebugRequest(::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_; @@ -875,36 +890,65 @@ class NullDebugListRequest final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugListRequest) + enum : int { + kPageTokenFieldNumber = 2, + kPageSizeFieldNumber = 1, + }; + // string page_token = 2; + void clear_page_token(); + const std::string& page_token() const; + template + void set_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_page_token(); + PROTOBUF_NODISCARD std::string* release_page_token(); + void set_allocated_page_token(std::string* page_token); + private: + const std::string& _internal_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_page_token(const std::string& value); + std::string* _internal_mutable_page_token(); + public: + + // int32 page_size = 1; + void clear_page_size(); + int32_t page_size() const; + void set_page_size(int32_t value); + private: + int32_t _internal_page_size() const; + void _internal_set_page_size(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNullDebugRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; + int32_t page_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnull_2eproto; }; // ------------------------------------------------------------------- -class NullDebugListResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullDebugListResponse) */ { +class ListNullDebugResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ListNullDebugResponse) */ { public: - inline NullDebugListResponse() : NullDebugListResponse(nullptr) {} - ~NullDebugListResponse() override; - explicit constexpr NullDebugListResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListNullDebugResponse() : ListNullDebugResponse(nullptr) {} + ~ListNullDebugResponse() override; + explicit constexpr ListNullDebugResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NullDebugListResponse(const NullDebugListResponse& from); - NullDebugListResponse(NullDebugListResponse&& from) noexcept - : NullDebugListResponse() { + ListNullDebugResponse(const ListNullDebugResponse& from); + ListNullDebugResponse(ListNullDebugResponse&& from) noexcept + : ListNullDebugResponse() { *this = ::std::move(from); } - inline NullDebugListResponse& operator=(const NullDebugListResponse& from) { + inline ListNullDebugResponse& operator=(const ListNullDebugResponse& from) { CopyFrom(from); return *this; } - inline NullDebugListResponse& operator=(NullDebugListResponse&& from) noexcept { + inline ListNullDebugResponse& operator=(ListNullDebugResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -927,20 +971,20 @@ class NullDebugListResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NullDebugListResponse& default_instance() { + static const ListNullDebugResponse& default_instance() { return *internal_default_instance(); } - static inline const NullDebugListResponse* internal_default_instance() { - return reinterpret_cast( - &_NullDebugListResponse_default_instance_); + static inline const ListNullDebugResponse* internal_default_instance() { + return reinterpret_cast( + &_ListNullDebugResponse_default_instance_); } static constexpr int kIndexInFileMessages = 5; - friend void swap(NullDebugListResponse& a, NullDebugListResponse& b) { + friend void swap(ListNullDebugResponse& a, ListNullDebugResponse& b) { a.Swap(&b); } - inline void Swap(NullDebugListResponse* other) { + inline void Swap(ListNullDebugResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -953,7 +997,7 @@ class NullDebugListResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NullDebugListResponse* other) { + void UnsafeArenaSwap(ListNullDebugResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -961,13 +1005,13 @@ class NullDebugListResponse final : // implements Message ---------------------------------------------- - NullDebugListResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListNullDebugResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NullDebugListResponse& from); + void CopyFrom(const ListNullDebugResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NullDebugListResponse& from); + void MergeFrom(const ListNullDebugResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -984,15 +1028,15 @@ class NullDebugListResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NullDebugListResponse* other); + void InternalSwap(ListNullDebugResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NullDebugListResponse"; + return "opi_api.storage.v1.ListNullDebugResponse"; } protected: - explicit NullDebugListResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListNullDebugResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1009,57 +1053,73 @@ class NullDebugListResponse final : // accessors ------------------------------------------------------- enum : int { - kDeviceFieldNumber = 1, + kDevicesFieldNumber = 1, + kNextPageTokenFieldNumber = 2, }; - // repeated .opi_api.storage.v1.NullDebug device = 1; - int device_size() const; + // repeated .opi_api.storage.v1.NullDebug devices = 1; + int devices_size() const; private: - int _internal_device_size() const; + int _internal_devices_size() const; public: - void clear_device(); - ::opi_api::storage::v1::NullDebug* mutable_device(int index); + void clear_devices(); + ::opi_api::storage::v1::NullDebug* mutable_devices(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NullDebug >* - mutable_device(); + mutable_devices(); private: - const ::opi_api::storage::v1::NullDebug& _internal_device(int index) const; - ::opi_api::storage::v1::NullDebug* _internal_add_device(); + const ::opi_api::storage::v1::NullDebug& _internal_devices(int index) const; + ::opi_api::storage::v1::NullDebug* _internal_add_devices(); public: - const ::opi_api::storage::v1::NullDebug& device(int index) const; - ::opi_api::storage::v1::NullDebug* add_device(); + const ::opi_api::storage::v1::NullDebug& devices(int index) const; + ::opi_api::storage::v1::NullDebug* add_devices(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NullDebug >& - device() const; + devices() const; - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugListResponse) + // string next_page_token = 2; + void clear_next_page_token(); + const std::string& next_page_token() const; + template + void set_next_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_next_page_token(); + PROTOBUF_NODISCARD std::string* release_next_page_token(); + void set_allocated_next_page_token(std::string* next_page_token); + private: + const std::string& _internal_next_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_next_page_token(const std::string& value); + std::string* _internal_mutable_next_page_token(); + public: + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNullDebugResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NullDebug > device_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NullDebug > devices_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnull_2eproto; }; // ------------------------------------------------------------------- -class NullDebugGetRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NullDebugGetRequest) */ { +class GetNullDebugRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.GetNullDebugRequest) */ { public: - inline NullDebugGetRequest() : NullDebugGetRequest(nullptr) {} - ~NullDebugGetRequest() override; - explicit constexpr NullDebugGetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetNullDebugRequest() : GetNullDebugRequest(nullptr) {} + ~GetNullDebugRequest() override; + explicit constexpr GetNullDebugRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NullDebugGetRequest(const NullDebugGetRequest& from); - NullDebugGetRequest(NullDebugGetRequest&& from) noexcept - : NullDebugGetRequest() { + GetNullDebugRequest(const GetNullDebugRequest& from); + GetNullDebugRequest(GetNullDebugRequest&& from) noexcept + : GetNullDebugRequest() { *this = ::std::move(from); } - inline NullDebugGetRequest& operator=(const NullDebugGetRequest& from) { + inline GetNullDebugRequest& operator=(const GetNullDebugRequest& from) { CopyFrom(from); return *this; } - inline NullDebugGetRequest& operator=(NullDebugGetRequest&& from) noexcept { + inline GetNullDebugRequest& operator=(GetNullDebugRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1082,20 +1142,20 @@ class NullDebugGetRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NullDebugGetRequest& default_instance() { + static const GetNullDebugRequest& default_instance() { return *internal_default_instance(); } - static inline const NullDebugGetRequest* internal_default_instance() { - return reinterpret_cast( - &_NullDebugGetRequest_default_instance_); + static inline const GetNullDebugRequest* internal_default_instance() { + return reinterpret_cast( + &_GetNullDebugRequest_default_instance_); } static constexpr int kIndexInFileMessages = 6; - friend void swap(NullDebugGetRequest& a, NullDebugGetRequest& b) { + friend void swap(GetNullDebugRequest& a, GetNullDebugRequest& b) { a.Swap(&b); } - inline void Swap(NullDebugGetRequest* other) { + inline void Swap(GetNullDebugRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1108,7 +1168,7 @@ class NullDebugGetRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NullDebugGetRequest* other) { + void UnsafeArenaSwap(GetNullDebugRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1116,13 +1176,13 @@ class NullDebugGetRequest final : // implements Message ---------------------------------------------- - NullDebugGetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + GetNullDebugRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NullDebugGetRequest& from); + void CopyFrom(const GetNullDebugRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NullDebugGetRequest& from); + void MergeFrom(const GetNullDebugRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1139,15 +1199,15 @@ class NullDebugGetRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NullDebugGetRequest* other); + void InternalSwap(GetNullDebugRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NullDebugGetRequest"; + return "opi_api.storage.v1.GetNullDebugRequest"; } protected: - explicit NullDebugGetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetNullDebugRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1184,7 +1244,7 @@ class NullDebugGetRequest final : ::opi_api::common::v1::ObjectKey* handle); ::opi_api::common::v1::ObjectKey* unsafe_arena_release_handle(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugGetRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetNullDebugRequest) private: class _Internal; @@ -1746,31 +1806,31 @@ inline void NullDebug::set_allocated_uuid(::opi_api::common::v1::Uuid* uuid) { // ------------------------------------------------------------------- -// NullDebugCreateRequest +// CreateNullDebugRequest // .opi_api.storage.v1.NullDebug device = 1; -inline bool NullDebugCreateRequest::_internal_has_device() const { +inline bool CreateNullDebugRequest::_internal_has_device() const { return this != internal_default_instance() && device_ != nullptr; } -inline bool NullDebugCreateRequest::has_device() const { +inline bool CreateNullDebugRequest::has_device() const { return _internal_has_device(); } -inline void NullDebugCreateRequest::clear_device() { +inline void CreateNullDebugRequest::clear_device() { if (GetArenaForAllocation() == nullptr && device_ != nullptr) { delete device_; } device_ = nullptr; } -inline const ::opi_api::storage::v1::NullDebug& NullDebugCreateRequest::_internal_device() const { +inline const ::opi_api::storage::v1::NullDebug& CreateNullDebugRequest::_internal_device() const { const ::opi_api::storage::v1::NullDebug* p = device_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::storage::v1::_NullDebug_default_instance_); } -inline const ::opi_api::storage::v1::NullDebug& NullDebugCreateRequest::device() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugCreateRequest.device) +inline const ::opi_api::storage::v1::NullDebug& CreateNullDebugRequest::device() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateNullDebugRequest.device) return _internal_device(); } -inline void NullDebugCreateRequest::unsafe_arena_set_allocated_device( +inline void CreateNullDebugRequest::unsafe_arena_set_allocated_device( ::opi_api::storage::v1::NullDebug* device) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_); @@ -1781,9 +1841,9 @@ inline void NullDebugCreateRequest::unsafe_arena_set_allocated_device( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugCreateRequest.device) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateNullDebugRequest.device) } -inline ::opi_api::storage::v1::NullDebug* NullDebugCreateRequest::release_device() { +inline ::opi_api::storage::v1::NullDebug* CreateNullDebugRequest::release_device() { ::opi_api::storage::v1::NullDebug* temp = device_; device_ = nullptr; @@ -1798,14 +1858,14 @@ inline ::opi_api::storage::v1::NullDebug* NullDebugCreateRequest::release_device #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::NullDebug* NullDebugCreateRequest::unsafe_arena_release_device() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugCreateRequest.device) +inline ::opi_api::storage::v1::NullDebug* CreateNullDebugRequest::unsafe_arena_release_device() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateNullDebugRequest.device) ::opi_api::storage::v1::NullDebug* temp = device_; device_ = nullptr; return temp; } -inline ::opi_api::storage::v1::NullDebug* NullDebugCreateRequest::_internal_mutable_device() { +inline ::opi_api::storage::v1::NullDebug* CreateNullDebugRequest::_internal_mutable_device() { if (device_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::NullDebug>(GetArenaForAllocation()); @@ -1813,12 +1873,12 @@ inline ::opi_api::storage::v1::NullDebug* NullDebugCreateRequest::_internal_muta } return device_; } -inline ::opi_api::storage::v1::NullDebug* NullDebugCreateRequest::mutable_device() { +inline ::opi_api::storage::v1::NullDebug* CreateNullDebugRequest::mutable_device() { ::opi_api::storage::v1::NullDebug* _msg = _internal_mutable_device(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugCreateRequest.device) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateNullDebugRequest.device) return _msg; } -inline void NullDebugCreateRequest::set_allocated_device(::opi_api::storage::v1::NullDebug* device) { +inline void CreateNullDebugRequest::set_allocated_device(::opi_api::storage::v1::NullDebug* device) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete device_; @@ -1835,30 +1895,30 @@ inline void NullDebugCreateRequest::set_allocated_device(::opi_api::storage::v1: } device_ = device; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugCreateRequest.device) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNullDebugRequest.device) } // ------------------------------------------------------------------- -// NullDebugDeleteRequest +// DeleteNullDebugRequest // .opi_api.common.v1.ObjectKey handle = 1; -inline bool NullDebugDeleteRequest::_internal_has_handle() const { +inline bool DeleteNullDebugRequest::_internal_has_handle() const { return this != internal_default_instance() && handle_ != nullptr; } -inline bool NullDebugDeleteRequest::has_handle() const { +inline bool DeleteNullDebugRequest::has_handle() const { return _internal_has_handle(); } -inline const ::opi_api::common::v1::ObjectKey& NullDebugDeleteRequest::_internal_handle() const { +inline const ::opi_api::common::v1::ObjectKey& DeleteNullDebugRequest::_internal_handle() const { const ::opi_api::common::v1::ObjectKey* p = handle_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::common::v1::ObjectKey& NullDebugDeleteRequest::handle() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugDeleteRequest.handle) +inline const ::opi_api::common::v1::ObjectKey& DeleteNullDebugRequest::handle() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteNullDebugRequest.handle) return _internal_handle(); } -inline void NullDebugDeleteRequest::unsafe_arena_set_allocated_handle( +inline void DeleteNullDebugRequest::unsafe_arena_set_allocated_handle( ::opi_api::common::v1::ObjectKey* handle) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -1869,9 +1929,9 @@ inline void NullDebugDeleteRequest::unsafe_arena_set_allocated_handle( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugDeleteRequest.handle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteNullDebugRequest.handle) } -inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::release_handle() { +inline ::opi_api::common::v1::ObjectKey* DeleteNullDebugRequest::release_handle() { ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; @@ -1886,14 +1946,14 @@ inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::release_handle( #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::unsafe_arena_release_handle() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugDeleteRequest.handle) +inline ::opi_api::common::v1::ObjectKey* DeleteNullDebugRequest::unsafe_arena_release_handle() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteNullDebugRequest.handle) ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; return temp; } -inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::_internal_mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* DeleteNullDebugRequest::_internal_mutable_handle() { if (handle_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); @@ -1901,12 +1961,12 @@ inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::_internal_mutab } return handle_; } -inline ::opi_api::common::v1::ObjectKey* NullDebugDeleteRequest::mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* DeleteNullDebugRequest::mutable_handle() { ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugDeleteRequest.handle) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteNullDebugRequest.handle) return _msg; } -inline void NullDebugDeleteRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { +inline void DeleteNullDebugRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -1925,36 +1985,36 @@ inline void NullDebugDeleteRequest::set_allocated_handle(::opi_api::common::v1:: } handle_ = handle; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugDeleteRequest.handle) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNullDebugRequest.handle) } // ------------------------------------------------------------------- -// NullDebugUpdateRequest +// UpdateNullDebugRequest // .opi_api.storage.v1.NullDebug device = 1; -inline bool NullDebugUpdateRequest::_internal_has_device() const { +inline bool UpdateNullDebugRequest::_internal_has_device() const { return this != internal_default_instance() && device_ != nullptr; } -inline bool NullDebugUpdateRequest::has_device() const { +inline bool UpdateNullDebugRequest::has_device() const { return _internal_has_device(); } -inline void NullDebugUpdateRequest::clear_device() { +inline void UpdateNullDebugRequest::clear_device() { if (GetArenaForAllocation() == nullptr && device_ != nullptr) { delete device_; } device_ = nullptr; } -inline const ::opi_api::storage::v1::NullDebug& NullDebugUpdateRequest::_internal_device() const { +inline const ::opi_api::storage::v1::NullDebug& UpdateNullDebugRequest::_internal_device() const { const ::opi_api::storage::v1::NullDebug* p = device_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::storage::v1::_NullDebug_default_instance_); } -inline const ::opi_api::storage::v1::NullDebug& NullDebugUpdateRequest::device() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugUpdateRequest.device) +inline const ::opi_api::storage::v1::NullDebug& UpdateNullDebugRequest::device() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateNullDebugRequest.device) return _internal_device(); } -inline void NullDebugUpdateRequest::unsafe_arena_set_allocated_device( +inline void UpdateNullDebugRequest::unsafe_arena_set_allocated_device( ::opi_api::storage::v1::NullDebug* device) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_); @@ -1965,9 +2025,9 @@ inline void NullDebugUpdateRequest::unsafe_arena_set_allocated_device( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugUpdateRequest.device) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateNullDebugRequest.device) } -inline ::opi_api::storage::v1::NullDebug* NullDebugUpdateRequest::release_device() { +inline ::opi_api::storage::v1::NullDebug* UpdateNullDebugRequest::release_device() { ::opi_api::storage::v1::NullDebug* temp = device_; device_ = nullptr; @@ -1982,14 +2042,14 @@ inline ::opi_api::storage::v1::NullDebug* NullDebugUpdateRequest::release_device #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::NullDebug* NullDebugUpdateRequest::unsafe_arena_release_device() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugUpdateRequest.device) +inline ::opi_api::storage::v1::NullDebug* UpdateNullDebugRequest::unsafe_arena_release_device() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateNullDebugRequest.device) ::opi_api::storage::v1::NullDebug* temp = device_; device_ = nullptr; return temp; } -inline ::opi_api::storage::v1::NullDebug* NullDebugUpdateRequest::_internal_mutable_device() { +inline ::opi_api::storage::v1::NullDebug* UpdateNullDebugRequest::_internal_mutable_device() { if (device_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::NullDebug>(GetArenaForAllocation()); @@ -1997,12 +2057,12 @@ inline ::opi_api::storage::v1::NullDebug* NullDebugUpdateRequest::_internal_muta } return device_; } -inline ::opi_api::storage::v1::NullDebug* NullDebugUpdateRequest::mutable_device() { +inline ::opi_api::storage::v1::NullDebug* UpdateNullDebugRequest::mutable_device() { ::opi_api::storage::v1::NullDebug* _msg = _internal_mutable_device(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugUpdateRequest.device) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateNullDebugRequest.device) return _msg; } -inline void NullDebugUpdateRequest::set_allocated_device(::opi_api::storage::v1::NullDebug* device) { +inline void UpdateNullDebugRequest::set_allocated_device(::opi_api::storage::v1::NullDebug* device) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete device_; @@ -2019,78 +2079,200 @@ inline void NullDebugUpdateRequest::set_allocated_device(::opi_api::storage::v1: } device_ = device; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugUpdateRequest.device) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNullDebugRequest.device) } // ------------------------------------------------------------------- -// NullDebugListRequest +// ListNullDebugRequest + +// int32 page_size = 1; +inline void ListNullDebugRequest::clear_page_size() { + page_size_ = 0; +} +inline int32_t ListNullDebugRequest::_internal_page_size() const { + return page_size_; +} +inline int32_t ListNullDebugRequest::page_size() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNullDebugRequest.page_size) + return _internal_page_size(); +} +inline void ListNullDebugRequest::_internal_set_page_size(int32_t value) { + + page_size_ = value; +} +inline void ListNullDebugRequest::set_page_size(int32_t value) { + _internal_set_page_size(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListNullDebugRequest.page_size) +} + +// string page_token = 2; +inline void ListNullDebugRequest::clear_page_token() { + page_token_.ClearToEmpty(); +} +inline const std::string& ListNullDebugRequest::page_token() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNullDebugRequest.page_token) + return _internal_page_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ListNullDebugRequest::set_page_token(ArgT0&& arg0, ArgT... args) { + + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListNullDebugRequest.page_token) +} +inline std::string* ListNullDebugRequest::mutable_page_token() { + std::string* _s = _internal_mutable_page_token(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListNullDebugRequest.page_token) + return _s; +} +inline const std::string& ListNullDebugRequest::_internal_page_token() const { + return page_token_.Get(); +} +inline void ListNullDebugRequest::_internal_set_page_token(const std::string& value) { + + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ListNullDebugRequest::_internal_mutable_page_token() { + + return page_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ListNullDebugRequest::release_page_token() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ListNullDebugRequest.page_token) + return page_token_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ListNullDebugRequest::set_allocated_page_token(std::string* page_token) { + if (page_token != nullptr) { + + } else { + + } + page_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), page_token, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (page_token_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ListNullDebugRequest.page_token) +} // ------------------------------------------------------------------- -// NullDebugListResponse +// ListNullDebugResponse -// repeated .opi_api.storage.v1.NullDebug device = 1; -inline int NullDebugListResponse::_internal_device_size() const { - return device_.size(); +// repeated .opi_api.storage.v1.NullDebug devices = 1; +inline int ListNullDebugResponse::_internal_devices_size() const { + return devices_.size(); } -inline int NullDebugListResponse::device_size() const { - return _internal_device_size(); +inline int ListNullDebugResponse::devices_size() const { + return _internal_devices_size(); } -inline void NullDebugListResponse::clear_device() { - device_.Clear(); +inline void ListNullDebugResponse::clear_devices() { + devices_.Clear(); } -inline ::opi_api::storage::v1::NullDebug* NullDebugListResponse::mutable_device(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugListResponse.device) - return device_.Mutable(index); +inline ::opi_api::storage::v1::NullDebug* ListNullDebugResponse::mutable_devices(int index) { + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListNullDebugResponse.devices) + return devices_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NullDebug >* -NullDebugListResponse::mutable_device() { - // @@protoc_insertion_point(field_mutable_list:opi_api.storage.v1.NullDebugListResponse.device) - return &device_; +ListNullDebugResponse::mutable_devices() { + // @@protoc_insertion_point(field_mutable_list:opi_api.storage.v1.ListNullDebugResponse.devices) + return &devices_; } -inline const ::opi_api::storage::v1::NullDebug& NullDebugListResponse::_internal_device(int index) const { - return device_.Get(index); +inline const ::opi_api::storage::v1::NullDebug& ListNullDebugResponse::_internal_devices(int index) const { + return devices_.Get(index); } -inline const ::opi_api::storage::v1::NullDebug& NullDebugListResponse::device(int index) const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugListResponse.device) - return _internal_device(index); +inline const ::opi_api::storage::v1::NullDebug& ListNullDebugResponse::devices(int index) const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNullDebugResponse.devices) + return _internal_devices(index); } -inline ::opi_api::storage::v1::NullDebug* NullDebugListResponse::_internal_add_device() { - return device_.Add(); +inline ::opi_api::storage::v1::NullDebug* ListNullDebugResponse::_internal_add_devices() { + return devices_.Add(); } -inline ::opi_api::storage::v1::NullDebug* NullDebugListResponse::add_device() { - ::opi_api::storage::v1::NullDebug* _add = _internal_add_device(); - // @@protoc_insertion_point(field_add:opi_api.storage.v1.NullDebugListResponse.device) +inline ::opi_api::storage::v1::NullDebug* ListNullDebugResponse::add_devices() { + ::opi_api::storage::v1::NullDebug* _add = _internal_add_devices(); + // @@protoc_insertion_point(field_add:opi_api.storage.v1.ListNullDebugResponse.devices) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NullDebug >& -NullDebugListResponse::device() const { - // @@protoc_insertion_point(field_list:opi_api.storage.v1.NullDebugListResponse.device) - return device_; +ListNullDebugResponse::devices() const { + // @@protoc_insertion_point(field_list:opi_api.storage.v1.ListNullDebugResponse.devices) + return devices_; +} + +// string next_page_token = 2; +inline void ListNullDebugResponse::clear_next_page_token() { + next_page_token_.ClearToEmpty(); +} +inline const std::string& ListNullDebugResponse::next_page_token() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNullDebugResponse.next_page_token) + return _internal_next_page_token(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ListNullDebugResponse::set_next_page_token(ArgT0&& arg0, ArgT... args) { + + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListNullDebugResponse.next_page_token) +} +inline std::string* ListNullDebugResponse::mutable_next_page_token() { + std::string* _s = _internal_mutable_next_page_token(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListNullDebugResponse.next_page_token) + return _s; +} +inline const std::string& ListNullDebugResponse::_internal_next_page_token() const { + return next_page_token_.Get(); +} +inline void ListNullDebugResponse::_internal_set_next_page_token(const std::string& value) { + + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* ListNullDebugResponse::_internal_mutable_next_page_token() { + + return next_page_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ListNullDebugResponse::release_next_page_token() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ListNullDebugResponse.next_page_token) + return next_page_token_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ListNullDebugResponse::set_allocated_next_page_token(std::string* next_page_token) { + if (next_page_token != nullptr) { + + } else { + + } + next_page_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), next_page_token, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (next_page_token_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ListNullDebugResponse.next_page_token) } // ------------------------------------------------------------------- -// NullDebugGetRequest +// GetNullDebugRequest // .opi_api.common.v1.ObjectKey handle = 1; -inline bool NullDebugGetRequest::_internal_has_handle() const { +inline bool GetNullDebugRequest::_internal_has_handle() const { return this != internal_default_instance() && handle_ != nullptr; } -inline bool NullDebugGetRequest::has_handle() const { +inline bool GetNullDebugRequest::has_handle() const { return _internal_has_handle(); } -inline const ::opi_api::common::v1::ObjectKey& NullDebugGetRequest::_internal_handle() const { +inline const ::opi_api::common::v1::ObjectKey& GetNullDebugRequest::_internal_handle() const { const ::opi_api::common::v1::ObjectKey* p = handle_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::common::v1::ObjectKey& NullDebugGetRequest::handle() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NullDebugGetRequest.handle) +inline const ::opi_api::common::v1::ObjectKey& GetNullDebugRequest::handle() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.GetNullDebugRequest.handle) return _internal_handle(); } -inline void NullDebugGetRequest::unsafe_arena_set_allocated_handle( +inline void GetNullDebugRequest::unsafe_arena_set_allocated_handle( ::opi_api::common::v1::ObjectKey* handle) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2101,9 +2283,9 @@ inline void NullDebugGetRequest::unsafe_arena_set_allocated_handle( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NullDebugGetRequest.handle) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.GetNullDebugRequest.handle) } -inline ::opi_api::common::v1::ObjectKey* NullDebugGetRequest::release_handle() { +inline ::opi_api::common::v1::ObjectKey* GetNullDebugRequest::release_handle() { ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; @@ -2118,14 +2300,14 @@ inline ::opi_api::common::v1::ObjectKey* NullDebugGetRequest::release_handle() { #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::common::v1::ObjectKey* NullDebugGetRequest::unsafe_arena_release_handle() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NullDebugGetRequest.handle) +inline ::opi_api::common::v1::ObjectKey* GetNullDebugRequest::unsafe_arena_release_handle() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.GetNullDebugRequest.handle) ::opi_api::common::v1::ObjectKey* temp = handle_; handle_ = nullptr; return temp; } -inline ::opi_api::common::v1::ObjectKey* NullDebugGetRequest::_internal_mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* GetNullDebugRequest::_internal_mutable_handle() { if (handle_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); @@ -2133,12 +2315,12 @@ inline ::opi_api::common::v1::ObjectKey* NullDebugGetRequest::_internal_mutable_ } return handle_; } -inline ::opi_api::common::v1::ObjectKey* NullDebugGetRequest::mutable_handle() { +inline ::opi_api::common::v1::ObjectKey* GetNullDebugRequest::mutable_handle() { ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_handle(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NullDebugGetRequest.handle) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.GetNullDebugRequest.handle) return _msg; } -inline void NullDebugGetRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { +inline void GetNullDebugRequest::set_allocated_handle(::opi_api::common::v1::ObjectKey* handle) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_); @@ -2157,7 +2339,7 @@ inline void NullDebugGetRequest::set_allocated_handle(::opi_api::common::v1::Obj } handle_ = handle; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NullDebugGetRequest.handle) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.GetNullDebugRequest.handle) } // ------------------------------------------------------------------- diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc index c0c7e2a2..55738f2e 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.cc @@ -24,11 +24,12 @@ namespace storage { namespace v1 { static const char* NVMfRemoteControllerService_method_names[] = { - "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerConnect", - "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerDisconnect", + "/opi_api.storage.v1.NVMfRemoteControllerService/CreateNVMfRemoteController", + "/opi_api.storage.v1.NVMfRemoteControllerService/DeleteNVMfRemoteController", + "/opi_api.storage.v1.NVMfRemoteControllerService/UpdateNVMfRemoteController", + "/opi_api.storage.v1.NVMfRemoteControllerService/ListNVMfRemoteController", + "/opi_api.storage.v1.NVMfRemoteControllerService/GetNVMfRemoteController", "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset", - "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerList", - "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerGet", "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerStats", }; @@ -39,125 +40,149 @@ std::unique_ptr< NVMfRemoteControllerService::Stub> NVMfRemoteControllerService: } NVMfRemoteControllerService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) - : channel_(channel), rpcmethod_NVMfRemoteControllerConnect_(NVMfRemoteControllerService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NVMfRemoteControllerDisconnect_(NVMfRemoteControllerService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NVMfRemoteControllerReset_(NVMfRemoteControllerService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NVMfRemoteControllerList_(NVMfRemoteControllerService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NVMfRemoteControllerGet_(NVMfRemoteControllerService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_NVMfRemoteControllerStats_(NVMfRemoteControllerService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + : channel_(channel), rpcmethod_CreateNVMfRemoteController_(NVMfRemoteControllerService_method_names[0], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteNVMfRemoteController_(NVMfRemoteControllerService_method_names[1], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateNVMfRemoteController_(NVMfRemoteControllerService_method_names[2], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListNVMfRemoteController_(NVMfRemoteControllerService_method_names[3], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetNVMfRemoteController_(NVMfRemoteControllerService_method_names[4], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_NVMfRemoteControllerReset_(NVMfRemoteControllerService_method_names[5], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_NVMfRemoteControllerStats_(NVMfRemoteControllerService_method_names[6], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} -::grpc::Status NVMfRemoteControllerService::Stub::NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NVMfRemoteControllerConnect_, context, request, response); +::grpc::Status NVMfRemoteControllerService::Stub::CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_CreateNVMfRemoteController_, context, request, response); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerConnect_, context, request, response, std::move(f)); +void NVMfRemoteControllerService::Stub::async::CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateNVMfRemoteController_, context, request, response, std::move(f)); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerConnect_, context, request, response, reactor); +void NVMfRemoteControllerService::Stub::async::CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_CreateNVMfRemoteController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* NVMfRemoteControllerService::Stub::PrepareAsyncNVMfRemoteControllerConnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse, ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NVMfRemoteControllerConnect_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* NVMfRemoteControllerService::Stub::PrepareAsyncCreateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteController, ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_CreateNVMfRemoteController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* NVMfRemoteControllerService::Stub::AsyncNVMfRemoteControllerConnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* NVMfRemoteControllerService::Stub::AsyncCreateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNVMfRemoteControllerConnectRaw(context, request, cq); + this->PrepareAsyncCreateNVMfRemoteControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NVMfRemoteControllerService::Stub::NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NVMfRemoteControllerDisconnect_, context, request, response); +::grpc::Status NVMfRemoteControllerService::Stub::DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_DeleteNVMfRemoteController_, context, request, response); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerDisconnect_, context, request, response, std::move(f)); +void NVMfRemoteControllerService::Stub::async::DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteNVMfRemoteController_, context, request, response, std::move(f)); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerDisconnect_, context, request, response, reactor); +void NVMfRemoteControllerService::Stub::async::DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_DeleteNVMfRemoteController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* NVMfRemoteControllerService::Stub::PrepareAsyncNVMfRemoteControllerDisconnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NVMfRemoteControllerDisconnect_, context, request); +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NVMfRemoteControllerService::Stub::PrepareAsyncDeleteNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_DeleteNVMfRemoteController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* NVMfRemoteControllerService::Stub::AsyncNVMfRemoteControllerDisconnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NVMfRemoteControllerService::Stub::AsyncDeleteNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNVMfRemoteControllerDisconnectRaw(context, request, cq); + this->PrepareAsyncDeleteNVMfRemoteControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NVMfRemoteControllerService::Stub::NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NVMfRemoteControllerReset_, context, request, response); +::grpc::Status NVMfRemoteControllerService::Stub::UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UpdateNVMfRemoteController_, context, request, response); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerReset_, context, request, response, std::move(f)); +void NVMfRemoteControllerService::Stub::async::UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateNVMfRemoteController_, context, request, response, std::move(f)); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerReset_, context, request, response, reactor); +void NVMfRemoteControllerService::Stub::async::UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UpdateNVMfRemoteController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* NVMfRemoteControllerService::Stub::PrepareAsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse, ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NVMfRemoteControllerReset_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* NVMfRemoteControllerService::Stub::PrepareAsyncUpdateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteController, ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UpdateNVMfRemoteController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* NVMfRemoteControllerService::Stub::AsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* NVMfRemoteControllerService::Stub::AsyncUpdateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNVMfRemoteControllerResetRaw(context, request, cq); + this->PrepareAsyncUpdateNVMfRemoteControllerRaw(context, request, cq); + result->StartCall(); + return result; +} + +::grpc::Status NVMfRemoteControllerService::Stub::ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_ListNVMfRemoteController_, context, request, response); +} + +void NVMfRemoteControllerService::Stub::async::ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListNVMfRemoteController_, context, request, response, std::move(f)); +} + +void NVMfRemoteControllerService::Stub::async::ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_ListNVMfRemoteController_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* NVMfRemoteControllerService::Stub::PrepareAsyncListNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse, ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_ListNVMfRemoteController_, context, request); +} + +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* NVMfRemoteControllerService::Stub::AsyncListNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + auto* result = + this->PrepareAsyncListNVMfRemoteControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NVMfRemoteControllerService::Stub::NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NVMfRemoteControllerList_, context, request, response); +::grpc::Status NVMfRemoteControllerService::Stub::GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_GetNVMfRemoteController_, context, request, response); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerList_, context, request, response, std::move(f)); +void NVMfRemoteControllerService::Stub::async::GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetNVMfRemoteController_, context, request, response, std::move(f)); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerList_, context, request, response, reactor); +void NVMfRemoteControllerService::Stub::async::GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_GetNVMfRemoteController_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* NVMfRemoteControllerService::Stub::PrepareAsyncNVMfRemoteControllerListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteControllerListResponse, ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NVMfRemoteControllerList_, context, request); +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* NVMfRemoteControllerService::Stub::PrepareAsyncGetNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteController, ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_GetNVMfRemoteController_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* NVMfRemoteControllerService::Stub::AsyncNVMfRemoteControllerListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* NVMfRemoteControllerService::Stub::AsyncGetNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNVMfRemoteControllerListRaw(context, request, cq); + this->PrepareAsyncGetNVMfRemoteControllerRaw(context, request, cq); result->StartCall(); return result; } -::grpc::Status NVMfRemoteControllerService::Stub::NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response) { - return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NVMfRemoteControllerGet_, context, request, response); +::grpc::Status NVMfRemoteControllerService::Stub::NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::google::protobuf::Empty* response) { + return ::grpc::internal::BlockingUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_NVMfRemoteControllerReset_, context, request, response); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerGet_, context, request, response, std::move(f)); +void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, std::function f) { + ::grpc::internal::CallbackUnaryCall< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerReset_, context, request, response, std::move(f)); } -void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response, ::grpc::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerGet_, context, request, response, reactor); +void NVMfRemoteControllerService::Stub::async::NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_NVMfRemoteControllerReset_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* NVMfRemoteControllerService::Stub::PrepareAsyncNVMfRemoteControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse, ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NVMfRemoteControllerGet_, context, request); +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NVMfRemoteControllerService::Stub::PrepareAsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_NVMfRemoteControllerReset_, context, request); } -::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* NVMfRemoteControllerService::Stub::AsyncNVMfRemoteControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) { +::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* NVMfRemoteControllerService::Stub::AsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { auto* result = - this->PrepareAsyncNVMfRemoteControllerGetRaw(context, request, cq); + this->PrepareAsyncNVMfRemoteControllerResetRaw(context, request, cq); result->StartCall(); return result; } @@ -189,56 +214,66 @@ NVMfRemoteControllerService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( NVMfRemoteControllerService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NVMfRemoteControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* req, - ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* resp) { - return service->NVMfRemoteControllerConnect(ctx, req, resp); + const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* req, + ::opi_api::storage::v1::NVMfRemoteController* resp) { + return service->CreateNVMfRemoteController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NVMfRemoteControllerService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NVMfRemoteControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* req, - ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* resp) { - return service->NVMfRemoteControllerDisconnect(ctx, req, resp); + const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* req, + ::google::protobuf::Empty* resp) { + return service->DeleteNVMfRemoteController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NVMfRemoteControllerService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NVMfRemoteControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* req, - ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* resp) { - return service->NVMfRemoteControllerReset(ctx, req, resp); + const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* req, + ::opi_api::storage::v1::NVMfRemoteController* resp) { + return service->UpdateNVMfRemoteController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NVMfRemoteControllerService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NVMfRemoteControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* req, - ::opi_api::storage::v1::NVMfRemoteControllerListResponse* resp) { - return service->NVMfRemoteControllerList(ctx, req, resp); + const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* req, + ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* resp) { + return service->ListNVMfRemoteController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NVMfRemoteControllerService_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NVMfRemoteControllerService::Service* service, ::grpc::ServerContext* ctx, - const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* req, - ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* resp) { - return service->NVMfRemoteControllerGet(ctx, req, resp); + const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* req, + ::opi_api::storage::v1::NVMfRemoteController* resp) { + return service->GetNVMfRemoteController(ctx, req, resp); }, this))); AddMethod(new ::grpc::internal::RpcServiceMethod( NVMfRemoteControllerService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( + [](NVMfRemoteControllerService::Service* service, + ::grpc::ServerContext* ctx, + const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* req, + ::google::protobuf::Empty* resp) { + return service->NVMfRemoteControllerReset(ctx, req, resp); + }, this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + NVMfRemoteControllerService_method_names[6], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< NVMfRemoteControllerService::Service, ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>( [](NVMfRemoteControllerService::Service* service, ::grpc::ServerContext* ctx, @@ -251,35 +286,42 @@ NVMfRemoteControllerService::Service::Service() { NVMfRemoteControllerService::Service::~Service() { } -::grpc::Status NVMfRemoteControllerService::Service::NVMfRemoteControllerConnect(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response) { +::grpc::Status NVMfRemoteControllerService::Service::CreateNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status NVMfRemoteControllerService::Service::DeleteNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NVMfRemoteControllerService::Service::NVMfRemoteControllerDisconnect(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response) { +::grpc::Status NVMfRemoteControllerService::Service::UpdateNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NVMfRemoteControllerService::Service::NVMfRemoteControllerReset(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response) { +::grpc::Status NVMfRemoteControllerService::Service::ListNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NVMfRemoteControllerService::Service::NVMfRemoteControllerList(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response) { +::grpc::Status NVMfRemoteControllerService::Service::GetNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status NVMfRemoteControllerService::Service::NVMfRemoteControllerGet(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response) { +::grpc::Status NVMfRemoteControllerService::Service::NVMfRemoteControllerReset(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response) { (void) context; (void) request; (void) response; diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h index 85a6fe42..479b280b 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.grpc.pb.h @@ -42,40 +42,47 @@ class NVMfRemoteControllerService final { class StubInterface { public: virtual ~StubInterface() {} - virtual ::grpc::Status NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>> AsyncNVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>>(AsyncNVMfRemoteControllerConnectRaw(context, request, cq)); + virtual ::grpc::Status CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>> AsyncCreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>>(AsyncCreateNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>> PrepareAsyncNVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>>(PrepareAsyncNVMfRemoteControllerConnectRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>> PrepareAsyncCreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>>(PrepareAsyncCreateNVMfRemoteControllerRaw(context, request, cq)); } - virtual ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>> AsyncNVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>>(AsyncNVMfRemoteControllerDisconnectRaw(context, request, cq)); + virtual ::grpc::Status DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncDeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncDeleteNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>> PrepareAsyncNVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>>(PrepareAsyncNVMfRemoteControllerDisconnectRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncDeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncDeleteNVMfRemoteControllerRaw(context, request, cq)); } - virtual ::grpc::Status NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>> AsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>>(AsyncNVMfRemoteControllerResetRaw(context, request, cq)); + virtual ::grpc::Status UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>> AsyncUpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>>(AsyncUpdateNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>> PrepareAsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>>(PrepareAsyncNVMfRemoteControllerResetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>> PrepareAsyncUpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>>(PrepareAsyncUpdateNVMfRemoteControllerRaw(context, request, cq)); } - virtual ::grpc::Status NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>> AsyncNVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>>(AsyncNVMfRemoteControllerListRaw(context, request, cq)); + virtual ::grpc::Status ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>> AsyncListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>>(AsyncListNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>> PrepareAsyncNVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>>(PrepareAsyncNVMfRemoteControllerListRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>> PrepareAsyncListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>>(PrepareAsyncListNVMfRemoteControllerRaw(context, request, cq)); } - virtual ::grpc::Status NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>> AsyncNVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>>(AsyncNVMfRemoteControllerGetRaw(context, request, cq)); + virtual ::grpc::Status GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>> AsyncGetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>>(AsyncGetNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>> PrepareAsyncNVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>>(PrepareAsyncNVMfRemoteControllerGetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>> PrepareAsyncGetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>>(PrepareAsyncGetNVMfRemoteControllerRaw(context, request, cq)); + } + virtual ::grpc::Status NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::google::protobuf::Empty* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> AsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(AsyncNVMfRemoteControllerResetRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>> PrepareAsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>>(PrepareAsyncNVMfRemoteControllerResetRaw(context, request, cq)); } virtual ::grpc::Status NVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>> AsyncNVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { @@ -87,16 +94,18 @@ class NVMfRemoteControllerService final { class async_interface { public: virtual ~async_interface() {} - virtual void NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response, std::function) = 0; - virtual void NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response, std::function) = 0; - virtual void NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response, std::function) = 0; - virtual void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response, std::function) = 0; - virtual void NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; - virtual void NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response, std::function) = 0; - virtual void NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function) = 0; + virtual void CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function) = 0; + virtual void UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response, std::function) = 0; + virtual void ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function) = 0; + virtual void GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) = 0; + virtual void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, std::function) = 0; + virtual void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) = 0; virtual void NVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response, std::function) = 0; virtual void NVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) = 0; }; @@ -104,56 +113,65 @@ class NVMfRemoteControllerService final { virtual class async_interface* async() { return nullptr; } class async_interface* experimental_async() { return async(); } private: - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* AsyncNVMfRemoteControllerConnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* PrepareAsyncNVMfRemoteControllerConnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* AsyncNVMfRemoteControllerDisconnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* PrepareAsyncNVMfRemoteControllerDisconnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* AsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* PrepareAsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* AsyncNVMfRemoteControllerListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* PrepareAsyncNVMfRemoteControllerListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* AsyncNVMfRemoteControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* PrepareAsyncNVMfRemoteControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>* AsyncCreateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>* PrepareAsyncCreateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncDeleteNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncDeleteNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>* AsyncUpdateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>* PrepareAsyncUpdateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* AsyncListNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* PrepareAsyncListNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>* AsyncGetNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteController>* PrepareAsyncGetNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* AsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::google::protobuf::Empty>* PrepareAsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* AsyncNVMfRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* PrepareAsyncNVMfRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& 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 NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>> AsyncNVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>>(AsyncNVMfRemoteControllerConnectRaw(context, request, cq)); + ::grpc::Status CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>> AsyncCreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>>(AsyncCreateNVMfRemoteControllerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>> PrepareAsyncCreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>>(PrepareAsyncCreateNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>> PrepareAsyncNVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>>(PrepareAsyncNVMfRemoteControllerConnectRaw(context, request, cq)); + ::grpc::Status DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncDeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncDeleteNVMfRemoteControllerRaw(context, request, cq)); } - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>> AsyncNVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>>(AsyncNVMfRemoteControllerDisconnectRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncDeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncDeleteNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>> PrepareAsyncNVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>>(PrepareAsyncNVMfRemoteControllerDisconnectRaw(context, request, cq)); + ::grpc::Status UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>> AsyncUpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>>(AsyncUpdateNVMfRemoteControllerRaw(context, request, cq)); } - ::grpc::Status NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>> AsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>>(AsyncNVMfRemoteControllerResetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>> PrepareAsyncUpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>>(PrepareAsyncUpdateNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>> PrepareAsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>>(PrepareAsyncNVMfRemoteControllerResetRaw(context, request, cq)); + ::grpc::Status ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>> AsyncListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>>(AsyncListNVMfRemoteControllerRaw(context, request, cq)); } - ::grpc::Status NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>> AsyncNVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>>(AsyncNVMfRemoteControllerListRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>> PrepareAsyncListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>>(PrepareAsyncListNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>> PrepareAsyncNVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>>(PrepareAsyncNVMfRemoteControllerListRaw(context, request, cq)); + ::grpc::Status GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::opi_api::storage::v1::NVMfRemoteController* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>> AsyncGetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>>(AsyncGetNVMfRemoteControllerRaw(context, request, cq)); } - ::grpc::Status NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>> AsyncNVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>>(AsyncNVMfRemoteControllerGetRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>> PrepareAsyncGetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>>(PrepareAsyncGetNVMfRemoteControllerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>> PrepareAsyncNVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>>(PrepareAsyncNVMfRemoteControllerGetRaw(context, request, cq)); + ::grpc::Status NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::google::protobuf::Empty* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> AsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(AsyncNVMfRemoteControllerResetRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>> PrepareAsyncNVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>>(PrepareAsyncNVMfRemoteControllerResetRaw(context, request, cq)); } ::grpc::Status NVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>> AsyncNVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) { @@ -165,16 +183,18 @@ class NVMfRemoteControllerService final { class async final : public StubInterface::async_interface { public: - void NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response, std::function) override; - void NVMfRemoteControllerConnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response, std::function) override; - void NVMfRemoteControllerDisconnect(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response, std::function) override; - void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response, std::function) override; - void NVMfRemoteControllerList(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response, ::grpc::ClientUnaryReactor* reactor) override; - void NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response, std::function) override; - void NVMfRemoteControllerGet(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function) override; + void CreateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) override; + void DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response, std::function) override; + void DeleteNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; + void UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function) override; + void UpdateNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) override; + void ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response, std::function) override; + void ListNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response, ::grpc::ClientUnaryReactor* reactor) override; + void GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, std::function) override; + void GetNVMfRemoteController(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response, ::grpc::ClientUnaryReactor* reactor) override; + void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, std::function) override; + void NVMfRemoteControllerReset(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) override; void NVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response, std::function) override; void NVMfRemoteControllerStats(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response, ::grpc::ClientUnaryReactor* reactor) override; private: @@ -188,23 +208,26 @@ class NVMfRemoteControllerService final { private: std::shared_ptr< ::grpc::ChannelInterface> channel_; class async async_stub_{this}; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* AsyncNVMfRemoteControllerConnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* PrepareAsyncNVMfRemoteControllerConnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* AsyncNVMfRemoteControllerDisconnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* PrepareAsyncNVMfRemoteControllerDisconnectRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* AsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* PrepareAsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* AsyncNVMfRemoteControllerListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* PrepareAsyncNVMfRemoteControllerListRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* AsyncNVMfRemoteControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* PrepareAsyncNVMfRemoteControllerGetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* AsyncCreateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* PrepareAsyncCreateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncDeleteNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncDeleteNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* AsyncUpdateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* PrepareAsyncUpdateNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* AsyncListNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* PrepareAsyncListNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* AsyncGetNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteController>* PrepareAsyncGetNVMfRemoteControllerRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* AsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* PrepareAsyncNVMfRemoteControllerResetRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* AsyncNVMfRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* PrepareAsyncNVMfRemoteControllerStatsRaw(::grpc::ClientContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest& request, ::grpc::CompletionQueue* cq) override; - const ::grpc::internal::RpcMethod rpcmethod_NVMfRemoteControllerConnect_; - const ::grpc::internal::RpcMethod rpcmethod_NVMfRemoteControllerDisconnect_; + const ::grpc::internal::RpcMethod rpcmethod_CreateNVMfRemoteController_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteNVMfRemoteController_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateNVMfRemoteController_; + const ::grpc::internal::RpcMethod rpcmethod_ListNVMfRemoteController_; + const ::grpc::internal::RpcMethod rpcmethod_GetNVMfRemoteController_; const ::grpc::internal::RpcMethod rpcmethod_NVMfRemoteControllerReset_; - const ::grpc::internal::RpcMethod rpcmethod_NVMfRemoteControllerList_; - const ::grpc::internal::RpcMethod rpcmethod_NVMfRemoteControllerGet_; const ::grpc::internal::RpcMethod rpcmethod_NVMfRemoteControllerStats_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -213,120 +236,141 @@ class NVMfRemoteControllerService final { public: Service(); virtual ~Service(); - virtual ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response); - virtual ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response); - virtual ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response); - virtual ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response); - virtual ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response); + virtual ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response); + virtual ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response); + virtual ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response); + virtual ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response); + virtual ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response); + virtual ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response); virtual ::grpc::Status NVMfRemoteControllerStats(::grpc::ServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response); }; template - class WithAsyncMethod_NVMfRemoteControllerConnect : public BaseClass { + class WithAsyncMethod_CreateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NVMfRemoteControllerConnect() { + WithAsyncMethod_CreateNVMfRemoteController() { ::grpc::Service::MarkMethodAsync(0); } - ~WithAsyncMethod_NVMfRemoteControllerConnect() override { + ~WithAsyncMethod_CreateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) override { + ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerConnect(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestCreateNVMfRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteController>* 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_NVMfRemoteControllerDisconnect : public BaseClass { + class WithAsyncMethod_DeleteNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NVMfRemoteControllerDisconnect() { + WithAsyncMethod_DeleteNVMfRemoteController() { ::grpc::Service::MarkMethodAsync(1); } - ~WithAsyncMethod_NVMfRemoteControllerDisconnect() override { + ~WithAsyncMethod_DeleteNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) override { + ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerDisconnect(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeleteNVMfRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* 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_NVMfRemoteControllerReset : public BaseClass { + class WithAsyncMethod_UpdateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NVMfRemoteControllerReset() { + WithAsyncMethod_UpdateNVMfRemoteController() { ::grpc::Service::MarkMethodAsync(2); } - ~WithAsyncMethod_NVMfRemoteControllerReset() override { + ~WithAsyncMethod_UpdateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) override { + ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerReset(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestUpdateNVMfRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteController>* 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 WithAsyncMethod_NVMfRemoteControllerList : public BaseClass { + class WithAsyncMethod_ListNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NVMfRemoteControllerList() { + WithAsyncMethod_ListNVMfRemoteController() { ::grpc::Service::MarkMethodAsync(3); } - ~WithAsyncMethod_NVMfRemoteControllerList() override { + ~WithAsyncMethod_ListNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) override { + ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerList(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestListNVMfRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithAsyncMethod_NVMfRemoteControllerGet : public BaseClass { + class WithAsyncMethod_GetNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithAsyncMethod_NVMfRemoteControllerGet() { + WithAsyncMethod_GetNVMfRemoteController() { ::grpc::Service::MarkMethodAsync(4); } - ~WithAsyncMethod_NVMfRemoteControllerGet() override { + ~WithAsyncMethod_GetNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) override { + ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerGet(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetNVMfRemoteController(::grpc::ServerContext* context, ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteController>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { ::grpc::Service::RequestAsyncUnary(4, context, request, response, new_call_cq, notification_cq, tag); } }; template + class WithAsyncMethod_NVMfRemoteControllerReset : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithAsyncMethod_NVMfRemoteControllerReset() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_NVMfRemoteControllerReset() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestNVMfRemoteControllerReset(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::grpc::ServerAsyncResponseWriter< ::google::protobuf::Empty>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_NVMfRemoteControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithAsyncMethod_NVMfRemoteControllerStats() { - ::grpc::Service::MarkMethodAsync(5); + ::grpc::Service::MarkMethodAsync(6); } ~WithAsyncMethod_NVMfRemoteControllerStats() override { BaseClassMustBeDerivedFromService(this); @@ -337,144 +381,171 @@ class NVMfRemoteControllerService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestNVMfRemoteControllerStats(::grpc::ServerContext* context, ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::grpc::ServerAsyncResponseWriter< ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_NVMfRemoteControllerConnect > > > > > AsyncService; + typedef WithAsyncMethod_CreateNVMfRemoteController > > > > > > AsyncService; template - class WithCallbackMethod_NVMfRemoteControllerConnect : public BaseClass { + class WithCallbackMethod_CreateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NVMfRemoteControllerConnect() { + WithCallbackMethod_CreateNVMfRemoteController() { ::grpc::Service::MarkMethodCallback(0, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* response) { return this->NVMfRemoteControllerConnect(context, request, response); }));} - void SetMessageAllocatorFor_NVMfRemoteControllerConnect( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response) { return this->CreateNVMfRemoteController(context, request, response); }));} + void SetMessageAllocatorFor_CreateNVMfRemoteController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NVMfRemoteControllerConnect() override { + ~WithCallbackMethod_CreateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) override { + ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerConnect( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* CreateNVMfRemoteController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NVMfRemoteControllerDisconnect : public BaseClass { + class WithCallbackMethod_DeleteNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NVMfRemoteControllerDisconnect() { + WithCallbackMethod_DeleteNVMfRemoteController() { ::grpc::Service::MarkMethodCallback(1, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* response) { return this->NVMfRemoteControllerDisconnect(context, request, response); }));} - void SetMessageAllocatorFor_NVMfRemoteControllerDisconnect( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* request, ::google::protobuf::Empty* response) { return this->DeleteNVMfRemoteController(context, request, response); }));} + void SetMessageAllocatorFor_DeleteNVMfRemoteController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(1); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NVMfRemoteControllerDisconnect() override { + ~WithCallbackMethod_DeleteNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) override { + ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerDisconnect( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* DeleteNVMfRemoteController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NVMfRemoteControllerReset : public BaseClass { + class WithCallbackMethod_UpdateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NVMfRemoteControllerReset() { + WithCallbackMethod_UpdateNVMfRemoteController() { ::grpc::Service::MarkMethodCallback(2, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* response) { return this->NVMfRemoteControllerReset(context, request, response); }));} - void SetMessageAllocatorFor_NVMfRemoteControllerReset( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response) { return this->UpdateNVMfRemoteController(context, request, response); }));} + void SetMessageAllocatorFor_UpdateNVMfRemoteController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(2); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NVMfRemoteControllerReset() override { + ~WithCallbackMethod_UpdateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) override { + ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerReset( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* UpdateNVMfRemoteController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NVMfRemoteControllerList : public BaseClass { + class WithCallbackMethod_ListNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NVMfRemoteControllerList() { + WithCallbackMethod_ListNVMfRemoteController() { ::grpc::Service::MarkMethodCallback(3, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* response) { return this->NVMfRemoteControllerList(context, request, response); }));} - void SetMessageAllocatorFor_NVMfRemoteControllerList( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* response) { return this->ListNVMfRemoteController(context, request, response); }));} + void SetMessageAllocatorFor_ListNVMfRemoteController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(3); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NVMfRemoteControllerList() override { + ~WithCallbackMethod_ListNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) override { + ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerList( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* ListNVMfRemoteController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) { return nullptr; } }; template - class WithCallbackMethod_NVMfRemoteControllerGet : public BaseClass { + class WithCallbackMethod_GetNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithCallbackMethod_NVMfRemoteControllerGet() { + WithCallbackMethod_GetNVMfRemoteController() { ::grpc::Service::MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>( [this]( - ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* response) { return this->NVMfRemoteControllerGet(context, request, response); }));} - void SetMessageAllocatorFor_NVMfRemoteControllerGet( - ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* allocator) { + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* request, ::opi_api::storage::v1::NVMfRemoteController* response) { return this->GetNVMfRemoteController(context, request, response); }));} + void SetMessageAllocatorFor_GetNVMfRemoteController( + ::grpc::MessageAllocator< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>* allocator) { ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(4); - static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>*>(handler) + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>*>(handler) + ->SetMessageAllocator(allocator); + } + ~WithCallbackMethod_GetNVMfRemoteController() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* GetNVMfRemoteController( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) { return nullptr; } + }; + template + class WithCallbackMethod_NVMfRemoteControllerReset : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithCallbackMethod_NVMfRemoteControllerReset() { + ::grpc::Service::MarkMethodCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty>( + [this]( + ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* request, ::google::protobuf::Empty* response) { return this->NVMfRemoteControllerReset(context, request, response); }));} + void SetMessageAllocatorFor_NVMfRemoteControllerReset( + ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty>* allocator) { + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); + static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty>*>(handler) ->SetMessageAllocator(allocator); } - ~WithCallbackMethod_NVMfRemoteControllerGet() override { + ~WithCallbackMethod_NVMfRemoteControllerReset() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) override { + ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerGet( - ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) { return nullptr; } + virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerReset( + ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) { return nullptr; } }; template class WithCallbackMethod_NVMfRemoteControllerStats : public BaseClass { @@ -482,13 +553,13 @@ class NVMfRemoteControllerService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithCallbackMethod_NVMfRemoteControllerStats() { - ::grpc::Service::MarkMethodCallback(5, + ::grpc::Service::MarkMethodCallback(6, new ::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>( [this]( ::grpc::CallbackServerContext* context, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* request, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* response) { return this->NVMfRemoteControllerStats(context, request, response); }));} void SetMessageAllocatorFor_NVMfRemoteControllerStats( ::grpc::MessageAllocator< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* allocator) { - ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(5); + ::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(6); static_cast<::grpc::internal::CallbackUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>*>(handler) ->SetMessageAllocator(allocator); } @@ -503,89 +574,106 @@ class NVMfRemoteControllerService final { virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerStats( ::grpc::CallbackServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* /*response*/) { return nullptr; } }; - typedef WithCallbackMethod_NVMfRemoteControllerConnect > > > > > CallbackService; + typedef WithCallbackMethod_CreateNVMfRemoteController > > > > > > CallbackService; typedef CallbackService ExperimentalCallbackService; template - class WithGenericMethod_NVMfRemoteControllerConnect : public BaseClass { + class WithGenericMethod_CreateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NVMfRemoteControllerConnect() { + WithGenericMethod_CreateNVMfRemoteController() { ::grpc::Service::MarkMethodGeneric(0); } - ~WithGenericMethod_NVMfRemoteControllerConnect() override { + ~WithGenericMethod_CreateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) override { + ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NVMfRemoteControllerDisconnect : public BaseClass { + class WithGenericMethod_DeleteNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NVMfRemoteControllerDisconnect() { + WithGenericMethod_DeleteNVMfRemoteController() { ::grpc::Service::MarkMethodGeneric(1); } - ~WithGenericMethod_NVMfRemoteControllerDisconnect() override { + ~WithGenericMethod_DeleteNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) override { + ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NVMfRemoteControllerReset : public BaseClass { + class WithGenericMethod_UpdateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NVMfRemoteControllerReset() { + WithGenericMethod_UpdateNVMfRemoteController() { ::grpc::Service::MarkMethodGeneric(2); } - ~WithGenericMethod_NVMfRemoteControllerReset() override { + ~WithGenericMethod_UpdateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) override { + ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NVMfRemoteControllerList : public BaseClass { + class WithGenericMethod_ListNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NVMfRemoteControllerList() { + WithGenericMethod_ListNVMfRemoteController() { ::grpc::Service::MarkMethodGeneric(3); } - ~WithGenericMethod_NVMfRemoteControllerList() override { + ~WithGenericMethod_ListNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) override { + ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } }; template - class WithGenericMethod_NVMfRemoteControllerGet : public BaseClass { + class WithGenericMethod_GetNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithGenericMethod_NVMfRemoteControllerGet() { + WithGenericMethod_GetNVMfRemoteController() { ::grpc::Service::MarkMethodGeneric(4); } - ~WithGenericMethod_NVMfRemoteControllerGet() override { + ~WithGenericMethod_GetNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) override { + ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_NVMfRemoteControllerReset : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithGenericMethod_NVMfRemoteControllerReset() { + ::grpc::Service::MarkMethodGeneric(5); + } + ~WithGenericMethod_NVMfRemoteControllerReset() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -596,7 +684,7 @@ class NVMfRemoteControllerService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithGenericMethod_NVMfRemoteControllerStats() { - ::grpc::Service::MarkMethodGeneric(5); + ::grpc::Service::MarkMethodGeneric(6); } ~WithGenericMethod_NVMfRemoteControllerStats() override { BaseClassMustBeDerivedFromService(this); @@ -608,112 +696,132 @@ class NVMfRemoteControllerService final { } }; template - class WithRawMethod_NVMfRemoteControllerConnect : public BaseClass { + class WithRawMethod_CreateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NVMfRemoteControllerConnect() { + WithRawMethod_CreateNVMfRemoteController() { ::grpc::Service::MarkMethodRaw(0); } - ~WithRawMethod_NVMfRemoteControllerConnect() override { + ~WithRawMethod_CreateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) override { + ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerConnect(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestCreateNVMfRemoteController(::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_NVMfRemoteControllerDisconnect : public BaseClass { + class WithRawMethod_DeleteNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NVMfRemoteControllerDisconnect() { + WithRawMethod_DeleteNVMfRemoteController() { ::grpc::Service::MarkMethodRaw(1); } - ~WithRawMethod_NVMfRemoteControllerDisconnect() override { + ~WithRawMethod_DeleteNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) override { + ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerDisconnect(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeleteNVMfRemoteController(::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_NVMfRemoteControllerReset : public BaseClass { + class WithRawMethod_UpdateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NVMfRemoteControllerReset() { + WithRawMethod_UpdateNVMfRemoteController() { ::grpc::Service::MarkMethodRaw(2); } - ~WithRawMethod_NVMfRemoteControllerReset() override { + ~WithRawMethod_UpdateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) override { + ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerReset(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestUpdateNVMfRemoteController(::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 WithRawMethod_NVMfRemoteControllerList : public BaseClass { + class WithRawMethod_ListNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NVMfRemoteControllerList() { + WithRawMethod_ListNVMfRemoteController() { ::grpc::Service::MarkMethodRaw(3); } - ~WithRawMethod_NVMfRemoteControllerList() override { + ~WithRawMethod_ListNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) override { + ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerList(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestListNVMfRemoteController(::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(3, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawMethod_NVMfRemoteControllerGet : public BaseClass { + class WithRawMethod_GetNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawMethod_NVMfRemoteControllerGet() { + WithRawMethod_GetNVMfRemoteController() { ::grpc::Service::MarkMethodRaw(4); } - ~WithRawMethod_NVMfRemoteControllerGet() override { + ~WithRawMethod_GetNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) override { + ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestNVMfRemoteControllerGet(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestGetNVMfRemoteController(::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(4, context, request, response, new_call_cq, notification_cq, tag); } }; template + class WithRawMethod_NVMfRemoteControllerReset : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawMethod_NVMfRemoteControllerReset() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_NVMfRemoteControllerReset() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestNVMfRemoteControllerReset(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_NVMfRemoteControllerStats : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawMethod_NVMfRemoteControllerStats() { - ::grpc::Service::MarkMethodRaw(5); + ::grpc::Service::MarkMethodRaw(6); } ~WithRawMethod_NVMfRemoteControllerStats() override { BaseClassMustBeDerivedFromService(this); @@ -724,117 +832,139 @@ class NVMfRemoteControllerService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestNVMfRemoteControllerStats(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(5, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(6, context, request, response, new_call_cq, notification_cq, tag); } }; template - class WithRawCallbackMethod_NVMfRemoteControllerConnect : public BaseClass { + class WithRawCallbackMethod_CreateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NVMfRemoteControllerConnect() { + WithRawCallbackMethod_CreateNVMfRemoteController() { ::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->NVMfRemoteControllerConnect(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->CreateNVMfRemoteController(context, request, response); })); } - ~WithRawCallbackMethod_NVMfRemoteControllerConnect() override { + ~WithRawCallbackMethod_CreateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) override { + ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerConnect( + virtual ::grpc::ServerUnaryReactor* CreateNVMfRemoteController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NVMfRemoteControllerDisconnect : public BaseClass { + class WithRawCallbackMethod_DeleteNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NVMfRemoteControllerDisconnect() { + WithRawCallbackMethod_DeleteNVMfRemoteController() { ::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->NVMfRemoteControllerDisconnect(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->DeleteNVMfRemoteController(context, request, response); })); } - ~WithRawCallbackMethod_NVMfRemoteControllerDisconnect() override { + ~WithRawCallbackMethod_DeleteNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) override { + ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerDisconnect( + virtual ::grpc::ServerUnaryReactor* DeleteNVMfRemoteController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NVMfRemoteControllerReset : public BaseClass { + class WithRawCallbackMethod_UpdateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NVMfRemoteControllerReset() { + WithRawCallbackMethod_UpdateNVMfRemoteController() { ::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->NVMfRemoteControllerReset(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->UpdateNVMfRemoteController(context, request, response); })); } - ~WithRawCallbackMethod_NVMfRemoteControllerReset() override { + ~WithRawCallbackMethod_UpdateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) override { + ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerReset( + virtual ::grpc::ServerUnaryReactor* UpdateNVMfRemoteController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NVMfRemoteControllerList : public BaseClass { + class WithRawCallbackMethod_ListNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NVMfRemoteControllerList() { + WithRawCallbackMethod_ListNVMfRemoteController() { ::grpc::Service::MarkMethodRawCallback(3, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NVMfRemoteControllerList(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->ListNVMfRemoteController(context, request, response); })); } - ~WithRawCallbackMethod_NVMfRemoteControllerList() override { + ~WithRawCallbackMethod_ListNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) override { + ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerList( + virtual ::grpc::ServerUnaryReactor* ListNVMfRemoteController( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithRawCallbackMethod_NVMfRemoteControllerGet : public BaseClass { + class WithRawCallbackMethod_GetNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithRawCallbackMethod_NVMfRemoteControllerGet() { + WithRawCallbackMethod_GetNVMfRemoteController() { ::grpc::Service::MarkMethodRawCallback(4, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( - ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NVMfRemoteControllerGet(context, request, response); })); + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->GetNVMfRemoteController(context, request, response); })); } - ~WithRawCallbackMethod_NVMfRemoteControllerGet() override { + ~WithRawCallbackMethod_GetNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) override { + ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerGet( + virtual ::grpc::ServerUnaryReactor* GetNVMfRemoteController( + ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } + }; + template + class WithRawCallbackMethod_NVMfRemoteControllerReset : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithRawCallbackMethod_NVMfRemoteControllerReset() { + ::grpc::Service::MarkMethodRawCallback(5, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this]( + ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NVMfRemoteControllerReset(context, request, response); })); + } + ~WithRawCallbackMethod_NVMfRemoteControllerReset() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual ::grpc::ServerUnaryReactor* NVMfRemoteControllerReset( ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template @@ -843,7 +973,7 @@ class NVMfRemoteControllerService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithRawCallbackMethod_NVMfRemoteControllerStats() { - ::grpc::Service::MarkMethodRawCallback(5, + ::grpc::Service::MarkMethodRawCallback(6, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this]( ::grpc::CallbackServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->NVMfRemoteControllerStats(context, request, response); })); @@ -860,139 +990,166 @@ class NVMfRemoteControllerService final { ::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/) { return nullptr; } }; template - class WithStreamedUnaryMethod_NVMfRemoteControllerConnect : public BaseClass { + class WithStreamedUnaryMethod_CreateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NVMfRemoteControllerConnect() { + WithStreamedUnaryMethod_CreateNVMfRemoteController() { ::grpc::Service::MarkMethodStreamed(0, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>( + ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* streamer) { - return this->StreamedNVMfRemoteControllerConnect(context, + ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>* streamer) { + return this->StreamedCreateNVMfRemoteController(context, streamer); })); } - ~WithStreamedUnaryMethod_NVMfRemoteControllerConnect() override { + ~WithStreamedUnaryMethod_CreateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NVMfRemoteControllerConnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* /*response*/) override { + ::grpc::Status CreateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNVMfRemoteControllerConnect(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest,::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedCreateNVMfRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest,::opi_api::storage::v1::NVMfRemoteController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NVMfRemoteControllerDisconnect : public BaseClass { + class WithStreamedUnaryMethod_DeleteNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NVMfRemoteControllerDisconnect() { + WithStreamedUnaryMethod_DeleteNVMfRemoteController() { ::grpc::Service::MarkMethodStreamed(1, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>( + ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* streamer) { - return this->StreamedNVMfRemoteControllerDisconnect(context, + ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, ::google::protobuf::Empty>* streamer) { + return this->StreamedDeleteNVMfRemoteController(context, streamer); })); } - ~WithStreamedUnaryMethod_NVMfRemoteControllerDisconnect() override { + ~WithStreamedUnaryMethod_DeleteNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NVMfRemoteControllerDisconnect(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* /*response*/) override { + ::grpc::Status DeleteNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNVMfRemoteControllerDisconnect(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest,::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedDeleteNVMfRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NVMfRemoteControllerReset : public BaseClass { + class WithStreamedUnaryMethod_UpdateNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NVMfRemoteControllerReset() { + WithStreamedUnaryMethod_UpdateNVMfRemoteController() { ::grpc::Service::MarkMethodStreamed(2, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>( + ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* streamer) { - return this->StreamedNVMfRemoteControllerReset(context, + ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>* streamer) { + return this->StreamedUpdateNVMfRemoteController(context, streamer); })); } - ~WithStreamedUnaryMethod_NVMfRemoteControllerReset() override { + ~WithStreamedUnaryMethod_UpdateNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* /*response*/) override { + ::grpc::Status UpdateNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNVMfRemoteControllerReset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest,::opi_api::storage::v1::NVMfRemoteControllerResetResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedUpdateNVMfRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest,::opi_api::storage::v1::NVMfRemoteController>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NVMfRemoteControllerList : public BaseClass { + class WithStreamedUnaryMethod_ListNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NVMfRemoteControllerList() { + WithStreamedUnaryMethod_ListNVMfRemoteController() { ::grpc::Service::MarkMethodStreamed(3, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse>( + ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NVMfRemoteControllerListRequest, ::opi_api::storage::v1::NVMfRemoteControllerListResponse>* streamer) { - return this->StreamedNVMfRemoteControllerList(context, + ::opi_api::storage::v1::ListNVMfRemoteControllerRequest, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* streamer) { + return this->StreamedListNVMfRemoteController(context, streamer); })); } - ~WithStreamedUnaryMethod_NVMfRemoteControllerList() override { + ~WithStreamedUnaryMethod_ListNVMfRemoteController() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NVMfRemoteControllerList(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerListRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerListResponse* /*response*/) override { + ::grpc::Status ListNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNVMfRemoteControllerList(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerListRequest,::opi_api::storage::v1::NVMfRemoteControllerListResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedListNVMfRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest,::opi_api::storage::v1::ListNVMfRemoteControllerResponse>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_NVMfRemoteControllerGet : public BaseClass { + class WithStreamedUnaryMethod_GetNVMfRemoteController : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: - WithStreamedUnaryMethod_NVMfRemoteControllerGet() { + WithStreamedUnaryMethod_GetNVMfRemoteController() { ::grpc::Service::MarkMethodStreamed(4, new ::grpc::internal::StreamedUnaryHandler< - ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>( + ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>( + [this](::grpc::ServerContext* context, + ::grpc::ServerUnaryStreamer< + ::opi_api::storage::v1::GetNVMfRemoteControllerRequest, ::opi_api::storage::v1::NVMfRemoteController>* streamer) { + return this->StreamedGetNVMfRemoteController(context, + streamer); + })); + } + ~WithStreamedUnaryMethod_GetNVMfRemoteController() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetNVMfRemoteController(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteController* /*response*/) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetNVMfRemoteController(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest,::opi_api::storage::v1::NVMfRemoteController>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_NVMfRemoteControllerReset : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} + public: + WithStreamedUnaryMethod_NVMfRemoteControllerReset() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< + ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty>( [this](::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< - ::opi_api::storage::v1::NVMfRemoteControllerGetRequest, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* streamer) { - return this->StreamedNVMfRemoteControllerGet(context, + ::opi_api::storage::v1::NVMfRemoteControllerResetRequest, ::google::protobuf::Empty>* streamer) { + return this->StreamedNVMfRemoteControllerReset(context, streamer); })); } - ~WithStreamedUnaryMethod_NVMfRemoteControllerGet() override { + ~WithStreamedUnaryMethod_NVMfRemoteControllerReset() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status NVMfRemoteControllerGet(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* /*request*/, ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* /*response*/) override { + ::grpc::Status NVMfRemoteControllerReset(::grpc::ServerContext* /*context*/, const ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* /*request*/, ::google::protobuf::Empty* /*response*/) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedNVMfRemoteControllerGet(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest,::opi_api::storage::v1::NVMfRemoteControllerGetResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedNVMfRemoteControllerReset(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest,::google::protobuf::Empty>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_NVMfRemoteControllerStats : public BaseClass { @@ -1000,7 +1157,7 @@ class NVMfRemoteControllerService final { void BaseClassMustBeDerivedFromService(const Service* /*service*/) {} public: WithStreamedUnaryMethod_NVMfRemoteControllerStats() { - ::grpc::Service::MarkMethodStreamed(5, + ::grpc::Service::MarkMethodStreamed(6, new ::grpc::internal::StreamedUnaryHandler< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest, ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>( [this](::grpc::ServerContext* context, @@ -1021,9 +1178,9 @@ class NVMfRemoteControllerService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedNVMfRemoteControllerStats(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest,::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_NVMfRemoteControllerConnect > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateNVMfRemoteController > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_NVMfRemoteControllerConnect > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateNVMfRemoteController > > > > > > StreamedService; }; } // namespace v1 diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc index 64490082..29e6877d 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.cc @@ -24,7 +24,7 @@ constexpr NVMfRemoteController::NVMfRemoteController( : traddr_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , subnqn_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , hostnqn_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(int64_t{0}) + , id_(nullptr) , trtype_(0) , adrfam_(0) @@ -45,126 +45,95 @@ struct NVMfRemoteControllerDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerDefaultTypeInternal _NVMfRemoteController_default_instance_; -constexpr NVMfRemoteControllerConnectRequest::NVMfRemoteControllerConnectRequest( +constexpr CreateNVMfRemoteControllerRequest::CreateNVMfRemoteControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : ctrl_(nullptr){} -struct NVMfRemoteControllerConnectRequestDefaultTypeInternal { - constexpr NVMfRemoteControllerConnectRequestDefaultTypeInternal() +struct CreateNVMfRemoteControllerRequestDefaultTypeInternal { + constexpr CreateNVMfRemoteControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerConnectRequestDefaultTypeInternal() {} + ~CreateNVMfRemoteControllerRequestDefaultTypeInternal() {} union { - NVMfRemoteControllerConnectRequest _instance; + CreateNVMfRemoteControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerConnectRequestDefaultTypeInternal _NVMfRemoteControllerConnectRequest_default_instance_; -constexpr NVMfRemoteControllerConnectResponse::NVMfRemoteControllerConnectResponse( - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} -struct NVMfRemoteControllerConnectResponseDefaultTypeInternal { - constexpr NVMfRemoteControllerConnectResponseDefaultTypeInternal() - : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerConnectResponseDefaultTypeInternal() {} - union { - NVMfRemoteControllerConnectResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerConnectResponseDefaultTypeInternal _NVMfRemoteControllerConnectResponse_default_instance_; -constexpr NVMfRemoteControllerDisconnectRequest::NVMfRemoteControllerDisconnectRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNVMfRemoteControllerRequestDefaultTypeInternal _CreateNVMfRemoteControllerRequest_default_instance_; +constexpr DeleteNVMfRemoteControllerRequest::DeleteNVMfRemoteControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(int64_t{0}){} -struct NVMfRemoteControllerDisconnectRequestDefaultTypeInternal { - constexpr NVMfRemoteControllerDisconnectRequestDefaultTypeInternal() + : id_(nullptr){} +struct DeleteNVMfRemoteControllerRequestDefaultTypeInternal { + constexpr DeleteNVMfRemoteControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerDisconnectRequestDefaultTypeInternal() {} + ~DeleteNVMfRemoteControllerRequestDefaultTypeInternal() {} union { - NVMfRemoteControllerDisconnectRequest _instance; + DeleteNVMfRemoteControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerDisconnectRequestDefaultTypeInternal _NVMfRemoteControllerDisconnectRequest_default_instance_; -constexpr NVMfRemoteControllerDisconnectResponse::NVMfRemoteControllerDisconnectResponse( - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} -struct NVMfRemoteControllerDisconnectResponseDefaultTypeInternal { - constexpr NVMfRemoteControllerDisconnectResponseDefaultTypeInternal() - : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerDisconnectResponseDefaultTypeInternal() {} - union { - NVMfRemoteControllerDisconnectResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerDisconnectResponseDefaultTypeInternal _NVMfRemoteControllerDisconnectResponse_default_instance_; -constexpr NVMfRemoteControllerResetRequest::NVMfRemoteControllerResetRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DeleteNVMfRemoteControllerRequestDefaultTypeInternal _DeleteNVMfRemoteControllerRequest_default_instance_; +constexpr UpdateNVMfRemoteControllerRequest::UpdateNVMfRemoteControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(int64_t{0}){} -struct NVMfRemoteControllerResetRequestDefaultTypeInternal { - constexpr NVMfRemoteControllerResetRequestDefaultTypeInternal() - : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerResetRequestDefaultTypeInternal() {} - union { - NVMfRemoteControllerResetRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerResetRequestDefaultTypeInternal _NVMfRemoteControllerResetRequest_default_instance_; -constexpr NVMfRemoteControllerResetResponse::NVMfRemoteControllerResetResponse( - ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} -struct NVMfRemoteControllerResetResponseDefaultTypeInternal { - constexpr NVMfRemoteControllerResetResponseDefaultTypeInternal() + : ctrl_(nullptr){} +struct UpdateNVMfRemoteControllerRequestDefaultTypeInternal { + constexpr UpdateNVMfRemoteControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerResetResponseDefaultTypeInternal() {} + ~UpdateNVMfRemoteControllerRequestDefaultTypeInternal() {} union { - NVMfRemoteControllerResetResponse _instance; + UpdateNVMfRemoteControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerResetResponseDefaultTypeInternal _NVMfRemoteControllerResetResponse_default_instance_; -constexpr NVMfRemoteControllerListRequest::NVMfRemoteControllerListRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UpdateNVMfRemoteControllerRequestDefaultTypeInternal _UpdateNVMfRemoteControllerRequest_default_instance_; +constexpr ListNVMfRemoteControllerRequest::ListNVMfRemoteControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(int64_t{0}){} -struct NVMfRemoteControllerListRequestDefaultTypeInternal { - constexpr NVMfRemoteControllerListRequestDefaultTypeInternal() + : page_token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , page_size_(0){} +struct ListNVMfRemoteControllerRequestDefaultTypeInternal { + constexpr ListNVMfRemoteControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerListRequestDefaultTypeInternal() {} + ~ListNVMfRemoteControllerRequestDefaultTypeInternal() {} union { - NVMfRemoteControllerListRequest _instance; + ListNVMfRemoteControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerListRequestDefaultTypeInternal _NVMfRemoteControllerListRequest_default_instance_; -constexpr NVMfRemoteControllerListResponse::NVMfRemoteControllerListResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListNVMfRemoteControllerRequestDefaultTypeInternal _ListNVMfRemoteControllerRequest_default_instance_; +constexpr ListNVMfRemoteControllerResponse::ListNVMfRemoteControllerResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : ctrl_(){} -struct NVMfRemoteControllerListResponseDefaultTypeInternal { - constexpr NVMfRemoteControllerListResponseDefaultTypeInternal() + : ctrls_() + , next_page_token_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct ListNVMfRemoteControllerResponseDefaultTypeInternal { + constexpr ListNVMfRemoteControllerResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerListResponseDefaultTypeInternal() {} + ~ListNVMfRemoteControllerResponseDefaultTypeInternal() {} union { - NVMfRemoteControllerListResponse _instance; + ListNVMfRemoteControllerResponse _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerListResponseDefaultTypeInternal _NVMfRemoteControllerListResponse_default_instance_; -constexpr NVMfRemoteControllerGetRequest::NVMfRemoteControllerGetRequest( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ListNVMfRemoteControllerResponseDefaultTypeInternal _ListNVMfRemoteControllerResponse_default_instance_; +constexpr GetNVMfRemoteControllerRequest::GetNVMfRemoteControllerRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(int64_t{0}){} -struct NVMfRemoteControllerGetRequestDefaultTypeInternal { - constexpr NVMfRemoteControllerGetRequestDefaultTypeInternal() + : id_(nullptr){} +struct GetNVMfRemoteControllerRequestDefaultTypeInternal { + constexpr GetNVMfRemoteControllerRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerGetRequestDefaultTypeInternal() {} + ~GetNVMfRemoteControllerRequestDefaultTypeInternal() {} union { - NVMfRemoteControllerGetRequest _instance; + GetNVMfRemoteControllerRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerGetRequestDefaultTypeInternal _NVMfRemoteControllerGetRequest_default_instance_; -constexpr NVMfRemoteControllerGetResponse::NVMfRemoteControllerGetResponse( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GetNVMfRemoteControllerRequestDefaultTypeInternal _GetNVMfRemoteControllerRequest_default_instance_; +constexpr NVMfRemoteControllerResetRequest::NVMfRemoteControllerResetRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : ctrl_(nullptr){} -struct NVMfRemoteControllerGetResponseDefaultTypeInternal { - constexpr NVMfRemoteControllerGetResponseDefaultTypeInternal() + : id_(nullptr){} +struct NVMfRemoteControllerResetRequestDefaultTypeInternal { + constexpr NVMfRemoteControllerResetRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} - ~NVMfRemoteControllerGetResponseDefaultTypeInternal() {} + ~NVMfRemoteControllerResetRequestDefaultTypeInternal() {} union { - NVMfRemoteControllerGetResponse _instance; + NVMfRemoteControllerResetRequest _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerGetResponseDefaultTypeInternal _NVMfRemoteControllerGetResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerResetRequestDefaultTypeInternal _NVMfRemoteControllerResetRequest_default_instance_; constexpr NVMfRemoteControllerStatsRequest::NVMfRemoteControllerStatsRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : id_(int64_t{0}){} + : id_(nullptr){} struct NVMfRemoteControllerStatsRequestDefaultTypeInternal { constexpr NVMfRemoteControllerStatsRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -176,8 +145,7 @@ struct NVMfRemoteControllerStatsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerStatsRequestDefaultTypeInternal _NVMfRemoteControllerStatsRequest_default_instance_; constexpr NVMfRemoteControllerStatsResponse::NVMfRemoteControllerStatsResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) - : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) - , id_(int64_t{0}){} + : stats_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} struct NVMfRemoteControllerStatsResponseDefaultTypeInternal { constexpr NVMfRemoteControllerStatsResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} @@ -190,7 +158,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NVMfRemoteControllerStatsRespon } // namespace v1 } // namespace storage } // namespace opi_api -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_backend_5fnvme_5ftcp_2eproto[13]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_backend_5fnvme_5ftcp_2eproto[10]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_backend_5fnvme_5ftcp_2eproto[3]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_backend_5fnvme_5ftcp_2eproto = nullptr; @@ -214,72 +182,56 @@ const uint32_t TableStruct_backend_5fnvme_5ftcp_2eproto::offsets[] PROTOBUF_SECT PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteController, queue_size_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteController, hostnqn_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerConnectRequest, _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::NVMfRemoteControllerConnectRequest, ctrl_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerConnectResponse, _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::NVMfRemoteControllerDisconnectRequest, _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::NVMfRemoteControllerDisconnectRequest, id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::CreateNVMfRemoteControllerRequest, _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::CreateNVMfRemoteControllerRequest, ctrl_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerResetRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, _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::NVMfRemoteControllerResetRequest, id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest, id_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerResetResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest, _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::UpdateNVMfRemoteControllerRequest, ctrl_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerListRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMfRemoteControllerRequest, _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::NVMfRemoteControllerListRequest, id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMfRemoteControllerRequest, page_size_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMfRemoteControllerRequest, page_token_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerListResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMfRemoteControllerResponse, _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::NVMfRemoteControllerListResponse, ctrl_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMfRemoteControllerResponse, ctrls_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::ListNVMfRemoteControllerResponse, next_page_token_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerGetRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNVMfRemoteControllerRequest, _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::NVMfRemoteControllerGetRequest, id_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::GetNVMfRemoteControllerRequest, id_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerGetResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerResetRequest, _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::NVMfRemoteControllerGetResponse, ctrl_), + PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerResetRequest, id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerStatsRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -293,112 +245,118 @@ const uint32_t TableStruct_backend_5fnvme_5ftcp_2eproto::offsets[] PROTOBUF_SECT ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerStatsResponse, id_), PROTOBUF_FIELD_OFFSET(::opi_api::storage::v1::NVMfRemoteControllerStatsResponse, stats_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteController)}, - { 18, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerConnectRequest)}, - { 25, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerConnectResponse)}, - { 31, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest)}, - { 38, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse)}, - { 44, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerResetRequest)}, - { 51, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerResetResponse)}, - { 57, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerListRequest)}, - { 64, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerListResponse)}, - { 71, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerGetRequest)}, - { 78, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerGetResponse)}, - { 85, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerStatsRequest)}, - { 92, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerStatsResponse)}, + { 18, -1, -1, sizeof(::opi_api::storage::v1::CreateNVMfRemoteControllerRequest)}, + { 25, -1, -1, sizeof(::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest)}, + { 32, -1, -1, sizeof(::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest)}, + { 39, -1, -1, sizeof(::opi_api::storage::v1::ListNVMfRemoteControllerRequest)}, + { 47, -1, -1, sizeof(::opi_api::storage::v1::ListNVMfRemoteControllerResponse)}, + { 55, -1, -1, sizeof(::opi_api::storage::v1::GetNVMfRemoteControllerRequest)}, + { 62, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerResetRequest)}, + { 69, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerStatsRequest)}, + { 76, -1, -1, sizeof(::opi_api::storage::v1::NVMfRemoteControllerStatsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteController_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerConnectRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerConnectResponse_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerDisconnectRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerDisconnectResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_CreateNVMfRemoteControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_DeleteNVMfRemoteControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_UpdateNVMfRemoteControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ListNVMfRemoteControllerRequest_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_ListNVMfRemoteControllerResponse_default_instance_), + reinterpret_cast(&::opi_api::storage::v1::_GetNVMfRemoteControllerRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerResetRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerResetResponse_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerListRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerListResponse_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerGetRequest_default_instance_), - reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerGetResponse_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerStatsRequest_default_instance_), reinterpret_cast(&::opi_api::storage::v1::_NVMfRemoteControllerStatsResponse_default_instance_), }; const char descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\026backend_nvme_tcp.proto\022\022opi_api.storag" - "e.v1\"\323\002\n\024NVMfRemoteController\022\n\n\002id\030\001 \001(" - "\003\0225\n\006trtype\030\002 \001(\0162%.opi_api.storage.v1.N" - "vmeTransportType\0225\n\006adrfam\030\003 \001(\0162%.opi_a" - "pi.storage.v1.NvmeAddressFamily\022\016\n\006tradd" - "r\030\004 \001(\t\022\017\n\007trsvcid\030\005 \001(\003\022\016\n\006subnqn\030\006 \001(\t" - "\022\r\n\005hdgst\030\007 \001(\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmultip" - "ath\030\t \001(\0162!.opi_api.storage.v1.NvmeMulti" - "path\022\027\n\017io_queues_count\030\n \001(\003\022\022\n\nqueue_s" - "ize\030\013 \001(\003\022\017\n\007hostnqn\030\014 \001(\t\"\\\n\"NVMfRemote" - "ControllerConnectRequest\0226\n\004ctrl\030\001 \001(\0132(" - ".opi_api.storage.v1.NVMfRemoteController" - "\"%\n#NVMfRemoteControllerConnectResponse\"" - "3\n%NVMfRemoteControllerDisconnectRequest" - "\022\n\n\002id\030\001 \001(\003\"(\n&NVMfRemoteControllerDisc" - "onnectResponse\".\n NVMfRemoteControllerRe" - "setRequest\022\n\n\002id\030\001 \001(\003\"#\n!NVMfRemoteCont" - "rollerResetResponse\"-\n\037NVMfRemoteControl" - "lerListRequest\022\n\n\002id\030\001 \001(\003\"Z\n NVMfRemote" - "ControllerListResponse\0226\n\004ctrl\030\001 \003(\0132(.o" - "pi_api.storage.v1.NVMfRemoteController\"," - "\n\036NVMfRemoteControllerGetRequest\022\n\n\002id\030\001" - " \001(\003\"Y\n\037NVMfRemoteControllerGetResponse\022" - "6\n\004ctrl\030\001 \001(\0132(.opi_api.storage.v1.NVMfR" - "emoteController\".\n NVMfRemoteControllerS" - "tatsRequest\022\n\n\002id\030\001 \001(\003\">\n!NVMfRemoteCon" - "trollerStatsResponse\022\n\n\002id\030\001 \001(\003\022\r\n\005stat" - "s\030\002 \001(\t*\264\001\n\021NvmeTransportType\022#\n\037NVME_TR" - "ANSPORT_TYPE_UNSPECIFIED\020\000\022\025\n\021NVME_TRANS" - "PORT_FC\020\001\022\027\n\023NVME_TRANSPORT_PCIE\020\002\022\027\n\023NV" - "ME_TRANSPORT_RDMA\020\003\022\026\n\022NVME_TRANSPORT_TC" - "P\020\004\022\031\n\025NVME_TRANSPORT_CUSTOM\020\005*\250\001\n\021NvmeA" - "ddressFamily\022#\n\037NVME_ADDRESS_FAMILY_UNSP" - "ECIFIED\020\000\022\024\n\020NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF_" - "ADRFAM_IPV6\020\002\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NVM" - "F_ADRFAM_FC\020\004\022\032\n\026NVMF_ADRFAM_INTRA_HOST\020" - "\005*\206\001\n\rNvmeMultipath\022\036\n\032NVME_MULTIPATH_UN" - "SPECIFIED\020\000\022\032\n\026NVME_MULTIPATH_DISABLE\020\001\022" - "\033\n\027NVME_MULTIPATH_FAILOVER\020\002\022\034\n\030NVME_MUL" - "TIPATH_MULTIPATH\020\0032\367\006\n\033NVMfRemoteControl" - "lerService\022\220\001\n\033NVMfRemoteControllerConne" - "ct\0226.opi_api.storage.v1.NVMfRemoteContro" - "llerConnectRequest\0327.opi_api.storage.v1." - "NVMfRemoteControllerConnectResponse\"\000\022\231\001" - "\n\036NVMfRemoteControllerDisconnect\0229.opi_a" - "pi.storage.v1.NVMfRemoteControllerDiscon" - "nectRequest\032:.opi_api.storage.v1.NVMfRem" - "oteControllerDisconnectResponse\"\000\022\212\001\n\031NV" - "MfRemoteControllerReset\0224.opi_api.storag" - "e.v1.NVMfRemoteControllerResetRequest\0325." - "opi_api.storage.v1.NVMfRemoteControllerR" - "esetResponse\"\000\022\207\001\n\030NVMfRemoteControllerL" - "ist\0223.opi_api.storage.v1.NVMfRemoteContr" - "ollerListRequest\0324.opi_api.storage.v1.NV" - "MfRemoteControllerListResponse\"\000\022\204\001\n\027NVM" - "fRemoteControllerGet\0222.opi_api.storage.v" - "1.NVMfRemoteControllerGetRequest\0323.opi_a" - "pi.storage.v1.NVMfRemoteControllerGetRes" - "ponse\"\000\022\212\001\n\031NVMfRemoteControllerStats\0224." - "opi_api.storage.v1.NVMfRemoteControllerS" - "tatsRequest\0325.opi_api.storage.v1.NVMfRem" - "oteControllerStatsResponse\"\000Bb\n\022opi_api." - "storage.v1B\023BackendNvmeTcpProtoP\001Z5githu" - "b.com/opiproject/opi-api/storage/v1alpha" - "1/gen/gob\006proto3" + "e.v1\032\033google/protobuf/empty.proto\032\034googl" + "e/api/annotations.proto\032\020object_key.prot" + "o\"\361\002\n\024NVMfRemoteController\022(\n\002id\030\001 \001(\0132\034" + ".opi_api.common.v1.ObjectKey\0225\n\006trtype\030\002" + " \001(\0162%.opi_api.storage.v1.NvmeTransportT" + "ype\0225\n\006adrfam\030\003 \001(\0162%.opi_api.storage.v1" + ".NvmeAddressFamily\022\016\n\006traddr\030\004 \001(\t\022\017\n\007tr" + "svcid\030\005 \001(\003\022\016\n\006subnqn\030\006 \001(\t\022\r\n\005hdgst\030\007 \001" + "(\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmultipath\030\t \001(\0162!.o" + "pi_api.storage.v1.NvmeMultipath\022\027\n\017io_qu" + "eues_count\030\n \001(\003\022\022\n\nqueue_size\030\013 \001(\003\022\017\n\007" + "hostnqn\030\014 \001(\t\"[\n!CreateNVMfRemoteControl" + "lerRequest\0226\n\004ctrl\030\001 \001(\0132(.opi_api.stora" + "ge.v1.NVMfRemoteController\"M\n!DeleteNVMf" + "RemoteControllerRequest\022(\n\002id\030\001 \001(\0132\034.op" + "i_api.common.v1.ObjectKey\"[\n!UpdateNVMfR" + "emoteControllerRequest\0226\n\004ctrl\030\001 \001(\0132(.o" + "pi_api.storage.v1.NVMfRemoteController\"H" + "\n\037ListNVMfRemoteControllerRequest\022\021\n\tpag" + "e_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"t\n List" + "NVMfRemoteControllerResponse\0227\n\005ctrls\030\001 " + "\003(\0132(.opi_api.storage.v1.NVMfRemoteContr" + "oller\022\027\n\017next_page_token\030\002 \001(\t\"J\n\036GetNVM" + "fRemoteControllerRequest\022(\n\002id\030\001 \001(\0132\034.o" + "pi_api.common.v1.ObjectKey\"L\n NVMfRemote" + "ControllerResetRequest\022(\n\002id\030\001 \001(\0132\034.opi" + "_api.common.v1.ObjectKey\"L\n NVMfRemoteCo" + "ntrollerStatsRequest\022(\n\002id\030\001 \001(\0132\034.opi_a" + "pi.common.v1.ObjectKey\"2\n!NVMfRemoteCont" + "rollerStatsResponse\022\r\n\005stats\030\001 \001(\t*\264\001\n\021N" + "vmeTransportType\022#\n\037NVME_TRANSPORT_TYPE_" + "UNSPECIFIED\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001\022\027\n\023" + "NVME_TRANSPORT_PCIE\020\002\022\027\n\023NVME_TRANSPORT_" + "RDMA\020\003\022\026\n\022NVME_TRANSPORT_TCP\020\004\022\031\n\025NVME_T" + "RANSPORT_CUSTOM\020\005*\250\001\n\021NvmeAddressFamily\022" + "#\n\037NVME_ADDRESS_FAMILY_UNSPECIFIED\020\000\022\024\n\020" + "NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF_ADRFAM_IPV6\020\002" + "\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NVMF_ADRFAM_FC\020\004" + "\022\032\n\026NVMF_ADRFAM_INTRA_HOST\020\005*\206\001\n\rNvmeMul" + "tipath\022\036\n\032NVME_MULTIPATH_UNSPECIFIED\020\000\022\032" + "\n\026NVME_MULTIPATH_DISABLE\020\001\022\033\n\027NVME_MULTI" + "PATH_FAILOVER\020\002\022\034\n\030NVME_MULTIPATH_MULTIP" + "ATH\020\0032\255\010\n\033NVMfRemoteControllerService\022\240\001" + "\n\032CreateNVMfRemoteController\0225.opi_api.s" + "torage.v1.CreateNVMfRemoteControllerRequ" + "est\032(.opi_api.storage.v1.NVMfRemoteContr" + "oller\"!\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsystem" + "\022\217\001\n\032DeleteNVMfRemoteController\0225.opi_ap" + "i.storage.v1.DeleteNVMfRemoteControllerR" + "equest\032\026.google.protobuf.Empty\"\"\202\323\344\223\002\034*\032" + "/v1/subsystems/{subsystem}\022\240\001\n\032UpdateNVM" + "fRemoteController\0225.opi_api.storage.v1.U" + "pdateNVMfRemoteControllerRequest\032(.opi_a" + "pi.storage.v1.NVMfRemoteController\"!\202\323\344\223" + "\002\0332\016/v1/subsystems:\tsubsystem\022\235\001\n\030ListNV" + "MfRemoteController\0223.opi_api.storage.v1." + "ListNVMfRemoteControllerRequest\0324.opi_ap" + "i.storage.v1.ListNVMfRemoteControllerRes" + "ponse\"\026\202\323\344\223\002\020\022\016/v1/subsystems\022\233\001\n\027GetNVM" + "fRemoteController\0222.opi_api.storage.v1.G" + "etNVMfRemoteControllerRequest\032(.opi_api." + "storage.v1.NVMfRemoteController\"\"\202\323\344\223\002\034\022" + "\032/v1/subsystems/{subsystem}\022k\n\031NVMfRemot" + "eControllerReset\0224.opi_api.storage.v1.NV" + "MfRemoteControllerResetRequest\032\026.google." + "protobuf.Empty\"\000\022\212\001\n\031NVMfRemoteControlle" + "rStats\0224.opi_api.storage.v1.NVMfRemoteCo" + "ntrollerStatsRequest\0325.opi_api.storage.v" + "1.NVMfRemoteControllerStatsResponse\"\000Bb\n" + "\022opi_api.storage.v1B\023BackendNvmeTcpProto" + "P\001Z5github.com/opiproject/opi-api/storag" + "e/v1alpha1/gen/gob\006proto3" ; +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backend_5fnvme_5ftcp_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_backend_5fnvme_5ftcp_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backend_5fnvme_5ftcp_2eproto = { - false, false, 2576, descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto, "backend_nvme_tcp.proto", - &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, nullptr, 0, 13, + false, false, 2905, descriptor_table_protodef_backend_5fnvme_5ftcp_2eproto, "backend_nvme_tcp.proto", + &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, descriptor_table_backend_5fnvme_5ftcp_2eproto_deps, 3, 10, schemas, file_default_instances, TableStruct_backend_5fnvme_5ftcp_2eproto::offsets, file_level_metadata_backend_5fnvme_5ftcp_2eproto, file_level_enum_descriptors_backend_5fnvme_5ftcp_2eproto, file_level_service_descriptors_backend_5fnvme_5ftcp_2eproto, }; @@ -468,8 +426,19 @@ bool NvmeMultipath_IsValid(int value) { class NVMfRemoteController::_Internal { public: + static const ::opi_api::common::v1::ObjectKey& id(const NVMfRemoteController* msg); }; +const ::opi_api::common::v1::ObjectKey& +NVMfRemoteController::_Internal::id(const NVMfRemoteController* msg) { + return *msg->id_; +} +void NVMfRemoteController::clear_id() { + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; +} NVMfRemoteController::NVMfRemoteController(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -506,9 +475,14 @@ NVMfRemoteController::NVMfRemoteController(const NVMfRemoteController& from) hostnqn_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_hostnqn(), GetArenaForAllocation()); } - ::memcpy(&id_, &from.id_, + if (from._internal_has_id()) { + id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); + } else { + id_ = nullptr; + } + ::memcpy(&trtype_, &from.trtype_, static_cast(reinterpret_cast(&queue_size_) - - reinterpret_cast(&id_)) + sizeof(queue_size_)); + reinterpret_cast(&trtype_)) + sizeof(queue_size_)); // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteController) } @@ -543,6 +517,7 @@ inline void NVMfRemoteController::SharedDtor() { traddr_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); subnqn_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); hostnqn_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete id_; } void NVMfRemoteController::ArenaDtor(void* object) { @@ -564,9 +539,13 @@ void NVMfRemoteController::Clear() { traddr_.ClearToEmpty(); subnqn_.ClearToEmpty(); hostnqn_.ClearToEmpty(); - ::memset(&id_, 0, static_cast( + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; + ::memset(&trtype_, 0, static_cast( reinterpret_cast(&queue_size_) - - reinterpret_cast(&id_)) + sizeof(queue_size_)); + reinterpret_cast(&trtype_)) + sizeof(queue_size_)); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -576,10 +555,10 @@ const char* NVMfRemoteController::_InternalParse(const char* ptr, ::PROTOBUF_NAM uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // int64 id = 1; + // .opi_api.common.v1.ObjectKey id = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_id(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -710,10 +689,12 @@ uint8_t* NVMfRemoteController::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::id(this), target, stream); } // .opi_api.storage.v1.NvmeTransportType trtype = 2; @@ -834,9 +815,11 @@ size_t NVMfRemoteController::ByteSizeLong() const { this->_internal_hostnqn()); } - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *id_); } // .opi_api.storage.v1.NvmeTransportType trtype = 2; @@ -913,8 +896,8 @@ void NVMfRemoteController::MergeFrom(const NVMfRemoteController& from) { if (!from._internal_hostnqn().empty()) { _internal_set_hostnqn(from._internal_hostnqn()); } - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); + if (from._internal_has_id()) { + _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); } if (from._internal_trtype() != 0) { _internal_set_trtype(from._internal_trtype()); @@ -990,25 +973,25 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteController::GetMetadata() const { // =================================================================== -class NVMfRemoteControllerConnectRequest::_Internal { +class CreateNVMfRemoteControllerRequest::_Internal { public: - static const ::opi_api::storage::v1::NVMfRemoteController& ctrl(const NVMfRemoteControllerConnectRequest* msg); + static const ::opi_api::storage::v1::NVMfRemoteController& ctrl(const CreateNVMfRemoteControllerRequest* msg); }; const ::opi_api::storage::v1::NVMfRemoteController& -NVMfRemoteControllerConnectRequest::_Internal::ctrl(const NVMfRemoteControllerConnectRequest* msg) { +CreateNVMfRemoteControllerRequest::_Internal::ctrl(const CreateNVMfRemoteControllerRequest* msg) { return *msg->ctrl_; } -NVMfRemoteControllerConnectRequest::NVMfRemoteControllerConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +CreateNVMfRemoteControllerRequest::CreateNVMfRemoteControllerRequest(::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.NVMfRemoteControllerConnectRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) } -NVMfRemoteControllerConnectRequest::NVMfRemoteControllerConnectRequest(const NVMfRemoteControllerConnectRequest& from) +CreateNVMfRemoteControllerRequest::CreateNVMfRemoteControllerRequest(const CreateNVMfRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_ctrl()) { @@ -1016,37 +999,37 @@ NVMfRemoteControllerConnectRequest::NVMfRemoteControllerConnectRequest(const NVM } else { ctrl_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) } -inline void NVMfRemoteControllerConnectRequest::SharedCtor() { +inline void CreateNVMfRemoteControllerRequest::SharedCtor() { ctrl_ = nullptr; } -NVMfRemoteControllerConnectRequest::~NVMfRemoteControllerConnectRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) +CreateNVMfRemoteControllerRequest::~CreateNVMfRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerConnectRequest::SharedDtor() { +inline void CreateNVMfRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete ctrl_; } -void NVMfRemoteControllerConnectRequest::ArenaDtor(void* object) { - NVMfRemoteControllerConnectRequest* _this = reinterpret_cast< NVMfRemoteControllerConnectRequest* >(object); +void CreateNVMfRemoteControllerRequest::ArenaDtor(void* object) { + CreateNVMfRemoteControllerRequest* _this = reinterpret_cast< CreateNVMfRemoteControllerRequest* >(object); (void)_this; } -void NVMfRemoteControllerConnectRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void CreateNVMfRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerConnectRequest::SetCachedSize(int size) const { +void CreateNVMfRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerConnectRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) +void CreateNVMfRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1058,7 +1041,7 @@ void NVMfRemoteControllerConnectRequest::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerConnectRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* CreateNVMfRemoteControllerRequest::_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; @@ -1095,9 +1078,9 @@ const char* NVMfRemoteControllerConnectRequest::_InternalParse(const char* ptr, #undef CHK_ } -uint8_t* NVMfRemoteControllerConnectRequest::_InternalSerialize( +uint8_t* CreateNVMfRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1113,12 +1096,12 @@ uint8_t* NVMfRemoteControllerConnectRequest::_InternalSerialize( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) return target; } -size_t NVMfRemoteControllerConnectRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) +size_t CreateNVMfRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -1135,21 +1118,21 @@ size_t NVMfRemoteControllerConnectRequest::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerConnectRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateNVMfRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerConnectRequest::MergeImpl + CreateNVMfRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerConnectRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateNVMfRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerConnectRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void CreateNVMfRemoteControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerConnectRequest::MergeFrom(const NVMfRemoteControllerConnectRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) +void CreateNVMfRemoteControllerRequest::MergeFrom(const CreateNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -1160,24 +1143,24 @@ void NVMfRemoteControllerConnectRequest::MergeFrom(const NVMfRemoteControllerCon _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerConnectRequest::CopyFrom(const NVMfRemoteControllerConnectRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) +void CreateNVMfRemoteControllerRequest::CopyFrom(const CreateNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerConnectRequest::IsInitialized() const { +bool CreateNVMfRemoteControllerRequest::IsInitialized() const { return true; } -void NVMfRemoteControllerConnectRequest::InternalSwap(NVMfRemoteControllerConnectRequest* other) { +void CreateNVMfRemoteControllerRequest::InternalSwap(CreateNVMfRemoteControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(ctrl_, other->ctrl_); } -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerConnectRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata CreateNVMfRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, file_level_metadata_backend_5fnvme_5ftcp_2eproto[1]); @@ -1185,110 +1168,90 @@ ::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerConnectRequest::GetMetadat // =================================================================== -class NVMfRemoteControllerConnectResponse::_Internal { +class DeleteNVMfRemoteControllerRequest::_Internal { public: + static const ::opi_api::common::v1::ObjectKey& id(const DeleteNVMfRemoteControllerRequest* msg); }; -NVMfRemoteControllerConnectResponse::NVMfRemoteControllerConnectResponse(::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.NVMfRemoteControllerConnectResponse) -} -NVMfRemoteControllerConnectResponse::NVMfRemoteControllerConnectResponse(const NVMfRemoteControllerConnectResponse& 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.NVMfRemoteControllerConnectResponse) +const ::opi_api::common::v1::ObjectKey& +DeleteNVMfRemoteControllerRequest::_Internal::id(const DeleteNVMfRemoteControllerRequest* msg) { + return *msg->id_; } - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerConnectResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerConnectResponse::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerConnectResponse::GetMetadata() const { - return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( - &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[2]); +void DeleteNVMfRemoteControllerRequest::clear_id() { + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; } - -// =================================================================== - -class NVMfRemoteControllerDisconnectRequest::_Internal { - public: -}; - -NVMfRemoteControllerDisconnectRequest::NVMfRemoteControllerDisconnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +DeleteNVMfRemoteControllerRequest::DeleteNVMfRemoteControllerRequest(::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.NVMfRemoteControllerDisconnectRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) } -NVMfRemoteControllerDisconnectRequest::NVMfRemoteControllerDisconnectRequest(const NVMfRemoteControllerDisconnectRequest& from) +DeleteNVMfRemoteControllerRequest::DeleteNVMfRemoteControllerRequest(const DeleteNVMfRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_ = from.id_; - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) + if (from._internal_has_id()) { + id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); + } else { + id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) } -inline void NVMfRemoteControllerDisconnectRequest::SharedCtor() { -id_ = int64_t{0}; +inline void DeleteNVMfRemoteControllerRequest::SharedCtor() { +id_ = nullptr; } -NVMfRemoteControllerDisconnectRequest::~NVMfRemoteControllerDisconnectRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) +DeleteNVMfRemoteControllerRequest::~DeleteNVMfRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerDisconnectRequest::SharedDtor() { +inline void DeleteNVMfRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete id_; } -void NVMfRemoteControllerDisconnectRequest::ArenaDtor(void* object) { - NVMfRemoteControllerDisconnectRequest* _this = reinterpret_cast< NVMfRemoteControllerDisconnectRequest* >(object); +void DeleteNVMfRemoteControllerRequest::ArenaDtor(void* object) { + DeleteNVMfRemoteControllerRequest* _this = reinterpret_cast< DeleteNVMfRemoteControllerRequest* >(object); (void)_this; } -void NVMfRemoteControllerDisconnectRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void DeleteNVMfRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerDisconnectRequest::SetCachedSize(int size) const { +void DeleteNVMfRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerDisconnectRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) +void DeleteNVMfRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_ = int64_t{0}; + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerDisconnectRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* DeleteNVMfRemoteControllerRequest::_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) { - // int64 id = 1; + // .opi_api.common.v1.ObjectKey id = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_id(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -1316,196 +1279,174 @@ const char* NVMfRemoteControllerDisconnectRequest::_InternalParse(const char* pt #undef CHK_ } -uint8_t* NVMfRemoteControllerDisconnectRequest::_InternalSerialize( +uint8_t* DeleteNVMfRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::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.NVMfRemoteControllerDisconnectRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) return target; } -size_t NVMfRemoteControllerDisconnectRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) +size_t DeleteNVMfRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *id_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerDisconnectRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteNVMfRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerDisconnectRequest::MergeImpl + DeleteNVMfRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerDisconnectRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteNVMfRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerDisconnectRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void DeleteNVMfRemoteControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerDisconnectRequest::MergeFrom(const NVMfRemoteControllerDisconnectRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) +void DeleteNVMfRemoteControllerRequest::MergeFrom(const DeleteNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); + if (from._internal_has_id()) { + _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerDisconnectRequest::CopyFrom(const NVMfRemoteControllerDisconnectRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) +void DeleteNVMfRemoteControllerRequest::CopyFrom(const DeleteNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerDisconnectRequest::IsInitialized() const { +bool DeleteNVMfRemoteControllerRequest::IsInitialized() const { return true; } -void NVMfRemoteControllerDisconnectRequest::InternalSwap(NVMfRemoteControllerDisconnectRequest* other) { +void DeleteNVMfRemoteControllerRequest::InternalSwap(DeleteNVMfRemoteControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(id_, other->id_); } -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerDisconnectRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata DeleteNVMfRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[3]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[2]); } // =================================================================== -class NVMfRemoteControllerDisconnectResponse::_Internal { +class UpdateNVMfRemoteControllerRequest::_Internal { public: + static const ::opi_api::storage::v1::NVMfRemoteController& ctrl(const UpdateNVMfRemoteControllerRequest* msg); }; -NVMfRemoteControllerDisconnectResponse::NVMfRemoteControllerDisconnectResponse(::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.NVMfRemoteControllerDisconnectResponse) -} -NVMfRemoteControllerDisconnectResponse::NVMfRemoteControllerDisconnectResponse(const NVMfRemoteControllerDisconnectResponse& 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.NVMfRemoteControllerDisconnectResponse) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerDisconnectResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerDisconnectResponse::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerDisconnectResponse::GetMetadata() const { - return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( - &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[4]); +const ::opi_api::storage::v1::NVMfRemoteController& +UpdateNVMfRemoteControllerRequest::_Internal::ctrl(const UpdateNVMfRemoteControllerRequest* msg) { + return *msg->ctrl_; } - -// =================================================================== - -class NVMfRemoteControllerResetRequest::_Internal { - public: -}; - -NVMfRemoteControllerResetRequest::NVMfRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UpdateNVMfRemoteControllerRequest::UpdateNVMfRemoteControllerRequest(::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.NVMfRemoteControllerResetRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) } -NVMfRemoteControllerResetRequest::NVMfRemoteControllerResetRequest(const NVMfRemoteControllerResetRequest& from) +UpdateNVMfRemoteControllerRequest::UpdateNVMfRemoteControllerRequest(const UpdateNVMfRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_ = from.id_; - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerResetRequest) + if (from._internal_has_ctrl()) { + ctrl_ = new ::opi_api::storage::v1::NVMfRemoteController(*from.ctrl_); + } else { + ctrl_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) } -inline void NVMfRemoteControllerResetRequest::SharedCtor() { -id_ = int64_t{0}; +inline void UpdateNVMfRemoteControllerRequest::SharedCtor() { +ctrl_ = nullptr; } -NVMfRemoteControllerResetRequest::~NVMfRemoteControllerResetRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerResetRequest) +UpdateNVMfRemoteControllerRequest::~UpdateNVMfRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerResetRequest::SharedDtor() { +inline void UpdateNVMfRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete ctrl_; } -void NVMfRemoteControllerResetRequest::ArenaDtor(void* object) { - NVMfRemoteControllerResetRequest* _this = reinterpret_cast< NVMfRemoteControllerResetRequest* >(object); +void UpdateNVMfRemoteControllerRequest::ArenaDtor(void* object) { + UpdateNVMfRemoteControllerRequest* _this = reinterpret_cast< UpdateNVMfRemoteControllerRequest* >(object); (void)_this; } -void NVMfRemoteControllerResetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void UpdateNVMfRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerResetRequest::SetCachedSize(int size) const { +void UpdateNVMfRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerResetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) +void UpdateNVMfRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_ = int64_t{0}; + if (GetArenaForAllocation() == nullptr && ctrl_ != nullptr) { + delete ctrl_; + } + ctrl_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerResetRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* UpdateNVMfRemoteControllerRequest::_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) { - // int64 id = 1; + // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_ctrl(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -1533,196 +1474,185 @@ const char* NVMfRemoteControllerResetRequest::_InternalParse(const char* ptr, :: #undef CHK_ } -uint8_t* NVMfRemoteControllerResetRequest::_InternalSerialize( +uint8_t* UpdateNVMfRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { + // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + if (this->_internal_has_ctrl()) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::ctrl(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.NVMfRemoteControllerResetRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) return target; } -size_t NVMfRemoteControllerResetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) +size_t UpdateNVMfRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); + // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + if (this->_internal_has_ctrl()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *ctrl_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerResetRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UpdateNVMfRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerResetRequest::MergeImpl + UpdateNVMfRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerResetRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UpdateNVMfRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerResetRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void UpdateNVMfRemoteControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerResetRequest::MergeFrom(const NVMfRemoteControllerResetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) +void UpdateNVMfRemoteControllerRequest::MergeFrom(const UpdateNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); + if (from._internal_has_ctrl()) { + _internal_mutable_ctrl()->::opi_api::storage::v1::NVMfRemoteController::MergeFrom(from._internal_ctrl()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerResetRequest::CopyFrom(const NVMfRemoteControllerResetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) +void UpdateNVMfRemoteControllerRequest::CopyFrom(const UpdateNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerResetRequest::IsInitialized() const { +bool UpdateNVMfRemoteControllerRequest::IsInitialized() const { return true; } -void NVMfRemoteControllerResetRequest::InternalSwap(NVMfRemoteControllerResetRequest* other) { +void UpdateNVMfRemoteControllerRequest::InternalSwap(UpdateNVMfRemoteControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(id_, other->id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerResetRequest::GetMetadata() const { - return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( - &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[5]); -} - -// =================================================================== - -class NVMfRemoteControllerResetResponse::_Internal { - public: -}; - -NVMfRemoteControllerResetResponse::NVMfRemoteControllerResetResponse(::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.NVMfRemoteControllerResetResponse) -} -NVMfRemoteControllerResetResponse::NVMfRemoteControllerResetResponse(const NVMfRemoteControllerResetResponse& 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.NVMfRemoteControllerResetResponse) + swap(ctrl_, other->ctrl_); } - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerResetResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerResetResponse::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerResetResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UpdateNVMfRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[6]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[3]); } // =================================================================== -class NVMfRemoteControllerListRequest::_Internal { +class ListNVMfRemoteControllerRequest::_Internal { public: }; -NVMfRemoteControllerListRequest::NVMfRemoteControllerListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListNVMfRemoteControllerRequest::ListNVMfRemoteControllerRequest(::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.NVMfRemoteControllerListRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ListNVMfRemoteControllerRequest) } -NVMfRemoteControllerListRequest::NVMfRemoteControllerListRequest(const NVMfRemoteControllerListRequest& from) +ListNVMfRemoteControllerRequest::ListNVMfRemoteControllerRequest(const ListNVMfRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_ = from.id_; - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerListRequest) + page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_page_token().empty()) { + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_page_token(), + GetArenaForAllocation()); + } + page_size_ = from.page_size_; + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ListNVMfRemoteControllerRequest) } -inline void NVMfRemoteControllerListRequest::SharedCtor() { -id_ = int64_t{0}; +inline void ListNVMfRemoteControllerRequest::SharedCtor() { +page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +page_size_ = 0; } -NVMfRemoteControllerListRequest::~NVMfRemoteControllerListRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerListRequest) +ListNVMfRemoteControllerRequest::~ListNVMfRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ListNVMfRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerListRequest::SharedDtor() { +inline void ListNVMfRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + page_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NVMfRemoteControllerListRequest::ArenaDtor(void* object) { - NVMfRemoteControllerListRequest* _this = reinterpret_cast< NVMfRemoteControllerListRequest* >(object); +void ListNVMfRemoteControllerRequest::ArenaDtor(void* object) { + ListNVMfRemoteControllerRequest* _this = reinterpret_cast< ListNVMfRemoteControllerRequest* >(object); (void)_this; } -void NVMfRemoteControllerListRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ListNVMfRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerListRequest::SetCachedSize(int size) const { +void ListNVMfRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerListRequest) +void ListNVMfRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ListNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_ = int64_t{0}; + page_token_.ClearToEmpty(); + page_size_ = 0; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerListRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ListNVMfRemoteControllerRequest::_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) { - // int64 id = 1; + // int32 page_size = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + page_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string page_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_page_token(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token")); CHK_(ptr); } else goto handle_unusual; @@ -1750,166 +1680,217 @@ const char* NVMfRemoteControllerListRequest::_InternalParse(const char* ptr, ::P #undef CHK_ } -uint8_t* NVMfRemoteControllerListRequest::_InternalSerialize( +uint8_t* ListNVMfRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerListRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ListNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { + // int32 page_size = 1; + if (this->_internal_page_size() != 0) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_page_size(), target); + } + + // string page_token = 2; + if (!this->_internal_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_page_token().data(), static_cast(this->_internal_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_page_token(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NVMfRemoteControllerListRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ListNVMfRemoteControllerRequest) return target; } -size_t NVMfRemoteControllerListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerListRequest) +size_t ListNVMfRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ListNVMfRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); + // string page_token = 2; + if (!this->_internal_page_token().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_page_token()); + } + + // int32 page_size = 1; + if (this->_internal_page_size() != 0) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->_internal_page_size()); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerListRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListNVMfRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerListRequest::MergeImpl + ListNVMfRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerListRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListNVMfRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerListRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListNVMfRemoteControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerListRequest::MergeFrom(const NVMfRemoteControllerListRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerListRequest) +void ListNVMfRemoteControllerRequest::MergeFrom(const ListNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ListNVMfRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); + if (!from._internal_page_token().empty()) { + _internal_set_page_token(from._internal_page_token()); + } + if (from._internal_page_size() != 0) { + _internal_set_page_size(from._internal_page_size()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerListRequest::CopyFrom(const NVMfRemoteControllerListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerListRequest) +void ListNVMfRemoteControllerRequest::CopyFrom(const ListNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ListNVMfRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerListRequest::IsInitialized() const { +bool ListNVMfRemoteControllerRequest::IsInitialized() const { return true; } -void NVMfRemoteControllerListRequest::InternalSwap(NVMfRemoteControllerListRequest* other) { +void ListNVMfRemoteControllerRequest::InternalSwap(ListNVMfRemoteControllerRequest* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(id_, other->id_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &page_token_, lhs_arena, + &other->page_token_, rhs_arena + ); + swap(page_size_, other->page_size_); } -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerListRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListNVMfRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[7]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[4]); } // =================================================================== -class NVMfRemoteControllerListResponse::_Internal { +class ListNVMfRemoteControllerResponse::_Internal { public: }; -NVMfRemoteControllerListResponse::NVMfRemoteControllerListResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +ListNVMfRemoteControllerResponse::ListNVMfRemoteControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned), - ctrl_(arena) { + ctrls_(arena) { SharedCtor(); if (!is_message_owned) { RegisterArenaDtor(arena); } - // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.NVMfRemoteControllerListResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.ListNVMfRemoteControllerResponse) } -NVMfRemoteControllerListResponse::NVMfRemoteControllerListResponse(const NVMfRemoteControllerListResponse& from) +ListNVMfRemoteControllerResponse::ListNVMfRemoteControllerResponse(const ListNVMfRemoteControllerResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message(), - ctrl_(from.ctrl_) { + ctrls_(from.ctrls_) { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerListResponse) + next_page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_next_page_token().empty()) { + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_next_page_token(), + GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.ListNVMfRemoteControllerResponse) } -inline void NVMfRemoteControllerListResponse::SharedCtor() { +inline void ListNVMfRemoteControllerResponse::SharedCtor() { +next_page_token_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -NVMfRemoteControllerListResponse::~NVMfRemoteControllerListResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerListResponse) +ListNVMfRemoteControllerResponse::~ListNVMfRemoteControllerResponse() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.ListNVMfRemoteControllerResponse) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerListResponse::SharedDtor() { +inline void ListNVMfRemoteControllerResponse::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + next_page_token_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } -void NVMfRemoteControllerListResponse::ArenaDtor(void* object) { - NVMfRemoteControllerListResponse* _this = reinterpret_cast< NVMfRemoteControllerListResponse* >(object); +void ListNVMfRemoteControllerResponse::ArenaDtor(void* object) { + ListNVMfRemoteControllerResponse* _this = reinterpret_cast< ListNVMfRemoteControllerResponse* >(object); (void)_this; } -void NVMfRemoteControllerListResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void ListNVMfRemoteControllerResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerListResponse::SetCachedSize(int size) const { +void ListNVMfRemoteControllerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerListResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerListResponse) +void ListNVMfRemoteControllerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.ListNVMfRemoteControllerResponse) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - ctrl_.Clear(); + ctrls_.Clear(); + next_page_token_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerListResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* ListNVMfRemoteControllerResponse::_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) { - // repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + // repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; - ptr = ctx->ParseMessage(_internal_add_ctrl(), ptr); + ptr = ctx->ParseMessage(_internal_add_ctrls(), ptr); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); } else goto handle_unusual; continue; + // string next_page_token = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_next_page_token(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token")); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1933,159 +1914,205 @@ const char* NVMfRemoteControllerListResponse::_InternalParse(const char* ptr, :: #undef CHK_ } -uint8_t* NVMfRemoteControllerListResponse::_InternalSerialize( +uint8_t* ListNVMfRemoteControllerResponse::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerListResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.ListNVMfRemoteControllerResponse) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + // repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; for (unsigned int i = 0, - n = static_cast(this->_internal_ctrl_size()); i < n; i++) { + n = static_cast(this->_internal_ctrls_size()); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, this->_internal_ctrl(i), target, stream); + InternalWriteMessage(1, this->_internal_ctrls(i), target, stream); + } + + // string next_page_token = 2; + if (!this->_internal_next_page_token().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_next_page_token().data(), static_cast(this->_internal_next_page_token().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_next_page_token(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NVMfRemoteControllerListResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.ListNVMfRemoteControllerResponse) return target; } -size_t NVMfRemoteControllerListResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerListResponse) +size_t ListNVMfRemoteControllerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.ListNVMfRemoteControllerResponse) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; - total_size += 1UL * this->_internal_ctrl_size(); - for (const auto& msg : this->ctrl_) { + // repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; + total_size += 1UL * this->_internal_ctrls_size(); + for (const auto& msg : this->ctrls_) { total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); } + // string next_page_token = 2; + if (!this->_internal_next_page_token().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_next_page_token()); + } + return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerListResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListNVMfRemoteControllerResponse::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerListResponse::MergeImpl + ListNVMfRemoteControllerResponse::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerListResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListNVMfRemoteControllerResponse::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerListResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void ListNVMfRemoteControllerResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerListResponse::MergeFrom(const NVMfRemoteControllerListResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerListResponse) +void ListNVMfRemoteControllerResponse::MergeFrom(const ListNVMfRemoteControllerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.ListNVMfRemoteControllerResponse) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - ctrl_.MergeFrom(from.ctrl_); + ctrls_.MergeFrom(from.ctrls_); + if (!from._internal_next_page_token().empty()) { + _internal_set_next_page_token(from._internal_next_page_token()); + } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerListResponse::CopyFrom(const NVMfRemoteControllerListResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerListResponse) +void ListNVMfRemoteControllerResponse::CopyFrom(const ListNVMfRemoteControllerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.ListNVMfRemoteControllerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerListResponse::IsInitialized() const { +bool ListNVMfRemoteControllerResponse::IsInitialized() const { return true; } -void NVMfRemoteControllerListResponse::InternalSwap(NVMfRemoteControllerListResponse* other) { +void ListNVMfRemoteControllerResponse::InternalSwap(ListNVMfRemoteControllerResponse* other) { using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ctrl_.InternalSwap(&other->ctrl_); + ctrls_.InternalSwap(&other->ctrls_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &next_page_token_, lhs_arena, + &other->next_page_token_, rhs_arena + ); } -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerListResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata ListNVMfRemoteControllerResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[8]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[5]); } // =================================================================== -class NVMfRemoteControllerGetRequest::_Internal { +class GetNVMfRemoteControllerRequest::_Internal { public: + static const ::opi_api::common::v1::ObjectKey& id(const GetNVMfRemoteControllerRequest* msg); }; -NVMfRemoteControllerGetRequest::NVMfRemoteControllerGetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, +const ::opi_api::common::v1::ObjectKey& +GetNVMfRemoteControllerRequest::_Internal::id(const GetNVMfRemoteControllerRequest* msg) { + return *msg->id_; +} +void GetNVMfRemoteControllerRequest::clear_id() { + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; +} +GetNVMfRemoteControllerRequest::GetNVMfRemoteControllerRequest(::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.NVMfRemoteControllerGetRequest) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.GetNVMfRemoteControllerRequest) } -NVMfRemoteControllerGetRequest::NVMfRemoteControllerGetRequest(const NVMfRemoteControllerGetRequest& from) +GetNVMfRemoteControllerRequest::GetNVMfRemoteControllerRequest(const GetNVMfRemoteControllerRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_ = from.id_; - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerGetRequest) + if (from._internal_has_id()) { + id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); + } else { + id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.GetNVMfRemoteControllerRequest) } -inline void NVMfRemoteControllerGetRequest::SharedCtor() { -id_ = int64_t{0}; +inline void GetNVMfRemoteControllerRequest::SharedCtor() { +id_ = nullptr; } -NVMfRemoteControllerGetRequest::~NVMfRemoteControllerGetRequest() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerGetRequest) +GetNVMfRemoteControllerRequest::~GetNVMfRemoteControllerRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.GetNVMfRemoteControllerRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerGetRequest::SharedDtor() { +inline void GetNVMfRemoteControllerRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete id_; } -void NVMfRemoteControllerGetRequest::ArenaDtor(void* object) { - NVMfRemoteControllerGetRequest* _this = reinterpret_cast< NVMfRemoteControllerGetRequest* >(object); +void GetNVMfRemoteControllerRequest::ArenaDtor(void* object) { + GetNVMfRemoteControllerRequest* _this = reinterpret_cast< GetNVMfRemoteControllerRequest* >(object); (void)_this; } -void NVMfRemoteControllerGetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void GetNVMfRemoteControllerRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerGetRequest::SetCachedSize(int size) const { +void GetNVMfRemoteControllerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerGetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerGetRequest) +void GetNVMfRemoteControllerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.GetNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_ = int64_t{0}; + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerGetRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* GetNVMfRemoteControllerRequest::_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) { - // int64 id = 1; + // .opi_api.common.v1.ObjectKey id = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_id(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2113,170 +2140,180 @@ const char* NVMfRemoteControllerGetRequest::_InternalParse(const char* ptr, ::PR #undef CHK_ } -uint8_t* NVMfRemoteControllerGetRequest::_InternalSerialize( +uint8_t* GetNVMfRemoteControllerRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerGetRequest) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.GetNVMfRemoteControllerRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::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.NVMfRemoteControllerGetRequest) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.GetNVMfRemoteControllerRequest) return target; } -size_t NVMfRemoteControllerGetRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerGetRequest) +size_t GetNVMfRemoteControllerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.GetNVMfRemoteControllerRequest) size_t total_size = 0; uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *id_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerGetRequest::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GetNVMfRemoteControllerRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerGetRequest::MergeImpl + GetNVMfRemoteControllerRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerGetRequest::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetNVMfRemoteControllerRequest::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerGetRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void GetNVMfRemoteControllerRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerGetRequest::MergeFrom(const NVMfRemoteControllerGetRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerGetRequest) +void GetNVMfRemoteControllerRequest::MergeFrom(const GetNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.GetNVMfRemoteControllerRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); + if (from._internal_has_id()) { + _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerGetRequest::CopyFrom(const NVMfRemoteControllerGetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerGetRequest) +void GetNVMfRemoteControllerRequest::CopyFrom(const GetNVMfRemoteControllerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.GetNVMfRemoteControllerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerGetRequest::IsInitialized() const { +bool GetNVMfRemoteControllerRequest::IsInitialized() const { return true; } -void NVMfRemoteControllerGetRequest::InternalSwap(NVMfRemoteControllerGetRequest* other) { +void GetNVMfRemoteControllerRequest::InternalSwap(GetNVMfRemoteControllerRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(id_, other->id_); } -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerGetRequest::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata GetNVMfRemoteControllerRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[9]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[6]); } // =================================================================== -class NVMfRemoteControllerGetResponse::_Internal { +class NVMfRemoteControllerResetRequest::_Internal { public: - static const ::opi_api::storage::v1::NVMfRemoteController& ctrl(const NVMfRemoteControllerGetResponse* msg); + static const ::opi_api::common::v1::ObjectKey& id(const NVMfRemoteControllerResetRequest* msg); }; -const ::opi_api::storage::v1::NVMfRemoteController& -NVMfRemoteControllerGetResponse::_Internal::ctrl(const NVMfRemoteControllerGetResponse* msg) { - return *msg->ctrl_; +const ::opi_api::common::v1::ObjectKey& +NVMfRemoteControllerResetRequest::_Internal::id(const NVMfRemoteControllerResetRequest* msg) { + return *msg->id_; +} +void NVMfRemoteControllerResetRequest::clear_id() { + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; } -NVMfRemoteControllerGetResponse::NVMfRemoteControllerGetResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, +NVMfRemoteControllerResetRequest::NVMfRemoteControllerResetRequest(::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.NVMfRemoteControllerGetResponse) + // @@protoc_insertion_point(arena_constructor:opi_api.storage.v1.NVMfRemoteControllerResetRequest) } -NVMfRemoteControllerGetResponse::NVMfRemoteControllerGetResponse(const NVMfRemoteControllerGetResponse& from) +NVMfRemoteControllerResetRequest::NVMfRemoteControllerResetRequest(const NVMfRemoteControllerResetRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_ctrl()) { - ctrl_ = new ::opi_api::storage::v1::NVMfRemoteController(*from.ctrl_); + if (from._internal_has_id()) { + id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); } else { - ctrl_ = nullptr; + id_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerGetResponse) + // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerResetRequest) } -inline void NVMfRemoteControllerGetResponse::SharedCtor() { -ctrl_ = nullptr; +inline void NVMfRemoteControllerResetRequest::SharedCtor() { +id_ = nullptr; } -NVMfRemoteControllerGetResponse::~NVMfRemoteControllerGetResponse() { - // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerGetResponse) +NVMfRemoteControllerResetRequest::~NVMfRemoteControllerResetRequest() { + // @@protoc_insertion_point(destructor:opi_api.storage.v1.NVMfRemoteControllerResetRequest) if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -inline void NVMfRemoteControllerGetResponse::SharedDtor() { +inline void NVMfRemoteControllerResetRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete ctrl_; + if (this != internal_default_instance()) delete id_; } -void NVMfRemoteControllerGetResponse::ArenaDtor(void* object) { - NVMfRemoteControllerGetResponse* _this = reinterpret_cast< NVMfRemoteControllerGetResponse* >(object); +void NVMfRemoteControllerResetRequest::ArenaDtor(void* object) { + NVMfRemoteControllerResetRequest* _this = reinterpret_cast< NVMfRemoteControllerResetRequest* >(object); (void)_this; } -void NVMfRemoteControllerGetResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +void NVMfRemoteControllerResetRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } -void NVMfRemoteControllerGetResponse::SetCachedSize(int size) const { +void NVMfRemoteControllerResetRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -void NVMfRemoteControllerGetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerGetResponse) +void NVMfRemoteControllerResetRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - if (GetArenaForAllocation() == nullptr && ctrl_ != nullptr) { - delete ctrl_; + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; } - ctrl_ = nullptr; + id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* NVMfRemoteControllerGetResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +const char* NVMfRemoteControllerResetRequest::_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.storage.v1.NVMfRemoteController ctrl = 1; + // .opi_api.common.v1.ObjectKey id = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_ctrl(), ptr); + ptr = ctx->ParseMessage(_internal_mutable_id(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2304,100 +2341,111 @@ const char* NVMfRemoteControllerGetResponse::_InternalParse(const char* ptr, ::P #undef CHK_ } -uint8_t* NVMfRemoteControllerGetResponse::_InternalSerialize( +uint8_t* NVMfRemoteControllerResetRequest::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerGetResponse) + // @@protoc_insertion_point(serialize_to_array_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) uint32_t cached_has_bits = 0; (void) cached_has_bits; - // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; - if (this->_internal_has_ctrl()) { + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( - 1, _Internal::ctrl(this), target, stream); + 1, _Internal::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.NVMfRemoteControllerGetResponse) + // @@protoc_insertion_point(serialize_to_array_end:opi_api.storage.v1.NVMfRemoteControllerResetRequest) return target; } -size_t NVMfRemoteControllerGetResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerGetResponse) +size_t NVMfRemoteControllerResetRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) 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.storage.v1.NVMfRemoteController ctrl = 1; - if (this->_internal_has_ctrl()) { + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *ctrl_); + *id_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerGetResponse::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NVMfRemoteControllerResetRequest::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck, - NVMfRemoteControllerGetResponse::MergeImpl + NVMfRemoteControllerResetRequest::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerGetResponse::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NVMfRemoteControllerResetRequest::GetClassData() const { return &_class_data_; } -void NVMfRemoteControllerGetResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, +void NVMfRemoteControllerResetRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from) { - static_cast(to)->MergeFrom( - static_cast(from)); + static_cast(to)->MergeFrom( + static_cast(from)); } -void NVMfRemoteControllerGetResponse::MergeFrom(const NVMfRemoteControllerGetResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerGetResponse) +void NVMfRemoteControllerResetRequest::MergeFrom(const NVMfRemoteControllerResetRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) GOOGLE_DCHECK_NE(&from, this); uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_has_ctrl()) { - _internal_mutable_ctrl()->::opi_api::storage::v1::NVMfRemoteController::MergeFrom(from._internal_ctrl()); + if (from._internal_has_id()) { + _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void NVMfRemoteControllerGetResponse::CopyFrom(const NVMfRemoteControllerGetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerGetResponse) +void NVMfRemoteControllerResetRequest::CopyFrom(const NVMfRemoteControllerResetRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:opi_api.storage.v1.NVMfRemoteControllerResetRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool NVMfRemoteControllerGetResponse::IsInitialized() const { +bool NVMfRemoteControllerResetRequest::IsInitialized() const { return true; } -void NVMfRemoteControllerGetResponse::InternalSwap(NVMfRemoteControllerGetResponse* other) { +void NVMfRemoteControllerResetRequest::InternalSwap(NVMfRemoteControllerResetRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(ctrl_, other->ctrl_); + swap(id_, other->id_); } -::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerGetResponse::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerResetRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[10]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[7]); } // =================================================================== class NVMfRemoteControllerStatsRequest::_Internal { public: + static const ::opi_api::common::v1::ObjectKey& id(const NVMfRemoteControllerStatsRequest* msg); }; +const ::opi_api::common::v1::ObjectKey& +NVMfRemoteControllerStatsRequest::_Internal::id(const NVMfRemoteControllerStatsRequest* msg) { + return *msg->id_; +} +void NVMfRemoteControllerStatsRequest::clear_id() { + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; +} NVMfRemoteControllerStatsRequest::NVMfRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -2410,12 +2458,16 @@ NVMfRemoteControllerStatsRequest::NVMfRemoteControllerStatsRequest(::PROTOBUF_NA NVMfRemoteControllerStatsRequest::NVMfRemoteControllerStatsRequest(const NVMfRemoteControllerStatsRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - id_ = from.id_; + if (from._internal_has_id()) { + id_ = new ::opi_api::common::v1::ObjectKey(*from.id_); + } else { + id_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerStatsRequest) } inline void NVMfRemoteControllerStatsRequest::SharedCtor() { -id_ = int64_t{0}; +id_ = nullptr; } NVMfRemoteControllerStatsRequest::~NVMfRemoteControllerStatsRequest() { @@ -2427,6 +2479,7 @@ NVMfRemoteControllerStatsRequest::~NVMfRemoteControllerStatsRequest() { inline void NVMfRemoteControllerStatsRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete id_; } void NVMfRemoteControllerStatsRequest::ArenaDtor(void* object) { @@ -2445,7 +2498,10 @@ void NVMfRemoteControllerStatsRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - id_ = int64_t{0}; + if (GetArenaForAllocation() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2455,10 +2511,10 @@ const char* NVMfRemoteControllerStatsRequest::_InternalParse(const char* ptr, :: uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // int64 id = 1; + // .opi_api.common.v1.ObjectKey id = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_id(), ptr); CHK_(ptr); } else goto handle_unusual; @@ -2492,10 +2548,12 @@ uint8_t* NVMfRemoteControllerStatsRequest::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 1, _Internal::id(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2514,9 +2572,11 @@ size_t NVMfRemoteControllerStatsRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); + // .opi_api.common.v1.ObjectKey id = 1; + if (this->_internal_has_id()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *id_); } return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); @@ -2541,8 +2601,8 @@ void NVMfRemoteControllerStatsRequest::MergeFrom(const NVMfRemoteControllerStats uint32_t cached_has_bits = 0; (void) cached_has_bits; - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); + if (from._internal_has_id()) { + _internal_mutable_id()->::opi_api::common::v1::ObjectKey::MergeFrom(from._internal_id()); } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -2567,7 +2627,7 @@ void NVMfRemoteControllerStatsRequest::InternalSwap(NVMfRemoteControllerStatsReq ::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerStatsRequest::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[11]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[8]); } // =================================================================== @@ -2596,7 +2656,6 @@ NVMfRemoteControllerStatsResponse::NVMfRemoteControllerStatsResponse(const NVMfR stats_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_stats(), GetArenaForAllocation()); } - id_ = from.id_; // @@protoc_insertion_point(copy_constructor:opi_api.storage.v1.NVMfRemoteControllerStatsResponse) } @@ -2605,7 +2664,6 @@ stats_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlread #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING stats_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -id_ = int64_t{0}; } NVMfRemoteControllerStatsResponse::~NVMfRemoteControllerStatsResponse() { @@ -2637,7 +2695,6 @@ void NVMfRemoteControllerStatsResponse::Clear() { (void) cached_has_bits; stats_.ClearToEmpty(); - id_ = int64_t{0}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -2647,17 +2704,9 @@ const char* NVMfRemoteControllerStatsResponse::_InternalParse(const char* ptr, : uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); switch (tag >> 3) { - // int64 id = 1; + // string stats = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // string stats = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_stats(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats")); @@ -2694,20 +2743,14 @@ uint8_t* NVMfRemoteControllerStatsResponse::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // int64 id = 1; - if (this->_internal_id() != 0) { - target = stream->EnsureSpace(target); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_id(), target); - } - - // string stats = 2; + // string stats = 1; if (!this->_internal_stats().empty()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_stats().data(), static_cast(this->_internal_stats().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "opi_api.storage.v1.NVMfRemoteControllerStatsResponse.stats"); target = stream->WriteStringMaybeAliased( - 2, this->_internal_stats(), target); + 1, this->_internal_stats(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -2726,18 +2769,13 @@ size_t NVMfRemoteControllerStatsResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // string stats = 2; + // string stats = 1; if (!this->_internal_stats().empty()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_stats()); } - // int64 id = 1; - if (this->_internal_id() != 0) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_id()); - } - return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_); } @@ -2763,9 +2801,6 @@ void NVMfRemoteControllerStatsResponse::MergeFrom(const NVMfRemoteControllerStat if (!from._internal_stats().empty()) { _internal_set_stats(from._internal_stats()); } - if (from._internal_id() != 0) { - _internal_set_id(from._internal_id()); - } _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -2790,13 +2825,12 @@ void NVMfRemoteControllerStatsResponse::InternalSwap(NVMfRemoteControllerStatsRe &stats_, lhs_arena, &other->stats_, rhs_arena ); - swap(id_, other->id_); } ::PROTOBUF_NAMESPACE_ID::Metadata NVMfRemoteControllerStatsResponse::GetMetadata() const { return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors( &descriptor_table_backend_5fnvme_5ftcp_2eproto_getter, &descriptor_table_backend_5fnvme_5ftcp_2eproto_once, - file_level_metadata_backend_5fnvme_5ftcp_2eproto[12]); + file_level_metadata_backend_5fnvme_5ftcp_2eproto[9]); } // @@protoc_insertion_point(namespace_scope) @@ -2807,35 +2841,26 @@ PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteController* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteController >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteController >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerResetResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListNVMfRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerListRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerListRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerListRequest >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::ListNVMfRemoteControllerResponse >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerListResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerListResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerListResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::GetNVMfRemoteControllerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerGetRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerGetResponse >(arena); +template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerResetRequest >(arena); } template<> PROTOBUF_NOINLINE ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* Arena::CreateMaybeMessage< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest >(arena); diff --git a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h index dc0f1d8e..e6c6516b 100644 --- a/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h +++ b/storage/v1alpha1/gen/cpp/backend_nvme_tcp.pb.h @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -33,6 +32,9 @@ #include // IWYU pragma: export #include #include +#include +#include "google/api/annotations.pb.h" +#include "object_key.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_backend_5fnvme_5ftcp_2eproto @@ -48,7 +50,7 @@ struct TableStruct_backend_5fnvme_5ftcp_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[13] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[10] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -58,62 +60,50 @@ extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table namespace opi_api { namespace storage { namespace v1 { +class CreateNVMfRemoteControllerRequest; +struct CreateNVMfRemoteControllerRequestDefaultTypeInternal; +extern CreateNVMfRemoteControllerRequestDefaultTypeInternal _CreateNVMfRemoteControllerRequest_default_instance_; +class DeleteNVMfRemoteControllerRequest; +struct DeleteNVMfRemoteControllerRequestDefaultTypeInternal; +extern DeleteNVMfRemoteControllerRequestDefaultTypeInternal _DeleteNVMfRemoteControllerRequest_default_instance_; +class GetNVMfRemoteControllerRequest; +struct GetNVMfRemoteControllerRequestDefaultTypeInternal; +extern GetNVMfRemoteControllerRequestDefaultTypeInternal _GetNVMfRemoteControllerRequest_default_instance_; +class ListNVMfRemoteControllerRequest; +struct ListNVMfRemoteControllerRequestDefaultTypeInternal; +extern ListNVMfRemoteControllerRequestDefaultTypeInternal _ListNVMfRemoteControllerRequest_default_instance_; +class ListNVMfRemoteControllerResponse; +struct ListNVMfRemoteControllerResponseDefaultTypeInternal; +extern ListNVMfRemoteControllerResponseDefaultTypeInternal _ListNVMfRemoteControllerResponse_default_instance_; class NVMfRemoteController; struct NVMfRemoteControllerDefaultTypeInternal; extern NVMfRemoteControllerDefaultTypeInternal _NVMfRemoteController_default_instance_; -class NVMfRemoteControllerConnectRequest; -struct NVMfRemoteControllerConnectRequestDefaultTypeInternal; -extern NVMfRemoteControllerConnectRequestDefaultTypeInternal _NVMfRemoteControllerConnectRequest_default_instance_; -class NVMfRemoteControllerConnectResponse; -struct NVMfRemoteControllerConnectResponseDefaultTypeInternal; -extern NVMfRemoteControllerConnectResponseDefaultTypeInternal _NVMfRemoteControllerConnectResponse_default_instance_; -class NVMfRemoteControllerDisconnectRequest; -struct NVMfRemoteControllerDisconnectRequestDefaultTypeInternal; -extern NVMfRemoteControllerDisconnectRequestDefaultTypeInternal _NVMfRemoteControllerDisconnectRequest_default_instance_; -class NVMfRemoteControllerDisconnectResponse; -struct NVMfRemoteControllerDisconnectResponseDefaultTypeInternal; -extern NVMfRemoteControllerDisconnectResponseDefaultTypeInternal _NVMfRemoteControllerDisconnectResponse_default_instance_; -class NVMfRemoteControllerGetRequest; -struct NVMfRemoteControllerGetRequestDefaultTypeInternal; -extern NVMfRemoteControllerGetRequestDefaultTypeInternal _NVMfRemoteControllerGetRequest_default_instance_; -class NVMfRemoteControllerGetResponse; -struct NVMfRemoteControllerGetResponseDefaultTypeInternal; -extern NVMfRemoteControllerGetResponseDefaultTypeInternal _NVMfRemoteControllerGetResponse_default_instance_; -class NVMfRemoteControllerListRequest; -struct NVMfRemoteControllerListRequestDefaultTypeInternal; -extern NVMfRemoteControllerListRequestDefaultTypeInternal _NVMfRemoteControllerListRequest_default_instance_; -class NVMfRemoteControllerListResponse; -struct NVMfRemoteControllerListResponseDefaultTypeInternal; -extern NVMfRemoteControllerListResponseDefaultTypeInternal _NVMfRemoteControllerListResponse_default_instance_; class NVMfRemoteControllerResetRequest; struct NVMfRemoteControllerResetRequestDefaultTypeInternal; extern NVMfRemoteControllerResetRequestDefaultTypeInternal _NVMfRemoteControllerResetRequest_default_instance_; -class NVMfRemoteControllerResetResponse; -struct NVMfRemoteControllerResetResponseDefaultTypeInternal; -extern NVMfRemoteControllerResetResponseDefaultTypeInternal _NVMfRemoteControllerResetResponse_default_instance_; class NVMfRemoteControllerStatsRequest; struct NVMfRemoteControllerStatsRequestDefaultTypeInternal; extern NVMfRemoteControllerStatsRequestDefaultTypeInternal _NVMfRemoteControllerStatsRequest_default_instance_; class NVMfRemoteControllerStatsResponse; struct NVMfRemoteControllerStatsResponseDefaultTypeInternal; extern NVMfRemoteControllerStatsResponseDefaultTypeInternal _NVMfRemoteControllerStatsResponse_default_instance_; +class UpdateNVMfRemoteControllerRequest; +struct UpdateNVMfRemoteControllerRequestDefaultTypeInternal; +extern UpdateNVMfRemoteControllerRequestDefaultTypeInternal _UpdateNVMfRemoteControllerRequest_default_instance_; } // namespace v1 } // namespace storage } // namespace opi_api PROTOBUF_NAMESPACE_OPEN +template<> ::opi_api::storage::v1::CreateNVMfRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::CreateNVMfRemoteControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::DeleteNVMfRemoteControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::GetNVMfRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::GetNVMfRemoteControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::ListNVMfRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNVMfRemoteControllerRequest>(Arena*); +template<> ::opi_api::storage::v1::ListNVMfRemoteControllerResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::ListNVMfRemoteControllerResponse>(Arena*); template<> ::opi_api::storage::v1::NVMfRemoteController* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteController>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerConnectRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerConnectRequest>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerConnectResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerConnectResponse>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerDisconnectRequest>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerDisconnectResponse>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerGetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerGetRequest>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerGetResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerGetResponse>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerListRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerListRequest>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerListResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerListResponse>(Arena*); template<> ::opi_api::storage::v1::NVMfRemoteControllerResetRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerResetRequest>(Arena*); -template<> ::opi_api::storage::v1::NVMfRemoteControllerResetResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerResetResponse>(Arena*); template<> ::opi_api::storage::v1::NVMfRemoteControllerStatsRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerStatsRequest>(Arena*); template<> ::opi_api::storage::v1::NVMfRemoteControllerStatsResponse* Arena::CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteControllerStatsResponse>(Arena*); +template<> ::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest* Arena::CreateMaybeMessage<::opi_api::storage::v1::UpdateNVMfRemoteControllerRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace opi_api { namespace storage { @@ -383,14 +373,23 @@ class NVMfRemoteController final : std::string* _internal_mutable_hostnqn(); public: - // int64 id = 1; + // .opi_api.common.v1.ObjectKey id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: void clear_id(); - int64_t id() const; - void set_id(int64_t value); + const ::opi_api::common::v1::ObjectKey& id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); + ::opi_api::common::v1::ObjectKey* mutable_id(); + void set_allocated_id(::opi_api::common::v1::ObjectKey* id); private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); + const ::opi_api::common::v1::ObjectKey& _internal_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); public: + void unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); // .opi_api.storage.v1.NvmeTransportType trtype = 2; void clear_trtype(); @@ -474,7 +473,7 @@ class NVMfRemoteController final : ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr traddr_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subnqn_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hostnqn_; - int64_t id_; + ::opi_api::common::v1::ObjectKey* id_; int trtype_; int adrfam_; int64_t trsvcid_; @@ -488,24 +487,24 @@ class NVMfRemoteController final : }; // ------------------------------------------------------------------- -class NVMfRemoteControllerConnectRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) */ { +class CreateNVMfRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) */ { public: - inline NVMfRemoteControllerConnectRequest() : NVMfRemoteControllerConnectRequest(nullptr) {} - ~NVMfRemoteControllerConnectRequest() override; - explicit constexpr NVMfRemoteControllerConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline CreateNVMfRemoteControllerRequest() : CreateNVMfRemoteControllerRequest(nullptr) {} + ~CreateNVMfRemoteControllerRequest() override; + explicit constexpr CreateNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerConnectRequest(const NVMfRemoteControllerConnectRequest& from); - NVMfRemoteControllerConnectRequest(NVMfRemoteControllerConnectRequest&& from) noexcept - : NVMfRemoteControllerConnectRequest() { + CreateNVMfRemoteControllerRequest(const CreateNVMfRemoteControllerRequest& from); + CreateNVMfRemoteControllerRequest(CreateNVMfRemoteControllerRequest&& from) noexcept + : CreateNVMfRemoteControllerRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerConnectRequest& operator=(const NVMfRemoteControllerConnectRequest& from) { + inline CreateNVMfRemoteControllerRequest& operator=(const CreateNVMfRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerConnectRequest& operator=(NVMfRemoteControllerConnectRequest&& from) noexcept { + inline CreateNVMfRemoteControllerRequest& operator=(CreateNVMfRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -528,20 +527,20 @@ class NVMfRemoteControllerConnectRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerConnectRequest& default_instance() { + static const CreateNVMfRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerConnectRequest* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerConnectRequest_default_instance_); + static inline const CreateNVMfRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateNVMfRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 1; - friend void swap(NVMfRemoteControllerConnectRequest& a, NVMfRemoteControllerConnectRequest& b) { + friend void swap(CreateNVMfRemoteControllerRequest& a, CreateNVMfRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerConnectRequest* other) { + inline void Swap(CreateNVMfRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -554,7 +553,7 @@ class NVMfRemoteControllerConnectRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerConnectRequest* other) { + void UnsafeArenaSwap(CreateNVMfRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -562,13 +561,13 @@ class NVMfRemoteControllerConnectRequest final : // implements Message ---------------------------------------------- - NVMfRemoteControllerConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + CreateNVMfRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerConnectRequest& from); + void CopyFrom(const CreateNVMfRemoteControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerConnectRequest& from); + void MergeFrom(const CreateNVMfRemoteControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -585,15 +584,15 @@ class NVMfRemoteControllerConnectRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NVMfRemoteControllerConnectRequest* other); + void InternalSwap(CreateNVMfRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerConnectRequest"; + return "opi_api.storage.v1.CreateNVMfRemoteControllerRequest"; } protected: - explicit NVMfRemoteControllerConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit CreateNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -630,7 +629,7 @@ class NVMfRemoteControllerConnectRequest final : ::opi_api::storage::v1::NVMfRemoteController* ctrl); ::opi_api::storage::v1::NVMfRemoteController* unsafe_arena_release_ctrl(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) private: class _Internal; @@ -643,23 +642,24 @@ class NVMfRemoteControllerConnectRequest final : }; // ------------------------------------------------------------------- -class NVMfRemoteControllerConnectResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) */ { +class DeleteNVMfRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) */ { public: - inline NVMfRemoteControllerConnectResponse() : NVMfRemoteControllerConnectResponse(nullptr) {} - explicit constexpr NVMfRemoteControllerConnectResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline DeleteNVMfRemoteControllerRequest() : DeleteNVMfRemoteControllerRequest(nullptr) {} + ~DeleteNVMfRemoteControllerRequest() override; + explicit constexpr DeleteNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerConnectResponse(const NVMfRemoteControllerConnectResponse& from); - NVMfRemoteControllerConnectResponse(NVMfRemoteControllerConnectResponse&& from) noexcept - : NVMfRemoteControllerConnectResponse() { + DeleteNVMfRemoteControllerRequest(const DeleteNVMfRemoteControllerRequest& from); + DeleteNVMfRemoteControllerRequest(DeleteNVMfRemoteControllerRequest&& from) noexcept + : DeleteNVMfRemoteControllerRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerConnectResponse& operator=(const NVMfRemoteControllerConnectResponse& from) { + inline DeleteNVMfRemoteControllerRequest& operator=(const DeleteNVMfRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerConnectResponse& operator=(NVMfRemoteControllerConnectResponse&& from) noexcept { + inline DeleteNVMfRemoteControllerRequest& operator=(DeleteNVMfRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -682,20 +682,20 @@ class NVMfRemoteControllerConnectResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerConnectResponse& default_instance() { + static const DeleteNVMfRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerConnectResponse* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerConnectResponse_default_instance_); + static inline const DeleteNVMfRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteNVMfRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; - friend void swap(NVMfRemoteControllerConnectResponse& a, NVMfRemoteControllerConnectResponse& b) { + friend void swap(DeleteNVMfRemoteControllerRequest& a, DeleteNVMfRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerConnectResponse* other) { + inline void Swap(DeleteNVMfRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -708,7 +708,7 @@ class NVMfRemoteControllerConnectResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerConnectResponse* other) { + void UnsafeArenaSwap(DeleteNVMfRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -716,28 +716,42 @@ class NVMfRemoteControllerConnectResponse final : // implements Message ---------------------------------------------- - NVMfRemoteControllerConnectResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const NVMfRemoteControllerConnectResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const NVMfRemoteControllerConnectResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + DeleteNVMfRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const DeleteNVMfRemoteControllerRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const DeleteNVMfRemoteControllerRequest& 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(DeleteNVMfRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerConnectResponse"; + return "opi_api.storage.v1.DeleteNVMfRemoteControllerRequest"; } protected: - explicit NVMfRemoteControllerConnectResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit DeleteNVMfRemoteControllerRequest(::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_; @@ -749,36 +763,58 @@ class NVMfRemoteControllerConnectResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) + enum : int { + kIdFieldNumber = 1, + }; + // .opi_api.common.v1.ObjectKey id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + const ::opi_api::common::v1::ObjectKey& id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); + ::opi_api::common::v1::ObjectKey* mutable_id(); + void set_allocated_id(::opi_api::common::v1::ObjectKey* id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); + public: + void unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::opi_api::common::v1::ObjectKey* id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerDisconnectRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) */ { +class UpdateNVMfRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) */ { public: - inline NVMfRemoteControllerDisconnectRequest() : NVMfRemoteControllerDisconnectRequest(nullptr) {} - ~NVMfRemoteControllerDisconnectRequest() override; - explicit constexpr NVMfRemoteControllerDisconnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UpdateNVMfRemoteControllerRequest() : UpdateNVMfRemoteControllerRequest(nullptr) {} + ~UpdateNVMfRemoteControllerRequest() override; + explicit constexpr UpdateNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerDisconnectRequest(const NVMfRemoteControllerDisconnectRequest& from); - NVMfRemoteControllerDisconnectRequest(NVMfRemoteControllerDisconnectRequest&& from) noexcept - : NVMfRemoteControllerDisconnectRequest() { + UpdateNVMfRemoteControllerRequest(const UpdateNVMfRemoteControllerRequest& from); + UpdateNVMfRemoteControllerRequest(UpdateNVMfRemoteControllerRequest&& from) noexcept + : UpdateNVMfRemoteControllerRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerDisconnectRequest& operator=(const NVMfRemoteControllerDisconnectRequest& from) { + inline UpdateNVMfRemoteControllerRequest& operator=(const UpdateNVMfRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerDisconnectRequest& operator=(NVMfRemoteControllerDisconnectRequest&& from) noexcept { + inline UpdateNVMfRemoteControllerRequest& operator=(UpdateNVMfRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -801,20 +837,20 @@ class NVMfRemoteControllerDisconnectRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerDisconnectRequest& default_instance() { + static const UpdateNVMfRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerDisconnectRequest* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerDisconnectRequest_default_instance_); + static inline const UpdateNVMfRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateNVMfRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 3; - friend void swap(NVMfRemoteControllerDisconnectRequest& a, NVMfRemoteControllerDisconnectRequest& b) { + friend void swap(UpdateNVMfRemoteControllerRequest& a, UpdateNVMfRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerDisconnectRequest* other) { + inline void Swap(UpdateNVMfRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -827,7 +863,7 @@ class NVMfRemoteControllerDisconnectRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerDisconnectRequest* other) { + void UnsafeArenaSwap(UpdateNVMfRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -835,13 +871,13 @@ class NVMfRemoteControllerDisconnectRequest final : // implements Message ---------------------------------------------- - NVMfRemoteControllerDisconnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UpdateNVMfRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerDisconnectRequest& from); + void CopyFrom(const UpdateNVMfRemoteControllerRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerDisconnectRequest& from); + void MergeFrom(const UpdateNVMfRemoteControllerRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -858,15 +894,15 @@ class NVMfRemoteControllerDisconnectRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NVMfRemoteControllerDisconnectRequest* other); + void InternalSwap(UpdateNVMfRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest"; + return "opi_api.storage.v1.UpdateNVMfRemoteControllerRequest"; } protected: - explicit NVMfRemoteControllerDisconnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UpdateNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -883,47 +919,57 @@ class NVMfRemoteControllerDisconnectRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kCtrlFieldNumber = 1, }; - // int64 id = 1; - void clear_id(); - int64_t id() const; - void set_id(int64_t value); + // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + bool has_ctrl() const; + private: + bool _internal_has_ctrl() const; + public: + void clear_ctrl(); + const ::opi_api::storage::v1::NVMfRemoteController& ctrl() const; + PROTOBUF_NODISCARD ::opi_api::storage::v1::NVMfRemoteController* release_ctrl(); + ::opi_api::storage::v1::NVMfRemoteController* mutable_ctrl(); + void set_allocated_ctrl(::opi_api::storage::v1::NVMfRemoteController* ctrl); private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); + const ::opi_api::storage::v1::NVMfRemoteController& _internal_ctrl() const; + ::opi_api::storage::v1::NVMfRemoteController* _internal_mutable_ctrl(); public: + void unsafe_arena_set_allocated_ctrl( + ::opi_api::storage::v1::NVMfRemoteController* ctrl); + ::opi_api::storage::v1::NVMfRemoteController* unsafe_arena_release_ctrl(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - int64_t id_; + ::opi_api::storage::v1::NVMfRemoteController* ctrl_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerDisconnectResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) */ { +class ListNVMfRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ListNVMfRemoteControllerRequest) */ { public: - inline NVMfRemoteControllerDisconnectResponse() : NVMfRemoteControllerDisconnectResponse(nullptr) {} - explicit constexpr NVMfRemoteControllerDisconnectResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListNVMfRemoteControllerRequest() : ListNVMfRemoteControllerRequest(nullptr) {} + ~ListNVMfRemoteControllerRequest() override; + explicit constexpr ListNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerDisconnectResponse(const NVMfRemoteControllerDisconnectResponse& from); - NVMfRemoteControllerDisconnectResponse(NVMfRemoteControllerDisconnectResponse&& from) noexcept - : NVMfRemoteControllerDisconnectResponse() { + ListNVMfRemoteControllerRequest(const ListNVMfRemoteControllerRequest& from); + ListNVMfRemoteControllerRequest(ListNVMfRemoteControllerRequest&& from) noexcept + : ListNVMfRemoteControllerRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerDisconnectResponse& operator=(const NVMfRemoteControllerDisconnectResponse& from) { + inline ListNVMfRemoteControllerRequest& operator=(const ListNVMfRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerDisconnectResponse& operator=(NVMfRemoteControllerDisconnectResponse&& from) noexcept { + inline ListNVMfRemoteControllerRequest& operator=(ListNVMfRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -946,20 +992,20 @@ class NVMfRemoteControllerDisconnectResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerDisconnectResponse& default_instance() { + static const ListNVMfRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerDisconnectResponse* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerDisconnectResponse_default_instance_); + static inline const ListNVMfRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_ListNVMfRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 4; - friend void swap(NVMfRemoteControllerDisconnectResponse& a, NVMfRemoteControllerDisconnectResponse& b) { + friend void swap(ListNVMfRemoteControllerRequest& a, ListNVMfRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerDisconnectResponse* other) { + inline void Swap(ListNVMfRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -972,7 +1018,7 @@ class NVMfRemoteControllerDisconnectResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerDisconnectResponse* other) { + void UnsafeArenaSwap(ListNVMfRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -980,28 +1026,42 @@ class NVMfRemoteControllerDisconnectResponse final : // implements Message ---------------------------------------------- - NVMfRemoteControllerDisconnectResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const NVMfRemoteControllerDisconnectResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const NVMfRemoteControllerDisconnectResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + ListNVMfRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ListNVMfRemoteControllerRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const ListNVMfRemoteControllerRequest& 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(ListNVMfRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse"; + return "opi_api.storage.v1.ListNVMfRemoteControllerRequest"; } protected: - explicit NVMfRemoteControllerDisconnectResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListNVMfRemoteControllerRequest(::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_; @@ -1013,36 +1073,65 @@ class NVMfRemoteControllerDisconnectResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) + enum : int { + kPageTokenFieldNumber = 2, + kPageSizeFieldNumber = 1, + }; + // string page_token = 2; + void clear_page_token(); + const std::string& page_token() const; + template + void set_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_page_token(); + PROTOBUF_NODISCARD std::string* release_page_token(); + void set_allocated_page_token(std::string* page_token); + private: + const std::string& _internal_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_page_token(const std::string& value); + std::string* _internal_mutable_page_token(); + public: + + // int32 page_size = 1; + void clear_page_size(); + int32_t page_size() const; + void set_page_size(int32_t value); + private: + int32_t _internal_page_size() const; + void _internal_set_page_size(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNVMfRemoteControllerRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_token_; + int32_t page_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerResetRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerResetRequest) */ { +class ListNVMfRemoteControllerResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.ListNVMfRemoteControllerResponse) */ { public: - inline NVMfRemoteControllerResetRequest() : NVMfRemoteControllerResetRequest(nullptr) {} - ~NVMfRemoteControllerResetRequest() override; - explicit constexpr NVMfRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline ListNVMfRemoteControllerResponse() : ListNVMfRemoteControllerResponse(nullptr) {} + ~ListNVMfRemoteControllerResponse() override; + explicit constexpr ListNVMfRemoteControllerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerResetRequest(const NVMfRemoteControllerResetRequest& from); - NVMfRemoteControllerResetRequest(NVMfRemoteControllerResetRequest&& from) noexcept - : NVMfRemoteControllerResetRequest() { + ListNVMfRemoteControllerResponse(const ListNVMfRemoteControllerResponse& from); + ListNVMfRemoteControllerResponse(ListNVMfRemoteControllerResponse&& from) noexcept + : ListNVMfRemoteControllerResponse() { *this = ::std::move(from); } - inline NVMfRemoteControllerResetRequest& operator=(const NVMfRemoteControllerResetRequest& from) { + inline ListNVMfRemoteControllerResponse& operator=(const ListNVMfRemoteControllerResponse& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerResetRequest& operator=(NVMfRemoteControllerResetRequest&& from) noexcept { + inline ListNVMfRemoteControllerResponse& operator=(ListNVMfRemoteControllerResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1065,20 +1154,20 @@ class NVMfRemoteControllerResetRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerResetRequest& default_instance() { + static const ListNVMfRemoteControllerResponse& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerResetRequest* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerResetRequest_default_instance_); + static inline const ListNVMfRemoteControllerResponse* internal_default_instance() { + return reinterpret_cast( + &_ListNVMfRemoteControllerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 5; - friend void swap(NVMfRemoteControllerResetRequest& a, NVMfRemoteControllerResetRequest& b) { + friend void swap(ListNVMfRemoteControllerResponse& a, ListNVMfRemoteControllerResponse& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerResetRequest* other) { + inline void Swap(ListNVMfRemoteControllerResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1091,7 +1180,7 @@ class NVMfRemoteControllerResetRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerResetRequest* other) { + void UnsafeArenaSwap(ListNVMfRemoteControllerResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1099,13 +1188,13 @@ class NVMfRemoteControllerResetRequest final : // implements Message ---------------------------------------------- - NVMfRemoteControllerResetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + ListNVMfRemoteControllerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerResetRequest& from); + void CopyFrom(const ListNVMfRemoteControllerResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerResetRequest& from); + void MergeFrom(const ListNVMfRemoteControllerResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1122,15 +1211,15 @@ class NVMfRemoteControllerResetRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NVMfRemoteControllerResetRequest* other); + void InternalSwap(ListNVMfRemoteControllerResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerResetRequest"; + return "opi_api.storage.v1.ListNVMfRemoteControllerResponse"; } protected: - explicit NVMfRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit ListNVMfRemoteControllerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1147,47 +1236,73 @@ class NVMfRemoteControllerResetRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kCtrlsFieldNumber = 1, + kNextPageTokenFieldNumber = 2, }; - // int64 id = 1; - void clear_id(); - int64_t id() const; - void set_id(int64_t value); + // repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; + int ctrls_size() const; + private: + int _internal_ctrls_size() const; + public: + void clear_ctrls(); + ::opi_api::storage::v1::NVMfRemoteController* mutable_ctrls(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController >* + mutable_ctrls(); private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); + const ::opi_api::storage::v1::NVMfRemoteController& _internal_ctrls(int index) const; + ::opi_api::storage::v1::NVMfRemoteController* _internal_add_ctrls(); public: + const ::opi_api::storage::v1::NVMfRemoteController& ctrls(int index) const; + ::opi_api::storage::v1::NVMfRemoteController* add_ctrls(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController >& + ctrls() const; - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetRequest) + // string next_page_token = 2; + void clear_next_page_token(); + const std::string& next_page_token() const; + template + void set_next_page_token(ArgT0&& arg0, ArgT... args); + std::string* mutable_next_page_token(); + PROTOBUF_NODISCARD std::string* release_next_page_token(); + void set_allocated_next_page_token(std::string* next_page_token); + private: + const std::string& _internal_next_page_token() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_next_page_token(const std::string& value); + std::string* _internal_mutable_next_page_token(); + public: + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNVMfRemoteControllerResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - int64_t id_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController > ctrls_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr next_page_token_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerResetResponse final : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerResetResponse) */ { +class GetNVMfRemoteControllerRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.GetNVMfRemoteControllerRequest) */ { public: - inline NVMfRemoteControllerResetResponse() : NVMfRemoteControllerResetResponse(nullptr) {} - explicit constexpr NVMfRemoteControllerResetResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline GetNVMfRemoteControllerRequest() : GetNVMfRemoteControllerRequest(nullptr) {} + ~GetNVMfRemoteControllerRequest() override; + explicit constexpr GetNVMfRemoteControllerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerResetResponse(const NVMfRemoteControllerResetResponse& from); - NVMfRemoteControllerResetResponse(NVMfRemoteControllerResetResponse&& from) noexcept - : NVMfRemoteControllerResetResponse() { + GetNVMfRemoteControllerRequest(const GetNVMfRemoteControllerRequest& from); + GetNVMfRemoteControllerRequest(GetNVMfRemoteControllerRequest&& from) noexcept + : GetNVMfRemoteControllerRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerResetResponse& operator=(const NVMfRemoteControllerResetResponse& from) { + inline GetNVMfRemoteControllerRequest& operator=(const GetNVMfRemoteControllerRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerResetResponse& operator=(NVMfRemoteControllerResetResponse&& from) noexcept { + inline GetNVMfRemoteControllerRequest& operator=(GetNVMfRemoteControllerRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1210,20 +1325,20 @@ class NVMfRemoteControllerResetResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerResetResponse& default_instance() { + static const GetNVMfRemoteControllerRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerResetResponse* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerResetResponse_default_instance_); + static inline const GetNVMfRemoteControllerRequest* internal_default_instance() { + return reinterpret_cast( + &_GetNVMfRemoteControllerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 6; - friend void swap(NVMfRemoteControllerResetResponse& a, NVMfRemoteControllerResetResponse& b) { + friend void swap(GetNVMfRemoteControllerRequest& a, GetNVMfRemoteControllerRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerResetResponse* other) { + inline void Swap(GetNVMfRemoteControllerRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1236,7 +1351,7 @@ class NVMfRemoteControllerResetResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerResetResponse* other) { + void UnsafeArenaSwap(GetNVMfRemoteControllerRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1244,28 +1359,42 @@ class NVMfRemoteControllerResetResponse final : // implements Message ---------------------------------------------- - NVMfRemoteControllerResetResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const NVMfRemoteControllerResetResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const NVMfRemoteControllerResetResponse& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from); + GetNVMfRemoteControllerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GetNVMfRemoteControllerRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom(const GetNVMfRemoteControllerRequest& 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(GetNVMfRemoteControllerRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerResetResponse"; + return "opi_api.storage.v1.GetNVMfRemoteControllerRequest"; } protected: - explicit NVMfRemoteControllerResetResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit GetNVMfRemoteControllerRequest(::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_; @@ -1277,36 +1406,58 @@ class NVMfRemoteControllerResetResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetResponse) + enum : int { + kIdFieldNumber = 1, + }; + // .opi_api.common.v1.ObjectKey id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: + void clear_id(); + const ::opi_api::common::v1::ObjectKey& id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); + ::opi_api::common::v1::ObjectKey* mutable_id(); + void set_allocated_id(::opi_api::common::v1::ObjectKey* id); + private: + const ::opi_api::common::v1::ObjectKey& _internal_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); + public: + void unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetNVMfRemoteControllerRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; + ::opi_api::common::v1::ObjectKey* id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerListRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerListRequest) */ { +class NVMfRemoteControllerResetRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerResetRequest) */ { public: - inline NVMfRemoteControllerListRequest() : NVMfRemoteControllerListRequest(nullptr) {} - ~NVMfRemoteControllerListRequest() override; - explicit constexpr NVMfRemoteControllerListRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NVMfRemoteControllerResetRequest() : NVMfRemoteControllerResetRequest(nullptr) {} + ~NVMfRemoteControllerResetRequest() override; + explicit constexpr NVMfRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerListRequest(const NVMfRemoteControllerListRequest& from); - NVMfRemoteControllerListRequest(NVMfRemoteControllerListRequest&& from) noexcept - : NVMfRemoteControllerListRequest() { + NVMfRemoteControllerResetRequest(const NVMfRemoteControllerResetRequest& from); + NVMfRemoteControllerResetRequest(NVMfRemoteControllerResetRequest&& from) noexcept + : NVMfRemoteControllerResetRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerListRequest& operator=(const NVMfRemoteControllerListRequest& from) { + inline NVMfRemoteControllerResetRequest& operator=(const NVMfRemoteControllerResetRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerListRequest& operator=(NVMfRemoteControllerListRequest&& from) noexcept { + inline NVMfRemoteControllerResetRequest& operator=(NVMfRemoteControllerResetRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1329,20 +1480,20 @@ class NVMfRemoteControllerListRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerListRequest& default_instance() { + static const NVMfRemoteControllerResetRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerListRequest* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerListRequest_default_instance_); + static inline const NVMfRemoteControllerResetRequest* internal_default_instance() { + return reinterpret_cast( + &_NVMfRemoteControllerResetRequest_default_instance_); } static constexpr int kIndexInFileMessages = 7; - friend void swap(NVMfRemoteControllerListRequest& a, NVMfRemoteControllerListRequest& b) { + friend void swap(NVMfRemoteControllerResetRequest& a, NVMfRemoteControllerResetRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerListRequest* other) { + inline void Swap(NVMfRemoteControllerResetRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1355,7 +1506,7 @@ class NVMfRemoteControllerListRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerListRequest* other) { + void UnsafeArenaSwap(NVMfRemoteControllerResetRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1363,13 +1514,13 @@ class NVMfRemoteControllerListRequest final : // implements Message ---------------------------------------------- - NVMfRemoteControllerListRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + NVMfRemoteControllerResetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerListRequest& from); + void CopyFrom(const NVMfRemoteControllerResetRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerListRequest& from); + void MergeFrom(const NVMfRemoteControllerResetRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1386,15 +1537,15 @@ class NVMfRemoteControllerListRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NVMfRemoteControllerListRequest* other); + void InternalSwap(NVMfRemoteControllerResetRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerListRequest"; + return "opi_api.storage.v1.NVMfRemoteControllerResetRequest"; } protected: - explicit NVMfRemoteControllerListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit NVMfRemoteControllerResetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1413,46 +1564,55 @@ class NVMfRemoteControllerListRequest final : enum : int { kIdFieldNumber = 1, }; - // int64 id = 1; + // .opi_api.common.v1.ObjectKey id = 1; + bool has_id() const; + private: + bool _internal_has_id() const; + public: void clear_id(); - int64_t id() const; - void set_id(int64_t value); + const ::opi_api::common::v1::ObjectKey& id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); + ::opi_api::common::v1::ObjectKey* mutable_id(); + void set_allocated_id(::opi_api::common::v1::ObjectKey* id); private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); + const ::opi_api::common::v1::ObjectKey& _internal_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); public: + void unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerListRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - int64_t id_; + ::opi_api::common::v1::ObjectKey* id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerListResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerListResponse) */ { +class NVMfRemoteControllerStatsRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerStatsRequest) */ { public: - inline NVMfRemoteControllerListResponse() : NVMfRemoteControllerListResponse(nullptr) {} - ~NVMfRemoteControllerListResponse() override; - explicit constexpr NVMfRemoteControllerListResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NVMfRemoteControllerStatsRequest() : NVMfRemoteControllerStatsRequest(nullptr) {} + ~NVMfRemoteControllerStatsRequest() override; + explicit constexpr NVMfRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerListResponse(const NVMfRemoteControllerListResponse& from); - NVMfRemoteControllerListResponse(NVMfRemoteControllerListResponse&& from) noexcept - : NVMfRemoteControllerListResponse() { + NVMfRemoteControllerStatsRequest(const NVMfRemoteControllerStatsRequest& from); + NVMfRemoteControllerStatsRequest(NVMfRemoteControllerStatsRequest&& from) noexcept + : NVMfRemoteControllerStatsRequest() { *this = ::std::move(from); } - inline NVMfRemoteControllerListResponse& operator=(const NVMfRemoteControllerListResponse& from) { + inline NVMfRemoteControllerStatsRequest& operator=(const NVMfRemoteControllerStatsRequest& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerListResponse& operator=(NVMfRemoteControllerListResponse&& from) noexcept { + inline NVMfRemoteControllerStatsRequest& operator=(NVMfRemoteControllerStatsRequest&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1475,20 +1635,20 @@ class NVMfRemoteControllerListResponse final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerListResponse& default_instance() { + static const NVMfRemoteControllerStatsRequest& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerListResponse* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerListResponse_default_instance_); + static inline const NVMfRemoteControllerStatsRequest* internal_default_instance() { + return reinterpret_cast( + &_NVMfRemoteControllerStatsRequest_default_instance_); } static constexpr int kIndexInFileMessages = 8; - friend void swap(NVMfRemoteControllerListResponse& a, NVMfRemoteControllerListResponse& b) { + friend void swap(NVMfRemoteControllerStatsRequest& a, NVMfRemoteControllerStatsRequest& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerListResponse* other) { + inline void Swap(NVMfRemoteControllerStatsRequest* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1501,7 +1661,7 @@ class NVMfRemoteControllerListResponse final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerListResponse* other) { + void UnsafeArenaSwap(NVMfRemoteControllerStatsRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1509,13 +1669,13 @@ class NVMfRemoteControllerListResponse final : // implements Message ---------------------------------------------- - NVMfRemoteControllerListResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + NVMfRemoteControllerStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerListResponse& from); + void CopyFrom(const NVMfRemoteControllerStatsRequest& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerListResponse& from); + void MergeFrom(const NVMfRemoteControllerStatsRequest& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1532,15 +1692,15 @@ class NVMfRemoteControllerListResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NVMfRemoteControllerListResponse* other); + void InternalSwap(NVMfRemoteControllerStatsRequest* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerListResponse"; + return "opi_api.storage.v1.NVMfRemoteControllerStatsRequest"; } protected: - explicit NVMfRemoteControllerListResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit NVMfRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1557,57 +1717,57 @@ class NVMfRemoteControllerListResponse final : // accessors ------------------------------------------------------- enum : int { - kCtrlFieldNumber = 1, + kIdFieldNumber = 1, }; - // repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; - int ctrl_size() const; + // .opi_api.common.v1.ObjectKey id = 1; + bool has_id() const; private: - int _internal_ctrl_size() const; + bool _internal_has_id() const; public: - void clear_ctrl(); - ::opi_api::storage::v1::NVMfRemoteController* mutable_ctrl(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController >* - mutable_ctrl(); + void clear_id(); + const ::opi_api::common::v1::ObjectKey& id() const; + PROTOBUF_NODISCARD ::opi_api::common::v1::ObjectKey* release_id(); + ::opi_api::common::v1::ObjectKey* mutable_id(); + void set_allocated_id(::opi_api::common::v1::ObjectKey* id); private: - const ::opi_api::storage::v1::NVMfRemoteController& _internal_ctrl(int index) const; - ::opi_api::storage::v1::NVMfRemoteController* _internal_add_ctrl(); + const ::opi_api::common::v1::ObjectKey& _internal_id() const; + ::opi_api::common::v1::ObjectKey* _internal_mutable_id(); public: - const ::opi_api::storage::v1::NVMfRemoteController& ctrl(int index) const; - ::opi_api::storage::v1::NVMfRemoteController* add_ctrl(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController >& - ctrl() const; + void unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id); + ::opi_api::common::v1::ObjectKey* unsafe_arena_release_id(); - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerListResponse) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerStatsRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController > ctrl_; + ::opi_api::common::v1::ObjectKey* id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; // ------------------------------------------------------------------- -class NVMfRemoteControllerGetRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerGetRequest) */ { +class NVMfRemoteControllerStatsResponse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerStatsResponse) */ { public: - inline NVMfRemoteControllerGetRequest() : NVMfRemoteControllerGetRequest(nullptr) {} - ~NVMfRemoteControllerGetRequest() override; - explicit constexpr NVMfRemoteControllerGetRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline NVMfRemoteControllerStatsResponse() : NVMfRemoteControllerStatsResponse(nullptr) {} + ~NVMfRemoteControllerStatsResponse() override; + explicit constexpr NVMfRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerGetRequest(const NVMfRemoteControllerGetRequest& from); - NVMfRemoteControllerGetRequest(NVMfRemoteControllerGetRequest&& from) noexcept - : NVMfRemoteControllerGetRequest() { + NVMfRemoteControllerStatsResponse(const NVMfRemoteControllerStatsResponse& from); + NVMfRemoteControllerStatsResponse(NVMfRemoteControllerStatsResponse&& from) noexcept + : NVMfRemoteControllerStatsResponse() { *this = ::std::move(from); } - inline NVMfRemoteControllerGetRequest& operator=(const NVMfRemoteControllerGetRequest& from) { + inline NVMfRemoteControllerStatsResponse& operator=(const NVMfRemoteControllerStatsResponse& from) { CopyFrom(from); return *this; } - inline NVMfRemoteControllerGetRequest& operator=(NVMfRemoteControllerGetRequest&& from) noexcept { + inline NVMfRemoteControllerStatsResponse& operator=(NVMfRemoteControllerStatsResponse&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -1630,20 +1790,20 @@ class NVMfRemoteControllerGetRequest final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NVMfRemoteControllerGetRequest& default_instance() { + static const NVMfRemoteControllerStatsResponse& default_instance() { return *internal_default_instance(); } - static inline const NVMfRemoteControllerGetRequest* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerGetRequest_default_instance_); + static inline const NVMfRemoteControllerStatsResponse* internal_default_instance() { + return reinterpret_cast( + &_NVMfRemoteControllerStatsResponse_default_instance_); } static constexpr int kIndexInFileMessages = 9; - friend void swap(NVMfRemoteControllerGetRequest& a, NVMfRemoteControllerGetRequest& b) { + friend void swap(NVMfRemoteControllerStatsResponse& a, NVMfRemoteControllerStatsResponse& b) { a.Swap(&b); } - inline void Swap(NVMfRemoteControllerGetRequest* other) { + inline void Swap(NVMfRemoteControllerStatsResponse* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -1656,7 +1816,7 @@ class NVMfRemoteControllerGetRequest final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NVMfRemoteControllerGetRequest* other) { + void UnsafeArenaSwap(NVMfRemoteControllerStatsResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -1664,13 +1824,13 @@ class NVMfRemoteControllerGetRequest final : // implements Message ---------------------------------------------- - NVMfRemoteControllerGetRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + NVMfRemoteControllerStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerGetRequest& from); + void CopyFrom(const NVMfRemoteControllerStatsResponse& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerGetRequest& from); + void MergeFrom(const NVMfRemoteControllerStatsResponse& from); private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); public: @@ -1687,15 +1847,15 @@ class NVMfRemoteControllerGetRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(NVMfRemoteControllerGetRequest* other); + void InternalSwap(NVMfRemoteControllerStatsResponse* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerGetRequest"; + return "opi_api.storage.v1.NVMfRemoteControllerStatsResponse"; } protected: - explicit NVMfRemoteControllerGetRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit NVMfRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); private: static void ArenaDtor(void* object); @@ -1712,495 +1872,37 @@ class NVMfRemoteControllerGetRequest final : // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, + kStatsFieldNumber = 1, }; - // int64 id = 1; - void clear_id(); - int64_t id() const; - void set_id(int64_t value); + // string stats = 1; + void clear_stats(); + const std::string& stats() const; + template + void set_stats(ArgT0&& arg0, ArgT... args); + std::string* mutable_stats(); + PROTOBUF_NODISCARD std::string* release_stats(); + void set_allocated_stats(std::string* stats); private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); + const std::string& _internal_stats() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); + std::string* _internal_mutable_stats(); public: - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerGetRequest) + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerStatsResponse) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - int64_t id_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; }; -// ------------------------------------------------------------------- +// =================================================================== -class NVMfRemoteControllerGetResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerGetResponse) */ { - public: - inline NVMfRemoteControllerGetResponse() : NVMfRemoteControllerGetResponse(nullptr) {} - ~NVMfRemoteControllerGetResponse() override; - explicit constexpr NVMfRemoteControllerGetResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - NVMfRemoteControllerGetResponse(const NVMfRemoteControllerGetResponse& from); - NVMfRemoteControllerGetResponse(NVMfRemoteControllerGetResponse&& from) noexcept - : NVMfRemoteControllerGetResponse() { - *this = ::std::move(from); - } - - inline NVMfRemoteControllerGetResponse& operator=(const NVMfRemoteControllerGetResponse& from) { - CopyFrom(from); - return *this; - } - inline NVMfRemoteControllerGetResponse& operator=(NVMfRemoteControllerGetResponse&& 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 NVMfRemoteControllerGetResponse& default_instance() { - return *internal_default_instance(); - } - static inline const NVMfRemoteControllerGetResponse* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerGetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(NVMfRemoteControllerGetResponse& a, NVMfRemoteControllerGetResponse& b) { - a.Swap(&b); - } - inline void Swap(NVMfRemoteControllerGetResponse* 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(NVMfRemoteControllerGetResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NVMfRemoteControllerGetResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerGetResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerGetResponse& 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(NVMfRemoteControllerGetResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerGetResponse"; - } - protected: - explicit NVMfRemoteControllerGetResponse(::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 { - kCtrlFieldNumber = 1, - }; - // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; - bool has_ctrl() const; - private: - bool _internal_has_ctrl() const; - public: - void clear_ctrl(); - const ::opi_api::storage::v1::NVMfRemoteController& ctrl() const; - PROTOBUF_NODISCARD ::opi_api::storage::v1::NVMfRemoteController* release_ctrl(); - ::opi_api::storage::v1::NVMfRemoteController* mutable_ctrl(); - void set_allocated_ctrl(::opi_api::storage::v1::NVMfRemoteController* ctrl); - private: - const ::opi_api::storage::v1::NVMfRemoteController& _internal_ctrl() const; - ::opi_api::storage::v1::NVMfRemoteController* _internal_mutable_ctrl(); - public: - void unsafe_arena_set_allocated_ctrl( - ::opi_api::storage::v1::NVMfRemoteController* ctrl); - ::opi_api::storage::v1::NVMfRemoteController* unsafe_arena_release_ctrl(); - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerGetResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::opi_api::storage::v1::NVMfRemoteController* ctrl_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; -}; -// ------------------------------------------------------------------- - -class NVMfRemoteControllerStatsRequest final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerStatsRequest) */ { - public: - inline NVMfRemoteControllerStatsRequest() : NVMfRemoteControllerStatsRequest(nullptr) {} - ~NVMfRemoteControllerStatsRequest() override; - explicit constexpr NVMfRemoteControllerStatsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NVMfRemoteControllerStatsRequest(const NVMfRemoteControllerStatsRequest& from); - NVMfRemoteControllerStatsRequest(NVMfRemoteControllerStatsRequest&& from) noexcept - : NVMfRemoteControllerStatsRequest() { - *this = ::std::move(from); - } - - inline NVMfRemoteControllerStatsRequest& operator=(const NVMfRemoteControllerStatsRequest& from) { - CopyFrom(from); - return *this; - } - inline NVMfRemoteControllerStatsRequest& operator=(NVMfRemoteControllerStatsRequest&& 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 NVMfRemoteControllerStatsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const NVMfRemoteControllerStatsRequest* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerStatsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(NVMfRemoteControllerStatsRequest& a, NVMfRemoteControllerStatsRequest& b) { - a.Swap(&b); - } - inline void Swap(NVMfRemoteControllerStatsRequest* 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(NVMfRemoteControllerStatsRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NVMfRemoteControllerStatsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerStatsRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerStatsRequest& 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(NVMfRemoteControllerStatsRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerStatsRequest"; - } - protected: - explicit NVMfRemoteControllerStatsRequest(::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 { - kIdFieldNumber = 1, - }; - // int64 id = 1; - void clear_id(); - int64_t id() const; - void set_id(int64_t value); - private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerStatsRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - int64_t id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; -}; -// ------------------------------------------------------------------- - -class NVMfRemoteControllerStatsResponse final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opi_api.storage.v1.NVMfRemoteControllerStatsResponse) */ { - public: - inline NVMfRemoteControllerStatsResponse() : NVMfRemoteControllerStatsResponse(nullptr) {} - ~NVMfRemoteControllerStatsResponse() override; - explicit constexpr NVMfRemoteControllerStatsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NVMfRemoteControllerStatsResponse(const NVMfRemoteControllerStatsResponse& from); - NVMfRemoteControllerStatsResponse(NVMfRemoteControllerStatsResponse&& from) noexcept - : NVMfRemoteControllerStatsResponse() { - *this = ::std::move(from); - } - - inline NVMfRemoteControllerStatsResponse& operator=(const NVMfRemoteControllerStatsResponse& from) { - CopyFrom(from); - return *this; - } - inline NVMfRemoteControllerStatsResponse& operator=(NVMfRemoteControllerStatsResponse&& 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 NVMfRemoteControllerStatsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const NVMfRemoteControllerStatsResponse* internal_default_instance() { - return reinterpret_cast( - &_NVMfRemoteControllerStatsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(NVMfRemoteControllerStatsResponse& a, NVMfRemoteControllerStatsResponse& b) { - a.Swap(&b); - } - inline void Swap(NVMfRemoteControllerStatsResponse* 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(NVMfRemoteControllerStatsResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NVMfRemoteControllerStatsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NVMfRemoteControllerStatsResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom(const NVMfRemoteControllerStatsResponse& 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(NVMfRemoteControllerStatsResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "opi_api.storage.v1.NVMfRemoteControllerStatsResponse"; - } - protected: - explicit NVMfRemoteControllerStatsResponse(::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 { - kStatsFieldNumber = 2, - kIdFieldNumber = 1, - }; - // string stats = 2; - void clear_stats(); - const std::string& stats() const; - template - void set_stats(ArgT0&& arg0, ArgT... args); - std::string* mutable_stats(); - PROTOBUF_NODISCARD std::string* release_stats(); - void set_allocated_stats(std::string* stats); - private: - const std::string& _internal_stats() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stats(const std::string& value); - std::string* _internal_mutable_stats(); - public: - - // int64 id = 1; - void clear_id(); - int64_t id() const; - void set_id(int64_t value); - private: - int64_t _internal_id() const; - void _internal_set_id(int64_t value); - public: - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerStatsResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stats_; - int64_t id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - friend struct ::TableStruct_backend_5fnvme_5ftcp_2eproto; -}; -// =================================================================== - - -// =================================================================== +// =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push @@ -2208,24 +1910,90 @@ class NVMfRemoteControllerStatsResponse final : #endif // __GNUC__ // NVMfRemoteController -// int64 id = 1; -inline void NVMfRemoteController::clear_id() { - id_ = int64_t{0}; +// .opi_api.common.v1.ObjectKey id = 1; +inline bool NVMfRemoteController::_internal_has_id() const { + return this != internal_default_instance() && id_ != nullptr; } -inline int64_t NVMfRemoteController::_internal_id() const { - return id_; +inline bool NVMfRemoteController::has_id() const { + return _internal_has_id(); } -inline int64_t NVMfRemoteController::id() const { +inline const ::opi_api::common::v1::ObjectKey& NVMfRemoteController::_internal_id() const { + const ::opi_api::common::v1::ObjectKey* p = id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& NVMfRemoteController::id() const { // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteController.id) return _internal_id(); } -inline void NVMfRemoteController::_internal_set_id(int64_t value) { +inline void NVMfRemoteController::unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + id_ = id; + if (id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMfRemoteController.id) +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteController::release_id() { + + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteController::unsafe_arena_release_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteController.id) + + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteController::_internal_mutable_id() { - id_ = value; + if (id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + id_ = p; + } + return id_; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteController::mutable_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteController.id) + return _msg; } -inline void NVMfRemoteController::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteController.id) +inline void NVMfRemoteController::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + if (id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); + if (message_arena != submessage_arena) { + id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, id, submessage_arena); + } + + } else { + + } + id_ = id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteController.id) } // .opi_api.storage.v1.NvmeTransportType trtype = 2; @@ -2490,84 +2258,268 @@ inline void NVMfRemoteController::set_queue_size(int64_t value) { // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteController.queue_size) } -// string hostnqn = 12; -inline void NVMfRemoteController::clear_hostnqn() { - hostnqn_.ClearToEmpty(); +// string hostnqn = 12; +inline void NVMfRemoteController::clear_hostnqn() { + hostnqn_.ClearToEmpty(); +} +inline const std::string& NVMfRemoteController::hostnqn() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteController.hostnqn) + return _internal_hostnqn(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void NVMfRemoteController::set_hostnqn(ArgT0&& arg0, ArgT... args) { + + hostnqn_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteController.hostnqn) +} +inline std::string* NVMfRemoteController::mutable_hostnqn() { + std::string* _s = _internal_mutable_hostnqn(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteController.hostnqn) + return _s; +} +inline const std::string& NVMfRemoteController::_internal_hostnqn() const { + return hostnqn_.Get(); +} +inline void NVMfRemoteController::_internal_set_hostnqn(const std::string& value) { + + hostnqn_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); +} +inline std::string* NVMfRemoteController::_internal_mutable_hostnqn() { + + return hostnqn_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* NVMfRemoteController::release_hostnqn() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteController.hostnqn) + return hostnqn_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void NVMfRemoteController::set_allocated_hostnqn(std::string* hostnqn) { + if (hostnqn != nullptr) { + + } else { + + } + hostnqn_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), hostnqn, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (hostnqn_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + hostnqn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteController.hostnqn) +} + +// ------------------------------------------------------------------- + +// CreateNVMfRemoteControllerRequest + +// .opi_api.storage.v1.NVMfRemoteController ctrl = 1; +inline bool CreateNVMfRemoteControllerRequest::_internal_has_ctrl() const { + return this != internal_default_instance() && ctrl_ != nullptr; +} +inline bool CreateNVMfRemoteControllerRequest::has_ctrl() const { + return _internal_has_ctrl(); +} +inline void CreateNVMfRemoteControllerRequest::clear_ctrl() { + if (GetArenaForAllocation() == nullptr && ctrl_ != nullptr) { + delete ctrl_; + } + ctrl_ = nullptr; +} +inline const ::opi_api::storage::v1::NVMfRemoteController& CreateNVMfRemoteControllerRequest::_internal_ctrl() const { + const ::opi_api::storage::v1::NVMfRemoteController* p = ctrl_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::storage::v1::_NVMfRemoteController_default_instance_); +} +inline const ::opi_api::storage::v1::NVMfRemoteController& CreateNVMfRemoteControllerRequest::ctrl() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.CreateNVMfRemoteControllerRequest.ctrl) + return _internal_ctrl(); +} +inline void CreateNVMfRemoteControllerRequest::unsafe_arena_set_allocated_ctrl( + ::opi_api::storage::v1::NVMfRemoteController* ctrl) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ctrl_); + } + ctrl_ = ctrl; + if (ctrl) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.CreateNVMfRemoteControllerRequest.ctrl) +} +inline ::opi_api::storage::v1::NVMfRemoteController* CreateNVMfRemoteControllerRequest::release_ctrl() { + + ::opi_api::storage::v1::NVMfRemoteController* temp = ctrl_; + ctrl_ = 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::storage::v1::NVMfRemoteController* CreateNVMfRemoteControllerRequest::unsafe_arena_release_ctrl() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.CreateNVMfRemoteControllerRequest.ctrl) + + ::opi_api::storage::v1::NVMfRemoteController* temp = ctrl_; + ctrl_ = nullptr; + return temp; +} +inline ::opi_api::storage::v1::NVMfRemoteController* CreateNVMfRemoteControllerRequest::_internal_mutable_ctrl() { + + if (ctrl_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteController>(GetArenaForAllocation()); + ctrl_ = p; + } + return ctrl_; +} +inline ::opi_api::storage::v1::NVMfRemoteController* CreateNVMfRemoteControllerRequest::mutable_ctrl() { + ::opi_api::storage::v1::NVMfRemoteController* _msg = _internal_mutable_ctrl(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.CreateNVMfRemoteControllerRequest.ctrl) + return _msg; +} +inline void CreateNVMfRemoteControllerRequest::set_allocated_ctrl(::opi_api::storage::v1::NVMfRemoteController* ctrl) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete ctrl_; + } + if (ctrl) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::opi_api::storage::v1::NVMfRemoteController>::GetOwningArena(ctrl); + if (message_arena != submessage_arena) { + ctrl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, ctrl, submessage_arena); + } + + } else { + + } + ctrl_ = ctrl; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.CreateNVMfRemoteControllerRequest.ctrl) +} + +// ------------------------------------------------------------------- + +// DeleteNVMfRemoteControllerRequest + +// .opi_api.common.v1.ObjectKey id = 1; +inline bool DeleteNVMfRemoteControllerRequest::_internal_has_id() const { + return this != internal_default_instance() && id_ != nullptr; } -inline const std::string& NVMfRemoteController::hostnqn() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteController.hostnqn) - return _internal_hostnqn(); +inline bool DeleteNVMfRemoteControllerRequest::has_id() const { + return _internal_has_id(); } -template -inline PROTOBUF_ALWAYS_INLINE -void NVMfRemoteController::set_hostnqn(ArgT0&& arg0, ArgT... args) { - - hostnqn_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteController.hostnqn) +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMfRemoteControllerRequest::_internal_id() const { + const ::opi_api::common::v1::ObjectKey* p = id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline std::string* NVMfRemoteController::mutable_hostnqn() { - std::string* _s = _internal_mutable_hostnqn(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteController.hostnqn) - return _s; +inline const ::opi_api::common::v1::ObjectKey& DeleteNVMfRemoteControllerRequest::id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.id) + return _internal_id(); } -inline const std::string& NVMfRemoteController::_internal_hostnqn() const { - return hostnqn_.Get(); +inline void DeleteNVMfRemoteControllerRequest::unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + id_ = id; + if (id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.id) } -inline void NVMfRemoteController::_internal_set_hostnqn(const std::string& value) { +inline ::opi_api::common::v1::ObjectKey* DeleteNVMfRemoteControllerRequest::release_id() { - hostnqn_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; } -inline std::string* NVMfRemoteController::_internal_mutable_hostnqn() { +inline ::opi_api::common::v1::ObjectKey* DeleteNVMfRemoteControllerRequest::unsafe_arena_release_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.id) - return hostnqn_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; + return temp; } -inline std::string* NVMfRemoteController::release_hostnqn() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteController.hostnqn) - return hostnqn_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +inline ::opi_api::common::v1::ObjectKey* DeleteNVMfRemoteControllerRequest::_internal_mutable_id() { + + if (id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + id_ = p; + } + return id_; } -inline void NVMfRemoteController::set_allocated_hostnqn(std::string* hostnqn) { - if (hostnqn != nullptr) { +inline ::opi_api::common::v1::ObjectKey* DeleteNVMfRemoteControllerRequest::mutable_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.id) + return _msg; +} +inline void DeleteNVMfRemoteControllerRequest::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + if (id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); + if (message_arena != submessage_arena) { + id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, id, submessage_arena); + } } else { } - hostnqn_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), hostnqn, - GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (hostnqn_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { - hostnqn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteController.hostnqn) + id_ = id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.id) } // ------------------------------------------------------------------- -// NVMfRemoteControllerConnectRequest +// UpdateNVMfRemoteControllerRequest // .opi_api.storage.v1.NVMfRemoteController ctrl = 1; -inline bool NVMfRemoteControllerConnectRequest::_internal_has_ctrl() const { +inline bool UpdateNVMfRemoteControllerRequest::_internal_has_ctrl() const { return this != internal_default_instance() && ctrl_ != nullptr; } -inline bool NVMfRemoteControllerConnectRequest::has_ctrl() const { +inline bool UpdateNVMfRemoteControllerRequest::has_ctrl() const { return _internal_has_ctrl(); } -inline void NVMfRemoteControllerConnectRequest::clear_ctrl() { +inline void UpdateNVMfRemoteControllerRequest::clear_ctrl() { if (GetArenaForAllocation() == nullptr && ctrl_ != nullptr) { delete ctrl_; } ctrl_ = nullptr; } -inline const ::opi_api::storage::v1::NVMfRemoteController& NVMfRemoteControllerConnectRequest::_internal_ctrl() const { +inline const ::opi_api::storage::v1::NVMfRemoteController& UpdateNVMfRemoteControllerRequest::_internal_ctrl() const { const ::opi_api::storage::v1::NVMfRemoteController* p = ctrl_; return p != nullptr ? *p : reinterpret_cast( ::opi_api::storage::v1::_NVMfRemoteController_default_instance_); } -inline const ::opi_api::storage::v1::NVMfRemoteController& NVMfRemoteControllerConnectRequest::ctrl() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerConnectRequest.ctrl) +inline const ::opi_api::storage::v1::NVMfRemoteController& UpdateNVMfRemoteControllerRequest::ctrl() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.ctrl) return _internal_ctrl(); } -inline void NVMfRemoteControllerConnectRequest::unsafe_arena_set_allocated_ctrl( +inline void UpdateNVMfRemoteControllerRequest::unsafe_arena_set_allocated_ctrl( ::opi_api::storage::v1::NVMfRemoteController* ctrl) { if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ctrl_); @@ -2578,9 +2530,9 @@ inline void NVMfRemoteControllerConnectRequest::unsafe_arena_set_allocated_ctrl( } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMfRemoteControllerConnectRequest.ctrl) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.ctrl) } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerConnectRequest::release_ctrl() { +inline ::opi_api::storage::v1::NVMfRemoteController* UpdateNVMfRemoteControllerRequest::release_ctrl() { ::opi_api::storage::v1::NVMfRemoteController* temp = ctrl_; ctrl_ = nullptr; @@ -2595,14 +2547,14 @@ inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerConnect #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerConnectRequest::unsafe_arena_release_ctrl() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteControllerConnectRequest.ctrl) +inline ::opi_api::storage::v1::NVMfRemoteController* UpdateNVMfRemoteControllerRequest::unsafe_arena_release_ctrl() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.ctrl) ::opi_api::storage::v1::NVMfRemoteController* temp = ctrl_; ctrl_ = nullptr; return temp; } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerConnectRequest::_internal_mutable_ctrl() { +inline ::opi_api::storage::v1::NVMfRemoteController* UpdateNVMfRemoteControllerRequest::_internal_mutable_ctrl() { if (ctrl_ == nullptr) { auto* p = CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteController>(GetArenaForAllocation()); @@ -2610,12 +2562,12 @@ inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerConnect } return ctrl_; } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerConnectRequest::mutable_ctrl() { +inline ::opi_api::storage::v1::NVMfRemoteController* UpdateNVMfRemoteControllerRequest::mutable_ctrl() { ::opi_api::storage::v1::NVMfRemoteController* _msg = _internal_mutable_ctrl(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerConnectRequest.ctrl) + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.ctrl) return _msg; } -inline void NVMfRemoteControllerConnectRequest::set_allocated_ctrl(::opi_api::storage::v1::NVMfRemoteController* ctrl) { +inline void UpdateNVMfRemoteControllerRequest::set_allocated_ctrl(::opi_api::storage::v1::NVMfRemoteController* ctrl) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete ctrl_; @@ -2632,204 +2584,216 @@ inline void NVMfRemoteControllerConnectRequest::set_allocated_ctrl(::opi_api::st } ctrl_ = ctrl; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteControllerConnectRequest.ctrl) + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.ctrl) } // ------------------------------------------------------------------- -// NVMfRemoteControllerConnectResponse - -// ------------------------------------------------------------------- - -// NVMfRemoteControllerDisconnectRequest +// ListNVMfRemoteControllerRequest -// int64 id = 1; -inline void NVMfRemoteControllerDisconnectRequest::clear_id() { - id_ = int64_t{0}; +// int32 page_size = 1; +inline void ListNVMfRemoteControllerRequest::clear_page_size() { + page_size_ = 0; } -inline int64_t NVMfRemoteControllerDisconnectRequest::_internal_id() const { - return id_; +inline int32_t ListNVMfRemoteControllerRequest::_internal_page_size() const { + return page_size_; } -inline int64_t NVMfRemoteControllerDisconnectRequest::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.id) - return _internal_id(); +inline int32_t ListNVMfRemoteControllerRequest::page_size() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_size) + return _internal_page_size(); } -inline void NVMfRemoteControllerDisconnectRequest::_internal_set_id(int64_t value) { +inline void ListNVMfRemoteControllerRequest::_internal_set_page_size(int32_t value) { - id_ = value; + page_size_ = value; } -inline void NVMfRemoteControllerDisconnectRequest::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.id) +inline void ListNVMfRemoteControllerRequest::set_page_size(int32_t value) { + _internal_set_page_size(value); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_size) } -// ------------------------------------------------------------------- - -// NVMfRemoteControllerDisconnectResponse - -// ------------------------------------------------------------------- - -// NVMfRemoteControllerResetRequest - -// int64 id = 1; -inline void NVMfRemoteControllerResetRequest::clear_id() { - id_ = int64_t{0}; -} -inline int64_t NVMfRemoteControllerResetRequest::_internal_id() const { - return id_; +// string page_token = 2; +inline void ListNVMfRemoteControllerRequest::clear_page_token() { + page_token_.ClearToEmpty(); } -inline int64_t NVMfRemoteControllerResetRequest::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) - return _internal_id(); -} -inline void NVMfRemoteControllerResetRequest::_internal_set_id(int64_t value) { - - id_ = value; +inline const std::string& ListNVMfRemoteControllerRequest::page_token() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token) + return _internal_page_token(); } -inline void NVMfRemoteControllerResetRequest::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) +template +inline PROTOBUF_ALWAYS_INLINE +void ListNVMfRemoteControllerRequest::set_page_token(ArgT0&& arg0, ArgT... args) { + + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token) } - -// ------------------------------------------------------------------- - -// NVMfRemoteControllerResetResponse - -// ------------------------------------------------------------------- - -// NVMfRemoteControllerListRequest - -// int64 id = 1; -inline void NVMfRemoteControllerListRequest::clear_id() { - id_ = int64_t{0}; +inline std::string* ListNVMfRemoteControllerRequest::mutable_page_token() { + std::string* _s = _internal_mutable_page_token(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token) + return _s; } -inline int64_t NVMfRemoteControllerListRequest::_internal_id() const { - return id_; +inline const std::string& ListNVMfRemoteControllerRequest::_internal_page_token() const { + return page_token_.Get(); } -inline int64_t NVMfRemoteControllerListRequest::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerListRequest.id) - return _internal_id(); +inline void ListNVMfRemoteControllerRequest::_internal_set_page_token(const std::string& value) { + + page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline void NVMfRemoteControllerListRequest::_internal_set_id(int64_t value) { +inline std::string* ListNVMfRemoteControllerRequest::_internal_mutable_page_token() { - id_ = value; + return page_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } -inline void NVMfRemoteControllerListRequest::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerListRequest.id) +inline std::string* ListNVMfRemoteControllerRequest::release_page_token() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token) + return page_token_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +} +inline void ListNVMfRemoteControllerRequest::set_allocated_page_token(std::string* page_token) { + if (page_token != nullptr) { + + } else { + + } + page_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), page_token, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (page_token_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ListNVMfRemoteControllerRequest.page_token) } // ------------------------------------------------------------------- -// NVMfRemoteControllerListResponse +// ListNVMfRemoteControllerResponse -// repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; -inline int NVMfRemoteControllerListResponse::_internal_ctrl_size() const { - return ctrl_.size(); +// repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; +inline int ListNVMfRemoteControllerResponse::_internal_ctrls_size() const { + return ctrls_.size(); } -inline int NVMfRemoteControllerListResponse::ctrl_size() const { - return _internal_ctrl_size(); +inline int ListNVMfRemoteControllerResponse::ctrls_size() const { + return _internal_ctrls_size(); } -inline void NVMfRemoteControllerListResponse::clear_ctrl() { - ctrl_.Clear(); +inline void ListNVMfRemoteControllerResponse::clear_ctrls() { + ctrls_.Clear(); } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerListResponse::mutable_ctrl(int index) { - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerListResponse.ctrl) - return ctrl_.Mutable(index); +inline ::opi_api::storage::v1::NVMfRemoteController* ListNVMfRemoteControllerResponse::mutable_ctrls(int index) { + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListNVMfRemoteControllerResponse.ctrls) + return ctrls_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController >* -NVMfRemoteControllerListResponse::mutable_ctrl() { - // @@protoc_insertion_point(field_mutable_list:opi_api.storage.v1.NVMfRemoteControllerListResponse.ctrl) - return &ctrl_; +ListNVMfRemoteControllerResponse::mutable_ctrls() { + // @@protoc_insertion_point(field_mutable_list:opi_api.storage.v1.ListNVMfRemoteControllerResponse.ctrls) + return &ctrls_; } -inline const ::opi_api::storage::v1::NVMfRemoteController& NVMfRemoteControllerListResponse::_internal_ctrl(int index) const { - return ctrl_.Get(index); +inline const ::opi_api::storage::v1::NVMfRemoteController& ListNVMfRemoteControllerResponse::_internal_ctrls(int index) const { + return ctrls_.Get(index); } -inline const ::opi_api::storage::v1::NVMfRemoteController& NVMfRemoteControllerListResponse::ctrl(int index) const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerListResponse.ctrl) - return _internal_ctrl(index); +inline const ::opi_api::storage::v1::NVMfRemoteController& ListNVMfRemoteControllerResponse::ctrls(int index) const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNVMfRemoteControllerResponse.ctrls) + return _internal_ctrls(index); } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerListResponse::_internal_add_ctrl() { - return ctrl_.Add(); +inline ::opi_api::storage::v1::NVMfRemoteController* ListNVMfRemoteControllerResponse::_internal_add_ctrls() { + return ctrls_.Add(); } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerListResponse::add_ctrl() { - ::opi_api::storage::v1::NVMfRemoteController* _add = _internal_add_ctrl(); - // @@protoc_insertion_point(field_add:opi_api.storage.v1.NVMfRemoteControllerListResponse.ctrl) +inline ::opi_api::storage::v1::NVMfRemoteController* ListNVMfRemoteControllerResponse::add_ctrls() { + ::opi_api::storage::v1::NVMfRemoteController* _add = _internal_add_ctrls(); + // @@protoc_insertion_point(field_add:opi_api.storage.v1.ListNVMfRemoteControllerResponse.ctrls) return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opi_api::storage::v1::NVMfRemoteController >& -NVMfRemoteControllerListResponse::ctrl() const { - // @@protoc_insertion_point(field_list:opi_api.storage.v1.NVMfRemoteControllerListResponse.ctrl) - return ctrl_; +ListNVMfRemoteControllerResponse::ctrls() const { + // @@protoc_insertion_point(field_list:opi_api.storage.v1.ListNVMfRemoteControllerResponse.ctrls) + return ctrls_; } -// ------------------------------------------------------------------- - -// NVMfRemoteControllerGetRequest - -// int64 id = 1; -inline void NVMfRemoteControllerGetRequest::clear_id() { - id_ = int64_t{0}; +// string next_page_token = 2; +inline void ListNVMfRemoteControllerResponse::clear_next_page_token() { + next_page_token_.ClearToEmpty(); } -inline int64_t NVMfRemoteControllerGetRequest::_internal_id() const { - return id_; +inline const std::string& ListNVMfRemoteControllerResponse::next_page_token() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token) + return _internal_next_page_token(); } -inline int64_t NVMfRemoteControllerGetRequest::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerGetRequest.id) - return _internal_id(); +template +inline PROTOBUF_ALWAYS_INLINE +void ListNVMfRemoteControllerResponse::set_next_page_token(ArgT0&& arg0, ArgT... args) { + + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token) +} +inline std::string* ListNVMfRemoteControllerResponse::mutable_next_page_token() { + std::string* _s = _internal_mutable_next_page_token(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token) + return _s; +} +inline const std::string& ListNVMfRemoteControllerResponse::_internal_next_page_token() const { + return next_page_token_.Get(); +} +inline void ListNVMfRemoteControllerResponse::_internal_set_next_page_token(const std::string& value) { + + next_page_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } -inline void NVMfRemoteControllerGetRequest::_internal_set_id(int64_t value) { +inline std::string* ListNVMfRemoteControllerResponse::_internal_mutable_next_page_token() { - id_ = value; + return next_page_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); +} +inline std::string* ListNVMfRemoteControllerResponse::release_next_page_token() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token) + return next_page_token_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); } -inline void NVMfRemoteControllerGetRequest::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerGetRequest.id) +inline void ListNVMfRemoteControllerResponse::set_allocated_next_page_token(std::string* next_page_token) { + if (next_page_token != nullptr) { + + } else { + + } + next_page_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), next_page_token, + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (next_page_token_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + next_page_token_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.ListNVMfRemoteControllerResponse.next_page_token) } // ------------------------------------------------------------------- -// NVMfRemoteControllerGetResponse +// GetNVMfRemoteControllerRequest -// .opi_api.storage.v1.NVMfRemoteController ctrl = 1; -inline bool NVMfRemoteControllerGetResponse::_internal_has_ctrl() const { - return this != internal_default_instance() && ctrl_ != nullptr; +// .opi_api.common.v1.ObjectKey id = 1; +inline bool GetNVMfRemoteControllerRequest::_internal_has_id() const { + return this != internal_default_instance() && id_ != nullptr; } -inline bool NVMfRemoteControllerGetResponse::has_ctrl() const { - return _internal_has_ctrl(); -} -inline void NVMfRemoteControllerGetResponse::clear_ctrl() { - if (GetArenaForAllocation() == nullptr && ctrl_ != nullptr) { - delete ctrl_; - } - ctrl_ = nullptr; +inline bool GetNVMfRemoteControllerRequest::has_id() const { + return _internal_has_id(); } -inline const ::opi_api::storage::v1::NVMfRemoteController& NVMfRemoteControllerGetResponse::_internal_ctrl() const { - const ::opi_api::storage::v1::NVMfRemoteController* p = ctrl_; - return p != nullptr ? *p : reinterpret_cast( - ::opi_api::storage::v1::_NVMfRemoteController_default_instance_); +inline const ::opi_api::common::v1::ObjectKey& GetNVMfRemoteControllerRequest::_internal_id() const { + const ::opi_api::common::v1::ObjectKey* p = id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); } -inline const ::opi_api::storage::v1::NVMfRemoteController& NVMfRemoteControllerGetResponse::ctrl() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerGetResponse.ctrl) - return _internal_ctrl(); +inline const ::opi_api::common::v1::ObjectKey& GetNVMfRemoteControllerRequest::id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.GetNVMfRemoteControllerRequest.id) + return _internal_id(); } -inline void NVMfRemoteControllerGetResponse::unsafe_arena_set_allocated_ctrl( - ::opi_api::storage::v1::NVMfRemoteController* ctrl) { +inline void GetNVMfRemoteControllerRequest::unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id) { if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ctrl_); + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); } - ctrl_ = ctrl; - if (ctrl) { + id_ = id; + if (id) { } else { } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMfRemoteControllerGetResponse.ctrl) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.GetNVMfRemoteControllerRequest.id) } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerGetResponse::release_ctrl() { +inline ::opi_api::common::v1::ObjectKey* GetNVMfRemoteControllerRequest::release_id() { - ::opi_api::storage::v1::NVMfRemoteController* temp = ctrl_; - ctrl_ = nullptr; + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); @@ -2841,95 +2805,233 @@ inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerGetResp #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerGetResponse::unsafe_arena_release_ctrl() { - // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteControllerGetResponse.ctrl) +inline ::opi_api::common::v1::ObjectKey* GetNVMfRemoteControllerRequest::unsafe_arena_release_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.GetNVMfRemoteControllerRequest.id) - ::opi_api::storage::v1::NVMfRemoteController* temp = ctrl_; - ctrl_ = nullptr; + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; return temp; } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerGetResponse::_internal_mutable_ctrl() { +inline ::opi_api::common::v1::ObjectKey* GetNVMfRemoteControllerRequest::_internal_mutable_id() { - if (ctrl_ == nullptr) { - auto* p = CreateMaybeMessage<::opi_api::storage::v1::NVMfRemoteController>(GetArenaForAllocation()); - ctrl_ = p; + if (id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + id_ = p; } - return ctrl_; + return id_; } -inline ::opi_api::storage::v1::NVMfRemoteController* NVMfRemoteControllerGetResponse::mutable_ctrl() { - ::opi_api::storage::v1::NVMfRemoteController* _msg = _internal_mutable_ctrl(); - // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerGetResponse.ctrl) +inline ::opi_api::common::v1::ObjectKey* GetNVMfRemoteControllerRequest::mutable_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.GetNVMfRemoteControllerRequest.id) return _msg; } -inline void NVMfRemoteControllerGetResponse::set_allocated_ctrl(::opi_api::storage::v1::NVMfRemoteController* ctrl) { +inline void GetNVMfRemoteControllerRequest::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { - delete ctrl_; + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); } - if (ctrl) { + if (id) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::opi_api::storage::v1::NVMfRemoteController>::GetOwningArena(ctrl); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); if (message_arena != submessage_arena) { - ctrl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ctrl, submessage_arena); + id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, id, submessage_arena); } } else { } - ctrl_ = ctrl; - // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteControllerGetResponse.ctrl) + id_ = id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.GetNVMfRemoteControllerRequest.id) } // ------------------------------------------------------------------- -// NVMfRemoteControllerStatsRequest +// NVMfRemoteControllerResetRequest -// int64 id = 1; -inline void NVMfRemoteControllerStatsRequest::clear_id() { - id_ = int64_t{0}; +// .opi_api.common.v1.ObjectKey id = 1; +inline bool NVMfRemoteControllerResetRequest::_internal_has_id() const { + return this != internal_default_instance() && id_ != nullptr; } -inline int64_t NVMfRemoteControllerStatsRequest::_internal_id() const { - return id_; +inline bool NVMfRemoteControllerResetRequest::has_id() const { + return _internal_has_id(); } -inline int64_t NVMfRemoteControllerStatsRequest::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) +inline const ::opi_api::common::v1::ObjectKey& NVMfRemoteControllerResetRequest::_internal_id() const { + const ::opi_api::common::v1::ObjectKey* p = id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& NVMfRemoteControllerResetRequest::id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) return _internal_id(); } -inline void NVMfRemoteControllerStatsRequest::_internal_set_id(int64_t value) { +inline void NVMfRemoteControllerResetRequest::unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + id_ = id; + if (id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerResetRequest::release_id() { - id_ = value; + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerResetRequest::unsafe_arena_release_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) + + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerResetRequest::_internal_mutable_id() { + + if (id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + id_ = p; + } + return id_; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerResetRequest::mutable_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) + return _msg; } -inline void NVMfRemoteControllerStatsRequest::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) +inline void NVMfRemoteControllerResetRequest::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + if (id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); + if (message_arena != submessage_arena) { + id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, id, submessage_arena); + } + + } else { + + } + id_ = id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteControllerResetRequest.id) } // ------------------------------------------------------------------- -// NVMfRemoteControllerStatsResponse +// NVMfRemoteControllerStatsRequest -// int64 id = 1; -inline void NVMfRemoteControllerStatsResponse::clear_id() { - id_ = int64_t{0}; +// .opi_api.common.v1.ObjectKey id = 1; +inline bool NVMfRemoteControllerStatsRequest::_internal_has_id() const { + return this != internal_default_instance() && id_ != nullptr; } -inline int64_t NVMfRemoteControllerStatsResponse::_internal_id() const { - return id_; +inline bool NVMfRemoteControllerStatsRequest::has_id() const { + return _internal_has_id(); } -inline int64_t NVMfRemoteControllerStatsResponse::id() const { - // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.id) +inline const ::opi_api::common::v1::ObjectKey& NVMfRemoteControllerStatsRequest::_internal_id() const { + const ::opi_api::common::v1::ObjectKey* p = id_; + return p != nullptr ? *p : reinterpret_cast( + ::opi_api::common::v1::_ObjectKey_default_instance_); +} +inline const ::opi_api::common::v1::ObjectKey& NVMfRemoteControllerStatsRequest::id() const { + // @@protoc_insertion_point(field_get:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) return _internal_id(); } -inline void NVMfRemoteControllerStatsResponse::_internal_set_id(int64_t value) { +inline void NVMfRemoteControllerStatsRequest::unsafe_arena_set_allocated_id( + ::opi_api::common::v1::ObjectKey* id) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + id_ = id; + if (id) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerStatsRequest::release_id() { + + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerStatsRequest::unsafe_arena_release_id() { + // @@protoc_insertion_point(field_release:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) + + ::opi_api::common::v1::ObjectKey* temp = id_; + id_ = nullptr; + return temp; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerStatsRequest::_internal_mutable_id() { - id_ = value; + if (id_ == nullptr) { + auto* p = CreateMaybeMessage<::opi_api::common::v1::ObjectKey>(GetArenaForAllocation()); + id_ = p; + } + return id_; +} +inline ::opi_api::common::v1::ObjectKey* NVMfRemoteControllerStatsRequest::mutable_id() { + ::opi_api::common::v1::ObjectKey* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) + return _msg; } -inline void NVMfRemoteControllerStatsResponse::set_id(int64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:opi_api.storage.v1.NVMfRemoteControllerStatsResponse.id) +inline void NVMfRemoteControllerStatsRequest::set_allocated_id(::opi_api::common::v1::ObjectKey* id) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(id_); + } + if (id) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper< + ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(id)); + if (message_arena != submessage_arena) { + id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, id, submessage_arena); + } + + } else { + + } + id_ = id; + // @@protoc_insertion_point(field_set_allocated:opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id) } -// string stats = 2; +// ------------------------------------------------------------------- + +// NVMfRemoteControllerStatsResponse + +// string stats = 1; inline void NVMfRemoteControllerStatsResponse::clear_stats() { stats_.ClearToEmpty(); } @@ -3001,12 +3103,6 @@ inline void NVMfRemoteControllerStatsResponse::set_allocated_stats(std::string* // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) diff --git a/storage/v1alpha1/gen/go/backend_aio.pb.go b/storage/v1alpha1/gen/go/backend_aio.pb.go index 79e7dde9..f023914f 100644 --- a/storage/v1alpha1/gen/go/backend_aio.pb.go +++ b/storage/v1alpha1/gen/go/backend_aio.pb.go @@ -12,6 +12,7 @@ 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" @@ -110,7 +111,7 @@ func (x *AioController) GetFilename() string { return "" } -type AioControllerCreateRequest struct { +type CreateAioControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -118,8 +119,8 @@ type AioControllerCreateRequest struct { Device *AioController `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` } -func (x *AioControllerCreateRequest) Reset() { - *x = AioControllerCreateRequest{} +func (x *CreateAioControllerRequest) Reset() { + *x = CreateAioControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -127,13 +128,13 @@ func (x *AioControllerCreateRequest) Reset() { } } -func (x *AioControllerCreateRequest) String() string { +func (x *CreateAioControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerCreateRequest) ProtoMessage() {} +func (*CreateAioControllerRequest) ProtoMessage() {} -func (x *AioControllerCreateRequest) ProtoReflect() protoreflect.Message { +func (x *CreateAioControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -145,19 +146,19 @@ func (x *AioControllerCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerCreateRequest.ProtoReflect.Descriptor instead. -func (*AioControllerCreateRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateAioControllerRequest.ProtoReflect.Descriptor instead. +func (*CreateAioControllerRequest) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{1} } -func (x *AioControllerCreateRequest) GetDevice() *AioController { +func (x *CreateAioControllerRequest) GetDevice() *AioController { if x != nil { return x.Device } return nil } -type AioControllerDeleteRequest struct { +type DeleteAioControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -165,8 +166,8 @@ type AioControllerDeleteRequest struct { Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` } -func (x *AioControllerDeleteRequest) Reset() { - *x = AioControllerDeleteRequest{} +func (x *DeleteAioControllerRequest) Reset() { + *x = DeleteAioControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -174,13 +175,13 @@ func (x *AioControllerDeleteRequest) Reset() { } } -func (x *AioControllerDeleteRequest) String() string { +func (x *DeleteAioControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerDeleteRequest) ProtoMessage() {} +func (*DeleteAioControllerRequest) ProtoMessage() {} -func (x *AioControllerDeleteRequest) ProtoReflect() protoreflect.Message { +func (x *DeleteAioControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -192,19 +193,19 @@ func (x *AioControllerDeleteRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerDeleteRequest.ProtoReflect.Descriptor instead. -func (*AioControllerDeleteRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteAioControllerRequest.ProtoReflect.Descriptor instead. +func (*DeleteAioControllerRequest) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{2} } -func (x *AioControllerDeleteRequest) GetHandle() *_go.ObjectKey { +func (x *DeleteAioControllerRequest) GetHandle() *_go.ObjectKey { if x != nil { return x.Handle } return nil } -type AioControllerUpdateRequest struct { +type UpdateAioControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -212,8 +213,8 @@ type AioControllerUpdateRequest struct { Device *AioController `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` } -func (x *AioControllerUpdateRequest) Reset() { - *x = AioControllerUpdateRequest{} +func (x *UpdateAioControllerRequest) Reset() { + *x = UpdateAioControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -221,13 +222,13 @@ func (x *AioControllerUpdateRequest) Reset() { } } -func (x *AioControllerUpdateRequest) String() string { +func (x *UpdateAioControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerUpdateRequest) ProtoMessage() {} +func (*UpdateAioControllerRequest) ProtoMessage() {} -func (x *AioControllerUpdateRequest) ProtoReflect() protoreflect.Message { +func (x *UpdateAioControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -239,28 +240,29 @@ func (x *AioControllerUpdateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerUpdateRequest.ProtoReflect.Descriptor instead. -func (*AioControllerUpdateRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use UpdateAioControllerRequest.ProtoReflect.Descriptor instead. +func (*UpdateAioControllerRequest) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{3} } -func (x *AioControllerUpdateRequest) GetDevice() *AioController { +func (x *UpdateAioControllerRequest) GetDevice() *AioController { if x != nil { return x.Device } return nil } -type AioControllerList struct { +type ListAioControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Device []*AioController `protobuf:"bytes,1,rep,name=device,proto3" json:"device,omitempty"` + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (x *AioControllerList) Reset() { - *x = AioControllerList{} +func (x *ListAioControllerRequest) Reset() { + *x = ListAioControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -268,13 +270,13 @@ func (x *AioControllerList) Reset() { } } -func (x *AioControllerList) String() string { +func (x *ListAioControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerList) ProtoMessage() {} +func (*ListAioControllerRequest) ProtoMessage() {} -func (x *AioControllerList) ProtoReflect() protoreflect.Message { +func (x *ListAioControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -286,28 +288,36 @@ func (x *AioControllerList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerList.ProtoReflect.Descriptor instead. -func (*AioControllerList) Descriptor() ([]byte, []int) { +// Deprecated: Use ListAioControllerRequest.ProtoReflect.Descriptor instead. +func (*ListAioControllerRequest) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{4} } -func (x *AioControllerList) GetDevice() []*AioController { +func (x *ListAioControllerRequest) GetPageSize() int32 { if x != nil { - return x.Device + return x.PageSize } - return nil + return 0 } -type AioControllerGetRequest struct { +func (x *ListAioControllerRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +type ListAioControllerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` + Devices []*AioController `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (x *AioControllerGetRequest) Reset() { - *x = AioControllerGetRequest{} +func (x *ListAioControllerResponse) Reset() { + *x = ListAioControllerResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_aio_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -315,13 +325,13 @@ func (x *AioControllerGetRequest) Reset() { } } -func (x *AioControllerGetRequest) String() string { +func (x *ListAioControllerResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerGetRequest) ProtoMessage() {} +func (*ListAioControllerResponse) ProtoMessage() {} -func (x *AioControllerGetRequest) ProtoReflect() protoreflect.Message { +func (x *ListAioControllerResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_aio_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -333,57 +343,26 @@ func (x *AioControllerGetRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerGetRequest.ProtoReflect.Descriptor instead. -func (*AioControllerGetRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ListAioControllerResponse.ProtoReflect.Descriptor instead. +func (*ListAioControllerResponse) Descriptor() ([]byte, []int) { return file_backend_aio_proto_rawDescGZIP(), []int{5} } -func (x *AioControllerGetRequest) GetHandle() *_go.ObjectKey { +func (x *ListAioControllerResponse) GetDevices() []*AioController { if x != nil { - return x.Handle + return x.Devices } return nil } -type AioControllerGetListRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *AioControllerGetListRequest) Reset() { - *x = AioControllerGetListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_backend_aio_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AioControllerGetListRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AioControllerGetListRequest) ProtoMessage() {} - -func (x *AioControllerGetListRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_aio_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ListAioControllerResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } - return mi.MessageOf(x) -} - -// Deprecated: Use AioControllerGetListRequest.ProtoReflect.Descriptor instead. -func (*AioControllerGetListRequest) Descriptor() ([]byte, []int) { - return file_backend_aio_proto_rawDescGZIP(), []int{6} + return "" } -type AioControllerGetStatsRequest struct { +type GetAioControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -391,23 +370,23 @@ type AioControllerGetStatsRequest struct { Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` } -func (x *AioControllerGetStatsRequest) Reset() { - *x = AioControllerGetStatsRequest{} +func (x *GetAioControllerRequest) Reset() { + *x = GetAioControllerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_backend_aio_proto_msgTypes[7] + mi := &file_backend_aio_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *AioControllerGetStatsRequest) String() string { +func (x *GetAioControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerGetStatsRequest) ProtoMessage() {} +func (*GetAioControllerRequest) ProtoMessage() {} -func (x *AioControllerGetStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_aio_proto_msgTypes[7] +func (x *GetAioControllerRequest) ProtoReflect() protoreflect.Message { + mi := &file_backend_aio_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -418,12 +397,12 @@ func (x *AioControllerGetStatsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerGetStatsRequest.ProtoReflect.Descriptor instead. -func (*AioControllerGetStatsRequest) Descriptor() ([]byte, []int) { - return file_backend_aio_proto_rawDescGZIP(), []int{7} +// Deprecated: Use GetAioControllerRequest.ProtoReflect.Descriptor instead. +func (*GetAioControllerRequest) Descriptor() ([]byte, []int) { + return file_backend_aio_proto_rawDescGZIP(), []int{6} } -func (x *AioControllerGetStatsRequest) GetHandle() *_go.ObjectKey { +func (x *GetAioControllerRequest) GetHandle() *_go.ObjectKey { if x != nil { return x.Handle } @@ -441,7 +420,7 @@ type AioControllerStatsRequest struct { func (x *AioControllerStatsRequest) Reset() { *x = AioControllerStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_backend_aio_proto_msgTypes[8] + mi := &file_backend_aio_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -454,7 +433,7 @@ func (x *AioControllerStatsRequest) String() string { func (*AioControllerStatsRequest) ProtoMessage() {} func (x *AioControllerStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_aio_proto_msgTypes[8] + mi := &file_backend_aio_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,7 +446,7 @@ func (x *AioControllerStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AioControllerStatsRequest.ProtoReflect.Descriptor instead. func (*AioControllerStatsRequest) Descriptor() ([]byte, []int) { - return file_backend_aio_proto_rawDescGZIP(), []int{8} + return file_backend_aio_proto_rawDescGZIP(), []int{7} } func (x *AioControllerStatsRequest) GetHandle() *_go.ObjectKey { @@ -477,7 +456,7 @@ func (x *AioControllerStatsRequest) GetHandle() *_go.ObjectKey { return nil } -type AioControllerStats struct { +type AioControllerStatsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -486,23 +465,23 @@ type AioControllerStats struct { Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x *AioControllerStats) Reset() { - *x = AioControllerStats{} +func (x *AioControllerStatsResponse) Reset() { + *x = AioControllerStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_backend_aio_proto_msgTypes[9] + mi := &file_backend_aio_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *AioControllerStats) String() string { +func (x *AioControllerStatsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AioControllerStats) ProtoMessage() {} +func (*AioControllerStatsResponse) ProtoMessage() {} -func (x *AioControllerStats) ProtoReflect() protoreflect.Message { - mi := &file_backend_aio_proto_msgTypes[9] +func (x *AioControllerStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_backend_aio_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -513,19 +492,19 @@ func (x *AioControllerStats) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AioControllerStats.ProtoReflect.Descriptor instead. -func (*AioControllerStats) Descriptor() ([]byte, []int) { - return file_backend_aio_proto_rawDescGZIP(), []int{9} +// Deprecated: Use AioControllerStatsResponse.ProtoReflect.Descriptor instead. +func (*AioControllerStatsResponse) Descriptor() ([]byte, []int) { + return file_backend_aio_proto_rawDescGZIP(), []int{8} } -func (x *AioControllerStats) GetHandle() *_go.ObjectKey { +func (x *AioControllerStatsResponse) GetHandle() *_go.ObjectKey { if x != nil { return x.Handle } return nil } -func (x *AioControllerStats) GetStats() string { +func (x *AioControllerStatsResponse) GetStats() string { if x != nil { return x.Stats } @@ -539,115 +518,129 @@ var file_backend_aio_proto_rawDesc = []byte{ 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 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, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x0d, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, - 0x65, 0x79, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, - 0x75, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x75, 0x69, 0x64, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 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, - 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, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xd0, 0x01, 0x0a, 0x0d, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, + 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, + 0x64, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x57, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 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, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, - 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, + 0x22, 0x57, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x56, 0x0a, 0x18, 0x4c, 0x69, 0x73, + 0x74, 0x41, 0x69, 0x6f, 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, 0x80, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69, 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, 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, + 0x6c, 0x65, 0x72, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 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, 0x4f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 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, 0x68, 0x0a, 0x1a, 0x41, 0x69, 0x6f, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x73, 0x32, 0xc1, 0x06, 0x0a, 0x14, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x13, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x69, 0x6f, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 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, 0x41, 0x69, 0x6f, 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, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x41, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, - 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, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, + 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 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, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x69, 0x6f, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x5e, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x42, 0x61, + 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x41, 0x69, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -662,50 +655,48 @@ func file_backend_aio_proto_rawDescGZIP() []byte { return file_backend_aio_proto_rawDescData } -var file_backend_aio_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_backend_aio_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_backend_aio_proto_goTypes = []interface{}{ - (*AioController)(nil), // 0: opi_api.storage.v1.AioController - (*AioControllerCreateRequest)(nil), // 1: opi_api.storage.v1.AioControllerCreateRequest - (*AioControllerDeleteRequest)(nil), // 2: opi_api.storage.v1.AioControllerDeleteRequest - (*AioControllerUpdateRequest)(nil), // 3: opi_api.storage.v1.AioControllerUpdateRequest - (*AioControllerList)(nil), // 4: opi_api.storage.v1.AioControllerList - (*AioControllerGetRequest)(nil), // 5: opi_api.storage.v1.AioControllerGetRequest - (*AioControllerGetListRequest)(nil), // 6: opi_api.storage.v1.AioControllerGetListRequest - (*AioControllerGetStatsRequest)(nil), // 7: opi_api.storage.v1.AioControllerGetStatsRequest - (*AioControllerStatsRequest)(nil), // 8: opi_api.storage.v1.AioControllerStatsRequest - (*AioControllerStats)(nil), // 9: opi_api.storage.v1.AioControllerStats - (*_go.ObjectKey)(nil), // 10: opi_api.common.v1.ObjectKey - (*_go.Uuid)(nil), // 11: opi_api.common.v1.Uuid - (*emptypb.Empty)(nil), // 12: google.protobuf.Empty + (*AioController)(nil), // 0: opi_api.storage.v1.AioController + (*CreateAioControllerRequest)(nil), // 1: opi_api.storage.v1.CreateAioControllerRequest + (*DeleteAioControllerRequest)(nil), // 2: opi_api.storage.v1.DeleteAioControllerRequest + (*UpdateAioControllerRequest)(nil), // 3: opi_api.storage.v1.UpdateAioControllerRequest + (*ListAioControllerRequest)(nil), // 4: opi_api.storage.v1.ListAioControllerRequest + (*ListAioControllerResponse)(nil), // 5: opi_api.storage.v1.ListAioControllerResponse + (*GetAioControllerRequest)(nil), // 6: opi_api.storage.v1.GetAioControllerRequest + (*AioControllerStatsRequest)(nil), // 7: opi_api.storage.v1.AioControllerStatsRequest + (*AioControllerStatsResponse)(nil), // 8: opi_api.storage.v1.AioControllerStatsResponse + (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey + (*_go.Uuid)(nil), // 10: opi_api.common.v1.Uuid + (*emptypb.Empty)(nil), // 11: google.protobuf.Empty } 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 + 9, // 0: opi_api.storage.v1.AioController.handle:type_name -> opi_api.common.v1.ObjectKey + 10, // 1: opi_api.storage.v1.AioController.uuid:type_name -> opi_api.common.v1.Uuid + 0, // 2: opi_api.storage.v1.CreateAioControllerRequest.device:type_name -> opi_api.storage.v1.AioController + 9, // 3: opi_api.storage.v1.DeleteAioControllerRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 0, // 4: opi_api.storage.v1.UpdateAioControllerRequest.device:type_name -> opi_api.storage.v1.AioController + 0, // 5: opi_api.storage.v1.ListAioControllerResponse.devices:type_name -> opi_api.storage.v1.AioController + 9, // 6: opi_api.storage.v1.GetAioControllerRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 9, // 7: opi_api.storage.v1.AioControllerStatsRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 9, // 8: opi_api.storage.v1.AioControllerStatsResponse.handle:type_name -> opi_api.common.v1.ObjectKey + 1, // 9: opi_api.storage.v1.AioControllerService.CreateAioController:input_type -> opi_api.storage.v1.CreateAioControllerRequest + 2, // 10: opi_api.storage.v1.AioControllerService.DeleteAioController:input_type -> opi_api.storage.v1.DeleteAioControllerRequest + 3, // 11: opi_api.storage.v1.AioControllerService.UpdateAioController:input_type -> opi_api.storage.v1.UpdateAioControllerRequest + 4, // 12: opi_api.storage.v1.AioControllerService.ListAioController:input_type -> opi_api.storage.v1.ListAioControllerRequest + 6, // 13: opi_api.storage.v1.AioControllerService.GetAioController:input_type -> opi_api.storage.v1.GetAioControllerRequest + 7, // 14: opi_api.storage.v1.AioControllerService.AioControllerStats:input_type -> opi_api.storage.v1.AioControllerStatsRequest + 0, // 15: opi_api.storage.v1.AioControllerService.CreateAioController:output_type -> opi_api.storage.v1.AioController + 11, // 16: opi_api.storage.v1.AioControllerService.DeleteAioController:output_type -> google.protobuf.Empty + 0, // 17: opi_api.storage.v1.AioControllerService.UpdateAioController:output_type -> opi_api.storage.v1.AioController + 5, // 18: opi_api.storage.v1.AioControllerService.ListAioController:output_type -> opi_api.storage.v1.ListAioControllerResponse + 0, // 19: opi_api.storage.v1.AioControllerService.GetAioController:output_type -> opi_api.storage.v1.AioController + 8, // 20: opi_api.storage.v1.AioControllerService.AioControllerStats:output_type -> opi_api.storage.v1.AioControllerStatsResponse + 15, // [15:21] is the sub-list for method output_type + 9, // [9:15] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_backend_aio_proto_init() } @@ -727,7 +718,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerCreateRequest); i { + switch v := v.(*CreateAioControllerRequest); i { case 0: return &v.state case 1: @@ -739,7 +730,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerDeleteRequest); i { + switch v := v.(*DeleteAioControllerRequest); i { case 0: return &v.state case 1: @@ -751,7 +742,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerUpdateRequest); i { + switch v := v.(*UpdateAioControllerRequest); i { case 0: return &v.state case 1: @@ -763,7 +754,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerList); i { + switch v := v.(*ListAioControllerRequest); i { case 0: return &v.state case 1: @@ -775,7 +766,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerGetRequest); i { + switch v := v.(*ListAioControllerResponse); i { case 0: return &v.state case 1: @@ -787,7 +778,7 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerGetListRequest); i { + switch v := v.(*GetAioControllerRequest); i { case 0: return &v.state case 1: @@ -799,18 +790,6 @@ func file_backend_aio_proto_init() { } } file_backend_aio_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerGetStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_backend_aio_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AioControllerStatsRequest); i { case 0: return &v.state @@ -822,8 +801,8 @@ func file_backend_aio_proto_init() { return nil } } - file_backend_aio_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AioControllerStats); i { + file_backend_aio_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AioControllerStatsResponse); i { case 0: return &v.state case 1: @@ -841,7 +820,7 @@ func file_backend_aio_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_backend_aio_proto_rawDesc, NumEnums: 0, - NumMessages: 10, + NumMessages: 9, NumExtensions: 0, NumServices: 1, }, @@ -867,12 +846,12 @@ const _ = grpc.SupportPackageIsVersion6 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type AioControllerServiceClient interface { - AioControllerCreate(ctx context.Context, in *AioControllerCreateRequest, opts ...grpc.CallOption) (*AioController, error) - AioControllerDelete(ctx context.Context, in *AioControllerDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - AioControllerGet(ctx context.Context, in *AioControllerGetRequest, opts ...grpc.CallOption) (*AioController, error) - AioControllerGetList(ctx context.Context, in *AioControllerGetListRequest, opts ...grpc.CallOption) (*AioControllerList, error) - AioControllerGetStats(ctx context.Context, in *AioControllerGetStatsRequest, opts ...grpc.CallOption) (*AioControllerStats, error) - AioControllerUpdate(ctx context.Context, in *AioControllerUpdateRequest, opts ...grpc.CallOption) (*AioController, error) + CreateAioController(ctx context.Context, in *CreateAioControllerRequest, opts ...grpc.CallOption) (*AioController, error) + DeleteAioController(ctx context.Context, in *DeleteAioControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateAioController(ctx context.Context, in *UpdateAioControllerRequest, opts ...grpc.CallOption) (*AioController, error) + ListAioController(ctx context.Context, in *ListAioControllerRequest, opts ...grpc.CallOption) (*ListAioControllerResponse, error) + GetAioController(ctx context.Context, in *GetAioControllerRequest, opts ...grpc.CallOption) (*AioController, error) + AioControllerStats(ctx context.Context, in *AioControllerStatsRequest, opts ...grpc.CallOption) (*AioControllerStatsResponse, error) } type aioControllerServiceClient struct { @@ -883,54 +862,54 @@ func NewAioControllerServiceClient(cc grpc.ClientConnInterface) AioControllerSer return &aioControllerServiceClient{cc} } -func (c *aioControllerServiceClient) AioControllerCreate(ctx context.Context, in *AioControllerCreateRequest, opts ...grpc.CallOption) (*AioController, error) { +func (c *aioControllerServiceClient) CreateAioController(ctx context.Context, in *CreateAioControllerRequest, opts ...grpc.CallOption) (*AioController, error) { out := new(AioController) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerCreate", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/CreateAioController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *aioControllerServiceClient) AioControllerDelete(ctx context.Context, in *AioControllerDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *aioControllerServiceClient) DeleteAioController(ctx context.Context, in *DeleteAioControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerDelete", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/DeleteAioController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *aioControllerServiceClient) AioControllerGet(ctx context.Context, in *AioControllerGetRequest, opts ...grpc.CallOption) (*AioController, error) { +func (c *aioControllerServiceClient) UpdateAioController(ctx context.Context, in *UpdateAioControllerRequest, opts ...grpc.CallOption) (*AioController, error) { out := new(AioController) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerGet", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/UpdateAioController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *aioControllerServiceClient) AioControllerGetList(ctx context.Context, in *AioControllerGetListRequest, opts ...grpc.CallOption) (*AioControllerList, error) { - out := new(AioControllerList) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerGetList", in, out, opts...) +func (c *aioControllerServiceClient) ListAioController(ctx context.Context, in *ListAioControllerRequest, opts ...grpc.CallOption) (*ListAioControllerResponse, error) { + out := new(ListAioControllerResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/ListAioController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *aioControllerServiceClient) AioControllerGetStats(ctx context.Context, in *AioControllerGetStatsRequest, opts ...grpc.CallOption) (*AioControllerStats, error) { - out := new(AioControllerStats) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerGetStats", in, out, opts...) +func (c *aioControllerServiceClient) GetAioController(ctx context.Context, in *GetAioControllerRequest, opts ...grpc.CallOption) (*AioController, error) { + out := new(AioController) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/GetAioController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *aioControllerServiceClient) AioControllerUpdate(ctx context.Context, in *AioControllerUpdateRequest, opts ...grpc.CallOption) (*AioController, error) { - out := new(AioController) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerUpdate", in, out, opts...) +func (c *aioControllerServiceClient) AioControllerStats(ctx context.Context, in *AioControllerStatsRequest, opts ...grpc.CallOption) (*AioControllerStatsResponse, error) { + out := new(AioControllerStatsResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.AioControllerService/AioControllerStats", in, out, opts...) if err != nil { return nil, err } @@ -939,145 +918,145 @@ func (c *aioControllerServiceClient) AioControllerUpdate(ctx context.Context, in // AioControllerServiceServer is the server API for AioControllerService service. type AioControllerServiceServer interface { - AioControllerCreate(context.Context, *AioControllerCreateRequest) (*AioController, error) - AioControllerDelete(context.Context, *AioControllerDeleteRequest) (*emptypb.Empty, error) - AioControllerGet(context.Context, *AioControllerGetRequest) (*AioController, error) - AioControllerGetList(context.Context, *AioControllerGetListRequest) (*AioControllerList, error) - AioControllerGetStats(context.Context, *AioControllerGetStatsRequest) (*AioControllerStats, error) - AioControllerUpdate(context.Context, *AioControllerUpdateRequest) (*AioController, error) + CreateAioController(context.Context, *CreateAioControllerRequest) (*AioController, error) + DeleteAioController(context.Context, *DeleteAioControllerRequest) (*emptypb.Empty, error) + UpdateAioController(context.Context, *UpdateAioControllerRequest) (*AioController, error) + ListAioController(context.Context, *ListAioControllerRequest) (*ListAioControllerResponse, error) + GetAioController(context.Context, *GetAioControllerRequest) (*AioController, error) + AioControllerStats(context.Context, *AioControllerStatsRequest) (*AioControllerStatsResponse, error) } // UnimplementedAioControllerServiceServer can be embedded to have forward compatible implementations. type UnimplementedAioControllerServiceServer struct { } -func (*UnimplementedAioControllerServiceServer) AioControllerCreate(context.Context, *AioControllerCreateRequest) (*AioController, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioControllerCreate not implemented") +func (*UnimplementedAioControllerServiceServer) CreateAioController(context.Context, *CreateAioControllerRequest) (*AioController, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAioController not implemented") } -func (*UnimplementedAioControllerServiceServer) AioControllerDelete(context.Context, *AioControllerDeleteRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioControllerDelete not implemented") +func (*UnimplementedAioControllerServiceServer) DeleteAioController(context.Context, *DeleteAioControllerRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteAioController not implemented") } -func (*UnimplementedAioControllerServiceServer) AioControllerGet(context.Context, *AioControllerGetRequest) (*AioController, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioControllerGet not implemented") +func (*UnimplementedAioControllerServiceServer) UpdateAioController(context.Context, *UpdateAioControllerRequest) (*AioController, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAioController not implemented") } -func (*UnimplementedAioControllerServiceServer) AioControllerGetList(context.Context, *AioControllerGetListRequest) (*AioControllerList, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioControllerGetList not implemented") +func (*UnimplementedAioControllerServiceServer) ListAioController(context.Context, *ListAioControllerRequest) (*ListAioControllerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAioController not implemented") } -func (*UnimplementedAioControllerServiceServer) AioControllerGetStats(context.Context, *AioControllerGetStatsRequest) (*AioControllerStats, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioControllerGetStats not implemented") +func (*UnimplementedAioControllerServiceServer) GetAioController(context.Context, *GetAioControllerRequest) (*AioController, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAioController not implemented") } -func (*UnimplementedAioControllerServiceServer) AioControllerUpdate(context.Context, *AioControllerUpdateRequest) (*AioController, error) { - return nil, status.Errorf(codes.Unimplemented, "method AioControllerUpdate not implemented") +func (*UnimplementedAioControllerServiceServer) AioControllerStats(context.Context, *AioControllerStatsRequest) (*AioControllerStatsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AioControllerStats not implemented") } func RegisterAioControllerServiceServer(s *grpc.Server, srv AioControllerServiceServer) { s.RegisterService(&_AioControllerService_serviceDesc, srv) } -func _AioControllerService_AioControllerCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioControllerCreateRequest) +func _AioControllerService_CreateAioController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateAioControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioControllerServiceServer).AioControllerCreate(ctx, in) + return srv.(AioControllerServiceServer).CreateAioController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerCreate", + FullMethod: "/opi_api.storage.v1.AioControllerService/CreateAioController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioControllerServiceServer).AioControllerCreate(ctx, req.(*AioControllerCreateRequest)) + return srv.(AioControllerServiceServer).CreateAioController(ctx, req.(*CreateAioControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _AioControllerService_AioControllerDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioControllerDeleteRequest) +func _AioControllerService_DeleteAioController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteAioControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioControllerServiceServer).AioControllerDelete(ctx, in) + return srv.(AioControllerServiceServer).DeleteAioController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerDelete", + FullMethod: "/opi_api.storage.v1.AioControllerService/DeleteAioController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioControllerServiceServer).AioControllerDelete(ctx, req.(*AioControllerDeleteRequest)) + return srv.(AioControllerServiceServer).DeleteAioController(ctx, req.(*DeleteAioControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _AioControllerService_AioControllerGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioControllerGetRequest) +func _AioControllerService_UpdateAioController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateAioControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioControllerServiceServer).AioControllerGet(ctx, in) + return srv.(AioControllerServiceServer).UpdateAioController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerGet", + FullMethod: "/opi_api.storage.v1.AioControllerService/UpdateAioController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioControllerServiceServer).AioControllerGet(ctx, req.(*AioControllerGetRequest)) + return srv.(AioControllerServiceServer).UpdateAioController(ctx, req.(*UpdateAioControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _AioControllerService_AioControllerGetList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioControllerGetListRequest) +func _AioControllerService_ListAioController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAioControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioControllerServiceServer).AioControllerGetList(ctx, in) + return srv.(AioControllerServiceServer).ListAioController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerGetList", + FullMethod: "/opi_api.storage.v1.AioControllerService/ListAioController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioControllerServiceServer).AioControllerGetList(ctx, req.(*AioControllerGetListRequest)) + return srv.(AioControllerServiceServer).ListAioController(ctx, req.(*ListAioControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _AioControllerService_AioControllerGetStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioControllerGetStatsRequest) +func _AioControllerService_GetAioController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAioControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioControllerServiceServer).AioControllerGetStats(ctx, in) + return srv.(AioControllerServiceServer).GetAioController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerGetStats", + FullMethod: "/opi_api.storage.v1.AioControllerService/GetAioController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioControllerServiceServer).AioControllerGetStats(ctx, req.(*AioControllerGetStatsRequest)) + return srv.(AioControllerServiceServer).GetAioController(ctx, req.(*GetAioControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _AioControllerService_AioControllerUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AioControllerUpdateRequest) +func _AioControllerService_AioControllerStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AioControllerStatsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AioControllerServiceServer).AioControllerUpdate(ctx, in) + return srv.(AioControllerServiceServer).AioControllerStats(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerUpdate", + FullMethod: "/opi_api.storage.v1.AioControllerService/AioControllerStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AioControllerServiceServer).AioControllerUpdate(ctx, req.(*AioControllerUpdateRequest)) + return srv.(AioControllerServiceServer).AioControllerStats(ctx, req.(*AioControllerStatsRequest)) } return interceptor(ctx, in, info, handler) } @@ -1087,28 +1066,28 @@ var _AioControllerService_serviceDesc = grpc.ServiceDesc{ HandlerType: (*AioControllerServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "AioControllerCreate", - Handler: _AioControllerService_AioControllerCreate_Handler, + MethodName: "CreateAioController", + Handler: _AioControllerService_CreateAioController_Handler, }, { - MethodName: "AioControllerDelete", - Handler: _AioControllerService_AioControllerDelete_Handler, + MethodName: "DeleteAioController", + Handler: _AioControllerService_DeleteAioController_Handler, }, { - MethodName: "AioControllerGet", - Handler: _AioControllerService_AioControllerGet_Handler, + MethodName: "UpdateAioController", + Handler: _AioControllerService_UpdateAioController_Handler, }, { - MethodName: "AioControllerGetList", - Handler: _AioControllerService_AioControllerGetList_Handler, + MethodName: "ListAioController", + Handler: _AioControllerService_ListAioController_Handler, }, { - MethodName: "AioControllerGetStats", - Handler: _AioControllerService_AioControllerGetStats_Handler, + MethodName: "GetAioController", + Handler: _AioControllerService_GetAioController_Handler, }, { - MethodName: "AioControllerUpdate", - Handler: _AioControllerService_AioControllerUpdate_Handler, + MethodName: "AioControllerStats", + Handler: _AioControllerService_AioControllerStats_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/storage/v1alpha1/gen/go/backend_null.pb.go b/storage/v1alpha1/gen/go/backend_null.pb.go index 48064a39..e5e323b4 100644 --- a/storage/v1alpha1/gen/go/backend_null.pb.go +++ b/storage/v1alpha1/gen/go/backend_null.pb.go @@ -12,6 +12,7 @@ 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" @@ -100,7 +101,7 @@ func (x *NullDebug) GetUuid() *_go.Uuid { return nil } -type NullDebugCreateRequest struct { +type CreateNullDebugRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -108,8 +109,8 @@ type NullDebugCreateRequest struct { Device *NullDebug `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` } -func (x *NullDebugCreateRequest) Reset() { - *x = NullDebugCreateRequest{} +func (x *CreateNullDebugRequest) Reset() { + *x = CreateNullDebugRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -117,13 +118,13 @@ func (x *NullDebugCreateRequest) Reset() { } } -func (x *NullDebugCreateRequest) String() string { +func (x *CreateNullDebugRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullDebugCreateRequest) ProtoMessage() {} +func (*CreateNullDebugRequest) ProtoMessage() {} -func (x *NullDebugCreateRequest) ProtoReflect() protoreflect.Message { +func (x *CreateNullDebugRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -135,19 +136,19 @@ func (x *NullDebugCreateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullDebugCreateRequest.ProtoReflect.Descriptor instead. -func (*NullDebugCreateRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateNullDebugRequest.ProtoReflect.Descriptor instead. +func (*CreateNullDebugRequest) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{1} } -func (x *NullDebugCreateRequest) GetDevice() *NullDebug { +func (x *CreateNullDebugRequest) GetDevice() *NullDebug { if x != nil { return x.Device } return nil } -type NullDebugDeleteRequest struct { +type DeleteNullDebugRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -155,8 +156,8 @@ type NullDebugDeleteRequest struct { Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` } -func (x *NullDebugDeleteRequest) Reset() { - *x = NullDebugDeleteRequest{} +func (x *DeleteNullDebugRequest) Reset() { + *x = DeleteNullDebugRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -164,13 +165,13 @@ func (x *NullDebugDeleteRequest) Reset() { } } -func (x *NullDebugDeleteRequest) String() string { +func (x *DeleteNullDebugRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullDebugDeleteRequest) ProtoMessage() {} +func (*DeleteNullDebugRequest) ProtoMessage() {} -func (x *NullDebugDeleteRequest) ProtoReflect() protoreflect.Message { +func (x *DeleteNullDebugRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -182,19 +183,19 @@ func (x *NullDebugDeleteRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullDebugDeleteRequest.ProtoReflect.Descriptor instead. -func (*NullDebugDeleteRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteNullDebugRequest.ProtoReflect.Descriptor instead. +func (*DeleteNullDebugRequest) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{2} } -func (x *NullDebugDeleteRequest) GetHandle() *_go.ObjectKey { +func (x *DeleteNullDebugRequest) GetHandle() *_go.ObjectKey { if x != nil { return x.Handle } return nil } -type NullDebugUpdateRequest struct { +type UpdateNullDebugRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -202,8 +203,8 @@ type NullDebugUpdateRequest struct { Device *NullDebug `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` } -func (x *NullDebugUpdateRequest) Reset() { - *x = NullDebugUpdateRequest{} +func (x *UpdateNullDebugRequest) Reset() { + *x = UpdateNullDebugRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -211,13 +212,13 @@ func (x *NullDebugUpdateRequest) Reset() { } } -func (x *NullDebugUpdateRequest) String() string { +func (x *UpdateNullDebugRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullDebugUpdateRequest) ProtoMessage() {} +func (*UpdateNullDebugRequest) ProtoMessage() {} -func (x *NullDebugUpdateRequest) ProtoReflect() protoreflect.Message { +func (x *UpdateNullDebugRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -229,26 +230,29 @@ func (x *NullDebugUpdateRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullDebugUpdateRequest.ProtoReflect.Descriptor instead. -func (*NullDebugUpdateRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use UpdateNullDebugRequest.ProtoReflect.Descriptor instead. +func (*UpdateNullDebugRequest) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{3} } -func (x *NullDebugUpdateRequest) GetDevice() *NullDebug { +func (x *UpdateNullDebugRequest) GetDevice() *NullDebug { if x != nil { return x.Device } return nil } -type NullDebugListRequest struct { +type ListNullDebugRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (x *NullDebugListRequest) Reset() { - *x = NullDebugListRequest{} +func (x *ListNullDebugRequest) Reset() { + *x = ListNullDebugRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -256,13 +260,13 @@ func (x *NullDebugListRequest) Reset() { } } -func (x *NullDebugListRequest) String() string { +func (x *ListNullDebugRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullDebugListRequest) ProtoMessage() {} +func (*ListNullDebugRequest) ProtoMessage() {} -func (x *NullDebugListRequest) ProtoReflect() protoreflect.Message { +func (x *ListNullDebugRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -274,21 +278,36 @@ func (x *NullDebugListRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullDebugListRequest.ProtoReflect.Descriptor instead. -func (*NullDebugListRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use ListNullDebugRequest.ProtoReflect.Descriptor instead. +func (*ListNullDebugRequest) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{4} } -type NullDebugListResponse struct { +func (x *ListNullDebugRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListNullDebugRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +type ListNullDebugResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Device []*NullDebug `protobuf:"bytes,1,rep,name=device,proto3" json:"device,omitempty"` + Devices []*NullDebug `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (x *NullDebugListResponse) Reset() { - *x = NullDebugListResponse{} +func (x *ListNullDebugResponse) Reset() { + *x = ListNullDebugResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -296,13 +315,13 @@ func (x *NullDebugListResponse) Reset() { } } -func (x *NullDebugListResponse) String() string { +func (x *ListNullDebugResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullDebugListResponse) ProtoMessage() {} +func (*ListNullDebugResponse) ProtoMessage() {} -func (x *NullDebugListResponse) ProtoReflect() protoreflect.Message { +func (x *ListNullDebugResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -314,19 +333,26 @@ func (x *NullDebugListResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullDebugListResponse.ProtoReflect.Descriptor instead. -func (*NullDebugListResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use ListNullDebugResponse.ProtoReflect.Descriptor instead. +func (*ListNullDebugResponse) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{5} } -func (x *NullDebugListResponse) GetDevice() []*NullDebug { +func (x *ListNullDebugResponse) GetDevices() []*NullDebug { if x != nil { - return x.Device + return x.Devices } return nil } -type NullDebugGetRequest struct { +func (x *ListNullDebugResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken + } + return "" +} + +type GetNullDebugRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -334,8 +360,8 @@ type NullDebugGetRequest struct { Handle *_go.ObjectKey `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"` } -func (x *NullDebugGetRequest) Reset() { - *x = NullDebugGetRequest{} +func (x *GetNullDebugRequest) Reset() { + *x = GetNullDebugRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_null_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -343,13 +369,13 @@ func (x *NullDebugGetRequest) Reset() { } } -func (x *NullDebugGetRequest) String() string { +func (x *GetNullDebugRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NullDebugGetRequest) ProtoMessage() {} +func (*GetNullDebugRequest) ProtoMessage() {} -func (x *NullDebugGetRequest) ProtoReflect() protoreflect.Message { +func (x *GetNullDebugRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_null_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -361,12 +387,12 @@ func (x *NullDebugGetRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NullDebugGetRequest.ProtoReflect.Descriptor instead. -func (*NullDebugGetRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetNullDebugRequest.ProtoReflect.Descriptor instead. +func (*GetNullDebugRequest) Descriptor() ([]byte, []int) { return file_backend_null_proto_rawDescGZIP(), []int{6} } -func (x *NullDebugGetRequest) GetHandle() *_go.ObjectKey { +func (x *GetNullDebugRequest) GetHandle() *_go.ObjectKey { if x != nil { return x.Handle } @@ -482,89 +508,107 @@ var file_backend_null_proto_rawDesc = []byte{ 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, 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, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, - 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x09, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, - 0x67, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, - 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, - 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 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, - 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, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x09, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, + 0x34, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x68, + 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x04, + 0x75, 0x75, 0x69, 0x64, 0x22, 0x4f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x52, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, + 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x78, 0x0a, 0x15, 0x4c, 0x69, + 0x73, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, + 0x62, 0x75, 0x67, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 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, 0x4b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 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, 0xf4, 0x05, 0x0a, 0x10, 0x4e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a, 0x0f, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x2a, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, + 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x79, 0x0a, 0x0f, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, + 0x2a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x22, 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, 0x7f, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x2a, 0x2e, 0x6f, 0x70, 0x69, + 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, - 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 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, + 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x7c, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, + 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 0x7a, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6c, + 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x27, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x22, 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, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x62, 0x75, 0x67, 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, 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, @@ -595,12 +639,12 @@ func file_backend_null_proto_rawDescGZIP() []byte { var file_backend_null_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_backend_null_proto_goTypes = []interface{}{ (*NullDebug)(nil), // 0: opi_api.storage.v1.NullDebug - (*NullDebugCreateRequest)(nil), // 1: opi_api.storage.v1.NullDebugCreateRequest - (*NullDebugDeleteRequest)(nil), // 2: opi_api.storage.v1.NullDebugDeleteRequest - (*NullDebugUpdateRequest)(nil), // 3: opi_api.storage.v1.NullDebugUpdateRequest - (*NullDebugListRequest)(nil), // 4: opi_api.storage.v1.NullDebugListRequest - (*NullDebugListResponse)(nil), // 5: opi_api.storage.v1.NullDebugListResponse - (*NullDebugGetRequest)(nil), // 6: opi_api.storage.v1.NullDebugGetRequest + (*CreateNullDebugRequest)(nil), // 1: opi_api.storage.v1.CreateNullDebugRequest + (*DeleteNullDebugRequest)(nil), // 2: opi_api.storage.v1.DeleteNullDebugRequest + (*UpdateNullDebugRequest)(nil), // 3: opi_api.storage.v1.UpdateNullDebugRequest + (*ListNullDebugRequest)(nil), // 4: opi_api.storage.v1.ListNullDebugRequest + (*ListNullDebugResponse)(nil), // 5: opi_api.storage.v1.ListNullDebugResponse + (*GetNullDebugRequest)(nil), // 6: opi_api.storage.v1.GetNullDebugRequest (*NullDebugStatsRequest)(nil), // 7: opi_api.storage.v1.NullDebugStatsRequest (*NullDebugStatsResponse)(nil), // 8: opi_api.storage.v1.NullDebugStatsResponse (*_go.ObjectKey)(nil), // 9: opi_api.common.v1.ObjectKey @@ -610,24 +654,24 @@ var file_backend_null_proto_goTypes = []interface{}{ 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 + 0, // 2: opi_api.storage.v1.CreateNullDebugRequest.device:type_name -> opi_api.storage.v1.NullDebug + 9, // 3: opi_api.storage.v1.DeleteNullDebugRequest.handle:type_name -> opi_api.common.v1.ObjectKey + 0, // 4: opi_api.storage.v1.UpdateNullDebugRequest.device:type_name -> opi_api.storage.v1.NullDebug + 0, // 5: opi_api.storage.v1.ListNullDebugResponse.devices:type_name -> opi_api.storage.v1.NullDebug + 9, // 6: opi_api.storage.v1.GetNullDebugRequest.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 + 1, // 9: opi_api.storage.v1.NullDebugService.CreateNullDebug:input_type -> opi_api.storage.v1.CreateNullDebugRequest + 2, // 10: opi_api.storage.v1.NullDebugService.DeleteNullDebug:input_type -> opi_api.storage.v1.DeleteNullDebugRequest + 3, // 11: opi_api.storage.v1.NullDebugService.UpdateNullDebug:input_type -> opi_api.storage.v1.UpdateNullDebugRequest + 4, // 12: opi_api.storage.v1.NullDebugService.ListNullDebug:input_type -> opi_api.storage.v1.ListNullDebugRequest + 6, // 13: opi_api.storage.v1.NullDebugService.GetNullDebug:input_type -> opi_api.storage.v1.GetNullDebugRequest 7, // 14: opi_api.storage.v1.NullDebugService.NullDebugStats:input_type -> opi_api.storage.v1.NullDebugStatsRequest - 0, // 15: opi_api.storage.v1.NullDebugService.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 + 0, // 15: opi_api.storage.v1.NullDebugService.CreateNullDebug:output_type -> opi_api.storage.v1.NullDebug + 11, // 16: opi_api.storage.v1.NullDebugService.DeleteNullDebug:output_type -> google.protobuf.Empty + 0, // 17: opi_api.storage.v1.NullDebugService.UpdateNullDebug:output_type -> opi_api.storage.v1.NullDebug + 5, // 18: opi_api.storage.v1.NullDebugService.ListNullDebug:output_type -> opi_api.storage.v1.ListNullDebugResponse + 0, // 19: opi_api.storage.v1.NullDebugService.GetNullDebug:output_type -> opi_api.storage.v1.NullDebug 8, // 20: opi_api.storage.v1.NullDebugService.NullDebugStats:output_type -> opi_api.storage.v1.NullDebugStatsResponse 15, // [15:21] is the sub-list for method output_type 9, // [9:15] is the sub-list for method input_type @@ -655,7 +699,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullDebugCreateRequest); i { + switch v := v.(*CreateNullDebugRequest); i { case 0: return &v.state case 1: @@ -667,7 +711,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullDebugDeleteRequest); i { + switch v := v.(*DeleteNullDebugRequest); i { case 0: return &v.state case 1: @@ -679,7 +723,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullDebugUpdateRequest); i { + switch v := v.(*UpdateNullDebugRequest); i { case 0: return &v.state case 1: @@ -691,7 +735,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullDebugListRequest); i { + switch v := v.(*ListNullDebugRequest); i { case 0: return &v.state case 1: @@ -703,7 +747,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullDebugListResponse); i { + switch v := v.(*ListNullDebugResponse); i { case 0: return &v.state case 1: @@ -715,7 +759,7 @@ func file_backend_null_proto_init() { } } file_backend_null_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullDebugGetRequest); i { + switch v := v.(*GetNullDebugRequest); i { case 0: return &v.state case 1: @@ -783,11 +827,11 @@ const _ = grpc.SupportPackageIsVersion6 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type NullDebugServiceClient interface { - NullDebugCreate(ctx context.Context, in *NullDebugCreateRequest, opts ...grpc.CallOption) (*NullDebug, error) - NullDebugDelete(ctx context.Context, in *NullDebugDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - NullDebugUpdate(ctx context.Context, in *NullDebugUpdateRequest, opts ...grpc.CallOption) (*NullDebug, error) - NullDebugList(ctx context.Context, in *NullDebugListRequest, opts ...grpc.CallOption) (*NullDebugListResponse, error) - NullDebugGet(ctx context.Context, in *NullDebugGetRequest, opts ...grpc.CallOption) (*NullDebug, error) + CreateNullDebug(ctx context.Context, in *CreateNullDebugRequest, opts ...grpc.CallOption) (*NullDebug, error) + DeleteNullDebug(ctx context.Context, in *DeleteNullDebugRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateNullDebug(ctx context.Context, in *UpdateNullDebugRequest, opts ...grpc.CallOption) (*NullDebug, error) + ListNullDebug(ctx context.Context, in *ListNullDebugRequest, opts ...grpc.CallOption) (*ListNullDebugResponse, error) + GetNullDebug(ctx context.Context, in *GetNullDebugRequest, opts ...grpc.CallOption) (*NullDebug, error) NullDebugStats(ctx context.Context, in *NullDebugStatsRequest, opts ...grpc.CallOption) (*NullDebugStatsResponse, error) } @@ -799,45 +843,45 @@ func NewNullDebugServiceClient(cc grpc.ClientConnInterface) NullDebugServiceClie return &nullDebugServiceClient{cc} } -func (c *nullDebugServiceClient) NullDebugCreate(ctx context.Context, in *NullDebugCreateRequest, opts ...grpc.CallOption) (*NullDebug, error) { +func (c *nullDebugServiceClient) CreateNullDebug(ctx context.Context, in *CreateNullDebugRequest, opts ...grpc.CallOption) (*NullDebug, error) { out := new(NullDebug) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/NullDebugCreate", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/CreateNullDebug", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nullDebugServiceClient) NullDebugDelete(ctx context.Context, in *NullDebugDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *nullDebugServiceClient) DeleteNullDebug(ctx context.Context, in *DeleteNullDebugRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/NullDebugDelete", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/DeleteNullDebug", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nullDebugServiceClient) NullDebugUpdate(ctx context.Context, in *NullDebugUpdateRequest, opts ...grpc.CallOption) (*NullDebug, error) { +func (c *nullDebugServiceClient) UpdateNullDebug(ctx context.Context, in *UpdateNullDebugRequest, opts ...grpc.CallOption) (*NullDebug, error) { out := new(NullDebug) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/NullDebugUpdate", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/UpdateNullDebug", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nullDebugServiceClient) NullDebugList(ctx context.Context, in *NullDebugListRequest, opts ...grpc.CallOption) (*NullDebugListResponse, error) { - out := new(NullDebugListResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/NullDebugList", in, out, opts...) +func (c *nullDebugServiceClient) ListNullDebug(ctx context.Context, in *ListNullDebugRequest, opts ...grpc.CallOption) (*ListNullDebugResponse, error) { + out := new(ListNullDebugResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/ListNullDebug", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nullDebugServiceClient) NullDebugGet(ctx context.Context, in *NullDebugGetRequest, opts ...grpc.CallOption) (*NullDebug, error) { +func (c *nullDebugServiceClient) GetNullDebug(ctx context.Context, in *GetNullDebugRequest, opts ...grpc.CallOption) (*NullDebug, error) { out := new(NullDebug) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/NullDebugGet", in, out, opts...) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NullDebugService/GetNullDebug", in, out, opts...) if err != nil { return nil, err } @@ -855,11 +899,11 @@ func (c *nullDebugServiceClient) NullDebugStats(ctx context.Context, in *NullDeb // NullDebugServiceServer is the server API for NullDebugService service. type NullDebugServiceServer interface { - NullDebugCreate(context.Context, *NullDebugCreateRequest) (*NullDebug, error) - NullDebugDelete(context.Context, *NullDebugDeleteRequest) (*emptypb.Empty, error) - NullDebugUpdate(context.Context, *NullDebugUpdateRequest) (*NullDebug, error) - NullDebugList(context.Context, *NullDebugListRequest) (*NullDebugListResponse, error) - NullDebugGet(context.Context, *NullDebugGetRequest) (*NullDebug, error) + CreateNullDebug(context.Context, *CreateNullDebugRequest) (*NullDebug, error) + DeleteNullDebug(context.Context, *DeleteNullDebugRequest) (*emptypb.Empty, error) + UpdateNullDebug(context.Context, *UpdateNullDebugRequest) (*NullDebug, error) + ListNullDebug(context.Context, *ListNullDebugRequest) (*ListNullDebugResponse, error) + GetNullDebug(context.Context, *GetNullDebugRequest) (*NullDebug, error) NullDebugStats(context.Context, *NullDebugStatsRequest) (*NullDebugStatsResponse, error) } @@ -867,20 +911,20 @@ type NullDebugServiceServer interface { type UnimplementedNullDebugServiceServer struct { } -func (*UnimplementedNullDebugServiceServer) NullDebugCreate(context.Context, *NullDebugCreateRequest) (*NullDebug, error) { - return nil, status.Errorf(codes.Unimplemented, "method NullDebugCreate not implemented") +func (*UnimplementedNullDebugServiceServer) CreateNullDebug(context.Context, *CreateNullDebugRequest) (*NullDebug, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNullDebug not implemented") } -func (*UnimplementedNullDebugServiceServer) NullDebugDelete(context.Context, *NullDebugDeleteRequest) (*emptypb.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method NullDebugDelete not implemented") +func (*UnimplementedNullDebugServiceServer) DeleteNullDebug(context.Context, *DeleteNullDebugRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNullDebug not implemented") } -func (*UnimplementedNullDebugServiceServer) NullDebugUpdate(context.Context, *NullDebugUpdateRequest) (*NullDebug, error) { - return nil, status.Errorf(codes.Unimplemented, "method NullDebugUpdate not implemented") +func (*UnimplementedNullDebugServiceServer) UpdateNullDebug(context.Context, *UpdateNullDebugRequest) (*NullDebug, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNullDebug not implemented") } -func (*UnimplementedNullDebugServiceServer) NullDebugList(context.Context, *NullDebugListRequest) (*NullDebugListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NullDebugList not implemented") +func (*UnimplementedNullDebugServiceServer) ListNullDebug(context.Context, *ListNullDebugRequest) (*ListNullDebugResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNullDebug not implemented") } -func (*UnimplementedNullDebugServiceServer) NullDebugGet(context.Context, *NullDebugGetRequest) (*NullDebug, error) { - return nil, status.Errorf(codes.Unimplemented, "method NullDebugGet not implemented") +func (*UnimplementedNullDebugServiceServer) GetNullDebug(context.Context, *GetNullDebugRequest) (*NullDebug, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNullDebug not implemented") } func (*UnimplementedNullDebugServiceServer) NullDebugStats(context.Context, *NullDebugStatsRequest) (*NullDebugStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NullDebugStats not implemented") @@ -890,92 +934,92 @@ func RegisterNullDebugServiceServer(s *grpc.Server, srv NullDebugServiceServer) s.RegisterService(&_NullDebugService_serviceDesc, srv) } -func _NullDebugService_NullDebugCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NullDebugCreateRequest) +func _NullDebugService_CreateNullDebug_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNullDebugRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NullDebugServiceServer).NullDebugCreate(ctx, in) + return srv.(NullDebugServiceServer).CreateNullDebug(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NullDebugService/NullDebugCreate", + FullMethod: "/opi_api.storage.v1.NullDebugService/CreateNullDebug", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NullDebugServiceServer).NullDebugCreate(ctx, req.(*NullDebugCreateRequest)) + return srv.(NullDebugServiceServer).CreateNullDebug(ctx, req.(*CreateNullDebugRequest)) } return interceptor(ctx, in, info, handler) } -func _NullDebugService_NullDebugDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NullDebugDeleteRequest) +func _NullDebugService_DeleteNullDebug_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNullDebugRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NullDebugServiceServer).NullDebugDelete(ctx, in) + return srv.(NullDebugServiceServer).DeleteNullDebug(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NullDebugService/NullDebugDelete", + FullMethod: "/opi_api.storage.v1.NullDebugService/DeleteNullDebug", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NullDebugServiceServer).NullDebugDelete(ctx, req.(*NullDebugDeleteRequest)) + return srv.(NullDebugServiceServer).DeleteNullDebug(ctx, req.(*DeleteNullDebugRequest)) } return interceptor(ctx, in, info, handler) } -func _NullDebugService_NullDebugUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NullDebugUpdateRequest) +func _NullDebugService_UpdateNullDebug_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNullDebugRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NullDebugServiceServer).NullDebugUpdate(ctx, in) + return srv.(NullDebugServiceServer).UpdateNullDebug(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NullDebugService/NullDebugUpdate", + FullMethod: "/opi_api.storage.v1.NullDebugService/UpdateNullDebug", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NullDebugServiceServer).NullDebugUpdate(ctx, req.(*NullDebugUpdateRequest)) + return srv.(NullDebugServiceServer).UpdateNullDebug(ctx, req.(*UpdateNullDebugRequest)) } return interceptor(ctx, in, info, handler) } -func _NullDebugService_NullDebugList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NullDebugListRequest) +func _NullDebugService_ListNullDebug_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListNullDebugRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NullDebugServiceServer).NullDebugList(ctx, in) + return srv.(NullDebugServiceServer).ListNullDebug(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NullDebugService/NullDebugList", + FullMethod: "/opi_api.storage.v1.NullDebugService/ListNullDebug", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NullDebugServiceServer).NullDebugList(ctx, req.(*NullDebugListRequest)) + return srv.(NullDebugServiceServer).ListNullDebug(ctx, req.(*ListNullDebugRequest)) } return interceptor(ctx, in, info, handler) } -func _NullDebugService_NullDebugGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NullDebugGetRequest) +func _NullDebugService_GetNullDebug_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNullDebugRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NullDebugServiceServer).NullDebugGet(ctx, in) + return srv.(NullDebugServiceServer).GetNullDebug(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NullDebugService/NullDebugGet", + FullMethod: "/opi_api.storage.v1.NullDebugService/GetNullDebug", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NullDebugServiceServer).NullDebugGet(ctx, req.(*NullDebugGetRequest)) + return srv.(NullDebugServiceServer).GetNullDebug(ctx, req.(*GetNullDebugRequest)) } return interceptor(ctx, in, info, handler) } @@ -1003,24 +1047,24 @@ var _NullDebugService_serviceDesc = grpc.ServiceDesc{ HandlerType: (*NullDebugServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "NullDebugCreate", - Handler: _NullDebugService_NullDebugCreate_Handler, + MethodName: "CreateNullDebug", + Handler: _NullDebugService_CreateNullDebug_Handler, }, { - MethodName: "NullDebugDelete", - Handler: _NullDebugService_NullDebugDelete_Handler, + MethodName: "DeleteNullDebug", + Handler: _NullDebugService_DeleteNullDebug_Handler, }, { - MethodName: "NullDebugUpdate", - Handler: _NullDebugService_NullDebugUpdate_Handler, + MethodName: "UpdateNullDebug", + Handler: _NullDebugService_UpdateNullDebug_Handler, }, { - MethodName: "NullDebugList", - Handler: _NullDebugService_NullDebugList_Handler, + MethodName: "ListNullDebug", + Handler: _NullDebugService_ListNullDebug_Handler, }, { - MethodName: "NullDebugGet", - Handler: _NullDebugService_NullDebugGet_Handler, + MethodName: "GetNullDebug", + Handler: _NullDebugService_GetNullDebug_Handler, }, { MethodName: "NullDebugStats", diff --git a/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go b/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go index b7140ecc..455fb472 100644 --- a/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go +++ b/storage/v1alpha1/gen/go/backend_nvme_tcp.pb.go @@ -11,11 +11,14 @@ 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" ) @@ -200,7 +203,8 @@ type NVMfRemoteController struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // object's unique identifier + Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Trtype NvmeTransportType `protobuf:"varint,2,opt,name=trtype,proto3,enum=opi_api.storage.v1.NvmeTransportType" json:"trtype,omitempty"` Adrfam NvmeAddressFamily `protobuf:"varint,3,opt,name=adrfam,proto3,enum=opi_api.storage.v1.NvmeAddressFamily" json:"adrfam,omitempty"` Traddr string `protobuf:"bytes,4,opt,name=traddr,proto3" json:"traddr,omitempty"` @@ -246,11 +250,11 @@ func (*NVMfRemoteController) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{0} } -func (x *NVMfRemoteController) GetId() int64 { +func (x *NVMfRemoteController) GetId() *_go.ObjectKey { if x != nil { return x.Id } - return 0 + return nil } func (x *NVMfRemoteController) GetTrtype() NvmeTransportType { @@ -330,7 +334,7 @@ func (x *NVMfRemoteController) GetHostnqn() string { return "" } -type NVMfRemoteControllerConnectRequest struct { +type CreateNVMfRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -338,8 +342,8 @@ type NVMfRemoteControllerConnectRequest struct { Ctrl *NVMfRemoteController `protobuf:"bytes,1,opt,name=ctrl,proto3" json:"ctrl,omitempty"` } -func (x *NVMfRemoteControllerConnectRequest) Reset() { - *x = NVMfRemoteControllerConnectRequest{} +func (x *CreateNVMfRemoteControllerRequest) Reset() { + *x = CreateNVMfRemoteControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -347,13 +351,13 @@ func (x *NVMfRemoteControllerConnectRequest) Reset() { } } -func (x *NVMfRemoteControllerConnectRequest) String() string { +func (x *CreateNVMfRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerConnectRequest) ProtoMessage() {} +func (*CreateNVMfRemoteControllerRequest) ProtoMessage() {} -func (x *NVMfRemoteControllerConnectRequest) ProtoReflect() protoreflect.Message { +func (x *CreateNVMfRemoteControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -365,26 +369,29 @@ func (x *NVMfRemoteControllerConnectRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerConnectRequest.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerConnectRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use CreateNVMfRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*CreateNVMfRemoteControllerRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{1} } -func (x *NVMfRemoteControllerConnectRequest) GetCtrl() *NVMfRemoteController { +func (x *CreateNVMfRemoteControllerRequest) GetCtrl() *NVMfRemoteController { if x != nil { return x.Ctrl } return nil } -type NVMfRemoteControllerConnectResponse struct { +type DeleteNVMfRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + // object's unique identifier + Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *NVMfRemoteControllerConnectResponse) Reset() { - *x = NVMfRemoteControllerConnectResponse{} +func (x *DeleteNVMfRemoteControllerRequest) Reset() { + *x = DeleteNVMfRemoteControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -392,13 +399,13 @@ func (x *NVMfRemoteControllerConnectResponse) Reset() { } } -func (x *NVMfRemoteControllerConnectResponse) String() string { +func (x *DeleteNVMfRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerConnectResponse) ProtoMessage() {} +func (*DeleteNVMfRemoteControllerRequest) ProtoMessage() {} -func (x *NVMfRemoteControllerConnectResponse) ProtoReflect() protoreflect.Message { +func (x *DeleteNVMfRemoteControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -410,21 +417,28 @@ func (x *NVMfRemoteControllerConnectResponse) ProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerConnectResponse.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerConnectResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use DeleteNVMfRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*DeleteNVMfRemoteControllerRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{2} } -type NVMfRemoteControllerDisconnectRequest struct { +func (x *DeleteNVMfRemoteControllerRequest) GetId() *_go.ObjectKey { + if x != nil { + return x.Id + } + return nil +} + +type UpdateNVMfRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Ctrl *NVMfRemoteController `protobuf:"bytes,1,opt,name=ctrl,proto3" json:"ctrl,omitempty"` } -func (x *NVMfRemoteControllerDisconnectRequest) Reset() { - *x = NVMfRemoteControllerDisconnectRequest{} +func (x *UpdateNVMfRemoteControllerRequest) Reset() { + *x = UpdateNVMfRemoteControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -432,13 +446,13 @@ func (x *NVMfRemoteControllerDisconnectRequest) Reset() { } } -func (x *NVMfRemoteControllerDisconnectRequest) String() string { +func (x *UpdateNVMfRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerDisconnectRequest) ProtoMessage() {} +func (*UpdateNVMfRemoteControllerRequest) ProtoMessage() {} -func (x *NVMfRemoteControllerDisconnectRequest) ProtoReflect() protoreflect.Message { +func (x *UpdateNVMfRemoteControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -450,26 +464,29 @@ func (x *NVMfRemoteControllerDisconnectRequest) ProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerDisconnectRequest.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerDisconnectRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use UpdateNVMfRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*UpdateNVMfRemoteControllerRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{3} } -func (x *NVMfRemoteControllerDisconnectRequest) GetId() int64 { +func (x *UpdateNVMfRemoteControllerRequest) GetCtrl() *NVMfRemoteController { if x != nil { - return x.Id + return x.Ctrl } - return 0 + return nil } -type NVMfRemoteControllerDisconnectResponse struct { +type ListNVMfRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (x *NVMfRemoteControllerDisconnectResponse) Reset() { - *x = NVMfRemoteControllerDisconnectResponse{} +func (x *ListNVMfRemoteControllerRequest) Reset() { + *x = ListNVMfRemoteControllerRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_nvme_tcp_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -477,13 +494,13 @@ func (x *NVMfRemoteControllerDisconnectResponse) Reset() { } } -func (x *NVMfRemoteControllerDisconnectResponse) String() string { +func (x *ListNVMfRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerDisconnectResponse) ProtoMessage() {} +func (*ListNVMfRemoteControllerRequest) ProtoMessage() {} -func (x *NVMfRemoteControllerDisconnectResponse) ProtoReflect() protoreflect.Message { +func (x *ListNVMfRemoteControllerRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_nvme_tcp_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -495,121 +512,51 @@ func (x *NVMfRemoteControllerDisconnectResponse) ProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerDisconnectResponse.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerDisconnectResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use ListNVMfRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*ListNVMfRemoteControllerRequest) Descriptor() ([]byte, []int) { return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{4} } -type NVMfRemoteControllerResetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *NVMfRemoteControllerResetRequest) Reset() { - *x = NVMfRemoteControllerResetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NVMfRemoteControllerResetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NVMfRemoteControllerResetRequest) ProtoMessage() {} - -func (x *NVMfRemoteControllerResetRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[5] - 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 NVMfRemoteControllerResetRequest.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerResetRequest) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{5} -} - -func (x *NVMfRemoteControllerResetRequest) GetId() int64 { +func (x *ListNVMfRemoteControllerRequest) GetPageSize() int32 { if x != nil { - return x.Id + return x.PageSize } return 0 } -type NVMfRemoteControllerResetResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *NVMfRemoteControllerResetResponse) Reset() { - *x = NVMfRemoteControllerResetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NVMfRemoteControllerResetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NVMfRemoteControllerResetResponse) ProtoMessage() {} - -func (x *NVMfRemoteControllerResetResponse) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *ListNVMfRemoteControllerRequest) GetPageToken() string { + if x != nil { + return x.PageToken } - return mi.MessageOf(x) -} - -// Deprecated: Use NVMfRemoteControllerResetResponse.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerResetResponse) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{6} + return "" } -type NVMfRemoteControllerListRequest struct { +type ListNVMfRemoteControllerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Ctrls []*NVMfRemoteController `protobuf:"bytes,1,rep,name=ctrls,proto3" json:"ctrls,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (x *NVMfRemoteControllerListRequest) Reset() { - *x = NVMfRemoteControllerListRequest{} +func (x *ListNVMfRemoteControllerResponse) Reset() { + *x = ListNVMfRemoteControllerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[7] + mi := &file_backend_nvme_tcp_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NVMfRemoteControllerListRequest) String() string { +func (x *ListNVMfRemoteControllerResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerListRequest) ProtoMessage() {} +func (*ListNVMfRemoteControllerResponse) ProtoMessage() {} -func (x *NVMfRemoteControllerListRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[7] +func (x *ListNVMfRemoteControllerResponse) ProtoReflect() protoreflect.Message { + mi := &file_backend_nvme_tcp_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -620,90 +567,51 @@ func (x *NVMfRemoteControllerListRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerListRequest.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerListRequest) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{7} +// Deprecated: Use ListNVMfRemoteControllerResponse.ProtoReflect.Descriptor instead. +func (*ListNVMfRemoteControllerResponse) Descriptor() ([]byte, []int) { + return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{5} } -func (x *NVMfRemoteControllerListRequest) GetId() int64 { +func (x *ListNVMfRemoteControllerResponse) GetCtrls() []*NVMfRemoteController { if x != nil { - return x.Id - } - return 0 -} - -type NVMfRemoteControllerListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ctrl []*NVMfRemoteController `protobuf:"bytes,1,rep,name=ctrl,proto3" json:"ctrl,omitempty"` -} - -func (x *NVMfRemoteControllerListResponse) Reset() { - *x = NVMfRemoteControllerListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + return x.Ctrls } + return nil } -func (x *NVMfRemoteControllerListResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NVMfRemoteControllerListResponse) ProtoMessage() {} - -func (x *NVMfRemoteControllerListResponse) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[8] - 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 NVMfRemoteControllerListResponse.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerListResponse) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{8} -} - -func (x *NVMfRemoteControllerListResponse) GetCtrl() []*NVMfRemoteController { +func (x *ListNVMfRemoteControllerResponse) GetNextPageToken() string { if x != nil { - return x.Ctrl + return x.NextPageToken } - return nil + return "" } -type NVMfRemoteControllerGetRequest struct { +type GetNVMfRemoteControllerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // object's unique identifier + Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *NVMfRemoteControllerGetRequest) Reset() { - *x = NVMfRemoteControllerGetRequest{} +func (x *GetNVMfRemoteControllerRequest) Reset() { + *x = GetNVMfRemoteControllerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[9] + mi := &file_backend_nvme_tcp_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NVMfRemoteControllerGetRequest) String() string { +func (x *GetNVMfRemoteControllerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerGetRequest) ProtoMessage() {} +func (*GetNVMfRemoteControllerRequest) ProtoMessage() {} -func (x *NVMfRemoteControllerGetRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[9] +func (x *GetNVMfRemoteControllerRequest) ProtoReflect() protoreflect.Message { + mi := &file_backend_nvme_tcp_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -714,43 +622,44 @@ func (x *NVMfRemoteControllerGetRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerGetRequest.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerGetRequest) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{9} +// Deprecated: Use GetNVMfRemoteControllerRequest.ProtoReflect.Descriptor instead. +func (*GetNVMfRemoteControllerRequest) Descriptor() ([]byte, []int) { + return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{6} } -func (x *NVMfRemoteControllerGetRequest) GetId() int64 { +func (x *GetNVMfRemoteControllerRequest) GetId() *_go.ObjectKey { if x != nil { return x.Id } - return 0 + return nil } -type NVMfRemoteControllerGetResponse struct { +type NVMfRemoteControllerResetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ctrl *NVMfRemoteController `protobuf:"bytes,1,opt,name=ctrl,proto3" json:"ctrl,omitempty"` + // object's unique identifier + Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *NVMfRemoteControllerGetResponse) Reset() { - *x = NVMfRemoteControllerGetResponse{} +func (x *NVMfRemoteControllerResetRequest) Reset() { + *x = NVMfRemoteControllerResetRequest{} if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[10] + mi := &file_backend_nvme_tcp_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NVMfRemoteControllerGetResponse) String() string { +func (x *NVMfRemoteControllerResetRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NVMfRemoteControllerGetResponse) ProtoMessage() {} +func (*NVMfRemoteControllerResetRequest) ProtoMessage() {} -func (x *NVMfRemoteControllerGetResponse) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[10] +func (x *NVMfRemoteControllerResetRequest) ProtoReflect() protoreflect.Message { + mi := &file_backend_nvme_tcp_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -761,14 +670,14 @@ func (x *NVMfRemoteControllerGetResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NVMfRemoteControllerGetResponse.ProtoReflect.Descriptor instead. -func (*NVMfRemoteControllerGetResponse) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{10} +// Deprecated: Use NVMfRemoteControllerResetRequest.ProtoReflect.Descriptor instead. +func (*NVMfRemoteControllerResetRequest) Descriptor() ([]byte, []int) { + return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{7} } -func (x *NVMfRemoteControllerGetResponse) GetCtrl() *NVMfRemoteController { +func (x *NVMfRemoteControllerResetRequest) GetId() *_go.ObjectKey { if x != nil { - return x.Ctrl + return x.Id } return nil } @@ -778,13 +687,14 @@ type NVMfRemoteControllerStatsRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // object's unique identifier + Id *_go.ObjectKey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *NVMfRemoteControllerStatsRequest) Reset() { *x = NVMfRemoteControllerStatsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[11] + mi := &file_backend_nvme_tcp_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -797,7 +707,7 @@ func (x *NVMfRemoteControllerStatsRequest) String() string { func (*NVMfRemoteControllerStatsRequest) ProtoMessage() {} func (x *NVMfRemoteControllerStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[11] + mi := &file_backend_nvme_tcp_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -810,14 +720,14 @@ func (x *NVMfRemoteControllerStatsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NVMfRemoteControllerStatsRequest.ProtoReflect.Descriptor instead. func (*NVMfRemoteControllerStatsRequest) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{11} + return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{8} } -func (x *NVMfRemoteControllerStatsRequest) GetId() int64 { +func (x *NVMfRemoteControllerStatsRequest) GetId() *_go.ObjectKey { if x != nil { return x.Id } - return 0 + return nil } type NVMfRemoteControllerStatsResponse struct { @@ -825,14 +735,13 @@ type NVMfRemoteControllerStatsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Stats string `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats string `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` } func (x *NVMfRemoteControllerStatsResponse) Reset() { *x = NVMfRemoteControllerStatsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_backend_nvme_tcp_proto_msgTypes[12] + mi := &file_backend_nvme_tcp_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -845,7 +754,7 @@ func (x *NVMfRemoteControllerStatsResponse) String() string { func (*NVMfRemoteControllerStatsResponse) ProtoMessage() {} func (x *NVMfRemoteControllerStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_backend_nvme_tcp_proto_msgTypes[12] + mi := &file_backend_nvme_tcp_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -858,14 +767,7 @@ func (x *NVMfRemoteControllerStatsResponse) ProtoReflect() protoreflect.Message // Deprecated: Use NVMfRemoteControllerStatsResponse.ProtoReflect.Descriptor instead. func (*NVMfRemoteControllerStatsResponse) Descriptor() ([]byte, []int) { - return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{12} -} - -func (x *NVMfRemoteControllerStatsResponse) GetId() int64 { - if x != nil { - return x.Id - } - return 0 + return file_backend_nvme_tcp_proto_rawDescGZIP(), []int{9} } func (x *NVMfRemoteControllerStatsResponse) GetStats() string { @@ -880,175 +782,198 @@ var File_backend_nvme_tcp_proto protoreflect.FileDescriptor var file_backend_nvme_tcp_proto_rawDesc = []byte{ 0x0a, 0x16, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x76, 0x6d, 0x65, 0x5f, 0x74, 0x63, 0x70, 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, 0x22, 0xbc, 0x03, 0x0a, - 0x14, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x74, 0x72, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, 0x6d, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x61, 0x64, 0x72, - 0x66, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, - 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x72, - 0x73, 0x76, 0x63, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x12, 0x14, 0x0a, - 0x05, 0x68, 0x64, 0x67, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x68, 0x64, - 0x67, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x6d, 0x75, 0x6c, - 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x52, - 0x09, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6f, - 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x22, 0x62, 0x0a, 0x22, 0x4e, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, + 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x14, 0x4e, 0x56, + 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x3d, 0x0a, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x74, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x3d, 0x0a, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x25, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x06, 0x61, 0x64, 0x72, 0x66, 0x61, 0x6d, 0x12, 0x16, + 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x74, 0x72, 0x61, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x72, 0x73, 0x76, 0x63, 0x69, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x71, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x64, 0x67, 0x73, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x68, 0x64, 0x67, 0x73, 0x74, 0x12, 0x14, + 0x0a, 0x05, 0x64, 0x64, 0x67, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, + 0x64, 0x67, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x76, 0x6d, + 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x52, 0x09, 0x6d, 0x75, 0x6c, 0x74, + 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6f, 0x5f, 0x71, 0x75, 0x65, 0x75, + 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x69, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x71, 0x75, 0x65, 0x75, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, + 0x6f, 0x73, 0x74, 0x6e, 0x71, 0x6e, 0x22, 0x61, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x63, + 0x74, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x6c, 0x65, 0x72, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x22, 0x51, 0x0a, 0x21, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x21, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x22, - 0x25, 0x0a, 0x23, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x25, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x28, 0x0a, 0x26, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x20, 0x4e, 0x56, 0x4d, - 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, 0x0a, - 0x21, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x31, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x60, 0x0a, 0x20, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x63, 0x74, 0x72, - 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, - 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x22, 0x30, 0x0a, 0x1e, 0x4e, 0x56, 0x4d, 0x66, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, - 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x04, - 0x63, 0x74, 0x72, 0x6c, 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, + 0x5d, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 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, 0x8a, + 0x01, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x63, 0x74, 0x72, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x05, 0x63, 0x74, + 0x72, 0x6c, 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, 0x4e, 0x0a, 0x1e, 0x47, + 0x65, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x22, 0x50, 0x0a, 0x20, 0x4e, + 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x22, 0x50, 0x0a, + 0x20, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x02, 0x69, 0x64, 0x22, + 0x39, 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2a, 0xb4, 0x01, 0x0a, 0x11, 0x4e, + 0x76, 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, + 0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, + 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, + 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x50, + 0x43, 0x49, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, + 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x44, 0x4d, 0x41, 0x10, 0x03, 0x12, 0x16, + 0x0a, 0x12, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, + 0x5f, 0x54, 0x43, 0x50, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, + 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, + 0x05, 0x2a, 0xa8, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, + 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x4d, 0x49, 0x4c, 0x59, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, + 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x34, + 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, + 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x46, + 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x42, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, + 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x46, 0x43, 0x10, 0x04, + 0x12, 0x1a, 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, + 0x49, 0x4e, 0x54, 0x52, 0x41, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x05, 0x2a, 0x86, 0x01, 0x0a, + 0x0d, 0x4e, 0x76, 0x6d, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1e, + 0x0a, 0x1a, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, + 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, + 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x56, + 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x4e, 0x56, 0x4d, 0x45, 0x5f, + 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, + 0x41, 0x54, 0x48, 0x10, 0x03, 0x32, 0xad, 0x08, 0x0a, 0x1b, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x04, 0x63, 0x74, 0x72, 0x6c, 0x22, 0x32, 0x0a, 0x20, 0x4e, 0x56, - 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x49, - 0x0a, 0x21, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 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, 0xb4, 0x01, 0x0a, 0x11, 0x4e, 0x76, - 0x6d, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x23, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, - 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, - 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, - 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4e, - 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x50, 0x43, - 0x49, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, - 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x52, 0x44, 0x4d, 0x41, 0x10, 0x03, 0x12, 0x16, 0x0a, - 0x12, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, - 0x54, 0x43, 0x50, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x54, 0x52, - 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x05, - 0x2a, 0xa8, 0x01, 0x0a, 0x11, 0x4e, 0x76, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x41, - 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x46, 0x41, 0x4d, 0x49, 0x4c, 0x59, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4e, - 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x50, 0x56, 0x34, 0x10, - 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, - 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x56, 0x4d, 0x46, 0x5f, - 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, 0x42, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4e, - 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x46, 0x43, 0x10, 0x04, 0x12, - 0x1a, 0x0a, 0x16, 0x4e, 0x56, 0x4d, 0x46, 0x5f, 0x41, 0x44, 0x52, 0x46, 0x41, 0x4d, 0x5f, 0x49, - 0x4e, 0x54, 0x52, 0x41, 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x05, 0x2a, 0x86, 0x01, 0x0a, 0x0d, - 0x4e, 0x76, 0x6d, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1e, 0x0a, - 0x1a, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, - 0x16, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, - 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x56, 0x4d, - 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, - 0x4f, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x4e, 0x56, 0x4d, 0x45, 0x5f, 0x4d, - 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x41, - 0x54, 0x48, 0x10, 0x03, 0x32, 0xf7, 0x06, 0x0a, 0x1b, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x1b, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x12, 0x36, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x6f, - 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x99, 0x01, 0x0a, 0x1e, 0x4e, 0x56, 0x4d, 0x66, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x39, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x19, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, - 0x74, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, - 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, - 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x87, 0x01, 0x0a, 0x18, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x2e, + 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, + 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 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, 0x8f, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 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, 0xa0, 0x01, 0x0a, 0x1a, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 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, 0x9d, 0x01, + 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 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, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 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, 0x9b, 0x01, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x6f, 0x70, 0x69, 0x5f, + 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 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, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x17, 0x4e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 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, 0x6b, 0x0a, 0x19, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 0x12, 0x32, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, + 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x19, 0x4e, 0x56, 0x4d, + 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6f, 0x70, 0x69, - 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x19, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, - 0x34, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x62, - 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, - 0x65, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6f, + 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x56, 0x4d, 0x66, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x62, 0x0a, 0x12, 0x6f, 0x70, 0x69, 0x5f, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x42, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x76, 0x6d, 0x65, 0x54, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, + 0x70, 0x69, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x6f, 0x70, 0x69, 0x2d, 0x61, 0x70, + 0x69, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -1064,49 +989,55 @@ func file_backend_nvme_tcp_proto_rawDescGZIP() []byte { } var file_backend_nvme_tcp_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_backend_nvme_tcp_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_backend_nvme_tcp_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_backend_nvme_tcp_proto_goTypes = []interface{}{ - (NvmeTransportType)(0), // 0: opi_api.storage.v1.NvmeTransportType - (NvmeAddressFamily)(0), // 1: opi_api.storage.v1.NvmeAddressFamily - (NvmeMultipath)(0), // 2: opi_api.storage.v1.NvmeMultipath - (*NVMfRemoteController)(nil), // 3: opi_api.storage.v1.NVMfRemoteController - (*NVMfRemoteControllerConnectRequest)(nil), // 4: opi_api.storage.v1.NVMfRemoteControllerConnectRequest - (*NVMfRemoteControllerConnectResponse)(nil), // 5: opi_api.storage.v1.NVMfRemoteControllerConnectResponse - (*NVMfRemoteControllerDisconnectRequest)(nil), // 6: opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest - (*NVMfRemoteControllerDisconnectResponse)(nil), // 7: opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse - (*NVMfRemoteControllerResetRequest)(nil), // 8: opi_api.storage.v1.NVMfRemoteControllerResetRequest - (*NVMfRemoteControllerResetResponse)(nil), // 9: opi_api.storage.v1.NVMfRemoteControllerResetResponse - (*NVMfRemoteControllerListRequest)(nil), // 10: opi_api.storage.v1.NVMfRemoteControllerListRequest - (*NVMfRemoteControllerListResponse)(nil), // 11: opi_api.storage.v1.NVMfRemoteControllerListResponse - (*NVMfRemoteControllerGetRequest)(nil), // 12: opi_api.storage.v1.NVMfRemoteControllerGetRequest - (*NVMfRemoteControllerGetResponse)(nil), // 13: opi_api.storage.v1.NVMfRemoteControllerGetResponse - (*NVMfRemoteControllerStatsRequest)(nil), // 14: opi_api.storage.v1.NVMfRemoteControllerStatsRequest - (*NVMfRemoteControllerStatsResponse)(nil), // 15: opi_api.storage.v1.NVMfRemoteControllerStatsResponse + (NvmeTransportType)(0), // 0: opi_api.storage.v1.NvmeTransportType + (NvmeAddressFamily)(0), // 1: opi_api.storage.v1.NvmeAddressFamily + (NvmeMultipath)(0), // 2: opi_api.storage.v1.NvmeMultipath + (*NVMfRemoteController)(nil), // 3: opi_api.storage.v1.NVMfRemoteController + (*CreateNVMfRemoteControllerRequest)(nil), // 4: opi_api.storage.v1.CreateNVMfRemoteControllerRequest + (*DeleteNVMfRemoteControllerRequest)(nil), // 5: opi_api.storage.v1.DeleteNVMfRemoteControllerRequest + (*UpdateNVMfRemoteControllerRequest)(nil), // 6: opi_api.storage.v1.UpdateNVMfRemoteControllerRequest + (*ListNVMfRemoteControllerRequest)(nil), // 7: opi_api.storage.v1.ListNVMfRemoteControllerRequest + (*ListNVMfRemoteControllerResponse)(nil), // 8: opi_api.storage.v1.ListNVMfRemoteControllerResponse + (*GetNVMfRemoteControllerRequest)(nil), // 9: opi_api.storage.v1.GetNVMfRemoteControllerRequest + (*NVMfRemoteControllerResetRequest)(nil), // 10: opi_api.storage.v1.NVMfRemoteControllerResetRequest + (*NVMfRemoteControllerStatsRequest)(nil), // 11: opi_api.storage.v1.NVMfRemoteControllerStatsRequest + (*NVMfRemoteControllerStatsResponse)(nil), // 12: opi_api.storage.v1.NVMfRemoteControllerStatsResponse + (*_go.ObjectKey)(nil), // 13: opi_api.common.v1.ObjectKey + (*emptypb.Empty)(nil), // 14: google.protobuf.Empty } var file_backend_nvme_tcp_proto_depIdxs = []int32{ - 0, // 0: opi_api.storage.v1.NVMfRemoteController.trtype:type_name -> opi_api.storage.v1.NvmeTransportType - 1, // 1: opi_api.storage.v1.NVMfRemoteController.adrfam:type_name -> opi_api.storage.v1.NvmeAddressFamily - 2, // 2: opi_api.storage.v1.NVMfRemoteController.multipath:type_name -> opi_api.storage.v1.NvmeMultipath - 3, // 3: opi_api.storage.v1.NVMfRemoteControllerConnectRequest.ctrl:type_name -> opi_api.storage.v1.NVMfRemoteController - 3, // 4: opi_api.storage.v1.NVMfRemoteControllerListResponse.ctrl:type_name -> opi_api.storage.v1.NVMfRemoteController - 3, // 5: opi_api.storage.v1.NVMfRemoteControllerGetResponse.ctrl:type_name -> opi_api.storage.v1.NVMfRemoteController - 4, // 6: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerConnect:input_type -> opi_api.storage.v1.NVMfRemoteControllerConnectRequest - 6, // 7: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerDisconnect:input_type -> opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest - 8, // 8: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:input_type -> opi_api.storage.v1.NVMfRemoteControllerResetRequest - 10, // 9: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerList:input_type -> opi_api.storage.v1.NVMfRemoteControllerListRequest - 12, // 10: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerGet:input_type -> opi_api.storage.v1.NVMfRemoteControllerGetRequest - 14, // 11: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:input_type -> opi_api.storage.v1.NVMfRemoteControllerStatsRequest - 5, // 12: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerConnect:output_type -> opi_api.storage.v1.NVMfRemoteControllerConnectResponse - 7, // 13: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerDisconnect:output_type -> opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse - 9, // 14: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:output_type -> opi_api.storage.v1.NVMfRemoteControllerResetResponse - 11, // 15: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerList:output_type -> opi_api.storage.v1.NVMfRemoteControllerListResponse - 13, // 16: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerGet:output_type -> opi_api.storage.v1.NVMfRemoteControllerGetResponse - 15, // 17: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:output_type -> opi_api.storage.v1.NVMfRemoteControllerStatsResponse - 12, // [12:18] is the sub-list for method output_type - 6, // [6:12] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name + 13, // 0: opi_api.storage.v1.NVMfRemoteController.id:type_name -> opi_api.common.v1.ObjectKey + 0, // 1: opi_api.storage.v1.NVMfRemoteController.trtype:type_name -> opi_api.storage.v1.NvmeTransportType + 1, // 2: opi_api.storage.v1.NVMfRemoteController.adrfam:type_name -> opi_api.storage.v1.NvmeAddressFamily + 2, // 3: opi_api.storage.v1.NVMfRemoteController.multipath:type_name -> opi_api.storage.v1.NvmeMultipath + 3, // 4: opi_api.storage.v1.CreateNVMfRemoteControllerRequest.ctrl:type_name -> opi_api.storage.v1.NVMfRemoteController + 13, // 5: opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.id:type_name -> opi_api.common.v1.ObjectKey + 3, // 6: opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.ctrl:type_name -> opi_api.storage.v1.NVMfRemoteController + 3, // 7: opi_api.storage.v1.ListNVMfRemoteControllerResponse.ctrls:type_name -> opi_api.storage.v1.NVMfRemoteController + 13, // 8: opi_api.storage.v1.GetNVMfRemoteControllerRequest.id:type_name -> opi_api.common.v1.ObjectKey + 13, // 9: opi_api.storage.v1.NVMfRemoteControllerResetRequest.id:type_name -> opi_api.common.v1.ObjectKey + 13, // 10: opi_api.storage.v1.NVMfRemoteControllerStatsRequest.id:type_name -> opi_api.common.v1.ObjectKey + 4, // 11: opi_api.storage.v1.NVMfRemoteControllerService.CreateNVMfRemoteController:input_type -> opi_api.storage.v1.CreateNVMfRemoteControllerRequest + 5, // 12: opi_api.storage.v1.NVMfRemoteControllerService.DeleteNVMfRemoteController:input_type -> opi_api.storage.v1.DeleteNVMfRemoteControllerRequest + 6, // 13: opi_api.storage.v1.NVMfRemoteControllerService.UpdateNVMfRemoteController:input_type -> opi_api.storage.v1.UpdateNVMfRemoteControllerRequest + 7, // 14: opi_api.storage.v1.NVMfRemoteControllerService.ListNVMfRemoteController:input_type -> opi_api.storage.v1.ListNVMfRemoteControllerRequest + 9, // 15: opi_api.storage.v1.NVMfRemoteControllerService.GetNVMfRemoteController:input_type -> opi_api.storage.v1.GetNVMfRemoteControllerRequest + 10, // 16: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:input_type -> opi_api.storage.v1.NVMfRemoteControllerResetRequest + 11, // 17: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:input_type -> opi_api.storage.v1.NVMfRemoteControllerStatsRequest + 3, // 18: opi_api.storage.v1.NVMfRemoteControllerService.CreateNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController + 14, // 19: opi_api.storage.v1.NVMfRemoteControllerService.DeleteNVMfRemoteController:output_type -> google.protobuf.Empty + 3, // 20: opi_api.storage.v1.NVMfRemoteControllerService.UpdateNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController + 8, // 21: opi_api.storage.v1.NVMfRemoteControllerService.ListNVMfRemoteController:output_type -> opi_api.storage.v1.ListNVMfRemoteControllerResponse + 3, // 22: opi_api.storage.v1.NVMfRemoteControllerService.GetNVMfRemoteController:output_type -> opi_api.storage.v1.NVMfRemoteController + 14, // 23: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerReset:output_type -> google.protobuf.Empty + 12, // 24: opi_api.storage.v1.NVMfRemoteControllerService.NVMfRemoteControllerStats:output_type -> opi_api.storage.v1.NVMfRemoteControllerStatsResponse + 18, // [18:25] is the sub-list for method output_type + 11, // [11:18] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name } func init() { file_backend_nvme_tcp_proto_init() } @@ -1128,7 +1059,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerConnectRequest); i { + switch v := v.(*CreateNVMfRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -1140,7 +1071,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerConnectResponse); i { + switch v := v.(*DeleteNVMfRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -1152,7 +1083,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerDisconnectRequest); i { + switch v := v.(*UpdateNVMfRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -1164,7 +1095,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerDisconnectResponse); i { + switch v := v.(*ListNVMfRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -1176,7 +1107,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerResetRequest); i { + switch v := v.(*ListNVMfRemoteControllerResponse); i { case 0: return &v.state case 1: @@ -1188,7 +1119,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerResetResponse); i { + switch v := v.(*GetNVMfRemoteControllerRequest); i { case 0: return &v.state case 1: @@ -1200,7 +1131,7 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerListRequest); i { + switch v := v.(*NVMfRemoteControllerResetRequest); i { case 0: return &v.state case 1: @@ -1212,42 +1143,6 @@ func file_backend_nvme_tcp_proto_init() { } } file_backend_nvme_tcp_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_backend_nvme_tcp_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerGetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_backend_nvme_tcp_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NVMfRemoteControllerGetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_backend_nvme_tcp_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NVMfRemoteControllerStatsRequest); i { case 0: return &v.state @@ -1259,7 +1154,7 @@ func file_backend_nvme_tcp_proto_init() { return nil } } - file_backend_nvme_tcp_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_backend_nvme_tcp_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NVMfRemoteControllerStatsResponse); i { case 0: return &v.state @@ -1278,7 +1173,7 @@ func file_backend_nvme_tcp_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_backend_nvme_tcp_proto_rawDesc, NumEnums: 3, - NumMessages: 13, + NumMessages: 10, NumExtensions: 0, NumServices: 1, }, @@ -1305,11 +1200,12 @@ const _ = grpc.SupportPackageIsVersion6 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type NVMfRemoteControllerServiceClient interface { - NVMfRemoteControllerConnect(ctx context.Context, in *NVMfRemoteControllerConnectRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerConnectResponse, error) - NVMfRemoteControllerDisconnect(ctx context.Context, in *NVMfRemoteControllerDisconnectRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerDisconnectResponse, error) - NVMfRemoteControllerReset(ctx context.Context, in *NVMfRemoteControllerResetRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerResetResponse, error) - NVMfRemoteControllerList(ctx context.Context, in *NVMfRemoteControllerListRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerListResponse, error) - NVMfRemoteControllerGet(ctx context.Context, in *NVMfRemoteControllerGetRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerGetResponse, error) + CreateNVMfRemoteController(ctx context.Context, in *CreateNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*NVMfRemoteController, error) + DeleteNVMfRemoteController(ctx context.Context, in *DeleteNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + UpdateNVMfRemoteController(ctx context.Context, in *UpdateNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*NVMfRemoteController, error) + ListNVMfRemoteController(ctx context.Context, in *ListNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*ListNVMfRemoteControllerResponse, error) + GetNVMfRemoteController(ctx context.Context, in *GetNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*NVMfRemoteController, error) + NVMfRemoteControllerReset(ctx context.Context, in *NVMfRemoteControllerResetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) NVMfRemoteControllerStats(ctx context.Context, in *NVMfRemoteControllerStatsRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerStatsResponse, error) } @@ -1321,45 +1217,54 @@ func NewNVMfRemoteControllerServiceClient(cc grpc.ClientConnInterface) NVMfRemot return &nVMfRemoteControllerServiceClient{cc} } -func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerConnect(ctx context.Context, in *NVMfRemoteControllerConnectRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerConnectResponse, error) { - out := new(NVMfRemoteControllerConnectResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerConnect", in, out, opts...) +func (c *nVMfRemoteControllerServiceClient) CreateNVMfRemoteController(ctx context.Context, in *CreateNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*NVMfRemoteController, error) { + out := new(NVMfRemoteController) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/CreateNVMfRemoteController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerDisconnect(ctx context.Context, in *NVMfRemoteControllerDisconnectRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerDisconnectResponse, error) { - out := new(NVMfRemoteControllerDisconnectResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerDisconnect", in, out, opts...) +func (c *nVMfRemoteControllerServiceClient) DeleteNVMfRemoteController(ctx context.Context, in *DeleteNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/DeleteNVMfRemoteController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerReset(ctx context.Context, in *NVMfRemoteControllerResetRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerResetResponse, error) { - out := new(NVMfRemoteControllerResetResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset", in, out, opts...) +func (c *nVMfRemoteControllerServiceClient) UpdateNVMfRemoteController(ctx context.Context, in *UpdateNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*NVMfRemoteController, error) { + out := new(NVMfRemoteController) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/UpdateNVMfRemoteController", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *nVMfRemoteControllerServiceClient) ListNVMfRemoteController(ctx context.Context, in *ListNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*ListNVMfRemoteControllerResponse, error) { + out := new(ListNVMfRemoteControllerResponse) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/ListNVMfRemoteController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerList(ctx context.Context, in *NVMfRemoteControllerListRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerListResponse, error) { - out := new(NVMfRemoteControllerListResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerList", in, out, opts...) +func (c *nVMfRemoteControllerServiceClient) GetNVMfRemoteController(ctx context.Context, in *GetNVMfRemoteControllerRequest, opts ...grpc.CallOption) (*NVMfRemoteController, error) { + out := new(NVMfRemoteController) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/GetNVMfRemoteController", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerGet(ctx context.Context, in *NVMfRemoteControllerGetRequest, opts ...grpc.CallOption) (*NVMfRemoteControllerGetResponse, error) { - out := new(NVMfRemoteControllerGetResponse) - err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerGet", in, out, opts...) +func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerReset(ctx context.Context, in *NVMfRemoteControllerResetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + out := new(emptypb.Empty) + err := c.cc.Invoke(ctx, "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset", in, out, opts...) if err != nil { return nil, err } @@ -1377,11 +1282,12 @@ func (c *nVMfRemoteControllerServiceClient) NVMfRemoteControllerStats(ctx contex // NVMfRemoteControllerServiceServer is the server API for NVMfRemoteControllerService service. type NVMfRemoteControllerServiceServer interface { - NVMfRemoteControllerConnect(context.Context, *NVMfRemoteControllerConnectRequest) (*NVMfRemoteControllerConnectResponse, error) - NVMfRemoteControllerDisconnect(context.Context, *NVMfRemoteControllerDisconnectRequest) (*NVMfRemoteControllerDisconnectResponse, error) - NVMfRemoteControllerReset(context.Context, *NVMfRemoteControllerResetRequest) (*NVMfRemoteControllerResetResponse, error) - NVMfRemoteControllerList(context.Context, *NVMfRemoteControllerListRequest) (*NVMfRemoteControllerListResponse, error) - NVMfRemoteControllerGet(context.Context, *NVMfRemoteControllerGetRequest) (*NVMfRemoteControllerGetResponse, error) + CreateNVMfRemoteController(context.Context, *CreateNVMfRemoteControllerRequest) (*NVMfRemoteController, error) + DeleteNVMfRemoteController(context.Context, *DeleteNVMfRemoteControllerRequest) (*emptypb.Empty, error) + UpdateNVMfRemoteController(context.Context, *UpdateNVMfRemoteControllerRequest) (*NVMfRemoteController, error) + ListNVMfRemoteController(context.Context, *ListNVMfRemoteControllerRequest) (*ListNVMfRemoteControllerResponse, error) + GetNVMfRemoteController(context.Context, *GetNVMfRemoteControllerRequest) (*NVMfRemoteController, error) + NVMfRemoteControllerReset(context.Context, *NVMfRemoteControllerResetRequest) (*emptypb.Empty, error) NVMfRemoteControllerStats(context.Context, *NVMfRemoteControllerStatsRequest) (*NVMfRemoteControllerStatsResponse, error) } @@ -1389,20 +1295,23 @@ type NVMfRemoteControllerServiceServer interface { type UnimplementedNVMfRemoteControllerServiceServer struct { } -func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerConnect(context.Context, *NVMfRemoteControllerConnectRequest) (*NVMfRemoteControllerConnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerConnect not implemented") +func (*UnimplementedNVMfRemoteControllerServiceServer) CreateNVMfRemoteController(context.Context, *CreateNVMfRemoteControllerRequest) (*NVMfRemoteController, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNVMfRemoteController not implemented") } -func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerDisconnect(context.Context, *NVMfRemoteControllerDisconnectRequest) (*NVMfRemoteControllerDisconnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerDisconnect not implemented") +func (*UnimplementedNVMfRemoteControllerServiceServer) DeleteNVMfRemoteController(context.Context, *DeleteNVMfRemoteControllerRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNVMfRemoteController not implemented") } -func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerReset(context.Context, *NVMfRemoteControllerResetRequest) (*NVMfRemoteControllerResetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerReset not implemented") +func (*UnimplementedNVMfRemoteControllerServiceServer) UpdateNVMfRemoteController(context.Context, *UpdateNVMfRemoteControllerRequest) (*NVMfRemoteController, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNVMfRemoteController not implemented") } -func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerList(context.Context, *NVMfRemoteControllerListRequest) (*NVMfRemoteControllerListResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerList not implemented") +func (*UnimplementedNVMfRemoteControllerServiceServer) ListNVMfRemoteController(context.Context, *ListNVMfRemoteControllerRequest) (*ListNVMfRemoteControllerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNVMfRemoteController not implemented") } -func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerGet(context.Context, *NVMfRemoteControllerGetRequest) (*NVMfRemoteControllerGetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerGet not implemented") +func (*UnimplementedNVMfRemoteControllerServiceServer) GetNVMfRemoteController(context.Context, *GetNVMfRemoteControllerRequest) (*NVMfRemoteController, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNVMfRemoteController not implemented") +} +func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerReset(context.Context, *NVMfRemoteControllerResetRequest) (*emptypb.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerReset not implemented") } func (*UnimplementedNVMfRemoteControllerServiceServer) NVMfRemoteControllerStats(context.Context, *NVMfRemoteControllerStatsRequest) (*NVMfRemoteControllerStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NVMfRemoteControllerStats not implemented") @@ -1412,92 +1321,110 @@ func RegisterNVMfRemoteControllerServiceServer(s *grpc.Server, srv NVMfRemoteCon s.RegisterService(&_NVMfRemoteControllerService_serviceDesc, srv) } -func _NVMfRemoteControllerService_NVMfRemoteControllerConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NVMfRemoteControllerConnectRequest) +func _NVMfRemoteControllerService_CreateNVMfRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNVMfRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerConnect(ctx, in) + return srv.(NVMfRemoteControllerServiceServer).CreateNVMfRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerConnect", + FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/CreateNVMfRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerConnect(ctx, req.(*NVMfRemoteControllerConnectRequest)) + return srv.(NVMfRemoteControllerServiceServer).CreateNVMfRemoteController(ctx, req.(*CreateNVMfRemoteControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _NVMfRemoteControllerService_NVMfRemoteControllerDisconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NVMfRemoteControllerDisconnectRequest) +func _NVMfRemoteControllerService_DeleteNVMfRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNVMfRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerDisconnect(ctx, in) + return srv.(NVMfRemoteControllerServiceServer).DeleteNVMfRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerDisconnect", + FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/DeleteNVMfRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerDisconnect(ctx, req.(*NVMfRemoteControllerDisconnectRequest)) + return srv.(NVMfRemoteControllerServiceServer).DeleteNVMfRemoteController(ctx, req.(*DeleteNVMfRemoteControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _NVMfRemoteControllerService_NVMfRemoteControllerReset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NVMfRemoteControllerResetRequest) +func _NVMfRemoteControllerService_UpdateNVMfRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNVMfRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerReset(ctx, in) + return srv.(NVMfRemoteControllerServiceServer).UpdateNVMfRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset", + FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/UpdateNVMfRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerReset(ctx, req.(*NVMfRemoteControllerResetRequest)) + return srv.(NVMfRemoteControllerServiceServer).UpdateNVMfRemoteController(ctx, req.(*UpdateNVMfRemoteControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _NVMfRemoteControllerService_NVMfRemoteControllerList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NVMfRemoteControllerListRequest) +func _NVMfRemoteControllerService_ListNVMfRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListNVMfRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerList(ctx, in) + return srv.(NVMfRemoteControllerServiceServer).ListNVMfRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerList", + FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/ListNVMfRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerList(ctx, req.(*NVMfRemoteControllerListRequest)) + return srv.(NVMfRemoteControllerServiceServer).ListNVMfRemoteController(ctx, req.(*ListNVMfRemoteControllerRequest)) } return interceptor(ctx, in, info, handler) } -func _NVMfRemoteControllerService_NVMfRemoteControllerGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NVMfRemoteControllerGetRequest) +func _NVMfRemoteControllerService_GetNVMfRemoteController_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNVMfRemoteControllerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerGet(ctx, in) + return srv.(NVMfRemoteControllerServiceServer).GetNVMfRemoteController(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerGet", + FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/GetNVMfRemoteController", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerGet(ctx, req.(*NVMfRemoteControllerGetRequest)) + return srv.(NVMfRemoteControllerServiceServer).GetNVMfRemoteController(ctx, req.(*GetNVMfRemoteControllerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NVMfRemoteControllerService_NVMfRemoteControllerReset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NVMfRemoteControllerResetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerReset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NVMfRemoteControllerServiceServer).NVMfRemoteControllerReset(ctx, req.(*NVMfRemoteControllerResetRequest)) } return interceptor(ctx, in, info, handler) } @@ -1525,24 +1452,28 @@ var _NVMfRemoteControllerService_serviceDesc = grpc.ServiceDesc{ HandlerType: (*NVMfRemoteControllerServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "NVMfRemoteControllerConnect", - Handler: _NVMfRemoteControllerService_NVMfRemoteControllerConnect_Handler, + MethodName: "CreateNVMfRemoteController", + Handler: _NVMfRemoteControllerService_CreateNVMfRemoteController_Handler, }, { - MethodName: "NVMfRemoteControllerDisconnect", - Handler: _NVMfRemoteControllerService_NVMfRemoteControllerDisconnect_Handler, + MethodName: "DeleteNVMfRemoteController", + Handler: _NVMfRemoteControllerService_DeleteNVMfRemoteController_Handler, }, { - MethodName: "NVMfRemoteControllerReset", - Handler: _NVMfRemoteControllerService_NVMfRemoteControllerReset_Handler, + MethodName: "UpdateNVMfRemoteController", + Handler: _NVMfRemoteControllerService_UpdateNVMfRemoteController_Handler, }, { - MethodName: "NVMfRemoteControllerList", - Handler: _NVMfRemoteControllerService_NVMfRemoteControllerList_Handler, + MethodName: "ListNVMfRemoteController", + Handler: _NVMfRemoteControllerService_ListNVMfRemoteController_Handler, }, { - MethodName: "NVMfRemoteControllerGet", - Handler: _NVMfRemoteControllerService_NVMfRemoteControllerGet_Handler, + MethodName: "GetNVMfRemoteController", + Handler: _NVMfRemoteControllerService_GetNVMfRemoteController_Handler, + }, + { + MethodName: "NVMfRemoteControllerReset", + Handler: _NVMfRemoteControllerService_NVMfRemoteControllerReset_Handler, }, { MethodName: "NVMfRemoteControllerStats", diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetListRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetListRequest.java deleted file mode 100644 index 624c5b7e..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetListRequest.java +++ /dev/null @@ -1,427 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -/** - *
- * Intentionally empty
- * 
- * - * Protobuf type {@code opi_api.storage.v1.AioControllerGetListRequest} - */ -public final class AioControllerGetListRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerGetListRequest) - AioControllerGetListRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use AioControllerGetListRequest.newBuilder() to construct. - private AioControllerGetListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AioControllerGetListRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AioControllerGetListRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AioControllerGetListRequest( - 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.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerGetListRequest.class, opi_api.storage.v1.AioControllerGetListRequest.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.AioControllerGetListRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.AioControllerGetListRequest other = (opi_api.storage.v1.AioControllerGetListRequest) 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.AioControllerGetListRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioControllerGetListRequest 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.AioControllerGetListRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioControllerGetListRequest 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.AioControllerGetListRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioControllerGetListRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioControllerGetListRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioControllerGetListRequest 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.AioControllerGetListRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioControllerGetListRequest 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.AioControllerGetListRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioControllerGetListRequest 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.AioControllerGetListRequest 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; - } - /** - *
-   * Intentionally empty
-   * 
- * - * Protobuf type {@code opi_api.storage.v1.AioControllerGetListRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerGetListRequest) - opi_api.storage.v1.AioControllerGetListRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetListRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetListRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerGetListRequest.class, opi_api.storage.v1.AioControllerGetListRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.AioControllerGetListRequest.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.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetListRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.AioControllerGetListRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerGetListRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.AioControllerGetListRequest build() { - opi_api.storage.v1.AioControllerGetListRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.AioControllerGetListRequest buildPartial() { - opi_api.storage.v1.AioControllerGetListRequest result = new opi_api.storage.v1.AioControllerGetListRequest(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.AioControllerGetListRequest) { - return mergeFrom((opi_api.storage.v1.AioControllerGetListRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.AioControllerGetListRequest other) { - if (other == opi_api.storage.v1.AioControllerGetListRequest.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.AioControllerGetListRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerGetListRequest) 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.AioControllerGetListRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetListRequest) - private static final opi_api.storage.v1.AioControllerGetListRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerGetListRequest(); - } - - public static opi_api.storage.v1.AioControllerGetListRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AioControllerGetListRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerGetListRequest(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.AioControllerGetListRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetListRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetListRequestOrBuilder.java deleted file mode 100644 index eece3f44..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetListRequestOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -public interface AioControllerGetListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerGetListRequest) - com.google.protobuf.MessageOrBuilder { -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetStatsRequestOrBuilder.java deleted file mode 100644 index 6acfac00..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetStatsRequestOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -public interface AioControllerGetStatsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerGetStatsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. - */ - boolean hasHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. - */ - opi_api.common.v1.ObjectKey getHandle(); - /** - * .opi_api.common.v1.ObjectKey handle = 1; - */ - opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerList.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerList.java deleted file mode 100644 index a33cc769..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerList.java +++ /dev/null @@ -1,770 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.AioControllerList} - */ -public final class AioControllerList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerList) - AioControllerListOrBuilder { -private static final long serialVersionUID = 0L; - // Use AioControllerList.newBuilder() to construct. - private AioControllerList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AioControllerList() { - device_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AioControllerList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AioControllerList( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - device_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - device_.add( - input.readMessage(opi_api.storage.v1.AioController.parser(), extensionRegistry)); - 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 { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - device_ = java.util.Collections.unmodifiableList(device_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerList.class, opi_api.storage.v1.AioControllerList.Builder.class); - } - - public static final int DEVICE_FIELD_NUMBER = 1; - private java.util.List device_; - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - @java.lang.Override - public java.util.List getDeviceList() { - return device_; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - @java.lang.Override - public java.util.List - getDeviceOrBuilderList() { - return device_; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - @java.lang.Override - public int getDeviceCount() { - return device_.size(); - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - @java.lang.Override - public opi_api.storage.v1.AioController getDevice(int index) { - return device_.get(index); - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - @java.lang.Override - public opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder( - int index) { - return device_.get(index); - } - - 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 { - for (int i = 0; i < device_.size(); i++) { - output.writeMessage(1, device_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < device_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, device_.get(i)); - } - 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.AioControllerList)) { - return super.equals(obj); - } - opi_api.storage.v1.AioControllerList other = (opi_api.storage.v1.AioControllerList) obj; - - if (!getDeviceList() - .equals(other.getDeviceList())) 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 (getDeviceCount() > 0) { - hash = (37 * hash) + DEVICE_FIELD_NUMBER; - hash = (53 * hash) + getDeviceList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.AioControllerList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioControllerList 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.AioControllerList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioControllerList 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.AioControllerList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.AioControllerList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.AioControllerList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioControllerList 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.AioControllerList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioControllerList 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.AioControllerList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.AioControllerList 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.AioControllerList 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.AioControllerList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerList) - opi_api.storage.v1.AioControllerListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerList.class, opi_api.storage.v1.AioControllerList.Builder.class); - } - - // Construct using opi_api.storage.v1.AioControllerList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getDeviceFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (deviceBuilder_ == null) { - device_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - deviceBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerList_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.AioControllerList getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerList.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.AioControllerList build() { - opi_api.storage.v1.AioControllerList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.AioControllerList buildPartial() { - opi_api.storage.v1.AioControllerList result = new opi_api.storage.v1.AioControllerList(this); - int from_bitField0_ = bitField0_; - if (deviceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - device_ = java.util.Collections.unmodifiableList(device_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.device_ = device_; - } else { - result.device_ = deviceBuilder_.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.AioControllerList) { - return mergeFrom((opi_api.storage.v1.AioControllerList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.AioControllerList other) { - if (other == opi_api.storage.v1.AioControllerList.getDefaultInstance()) return this; - if (deviceBuilder_ == null) { - if (!other.device_.isEmpty()) { - if (device_.isEmpty()) { - device_ = other.device_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDeviceIsMutable(); - device_.addAll(other.device_); - } - onChanged(); - } - } else { - if (!other.device_.isEmpty()) { - if (deviceBuilder_.isEmpty()) { - deviceBuilder_.dispose(); - deviceBuilder_ = null; - device_ = other.device_; - bitField0_ = (bitField0_ & ~0x00000001); - deviceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeviceFieldBuilder() : null; - } else { - deviceBuilder_.addAllMessages(other.device_); - } - } - } - 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.AioControllerList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List device_ = - java.util.Collections.emptyList(); - private void ensureDeviceIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - device_ = new java.util.ArrayList(device_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - opi_api.storage.v1.AioController, opi_api.storage.v1.AioController.Builder, opi_api.storage.v1.AioControllerOrBuilder> deviceBuilder_; - - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public java.util.List getDeviceList() { - if (deviceBuilder_ == null) { - return java.util.Collections.unmodifiableList(device_); - } else { - return deviceBuilder_.getMessageList(); - } - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public int getDeviceCount() { - if (deviceBuilder_ == null) { - return device_.size(); - } else { - return deviceBuilder_.getCount(); - } - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public opi_api.storage.v1.AioController getDevice(int index) { - if (deviceBuilder_ == null) { - return device_.get(index); - } else { - return deviceBuilder_.getMessage(index); - } - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder setDevice( - int index, opi_api.storage.v1.AioController value) { - if (deviceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeviceIsMutable(); - device_.set(index, value); - onChanged(); - } else { - deviceBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder setDevice( - int index, opi_api.storage.v1.AioController.Builder builderForValue) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.set(index, builderForValue.build()); - onChanged(); - } else { - deviceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder addDevice(opi_api.storage.v1.AioController value) { - if (deviceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeviceIsMutable(); - device_.add(value); - onChanged(); - } else { - deviceBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder addDevice( - int index, opi_api.storage.v1.AioController value) { - if (deviceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeviceIsMutable(); - device_.add(index, value); - onChanged(); - } else { - deviceBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder addDevice( - opi_api.storage.v1.AioController.Builder builderForValue) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.add(builderForValue.build()); - onChanged(); - } else { - deviceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder addDevice( - int index, opi_api.storage.v1.AioController.Builder builderForValue) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.add(index, builderForValue.build()); - onChanged(); - } else { - deviceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder addAllDevice( - java.lang.Iterable values) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, device_); - onChanged(); - } else { - deviceBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder clearDevice() { - if (deviceBuilder_ == null) { - device_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - deviceBuilder_.clear(); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public Builder removeDevice(int index) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.remove(index); - onChanged(); - } else { - deviceBuilder_.remove(index); - } - return this; - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public opi_api.storage.v1.AioController.Builder getDeviceBuilder( - int index) { - return getDeviceFieldBuilder().getBuilder(index); - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder( - int index) { - if (deviceBuilder_ == null) { - return device_.get(index); } else { - return deviceBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public java.util.List - getDeviceOrBuilderList() { - if (deviceBuilder_ != null) { - return deviceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(device_); - } - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public opi_api.storage.v1.AioController.Builder addDeviceBuilder() { - return getDeviceFieldBuilder().addBuilder( - opi_api.storage.v1.AioController.getDefaultInstance()); - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public opi_api.storage.v1.AioController.Builder addDeviceBuilder( - int index) { - return getDeviceFieldBuilder().addBuilder( - index, opi_api.storage.v1.AioController.getDefaultInstance()); - } - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - public java.util.List - getDeviceBuilderList() { - return getDeviceFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - opi_api.storage.v1.AioController, opi_api.storage.v1.AioController.Builder, opi_api.storage.v1.AioControllerOrBuilder> - getDeviceFieldBuilder() { - if (deviceBuilder_ == null) { - deviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - opi_api.storage.v1.AioController, opi_api.storage.v1.AioController.Builder, opi_api.storage.v1.AioControllerOrBuilder>( - device_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - device_ = null; - } - return deviceBuilder_; - } - @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.AioControllerList) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerList) - private static final opi_api.storage.v1.AioControllerList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerList(); - } - - public static opi_api.storage.v1.AioControllerList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AioControllerList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerList(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.AioControllerList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerListOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerListOrBuilder.java deleted file mode 100644 index 7034b7f4..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerListOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto - -package opi_api.storage.v1; - -public interface AioControllerListOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - java.util.List - getDeviceList(); - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - opi_api.storage.v1.AioController getDevice(int index); - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - int getDeviceCount(); - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - java.util.List - getDeviceOrBuilderList(); - /** - * repeated .opi_api.storage.v1.AioController device = 1; - */ - opi_api.storage.v1.AioControllerOrBuilder getDeviceOrBuilder( - int index); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerServiceGrpc.java index 6b42f109..b9442263 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerServiceGrpc.java @@ -18,190 +18,190 @@ private AioControllerServiceGrpc() {} public static final String SERVICE_NAME = "opi_api.storage.v1.AioControllerService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAioControllerCreateMethod; + private static volatile io.grpc.MethodDescriptor getCreateAioControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioControllerCreate", - requestType = opi_api.storage.v1.AioControllerCreateRequest.class, + fullMethodName = SERVICE_NAME + '/' + "CreateAioController", + requestType = opi_api.storage.v1.CreateAioControllerRequest.class, responseType = opi_api.storage.v1.AioController.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioControllerCreateMethod() { - io.grpc.MethodDescriptor getAioControllerCreateMethod; - if ((getAioControllerCreateMethod = AioControllerServiceGrpc.getAioControllerCreateMethod) == null) { + public static io.grpc.MethodDescriptor getCreateAioControllerMethod() { + io.grpc.MethodDescriptor getCreateAioControllerMethod; + if ((getCreateAioControllerMethod = AioControllerServiceGrpc.getCreateAioControllerMethod) == null) { synchronized (AioControllerServiceGrpc.class) { - if ((getAioControllerCreateMethod = AioControllerServiceGrpc.getAioControllerCreateMethod) == null) { - AioControllerServiceGrpc.getAioControllerCreateMethod = getAioControllerCreateMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getCreateAioControllerMethod = AioControllerServiceGrpc.getCreateAioControllerMethod) == null) { + AioControllerServiceGrpc.getCreateAioControllerMethod = getCreateAioControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerCreate")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAioController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerCreateRequest.getDefaultInstance())) + opi_api.storage.v1.CreateAioControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( opi_api.storage.v1.AioController.getDefaultInstance())) - .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerCreate")) + .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("CreateAioController")) .build(); } } } - return getAioControllerCreateMethod; + return getCreateAioControllerMethod; } - private static volatile io.grpc.MethodDescriptor getAioControllerDeleteMethod; + private static volatile io.grpc.MethodDescriptor getDeleteAioControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioControllerDelete", - requestType = opi_api.storage.v1.AioControllerDeleteRequest.class, + fullMethodName = SERVICE_NAME + '/' + "DeleteAioController", + requestType = opi_api.storage.v1.DeleteAioControllerRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioControllerDeleteMethod() { - io.grpc.MethodDescriptor getAioControllerDeleteMethod; - if ((getAioControllerDeleteMethod = AioControllerServiceGrpc.getAioControllerDeleteMethod) == null) { + public static io.grpc.MethodDescriptor getDeleteAioControllerMethod() { + io.grpc.MethodDescriptor getDeleteAioControllerMethod; + if ((getDeleteAioControllerMethod = AioControllerServiceGrpc.getDeleteAioControllerMethod) == null) { synchronized (AioControllerServiceGrpc.class) { - if ((getAioControllerDeleteMethod = AioControllerServiceGrpc.getAioControllerDeleteMethod) == null) { - AioControllerServiceGrpc.getAioControllerDeleteMethod = getAioControllerDeleteMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getDeleteAioControllerMethod = AioControllerServiceGrpc.getDeleteAioControllerMethod) == null) { + AioControllerServiceGrpc.getDeleteAioControllerMethod = getDeleteAioControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerDelete")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAioController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerDeleteRequest.getDefaultInstance())) + opi_api.storage.v1.DeleteAioControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerDelete")) + .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("DeleteAioController")) .build(); } } } - return getAioControllerDeleteMethod; + return getDeleteAioControllerMethod; } - private static volatile io.grpc.MethodDescriptor getAioControllerGetMethod; + private static volatile io.grpc.MethodDescriptor getUpdateAioControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioControllerGet", - requestType = opi_api.storage.v1.AioControllerGetRequest.class, + fullMethodName = SERVICE_NAME + '/' + "UpdateAioController", + requestType = opi_api.storage.v1.UpdateAioControllerRequest.class, responseType = opi_api.storage.v1.AioController.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioControllerGetMethod() { - io.grpc.MethodDescriptor getAioControllerGetMethod; - if ((getAioControllerGetMethod = AioControllerServiceGrpc.getAioControllerGetMethod) == null) { + public static io.grpc.MethodDescriptor getUpdateAioControllerMethod() { + io.grpc.MethodDescriptor getUpdateAioControllerMethod; + if ((getUpdateAioControllerMethod = AioControllerServiceGrpc.getUpdateAioControllerMethod) == null) { synchronized (AioControllerServiceGrpc.class) { - if ((getAioControllerGetMethod = AioControllerServiceGrpc.getAioControllerGetMethod) == null) { - AioControllerServiceGrpc.getAioControllerGetMethod = getAioControllerGetMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getUpdateAioControllerMethod = AioControllerServiceGrpc.getUpdateAioControllerMethod) == null) { + AioControllerServiceGrpc.getUpdateAioControllerMethod = getUpdateAioControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerGet")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAioController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerGetRequest.getDefaultInstance())) + opi_api.storage.v1.UpdateAioControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( opi_api.storage.v1.AioController.getDefaultInstance())) - .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerGet")) + .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("UpdateAioController")) .build(); } } } - return getAioControllerGetMethod; + return getUpdateAioControllerMethod; } - private static volatile io.grpc.MethodDescriptor getAioControllerGetListMethod; + private static volatile io.grpc.MethodDescriptor getListAioControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioControllerGetList", - requestType = opi_api.storage.v1.AioControllerGetListRequest.class, - responseType = opi_api.storage.v1.AioControllerList.class, + fullMethodName = SERVICE_NAME + '/' + "ListAioController", + requestType = opi_api.storage.v1.ListAioControllerRequest.class, + responseType = opi_api.storage.v1.ListAioControllerResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioControllerGetListMethod() { - io.grpc.MethodDescriptor getAioControllerGetListMethod; - if ((getAioControllerGetListMethod = AioControllerServiceGrpc.getAioControllerGetListMethod) == null) { + public static io.grpc.MethodDescriptor getListAioControllerMethod() { + io.grpc.MethodDescriptor getListAioControllerMethod; + if ((getListAioControllerMethod = AioControllerServiceGrpc.getListAioControllerMethod) == null) { synchronized (AioControllerServiceGrpc.class) { - if ((getAioControllerGetListMethod = AioControllerServiceGrpc.getAioControllerGetListMethod) == null) { - AioControllerServiceGrpc.getAioControllerGetListMethod = getAioControllerGetListMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getListAioControllerMethod = AioControllerServiceGrpc.getListAioControllerMethod) == null) { + AioControllerServiceGrpc.getListAioControllerMethod = getListAioControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerGetList")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAioController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerGetListRequest.getDefaultInstance())) + opi_api.storage.v1.ListAioControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerList.getDefaultInstance())) - .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerGetList")) + opi_api.storage.v1.ListAioControllerResponse.getDefaultInstance())) + .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("ListAioController")) .build(); } } } - return getAioControllerGetListMethod; + return getListAioControllerMethod; } - private static volatile io.grpc.MethodDescriptor getAioControllerGetStatsMethod; + private static volatile io.grpc.MethodDescriptor getGetAioControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioControllerGetStats", - requestType = opi_api.storage.v1.AioControllerGetStatsRequest.class, - responseType = opi_api.storage.v1.AioControllerStats.class, + fullMethodName = SERVICE_NAME + '/' + "GetAioController", + requestType = opi_api.storage.v1.GetAioControllerRequest.class, + responseType = opi_api.storage.v1.AioController.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioControllerGetStatsMethod() { - io.grpc.MethodDescriptor getAioControllerGetStatsMethod; - if ((getAioControllerGetStatsMethod = AioControllerServiceGrpc.getAioControllerGetStatsMethod) == null) { + public static io.grpc.MethodDescriptor getGetAioControllerMethod() { + io.grpc.MethodDescriptor getGetAioControllerMethod; + if ((getGetAioControllerMethod = AioControllerServiceGrpc.getGetAioControllerMethod) == null) { synchronized (AioControllerServiceGrpc.class) { - if ((getAioControllerGetStatsMethod = AioControllerServiceGrpc.getAioControllerGetStatsMethod) == null) { - AioControllerServiceGrpc.getAioControllerGetStatsMethod = getAioControllerGetStatsMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getGetAioControllerMethod = AioControllerServiceGrpc.getGetAioControllerMethod) == null) { + AioControllerServiceGrpc.getGetAioControllerMethod = getGetAioControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerGetStats")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAioController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerGetStatsRequest.getDefaultInstance())) + opi_api.storage.v1.GetAioControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerStats.getDefaultInstance())) - .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerGetStats")) + opi_api.storage.v1.AioController.getDefaultInstance())) + .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("GetAioController")) .build(); } } } - return getAioControllerGetStatsMethod; + return getGetAioControllerMethod; } - private static volatile io.grpc.MethodDescriptor getAioControllerUpdateMethod; + private static volatile io.grpc.MethodDescriptor getAioControllerStatsMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AioControllerUpdate", - requestType = opi_api.storage.v1.AioControllerUpdateRequest.class, - responseType = opi_api.storage.v1.AioController.class, + fullMethodName = SERVICE_NAME + '/' + "AioControllerStats", + requestType = opi_api.storage.v1.AioControllerStatsRequest.class, + responseType = opi_api.storage.v1.AioControllerStatsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAioControllerUpdateMethod() { - io.grpc.MethodDescriptor getAioControllerUpdateMethod; - if ((getAioControllerUpdateMethod = AioControllerServiceGrpc.getAioControllerUpdateMethod) == null) { + public static io.grpc.MethodDescriptor getAioControllerStatsMethod() { + io.grpc.MethodDescriptor getAioControllerStatsMethod; + if ((getAioControllerStatsMethod = AioControllerServiceGrpc.getAioControllerStatsMethod) == null) { synchronized (AioControllerServiceGrpc.class) { - if ((getAioControllerUpdateMethod = AioControllerServiceGrpc.getAioControllerUpdateMethod) == null) { - AioControllerServiceGrpc.getAioControllerUpdateMethod = getAioControllerUpdateMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getAioControllerStatsMethod = AioControllerServiceGrpc.getAioControllerStatsMethod) == null) { + AioControllerServiceGrpc.getAioControllerStatsMethod = getAioControllerStatsMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerUpdate")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AioControllerStats")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioControllerUpdateRequest.getDefaultInstance())) + opi_api.storage.v1.AioControllerStatsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.AioController.getDefaultInstance())) - .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerUpdate")) + opi_api.storage.v1.AioControllerStatsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AioControllerServiceMethodDescriptorSupplier("AioControllerStats")) .build(); } } } - return getAioControllerUpdateMethod; + return getAioControllerStatsMethod; } /** @@ -257,90 +257,90 @@ public static abstract class AioControllerServiceImplBase implements io.grpc.Bin /** */ - public void aioControllerCreate(opi_api.storage.v1.AioControllerCreateRequest request, + public void createAioController(opi_api.storage.v1.CreateAioControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerCreateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAioControllerMethod(), responseObserver); } /** */ - public void aioControllerDelete(opi_api.storage.v1.AioControllerDeleteRequest request, + public void deleteAioController(opi_api.storage.v1.DeleteAioControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerDeleteMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAioControllerMethod(), responseObserver); } /** */ - public void aioControllerGet(opi_api.storage.v1.AioControllerGetRequest request, + public void updateAioController(opi_api.storage.v1.UpdateAioControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerGetMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAioControllerMethod(), responseObserver); } /** */ - public void aioControllerGetList(opi_api.storage.v1.AioControllerGetListRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerGetListMethod(), responseObserver); + public void listAioController(opi_api.storage.v1.ListAioControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAioControllerMethod(), responseObserver); } /** */ - public void aioControllerGetStats(opi_api.storage.v1.AioControllerGetStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerGetStatsMethod(), responseObserver); + public void getAioController(opi_api.storage.v1.GetAioControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAioControllerMethod(), responseObserver); } /** */ - public void aioControllerUpdate(opi_api.storage.v1.AioControllerUpdateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerUpdateMethod(), responseObserver); + public void aioControllerStats(opi_api.storage.v1.AioControllerStatsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAioControllerStatsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getAioControllerCreateMethod(), + getCreateAioControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioControllerCreateRequest, + opi_api.storage.v1.CreateAioControllerRequest, opi_api.storage.v1.AioController>( - this, METHODID_AIO_CONTROLLER_CREATE))) + this, METHODID_CREATE_AIO_CONTROLLER))) .addMethod( - getAioControllerDeleteMethod(), + getDeleteAioControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioControllerDeleteRequest, + opi_api.storage.v1.DeleteAioControllerRequest, com.google.protobuf.Empty>( - this, METHODID_AIO_CONTROLLER_DELETE))) + this, METHODID_DELETE_AIO_CONTROLLER))) .addMethod( - getAioControllerGetMethod(), + getUpdateAioControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioControllerGetRequest, + opi_api.storage.v1.UpdateAioControllerRequest, opi_api.storage.v1.AioController>( - this, METHODID_AIO_CONTROLLER_GET))) + this, METHODID_UPDATE_AIO_CONTROLLER))) .addMethod( - getAioControllerGetListMethod(), + getListAioControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioControllerGetListRequest, - opi_api.storage.v1.AioControllerList>( - this, METHODID_AIO_CONTROLLER_GET_LIST))) + opi_api.storage.v1.ListAioControllerRequest, + opi_api.storage.v1.ListAioControllerResponse>( + this, METHODID_LIST_AIO_CONTROLLER))) .addMethod( - getAioControllerGetStatsMethod(), + getGetAioControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioControllerGetStatsRequest, - opi_api.storage.v1.AioControllerStats>( - this, METHODID_AIO_CONTROLLER_GET_STATS))) + opi_api.storage.v1.GetAioControllerRequest, + opi_api.storage.v1.AioController>( + this, METHODID_GET_AIO_CONTROLLER))) .addMethod( - getAioControllerUpdateMethod(), + getAioControllerStatsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.AioControllerUpdateRequest, - opi_api.storage.v1.AioController>( - this, METHODID_AIO_CONTROLLER_UPDATE))) + opi_api.storage.v1.AioControllerStatsRequest, + opi_api.storage.v1.AioControllerStatsResponse>( + this, METHODID_AIO_CONTROLLER_STATS))) .build(); } } @@ -364,50 +364,50 @@ protected AioControllerServiceStub build( /** */ - public void aioControllerCreate(opi_api.storage.v1.AioControllerCreateRequest request, + public void createAioController(opi_api.storage.v1.CreateAioControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioControllerCreateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateAioControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void aioControllerDelete(opi_api.storage.v1.AioControllerDeleteRequest request, + public void deleteAioController(opi_api.storage.v1.DeleteAioControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioControllerDeleteMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteAioControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void aioControllerGet(opi_api.storage.v1.AioControllerGetRequest request, + public void updateAioController(opi_api.storage.v1.UpdateAioControllerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioControllerGetMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateAioControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void aioControllerGetList(opi_api.storage.v1.AioControllerGetListRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listAioController(opi_api.storage.v1.ListAioControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioControllerGetListMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListAioControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void aioControllerGetStats(opi_api.storage.v1.AioControllerGetStatsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getAioController(opi_api.storage.v1.GetAioControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioControllerGetStatsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetAioControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void aioControllerUpdate(opi_api.storage.v1.AioControllerUpdateRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void aioControllerStats(opi_api.storage.v1.AioControllerStatsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAioControllerUpdateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getAioControllerStatsMethod(), getCallOptions()), request, responseObserver); } } @@ -430,44 +430,44 @@ protected AioControllerServiceBlockingStub build( /** */ - public opi_api.storage.v1.AioController aioControllerCreate(opi_api.storage.v1.AioControllerCreateRequest request) { + public opi_api.storage.v1.AioController createAioController(opi_api.storage.v1.CreateAioControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioControllerCreateMethod(), getCallOptions(), request); + getChannel(), getCreateAioControllerMethod(), getCallOptions(), request); } /** */ - public com.google.protobuf.Empty aioControllerDelete(opi_api.storage.v1.AioControllerDeleteRequest request) { + public com.google.protobuf.Empty deleteAioController(opi_api.storage.v1.DeleteAioControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioControllerDeleteMethod(), getCallOptions(), request); + getChannel(), getDeleteAioControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.AioController aioControllerGet(opi_api.storage.v1.AioControllerGetRequest request) { + public opi_api.storage.v1.AioController updateAioController(opi_api.storage.v1.UpdateAioControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioControllerGetMethod(), getCallOptions(), request); + getChannel(), getUpdateAioControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.AioControllerList aioControllerGetList(opi_api.storage.v1.AioControllerGetListRequest request) { + public opi_api.storage.v1.ListAioControllerResponse listAioController(opi_api.storage.v1.ListAioControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioControllerGetListMethod(), getCallOptions(), request); + getChannel(), getListAioControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.AioControllerStats aioControllerGetStats(opi_api.storage.v1.AioControllerGetStatsRequest request) { + public opi_api.storage.v1.AioController getAioController(opi_api.storage.v1.GetAioControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioControllerGetStatsMethod(), getCallOptions(), request); + getChannel(), getGetAioControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.AioController aioControllerUpdate(opi_api.storage.v1.AioControllerUpdateRequest request) { + public opi_api.storage.v1.AioControllerStatsResponse aioControllerStats(opi_api.storage.v1.AioControllerStatsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAioControllerUpdateMethod(), getCallOptions(), request); + getChannel(), getAioControllerStatsMethod(), getCallOptions(), request); } } @@ -490,59 +490,59 @@ protected AioControllerServiceFutureStub build( /** */ - public com.google.common.util.concurrent.ListenableFuture aioControllerCreate( - opi_api.storage.v1.AioControllerCreateRequest request) { + public com.google.common.util.concurrent.ListenableFuture createAioController( + opi_api.storage.v1.CreateAioControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioControllerCreateMethod(), getCallOptions()), request); + getChannel().newCall(getCreateAioControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture aioControllerDelete( - opi_api.storage.v1.AioControllerDeleteRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteAioController( + opi_api.storage.v1.DeleteAioControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioControllerDeleteMethod(), getCallOptions()), request); + getChannel().newCall(getDeleteAioControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture aioControllerGet( - opi_api.storage.v1.AioControllerGetRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateAioController( + opi_api.storage.v1.UpdateAioControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioControllerGetMethod(), getCallOptions()), request); + getChannel().newCall(getUpdateAioControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture aioControllerGetList( - opi_api.storage.v1.AioControllerGetListRequest request) { + public com.google.common.util.concurrent.ListenableFuture listAioController( + opi_api.storage.v1.ListAioControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioControllerGetListMethod(), getCallOptions()), request); + getChannel().newCall(getListAioControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture aioControllerGetStats( - opi_api.storage.v1.AioControllerGetStatsRequest request) { + public com.google.common.util.concurrent.ListenableFuture getAioController( + opi_api.storage.v1.GetAioControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioControllerGetStatsMethod(), getCallOptions()), request); + getChannel().newCall(getGetAioControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture aioControllerUpdate( - opi_api.storage.v1.AioControllerUpdateRequest request) { + public com.google.common.util.concurrent.ListenableFuture aioControllerStats( + opi_api.storage.v1.AioControllerStatsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAioControllerUpdateMethod(), getCallOptions()), request); + getChannel().newCall(getAioControllerStatsMethod(), getCallOptions()), request); } } - private static final int METHODID_AIO_CONTROLLER_CREATE = 0; - private static final int METHODID_AIO_CONTROLLER_DELETE = 1; - private static final int METHODID_AIO_CONTROLLER_GET = 2; - private static final int METHODID_AIO_CONTROLLER_GET_LIST = 3; - private static final int METHODID_AIO_CONTROLLER_GET_STATS = 4; - private static final int METHODID_AIO_CONTROLLER_UPDATE = 5; + private static final int METHODID_CREATE_AIO_CONTROLLER = 0; + private static final int METHODID_DELETE_AIO_CONTROLLER = 1; + private static final int METHODID_UPDATE_AIO_CONTROLLER = 2; + private static final int METHODID_LIST_AIO_CONTROLLER = 3; + private static final int METHODID_GET_AIO_CONTROLLER = 4; + private static final int METHODID_AIO_CONTROLLER_STATS = 5; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -561,30 +561,30 @@ private static final class MethodHandlers implements @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { - case METHODID_AIO_CONTROLLER_CREATE: - serviceImpl.aioControllerCreate((opi_api.storage.v1.AioControllerCreateRequest) request, + case METHODID_CREATE_AIO_CONTROLLER: + serviceImpl.createAioController((opi_api.storage.v1.CreateAioControllerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_AIO_CONTROLLER_DELETE: - serviceImpl.aioControllerDelete((opi_api.storage.v1.AioControllerDeleteRequest) request, + case METHODID_DELETE_AIO_CONTROLLER: + serviceImpl.deleteAioController((opi_api.storage.v1.DeleteAioControllerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_AIO_CONTROLLER_GET: - serviceImpl.aioControllerGet((opi_api.storage.v1.AioControllerGetRequest) request, + case METHODID_UPDATE_AIO_CONTROLLER: + serviceImpl.updateAioController((opi_api.storage.v1.UpdateAioControllerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_AIO_CONTROLLER_GET_LIST: - serviceImpl.aioControllerGetList((opi_api.storage.v1.AioControllerGetListRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_AIO_CONTROLLER_GET_STATS: - serviceImpl.aioControllerGetStats((opi_api.storage.v1.AioControllerGetStatsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_LIST_AIO_CONTROLLER: + serviceImpl.listAioController((opi_api.storage.v1.ListAioControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_AIO_CONTROLLER_UPDATE: - serviceImpl.aioControllerUpdate((opi_api.storage.v1.AioControllerUpdateRequest) request, + case METHODID_GET_AIO_CONTROLLER: + serviceImpl.getAioController((opi_api.storage.v1.GetAioControllerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_AIO_CONTROLLER_STATS: + serviceImpl.aioControllerStats((opi_api.storage.v1.AioControllerStatsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -646,12 +646,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new AioControllerServiceFileDescriptorSupplier()) - .addMethod(getAioControllerCreateMethod()) - .addMethod(getAioControllerDeleteMethod()) - .addMethod(getAioControllerGetMethod()) - .addMethod(getAioControllerGetListMethod()) - .addMethod(getAioControllerGetStatsMethod()) - .addMethod(getAioControllerUpdateMethod()) + .addMethod(getCreateAioControllerMethod()) + .addMethod(getDeleteAioControllerMethod()) + .addMethod(getUpdateAioControllerMethod()) + .addMethod(getListAioControllerMethod()) + .addMethod(getGetAioControllerMethod()) + .addMethod(getAioControllerStatsMethod()) .build(); } } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStats.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java similarity index 83% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStats.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java index 08ef16e2..a56fee33 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStats.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponse.java @@ -4,18 +4,18 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.AioControllerStats} + * Protobuf type {@code opi_api.storage.v1.AioControllerStatsResponse} */ -public final class AioControllerStats extends +public final class AioControllerStatsResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerStats) - AioControllerStatsOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerStatsResponse) + AioControllerStatsResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use AioControllerStats.newBuilder() to construct. - private AioControllerStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use AioControllerStatsResponse.newBuilder() to construct. + private AioControllerStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AioControllerStats() { + private AioControllerStatsResponse() { stats_ = ""; } @@ -23,7 +23,7 @@ private AioControllerStats() { @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AioControllerStats(); + return new AioControllerStatsResponse(); } @java.lang.Override @@ -31,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private AioControllerStats( + private AioControllerStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -89,15 +89,15 @@ private AioControllerStats( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStats_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStats_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerStats.class, opi_api.storage.v1.AioControllerStats.Builder.class); + opi_api.storage.v1.AioControllerStatsResponse.class, opi_api.storage.v1.AioControllerStatsResponse.Builder.class); } public static final int HANDLE_FIELD_NUMBER = 1; @@ -210,10 +210,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.AioControllerStats)) { + if (!(obj instanceof opi_api.storage.v1.AioControllerStatsResponse)) { return super.equals(obj); } - opi_api.storage.v1.AioControllerStats other = (opi_api.storage.v1.AioControllerStats) obj; + opi_api.storage.v1.AioControllerStatsResponse other = (opi_api.storage.v1.AioControllerStatsResponse) obj; if (hasHandle() != other.hasHandle()) return false; if (hasHandle()) { @@ -244,69 +244,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse 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.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse 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.AioControllerStats parseFrom(byte[] data) + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.AioControllerStats parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse 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.AioControllerStats parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.AioControllerStatsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerStats parseDelimitedFrom( + public static opi_api.storage.v1.AioControllerStatsResponse 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.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerStats parseFrom( + public static opi_api.storage.v1.AioControllerStatsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -319,7 +319,7 @@ public static opi_api.storage.v1.AioControllerStats parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.AioControllerStats prototype) { + public static Builder newBuilder(opi_api.storage.v1.AioControllerStatsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -335,26 +335,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.AioControllerStats} + * Protobuf type {@code opi_api.storage.v1.AioControllerStatsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerStats) - opi_api.storage.v1.AioControllerStatsOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerStatsResponse) + opi_api.storage.v1.AioControllerStatsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStats_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStatsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStats_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStatsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerStats.class, opi_api.storage.v1.AioControllerStats.Builder.class); + opi_api.storage.v1.AioControllerStatsResponse.class, opi_api.storage.v1.AioControllerStatsResponse.Builder.class); } - // Construct using opi_api.storage.v1.AioControllerStats.newBuilder() + // Construct using opi_api.storage.v1.AioControllerStatsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -386,17 +386,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStats_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerStatsResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.AioControllerStats getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerStats.getDefaultInstance(); + public opi_api.storage.v1.AioControllerStatsResponse getDefaultInstanceForType() { + return opi_api.storage.v1.AioControllerStatsResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.AioControllerStats build() { - opi_api.storage.v1.AioControllerStats result = buildPartial(); + public opi_api.storage.v1.AioControllerStatsResponse build() { + opi_api.storage.v1.AioControllerStatsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -404,8 +404,8 @@ public opi_api.storage.v1.AioControllerStats build() { } @java.lang.Override - public opi_api.storage.v1.AioControllerStats buildPartial() { - opi_api.storage.v1.AioControllerStats result = new opi_api.storage.v1.AioControllerStats(this); + public opi_api.storage.v1.AioControllerStatsResponse buildPartial() { + opi_api.storage.v1.AioControllerStatsResponse result = new opi_api.storage.v1.AioControllerStatsResponse(this); if (handleBuilder_ == null) { result.handle_ = handle_; } else { @@ -450,16 +450,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioControllerStats) { - return mergeFrom((opi_api.storage.v1.AioControllerStats)other); + if (other instanceof opi_api.storage.v1.AioControllerStatsResponse) { + return mergeFrom((opi_api.storage.v1.AioControllerStatsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.AioControllerStats other) { - if (other == opi_api.storage.v1.AioControllerStats.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.AioControllerStatsResponse other) { + if (other == opi_api.storage.v1.AioControllerStatsResponse.getDefaultInstance()) return this; if (other.hasHandle()) { mergeHandle(other.getHandle()); } @@ -482,11 +482,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.AioControllerStats parsedMessage = null; + opi_api.storage.v1.AioControllerStatsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerStats) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.AioControllerStatsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,41 +703,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerStats) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerStatsResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStats) - private static final opi_api.storage.v1.AioControllerStats DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStatsResponse) + private static final opi_api.storage.v1.AioControllerStatsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerStats(); + DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerStatsResponse(); } - public static opi_api.storage.v1.AioControllerStats getDefaultInstance() { + public static opi_api.storage.v1.AioControllerStatsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AioControllerStats parsePartialFrom( + public AioControllerStatsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerStats(input, extensionRegistry); + return new AioControllerStatsResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.AioControllerStats getDefaultInstanceForType() { + public opi_api.storage.v1.AioControllerStatsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java similarity index 90% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java index 18f720c7..50e6fe31 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerStatsResponseOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface AioControllerStatsOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerStats) +public interface AioControllerStatsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerStatsResponse) com.google.protobuf.MessageOrBuilder { /** 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..63f19c3f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendAioProto.java @@ -20,50 +20,45 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_AioController_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor; + internal_static_opi_api_storage_v1_CreateAioControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerCreateRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_CreateAioControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor; + internal_static_opi_api_storage_v1_DeleteAioControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerDeleteRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_DeleteAioControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor; + internal_static_opi_api_storage_v1_UpdateAioControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerUpdateRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_UpdateAioControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerList_descriptor; + internal_static_opi_api_storage_v1_ListAioControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerList_fieldAccessorTable; + internal_static_opi_api_storage_v1_ListAioControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerGetRequest_descriptor; + internal_static_opi_api_storage_v1_ListAioControllerResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerGetRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_ListAioControllerResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerGetListRequest_descriptor; + internal_static_opi_api_storage_v1_GetAioControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerGetListRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_GetAioControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_opi_api_storage_v1_AioControllerStatsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_AioControllerStatsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_AioControllerStats_descriptor; + internal_static_opi_api_storage_v1_AioControllerStatsResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_AioControllerStats_fieldAccessorTable; + internal_static_opi_api_storage_v1_AioControllerStatsResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -74,53 +69,59 @@ public static void registerAllExtensions( static { java.lang.String[] descriptorData = { "\n\021backend_aio.proto\022\022opi_api.storage.v1\032" + - "\033google/protobuf/empty.proto\032\020object_key" + - ".proto\032\nuuid.proto\"\240\001\n\rAioController\022,\n\006" + - "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" + - "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" + "\033google/protobuf/empty.proto\032\034google/api" + + "/annotations.proto\032\020object_key.proto\032\nuu" + + "id.proto\"\240\001\n\rAioController\022,\n\006handle\030\001 \001" + + "(\0132\034.opi_api.common.v1.ObjectKey\022\022\n\nbloc" + + "k_size\030\002 \001(\003\022\024\n\014blocks_count\030\003 \001(\003\022%\n\004uu" + + "id\030\004 \001(\0132\027.opi_api.common.v1.Uuid\022\020\n\010fil" + + "ename\030\005 \001(\t\"O\n\032CreateAioControllerReques" + + "t\0221\n\006device\030\001 \001(\0132!.opi_api.storage.v1.A" + + "ioController\"J\n\032DeleteAioControllerReque" + + "st\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.O" + + "bjectKey\"O\n\032UpdateAioControllerRequest\0221" + + "\n\006device\030\001 \001(\0132!.opi_api.storage.v1.AioC" + + "ontroller\"A\n\030ListAioControllerRequest\022\021\n" + + "\tpage_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"h\n\031" + + "ListAioControllerResponse\0222\n\007devices\030\001 \003" + + "(\0132!.opi_api.storage.v1.AioController\022\027\n" + + "\017next_page_token\030\002 \001(\t\"G\n\027GetAioControll" + + "erRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.comm" + + "on.v1.ObjectKey\"I\n\031AioControllerStatsReq" + + "uest\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1" + + ".ObjectKey\"Y\n\032AioControllerStatsResponse" + + "\022,\n\006handle\030\001 \001(\0132\034.opi_api.common.v1.Obj" + + "ectKey\022\r\n\005stats\030\002 \001(\t2\301\006\n\024AioControllerS" + + "ervice\022\213\001\n\023CreateAioController\022..opi_api" + + ".storage.v1.CreateAioControllerRequest\032!" + + ".opi_api.storage.v1.AioController\"!\202\323\344\223\002" + + "\033\"\016/v1/subsystems:\tsubsystem\022\201\001\n\023DeleteA" + + "ioController\022..opi_api.storage.v1.Delete" + + "AioControllerRequest\032\026.google.protobuf.E" + + "mpty\"\"\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}" + + "\022\213\001\n\023UpdateAioController\022..opi_api.stora" + + "ge.v1.UpdateAioControllerRequest\032!.opi_a" + + "pi.storage.v1.AioController\"!\202\323\344\223\002\0332\016/v1" + + "/subsystems:\tsubsystem\022\210\001\n\021ListAioContro" + + "ller\022,.opi_api.storage.v1.ListAioControl" + + "lerRequest\032-.opi_api.storage.v1.ListAioC" + + "ontrollerResponse\"\026\202\323\344\223\002\020\022\016/v1/subsystem" + + "s\022\206\001\n\020GetAioController\022+.opi_api.storage" + + ".v1.GetAioControllerRequest\032!.opi_api.st" + + "orage.v1.AioController\"\"\202\323\344\223\002\034\022\032/v1/subs" + + "ystems/{subsystem}\022u\n\022AioControllerStats" + + "\022-.opi_api.storage.v1.AioControllerStats" + + "Request\032..opi_api.storage.v1.AioControll" + + "erStatsResponse\"\000B^\n\022opi_api.storage.v1B" + + "\017BackendAioProtoP\001Z5github.com/opiprojec" + + "t/opi-api/storage/v1alpha1/gen/gob\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.EmptyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), opi_api.common.v1.ObjectKeyProto.getDescriptor(), opi_api.common.v1.UuidProto.getDescriptor(), }); @@ -130,61 +131,61 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_AioController_descriptor, new java.lang.String[] { "Handle", "BlockSize", "BlocksCount", "Uuid", "Filename", }); - internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor = + internal_static_opi_api_storage_v1_CreateAioControllerRequest_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_opi_api_storage_v1_AioControllerCreateRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_CreateAioControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor, + internal_static_opi_api_storage_v1_CreateAioControllerRequest_descriptor, new java.lang.String[] { "Device", }); - internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor = + internal_static_opi_api_storage_v1_DeleteAioControllerRequest_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_opi_api_storage_v1_AioControllerDeleteRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_DeleteAioControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor, + internal_static_opi_api_storage_v1_DeleteAioControllerRequest_descriptor, new java.lang.String[] { "Handle", }); - internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor = + internal_static_opi_api_storage_v1_UpdateAioControllerRequest_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_opi_api_storage_v1_AioControllerUpdateRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_UpdateAioControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor, + internal_static_opi_api_storage_v1_UpdateAioControllerRequest_descriptor, new java.lang.String[] { "Device", }); - internal_static_opi_api_storage_v1_AioControllerList_descriptor = + internal_static_opi_api_storage_v1_ListAioControllerRequest_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_opi_api_storage_v1_AioControllerList_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ListAioControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerList_descriptor, - new java.lang.String[] { "Device", }); - internal_static_opi_api_storage_v1_AioControllerGetRequest_descriptor = + internal_static_opi_api_storage_v1_ListAioControllerRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", }); + internal_static_opi_api_storage_v1_ListAioControllerResponse_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_opi_api_storage_v1_AioControllerGetRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ListAioControllerResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerGetRequest_descriptor, - new java.lang.String[] { "Handle", }); - internal_static_opi_api_storage_v1_AioControllerGetListRequest_descriptor = + internal_static_opi_api_storage_v1_ListAioControllerResponse_descriptor, + new java.lang.String[] { "Devices", "NextPageToken", }); + internal_static_opi_api_storage_v1_GetAioControllerRequest_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_opi_api_storage_v1_AioControllerGetListRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_GetAioControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerGetListRequest_descriptor, - new java.lang.String[] { }); - internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_descriptor, + internal_static_opi_api_storage_v1_GetAioControllerRequest_descriptor, new java.lang.String[] { "Handle", }); internal_static_opi_api_storage_v1_AioControllerStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(7); internal_static_opi_api_storage_v1_AioControllerStatsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_AioControllerStatsRequest_descriptor, new java.lang.String[] { "Handle", }); - internal_static_opi_api_storage_v1_AioControllerStats_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_opi_api_storage_v1_AioControllerStats_fieldAccessorTable = new + internal_static_opi_api_storage_v1_AioControllerStatsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_opi_api_storage_v1_AioControllerStatsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_AioControllerStats_descriptor, + internal_static_opi_api_storage_v1_AioControllerStatsResponse_descriptor, new java.lang.String[] { "Handle", "Stats", }); + 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); com.google.protobuf.EmptyProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); opi_api.common.v1.ObjectKeyProto.getDescriptor(); opi_api.common.v1.UuidProto.getDescriptor(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java index 1169430e..1d820392 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNullProto.java @@ -20,35 +20,35 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_NullDebug_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor; + internal_static_opi_api_storage_v1_CreateNullDebugRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullDebugCreateRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_CreateNullDebugRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor; + internal_static_opi_api_storage_v1_DeleteNullDebugRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullDebugDeleteRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_DeleteNullDebugRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor; + internal_static_opi_api_storage_v1_UpdateNullDebugRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullDebugUpdateRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_UpdateNullDebugRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor; + internal_static_opi_api_storage_v1_ListNullDebugRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullDebugListRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_ListNullDebugRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullDebugListResponse_descriptor; + internal_static_opi_api_storage_v1_ListNullDebugResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullDebugListResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_ListNullDebugResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NullDebugGetRequest_descriptor; + internal_static_opi_api_storage_v1_GetNullDebugRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NullDebugGetRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_GetNullDebugRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_opi_api_storage_v1_NullDebugStatsRequest_descriptor; static final @@ -69,48 +69,55 @@ public static void registerAllExtensions( static { java.lang.String[] descriptorData = { "\n\022backend_null.proto\022\022opi_api.storage.v1" + - "\032\033google/protobuf/empty.proto\032\020object_ke" + - "y.proto\032\nuuid.proto\"\212\001\n\tNullDebug\022,\n\006han" + - "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" + "\032\033google/protobuf/empty.proto\032\034google/ap" + + "i/annotations.proto\032\020object_key.proto\032\nu" + + "uid.proto\"\212\001\n\tNullDebug\022,\n\006handle\030\001 \001(\0132" + + "\034.opi_api.common.v1.ObjectKey\022\022\n\nblock_s" + + "ize\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\026Create" + + "NullDebugRequest\022-\n\006device\030\001 \001(\0132\035.opi_a" + + "pi.storage.v1.NullDebug\"F\n\026DeleteNullDeb" + + "ugRequest\022,\n\006handle\030\001 \001(\0132\034.opi_api.comm" + + "on.v1.ObjectKey\"G\n\026UpdateNullDebugReques" + + "t\022-\n\006device\030\001 \001(\0132\035.opi_api.storage.v1.N" + + "ullDebug\"=\n\024ListNullDebugRequest\022\021\n\tpage" + + "_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"`\n\025ListN" + + "ullDebugResponse\022.\n\007devices\030\001 \003(\0132\035.opi_" + + "api.storage.v1.NullDebug\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"C\n\023GetNullDebugRequest\022,\n\006hand" + + "le\030\001 \001(\0132\034.opi_api.common.v1.ObjectKey\"E" + + "\n\025NullDebugStatsRequest\022,\n\006handle\030\001 \001(\0132" + + "\034.opi_api.common.v1.ObjectKey\"U\n\026NullDeb" + + "ugStatsResponse\022,\n\006handle\030\001 \001(\0132\034.opi_ap" + + "i.common.v1.ObjectKey\022\r\n\005stats\030\002 \001(\t2\364\005\n" + + "\020NullDebugService\022\177\n\017CreateNullDebug\022*.o" + + "pi_api.storage.v1.CreateNullDebugRequest" + + "\032\035.opi_api.storage.v1.NullDebug\"!\202\323\344\223\002\033\"" + + "\016/v1/subsystems:\tsubsystem\022y\n\017DeleteNull" + + "Debug\022*.opi_api.storage.v1.DeleteNullDeb" + + "ugRequest\032\026.google.protobuf.Empty\"\"\202\323\344\223\002" + + "\034*\032/v1/subsystems/{subsystem}\022\177\n\017UpdateN" + + "ullDebug\022*.opi_api.storage.v1.UpdateNull" + + "DebugRequest\032\035.opi_api.storage.v1.NullDe" + + "bug\"!\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem\022|" + + "\n\rListNullDebug\022(.opi_api.storage.v1.Lis" + + "tNullDebugRequest\032).opi_api.storage.v1.L" + + "istNullDebugResponse\"\026\202\323\344\223\002\020\022\016/v1/subsys" + + "tems\022z\n\014GetNullDebug\022\'.opi_api.storage.v" + + "1.GetNullDebugRequest\032\035.opi_api.storage." + + "v1.NullDebug\"\"\202\323\344\223\002\034\022\032/v1/subsystems/{su" + + "bsystem}\022i\n\016NullDebugStats\022).opi_api.sto" + + "rage.v1.NullDebugStatsRequest\032*.opi_api." + + "storage.v1.NullDebugStatsResponse\"\000B_\n\022o" + + "pi_api.storage.v1B\020BackendNullProtoP\001Z5g" + + "ithub.com/opiproject/opi-api/storage/v1a" + + "lpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.EmptyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), opi_api.common.v1.ObjectKeyProto.getDescriptor(), opi_api.common.v1.UuidProto.getDescriptor(), }); @@ -120,41 +127,41 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NullDebug_descriptor, new java.lang.String[] { "Handle", "BlockSize", "BlocksCount", "Uuid", }); - internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor = + internal_static_opi_api_storage_v1_CreateNullDebugRequest_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_opi_api_storage_v1_NullDebugCreateRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_CreateNullDebugRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor, + internal_static_opi_api_storage_v1_CreateNullDebugRequest_descriptor, new java.lang.String[] { "Device", }); - internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor = + internal_static_opi_api_storage_v1_DeleteNullDebugRequest_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_opi_api_storage_v1_NullDebugDeleteRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_DeleteNullDebugRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor, + internal_static_opi_api_storage_v1_DeleteNullDebugRequest_descriptor, new java.lang.String[] { "Handle", }); - internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor = + internal_static_opi_api_storage_v1_UpdateNullDebugRequest_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_opi_api_storage_v1_NullDebugUpdateRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_UpdateNullDebugRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor, + internal_static_opi_api_storage_v1_UpdateNullDebugRequest_descriptor, new java.lang.String[] { "Device", }); - internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor = + internal_static_opi_api_storage_v1_ListNullDebugRequest_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_opi_api_storage_v1_NullDebugListRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ListNullDebugRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor, - new java.lang.String[] { }); - internal_static_opi_api_storage_v1_NullDebugListResponse_descriptor = + internal_static_opi_api_storage_v1_ListNullDebugRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", }); + internal_static_opi_api_storage_v1_ListNullDebugResponse_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_opi_api_storage_v1_NullDebugListResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ListNullDebugResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullDebugListResponse_descriptor, - new java.lang.String[] { "Device", }); - internal_static_opi_api_storage_v1_NullDebugGetRequest_descriptor = + internal_static_opi_api_storage_v1_ListNullDebugResponse_descriptor, + new java.lang.String[] { "Devices", "NextPageToken", }); + internal_static_opi_api_storage_v1_GetNullDebugRequest_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_opi_api_storage_v1_NullDebugGetRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_GetNullDebugRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NullDebugGetRequest_descriptor, + internal_static_opi_api_storage_v1_GetNullDebugRequest_descriptor, new java.lang.String[] { "Handle", }); internal_static_opi_api_storage_v1_NullDebugStatsRequest_descriptor = getDescriptor().getMessageTypes().get(7); @@ -168,7 +175,13 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NullDebugStatsResponse_descriptor, new java.lang.String[] { "Handle", "Stats", }); + 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); com.google.protobuf.EmptyProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); opi_api.common.v1.ObjectKeyProto.getDescriptor(); opi_api.common.v1.UuidProto.getDescriptor(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java index 7dac58a4..06a271a0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/BackendNvmeTcpProto.java @@ -20,55 +20,40 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_opi_api_storage_v1_NVMfRemoteController_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_descriptor; + internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_descriptor; + internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_descriptor; + internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_descriptor; + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_descriptor; + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_descriptor; + internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_fieldAccessorTable; + internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_descriptor; + internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_fieldAccessorTable; + internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsRequest_descriptor; static final @@ -89,74 +74,85 @@ public static void registerAllExtensions( static { java.lang.String[] descriptorData = { "\n\026backend_nvme_tcp.proto\022\022opi_api.storag" + - "e.v1\"\323\002\n\024NVMfRemoteController\022\n\n\002id\030\001 \001(" + - "\003\0225\n\006trtype\030\002 \001(\0162%.opi_api.storage.v1.N" + - "vmeTransportType\0225\n\006adrfam\030\003 \001(\0162%.opi_a" + - "pi.storage.v1.NvmeAddressFamily\022\016\n\006tradd" + - "r\030\004 \001(\t\022\017\n\007trsvcid\030\005 \001(\003\022\016\n\006subnqn\030\006 \001(\t" + - "\022\r\n\005hdgst\030\007 \001(\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmultip" + - "ath\030\t \001(\0162!.opi_api.storage.v1.NvmeMulti" + - "path\022\027\n\017io_queues_count\030\n \001(\003\022\022\n\nqueue_s" + - "ize\030\013 \001(\003\022\017\n\007hostnqn\030\014 \001(\t\"\\\n\"NVMfRemote" + - "ControllerConnectRequest\0226\n\004ctrl\030\001 \001(\0132(" + - ".opi_api.storage.v1.NVMfRemoteController" + - "\"%\n#NVMfRemoteControllerConnectResponse\"" + - "3\n%NVMfRemoteControllerDisconnectRequest" + - "\022\n\n\002id\030\001 \001(\003\"(\n&NVMfRemoteControllerDisc" + - "onnectResponse\".\n NVMfRemoteControllerRe" + - "setRequest\022\n\n\002id\030\001 \001(\003\"#\n!NVMfRemoteCont" + - "rollerResetResponse\"-\n\037NVMfRemoteControl" + - "lerListRequest\022\n\n\002id\030\001 \001(\003\"Z\n NVMfRemote" + - "ControllerListResponse\0226\n\004ctrl\030\001 \003(\0132(.o" + - "pi_api.storage.v1.NVMfRemoteController\"," + - "\n\036NVMfRemoteControllerGetRequest\022\n\n\002id\030\001" + - " \001(\003\"Y\n\037NVMfRemoteControllerGetResponse\022" + - "6\n\004ctrl\030\001 \001(\0132(.opi_api.storage.v1.NVMfR" + - "emoteController\".\n NVMfRemoteControllerS" + - "tatsRequest\022\n\n\002id\030\001 \001(\003\">\n!NVMfRemoteCon" + - "trollerStatsResponse\022\n\n\002id\030\001 \001(\003\022\r\n\005stat" + - "s\030\002 \001(\t*\264\001\n\021NvmeTransportType\022#\n\037NVME_TR" + - "ANSPORT_TYPE_UNSPECIFIED\020\000\022\025\n\021NVME_TRANS" + - "PORT_FC\020\001\022\027\n\023NVME_TRANSPORT_PCIE\020\002\022\027\n\023NV" + - "ME_TRANSPORT_RDMA\020\003\022\026\n\022NVME_TRANSPORT_TC" + - "P\020\004\022\031\n\025NVME_TRANSPORT_CUSTOM\020\005*\250\001\n\021NvmeA" + - "ddressFamily\022#\n\037NVME_ADDRESS_FAMILY_UNSP" + - "ECIFIED\020\000\022\024\n\020NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF_" + - "ADRFAM_IPV6\020\002\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NVM" + - "F_ADRFAM_FC\020\004\022\032\n\026NVMF_ADRFAM_INTRA_HOST\020" + - "\005*\206\001\n\rNvmeMultipath\022\036\n\032NVME_MULTIPATH_UN" + - "SPECIFIED\020\000\022\032\n\026NVME_MULTIPATH_DISABLE\020\001\022" + - "\033\n\027NVME_MULTIPATH_FAILOVER\020\002\022\034\n\030NVME_MUL" + - "TIPATH_MULTIPATH\020\0032\367\006\n\033NVMfRemoteControl" + - "lerService\022\220\001\n\033NVMfRemoteControllerConne" + - "ct\0226.opi_api.storage.v1.NVMfRemoteContro" + - "llerConnectRequest\0327.opi_api.storage.v1." + - "NVMfRemoteControllerConnectResponse\"\000\022\231\001" + - "\n\036NVMfRemoteControllerDisconnect\0229.opi_a" + - "pi.storage.v1.NVMfRemoteControllerDiscon" + - "nectRequest\032:.opi_api.storage.v1.NVMfRem" + - "oteControllerDisconnectResponse\"\000\022\212\001\n\031NV" + - "MfRemoteControllerReset\0224.opi_api.storag" + - "e.v1.NVMfRemoteControllerResetRequest\0325." + - "opi_api.storage.v1.NVMfRemoteControllerR" + - "esetResponse\"\000\022\207\001\n\030NVMfRemoteControllerL" + - "ist\0223.opi_api.storage.v1.NVMfRemoteContr" + - "ollerListRequest\0324.opi_api.storage.v1.NV" + - "MfRemoteControllerListResponse\"\000\022\204\001\n\027NVM" + - "fRemoteControllerGet\0222.opi_api.storage.v" + - "1.NVMfRemoteControllerGetRequest\0323.opi_a" + - "pi.storage.v1.NVMfRemoteControllerGetRes" + - "ponse\"\000\022\212\001\n\031NVMfRemoteControllerStats\0224." + - "opi_api.storage.v1.NVMfRemoteControllerS" + - "tatsRequest\0325.opi_api.storage.v1.NVMfRem" + - "oteControllerStatsResponse\"\000Bb\n\022opi_api." + - "storage.v1B\023BackendNvmeTcpProtoP\001Z5githu" + - "b.com/opiproject/opi-api/storage/v1alpha" + - "1/gen/gob\006proto3" + "e.v1\032\033google/protobuf/empty.proto\032\034googl" + + "e/api/annotations.proto\032\020object_key.prot" + + "o\"\361\002\n\024NVMfRemoteController\022(\n\002id\030\001 \001(\0132\034" + + ".opi_api.common.v1.ObjectKey\0225\n\006trtype\030\002" + + " \001(\0162%.opi_api.storage.v1.NvmeTransportT" + + "ype\0225\n\006adrfam\030\003 \001(\0162%.opi_api.storage.v1" + + ".NvmeAddressFamily\022\016\n\006traddr\030\004 \001(\t\022\017\n\007tr" + + "svcid\030\005 \001(\003\022\016\n\006subnqn\030\006 \001(\t\022\r\n\005hdgst\030\007 \001" + + "(\010\022\r\n\005ddgst\030\010 \001(\010\0224\n\tmultipath\030\t \001(\0162!.o" + + "pi_api.storage.v1.NvmeMultipath\022\027\n\017io_qu" + + "eues_count\030\n \001(\003\022\022\n\nqueue_size\030\013 \001(\003\022\017\n\007" + + "hostnqn\030\014 \001(\t\"[\n!CreateNVMfRemoteControl" + + "lerRequest\0226\n\004ctrl\030\001 \001(\0132(.opi_api.stora" + + "ge.v1.NVMfRemoteController\"M\n!DeleteNVMf" + + "RemoteControllerRequest\022(\n\002id\030\001 \001(\0132\034.op" + + "i_api.common.v1.ObjectKey\"[\n!UpdateNVMfR" + + "emoteControllerRequest\0226\n\004ctrl\030\001 \001(\0132(.o" + + "pi_api.storage.v1.NVMfRemoteController\"H" + + "\n\037ListNVMfRemoteControllerRequest\022\021\n\tpag" + + "e_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"t\n List" + + "NVMfRemoteControllerResponse\0227\n\005ctrls\030\001 " + + "\003(\0132(.opi_api.storage.v1.NVMfRemoteContr" + + "oller\022\027\n\017next_page_token\030\002 \001(\t\"J\n\036GetNVM" + + "fRemoteControllerRequest\022(\n\002id\030\001 \001(\0132\034.o" + + "pi_api.common.v1.ObjectKey\"L\n NVMfRemote" + + "ControllerResetRequest\022(\n\002id\030\001 \001(\0132\034.opi" + + "_api.common.v1.ObjectKey\"L\n NVMfRemoteCo" + + "ntrollerStatsRequest\022(\n\002id\030\001 \001(\0132\034.opi_a" + + "pi.common.v1.ObjectKey\"2\n!NVMfRemoteCont" + + "rollerStatsResponse\022\r\n\005stats\030\001 \001(\t*\264\001\n\021N" + + "vmeTransportType\022#\n\037NVME_TRANSPORT_TYPE_" + + "UNSPECIFIED\020\000\022\025\n\021NVME_TRANSPORT_FC\020\001\022\027\n\023" + + "NVME_TRANSPORT_PCIE\020\002\022\027\n\023NVME_TRANSPORT_" + + "RDMA\020\003\022\026\n\022NVME_TRANSPORT_TCP\020\004\022\031\n\025NVME_T" + + "RANSPORT_CUSTOM\020\005*\250\001\n\021NvmeAddressFamily\022" + + "#\n\037NVME_ADDRESS_FAMILY_UNSPECIFIED\020\000\022\024\n\020" + + "NVMF_ADRFAM_IPV4\020\001\022\024\n\020NVMF_ADRFAM_IPV6\020\002" + + "\022\022\n\016NVMF_ADRFAM_IB\020\003\022\022\n\016NVMF_ADRFAM_FC\020\004" + + "\022\032\n\026NVMF_ADRFAM_INTRA_HOST\020\005*\206\001\n\rNvmeMul" + + "tipath\022\036\n\032NVME_MULTIPATH_UNSPECIFIED\020\000\022\032" + + "\n\026NVME_MULTIPATH_DISABLE\020\001\022\033\n\027NVME_MULTI" + + "PATH_FAILOVER\020\002\022\034\n\030NVME_MULTIPATH_MULTIP" + + "ATH\020\0032\255\010\n\033NVMfRemoteControllerService\022\240\001" + + "\n\032CreateNVMfRemoteController\0225.opi_api.s" + + "torage.v1.CreateNVMfRemoteControllerRequ" + + "est\032(.opi_api.storage.v1.NVMfRemoteContr" + + "oller\"!\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsystem" + + "\022\217\001\n\032DeleteNVMfRemoteController\0225.opi_ap" + + "i.storage.v1.DeleteNVMfRemoteControllerR" + + "equest\032\026.google.protobuf.Empty\"\"\202\323\344\223\002\034*\032" + + "/v1/subsystems/{subsystem}\022\240\001\n\032UpdateNVM" + + "fRemoteController\0225.opi_api.storage.v1.U" + + "pdateNVMfRemoteControllerRequest\032(.opi_a" + + "pi.storage.v1.NVMfRemoteController\"!\202\323\344\223" + + "\002\0332\016/v1/subsystems:\tsubsystem\022\235\001\n\030ListNV" + + "MfRemoteController\0223.opi_api.storage.v1." + + "ListNVMfRemoteControllerRequest\0324.opi_ap" + + "i.storage.v1.ListNVMfRemoteControllerRes" + + "ponse\"\026\202\323\344\223\002\020\022\016/v1/subsystems\022\233\001\n\027GetNVM" + + "fRemoteController\0222.opi_api.storage.v1.G" + + "etNVMfRemoteControllerRequest\032(.opi_api." + + "storage.v1.NVMfRemoteController\"\"\202\323\344\223\002\034\022" + + "\032/v1/subsystems/{subsystem}\022k\n\031NVMfRemot" + + "eControllerReset\0224.opi_api.storage.v1.NV" + + "MfRemoteControllerResetRequest\032\026.google." + + "protobuf.Empty\"\000\022\212\001\n\031NVMfRemoteControlle" + + "rStats\0224.opi_api.storage.v1.NVMfRemoteCo" + + "ntrollerStatsRequest\0325.opi_api.storage.v" + + "1.NVMfRemoteControllerStatsResponse\"\000Bb\n" + + "\022opi_api.storage.v1B\023BackendNvmeTcpProto" + + "P\001Z5github.com/opiproject/opi-api/storag" + + "e/v1alpha1/gen/gob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + opi_api.common.v1.ObjectKeyProto.getDescriptor(), }); internal_static_opi_api_storage_v1_NVMfRemoteController_descriptor = getDescriptor().getMessageTypes().get(0); @@ -164,78 +160,68 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NVMfRemoteController_descriptor, new java.lang.String[] { "Id", "Trtype", "Adrfam", "Traddr", "Trsvcid", "Subnqn", "Hdgst", "Ddgst", "Multipath", "IoQueuesCount", "QueueSize", "Hostnqn", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_descriptor = + internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_descriptor, + internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_descriptor, new java.lang.String[] { "Ctrl", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_descriptor = + internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_descriptor, - new java.lang.String[] { }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_descriptor = + internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_descriptor, + new java.lang.String[] { "Id", }); + internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_descriptor = + internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_descriptor, + new java.lang.String[] { "Ctrl", }); + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_descriptor, - new java.lang.String[] { }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_descriptor = + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_descriptor, + new java.lang.String[] { "PageSize", "PageToken", }); + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_descriptor, - new java.lang.String[] { "Id", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_descriptor = + internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_descriptor, + new java.lang.String[] { "Ctrls", "NextPageToken", }); + internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_descriptor, - new java.lang.String[] { }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_descriptor, + internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_descriptor, new java.lang.String[] { "Id", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_descriptor, - new java.lang.String[] { "Ctrl", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_fieldAccessorTable = new + internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_descriptor, + internal_static_opi_api_storage_v1_NVMfRemoteControllerResetRequest_descriptor, new java.lang.String[] { "Id", }); - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_descriptor, - new java.lang.String[] { "Ctrl", }); internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(8); internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(9); internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_opi_api_storage_v1_NVMfRemoteControllerStatsResponse_descriptor, - new java.lang.String[] { "Id", "Stats", }); + new java.lang.String[] { "Stats", }); + 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); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + opi_api.common.v1.ObjectKeyProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioControllerRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioControllerRequest.java index 62fdf0b8..02be7cd5 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioControllerRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.AioControllerCreateRequest} + * Protobuf type {@code opi_api.storage.v1.CreateAioControllerRequest} */ -public final class AioControllerCreateRequest extends +public final class CreateAioControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerCreateRequest) - AioControllerCreateRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.CreateAioControllerRequest) + CreateAioControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use AioControllerCreateRequest.newBuilder() to construct. - private AioControllerCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CreateAioControllerRequest.newBuilder() to construct. + private CreateAioControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AioControllerCreateRequest() { + private CreateAioControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AioControllerCreateRequest(); + return new CreateAioControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private AioControllerCreateRequest( + private CreateAioControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private AioControllerCreateRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_CreateAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerCreateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_CreateAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerCreateRequest.class, opi_api.storage.v1.AioControllerCreateRequest.Builder.class); + opi_api.storage.v1.CreateAioControllerRequest.class, opi_api.storage.v1.CreateAioControllerRequest.Builder.class); } public static final int DEVICE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.AioControllerCreateRequest)) { + if (!(obj instanceof opi_api.storage.v1.CreateAioControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.AioControllerCreateRequest other = (opi_api.storage.v1.AioControllerCreateRequest) obj; + opi_api.storage.v1.CreateAioControllerRequest other = (opi_api.storage.v1.CreateAioControllerRequest) obj; if (hasDevice() != other.hasDevice()) return false; if (hasDevice()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest 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.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest 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.AioControllerCreateRequest parseFrom(byte[] data) + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest 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.AioControllerCreateRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.CreateAioControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerCreateRequest parseDelimitedFrom( + public static opi_api.storage.v1.CreateAioControllerRequest 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.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( + public static opi_api.storage.v1.CreateAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.AioControllerCreateRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.AioControllerCreateRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.CreateAioControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.AioControllerCreateRequest} + * Protobuf type {@code opi_api.storage.v1.CreateAioControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerCreateRequest) - opi_api.storage.v1.AioControllerCreateRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.CreateAioControllerRequest) + opi_api.storage.v1.CreateAioControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_CreateAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerCreateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_CreateAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerCreateRequest.class, opi_api.storage.v1.AioControllerCreateRequest.Builder.class); + opi_api.storage.v1.CreateAioControllerRequest.class, opi_api.storage.v1.CreateAioControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.AioControllerCreateRequest.newBuilder() + // Construct using opi_api.storage.v1.CreateAioControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerCreateRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_CreateAioControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.AioControllerCreateRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerCreateRequest.getDefaultInstance(); + public opi_api.storage.v1.CreateAioControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.CreateAioControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.AioControllerCreateRequest build() { - opi_api.storage.v1.AioControllerCreateRequest result = buildPartial(); + public opi_api.storage.v1.CreateAioControllerRequest build() { + opi_api.storage.v1.CreateAioControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.AioControllerCreateRequest build() { } @java.lang.Override - public opi_api.storage.v1.AioControllerCreateRequest buildPartial() { - opi_api.storage.v1.AioControllerCreateRequest result = new opi_api.storage.v1.AioControllerCreateRequest(this); + public opi_api.storage.v1.CreateAioControllerRequest buildPartial() { + opi_api.storage.v1.CreateAioControllerRequest result = new opi_api.storage.v1.CreateAioControllerRequest(this); if (deviceBuilder_ == null) { result.device_ = device_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioControllerCreateRequest) { - return mergeFrom((opi_api.storage.v1.AioControllerCreateRequest)other); + if (other instanceof opi_api.storage.v1.CreateAioControllerRequest) { + return mergeFrom((opi_api.storage.v1.CreateAioControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.AioControllerCreateRequest other) { - if (other == opi_api.storage.v1.AioControllerCreateRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.CreateAioControllerRequest other) { + if (other == opi_api.storage.v1.CreateAioControllerRequest.getDefaultInstance()) return this; if (other.hasDevice()) { mergeDevice(other.getDevice()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.AioControllerCreateRequest parsedMessage = null; + opi_api.storage.v1.CreateAioControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerCreateRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.CreateAioControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerCreateRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.CreateAioControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerCreateRequest) - private static final opi_api.storage.v1.AioControllerCreateRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateAioControllerRequest) + private static final opi_api.storage.v1.CreateAioControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerCreateRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.CreateAioControllerRequest(); } - public static opi_api.storage.v1.AioControllerCreateRequest getDefaultInstance() { + public static opi_api.storage.v1.CreateAioControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AioControllerCreateRequest parsePartialFrom( + public CreateAioControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerCreateRequest(input, extensionRegistry); + return new CreateAioControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.AioControllerCreateRequest getDefaultInstanceForType() { + public opi_api.storage.v1.CreateAioControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioControllerRequestOrBuilder.java similarity index 87% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioControllerRequestOrBuilder.java index 7ab94431..1ae2034f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateAioControllerRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface AioControllerUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerUpdateRequest) +public interface CreateAioControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.CreateAioControllerRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMfRemoteControllerRequest.java similarity index 77% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMfRemoteControllerRequest.java index 438c2f0c..3e695ece 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMfRemoteControllerRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerConnectRequest} + * Protobuf type {@code opi_api.storage.v1.CreateNVMfRemoteControllerRequest} */ -public final class NVMfRemoteControllerConnectRequest extends +public final class CreateNVMfRemoteControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) - NVMfRemoteControllerConnectRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) + CreateNVMfRemoteControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerConnectRequest.newBuilder() to construct. - private NVMfRemoteControllerConnectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CreateNVMfRemoteControllerRequest.newBuilder() to construct. + private CreateNVMfRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NVMfRemoteControllerConnectRequest() { + private CreateNVMfRemoteControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NVMfRemoteControllerConnectRequest(); + return new CreateNVMfRemoteControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NVMfRemoteControllerConnectRequest( + private CreateNVMfRemoteControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NVMfRemoteControllerConnectRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerConnectRequest.class, opi_api.storage.v1.NVMfRemoteControllerConnectRequest.Builder.class); + opi_api.storage.v1.CreateNVMfRemoteControllerRequest.class, opi_api.storage.v1.CreateNVMfRemoteControllerRequest.Builder.class); } public static final int CTRL_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NVMfRemoteControllerConnectRequest)) { + if (!(obj instanceof opi_api.storage.v1.CreateNVMfRemoteControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.NVMfRemoteControllerConnectRequest other = (opi_api.storage.v1.NVMfRemoteControllerConnectRequest) obj; + opi_api.storage.v1.CreateNVMfRemoteControllerRequest other = (opi_api.storage.v1.CreateNVMfRemoteControllerRequest) obj; if (hasCtrl() != other.hasCtrl()) return false; if (hasCtrl()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest 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.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest 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.NVMfRemoteControllerConnectRequest parseFrom(byte[] data) + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest 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.NVMfRemoteControllerConnectRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseDelimitedFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest 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.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NVMfRemoteControllerConnectRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.CreateNVMfRemoteControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerConnectRequest} + * Protobuf type {@code opi_api.storage.v1.CreateNVMfRemoteControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) - opi_api.storage.v1.NVMfRemoteControllerConnectRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) + opi_api.storage.v1.CreateNVMfRemoteControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerConnectRequest.class, opi_api.storage.v1.NVMfRemoteControllerConnectRequest.Builder.class); + opi_api.storage.v1.CreateNVMfRemoteControllerRequest.class, opi_api.storage.v1.CreateNVMfRemoteControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.NVMfRemoteControllerConnectRequest.newBuilder() + // Construct using opi_api.storage.v1.CreateNVMfRemoteControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_CreateNVMfRemoteControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerConnectRequest.getDefaultInstance(); + public opi_api.storage.v1.CreateNVMfRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.CreateNVMfRemoteControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectRequest build() { - opi_api.storage.v1.NVMfRemoteControllerConnectRequest result = buildPartial(); + public opi_api.storage.v1.CreateNVMfRemoteControllerRequest build() { + opi_api.storage.v1.CreateNVMfRemoteControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NVMfRemoteControllerConnectRequest build() { } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectRequest buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerConnectRequest result = new opi_api.storage.v1.NVMfRemoteControllerConnectRequest(this); + public opi_api.storage.v1.CreateNVMfRemoteControllerRequest buildPartial() { + opi_api.storage.v1.CreateNVMfRemoteControllerRequest result = new opi_api.storage.v1.CreateNVMfRemoteControllerRequest(this); if (ctrlBuilder_ == null) { result.ctrl_ = ctrl_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NVMfRemoteControllerConnectRequest) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerConnectRequest)other); + if (other instanceof opi_api.storage.v1.CreateNVMfRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.CreateNVMfRemoteControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerConnectRequest other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerConnectRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.CreateNVMfRemoteControllerRequest other) { + if (other == opi_api.storage.v1.CreateNVMfRemoteControllerRequest.getDefaultInstance()) return this; if (other.hasCtrl()) { mergeCtrl(other.getCtrl()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NVMfRemoteControllerConnectRequest parsedMessage = null; + opi_api.storage.v1.CreateNVMfRemoteControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerConnectRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.CreateNVMfRemoteControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) - private static final opi_api.storage.v1.NVMfRemoteControllerConnectRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) + private static final opi_api.storage.v1.CreateNVMfRemoteControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerConnectRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.CreateNVMfRemoteControllerRequest(); } - public static opi_api.storage.v1.NVMfRemoteControllerConnectRequest getDefaultInstance() { + public static opi_api.storage.v1.CreateNVMfRemoteControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NVMfRemoteControllerConnectRequest parsePartialFrom( + public CreateNVMfRemoteControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerConnectRequest(input, extensionRegistry); + return new CreateNVMfRemoteControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectRequest getDefaultInstanceForType() { + public opi_api.storage.v1.CreateNVMfRemoteControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMfRemoteControllerRequestOrBuilder.java similarity index 86% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetResponseOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMfRemoteControllerRequestOrBuilder.java index 01337d0a..0715be01 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNVMfRemoteControllerRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NVMfRemoteControllerGetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerGetResponse) +public interface CreateNVMfRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullDebugRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullDebugRequest.java index 8523777c..96a051a4 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullDebugRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NullDebugCreateRequest} + * Protobuf type {@code opi_api.storage.v1.CreateNullDebugRequest} */ -public final class NullDebugCreateRequest extends +public final class CreateNullDebugRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullDebugCreateRequest) - NullDebugCreateRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.CreateNullDebugRequest) + CreateNullDebugRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NullDebugCreateRequest.newBuilder() to construct. - private NullDebugCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CreateNullDebugRequest.newBuilder() to construct. + private CreateNullDebugRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NullDebugCreateRequest() { + private CreateNullDebugRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NullDebugCreateRequest(); + return new CreateNullDebugRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NullDebugCreateRequest( + private CreateNullDebugRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NullDebugCreateRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_CreateNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugCreateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_CreateNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugCreateRequest.class, opi_api.storage.v1.NullDebugCreateRequest.Builder.class); + opi_api.storage.v1.CreateNullDebugRequest.class, opi_api.storage.v1.CreateNullDebugRequest.Builder.class); } public static final int DEVICE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NullDebugCreateRequest)) { + if (!(obj instanceof opi_api.storage.v1.CreateNullDebugRequest)) { return super.equals(obj); } - opi_api.storage.v1.NullDebugCreateRequest other = (opi_api.storage.v1.NullDebugCreateRequest) obj; + opi_api.storage.v1.CreateNullDebugRequest other = (opi_api.storage.v1.CreateNullDebugRequest) obj; if (hasDevice() != other.hasDevice()) return false; if (hasDevice()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest 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.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest 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.NullDebugCreateRequest parseFrom(byte[] data) + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest 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.NullDebugCreateRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.CreateNullDebugRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugCreateRequest parseDelimitedFrom( + public static opi_api.storage.v1.CreateNullDebugRequest 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.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( + public static opi_api.storage.v1.CreateNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NullDebugCreateRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NullDebugCreateRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.CreateNullDebugRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NullDebugCreateRequest} + * Protobuf type {@code opi_api.storage.v1.CreateNullDebugRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullDebugCreateRequest) - opi_api.storage.v1.NullDebugCreateRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.CreateNullDebugRequest) + opi_api.storage.v1.CreateNullDebugRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_CreateNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugCreateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_CreateNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugCreateRequest.class, opi_api.storage.v1.NullDebugCreateRequest.Builder.class); + opi_api.storage.v1.CreateNullDebugRequest.class, opi_api.storage.v1.CreateNullDebugRequest.Builder.class); } - // Construct using opi_api.storage.v1.NullDebugCreateRequest.newBuilder() + // Construct using opi_api.storage.v1.CreateNullDebugRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugCreateRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_CreateNullDebugRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NullDebugCreateRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NullDebugCreateRequest.getDefaultInstance(); + public opi_api.storage.v1.CreateNullDebugRequest getDefaultInstanceForType() { + return opi_api.storage.v1.CreateNullDebugRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NullDebugCreateRequest build() { - opi_api.storage.v1.NullDebugCreateRequest result = buildPartial(); + public opi_api.storage.v1.CreateNullDebugRequest build() { + opi_api.storage.v1.CreateNullDebugRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NullDebugCreateRequest build() { } @java.lang.Override - public opi_api.storage.v1.NullDebugCreateRequest buildPartial() { - opi_api.storage.v1.NullDebugCreateRequest result = new opi_api.storage.v1.NullDebugCreateRequest(this); + public opi_api.storage.v1.CreateNullDebugRequest buildPartial() { + opi_api.storage.v1.CreateNullDebugRequest result = new opi_api.storage.v1.CreateNullDebugRequest(this); if (deviceBuilder_ == null) { result.device_ = device_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullDebugCreateRequest) { - return mergeFrom((opi_api.storage.v1.NullDebugCreateRequest)other); + if (other instanceof opi_api.storage.v1.CreateNullDebugRequest) { + return mergeFrom((opi_api.storage.v1.CreateNullDebugRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NullDebugCreateRequest other) { - if (other == opi_api.storage.v1.NullDebugCreateRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.CreateNullDebugRequest other) { + if (other == opi_api.storage.v1.CreateNullDebugRequest.getDefaultInstance()) return this; if (other.hasDevice()) { mergeDevice(other.getDevice()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NullDebugCreateRequest parsedMessage = null; + opi_api.storage.v1.CreateNullDebugRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullDebugCreateRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.CreateNullDebugRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullDebugCreateRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.CreateNullDebugRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugCreateRequest) - private static final opi_api.storage.v1.NullDebugCreateRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNullDebugRequest) + private static final opi_api.storage.v1.CreateNullDebugRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullDebugCreateRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.CreateNullDebugRequest(); } - public static opi_api.storage.v1.NullDebugCreateRequest getDefaultInstance() { + public static opi_api.storage.v1.CreateNullDebugRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NullDebugCreateRequest parsePartialFrom( + public CreateNullDebugRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NullDebugCreateRequest(input, extensionRegistry); + return new CreateNullDebugRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NullDebugCreateRequest getDefaultInstanceForType() { + public opi_api.storage.v1.CreateNullDebugRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullDebugRequestOrBuilder.java similarity index 88% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullDebugRequestOrBuilder.java index 3086647f..927b855b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/CreateNullDebugRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NullDebugUpdateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullDebugUpdateRequest) +public interface CreateNullDebugRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.CreateNullDebugRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteAioControllerRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteAioControllerRequest.java index a6a020a4..10042f8b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteAioControllerRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.AioControllerDeleteRequest} + * Protobuf type {@code opi_api.storage.v1.DeleteAioControllerRequest} */ -public final class AioControllerDeleteRequest extends +public final class DeleteAioControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerDeleteRequest) - AioControllerDeleteRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.DeleteAioControllerRequest) + DeleteAioControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use AioControllerDeleteRequest.newBuilder() to construct. - private AioControllerDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeleteAioControllerRequest.newBuilder() to construct. + private DeleteAioControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AioControllerDeleteRequest() { + private DeleteAioControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AioControllerDeleteRequest(); + return new DeleteAioControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private AioControllerDeleteRequest( + private DeleteAioControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private AioControllerDeleteRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_DeleteAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerDeleteRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_DeleteAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerDeleteRequest.class, opi_api.storage.v1.AioControllerDeleteRequest.Builder.class); + opi_api.storage.v1.DeleteAioControllerRequest.class, opi_api.storage.v1.DeleteAioControllerRequest.Builder.class); } public static final int HANDLE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.AioControllerDeleteRequest)) { + if (!(obj instanceof opi_api.storage.v1.DeleteAioControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.AioControllerDeleteRequest other = (opi_api.storage.v1.AioControllerDeleteRequest) obj; + opi_api.storage.v1.DeleteAioControllerRequest other = (opi_api.storage.v1.DeleteAioControllerRequest) obj; if (hasHandle() != other.hasHandle()) return false; if (hasHandle()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest 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.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest 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.AioControllerDeleteRequest parseFrom(byte[] data) + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest 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.AioControllerDeleteRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.DeleteAioControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseDelimitedFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest 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.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.AioControllerDeleteRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.AioControllerDeleteRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.DeleteAioControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.AioControllerDeleteRequest} + * Protobuf type {@code opi_api.storage.v1.DeleteAioControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerDeleteRequest) - opi_api.storage.v1.AioControllerDeleteRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.DeleteAioControllerRequest) + opi_api.storage.v1.DeleteAioControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_DeleteAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerDeleteRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_DeleteAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerDeleteRequest.class, opi_api.storage.v1.AioControllerDeleteRequest.Builder.class); + opi_api.storage.v1.DeleteAioControllerRequest.class, opi_api.storage.v1.DeleteAioControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.AioControllerDeleteRequest.newBuilder() + // Construct using opi_api.storage.v1.DeleteAioControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerDeleteRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_DeleteAioControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.AioControllerDeleteRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerDeleteRequest.getDefaultInstance(); + public opi_api.storage.v1.DeleteAioControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.DeleteAioControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.AioControllerDeleteRequest build() { - opi_api.storage.v1.AioControllerDeleteRequest result = buildPartial(); + public opi_api.storage.v1.DeleteAioControllerRequest build() { + opi_api.storage.v1.DeleteAioControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.AioControllerDeleteRequest build() { } @java.lang.Override - public opi_api.storage.v1.AioControllerDeleteRequest buildPartial() { - opi_api.storage.v1.AioControllerDeleteRequest result = new opi_api.storage.v1.AioControllerDeleteRequest(this); + public opi_api.storage.v1.DeleteAioControllerRequest buildPartial() { + opi_api.storage.v1.DeleteAioControllerRequest result = new opi_api.storage.v1.DeleteAioControllerRequest(this); if (handleBuilder_ == null) { result.handle_ = handle_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioControllerDeleteRequest) { - return mergeFrom((opi_api.storage.v1.AioControllerDeleteRequest)other); + if (other instanceof opi_api.storage.v1.DeleteAioControllerRequest) { + return mergeFrom((opi_api.storage.v1.DeleteAioControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.AioControllerDeleteRequest other) { - if (other == opi_api.storage.v1.AioControllerDeleteRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.DeleteAioControllerRequest other) { + if (other == opi_api.storage.v1.DeleteAioControllerRequest.getDefaultInstance()) return this; if (other.hasHandle()) { mergeHandle(other.getHandle()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.AioControllerDeleteRequest parsedMessage = null; + opi_api.storage.v1.DeleteAioControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerDeleteRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.DeleteAioControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerDeleteRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.DeleteAioControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerDeleteRequest) - private static final opi_api.storage.v1.AioControllerDeleteRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteAioControllerRequest) + private static final opi_api.storage.v1.DeleteAioControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerDeleteRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.DeleteAioControllerRequest(); } - public static opi_api.storage.v1.AioControllerDeleteRequest getDefaultInstance() { + public static opi_api.storage.v1.DeleteAioControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AioControllerDeleteRequest parsePartialFrom( + public DeleteAioControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerDeleteRequest(input, extensionRegistry); + return new DeleteAioControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.AioControllerDeleteRequest getDefaultInstanceForType() { + public opi_api.storage.v1.DeleteAioControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteAioControllerRequestOrBuilder.java similarity index 87% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteAioControllerRequestOrBuilder.java index d3195d73..77b10383 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerDeleteRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteAioControllerRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface AioControllerDeleteRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerDeleteRequest) +public interface DeleteAioControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.DeleteAioControllerRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMfRemoteControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMfRemoteControllerRequest.java new file mode 100644 index 00000000..dcd717be --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMfRemoteControllerRequest.java @@ -0,0 +1,655 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_nvme_tcp.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.DeleteNVMfRemoteControllerRequest} + */ +public final class DeleteNVMfRemoteControllerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) + DeleteNVMfRemoteControllerRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteNVMfRemoteControllerRequest.newBuilder() to construct. + private DeleteNVMfRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteNVMfRemoteControllerRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteNVMfRemoteControllerRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteNVMfRemoteControllerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (id_ != null) { + subBuilder = id_.toBuilder(); + } + id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); + } + + break; + } + 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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.class, opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private opi_api.common.v1.ObjectKey id_; + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return id_ != null; + } + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return The id. + */ + @java.lang.Override + public opi_api.common.v1.ObjectKey getId() { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + return getId(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (id_ != null) { + output.writeMessage(1, getId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getId()); + } + 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.DeleteNVMfRemoteControllerRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest other = (opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) obj; + + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest 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.DeleteNVMfRemoteControllerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest 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.DeleteNVMfRemoteControllerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest 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.DeleteNVMfRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest 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.DeleteNVMfRemoteControllerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest 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.DeleteNVMfRemoteControllerRequest 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.DeleteNVMfRemoteControllerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) + opi_api.storage.v1.DeleteNVMfRemoteControllerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.class, opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (idBuilder_ == null) { + id_ = null; + } else { + id_ = null; + idBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_DeleteNVMfRemoteControllerRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.DeleteNVMfRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.DeleteNVMfRemoteControllerRequest build() { + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.DeleteNVMfRemoteControllerRequest buildPartial() { + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest result = new opi_api.storage.v1.DeleteNVMfRemoteControllerRequest(this); + if (idBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = idBuilder_.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.DeleteNVMfRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.DeleteNVMfRemoteControllerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.DeleteNVMfRemoteControllerRequest other) { + if (other == opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.getDefaultInstance()) return this; + if (other.hasId()) { + mergeId(other.getId()); + } + 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.DeleteNVMfRemoteControllerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private opi_api.common.v1.ObjectKey id_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + public boolean hasId() { + return idBuilder_ != null || id_ != null; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return The id. + */ + public opi_api.common.v1.ObjectKey getId() { + if (idBuilder_ == null) { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } else { + return idBuilder_.getMessage(); + } + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder setId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + idBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder setId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (idBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + idBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder mergeId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (id_ != null) { + id_ = + opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + idBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder clearId() { + if (idBuilder_ == null) { + id_ = null; + onChanged(); + } else { + id_ = null; + idBuilder_ = null; + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { + + onChanged(); + return getIdFieldBuilder().getBuilder(); + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + if (idBuilder_ != null) { + return idBuilder_.getMessageOrBuilder(); + } else { + return id_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getIdFieldBuilder() { + if (idBuilder_ == null) { + idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getId(), + getParentForChildren(), + isClean()); + id_ = null; + } + return idBuilder_; + } + @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.DeleteNVMfRemoteControllerRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) + private static final opi_api.storage.v1.DeleteNVMfRemoteControllerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.DeleteNVMfRemoteControllerRequest(); + } + + public static opi_api.storage.v1.DeleteNVMfRemoteControllerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNVMfRemoteControllerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteNVMfRemoteControllerRequest(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.DeleteNVMfRemoteControllerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMfRemoteControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMfRemoteControllerRequestOrBuilder.java new file mode 100644 index 00000000..11f9583e --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNVMfRemoteControllerRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_nvme_tcp.proto + +package opi_api.storage.v1; + +public interface DeleteNVMfRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + boolean hasId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return The id. + */ + opi_api.common.v1.ObjectKey getId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNullDebugRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNullDebugRequest.java index 85697aeb..627a0ce0 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNullDebugRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NullDebugDeleteRequest} + * Protobuf type {@code opi_api.storage.v1.DeleteNullDebugRequest} */ -public final class NullDebugDeleteRequest extends +public final class DeleteNullDebugRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullDebugDeleteRequest) - NullDebugDeleteRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.DeleteNullDebugRequest) + DeleteNullDebugRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NullDebugDeleteRequest.newBuilder() to construct. - private NullDebugDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeleteNullDebugRequest.newBuilder() to construct. + private DeleteNullDebugRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NullDebugDeleteRequest() { + private DeleteNullDebugRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NullDebugDeleteRequest(); + return new DeleteNullDebugRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NullDebugDeleteRequest( + private DeleteNullDebugRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NullDebugDeleteRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_DeleteNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugDeleteRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_DeleteNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugDeleteRequest.class, opi_api.storage.v1.NullDebugDeleteRequest.Builder.class); + opi_api.storage.v1.DeleteNullDebugRequest.class, opi_api.storage.v1.DeleteNullDebugRequest.Builder.class); } public static final int HANDLE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NullDebugDeleteRequest)) { + if (!(obj instanceof opi_api.storage.v1.DeleteNullDebugRequest)) { return super.equals(obj); } - opi_api.storage.v1.NullDebugDeleteRequest other = (opi_api.storage.v1.NullDebugDeleteRequest) obj; + opi_api.storage.v1.DeleteNullDebugRequest other = (opi_api.storage.v1.DeleteNullDebugRequest) obj; if (hasHandle() != other.hasHandle()) return false; if (hasHandle()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest 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.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest 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.NullDebugDeleteRequest parseFrom(byte[] data) + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest 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.NullDebugDeleteRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.DeleteNullDebugRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseDelimitedFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest 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.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( + public static opi_api.storage.v1.DeleteNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NullDebugDeleteRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NullDebugDeleteRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.DeleteNullDebugRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NullDebugDeleteRequest} + * Protobuf type {@code opi_api.storage.v1.DeleteNullDebugRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullDebugDeleteRequest) - opi_api.storage.v1.NullDebugDeleteRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.DeleteNullDebugRequest) + opi_api.storage.v1.DeleteNullDebugRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_DeleteNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugDeleteRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_DeleteNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugDeleteRequest.class, opi_api.storage.v1.NullDebugDeleteRequest.Builder.class); + opi_api.storage.v1.DeleteNullDebugRequest.class, opi_api.storage.v1.DeleteNullDebugRequest.Builder.class); } - // Construct using opi_api.storage.v1.NullDebugDeleteRequest.newBuilder() + // Construct using opi_api.storage.v1.DeleteNullDebugRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugDeleteRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_DeleteNullDebugRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NullDebugDeleteRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NullDebugDeleteRequest.getDefaultInstance(); + public opi_api.storage.v1.DeleteNullDebugRequest getDefaultInstanceForType() { + return opi_api.storage.v1.DeleteNullDebugRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NullDebugDeleteRequest build() { - opi_api.storage.v1.NullDebugDeleteRequest result = buildPartial(); + public opi_api.storage.v1.DeleteNullDebugRequest build() { + opi_api.storage.v1.DeleteNullDebugRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NullDebugDeleteRequest build() { } @java.lang.Override - public opi_api.storage.v1.NullDebugDeleteRequest buildPartial() { - opi_api.storage.v1.NullDebugDeleteRequest result = new opi_api.storage.v1.NullDebugDeleteRequest(this); + public opi_api.storage.v1.DeleteNullDebugRequest buildPartial() { + opi_api.storage.v1.DeleteNullDebugRequest result = new opi_api.storage.v1.DeleteNullDebugRequest(this); if (handleBuilder_ == null) { result.handle_ = handle_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullDebugDeleteRequest) { - return mergeFrom((opi_api.storage.v1.NullDebugDeleteRequest)other); + if (other instanceof opi_api.storage.v1.DeleteNullDebugRequest) { + return mergeFrom((opi_api.storage.v1.DeleteNullDebugRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NullDebugDeleteRequest other) { - if (other == opi_api.storage.v1.NullDebugDeleteRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.DeleteNullDebugRequest other) { + if (other == opi_api.storage.v1.DeleteNullDebugRequest.getDefaultInstance()) return this; if (other.hasHandle()) { mergeHandle(other.getHandle()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NullDebugDeleteRequest parsedMessage = null; + opi_api.storage.v1.DeleteNullDebugRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullDebugDeleteRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.DeleteNullDebugRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullDebugDeleteRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.DeleteNullDebugRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugDeleteRequest) - private static final opi_api.storage.v1.NullDebugDeleteRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNullDebugRequest) + private static final opi_api.storage.v1.DeleteNullDebugRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullDebugDeleteRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.DeleteNullDebugRequest(); } - public static opi_api.storage.v1.NullDebugDeleteRequest getDefaultInstance() { + public static opi_api.storage.v1.DeleteNullDebugRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NullDebugDeleteRequest parsePartialFrom( + public DeleteNullDebugRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NullDebugDeleteRequest(input, extensionRegistry); + return new DeleteNullDebugRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NullDebugDeleteRequest getDefaultInstanceForType() { + public opi_api.storage.v1.DeleteNullDebugRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNullDebugRequestOrBuilder.java similarity index 88% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNullDebugRequestOrBuilder.java index 5bfadb11..43307277 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugDeleteRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/DeleteNullDebugRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NullDebugDeleteRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullDebugDeleteRequest) +public interface DeleteNullDebugRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.DeleteNullDebugRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetAioControllerRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/GetAioControllerRequest.java index ffb1345a..9809d96d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetAioControllerRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.AioControllerGetRequest} + * Protobuf type {@code opi_api.storage.v1.GetAioControllerRequest} */ -public final class AioControllerGetRequest extends +public final class GetAioControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerGetRequest) - AioControllerGetRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.GetAioControllerRequest) + GetAioControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use AioControllerGetRequest.newBuilder() to construct. - private AioControllerGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GetAioControllerRequest.newBuilder() to construct. + private GetAioControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AioControllerGetRequest() { + private GetAioControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AioControllerGetRequest(); + return new GetAioControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private AioControllerGetRequest( + private GetAioControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private AioControllerGetRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_GetAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_GetAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerGetRequest.class, opi_api.storage.v1.AioControllerGetRequest.Builder.class); + opi_api.storage.v1.GetAioControllerRequest.class, opi_api.storage.v1.GetAioControllerRequest.Builder.class); } public static final int HANDLE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.AioControllerGetRequest)) { + if (!(obj instanceof opi_api.storage.v1.GetAioControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.AioControllerGetRequest other = (opi_api.storage.v1.AioControllerGetRequest) obj; + opi_api.storage.v1.GetAioControllerRequest other = (opi_api.storage.v1.GetAioControllerRequest) obj; if (hasHandle() != other.hasHandle()) return false; if (hasHandle()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest 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.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest 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.AioControllerGetRequest parseFrom(byte[] data) + public static opi_api.storage.v1.GetAioControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.GetAioControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest 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.AioControllerGetRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.GetAioControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerGetRequest parseDelimitedFrom( + public static opi_api.storage.v1.GetAioControllerRequest 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.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerGetRequest parseFrom( + public static opi_api.storage.v1.GetAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.AioControllerGetRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.AioControllerGetRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.GetAioControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.AioControllerGetRequest} + * Protobuf type {@code opi_api.storage.v1.GetAioControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerGetRequest) - opi_api.storage.v1.AioControllerGetRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.GetAioControllerRequest) + opi_api.storage.v1.GetAioControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_GetAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_GetAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerGetRequest.class, opi_api.storage.v1.AioControllerGetRequest.Builder.class); + opi_api.storage.v1.GetAioControllerRequest.class, opi_api.storage.v1.GetAioControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.AioControllerGetRequest.newBuilder() + // Construct using opi_api.storage.v1.GetAioControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_GetAioControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.AioControllerGetRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerGetRequest.getDefaultInstance(); + public opi_api.storage.v1.GetAioControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.GetAioControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.AioControllerGetRequest build() { - opi_api.storage.v1.AioControllerGetRequest result = buildPartial(); + public opi_api.storage.v1.GetAioControllerRequest build() { + opi_api.storage.v1.GetAioControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.AioControllerGetRequest build() { } @java.lang.Override - public opi_api.storage.v1.AioControllerGetRequest buildPartial() { - opi_api.storage.v1.AioControllerGetRequest result = new opi_api.storage.v1.AioControllerGetRequest(this); + public opi_api.storage.v1.GetAioControllerRequest buildPartial() { + opi_api.storage.v1.GetAioControllerRequest result = new opi_api.storage.v1.GetAioControllerRequest(this); if (handleBuilder_ == null) { result.handle_ = handle_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioControllerGetRequest) { - return mergeFrom((opi_api.storage.v1.AioControllerGetRequest)other); + if (other instanceof opi_api.storage.v1.GetAioControllerRequest) { + return mergeFrom((opi_api.storage.v1.GetAioControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.AioControllerGetRequest other) { - if (other == opi_api.storage.v1.AioControllerGetRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.GetAioControllerRequest other) { + if (other == opi_api.storage.v1.GetAioControllerRequest.getDefaultInstance()) return this; if (other.hasHandle()) { mergeHandle(other.getHandle()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.AioControllerGetRequest parsedMessage = null; + opi_api.storage.v1.GetAioControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerGetRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.GetAioControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerGetRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.GetAioControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetRequest) - private static final opi_api.storage.v1.AioControllerGetRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetAioControllerRequest) + private static final opi_api.storage.v1.GetAioControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerGetRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.GetAioControllerRequest(); } - public static opi_api.storage.v1.AioControllerGetRequest getDefaultInstance() { + public static opi_api.storage.v1.GetAioControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AioControllerGetRequest parsePartialFrom( + public GetAioControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerGetRequest(input, extensionRegistry); + return new GetAioControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.AioControllerGetRequest getDefaultInstanceForType() { + public opi_api.storage.v1.GetAioControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetAioControllerRequestOrBuilder.java similarity index 87% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/GetAioControllerRequestOrBuilder.java index 2b846019..c2ea5dd5 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetAioControllerRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface AioControllerGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerGetRequest) +public interface GetAioControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.GetAioControllerRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNVMfRemoteControllerRequest.java similarity index 55% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetStatsRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/GetNVMfRemoteControllerRequest.java index b0119c06..e53590ff 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerGetStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNVMfRemoteControllerRequest.java @@ -1,28 +1,28 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_aio.proto +// source: backend_nvme_tcp.proto package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.AioControllerGetStatsRequest} + * Protobuf type {@code opi_api.storage.v1.GetNVMfRemoteControllerRequest} */ -public final class AioControllerGetStatsRequest extends +public final class GetNVMfRemoteControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerGetStatsRequest) - AioControllerGetStatsRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.GetNVMfRemoteControllerRequest) + GetNVMfRemoteControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use AioControllerGetStatsRequest.newBuilder() to construct. - private AioControllerGetStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GetNVMfRemoteControllerRequest.newBuilder() to construct. + private GetNVMfRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AioControllerGetStatsRequest() { + private GetNVMfRemoteControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AioControllerGetStatsRequest(); + return new GetNVMfRemoteControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private AioControllerGetStatsRequest( + private GetNVMfRemoteControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -50,13 +50,13 @@ private AioControllerGetStatsRequest( break; case 10: { opi_api.common.v1.ObjectKey.Builder subBuilder = null; - if (handle_ != null) { - subBuilder = handle_.toBuilder(); + if (id_ != null) { + subBuilder = id_.toBuilder(); } - handle_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(handle_); - handle_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); } break; @@ -82,41 +82,53 @@ private AioControllerGetStatsRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerGetStatsRequest.class, opi_api.storage.v1.AioControllerGetStatsRequest.Builder.class); + opi_api.storage.v1.GetNVMfRemoteControllerRequest.class, opi_api.storage.v1.GetNVMfRemoteControllerRequest.Builder.class); } - public static final int HANDLE_FIELD_NUMBER = 1; - private opi_api.common.v1.ObjectKey handle_; + public static final int ID_FIELD_NUMBER = 1; + private opi_api.common.v1.ObjectKey id_; /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. */ @java.lang.Override - public boolean hasHandle() { - return handle_ != null; + public boolean hasId() { + return id_ != null; } /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return The id. */ @java.lang.Override - public opi_api.common.v1.ObjectKey getHandle() { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; + public opi_api.common.v1.ObjectKey getId() { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ @java.lang.Override - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - return getHandle(); + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + return getId(); } private byte memoizedIsInitialized = -1; @@ -133,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (handle_ != null) { - output.writeMessage(1, getHandle()); + if (id_ != null) { + output.writeMessage(1, getId()); } unknownFields.writeTo(output); } @@ -145,9 +157,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (handle_ != null) { + if (id_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHandle()); + .computeMessageSize(1, getId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -159,15 +171,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.AioControllerGetStatsRequest)) { + if (!(obj instanceof opi_api.storage.v1.GetNVMfRemoteControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.AioControllerGetStatsRequest other = (opi_api.storage.v1.AioControllerGetStatsRequest) obj; + opi_api.storage.v1.GetNVMfRemoteControllerRequest other = (opi_api.storage.v1.GetNVMfRemoteControllerRequest) obj; - if (hasHandle() != other.hasHandle()) return false; - if (hasHandle()) { - if (!getHandle() - .equals(other.getHandle())) return false; + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -180,78 +192,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasHandle()) { - hash = (37 * hash) + HANDLE_FIELD_NUMBER; - hash = (53 * hash) + getHandle().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest 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.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest 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.AioControllerGetStatsRequest parseFrom(byte[] data) + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest 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.AioControllerGetStatsRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseDelimitedFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest 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.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +276,7 @@ public static opi_api.storage.v1.AioControllerGetStatsRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.AioControllerGetStatsRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.GetNVMfRemoteControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +292,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.AioControllerGetStatsRequest} + * Protobuf type {@code opi_api.storage.v1.GetNVMfRemoteControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerGetStatsRequest) - opi_api.storage.v1.AioControllerGetStatsRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.GetNVMfRemoteControllerRequest) + opi_api.storage.v1.GetNVMfRemoteControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerGetStatsRequest.class, opi_api.storage.v1.AioControllerGetStatsRequest.Builder.class); + opi_api.storage.v1.GetNVMfRemoteControllerRequest.class, opi_api.storage.v1.GetNVMfRemoteControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.AioControllerGetStatsRequest.newBuilder() + // Construct using opi_api.storage.v1.GetNVMfRemoteControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -317,11 +329,11 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - if (handleBuilder_ == null) { - handle_ = null; + if (idBuilder_ == null) { + id_ = null; } else { - handle_ = null; - handleBuilder_ = null; + id_ = null; + idBuilder_ = null; } return this; } @@ -329,17 +341,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerGetStatsRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_GetNVMfRemoteControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.AioControllerGetStatsRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerGetStatsRequest.getDefaultInstance(); + public opi_api.storage.v1.GetNVMfRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.GetNVMfRemoteControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.AioControllerGetStatsRequest build() { - opi_api.storage.v1.AioControllerGetStatsRequest result = buildPartial(); + public opi_api.storage.v1.GetNVMfRemoteControllerRequest build() { + opi_api.storage.v1.GetNVMfRemoteControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,12 +359,12 @@ public opi_api.storage.v1.AioControllerGetStatsRequest build() { } @java.lang.Override - public opi_api.storage.v1.AioControllerGetStatsRequest buildPartial() { - opi_api.storage.v1.AioControllerGetStatsRequest result = new opi_api.storage.v1.AioControllerGetStatsRequest(this); - if (handleBuilder_ == null) { - result.handle_ = handle_; + public opi_api.storage.v1.GetNVMfRemoteControllerRequest buildPartial() { + opi_api.storage.v1.GetNVMfRemoteControllerRequest result = new opi_api.storage.v1.GetNVMfRemoteControllerRequest(this); + if (idBuilder_ == null) { + result.id_ = id_; } else { - result.handle_ = handleBuilder_.build(); + result.id_ = idBuilder_.build(); } onBuilt(); return result; @@ -392,18 +404,18 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioControllerGetStatsRequest) { - return mergeFrom((opi_api.storage.v1.AioControllerGetStatsRequest)other); + if (other instanceof opi_api.storage.v1.GetNVMfRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.GetNVMfRemoteControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.AioControllerGetStatsRequest other) { - if (other == opi_api.storage.v1.AioControllerGetStatsRequest.getDefaultInstance()) return this; - if (other.hasHandle()) { - mergeHandle(other.getHandle()); + public Builder mergeFrom(opi_api.storage.v1.GetNVMfRemoteControllerRequest other) { + if (other == opi_api.storage.v1.GetNVMfRemoteControllerRequest.getDefaultInstance()) return this; + if (other.hasId()) { + mergeId(other.getId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -420,11 +432,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.AioControllerGetStatsRequest parsedMessage = null; + opi_api.storage.v1.GetNVMfRemoteControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerGetStatsRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.GetNVMfRemoteControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -434,123 +446,159 @@ public Builder mergeFrom( return this; } - private opi_api.common.v1.ObjectKey handle_; + private opi_api.common.v1.ObjectKey id_; private com.google.protobuf.SingleFieldBuilderV3< - opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> handleBuilder_; + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return Whether the handle field is set. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. */ - public boolean hasHandle() { - return handleBuilder_ != null || handle_ != null; + public boolean hasId() { + return idBuilder_ != null || id_ != null; } /** - * .opi_api.common.v1.ObjectKey handle = 1; - * @return The handle. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return The id. */ - public opi_api.common.v1.ObjectKey getHandle() { - if (handleBuilder_ == null) { - return handle_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; + public opi_api.common.v1.ObjectKey getId() { + if (idBuilder_ == null) { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; } else { - return handleBuilder_.getMessage(); + return idBuilder_.getMessage(); } } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder setHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { + public Builder setId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - handle_ = value; + id_ = value; onChanged(); } else { - handleBuilder_.setMessage(value); + idBuilder_.setMessage(value); } return this; } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder setHandle( + public Builder setId( opi_api.common.v1.ObjectKey.Builder builderForValue) { - if (handleBuilder_ == null) { - handle_ = builderForValue.build(); + if (idBuilder_ == null) { + id_ = builderForValue.build(); onChanged(); } else { - handleBuilder_.setMessage(builderForValue.build()); + idBuilder_.setMessage(builderForValue.build()); } return this; } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder mergeHandle(opi_api.common.v1.ObjectKey value) { - if (handleBuilder_ == null) { - if (handle_ != null) { - handle_ = - opi_api.common.v1.ObjectKey.newBuilder(handle_).mergeFrom(value).buildPartial(); + public Builder mergeId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (id_ != null) { + id_ = + opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); } else { - handle_ = value; + id_ = value; } onChanged(); } else { - handleBuilder_.mergeFrom(value); + idBuilder_.mergeFrom(value); } return this; } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder clearHandle() { - if (handleBuilder_ == null) { - handle_ = null; + public Builder clearId() { + if (idBuilder_ == null) { + id_ = null; onChanged(); } else { - handle_ = null; - handleBuilder_ = null; + id_ = null; + idBuilder_ = null; } return this; } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public opi_api.common.v1.ObjectKey.Builder getHandleBuilder() { + public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { onChanged(); - return getHandleFieldBuilder().getBuilder(); + return getIdFieldBuilder().getBuilder(); } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public opi_api.common.v1.ObjectKeyOrBuilder getHandleOrBuilder() { - if (handleBuilder_ != null) { - return handleBuilder_.getMessageOrBuilder(); + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + if (idBuilder_ != null) { + return idBuilder_.getMessageOrBuilder(); } else { - return handle_ == null ? - opi_api.common.v1.ObjectKey.getDefaultInstance() : handle_; + return id_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; } } /** - * .opi_api.common.v1.ObjectKey handle = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> - getHandleFieldBuilder() { - if (handleBuilder_ == null) { - handleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + getIdFieldBuilder() { + if (idBuilder_ == null) { + idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( - getHandle(), + getId(), getParentForChildren(), isClean()); - handle_ = null; + id_ = null; } - return handleBuilder_; + return idBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -565,41 +613,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerGetStatsRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.GetNVMfRemoteControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetStatsRequest) - private static final opi_api.storage.v1.AioControllerGetStatsRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetNVMfRemoteControllerRequest) + private static final opi_api.storage.v1.GetNVMfRemoteControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerGetStatsRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.GetNVMfRemoteControllerRequest(); } - public static opi_api.storage.v1.AioControllerGetStatsRequest getDefaultInstance() { + public static opi_api.storage.v1.GetNVMfRemoteControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AioControllerGetStatsRequest parsePartialFrom( + public GetNVMfRemoteControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerGetStatsRequest(input, extensionRegistry); + return new GetNVMfRemoteControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.AioControllerGetStatsRequest getDefaultInstanceForType() { + public opi_api.storage.v1.GetNVMfRemoteControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNVMfRemoteControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNVMfRemoteControllerRequestOrBuilder.java new file mode 100644 index 00000000..2b965eda --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNVMfRemoteControllerRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_nvme_tcp.proto + +package opi_api.storage.v1; + +public interface GetNVMfRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.GetNVMfRemoteControllerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + boolean hasId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return The id. + */ + opi_api.common.v1.ObjectKey getId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugGetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNullDebugRequest.java similarity index 82% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugGetRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/GetNullDebugRequest.java index 6f53bc2c..1eb4e947 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugGetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNullDebugRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NullDebugGetRequest} + * Protobuf type {@code opi_api.storage.v1.GetNullDebugRequest} */ -public final class NullDebugGetRequest extends +public final class GetNullDebugRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullDebugGetRequest) - NullDebugGetRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.GetNullDebugRequest) + GetNullDebugRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NullDebugGetRequest.newBuilder() to construct. - private NullDebugGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GetNullDebugRequest.newBuilder() to construct. + private GetNullDebugRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NullDebugGetRequest() { + private GetNullDebugRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NullDebugGetRequest(); + return new GetNullDebugRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NullDebugGetRequest( + private GetNullDebugRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NullDebugGetRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugGetRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_GetNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugGetRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_GetNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugGetRequest.class, opi_api.storage.v1.NullDebugGetRequest.Builder.class); + opi_api.storage.v1.GetNullDebugRequest.class, opi_api.storage.v1.GetNullDebugRequest.Builder.class); } public static final int HANDLE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NullDebugGetRequest)) { + if (!(obj instanceof opi_api.storage.v1.GetNullDebugRequest)) { return super.equals(obj); } - opi_api.storage.v1.NullDebugGetRequest other = (opi_api.storage.v1.NullDebugGetRequest) obj; + opi_api.storage.v1.GetNullDebugRequest other = (opi_api.storage.v1.GetNullDebugRequest) obj; if (hasHandle() != other.hasHandle()) return false; if (hasHandle()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest 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.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest 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.NullDebugGetRequest parseFrom(byte[] data) + public static opi_api.storage.v1.GetNullDebugRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.GetNullDebugRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest 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.NullDebugGetRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.GetNullDebugRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugGetRequest parseDelimitedFrom( + public static opi_api.storage.v1.GetNullDebugRequest 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.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugGetRequest parseFrom( + public static opi_api.storage.v1.GetNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NullDebugGetRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NullDebugGetRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.GetNullDebugRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NullDebugGetRequest} + * Protobuf type {@code opi_api.storage.v1.GetNullDebugRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullDebugGetRequest) - opi_api.storage.v1.NullDebugGetRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.GetNullDebugRequest) + opi_api.storage.v1.GetNullDebugRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugGetRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_GetNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugGetRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_GetNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugGetRequest.class, opi_api.storage.v1.NullDebugGetRequest.Builder.class); + opi_api.storage.v1.GetNullDebugRequest.class, opi_api.storage.v1.GetNullDebugRequest.Builder.class); } - // Construct using opi_api.storage.v1.NullDebugGetRequest.newBuilder() + // Construct using opi_api.storage.v1.GetNullDebugRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugGetRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_GetNullDebugRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NullDebugGetRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NullDebugGetRequest.getDefaultInstance(); + public opi_api.storage.v1.GetNullDebugRequest getDefaultInstanceForType() { + return opi_api.storage.v1.GetNullDebugRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NullDebugGetRequest build() { - opi_api.storage.v1.NullDebugGetRequest result = buildPartial(); + public opi_api.storage.v1.GetNullDebugRequest build() { + opi_api.storage.v1.GetNullDebugRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NullDebugGetRequest build() { } @java.lang.Override - public opi_api.storage.v1.NullDebugGetRequest buildPartial() { - opi_api.storage.v1.NullDebugGetRequest result = new opi_api.storage.v1.NullDebugGetRequest(this); + public opi_api.storage.v1.GetNullDebugRequest buildPartial() { + opi_api.storage.v1.GetNullDebugRequest result = new opi_api.storage.v1.GetNullDebugRequest(this); if (handleBuilder_ == null) { result.handle_ = handle_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullDebugGetRequest) { - return mergeFrom((opi_api.storage.v1.NullDebugGetRequest)other); + if (other instanceof opi_api.storage.v1.GetNullDebugRequest) { + return mergeFrom((opi_api.storage.v1.GetNullDebugRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NullDebugGetRequest other) { - if (other == opi_api.storage.v1.NullDebugGetRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.GetNullDebugRequest other) { + if (other == opi_api.storage.v1.GetNullDebugRequest.getDefaultInstance()) return this; if (other.hasHandle()) { mergeHandle(other.getHandle()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NullDebugGetRequest parsedMessage = null; + opi_api.storage.v1.GetNullDebugRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullDebugGetRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.GetNullDebugRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullDebugGetRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.GetNullDebugRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugGetRequest) - private static final opi_api.storage.v1.NullDebugGetRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetNullDebugRequest) + private static final opi_api.storage.v1.GetNullDebugRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullDebugGetRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.GetNullDebugRequest(); } - public static opi_api.storage.v1.NullDebugGetRequest getDefaultInstance() { + public static opi_api.storage.v1.GetNullDebugRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NullDebugGetRequest parsePartialFrom( + public GetNullDebugRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NullDebugGetRequest(input, extensionRegistry); + return new GetNullDebugRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NullDebugGetRequest getDefaultInstanceForType() { + public opi_api.storage.v1.GetNullDebugRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugGetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNullDebugRequestOrBuilder.java similarity index 88% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugGetRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/GetNullDebugRequestOrBuilder.java index 0585c403..1224620c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugGetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/GetNullDebugRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NullDebugGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullDebugGetRequest) +public interface GetNullDebugRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.GetNullDebugRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerRequest.java new file mode 100644 index 00000000..6e65ce70 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerRequest.java @@ -0,0 +1,621 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.ListAioControllerRequest} + */ +public final class ListAioControllerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ListAioControllerRequest) + ListAioControllerRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListAioControllerRequest.newBuilder() to construct. + private ListAioControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListAioControllerRequest() { + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListAioControllerRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListAioControllerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + pageSize_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.ListAioControllerRequest.class, opi_api.storage.v1.ListAioControllerRequest.Builder.class); + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 1; + private int pageSize_; + /** + * int32 page_size = 1; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object pageToken_; + /** + * string page_token = 2; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (pageSize_ != 0) { + output.writeInt32(1, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + } + 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.ListAioControllerRequest)) { + return super.equals(obj); + } + opi_api.storage.v1.ListAioControllerRequest other = (opi_api.storage.v1.ListAioControllerRequest) obj; + + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.ListAioControllerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ListAioControllerRequest 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.ListAioControllerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ListAioControllerRequest 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.ListAioControllerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ListAioControllerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.ListAioControllerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ListAioControllerRequest 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.ListAioControllerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ListAioControllerRequest 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.ListAioControllerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ListAioControllerRequest 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.ListAioControllerRequest 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.ListAioControllerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ListAioControllerRequest) + opi_api.storage.v1.ListAioControllerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.ListAioControllerRequest.class, opi_api.storage.v1.ListAioControllerRequest.Builder.class); + } + + // Construct using opi_api.storage.v1.ListAioControllerRequest.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(); + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerRequest_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.ListAioControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.ListAioControllerRequest.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.ListAioControllerRequest build() { + opi_api.storage.v1.ListAioControllerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.ListAioControllerRequest buildPartial() { + opi_api.storage.v1.ListAioControllerRequest result = new opi_api.storage.v1.ListAioControllerRequest(this); + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + 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.ListAioControllerRequest) { + return mergeFrom((opi_api.storage.v1.ListAioControllerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.ListAioControllerRequest other) { + if (other == opi_api.storage.v1.ListAioControllerRequest.getDefaultInstance()) return this; + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.ListAioControllerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.ListAioControllerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int pageSize_ ; + /** + * int32 page_size = 1; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * int32 page_size = 1; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * int32 page_size = 1; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * string page_token = 2; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string page_token = 2; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * string page_token = 2; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * string page_token = 2; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ListAioControllerRequest) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListAioControllerRequest) + private static final opi_api.storage.v1.ListAioControllerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.ListAioControllerRequest(); + } + + public static opi_api.storage.v1.ListAioControllerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAioControllerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAioControllerRequest(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.ListAioControllerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerRequestOrBuilder.java new file mode 100644 index 00000000..fa245484 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerRequestOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +public interface ListAioControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ListAioControllerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 page_size = 1; + * @return The pageSize. + */ + int getPageSize(); + + /** + * string page_token = 2; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerResponse.java new file mode 100644 index 00000000..c8388087 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerResponse.java @@ -0,0 +1,908 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +/** + * Protobuf type {@code opi_api.storage.v1.ListAioControllerResponse} + */ +public final class ListAioControllerResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ListAioControllerResponse) + ListAioControllerResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListAioControllerResponse.newBuilder() to construct. + private ListAioControllerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListAioControllerResponse() { + devices_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListAioControllerResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListAioControllerResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + 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: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + devices_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + devices_.add( + input.readMessage(opi_api.storage.v1.AioController.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + devices_ = java.util.Collections.unmodifiableList(devices_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.ListAioControllerResponse.class, opi_api.storage.v1.ListAioControllerResponse.Builder.class); + } + + public static final int DEVICES_FIELD_NUMBER = 1; + private java.util.List devices_; + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + @java.lang.Override + public java.util.List getDevicesList() { + return devices_; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + @java.lang.Override + public java.util.List + getDevicesOrBuilderList() { + return devices_; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + @java.lang.Override + public int getDevicesCount() { + return devices_.size(); + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + @java.lang.Override + public opi_api.storage.v1.AioController getDevices(int index) { + return devices_.get(index); + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + @java.lang.Override + public opi_api.storage.v1.AioControllerOrBuilder getDevicesOrBuilder( + int index) { + return devices_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < devices_.size(); i++) { + output.writeMessage(1, devices_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < devices_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, devices_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + 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.ListAioControllerResponse)) { + return super.equals(obj); + } + opi_api.storage.v1.ListAioControllerResponse other = (opi_api.storage.v1.ListAioControllerResponse) obj; + + if (!getDevicesList() + .equals(other.getDevicesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) 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 (getDevicesCount() > 0) { + hash = (37 * hash) + DEVICES_FIELD_NUMBER; + hash = (53 * hash) + getDevicesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static opi_api.storage.v1.ListAioControllerResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ListAioControllerResponse 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.ListAioControllerResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ListAioControllerResponse 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.ListAioControllerResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static opi_api.storage.v1.ListAioControllerResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static opi_api.storage.v1.ListAioControllerResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ListAioControllerResponse 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.ListAioControllerResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ListAioControllerResponse 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.ListAioControllerResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static opi_api.storage.v1.ListAioControllerResponse 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.ListAioControllerResponse 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.ListAioControllerResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ListAioControllerResponse) + opi_api.storage.v1.ListAioControllerResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + opi_api.storage.v1.ListAioControllerResponse.class, opi_api.storage.v1.ListAioControllerResponse.Builder.class); + } + + // Construct using opi_api.storage.v1.ListAioControllerResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDevicesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (devicesBuilder_ == null) { + devices_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + devicesBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_ListAioControllerResponse_descriptor; + } + + @java.lang.Override + public opi_api.storage.v1.ListAioControllerResponse getDefaultInstanceForType() { + return opi_api.storage.v1.ListAioControllerResponse.getDefaultInstance(); + } + + @java.lang.Override + public opi_api.storage.v1.ListAioControllerResponse build() { + opi_api.storage.v1.ListAioControllerResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public opi_api.storage.v1.ListAioControllerResponse buildPartial() { + opi_api.storage.v1.ListAioControllerResponse result = new opi_api.storage.v1.ListAioControllerResponse(this); + int from_bitField0_ = bitField0_; + if (devicesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + devices_ = java.util.Collections.unmodifiableList(devices_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.devices_ = devices_; + } else { + result.devices_ = devicesBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + 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.ListAioControllerResponse) { + return mergeFrom((opi_api.storage.v1.ListAioControllerResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(opi_api.storage.v1.ListAioControllerResponse other) { + if (other == opi_api.storage.v1.ListAioControllerResponse.getDefaultInstance()) return this; + if (devicesBuilder_ == null) { + if (!other.devices_.isEmpty()) { + if (devices_.isEmpty()) { + devices_ = other.devices_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDevicesIsMutable(); + devices_.addAll(other.devices_); + } + onChanged(); + } + } else { + if (!other.devices_.isEmpty()) { + if (devicesBuilder_.isEmpty()) { + devicesBuilder_.dispose(); + devicesBuilder_ = null; + devices_ = other.devices_; + bitField0_ = (bitField0_ & ~0x00000001); + devicesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDevicesFieldBuilder() : null; + } else { + devicesBuilder_.addAllMessages(other.devices_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + opi_api.storage.v1.ListAioControllerResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (opi_api.storage.v1.ListAioControllerResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List devices_ = + java.util.Collections.emptyList(); + private void ensureDevicesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + devices_ = new java.util.ArrayList(devices_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + opi_api.storage.v1.AioController, opi_api.storage.v1.AioController.Builder, opi_api.storage.v1.AioControllerOrBuilder> devicesBuilder_; + + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public java.util.List getDevicesList() { + if (devicesBuilder_ == null) { + return java.util.Collections.unmodifiableList(devices_); + } else { + return devicesBuilder_.getMessageList(); + } + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public int getDevicesCount() { + if (devicesBuilder_ == null) { + return devices_.size(); + } else { + return devicesBuilder_.getCount(); + } + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public opi_api.storage.v1.AioController getDevices(int index) { + if (devicesBuilder_ == null) { + return devices_.get(index); + } else { + return devicesBuilder_.getMessage(index); + } + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder setDevices( + int index, opi_api.storage.v1.AioController value) { + if (devicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDevicesIsMutable(); + devices_.set(index, value); + onChanged(); + } else { + devicesBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder setDevices( + int index, opi_api.storage.v1.AioController.Builder builderForValue) { + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.set(index, builderForValue.build()); + onChanged(); + } else { + devicesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder addDevices(opi_api.storage.v1.AioController value) { + if (devicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDevicesIsMutable(); + devices_.add(value); + onChanged(); + } else { + devicesBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder addDevices( + int index, opi_api.storage.v1.AioController value) { + if (devicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDevicesIsMutable(); + devices_.add(index, value); + onChanged(); + } else { + devicesBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder addDevices( + opi_api.storage.v1.AioController.Builder builderForValue) { + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.add(builderForValue.build()); + onChanged(); + } else { + devicesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder addDevices( + int index, opi_api.storage.v1.AioController.Builder builderForValue) { + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.add(index, builderForValue.build()); + onChanged(); + } else { + devicesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder addAllDevices( + java.lang.Iterable values) { + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, devices_); + onChanged(); + } else { + devicesBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder clearDevices() { + if (devicesBuilder_ == null) { + devices_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + devicesBuilder_.clear(); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public Builder removeDevices(int index) { + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.remove(index); + onChanged(); + } else { + devicesBuilder_.remove(index); + } + return this; + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public opi_api.storage.v1.AioController.Builder getDevicesBuilder( + int index) { + return getDevicesFieldBuilder().getBuilder(index); + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public opi_api.storage.v1.AioControllerOrBuilder getDevicesOrBuilder( + int index) { + if (devicesBuilder_ == null) { + return devices_.get(index); } else { + return devicesBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public java.util.List + getDevicesOrBuilderList() { + if (devicesBuilder_ != null) { + return devicesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(devices_); + } + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public opi_api.storage.v1.AioController.Builder addDevicesBuilder() { + return getDevicesFieldBuilder().addBuilder( + opi_api.storage.v1.AioController.getDefaultInstance()); + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public opi_api.storage.v1.AioController.Builder addDevicesBuilder( + int index) { + return getDevicesFieldBuilder().addBuilder( + index, opi_api.storage.v1.AioController.getDefaultInstance()); + } + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + public java.util.List + getDevicesBuilderList() { + return getDevicesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + opi_api.storage.v1.AioController, opi_api.storage.v1.AioController.Builder, opi_api.storage.v1.AioControllerOrBuilder> + getDevicesFieldBuilder() { + if (devicesBuilder_ == null) { + devicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + opi_api.storage.v1.AioController, opi_api.storage.v1.AioController.Builder, opi_api.storage.v1.AioControllerOrBuilder>( + devices_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + devices_ = null; + } + return devicesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ListAioControllerResponse) + } + + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListAioControllerResponse) + private static final opi_api.storage.v1.ListAioControllerResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new opi_api.storage.v1.ListAioControllerResponse(); + } + + public static opi_api.storage.v1.ListAioControllerResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAioControllerResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAioControllerResponse(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.ListAioControllerResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerResponseOrBuilder.java new file mode 100644 index 00000000..b8befe12 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListAioControllerResponseOrBuilder.java @@ -0,0 +1,45 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_aio.proto + +package opi_api.storage.v1; + +public interface ListAioControllerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ListAioControllerResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + java.util.List + getDevicesList(); + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + opi_api.storage.v1.AioController getDevices(int index); + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + int getDevicesCount(); + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + java.util.List + getDevicesOrBuilderList(); + /** + * repeated .opi_api.storage.v1.AioController devices = 1; + */ + opi_api.storage.v1.AioControllerOrBuilder getDevicesOrBuilder( + int index); + + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerRequest.java similarity index 55% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerRequest.java index d7b0caaa..83e07406 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerRequest.java @@ -4,25 +4,26 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerListRequest} + * Protobuf type {@code opi_api.storage.v1.ListNVMfRemoteControllerRequest} */ -public final class NVMfRemoteControllerListRequest extends +public final class ListNVMfRemoteControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerListRequest) - NVMfRemoteControllerListRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ListNVMfRemoteControllerRequest) + ListNVMfRemoteControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerListRequest.newBuilder() to construct. - private NVMfRemoteControllerListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ListNVMfRemoteControllerRequest.newBuilder() to construct. + private ListNVMfRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NVMfRemoteControllerListRequest() { + private ListNVMfRemoteControllerRequest() { + pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NVMfRemoteControllerListRequest(); + return new ListNVMfRemoteControllerRequest(); } @java.lang.Override @@ -30,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NVMfRemoteControllerListRequest( + private ListNVMfRemoteControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -50,7 +51,13 @@ private NVMfRemoteControllerListRequest( break; case 8: { - id_ = input.readInt64(); + pageSize_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; break; } default: { @@ -74,26 +81,64 @@ private NVMfRemoteControllerListRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerListRequest.class, opi_api.storage.v1.NVMfRemoteControllerListRequest.Builder.class); + opi_api.storage.v1.ListNVMfRemoteControllerRequest.class, opi_api.storage.v1.ListNVMfRemoteControllerRequest.Builder.class); } - public static final int ID_FIELD_NUMBER = 1; - private long id_; + public static final int PAGE_SIZE_FIELD_NUMBER = 1; + private int pageSize_; + /** + * int32 page_size = 1; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object pageToken_; + /** + * string page_token = 2; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } /** - * int64 id = 1; - * @return The id. + * string page_token = 2; + * @return The bytes for pageToken. */ @java.lang.Override - public long getId() { - return id_; + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -110,8 +155,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); + if (pageSize_ != 0) { + output.writeInt32(1, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); } unknownFields.writeTo(output); } @@ -122,9 +170,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (id_ != 0L) { + if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); + .computeInt32Size(1, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -136,13 +187,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NVMfRemoteControllerListRequest)) { + if (!(obj instanceof opi_api.storage.v1.ListNVMfRemoteControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.NVMfRemoteControllerListRequest other = (opi_api.storage.v1.NVMfRemoteControllerListRequest) obj; + opi_api.storage.v1.ListNVMfRemoteControllerRequest other = (opi_api.storage.v1.ListNVMfRemoteControllerRequest) obj; - if (getId() - != other.getId()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -154,77 +207,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest 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.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest 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.NVMfRemoteControllerListRequest parseFrom(byte[] data) + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest 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.NVMfRemoteControllerListRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseDelimitedFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest 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.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -237,7 +291,7 @@ public static opi_api.storage.v1.NVMfRemoteControllerListRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NVMfRemoteControllerListRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.ListNVMfRemoteControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -253,26 +307,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerListRequest} + * Protobuf type {@code opi_api.storage.v1.ListNVMfRemoteControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerListRequest) - opi_api.storage.v1.NVMfRemoteControllerListRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ListNVMfRemoteControllerRequest) + opi_api.storage.v1.ListNVMfRemoteControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerListRequest.class, opi_api.storage.v1.NVMfRemoteControllerListRequest.Builder.class); + opi_api.storage.v1.ListNVMfRemoteControllerRequest.class, opi_api.storage.v1.ListNVMfRemoteControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.NVMfRemoteControllerListRequest.newBuilder() + // Construct using opi_api.storage.v1.ListNVMfRemoteControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -290,7 +344,9 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - id_ = 0L; + pageSize_ = 0; + + pageToken_ = ""; return this; } @@ -298,17 +354,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListRequest_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerListRequest.getDefaultInstance(); + public opi_api.storage.v1.ListNVMfRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.ListNVMfRemoteControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListRequest build() { - opi_api.storage.v1.NVMfRemoteControllerListRequest result = buildPartial(); + public opi_api.storage.v1.ListNVMfRemoteControllerRequest build() { + opi_api.storage.v1.ListNVMfRemoteControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -316,9 +372,10 @@ public opi_api.storage.v1.NVMfRemoteControllerListRequest build() { } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListRequest buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerListRequest result = new opi_api.storage.v1.NVMfRemoteControllerListRequest(this); - result.id_ = id_; + public opi_api.storage.v1.ListNVMfRemoteControllerRequest buildPartial() { + opi_api.storage.v1.ListNVMfRemoteControllerRequest result = new opi_api.storage.v1.ListNVMfRemoteControllerRequest(this); + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; onBuilt(); return result; } @@ -357,18 +414,22 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NVMfRemoteControllerListRequest) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerListRequest)other); + if (other instanceof opi_api.storage.v1.ListNVMfRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.ListNVMfRemoteControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerListRequest other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerListRequest.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); + public Builder mergeFrom(opi_api.storage.v1.ListNVMfRemoteControllerRequest other) { + if (other == opi_api.storage.v1.ListNVMfRemoteControllerRequest.getDefaultInstance()) return this; + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -385,11 +446,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NVMfRemoteControllerListRequest parsedMessage = null; + opi_api.storage.v1.ListNVMfRemoteControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerListRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.ListNVMfRemoteControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -399,33 +460,109 @@ public Builder mergeFrom( return this; } - private long id_ ; + private int pageSize_ ; /** - * int64 id = 1; - * @return The id. + * int32 page_size = 1; + * @return The pageSize. */ @java.lang.Override - public long getId() { - return id_; + public int getPageSize() { + return pageSize_; } /** - * int64 id = 1; - * @param value The id to set. + * int32 page_size = 1; + * @param value The pageSize to set. * @return This builder for chaining. */ - public Builder setId(long value) { + public Builder setPageSize(int value) { - id_ = value; + pageSize_ = value; onChanged(); return this; } /** - * int64 id = 1; + * int32 page_size = 1; * @return This builder for chaining. */ - public Builder clearId() { + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * string page_token = 2; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string page_token = 2; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * string page_token = 2; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * string page_token = 2; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); - id_ = 0L; + pageToken_ = value; onChanged(); return this; } @@ -442,41 +579,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NVMfRemoteControllerListRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ListNVMfRemoteControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerListRequest) - private static final opi_api.storage.v1.NVMfRemoteControllerListRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNVMfRemoteControllerRequest) + private static final opi_api.storage.v1.ListNVMfRemoteControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerListRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.ListNVMfRemoteControllerRequest(); } - public static opi_api.storage.v1.NVMfRemoteControllerListRequest getDefaultInstance() { + public static opi_api.storage.v1.ListNVMfRemoteControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NVMfRemoteControllerListRequest parsePartialFrom( + public ListNVMfRemoteControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerListRequest(input, extensionRegistry); + return new ListNVMfRemoteControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListRequest getDefaultInstanceForType() { + public opi_api.storage.v1.ListNVMfRemoteControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerRequestOrBuilder.java new file mode 100644 index 00000000..135142f3 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerRequestOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_nvme_tcp.proto + +package opi_api.storage.v1; + +public interface ListNVMfRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ListNVMfRemoteControllerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 page_size = 1; + * @return The pageSize. + */ + int getPageSize(); + + /** + * string page_token = 2; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerResponse.java similarity index 56% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerResponse.java index bed3c993..3673b3e6 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerResponse.java @@ -4,26 +4,27 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerListResponse} + * Protobuf type {@code opi_api.storage.v1.ListNVMfRemoteControllerResponse} */ -public final class NVMfRemoteControllerListResponse extends +public final class ListNVMfRemoteControllerResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerListResponse) - NVMfRemoteControllerListResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ListNVMfRemoteControllerResponse) + ListNVMfRemoteControllerResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerListResponse.newBuilder() to construct. - private NVMfRemoteControllerListResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ListNVMfRemoteControllerResponse.newBuilder() to construct. + private ListNVMfRemoteControllerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NVMfRemoteControllerListResponse() { - ctrl_ = java.util.Collections.emptyList(); + private ListNVMfRemoteControllerResponse() { + ctrls_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NVMfRemoteControllerListResponse(); + return new ListNVMfRemoteControllerResponse(); } @java.lang.Override @@ -31,7 +32,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NVMfRemoteControllerListResponse( + private ListNVMfRemoteControllerResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -52,13 +53,19 @@ private NVMfRemoteControllerListResponse( break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - ctrl_ = new java.util.ArrayList(); + ctrls_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - ctrl_.add( + ctrls_.add( input.readMessage(opi_api.storage.v1.NVMfRemoteController.parser(), extensionRegistry)); break; } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -75,7 +82,7 @@ private NVMfRemoteControllerListResponse( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - ctrl_ = java.util.Collections.unmodifiableList(ctrl_); + ctrls_ = java.util.Collections.unmodifiableList(ctrls_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -83,55 +90,93 @@ private NVMfRemoteControllerListResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerListResponse.class, opi_api.storage.v1.NVMfRemoteControllerListResponse.Builder.class); + opi_api.storage.v1.ListNVMfRemoteControllerResponse.class, opi_api.storage.v1.ListNVMfRemoteControllerResponse.Builder.class); } - public static final int CTRL_FIELD_NUMBER = 1; - private java.util.List ctrl_; + public static final int CTRLS_FIELD_NUMBER = 1; + private java.util.List ctrls_; /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ @java.lang.Override - public java.util.List getCtrlList() { - return ctrl_; + public java.util.List getCtrlsList() { + return ctrls_; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ @java.lang.Override public java.util.List - getCtrlOrBuilderList() { - return ctrl_; + getCtrlsOrBuilderList() { + return ctrls_; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ @java.lang.Override - public int getCtrlCount() { - return ctrl_.size(); + public int getCtrlsCount() { + return ctrls_.size(); } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ @java.lang.Override - public opi_api.storage.v1.NVMfRemoteController getCtrl(int index) { - return ctrl_.get(index); + public opi_api.storage.v1.NVMfRemoteController getCtrls(int index) { + return ctrls_.get(index); } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerOrBuilder getCtrlOrBuilder( + public opi_api.storage.v1.NVMfRemoteControllerOrBuilder getCtrlsOrBuilder( int index) { - return ctrl_.get(index); + return ctrls_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -148,8 +193,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < ctrl_.size(); i++) { - output.writeMessage(1, ctrl_.get(i)); + for (int i = 0; i < ctrls_.size(); i++) { + output.writeMessage(1, ctrls_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @@ -160,9 +208,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < ctrl_.size(); i++) { + for (int i = 0; i < ctrls_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, ctrl_.get(i)); + .computeMessageSize(1, ctrls_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -174,13 +225,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NVMfRemoteControllerListResponse)) { + if (!(obj instanceof opi_api.storage.v1.ListNVMfRemoteControllerResponse)) { return super.equals(obj); } - opi_api.storage.v1.NVMfRemoteControllerListResponse other = (opi_api.storage.v1.NVMfRemoteControllerListResponse) obj; + opi_api.storage.v1.ListNVMfRemoteControllerResponse other = (opi_api.storage.v1.ListNVMfRemoteControllerResponse) obj; - if (!getCtrlList() - .equals(other.getCtrlList())) return false; + if (!getCtrlsList() + .equals(other.getCtrlsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -192,78 +245,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getCtrlCount() > 0) { - hash = (37 * hash) + CTRL_FIELD_NUMBER; - hash = (53 * hash) + getCtrlList().hashCode(); + if (getCtrlsCount() > 0) { + hash = (37 * hash) + CTRLS_FIELD_NUMBER; + hash = (53 * hash) + getCtrlsList().hashCode(); } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse 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.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse 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.NVMfRemoteControllerListResponse parseFrom(byte[] data) + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse 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.NVMfRemoteControllerListResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseDelimitedFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse 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.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -276,7 +331,7 @@ public static opi_api.storage.v1.NVMfRemoteControllerListResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NVMfRemoteControllerListResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.ListNVMfRemoteControllerResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -292,26 +347,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerListResponse} + * Protobuf type {@code opi_api.storage.v1.ListNVMfRemoteControllerResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerListResponse) - opi_api.storage.v1.NVMfRemoteControllerListResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ListNVMfRemoteControllerResponse) + opi_api.storage.v1.ListNVMfRemoteControllerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerListResponse.class, opi_api.storage.v1.NVMfRemoteControllerListResponse.Builder.class); + opi_api.storage.v1.ListNVMfRemoteControllerResponse.class, opi_api.storage.v1.ListNVMfRemoteControllerResponse.Builder.class); } - // Construct using opi_api.storage.v1.NVMfRemoteControllerListResponse.newBuilder() + // Construct using opi_api.storage.v1.ListNVMfRemoteControllerResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -324,35 +379,37 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getCtrlFieldBuilder(); + getCtrlsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (ctrlBuilder_ == null) { - ctrl_ = java.util.Collections.emptyList(); + if (ctrlsBuilder_ == null) { + ctrls_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { - ctrlBuilder_.clear(); + ctrlsBuilder_.clear(); } + nextPageToken_ = ""; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerListResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_ListNVMfRemoteControllerResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerListResponse.getDefaultInstance(); + public opi_api.storage.v1.ListNVMfRemoteControllerResponse getDefaultInstanceForType() { + return opi_api.storage.v1.ListNVMfRemoteControllerResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListResponse build() { - opi_api.storage.v1.NVMfRemoteControllerListResponse result = buildPartial(); + public opi_api.storage.v1.ListNVMfRemoteControllerResponse build() { + opi_api.storage.v1.ListNVMfRemoteControllerResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -360,18 +417,19 @@ public opi_api.storage.v1.NVMfRemoteControllerListResponse build() { } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListResponse buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerListResponse result = new opi_api.storage.v1.NVMfRemoteControllerListResponse(this); + public opi_api.storage.v1.ListNVMfRemoteControllerResponse buildPartial() { + opi_api.storage.v1.ListNVMfRemoteControllerResponse result = new opi_api.storage.v1.ListNVMfRemoteControllerResponse(this); int from_bitField0_ = bitField0_; - if (ctrlBuilder_ == null) { + if (ctrlsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - ctrl_ = java.util.Collections.unmodifiableList(ctrl_); + ctrls_ = java.util.Collections.unmodifiableList(ctrls_); bitField0_ = (bitField0_ & ~0x00000001); } - result.ctrl_ = ctrl_; + result.ctrls_ = ctrls_; } else { - result.ctrl_ = ctrlBuilder_.build(); + result.ctrls_ = ctrlsBuilder_.build(); } + result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @@ -410,42 +468,46 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NVMfRemoteControllerListResponse) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerListResponse)other); + if (other instanceof opi_api.storage.v1.ListNVMfRemoteControllerResponse) { + return mergeFrom((opi_api.storage.v1.ListNVMfRemoteControllerResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerListResponse other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerListResponse.getDefaultInstance()) return this; - if (ctrlBuilder_ == null) { - if (!other.ctrl_.isEmpty()) { - if (ctrl_.isEmpty()) { - ctrl_ = other.ctrl_; + public Builder mergeFrom(opi_api.storage.v1.ListNVMfRemoteControllerResponse other) { + if (other == opi_api.storage.v1.ListNVMfRemoteControllerResponse.getDefaultInstance()) return this; + if (ctrlsBuilder_ == null) { + if (!other.ctrls_.isEmpty()) { + if (ctrls_.isEmpty()) { + ctrls_ = other.ctrls_; bitField0_ = (bitField0_ & ~0x00000001); } else { - ensureCtrlIsMutable(); - ctrl_.addAll(other.ctrl_); + ensureCtrlsIsMutable(); + ctrls_.addAll(other.ctrls_); } onChanged(); } } else { - if (!other.ctrl_.isEmpty()) { - if (ctrlBuilder_.isEmpty()) { - ctrlBuilder_.dispose(); - ctrlBuilder_ = null; - ctrl_ = other.ctrl_; + if (!other.ctrls_.isEmpty()) { + if (ctrlsBuilder_.isEmpty()) { + ctrlsBuilder_.dispose(); + ctrlsBuilder_ = null; + ctrls_ = other.ctrls_; bitField0_ = (bitField0_ & ~0x00000001); - ctrlBuilder_ = + ctrlsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCtrlFieldBuilder() : null; + getCtrlsFieldBuilder() : null; } else { - ctrlBuilder_.addAllMessages(other.ctrl_); + ctrlsBuilder_.addAllMessages(other.ctrls_); } } } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -461,11 +523,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NVMfRemoteControllerListResponse parsedMessage = null; + opi_api.storage.v1.ListNVMfRemoteControllerResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerListResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.ListNVMfRemoteControllerResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -476,244 +538,320 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List ctrl_ = + private java.util.List ctrls_ = java.util.Collections.emptyList(); - private void ensureCtrlIsMutable() { + private void ensureCtrlsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - ctrl_ = new java.util.ArrayList(ctrl_); + ctrls_ = new java.util.ArrayList(ctrls_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - opi_api.storage.v1.NVMfRemoteController, opi_api.storage.v1.NVMfRemoteController.Builder, opi_api.storage.v1.NVMfRemoteControllerOrBuilder> ctrlBuilder_; + opi_api.storage.v1.NVMfRemoteController, opi_api.storage.v1.NVMfRemoteController.Builder, opi_api.storage.v1.NVMfRemoteControllerOrBuilder> ctrlsBuilder_; /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public java.util.List getCtrlList() { - if (ctrlBuilder_ == null) { - return java.util.Collections.unmodifiableList(ctrl_); + public java.util.List getCtrlsList() { + if (ctrlsBuilder_ == null) { + return java.util.Collections.unmodifiableList(ctrls_); } else { - return ctrlBuilder_.getMessageList(); + return ctrlsBuilder_.getMessageList(); } } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public int getCtrlCount() { - if (ctrlBuilder_ == null) { - return ctrl_.size(); + public int getCtrlsCount() { + if (ctrlsBuilder_ == null) { + return ctrls_.size(); } else { - return ctrlBuilder_.getCount(); + return ctrlsBuilder_.getCount(); } } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public opi_api.storage.v1.NVMfRemoteController getCtrl(int index) { - if (ctrlBuilder_ == null) { - return ctrl_.get(index); + public opi_api.storage.v1.NVMfRemoteController getCtrls(int index) { + if (ctrlsBuilder_ == null) { + return ctrls_.get(index); } else { - return ctrlBuilder_.getMessage(index); + return ctrlsBuilder_.getMessage(index); } } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder setCtrl( + public Builder setCtrls( int index, opi_api.storage.v1.NVMfRemoteController value) { - if (ctrlBuilder_ == null) { + if (ctrlsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureCtrlIsMutable(); - ctrl_.set(index, value); + ensureCtrlsIsMutable(); + ctrls_.set(index, value); onChanged(); } else { - ctrlBuilder_.setMessage(index, value); + ctrlsBuilder_.setMessage(index, value); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder setCtrl( + public Builder setCtrls( int index, opi_api.storage.v1.NVMfRemoteController.Builder builderForValue) { - if (ctrlBuilder_ == null) { - ensureCtrlIsMutable(); - ctrl_.set(index, builderForValue.build()); + if (ctrlsBuilder_ == null) { + ensureCtrlsIsMutable(); + ctrls_.set(index, builderForValue.build()); onChanged(); } else { - ctrlBuilder_.setMessage(index, builderForValue.build()); + ctrlsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder addCtrl(opi_api.storage.v1.NVMfRemoteController value) { - if (ctrlBuilder_ == null) { + public Builder addCtrls(opi_api.storage.v1.NVMfRemoteController value) { + if (ctrlsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureCtrlIsMutable(); - ctrl_.add(value); + ensureCtrlsIsMutable(); + ctrls_.add(value); onChanged(); } else { - ctrlBuilder_.addMessage(value); + ctrlsBuilder_.addMessage(value); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder addCtrl( + public Builder addCtrls( int index, opi_api.storage.v1.NVMfRemoteController value) { - if (ctrlBuilder_ == null) { + if (ctrlsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureCtrlIsMutable(); - ctrl_.add(index, value); + ensureCtrlsIsMutable(); + ctrls_.add(index, value); onChanged(); } else { - ctrlBuilder_.addMessage(index, value); + ctrlsBuilder_.addMessage(index, value); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder addCtrl( + public Builder addCtrls( opi_api.storage.v1.NVMfRemoteController.Builder builderForValue) { - if (ctrlBuilder_ == null) { - ensureCtrlIsMutable(); - ctrl_.add(builderForValue.build()); + if (ctrlsBuilder_ == null) { + ensureCtrlsIsMutable(); + ctrls_.add(builderForValue.build()); onChanged(); } else { - ctrlBuilder_.addMessage(builderForValue.build()); + ctrlsBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder addCtrl( + public Builder addCtrls( int index, opi_api.storage.v1.NVMfRemoteController.Builder builderForValue) { - if (ctrlBuilder_ == null) { - ensureCtrlIsMutable(); - ctrl_.add(index, builderForValue.build()); + if (ctrlsBuilder_ == null) { + ensureCtrlsIsMutable(); + ctrls_.add(index, builderForValue.build()); onChanged(); } else { - ctrlBuilder_.addMessage(index, builderForValue.build()); + ctrlsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder addAllCtrl( + public Builder addAllCtrls( java.lang.Iterable values) { - if (ctrlBuilder_ == null) { - ensureCtrlIsMutable(); + if (ctrlsBuilder_ == null) { + ensureCtrlsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ctrl_); + values, ctrls_); onChanged(); } else { - ctrlBuilder_.addAllMessages(values); + ctrlsBuilder_.addAllMessages(values); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder clearCtrl() { - if (ctrlBuilder_ == null) { - ctrl_ = java.util.Collections.emptyList(); + public Builder clearCtrls() { + if (ctrlsBuilder_ == null) { + ctrls_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { - ctrlBuilder_.clear(); + ctrlsBuilder_.clear(); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public Builder removeCtrl(int index) { - if (ctrlBuilder_ == null) { - ensureCtrlIsMutable(); - ctrl_.remove(index); + public Builder removeCtrls(int index) { + if (ctrlsBuilder_ == null) { + ensureCtrlsIsMutable(); + ctrls_.remove(index); onChanged(); } else { - ctrlBuilder_.remove(index); + ctrlsBuilder_.remove(index); } return this; } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public opi_api.storage.v1.NVMfRemoteController.Builder getCtrlBuilder( + public opi_api.storage.v1.NVMfRemoteController.Builder getCtrlsBuilder( int index) { - return getCtrlFieldBuilder().getBuilder(index); + return getCtrlsFieldBuilder().getBuilder(index); } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public opi_api.storage.v1.NVMfRemoteControllerOrBuilder getCtrlOrBuilder( + public opi_api.storage.v1.NVMfRemoteControllerOrBuilder getCtrlsOrBuilder( int index) { - if (ctrlBuilder_ == null) { - return ctrl_.get(index); } else { - return ctrlBuilder_.getMessageOrBuilder(index); + if (ctrlsBuilder_ == null) { + return ctrls_.get(index); } else { + return ctrlsBuilder_.getMessageOrBuilder(index); } } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ public java.util.List - getCtrlOrBuilderList() { - if (ctrlBuilder_ != null) { - return ctrlBuilder_.getMessageOrBuilderList(); + getCtrlsOrBuilderList() { + if (ctrlsBuilder_ != null) { + return ctrlsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(ctrl_); + return java.util.Collections.unmodifiableList(ctrls_); } } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public opi_api.storage.v1.NVMfRemoteController.Builder addCtrlBuilder() { - return getCtrlFieldBuilder().addBuilder( + public opi_api.storage.v1.NVMfRemoteController.Builder addCtrlsBuilder() { + return getCtrlsFieldBuilder().addBuilder( opi_api.storage.v1.NVMfRemoteController.getDefaultInstance()); } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - public opi_api.storage.v1.NVMfRemoteController.Builder addCtrlBuilder( + public opi_api.storage.v1.NVMfRemoteController.Builder addCtrlsBuilder( int index) { - return getCtrlFieldBuilder().addBuilder( + return getCtrlsFieldBuilder().addBuilder( index, opi_api.storage.v1.NVMfRemoteController.getDefaultInstance()); } /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ public java.util.List - getCtrlBuilderList() { - return getCtrlFieldBuilder().getBuilderList(); + getCtrlsBuilderList() { + return getCtrlsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< opi_api.storage.v1.NVMfRemoteController, opi_api.storage.v1.NVMfRemoteController.Builder, opi_api.storage.v1.NVMfRemoteControllerOrBuilder> - getCtrlFieldBuilder() { - if (ctrlBuilder_ == null) { - ctrlBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + getCtrlsFieldBuilder() { + if (ctrlsBuilder_ == null) { + ctrlsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< opi_api.storage.v1.NVMfRemoteController, opi_api.storage.v1.NVMfRemoteController.Builder, opi_api.storage.v1.NVMfRemoteControllerOrBuilder>( - ctrl_, + ctrls_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - ctrl_ = null; + ctrls_ = null; + } + return ctrlsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - return ctrlBuilder_; + } + /** + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -728,41 +866,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NVMfRemoteControllerListResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ListNVMfRemoteControllerResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerListResponse) - private static final opi_api.storage.v1.NVMfRemoteControllerListResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNVMfRemoteControllerResponse) + private static final opi_api.storage.v1.ListNVMfRemoteControllerResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerListResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.ListNVMfRemoteControllerResponse(); } - public static opi_api.storage.v1.NVMfRemoteControllerListResponse getDefaultInstance() { + public static opi_api.storage.v1.ListNVMfRemoteControllerResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NVMfRemoteControllerListResponse parsePartialFrom( + public ListNVMfRemoteControllerResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerListResponse(input, extensionRegistry); + return new ListNVMfRemoteControllerResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerListResponse getDefaultInstanceForType() { + public opi_api.storage.v1.ListNVMfRemoteControllerResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerResponseOrBuilder.java similarity index 53% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListResponseOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerResponseOrBuilder.java index 0b2d61b4..0b572524 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNVMfRemoteControllerResponseOrBuilder.java @@ -3,31 +3,43 @@ package opi_api.storage.v1; -public interface NVMfRemoteControllerListResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerListResponse) +public interface ListNVMfRemoteControllerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ListNVMfRemoteControllerResponse) com.google.protobuf.MessageOrBuilder { /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ java.util.List - getCtrlList(); + getCtrlsList(); /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - opi_api.storage.v1.NVMfRemoteController getCtrl(int index); + opi_api.storage.v1.NVMfRemoteController getCtrls(int index); /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - int getCtrlCount(); + int getCtrlsCount(); /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ java.util.List - getCtrlOrBuilderList(); + getCtrlsOrBuilderList(); /** - * repeated .opi_api.storage.v1.NVMfRemoteController ctrl = 1; + * repeated .opi_api.storage.v1.NVMfRemoteController ctrls = 1; */ - opi_api.storage.v1.NVMfRemoteControllerOrBuilder getCtrlOrBuilder( + opi_api.storage.v1.NVMfRemoteControllerOrBuilder getCtrlsOrBuilder( int index); + + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugRequest.java similarity index 54% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugRequest.java index 6efa6ece..fad3453f 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugRequest.java @@ -4,29 +4,26 @@ package opi_api.storage.v1; /** - *
- * Intentionally empty.
- * 
- * - * Protobuf type {@code opi_api.storage.v1.NullDebugListRequest} + * Protobuf type {@code opi_api.storage.v1.ListNullDebugRequest} */ -public final class NullDebugListRequest extends +public final class ListNullDebugRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullDebugListRequest) - NullDebugListRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ListNullDebugRequest) + ListNullDebugRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NullDebugListRequest.newBuilder() to construct. - private NullDebugListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ListNullDebugRequest.newBuilder() to construct. + private ListNullDebugRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NullDebugListRequest() { + private ListNullDebugRequest() { + pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NullDebugListRequest(); + return new ListNullDebugRequest(); } @java.lang.Override @@ -34,7 +31,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NullDebugListRequest( + private ListNullDebugRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -52,6 +49,17 @@ private NullDebugListRequest( case 0: done = true; break; + case 8: { + + pageSize_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -73,15 +81,64 @@ private NullDebugListRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugListRequest.class, opi_api.storage.v1.NullDebugListRequest.Builder.class); + opi_api.storage.v1.ListNullDebugRequest.class, opi_api.storage.v1.ListNullDebugRequest.Builder.class); + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 1; + private int pageSize_; + /** + * int32 page_size = 1; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object pageToken_; + /** + * string page_token = 2; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -98,6 +155,12 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (pageSize_ != 0) { + output.writeInt32(1, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + } unknownFields.writeTo(output); } @@ -107,6 +170,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -117,11 +187,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NullDebugListRequest)) { + if (!(obj instanceof opi_api.storage.v1.ListNullDebugRequest)) { return super.equals(obj); } - opi_api.storage.v1.NullDebugListRequest other = (opi_api.storage.v1.NullDebugListRequest) obj; + opi_api.storage.v1.ListNullDebugRequest other = (opi_api.storage.v1.ListNullDebugRequest) obj; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -133,74 +207,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static opi_api.storage.v1.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest 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.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest 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.NullDebugListRequest parseFrom(byte[] data) + public static opi_api.storage.v1.ListNullDebugRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NullDebugListRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNullDebugRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest 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.NullDebugListRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNullDebugRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugListRequest parseDelimitedFrom( + public static opi_api.storage.v1.ListNullDebugRequest 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.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugListRequest parseFrom( + public static opi_api.storage.v1.ListNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -213,7 +291,7 @@ public static opi_api.storage.v1.NullDebugListRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NullDebugListRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.ListNullDebugRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -229,30 +307,26 @@ protected Builder newBuilderForType( return builder; } /** - *
-   * Intentionally empty.
-   * 
- * - * Protobuf type {@code opi_api.storage.v1.NullDebugListRequest} + * Protobuf type {@code opi_api.storage.v1.ListNullDebugRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullDebugListRequest) - opi_api.storage.v1.NullDebugListRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ListNullDebugRequest) + opi_api.storage.v1.ListNullDebugRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugListRequest.class, opi_api.storage.v1.NullDebugListRequest.Builder.class); + opi_api.storage.v1.ListNullDebugRequest.class, opi_api.storage.v1.ListNullDebugRequest.Builder.class); } - // Construct using opi_api.storage.v1.NullDebugListRequest.newBuilder() + // Construct using opi_api.storage.v1.ListNullDebugRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -270,23 +344,27 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + pageSize_ = 0; + + pageToken_ = ""; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NullDebugListRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NullDebugListRequest.getDefaultInstance(); + public opi_api.storage.v1.ListNullDebugRequest getDefaultInstanceForType() { + return opi_api.storage.v1.ListNullDebugRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NullDebugListRequest build() { - opi_api.storage.v1.NullDebugListRequest result = buildPartial(); + public opi_api.storage.v1.ListNullDebugRequest build() { + opi_api.storage.v1.ListNullDebugRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -294,8 +372,10 @@ public opi_api.storage.v1.NullDebugListRequest build() { } @java.lang.Override - public opi_api.storage.v1.NullDebugListRequest buildPartial() { - opi_api.storage.v1.NullDebugListRequest result = new opi_api.storage.v1.NullDebugListRequest(this); + public opi_api.storage.v1.ListNullDebugRequest buildPartial() { + opi_api.storage.v1.ListNullDebugRequest result = new opi_api.storage.v1.ListNullDebugRequest(this); + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; onBuilt(); return result; } @@ -334,16 +414,23 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullDebugListRequest) { - return mergeFrom((opi_api.storage.v1.NullDebugListRequest)other); + if (other instanceof opi_api.storage.v1.ListNullDebugRequest) { + return mergeFrom((opi_api.storage.v1.ListNullDebugRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NullDebugListRequest other) { - if (other == opi_api.storage.v1.NullDebugListRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.ListNullDebugRequest other) { + if (other == opi_api.storage.v1.ListNullDebugRequest.getDefaultInstance()) return this; + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -359,11 +446,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NullDebugListRequest parsedMessage = null; + opi_api.storage.v1.ListNullDebugRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullDebugListRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.ListNullDebugRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -372,6 +459,113 @@ public Builder mergeFrom( } return this; } + + private int pageSize_ ; + /** + * int32 page_size = 1; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * int32 page_size = 1; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * int32 page_size = 1; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * string page_token = 2; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string page_token = 2; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * string page_token = 2; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * string page_token = 2; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -385,41 +579,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullDebugListRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ListNullDebugRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugListRequest) - private static final opi_api.storage.v1.NullDebugListRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNullDebugRequest) + private static final opi_api.storage.v1.ListNullDebugRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullDebugListRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.ListNullDebugRequest(); } - public static opi_api.storage.v1.NullDebugListRequest getDefaultInstance() { + public static opi_api.storage.v1.ListNullDebugRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NullDebugListRequest parsePartialFrom( + public ListNullDebugRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NullDebugListRequest(input, extensionRegistry); + return new ListNullDebugRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NullDebugListRequest getDefaultInstanceForType() { + public opi_api.storage.v1.ListNullDebugRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugRequestOrBuilder.java new file mode 100644 index 00000000..1227efca --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugRequestOrBuilder.java @@ -0,0 +1,27 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_null.proto + +package opi_api.storage.v1; + +public interface ListNullDebugRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ListNullDebugRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 page_size = 1; + * @return The pageSize. + */ + int getPageSize(); + + /** + * string page_token = 2; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * string page_token = 2; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugResponse.java similarity index 50% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugResponse.java index 0231b73c..d8a359c9 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugResponse.java @@ -4,26 +4,27 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NullDebugListResponse} + * Protobuf type {@code opi_api.storage.v1.ListNullDebugResponse} */ -public final class NullDebugListResponse extends +public final class ListNullDebugResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullDebugListResponse) - NullDebugListResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.ListNullDebugResponse) + ListNullDebugResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use NullDebugListResponse.newBuilder() to construct. - private NullDebugListResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ListNullDebugResponse.newBuilder() to construct. + private ListNullDebugResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NullDebugListResponse() { - device_ = java.util.Collections.emptyList(); + private ListNullDebugResponse() { + devices_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NullDebugListResponse(); + return new ListNullDebugResponse(); } @java.lang.Override @@ -31,7 +32,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NullDebugListResponse( + private ListNullDebugResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -52,13 +53,19 @@ private NullDebugListResponse( break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - device_ = new java.util.ArrayList(); + devices_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - device_.add( + devices_.add( input.readMessage(opi_api.storage.v1.NullDebug.parser(), extensionRegistry)); break; } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -75,7 +82,7 @@ private NullDebugListResponse( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - device_ = java.util.Collections.unmodifiableList(device_); + devices_ = java.util.Collections.unmodifiableList(devices_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -83,55 +90,93 @@ private NullDebugListResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListResponse_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugListResponse.class, opi_api.storage.v1.NullDebugListResponse.Builder.class); + opi_api.storage.v1.ListNullDebugResponse.class, opi_api.storage.v1.ListNullDebugResponse.Builder.class); } - public static final int DEVICE_FIELD_NUMBER = 1; - private java.util.List device_; + public static final int DEVICES_FIELD_NUMBER = 1; + private java.util.List devices_; /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ @java.lang.Override - public java.util.List getDeviceList() { - return device_; + public java.util.List getDevicesList() { + return devices_; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ @java.lang.Override public java.util.List - getDeviceOrBuilderList() { - return device_; + getDevicesOrBuilderList() { + return devices_; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ @java.lang.Override - public int getDeviceCount() { - return device_.size(); + public int getDevicesCount() { + return devices_.size(); } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ @java.lang.Override - public opi_api.storage.v1.NullDebug getDevice(int index) { - return device_.get(index); + public opi_api.storage.v1.NullDebug getDevices(int index) { + return devices_.get(index); } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ @java.lang.Override - public opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder( + public opi_api.storage.v1.NullDebugOrBuilder getDevicesOrBuilder( int index) { - return device_.get(index); + return devices_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -148,8 +193,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < device_.size(); i++) { - output.writeMessage(1, device_.get(i)); + for (int i = 0; i < devices_.size(); i++) { + output.writeMessage(1, devices_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); } @@ -160,9 +208,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < device_.size(); i++) { + for (int i = 0; i < devices_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, device_.get(i)); + .computeMessageSize(1, devices_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -174,13 +225,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NullDebugListResponse)) { + if (!(obj instanceof opi_api.storage.v1.ListNullDebugResponse)) { return super.equals(obj); } - opi_api.storage.v1.NullDebugListResponse other = (opi_api.storage.v1.NullDebugListResponse) obj; + opi_api.storage.v1.ListNullDebugResponse other = (opi_api.storage.v1.ListNullDebugResponse) obj; - if (!getDeviceList() - .equals(other.getDeviceList())) return false; + if (!getDevicesList() + .equals(other.getDevicesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -192,78 +245,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getDeviceCount() > 0) { - hash = (37 * hash) + DEVICE_FIELD_NUMBER; - hash = (53 * hash) + getDeviceList().hashCode(); + if (getDevicesCount() > 0) { + hash = (37 * hash) + DEVICES_FIELD_NUMBER; + hash = (53 * hash) + getDevicesList().hashCode(); } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static opi_api.storage.v1.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse 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.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse 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.NullDebugListResponse parseFrom(byte[] data) + public static opi_api.storage.v1.ListNullDebugResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NullDebugListResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNullDebugResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse 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.NullDebugListResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.ListNullDebugResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugListResponse parseDelimitedFrom( + public static opi_api.storage.v1.ListNullDebugResponse 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.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugListResponse parseFrom( + public static opi_api.storage.v1.ListNullDebugResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -276,7 +331,7 @@ public static opi_api.storage.v1.NullDebugListResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NullDebugListResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.ListNullDebugResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -292,26 +347,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NullDebugListResponse} + * Protobuf type {@code opi_api.storage.v1.ListNullDebugResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullDebugListResponse) - opi_api.storage.v1.NullDebugListResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.ListNullDebugResponse) + opi_api.storage.v1.ListNullDebugResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListResponse_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugListResponse.class, opi_api.storage.v1.NullDebugListResponse.Builder.class); + opi_api.storage.v1.ListNullDebugResponse.class, opi_api.storage.v1.ListNullDebugResponse.Builder.class); } - // Construct using opi_api.storage.v1.NullDebugListResponse.newBuilder() + // Construct using opi_api.storage.v1.ListNullDebugResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -324,35 +379,37 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getDeviceFieldBuilder(); + getDevicesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (deviceBuilder_ == null) { - device_ = java.util.Collections.emptyList(); + if (devicesBuilder_ == null) { + devices_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { - deviceBuilder_.clear(); + devicesBuilder_.clear(); } + nextPageToken_ = ""; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugListResponse_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_ListNullDebugResponse_descriptor; } @java.lang.Override - public opi_api.storage.v1.NullDebugListResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NullDebugListResponse.getDefaultInstance(); + public opi_api.storage.v1.ListNullDebugResponse getDefaultInstanceForType() { + return opi_api.storage.v1.ListNullDebugResponse.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NullDebugListResponse build() { - opi_api.storage.v1.NullDebugListResponse result = buildPartial(); + public opi_api.storage.v1.ListNullDebugResponse build() { + opi_api.storage.v1.ListNullDebugResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -360,18 +417,19 @@ public opi_api.storage.v1.NullDebugListResponse build() { } @java.lang.Override - public opi_api.storage.v1.NullDebugListResponse buildPartial() { - opi_api.storage.v1.NullDebugListResponse result = new opi_api.storage.v1.NullDebugListResponse(this); + public opi_api.storage.v1.ListNullDebugResponse buildPartial() { + opi_api.storage.v1.ListNullDebugResponse result = new opi_api.storage.v1.ListNullDebugResponse(this); int from_bitField0_ = bitField0_; - if (deviceBuilder_ == null) { + if (devicesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - device_ = java.util.Collections.unmodifiableList(device_); + devices_ = java.util.Collections.unmodifiableList(devices_); bitField0_ = (bitField0_ & ~0x00000001); } - result.device_ = device_; + result.devices_ = devices_; } else { - result.device_ = deviceBuilder_.build(); + result.devices_ = devicesBuilder_.build(); } + result.nextPageToken_ = nextPageToken_; onBuilt(); return result; } @@ -410,42 +468,46 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullDebugListResponse) { - return mergeFrom((opi_api.storage.v1.NullDebugListResponse)other); + if (other instanceof opi_api.storage.v1.ListNullDebugResponse) { + return mergeFrom((opi_api.storage.v1.ListNullDebugResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NullDebugListResponse other) { - if (other == opi_api.storage.v1.NullDebugListResponse.getDefaultInstance()) return this; - if (deviceBuilder_ == null) { - if (!other.device_.isEmpty()) { - if (device_.isEmpty()) { - device_ = other.device_; + public Builder mergeFrom(opi_api.storage.v1.ListNullDebugResponse other) { + if (other == opi_api.storage.v1.ListNullDebugResponse.getDefaultInstance()) return this; + if (devicesBuilder_ == null) { + if (!other.devices_.isEmpty()) { + if (devices_.isEmpty()) { + devices_ = other.devices_; bitField0_ = (bitField0_ & ~0x00000001); } else { - ensureDeviceIsMutable(); - device_.addAll(other.device_); + ensureDevicesIsMutable(); + devices_.addAll(other.devices_); } onChanged(); } } else { - if (!other.device_.isEmpty()) { - if (deviceBuilder_.isEmpty()) { - deviceBuilder_.dispose(); - deviceBuilder_ = null; - device_ = other.device_; + if (!other.devices_.isEmpty()) { + if (devicesBuilder_.isEmpty()) { + devicesBuilder_.dispose(); + devicesBuilder_ = null; + devices_ = other.devices_; bitField0_ = (bitField0_ & ~0x00000001); - deviceBuilder_ = + devicesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeviceFieldBuilder() : null; + getDevicesFieldBuilder() : null; } else { - deviceBuilder_.addAllMessages(other.device_); + devicesBuilder_.addAllMessages(other.devices_); } } } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -461,11 +523,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NullDebugListResponse parsedMessage = null; + opi_api.storage.v1.ListNullDebugResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullDebugListResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.ListNullDebugResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -476,244 +538,320 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List device_ = + private java.util.List devices_ = java.util.Collections.emptyList(); - private void ensureDeviceIsMutable() { + private void ensureDevicesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - device_ = new java.util.ArrayList(device_); + devices_ = new java.util.ArrayList(devices_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - opi_api.storage.v1.NullDebug, opi_api.storage.v1.NullDebug.Builder, opi_api.storage.v1.NullDebugOrBuilder> deviceBuilder_; + opi_api.storage.v1.NullDebug, opi_api.storage.v1.NullDebug.Builder, opi_api.storage.v1.NullDebugOrBuilder> devicesBuilder_; /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public java.util.List getDeviceList() { - if (deviceBuilder_ == null) { - return java.util.Collections.unmodifiableList(device_); + public java.util.List getDevicesList() { + if (devicesBuilder_ == null) { + return java.util.Collections.unmodifiableList(devices_); } else { - return deviceBuilder_.getMessageList(); + return devicesBuilder_.getMessageList(); } } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public int getDeviceCount() { - if (deviceBuilder_ == null) { - return device_.size(); + public int getDevicesCount() { + if (devicesBuilder_ == null) { + return devices_.size(); } else { - return deviceBuilder_.getCount(); + return devicesBuilder_.getCount(); } } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public opi_api.storage.v1.NullDebug getDevice(int index) { - if (deviceBuilder_ == null) { - return device_.get(index); + public opi_api.storage.v1.NullDebug getDevices(int index) { + if (devicesBuilder_ == null) { + return devices_.get(index); } else { - return deviceBuilder_.getMessage(index); + return devicesBuilder_.getMessage(index); } } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder setDevice( + public Builder setDevices( int index, opi_api.storage.v1.NullDebug value) { - if (deviceBuilder_ == null) { + if (devicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureDeviceIsMutable(); - device_.set(index, value); + ensureDevicesIsMutable(); + devices_.set(index, value); onChanged(); } else { - deviceBuilder_.setMessage(index, value); + devicesBuilder_.setMessage(index, value); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder setDevice( + public Builder setDevices( int index, opi_api.storage.v1.NullDebug.Builder builderForValue) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.set(index, builderForValue.build()); + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.set(index, builderForValue.build()); onChanged(); } else { - deviceBuilder_.setMessage(index, builderForValue.build()); + devicesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder addDevice(opi_api.storage.v1.NullDebug value) { - if (deviceBuilder_ == null) { + public Builder addDevices(opi_api.storage.v1.NullDebug value) { + if (devicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureDeviceIsMutable(); - device_.add(value); + ensureDevicesIsMutable(); + devices_.add(value); onChanged(); } else { - deviceBuilder_.addMessage(value); + devicesBuilder_.addMessage(value); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder addDevice( + public Builder addDevices( int index, opi_api.storage.v1.NullDebug value) { - if (deviceBuilder_ == null) { + if (devicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureDeviceIsMutable(); - device_.add(index, value); + ensureDevicesIsMutable(); + devices_.add(index, value); onChanged(); } else { - deviceBuilder_.addMessage(index, value); + devicesBuilder_.addMessage(index, value); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder addDevice( + public Builder addDevices( opi_api.storage.v1.NullDebug.Builder builderForValue) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.add(builderForValue.build()); + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.add(builderForValue.build()); onChanged(); } else { - deviceBuilder_.addMessage(builderForValue.build()); + devicesBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder addDevice( + public Builder addDevices( int index, opi_api.storage.v1.NullDebug.Builder builderForValue) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.add(index, builderForValue.build()); + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.add(index, builderForValue.build()); onChanged(); } else { - deviceBuilder_.addMessage(index, builderForValue.build()); + devicesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder addAllDevice( + public Builder addAllDevices( java.lang.Iterable values) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, device_); + values, devices_); onChanged(); } else { - deviceBuilder_.addAllMessages(values); + devicesBuilder_.addAllMessages(values); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder clearDevice() { - if (deviceBuilder_ == null) { - device_ = java.util.Collections.emptyList(); + public Builder clearDevices() { + if (devicesBuilder_ == null) { + devices_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { - deviceBuilder_.clear(); + devicesBuilder_.clear(); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public Builder removeDevice(int index) { - if (deviceBuilder_ == null) { - ensureDeviceIsMutable(); - device_.remove(index); + public Builder removeDevices(int index) { + if (devicesBuilder_ == null) { + ensureDevicesIsMutable(); + devices_.remove(index); onChanged(); } else { - deviceBuilder_.remove(index); + devicesBuilder_.remove(index); } return this; } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public opi_api.storage.v1.NullDebug.Builder getDeviceBuilder( + public opi_api.storage.v1.NullDebug.Builder getDevicesBuilder( int index) { - return getDeviceFieldBuilder().getBuilder(index); + return getDevicesFieldBuilder().getBuilder(index); } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder( + public opi_api.storage.v1.NullDebugOrBuilder getDevicesOrBuilder( int index) { - if (deviceBuilder_ == null) { - return device_.get(index); } else { - return deviceBuilder_.getMessageOrBuilder(index); + if (devicesBuilder_ == null) { + return devices_.get(index); } else { + return devicesBuilder_.getMessageOrBuilder(index); } } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ public java.util.List - getDeviceOrBuilderList() { - if (deviceBuilder_ != null) { - return deviceBuilder_.getMessageOrBuilderList(); + getDevicesOrBuilderList() { + if (devicesBuilder_ != null) { + return devicesBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(device_); + return java.util.Collections.unmodifiableList(devices_); } } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public opi_api.storage.v1.NullDebug.Builder addDeviceBuilder() { - return getDeviceFieldBuilder().addBuilder( + public opi_api.storage.v1.NullDebug.Builder addDevicesBuilder() { + return getDevicesFieldBuilder().addBuilder( opi_api.storage.v1.NullDebug.getDefaultInstance()); } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ - public opi_api.storage.v1.NullDebug.Builder addDeviceBuilder( + public opi_api.storage.v1.NullDebug.Builder addDevicesBuilder( int index) { - return getDeviceFieldBuilder().addBuilder( + return getDevicesFieldBuilder().addBuilder( index, opi_api.storage.v1.NullDebug.getDefaultInstance()); } /** - * repeated .opi_api.storage.v1.NullDebug device = 1; + * repeated .opi_api.storage.v1.NullDebug devices = 1; */ public java.util.List - getDeviceBuilderList() { - return getDeviceFieldBuilder().getBuilderList(); + getDevicesBuilderList() { + return getDevicesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< opi_api.storage.v1.NullDebug, opi_api.storage.v1.NullDebug.Builder, opi_api.storage.v1.NullDebugOrBuilder> - getDeviceFieldBuilder() { - if (deviceBuilder_ == null) { - deviceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + getDevicesFieldBuilder() { + if (devicesBuilder_ == null) { + devicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< opi_api.storage.v1.NullDebug, opi_api.storage.v1.NullDebug.Builder, opi_api.storage.v1.NullDebugOrBuilder>( - device_, + devices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - device_ = null; + devices_ = null; + } + return devicesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - return deviceBuilder_; + } + /** + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -728,41 +866,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullDebugListResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.ListNullDebugResponse) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugListResponse) - private static final opi_api.storage.v1.NullDebugListResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNullDebugResponse) + private static final opi_api.storage.v1.ListNullDebugResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullDebugListResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.ListNullDebugResponse(); } - public static opi_api.storage.v1.NullDebugListResponse getDefaultInstance() { + public static opi_api.storage.v1.ListNullDebugResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NullDebugListResponse parsePartialFrom( + public ListNullDebugResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NullDebugListResponse(input, extensionRegistry); + return new ListNullDebugResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NullDebugListResponse getDefaultInstanceForType() { + public opi_api.storage.v1.ListNullDebugResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugResponseOrBuilder.java new file mode 100644 index 00000000..17390bb5 --- /dev/null +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/ListNullDebugResponseOrBuilder.java @@ -0,0 +1,45 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: backend_null.proto + +package opi_api.storage.v1; + +public interface ListNullDebugResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.ListNullDebugResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .opi_api.storage.v1.NullDebug devices = 1; + */ + java.util.List + getDevicesList(); + /** + * repeated .opi_api.storage.v1.NullDebug devices = 1; + */ + opi_api.storage.v1.NullDebug getDevices(int index); + /** + * repeated .opi_api.storage.v1.NullDebug devices = 1; + */ + int getDevicesCount(); + /** + * repeated .opi_api.storage.v1.NullDebug devices = 1; + */ + java.util.List + getDevicesOrBuilderList(); + /** + * repeated .opi_api.storage.v1.NullDebug devices = 1; + */ + opi_api.storage.v1.NullDebugOrBuilder getDevicesOrBuilder( + int index); + + /** + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteController.java index 5b0d15b2..bcf23e17 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteController.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteController.java @@ -54,9 +54,17 @@ private NVMfRemoteController( case 0: done = true; break; - case 8: { + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (id_ != null) { + subBuilder = id_.toBuilder(); + } + id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); + } - id_ = input.readInt64(); break; } case 16: { @@ -153,14 +161,41 @@ private NVMfRemoteController( } public static final int ID_FIELD_NUMBER = 1; - private long id_; + private opi_api.common.v1.ObjectKey id_; /** - * int64 id = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return id_ != null; + } + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ @java.lang.Override - public long getId() { - return id_; + public opi_api.common.v1.ObjectKey getId() { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + return getId(); } public static final int TRTYPE_FIELD_NUMBER = 2; @@ -403,8 +438,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); + if (id_ != null) { + output.writeMessage(1, getId()); } if (trtype_ != opi_api.storage.v1.NvmeTransportType.NVME_TRANSPORT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, trtype_); @@ -448,9 +483,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (id_ != 0L) { + if (id_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); + .computeMessageSize(1, getId()); } if (trtype_ != opi_api.storage.v1.NvmeTransportType.NVME_TRANSPORT_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream @@ -508,8 +543,11 @@ public boolean equals(final java.lang.Object obj) { } opi_api.storage.v1.NVMfRemoteController other = (opi_api.storage.v1.NVMfRemoteController) obj; - if (getId() - != other.getId()) return false; + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) return false; + } if (trtype_ != other.trtype_) return false; if (adrfam_ != other.adrfam_) return false; if (!getTraddr() @@ -540,9 +578,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } hash = (37 * hash) + TRTYPE_FIELD_NUMBER; hash = (53 * hash) + trtype_; hash = (37 * hash) + ADRFAM_FIELD_NUMBER; @@ -703,8 +742,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - id_ = 0L; - + if (idBuilder_ == null) { + id_ = null; + } else { + id_ = null; + idBuilder_ = null; + } trtype_ = 0; adrfam_ = 0; @@ -753,7 +796,11 @@ public opi_api.storage.v1.NVMfRemoteController build() { @java.lang.Override public opi_api.storage.v1.NVMfRemoteController buildPartial() { opi_api.storage.v1.NVMfRemoteController result = new opi_api.storage.v1.NVMfRemoteController(this); - result.id_ = id_; + if (idBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = idBuilder_.build(); + } result.trtype_ = trtype_; result.adrfam_ = adrfam_; result.traddr_ = traddr_; @@ -813,8 +860,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteController other) { if (other == opi_api.storage.v1.NVMfRemoteController.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); + if (other.hasId()) { + mergeId(other.getId()); } if (other.trtype_ != 0) { setTrtypeValue(other.getTrtypeValue()); @@ -881,35 +928,159 @@ public Builder mergeFrom( return this; } - private long id_ ; + private opi_api.common.v1.ObjectKey id_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; /** - * int64 id = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + public boolean hasId() { + return idBuilder_ != null || id_ != null; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ - @java.lang.Override - public long getId() { - return id_; + public opi_api.common.v1.ObjectKey getId() { + if (idBuilder_ == null) { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } else { + return idBuilder_.getMessage(); + } } /** - * int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder setId(long value) { - - id_ = value; - onChanged(); + public Builder setId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + idBuilder_.setMessage(value); + } + return this; } /** - * int64 id = 1; - * @return This builder for chaining. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder setId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (idBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + idBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder mergeId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (id_ != null) { + id_ = + opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + idBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ public Builder clearId() { + if (idBuilder_ == null) { + id_ = null; + onChanged(); + } else { + id_ = null; + idBuilder_ = null; + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - id_ = 0L; onChanged(); - return this; + return getIdFieldBuilder().getBuilder(); + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + if (idBuilder_ != null) { + return idBuilder_.getMessageOrBuilder(); + } else { + return id_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getIdFieldBuilder() { + if (idBuilder_ == null) { + idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getId(), + getParentForChildren(), + isClean()); + id_ = null; + } + return idBuilder_; } private int trtype_ = 0; diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectResponse.java deleted file mode 100644 index ee344e0f..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectResponse.java +++ /dev/null @@ -1,427 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -/** - *
- * Intentionally empty.
- * 
- * - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerConnectResponse} - */ -public final class NVMfRemoteControllerConnectResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) - NVMfRemoteControllerConnectResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerConnectResponse.newBuilder() to construct. - private NVMfRemoteControllerConnectResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NVMfRemoteControllerConnectResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NVMfRemoteControllerConnectResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NVMfRemoteControllerConnectResponse( - 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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerConnectResponse.class, opi_api.storage.v1.NVMfRemoteControllerConnectResponse.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.NVMfRemoteControllerConnectResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.NVMfRemoteControllerConnectResponse other = (opi_api.storage.v1.NVMfRemoteControllerConnectResponse) 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.NVMfRemoteControllerConnectResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse 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.NVMfRemoteControllerConnectResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse 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.NVMfRemoteControllerConnectResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse 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.NVMfRemoteControllerConnectResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse 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.NVMfRemoteControllerConnectResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse 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.NVMfRemoteControllerConnectResponse 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; - } - /** - *
-   * Intentionally empty.
-   * 
- * - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerConnectResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) - opi_api.storage.v1.NVMfRemoteControllerConnectResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerConnectResponse.class, opi_api.storage.v1.NVMfRemoteControllerConnectResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.NVMfRemoteControllerConnectResponse.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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerConnectResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerConnectResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectResponse build() { - opi_api.storage.v1.NVMfRemoteControllerConnectResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerConnectResponse buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerConnectResponse result = new opi_api.storage.v1.NVMfRemoteControllerConnectResponse(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.NVMfRemoteControllerConnectResponse) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerConnectResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerConnectResponse other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerConnectResponse.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.NVMfRemoteControllerConnectResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerConnectResponse) 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.NVMfRemoteControllerConnectResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) - private static final opi_api.storage.v1.NVMfRemoteControllerConnectResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerConnectResponse(); - } - - public static opi_api.storage.v1.NVMfRemoteControllerConnectResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NVMfRemoteControllerConnectResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerConnectResponse(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.NVMfRemoteControllerConnectResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectResponseOrBuilder.java deleted file mode 100644 index 620a44e2..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -public interface NVMfRemoteControllerConnectResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectRequest.java deleted file mode 100644 index 8bb824d9..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectRequest.java +++ /dev/null @@ -1,484 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest} - */ -public final class NVMfRemoteControllerDisconnectRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) - NVMfRemoteControllerDisconnectRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerDisconnectRequest.newBuilder() to construct. - private NVMfRemoteControllerDisconnectRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NVMfRemoteControllerDisconnectRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NVMfRemoteControllerDisconnectRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NVMfRemoteControllerDisconnectRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - - id_ = input.readInt64(); - 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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.class, opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private long id_; - /** - * int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); - } - 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.NVMfRemoteControllerDisconnectRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest other = (opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) obj; - - if (getId() - != other.getId()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest 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.NVMfRemoteControllerDisconnectRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest 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.NVMfRemoteControllerDisconnectRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest 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.NVMfRemoteControllerDisconnectRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest 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.NVMfRemoteControllerDisconnectRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest 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.NVMfRemoteControllerDisconnectRequest 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.NVMfRemoteControllerDisconnectRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.class, opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.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(); - id_ = 0L; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest build() { - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest result = new opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest(this); - result.id_ = id_; - 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.NVMfRemoteControllerDisconnectRequest) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); - } - 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.NVMfRemoteControllerDisconnectRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private long id_ ; - /** - * int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - /** - * int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(long value) { - - id_ = value; - onChanged(); - return this; - } - /** - * int64 id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - - id_ = 0L; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) - private static final opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest(); - } - - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NVMfRemoteControllerDisconnectRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerDisconnectRequest(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.NVMfRemoteControllerDisconnectRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectRequestOrBuilder.java deleted file mode 100644 index 9310457a..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectRequestOrBuilder.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -public interface NVMfRemoteControllerDisconnectRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * int64 id = 1; - * @return The id. - */ - long getId(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectResponse.java deleted file mode 100644 index c2d04466..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectResponse.java +++ /dev/null @@ -1,427 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -/** - *
- * Intentionally empty.
- * 
- * - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse} - */ -public final class NVMfRemoteControllerDisconnectResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) - NVMfRemoteControllerDisconnectResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerDisconnectResponse.newBuilder() to construct. - private NVMfRemoteControllerDisconnectResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NVMfRemoteControllerDisconnectResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NVMfRemoteControllerDisconnectResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NVMfRemoteControllerDisconnectResponse( - 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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.class, opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.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.NVMfRemoteControllerDisconnectResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse other = (opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) 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.NVMfRemoteControllerDisconnectResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse 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.NVMfRemoteControllerDisconnectResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse 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.NVMfRemoteControllerDisconnectResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse 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.NVMfRemoteControllerDisconnectResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse 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.NVMfRemoteControllerDisconnectResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse 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.NVMfRemoteControllerDisconnectResponse 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; - } - /** - *
-   * Intentionally empty.
-   * 
- * - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.class, opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerDisconnectResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse build() { - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse result = new opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse(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.NVMfRemoteControllerDisconnectResponse) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.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.NVMfRemoteControllerDisconnectResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) 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.NVMfRemoteControllerDisconnectResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) - private static final opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse(); - } - - public static opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NVMfRemoteControllerDisconnectResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerDisconnectResponse(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.NVMfRemoteControllerDisconnectResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectResponseOrBuilder.java deleted file mode 100644 index 12427485..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerDisconnectResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -public interface NVMfRemoteControllerDisconnectResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetRequest.java deleted file mode 100644 index 9063b139..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetRequest.java +++ /dev/null @@ -1,484 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -/** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerGetRequest} - */ -public final class NVMfRemoteControllerGetRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerGetRequest) - NVMfRemoteControllerGetRequestOrBuilder { -private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerGetRequest.newBuilder() to construct. - private NVMfRemoteControllerGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NVMfRemoteControllerGetRequest() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NVMfRemoteControllerGetRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NVMfRemoteControllerGetRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - - id_ = input.readInt64(); - 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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerGetRequest.class, opi_api.storage.v1.NVMfRemoteControllerGetRequest.Builder.class); - } - - public static final int ID_FIELD_NUMBER = 1; - private long id_; - /** - * int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (id_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); - } - 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.NVMfRemoteControllerGetRequest)) { - return super.equals(obj); - } - opi_api.storage.v1.NVMfRemoteControllerGetRequest other = (opi_api.storage.v1.NVMfRemoteControllerGetRequest) obj; - - if (getId() - != other.getId()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest 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.NVMfRemoteControllerGetRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest 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.NVMfRemoteControllerGetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest 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.NVMfRemoteControllerGetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest 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.NVMfRemoteControllerGetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest 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.NVMfRemoteControllerGetRequest 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.NVMfRemoteControllerGetRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerGetRequest) - opi_api.storage.v1.NVMfRemoteControllerGetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerGetRequest.class, opi_api.storage.v1.NVMfRemoteControllerGetRequest.Builder.class); - } - - // Construct using opi_api.storage.v1.NVMfRemoteControllerGetRequest.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(); - id_ = 0L; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetRequest_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerGetRequest.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetRequest build() { - opi_api.storage.v1.NVMfRemoteControllerGetRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetRequest buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerGetRequest result = new opi_api.storage.v1.NVMfRemoteControllerGetRequest(this); - result.id_ = id_; - 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.NVMfRemoteControllerGetRequest) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerGetRequest)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerGetRequest other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerGetRequest.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); - } - 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.NVMfRemoteControllerGetRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerGetRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private long id_ ; - /** - * int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - /** - * int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(long value) { - - id_ = value; - onChanged(); - return this; - } - /** - * int64 id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - - id_ = 0L; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NVMfRemoteControllerGetRequest) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerGetRequest) - private static final opi_api.storage.v1.NVMfRemoteControllerGetRequest DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerGetRequest(); - } - - public static opi_api.storage.v1.NVMfRemoteControllerGetRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NVMfRemoteControllerGetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerGetRequest(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.NVMfRemoteControllerGetRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetRequestOrBuilder.java deleted file mode 100644 index 5100d9f8..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetRequestOrBuilder.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -public interface NVMfRemoteControllerGetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerGetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * int64 id = 1; - * @return The id. - */ - long getId(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListRequestOrBuilder.java deleted file mode 100644 index 6da47fef..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerListRequestOrBuilder.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -public interface NVMfRemoteControllerListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerListRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * int64 id = 1; - * @return The id. - */ - long getId(); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerOrBuilder.java index 24fdbc38..0857123d 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerOrBuilder.java @@ -8,10 +8,31 @@ public interface NVMfRemoteControllerOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int64 id = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + boolean hasId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ - long getId(); + opi_api.common.v1.ObjectKey getId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); /** * .opi_api.storage.v1.NvmeTransportType trtype = 2; diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequest.java index 8ca90ef7..f0ebf141 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequest.java @@ -48,9 +48,17 @@ private NVMfRemoteControllerResetRequest( case 0: done = true; break; - case 8: { + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (id_ != null) { + subBuilder = id_.toBuilder(); + } + id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); + } - id_ = input.readInt64(); break; } default: { @@ -86,14 +94,41 @@ private NVMfRemoteControllerResetRequest( } public static final int ID_FIELD_NUMBER = 1; - private long id_; + private opi_api.common.v1.ObjectKey id_; + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return id_ != null; + } /** - * int64 id = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ @java.lang.Override - public long getId() { - return id_; + public opi_api.common.v1.ObjectKey getId() { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + return getId(); } private byte memoizedIsInitialized = -1; @@ -110,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); + if (id_ != null) { + output.writeMessage(1, getId()); } unknownFields.writeTo(output); } @@ -122,9 +157,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (id_ != 0L) { + if (id_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); + .computeMessageSize(1, getId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -141,8 +176,11 @@ public boolean equals(final java.lang.Object obj) { } opi_api.storage.v1.NVMfRemoteControllerResetRequest other = (opi_api.storage.v1.NVMfRemoteControllerResetRequest) obj; - if (getId() - != other.getId()) return false; + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -154,9 +192,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -290,8 +329,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - id_ = 0L; - + if (idBuilder_ == null) { + id_ = null; + } else { + id_ = null; + idBuilder_ = null; + } return this; } @@ -318,7 +361,11 @@ public opi_api.storage.v1.NVMfRemoteControllerResetRequest build() { @java.lang.Override public opi_api.storage.v1.NVMfRemoteControllerResetRequest buildPartial() { opi_api.storage.v1.NVMfRemoteControllerResetRequest result = new opi_api.storage.v1.NVMfRemoteControllerResetRequest(this); - result.id_ = id_; + if (idBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = idBuilder_.build(); + } onBuilt(); return result; } @@ -367,8 +414,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerResetRequest other) { if (other == opi_api.storage.v1.NVMfRemoteControllerResetRequest.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); + if (other.hasId()) { + mergeId(other.getId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -399,35 +446,159 @@ public Builder mergeFrom( return this; } - private long id_ ; + private opi_api.common.v1.ObjectKey id_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + public boolean hasId() { + return idBuilder_ != null || id_ != null; + } /** - * int64 id = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ - @java.lang.Override - public long getId() { - return id_; + public opi_api.common.v1.ObjectKey getId() { + if (idBuilder_ == null) { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } else { + return idBuilder_.getMessage(); + } } /** - * int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder setId(long value) { - - id_ = value; - onChanged(); + public Builder setId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + idBuilder_.setMessage(value); + } + return this; } /** - * int64 id = 1; - * @return This builder for chaining. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder setId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (idBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + idBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder mergeId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (id_ != null) { + id_ = + opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + idBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ public Builder clearId() { + if (idBuilder_ == null) { + id_ = null; + onChanged(); + } else { + id_ = null; + idBuilder_ = null; + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - id_ = 0L; onChanged(); - return this; + return getIdFieldBuilder().getBuilder(); + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + if (idBuilder_ != null) { + return idBuilder_.getMessageOrBuilder(); + } else { + return id_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getIdFieldBuilder() { + if (idBuilder_ == null) { + idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getId(), + getParentForChildren(), + isClean()); + id_ = null; + } + return idBuilder_; } @java.lang.Override public final Builder setUnknownFields( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequestOrBuilder.java index 6511661b..73eab058 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetRequestOrBuilder.java @@ -8,8 +8,29 @@ public interface NVMfRemoteControllerResetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int64 id = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + boolean hasId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ - long getId(); + opi_api.common.v1.ObjectKey getId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetResponse.java deleted file mode 100644 index fb6877bf..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetResponse.java +++ /dev/null @@ -1,427 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -/** - *
- * Intentionally empty.
- * 
- * - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerResetResponse} - */ -public final class NVMfRemoteControllerResetResponse extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerResetResponse) - NVMfRemoteControllerResetResponseOrBuilder { -private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerResetResponse.newBuilder() to construct. - private NVMfRemoteControllerResetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NVMfRemoteControllerResetResponse() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NVMfRemoteControllerResetResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NVMfRemoteControllerResetResponse( - 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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerResetResponse.class, opi_api.storage.v1.NVMfRemoteControllerResetResponse.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.NVMfRemoteControllerResetResponse)) { - return super.equals(obj); - } - opi_api.storage.v1.NVMfRemoteControllerResetResponse other = (opi_api.storage.v1.NVMfRemoteControllerResetResponse) 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.NVMfRemoteControllerResetResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse 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.NVMfRemoteControllerResetResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse 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.NVMfRemoteControllerResetResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse 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.NVMfRemoteControllerResetResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse 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.NVMfRemoteControllerResetResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse 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.NVMfRemoteControllerResetResponse 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; - } - /** - *
-   * Intentionally empty.
-   * 
- * - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerResetResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerResetResponse) - opi_api.storage.v1.NVMfRemoteControllerResetResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerResetResponse.class, opi_api.storage.v1.NVMfRemoteControllerResetResponse.Builder.class); - } - - // Construct using opi_api.storage.v1.NVMfRemoteControllerResetResponse.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.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerResetResponse_descriptor; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerResetResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerResetResponse.getDefaultInstance(); - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerResetResponse build() { - opi_api.storage.v1.NVMfRemoteControllerResetResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerResetResponse buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerResetResponse result = new opi_api.storage.v1.NVMfRemoteControllerResetResponse(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.NVMfRemoteControllerResetResponse) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerResetResponse)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerResetResponse other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerResetResponse.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.NVMfRemoteControllerResetResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerResetResponse) 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.NVMfRemoteControllerResetResponse) - } - - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetResponse) - private static final opi_api.storage.v1.NVMfRemoteControllerResetResponse DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerResetResponse(); - } - - public static opi_api.storage.v1.NVMfRemoteControllerResetResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NVMfRemoteControllerResetResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerResetResponse(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.NVMfRemoteControllerResetResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetResponseOrBuilder.java deleted file mode 100644 index c48a794a..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerResetResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_nvme_tcp.proto - -package opi_api.storage.v1; - -public interface NVMfRemoteControllerResetResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerResetResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerServiceGrpc.java index 7badf202..5d2ce0fc 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerServiceGrpc.java @@ -18,159 +18,190 @@ private NVMfRemoteControllerServiceGrpc() {} public static final String SERVICE_NAME = "opi_api.storage.v1.NVMfRemoteControllerService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getNVMfRemoteControllerConnectMethod; + private static volatile io.grpc.MethodDescriptor getCreateNVMfRemoteControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NVMfRemoteControllerConnect", - requestType = opi_api.storage.v1.NVMfRemoteControllerConnectRequest.class, - responseType = opi_api.storage.v1.NVMfRemoteControllerConnectResponse.class, + fullMethodName = SERVICE_NAME + '/' + "CreateNVMfRemoteController", + requestType = opi_api.storage.v1.CreateNVMfRemoteControllerRequest.class, + responseType = opi_api.storage.v1.NVMfRemoteController.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNVMfRemoteControllerConnectMethod() { - io.grpc.MethodDescriptor getNVMfRemoteControllerConnectMethod; - if ((getNVMfRemoteControllerConnectMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerConnectMethod) == null) { + public static io.grpc.MethodDescriptor getCreateNVMfRemoteControllerMethod() { + io.grpc.MethodDescriptor getCreateNVMfRemoteControllerMethod; + if ((getCreateNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getCreateNVMfRemoteControllerMethod) == null) { synchronized (NVMfRemoteControllerServiceGrpc.class) { - if ((getNVMfRemoteControllerConnectMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerConnectMethod) == null) { - NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerConnectMethod = getNVMfRemoteControllerConnectMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getCreateNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getCreateNVMfRemoteControllerMethod) == null) { + NVMfRemoteControllerServiceGrpc.getCreateNVMfRemoteControllerMethod = getCreateNVMfRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NVMfRemoteControllerConnect")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNVMfRemoteController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerConnectRequest.getDefaultInstance())) + opi_api.storage.v1.CreateNVMfRemoteControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerConnectResponse.getDefaultInstance())) - .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("NVMfRemoteControllerConnect")) + opi_api.storage.v1.NVMfRemoteController.getDefaultInstance())) + .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("CreateNVMfRemoteController")) .build(); } } } - return getNVMfRemoteControllerConnectMethod; + return getCreateNVMfRemoteControllerMethod; } - private static volatile io.grpc.MethodDescriptor getNVMfRemoteControllerDisconnectMethod; + private static volatile io.grpc.MethodDescriptor getDeleteNVMfRemoteControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NVMfRemoteControllerDisconnect", - requestType = opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.class, - responseType = opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.class, + fullMethodName = SERVICE_NAME + '/' + "DeleteNVMfRemoteController", + requestType = opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.class, + responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNVMfRemoteControllerDisconnectMethod() { - io.grpc.MethodDescriptor getNVMfRemoteControllerDisconnectMethod; - if ((getNVMfRemoteControllerDisconnectMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerDisconnectMethod) == null) { + public static io.grpc.MethodDescriptor getDeleteNVMfRemoteControllerMethod() { + io.grpc.MethodDescriptor getDeleteNVMfRemoteControllerMethod; + if ((getDeleteNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getDeleteNVMfRemoteControllerMethod) == null) { synchronized (NVMfRemoteControllerServiceGrpc.class) { - if ((getNVMfRemoteControllerDisconnectMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerDisconnectMethod) == null) { - NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerDisconnectMethod = getNVMfRemoteControllerDisconnectMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getDeleteNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getDeleteNVMfRemoteControllerMethod) == null) { + NVMfRemoteControllerServiceGrpc.getDeleteNVMfRemoteControllerMethod = getDeleteNVMfRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NVMfRemoteControllerDisconnect")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNVMfRemoteController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest.getDefaultInstance())) + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse.getDefaultInstance())) - .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("NVMfRemoteControllerDisconnect")) + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("DeleteNVMfRemoteController")) .build(); } } } - return getNVMfRemoteControllerDisconnectMethod; + return getDeleteNVMfRemoteControllerMethod; } - private static volatile io.grpc.MethodDescriptor getNVMfRemoteControllerResetMethod; + private static volatile io.grpc.MethodDescriptor getUpdateNVMfRemoteControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NVMfRemoteControllerReset", - requestType = opi_api.storage.v1.NVMfRemoteControllerResetRequest.class, - responseType = opi_api.storage.v1.NVMfRemoteControllerResetResponse.class, + fullMethodName = SERVICE_NAME + '/' + "UpdateNVMfRemoteController", + requestType = opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.class, + responseType = opi_api.storage.v1.NVMfRemoteController.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNVMfRemoteControllerResetMethod() { - io.grpc.MethodDescriptor getNVMfRemoteControllerResetMethod; - if ((getNVMfRemoteControllerResetMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerResetMethod) == null) { + public static io.grpc.MethodDescriptor getUpdateNVMfRemoteControllerMethod() { + io.grpc.MethodDescriptor getUpdateNVMfRemoteControllerMethod; + if ((getUpdateNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getUpdateNVMfRemoteControllerMethod) == null) { synchronized (NVMfRemoteControllerServiceGrpc.class) { - if ((getNVMfRemoteControllerResetMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerResetMethod) == null) { - NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerResetMethod = getNVMfRemoteControllerResetMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getUpdateNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getUpdateNVMfRemoteControllerMethod) == null) { + NVMfRemoteControllerServiceGrpc.getUpdateNVMfRemoteControllerMethod = getUpdateNVMfRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NVMfRemoteControllerReset")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNVMfRemoteController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerResetRequest.getDefaultInstance())) + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerResetResponse.getDefaultInstance())) - .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("NVMfRemoteControllerReset")) + opi_api.storage.v1.NVMfRemoteController.getDefaultInstance())) + .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("UpdateNVMfRemoteController")) .build(); } } } - return getNVMfRemoteControllerResetMethod; + return getUpdateNVMfRemoteControllerMethod; + } + + private static volatile io.grpc.MethodDescriptor getListNVMfRemoteControllerMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNVMfRemoteController", + requestType = opi_api.storage.v1.ListNVMfRemoteControllerRequest.class, + responseType = opi_api.storage.v1.ListNVMfRemoteControllerResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNVMfRemoteControllerMethod() { + io.grpc.MethodDescriptor getListNVMfRemoteControllerMethod; + if ((getListNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getListNVMfRemoteControllerMethod) == null) { + synchronized (NVMfRemoteControllerServiceGrpc.class) { + if ((getListNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getListNVMfRemoteControllerMethod) == null) { + NVMfRemoteControllerServiceGrpc.getListNVMfRemoteControllerMethod = getListNVMfRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNVMfRemoteController")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + opi_api.storage.v1.ListNVMfRemoteControllerRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + opi_api.storage.v1.ListNVMfRemoteControllerResponse.getDefaultInstance())) + .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("ListNVMfRemoteController")) + .build(); + } + } + } + return getListNVMfRemoteControllerMethod; } - private static volatile io.grpc.MethodDescriptor getNVMfRemoteControllerListMethod; + private static volatile io.grpc.MethodDescriptor getGetNVMfRemoteControllerMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NVMfRemoteControllerList", - requestType = opi_api.storage.v1.NVMfRemoteControllerListRequest.class, - responseType = opi_api.storage.v1.NVMfRemoteControllerListResponse.class, + fullMethodName = SERVICE_NAME + '/' + "GetNVMfRemoteController", + requestType = opi_api.storage.v1.GetNVMfRemoteControllerRequest.class, + responseType = opi_api.storage.v1.NVMfRemoteController.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNVMfRemoteControllerListMethod() { - io.grpc.MethodDescriptor getNVMfRemoteControllerListMethod; - if ((getNVMfRemoteControllerListMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerListMethod) == null) { + public static io.grpc.MethodDescriptor getGetNVMfRemoteControllerMethod() { + io.grpc.MethodDescriptor getGetNVMfRemoteControllerMethod; + if ((getGetNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getGetNVMfRemoteControllerMethod) == null) { synchronized (NVMfRemoteControllerServiceGrpc.class) { - if ((getNVMfRemoteControllerListMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerListMethod) == null) { - NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerListMethod = getNVMfRemoteControllerListMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getGetNVMfRemoteControllerMethod = NVMfRemoteControllerServiceGrpc.getGetNVMfRemoteControllerMethod) == null) { + NVMfRemoteControllerServiceGrpc.getGetNVMfRemoteControllerMethod = getGetNVMfRemoteControllerMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NVMfRemoteControllerList")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNVMfRemoteController")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerListRequest.getDefaultInstance())) + opi_api.storage.v1.GetNVMfRemoteControllerRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerListResponse.getDefaultInstance())) - .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("NVMfRemoteControllerList")) + opi_api.storage.v1.NVMfRemoteController.getDefaultInstance())) + .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("GetNVMfRemoteController")) .build(); } } } - return getNVMfRemoteControllerListMethod; + return getGetNVMfRemoteControllerMethod; } - private static volatile io.grpc.MethodDescriptor getNVMfRemoteControllerGetMethod; + private static volatile io.grpc.MethodDescriptor getNVMfRemoteControllerResetMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NVMfRemoteControllerGet", - requestType = opi_api.storage.v1.NVMfRemoteControllerGetRequest.class, - responseType = opi_api.storage.v1.NVMfRemoteControllerGetResponse.class, + fullMethodName = SERVICE_NAME + '/' + "NVMfRemoteControllerReset", + requestType = opi_api.storage.v1.NVMfRemoteControllerResetRequest.class, + responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNVMfRemoteControllerGetMethod() { - io.grpc.MethodDescriptor getNVMfRemoteControllerGetMethod; - if ((getNVMfRemoteControllerGetMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerGetMethod) == null) { + public static io.grpc.MethodDescriptor getNVMfRemoteControllerResetMethod() { + io.grpc.MethodDescriptor getNVMfRemoteControllerResetMethod; + if ((getNVMfRemoteControllerResetMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerResetMethod) == null) { synchronized (NVMfRemoteControllerServiceGrpc.class) { - if ((getNVMfRemoteControllerGetMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerGetMethod) == null) { - NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerGetMethod = getNVMfRemoteControllerGetMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getNVMfRemoteControllerResetMethod = NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerResetMethod) == null) { + NVMfRemoteControllerServiceGrpc.getNVMfRemoteControllerResetMethod = getNVMfRemoteControllerResetMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NVMfRemoteControllerGet")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NVMfRemoteControllerReset")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerGetRequest.getDefaultInstance())) + opi_api.storage.v1.NVMfRemoteControllerResetRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NVMfRemoteControllerGetResponse.getDefaultInstance())) - .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("NVMfRemoteControllerGet")) + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new NVMfRemoteControllerServiceMethodDescriptorSupplier("NVMfRemoteControllerReset")) .build(); } } } - return getNVMfRemoteControllerGetMethod; + return getNVMfRemoteControllerResetMethod; } private static volatile io.grpc.MethodDescriptor responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNVMfRemoteControllerConnectMethod(), responseObserver); + public void createNVMfRemoteController(opi_api.storage.v1.CreateNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNVMfRemoteControllerMethod(), responseObserver); } /** */ - public void nVMfRemoteControllerDisconnect(opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNVMfRemoteControllerDisconnectMethod(), responseObserver); + public void deleteNVMfRemoteController(opi_api.storage.v1.DeleteNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNVMfRemoteControllerMethod(), responseObserver); } /** */ - public void nVMfRemoteControllerReset(opi_api.storage.v1.NVMfRemoteControllerResetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNVMfRemoteControllerResetMethod(), responseObserver); + public void updateNVMfRemoteController(opi_api.storage.v1.UpdateNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNVMfRemoteControllerMethod(), responseObserver); } /** */ - public void nVMfRemoteControllerList(opi_api.storage.v1.NVMfRemoteControllerListRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNVMfRemoteControllerListMethod(), responseObserver); + public void listNVMfRemoteController(opi_api.storage.v1.ListNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNVMfRemoteControllerMethod(), responseObserver); } /** */ - public void nVMfRemoteControllerGet(opi_api.storage.v1.NVMfRemoteControllerGetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNVMfRemoteControllerGetMethod(), responseObserver); + public void getNVMfRemoteController(opi_api.storage.v1.GetNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNVMfRemoteControllerMethod(), responseObserver); + } + + /** + */ + public void nVMfRemoteControllerReset(opi_api.storage.v1.NVMfRemoteControllerResetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNVMfRemoteControllerResetMethod(), responseObserver); } /** @@ -300,40 +338,47 @@ public void nVMfRemoteControllerStats(opi_api.storage.v1.NVMfRemoteControllerSta @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getNVMfRemoteControllerConnectMethod(), + getCreateNVMfRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NVMfRemoteControllerConnectRequest, - opi_api.storage.v1.NVMfRemoteControllerConnectResponse>( - this, METHODID_NVMF_REMOTE_CONTROLLER_CONNECT))) + opi_api.storage.v1.CreateNVMfRemoteControllerRequest, + opi_api.storage.v1.NVMfRemoteController>( + this, METHODID_CREATE_NVMF_REMOTE_CONTROLLER))) .addMethod( - getNVMfRemoteControllerDisconnectMethod(), + getDeleteNVMfRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest, - opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse>( - this, METHODID_NVMF_REMOTE_CONTROLLER_DISCONNECT))) + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_NVMF_REMOTE_CONTROLLER))) .addMethod( - getNVMfRemoteControllerResetMethod(), + getUpdateNVMfRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NVMfRemoteControllerResetRequest, - opi_api.storage.v1.NVMfRemoteControllerResetResponse>( - this, METHODID_NVMF_REMOTE_CONTROLLER_RESET))) + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest, + opi_api.storage.v1.NVMfRemoteController>( + this, METHODID_UPDATE_NVMF_REMOTE_CONTROLLER))) .addMethod( - getNVMfRemoteControllerListMethod(), + getListNVMfRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NVMfRemoteControllerListRequest, - opi_api.storage.v1.NVMfRemoteControllerListResponse>( - this, METHODID_NVMF_REMOTE_CONTROLLER_LIST))) + opi_api.storage.v1.ListNVMfRemoteControllerRequest, + opi_api.storage.v1.ListNVMfRemoteControllerResponse>( + this, METHODID_LIST_NVMF_REMOTE_CONTROLLER))) .addMethod( - getNVMfRemoteControllerGetMethod(), + getGetNVMfRemoteControllerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NVMfRemoteControllerGetRequest, - opi_api.storage.v1.NVMfRemoteControllerGetResponse>( - this, METHODID_NVMF_REMOTE_CONTROLLER_GET))) + opi_api.storage.v1.GetNVMfRemoteControllerRequest, + opi_api.storage.v1.NVMfRemoteController>( + this, METHODID_GET_NVMF_REMOTE_CONTROLLER))) + .addMethod( + getNVMfRemoteControllerResetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + opi_api.storage.v1.NVMfRemoteControllerResetRequest, + com.google.protobuf.Empty>( + this, METHODID_NVMF_REMOTE_CONTROLLER_RESET))) .addMethod( getNVMfRemoteControllerStatsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -364,42 +409,50 @@ protected NVMfRemoteControllerServiceStub build( /** */ - public void nVMfRemoteControllerConnect(opi_api.storage.v1.NVMfRemoteControllerConnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createNVMfRemoteController(opi_api.storage.v1.CreateNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNVMfRemoteControllerConnectMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateNVMfRemoteControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nVMfRemoteControllerDisconnect(opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void deleteNVMfRemoteController(opi_api.storage.v1.DeleteNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNVMfRemoteControllerDisconnectMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteNVMfRemoteControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nVMfRemoteControllerReset(opi_api.storage.v1.NVMfRemoteControllerResetRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateNVMfRemoteController(opi_api.storage.v1.UpdateNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNVMfRemoteControllerResetMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateNVMfRemoteControllerMethod(), getCallOptions()), request, responseObserver); + } + + /** + */ + public void listNVMfRemoteController(opi_api.storage.v1.ListNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNVMfRemoteControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nVMfRemoteControllerList(opi_api.storage.v1.NVMfRemoteControllerListRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getNVMfRemoteController(opi_api.storage.v1.GetNVMfRemoteControllerRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNVMfRemoteControllerListMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetNVMfRemoteControllerMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nVMfRemoteControllerGet(opi_api.storage.v1.NVMfRemoteControllerGetRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void nVMfRemoteControllerReset(opi_api.storage.v1.NVMfRemoteControllerResetRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNVMfRemoteControllerGetMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getNVMfRemoteControllerResetMethod(), getCallOptions()), request, responseObserver); } /** @@ -430,37 +483,44 @@ protected NVMfRemoteControllerServiceBlockingStub build( /** */ - public opi_api.storage.v1.NVMfRemoteControllerConnectResponse nVMfRemoteControllerConnect(opi_api.storage.v1.NVMfRemoteControllerConnectRequest request) { + public opi_api.storage.v1.NVMfRemoteController createNVMfRemoteController(opi_api.storage.v1.CreateNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNVMfRemoteControllerConnectMethod(), getCallOptions(), request); + getChannel(), getCreateNVMfRemoteControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse nVMfRemoteControllerDisconnect(opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest request) { + public com.google.protobuf.Empty deleteNVMfRemoteController(opi_api.storage.v1.DeleteNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNVMfRemoteControllerDisconnectMethod(), getCallOptions(), request); + getChannel(), getDeleteNVMfRemoteControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NVMfRemoteControllerResetResponse nVMfRemoteControllerReset(opi_api.storage.v1.NVMfRemoteControllerResetRequest request) { + public opi_api.storage.v1.NVMfRemoteController updateNVMfRemoteController(opi_api.storage.v1.UpdateNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNVMfRemoteControllerResetMethod(), getCallOptions(), request); + getChannel(), getUpdateNVMfRemoteControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NVMfRemoteControllerListResponse nVMfRemoteControllerList(opi_api.storage.v1.NVMfRemoteControllerListRequest request) { + public opi_api.storage.v1.ListNVMfRemoteControllerResponse listNVMfRemoteController(opi_api.storage.v1.ListNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNVMfRemoteControllerListMethod(), getCallOptions(), request); + getChannel(), getListNVMfRemoteControllerMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NVMfRemoteControllerGetResponse nVMfRemoteControllerGet(opi_api.storage.v1.NVMfRemoteControllerGetRequest request) { + public opi_api.storage.v1.NVMfRemoteController getNVMfRemoteController(opi_api.storage.v1.GetNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNVMfRemoteControllerGetMethod(), getCallOptions(), request); + getChannel(), getGetNVMfRemoteControllerMethod(), getCallOptions(), request); + } + + /** + */ + public com.google.protobuf.Empty nVMfRemoteControllerReset(opi_api.storage.v1.NVMfRemoteControllerResetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getNVMfRemoteControllerResetMethod(), getCallOptions(), request); } /** @@ -490,42 +550,50 @@ protected NVMfRemoteControllerServiceFutureStub build( /** */ - public com.google.common.util.concurrent.ListenableFuture nVMfRemoteControllerConnect( - opi_api.storage.v1.NVMfRemoteControllerConnectRequest request) { + public com.google.common.util.concurrent.ListenableFuture createNVMfRemoteController( + opi_api.storage.v1.CreateNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNVMfRemoteControllerConnectMethod(), getCallOptions()), request); + getChannel().newCall(getCreateNVMfRemoteControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nVMfRemoteControllerDisconnect( - opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteNVMfRemoteController( + opi_api.storage.v1.DeleteNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNVMfRemoteControllerDisconnectMethod(), getCallOptions()), request); + getChannel().newCall(getDeleteNVMfRemoteControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nVMfRemoteControllerReset( - opi_api.storage.v1.NVMfRemoteControllerResetRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateNVMfRemoteController( + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNVMfRemoteControllerResetMethod(), getCallOptions()), request); + getChannel().newCall(getUpdateNVMfRemoteControllerMethod(), getCallOptions()), request); + } + + /** + */ + public com.google.common.util.concurrent.ListenableFuture listNVMfRemoteController( + opi_api.storage.v1.ListNVMfRemoteControllerRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNVMfRemoteControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nVMfRemoteControllerList( - opi_api.storage.v1.NVMfRemoteControllerListRequest request) { + public com.google.common.util.concurrent.ListenableFuture getNVMfRemoteController( + opi_api.storage.v1.GetNVMfRemoteControllerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNVMfRemoteControllerListMethod(), getCallOptions()), request); + getChannel().newCall(getGetNVMfRemoteControllerMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nVMfRemoteControllerGet( - opi_api.storage.v1.NVMfRemoteControllerGetRequest request) { + public com.google.common.util.concurrent.ListenableFuture nVMfRemoteControllerReset( + opi_api.storage.v1.NVMfRemoteControllerResetRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNVMfRemoteControllerGetMethod(), getCallOptions()), request); + getChannel().newCall(getNVMfRemoteControllerResetMethod(), getCallOptions()), request); } /** @@ -537,12 +605,13 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -561,25 +630,29 @@ private static final class MethodHandlers implements @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { - case METHODID_NVMF_REMOTE_CONTROLLER_CONNECT: - serviceImpl.nVMfRemoteControllerConnect((opi_api.storage.v1.NVMfRemoteControllerConnectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_CREATE_NVMF_REMOTE_CONTROLLER: + serviceImpl.createNVMfRemoteController((opi_api.storage.v1.CreateNVMfRemoteControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVMF_REMOTE_CONTROLLER_DISCONNECT: - serviceImpl.nVMfRemoteControllerDisconnect((opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_DELETE_NVMF_REMOTE_CONTROLLER: + serviceImpl.deleteNVMfRemoteController((opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVMF_REMOTE_CONTROLLER_RESET: - serviceImpl.nVMfRemoteControllerReset((opi_api.storage.v1.NVMfRemoteControllerResetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_UPDATE_NVMF_REMOTE_CONTROLLER: + serviceImpl.updateNVMfRemoteController((opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NVMF_REMOTE_CONTROLLER: + serviceImpl.listNVMfRemoteController((opi_api.storage.v1.ListNVMfRemoteControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVMF_REMOTE_CONTROLLER_LIST: - serviceImpl.nVMfRemoteControllerList((opi_api.storage.v1.NVMfRemoteControllerListRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_GET_NVMF_REMOTE_CONTROLLER: + serviceImpl.getNVMfRemoteController((opi_api.storage.v1.GetNVMfRemoteControllerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NVMF_REMOTE_CONTROLLER_GET: - serviceImpl.nVMfRemoteControllerGet((opi_api.storage.v1.NVMfRemoteControllerGetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_NVMF_REMOTE_CONTROLLER_RESET: + serviceImpl.nVMfRemoteControllerReset((opi_api.storage.v1.NVMfRemoteControllerResetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_NVMF_REMOTE_CONTROLLER_STATS: serviceImpl.nVMfRemoteControllerStats((opi_api.storage.v1.NVMfRemoteControllerStatsRequest) request, @@ -646,11 +719,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new NVMfRemoteControllerServiceFileDescriptorSupplier()) - .addMethod(getNVMfRemoteControllerConnectMethod()) - .addMethod(getNVMfRemoteControllerDisconnectMethod()) + .addMethod(getCreateNVMfRemoteControllerMethod()) + .addMethod(getDeleteNVMfRemoteControllerMethod()) + .addMethod(getUpdateNVMfRemoteControllerMethod()) + .addMethod(getListNVMfRemoteControllerMethod()) + .addMethod(getGetNVMfRemoteControllerMethod()) .addMethod(getNVMfRemoteControllerResetMethod()) - .addMethod(getNVMfRemoteControllerListMethod()) - .addMethod(getNVMfRemoteControllerGetMethod()) .addMethod(getNVMfRemoteControllerStatsMethod()) .build(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequest.java index 771aab36..c327c102 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequest.java @@ -48,9 +48,17 @@ private NVMfRemoteControllerStatsRequest( case 0: done = true; break; - case 8: { + case 10: { + opi_api.common.v1.ObjectKey.Builder subBuilder = null; + if (id_ != null) { + subBuilder = id_.toBuilder(); + } + id_ = input.readMessage(opi_api.common.v1.ObjectKey.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); + } - id_ = input.readInt64(); break; } default: { @@ -86,14 +94,41 @@ private NVMfRemoteControllerStatsRequest( } public static final int ID_FIELD_NUMBER = 1; - private long id_; + private opi_api.common.v1.ObjectKey id_; + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return id_ != null; + } /** - * int64 id = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ @java.lang.Override - public long getId() { - return id_; + public opi_api.common.v1.ObjectKey getId() { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + @java.lang.Override + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + return getId(); } private byte memoizedIsInitialized = -1; @@ -110,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); + if (id_ != null) { + output.writeMessage(1, getId()); } unknownFields.writeTo(output); } @@ -122,9 +157,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (id_ != 0L) { + if (id_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); + .computeMessageSize(1, getId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -141,8 +176,11 @@ public boolean equals(final java.lang.Object obj) { } opi_api.storage.v1.NVMfRemoteControllerStatsRequest other = (opi_api.storage.v1.NVMfRemoteControllerStatsRequest) obj; - if (getId() - != other.getId()) return false; + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -154,9 +192,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -290,8 +329,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - id_ = 0L; - + if (idBuilder_ == null) { + id_ = null; + } else { + id_ = null; + idBuilder_ = null; + } return this; } @@ -318,7 +361,11 @@ public opi_api.storage.v1.NVMfRemoteControllerStatsRequest build() { @java.lang.Override public opi_api.storage.v1.NVMfRemoteControllerStatsRequest buildPartial() { opi_api.storage.v1.NVMfRemoteControllerStatsRequest result = new opi_api.storage.v1.NVMfRemoteControllerStatsRequest(this); - result.id_ = id_; + if (idBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = idBuilder_.build(); + } onBuilt(); return result; } @@ -367,8 +414,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerStatsRequest other) { if (other == opi_api.storage.v1.NVMfRemoteControllerStatsRequest.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); + if (other.hasId()) { + mergeId(other.getId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -399,35 +446,159 @@ public Builder mergeFrom( return this; } - private long id_ ; + private opi_api.common.v1.ObjectKey id_; + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> idBuilder_; + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + public boolean hasId() { + return idBuilder_ != null || id_ != null; + } /** - * int64 id = 1; + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ - @java.lang.Override - public long getId() { - return id_; + public opi_api.common.v1.ObjectKey getId() { + if (idBuilder_ == null) { + return id_ == null ? opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } else { + return idBuilder_.getMessage(); + } } /** - * int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ - public Builder setId(long value) { - - id_ = value; - onChanged(); + public Builder setId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + idBuilder_.setMessage(value); + } + return this; } /** - * int64 id = 1; - * @return This builder for chaining. + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder setId( + opi_api.common.v1.ObjectKey.Builder builderForValue) { + if (idBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + idBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public Builder mergeId(opi_api.common.v1.ObjectKey value) { + if (idBuilder_ == null) { + if (id_ != null) { + id_ = + opi_api.common.v1.ObjectKey.newBuilder(id_).mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + idBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; */ public Builder clearId() { + if (idBuilder_ == null) { + id_ = null; + onChanged(); + } else { + id_ = null; + idBuilder_ = null; + } + + return this; + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKey.Builder getIdBuilder() { - id_ = 0L; onChanged(); - return this; + return getIdFieldBuilder().getBuilder(); + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + public opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder() { + if (idBuilder_ != null) { + return idBuilder_.getMessageOrBuilder(); + } else { + return id_ == null ? + opi_api.common.v1.ObjectKey.getDefaultInstance() : id_; + } + } + /** + *
+     * object's unique identifier
+     * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder> + getIdFieldBuilder() { + if (idBuilder_ == null) { + idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + opi_api.common.v1.ObjectKey, opi_api.common.v1.ObjectKey.Builder, opi_api.common.v1.ObjectKeyOrBuilder>( + getId(), + getParentForChildren(), + isClean()); + id_ = null; + } + return idBuilder_; } @java.lang.Override public final Builder setUnknownFields( diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequestOrBuilder.java index a01362d3..8442fca2 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsRequestOrBuilder.java @@ -8,8 +8,29 @@ public interface NVMfRemoteControllerStatsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int64 id = 1; + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + * @return Whether the id field is set. + */ + boolean hasId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; * @return The id. */ - long getId(); + opi_api.common.v1.ObjectKey getId(); + /** + *
+   * object's unique identifier
+   * 
+ * + * .opi_api.common.v1.ObjectKey id = 1; + */ + opi_api.common.v1.ObjectKeyOrBuilder getIdOrBuilder(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java index 2f505c1d..2d94c5cf 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponse.java @@ -49,12 +49,7 @@ private NVMfRemoteControllerStatsResponse( case 0: done = true; break; - case 8: { - - id_ = input.readInt64(); - break; - } - case 18: { + case 10: { java.lang.String s = input.readStringRequireUtf8(); stats_ = s; @@ -92,21 +87,10 @@ private NVMfRemoteControllerStatsResponse( opi_api.storage.v1.NVMfRemoteControllerStatsResponse.class, opi_api.storage.v1.NVMfRemoteControllerStatsResponse.Builder.class); } - public static final int ID_FIELD_NUMBER = 1; - private long id_; - /** - * int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - - public static final int STATS_FIELD_NUMBER = 2; + public static final int STATS_FIELD_NUMBER = 1; private volatile java.lang.Object stats_; /** - * string stats = 2; + * string stats = 1; * @return The stats. */ @java.lang.Override @@ -123,7 +107,7 @@ public java.lang.String getStats() { } } /** - * string stats = 2; + * string stats = 1; * @return The bytes for stats. */ @java.lang.Override @@ -155,11 +139,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (id_ != 0L) { - output.writeInt64(1, id_); - } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stats_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stats_); } unknownFields.writeTo(output); } @@ -170,12 +151,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (id_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); - } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stats_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stats_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stats_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -192,8 +169,6 @@ public boolean equals(final java.lang.Object obj) { } opi_api.storage.v1.NVMfRemoteControllerStatsResponse other = (opi_api.storage.v1.NVMfRemoteControllerStatsResponse) obj; - if (getId() - != other.getId()) return false; if (!getStats() .equals(other.getStats())) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -207,9 +182,6 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -345,8 +317,6 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - id_ = 0L; - stats_ = ""; return this; @@ -375,7 +345,6 @@ public opi_api.storage.v1.NVMfRemoteControllerStatsResponse build() { @java.lang.Override public opi_api.storage.v1.NVMfRemoteControllerStatsResponse buildPartial() { opi_api.storage.v1.NVMfRemoteControllerStatsResponse result = new opi_api.storage.v1.NVMfRemoteControllerStatsResponse(this); - result.id_ = id_; result.stats_ = stats_; onBuilt(); return result; @@ -425,9 +394,6 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerStatsResponse other) { if (other == opi_api.storage.v1.NVMfRemoteControllerStatsResponse.getDefaultInstance()) return this; - if (other.getId() != 0L) { - setId(other.getId()); - } if (!other.getStats().isEmpty()) { stats_ = other.stats_; onChanged(); @@ -461,40 +427,9 @@ public Builder mergeFrom( return this; } - private long id_ ; - /** - * int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - /** - * int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(long value) { - - id_ = value; - onChanged(); - return this; - } - /** - * int64 id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - - id_ = 0L; - onChanged(); - return this; - } - private java.lang.Object stats_ = ""; /** - * string stats = 2; + * string stats = 1; * @return The stats. */ public java.lang.String getStats() { @@ -510,7 +445,7 @@ public java.lang.String getStats() { } } /** - * string stats = 2; + * string stats = 1; * @return The bytes for stats. */ public com.google.protobuf.ByteString @@ -527,7 +462,7 @@ public java.lang.String getStats() { } } /** - * string stats = 2; + * string stats = 1; * @param value The stats to set. * @return This builder for chaining. */ @@ -542,7 +477,7 @@ public Builder setStats( return this; } /** - * string stats = 2; + * string stats = 1; * @return This builder for chaining. */ public Builder clearStats() { @@ -552,7 +487,7 @@ public Builder clearStats() { return this; } /** - * string stats = 2; + * string stats = 1; * @param value The bytes for stats to set. * @return This builder for chaining. */ diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java index 71f88907..be9948de 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerStatsResponseOrBuilder.java @@ -8,18 +8,12 @@ public interface NVMfRemoteControllerStatsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int64 id = 1; - * @return The id. - */ - long getId(); - - /** - * string stats = 2; + * string stats = 1; * @return The stats. */ java.lang.String getStats(); /** - * string stats = 2; + * string stats = 1; * @return The bytes for stats. */ com.google.protobuf.ByteString diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListRequestOrBuilder.java deleted file mode 100644 index 9f37c0ea..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListRequestOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_null.proto - -package opi_api.storage.v1; - -public interface NullDebugListRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullDebugListRequest) - com.google.protobuf.MessageOrBuilder { -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListResponseOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListResponseOrBuilder.java deleted file mode 100644 index c48c516f..00000000 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugListResponseOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: backend_null.proto - -package opi_api.storage.v1; - -public interface NullDebugListResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullDebugListResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .opi_api.storage.v1.NullDebug device = 1; - */ - java.util.List - getDeviceList(); - /** - * repeated .opi_api.storage.v1.NullDebug device = 1; - */ - opi_api.storage.v1.NullDebug getDevice(int index); - /** - * repeated .opi_api.storage.v1.NullDebug device = 1; - */ - int getDeviceCount(); - /** - * repeated .opi_api.storage.v1.NullDebug device = 1; - */ - java.util.List - getDeviceOrBuilderList(); - /** - * repeated .opi_api.storage.v1.NullDebug device = 1; - */ - opi_api.storage.v1.NullDebugOrBuilder getDeviceOrBuilder( - int index); -} diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugServiceGrpc.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugServiceGrpc.java index c93e8082..c82e147b 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugServiceGrpc.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugServiceGrpc.java @@ -18,159 +18,159 @@ private NullDebugServiceGrpc() {} public static final String SERVICE_NAME = "opi_api.storage.v1.NullDebugService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getNullDebugCreateMethod; + private static volatile io.grpc.MethodDescriptor getCreateNullDebugMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NullDebugCreate", - requestType = opi_api.storage.v1.NullDebugCreateRequest.class, + fullMethodName = SERVICE_NAME + '/' + "CreateNullDebug", + requestType = opi_api.storage.v1.CreateNullDebugRequest.class, responseType = opi_api.storage.v1.NullDebug.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNullDebugCreateMethod() { - io.grpc.MethodDescriptor getNullDebugCreateMethod; - if ((getNullDebugCreateMethod = NullDebugServiceGrpc.getNullDebugCreateMethod) == null) { + public static io.grpc.MethodDescriptor getCreateNullDebugMethod() { + io.grpc.MethodDescriptor getCreateNullDebugMethod; + if ((getCreateNullDebugMethod = NullDebugServiceGrpc.getCreateNullDebugMethod) == null) { synchronized (NullDebugServiceGrpc.class) { - if ((getNullDebugCreateMethod = NullDebugServiceGrpc.getNullDebugCreateMethod) == null) { - NullDebugServiceGrpc.getNullDebugCreateMethod = getNullDebugCreateMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getCreateNullDebugMethod = NullDebugServiceGrpc.getCreateNullDebugMethod) == null) { + NullDebugServiceGrpc.getCreateNullDebugMethod = getCreateNullDebugMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NullDebugCreate")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNullDebug")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullDebugCreateRequest.getDefaultInstance())) + opi_api.storage.v1.CreateNullDebugRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( opi_api.storage.v1.NullDebug.getDefaultInstance())) - .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("NullDebugCreate")) + .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("CreateNullDebug")) .build(); } } } - return getNullDebugCreateMethod; + return getCreateNullDebugMethod; } - private static volatile io.grpc.MethodDescriptor getNullDebugDeleteMethod; + private static volatile io.grpc.MethodDescriptor getDeleteNullDebugMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NullDebugDelete", - requestType = opi_api.storage.v1.NullDebugDeleteRequest.class, + fullMethodName = SERVICE_NAME + '/' + "DeleteNullDebug", + requestType = opi_api.storage.v1.DeleteNullDebugRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNullDebugDeleteMethod() { - io.grpc.MethodDescriptor getNullDebugDeleteMethod; - if ((getNullDebugDeleteMethod = NullDebugServiceGrpc.getNullDebugDeleteMethod) == null) { + public static io.grpc.MethodDescriptor getDeleteNullDebugMethod() { + io.grpc.MethodDescriptor getDeleteNullDebugMethod; + if ((getDeleteNullDebugMethod = NullDebugServiceGrpc.getDeleteNullDebugMethod) == null) { synchronized (NullDebugServiceGrpc.class) { - if ((getNullDebugDeleteMethod = NullDebugServiceGrpc.getNullDebugDeleteMethod) == null) { - NullDebugServiceGrpc.getNullDebugDeleteMethod = getNullDebugDeleteMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getDeleteNullDebugMethod = NullDebugServiceGrpc.getDeleteNullDebugMethod) == null) { + NullDebugServiceGrpc.getDeleteNullDebugMethod = getDeleteNullDebugMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NullDebugDelete")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNullDebug")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullDebugDeleteRequest.getDefaultInstance())) + opi_api.storage.v1.DeleteNullDebugRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("NullDebugDelete")) + .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("DeleteNullDebug")) .build(); } } } - return getNullDebugDeleteMethod; + return getDeleteNullDebugMethod; } - private static volatile io.grpc.MethodDescriptor getNullDebugUpdateMethod; + private static volatile io.grpc.MethodDescriptor getUpdateNullDebugMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NullDebugUpdate", - requestType = opi_api.storage.v1.NullDebugUpdateRequest.class, + fullMethodName = SERVICE_NAME + '/' + "UpdateNullDebug", + requestType = opi_api.storage.v1.UpdateNullDebugRequest.class, responseType = opi_api.storage.v1.NullDebug.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNullDebugUpdateMethod() { - io.grpc.MethodDescriptor getNullDebugUpdateMethod; - if ((getNullDebugUpdateMethod = NullDebugServiceGrpc.getNullDebugUpdateMethod) == null) { + public static io.grpc.MethodDescriptor getUpdateNullDebugMethod() { + io.grpc.MethodDescriptor getUpdateNullDebugMethod; + if ((getUpdateNullDebugMethod = NullDebugServiceGrpc.getUpdateNullDebugMethod) == null) { synchronized (NullDebugServiceGrpc.class) { - if ((getNullDebugUpdateMethod = NullDebugServiceGrpc.getNullDebugUpdateMethod) == null) { - NullDebugServiceGrpc.getNullDebugUpdateMethod = getNullDebugUpdateMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getUpdateNullDebugMethod = NullDebugServiceGrpc.getUpdateNullDebugMethod) == null) { + NullDebugServiceGrpc.getUpdateNullDebugMethod = getUpdateNullDebugMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NullDebugUpdate")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNullDebug")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullDebugUpdateRequest.getDefaultInstance())) + opi_api.storage.v1.UpdateNullDebugRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( opi_api.storage.v1.NullDebug.getDefaultInstance())) - .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("NullDebugUpdate")) + .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("UpdateNullDebug")) .build(); } } } - return getNullDebugUpdateMethod; + return getUpdateNullDebugMethod; } - private static volatile io.grpc.MethodDescriptor getNullDebugListMethod; + private static volatile io.grpc.MethodDescriptor getListNullDebugMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NullDebugList", - requestType = opi_api.storage.v1.NullDebugListRequest.class, - responseType = opi_api.storage.v1.NullDebugListResponse.class, + fullMethodName = SERVICE_NAME + '/' + "ListNullDebug", + requestType = opi_api.storage.v1.ListNullDebugRequest.class, + responseType = opi_api.storage.v1.ListNullDebugResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNullDebugListMethod() { - io.grpc.MethodDescriptor getNullDebugListMethod; - if ((getNullDebugListMethod = NullDebugServiceGrpc.getNullDebugListMethod) == null) { + public static io.grpc.MethodDescriptor getListNullDebugMethod() { + io.grpc.MethodDescriptor getListNullDebugMethod; + if ((getListNullDebugMethod = NullDebugServiceGrpc.getListNullDebugMethod) == null) { synchronized (NullDebugServiceGrpc.class) { - if ((getNullDebugListMethod = NullDebugServiceGrpc.getNullDebugListMethod) == null) { - NullDebugServiceGrpc.getNullDebugListMethod = getNullDebugListMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getListNullDebugMethod = NullDebugServiceGrpc.getListNullDebugMethod) == null) { + NullDebugServiceGrpc.getListNullDebugMethod = getListNullDebugMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NullDebugList")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNullDebug")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullDebugListRequest.getDefaultInstance())) + opi_api.storage.v1.ListNullDebugRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullDebugListResponse.getDefaultInstance())) - .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("NullDebugList")) + opi_api.storage.v1.ListNullDebugResponse.getDefaultInstance())) + .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("ListNullDebug")) .build(); } } } - return getNullDebugListMethod; + return getListNullDebugMethod; } - private static volatile io.grpc.MethodDescriptor getNullDebugGetMethod; + private static volatile io.grpc.MethodDescriptor getGetNullDebugMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "NullDebugGet", - requestType = opi_api.storage.v1.NullDebugGetRequest.class, + fullMethodName = SERVICE_NAME + '/' + "GetNullDebug", + requestType = opi_api.storage.v1.GetNullDebugRequest.class, responseType = opi_api.storage.v1.NullDebug.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getNullDebugGetMethod() { - io.grpc.MethodDescriptor getNullDebugGetMethod; - if ((getNullDebugGetMethod = NullDebugServiceGrpc.getNullDebugGetMethod) == null) { + public static io.grpc.MethodDescriptor getGetNullDebugMethod() { + io.grpc.MethodDescriptor getGetNullDebugMethod; + if ((getGetNullDebugMethod = NullDebugServiceGrpc.getGetNullDebugMethod) == null) { synchronized (NullDebugServiceGrpc.class) { - if ((getNullDebugGetMethod = NullDebugServiceGrpc.getNullDebugGetMethod) == null) { - NullDebugServiceGrpc.getNullDebugGetMethod = getNullDebugGetMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getGetNullDebugMethod = NullDebugServiceGrpc.getGetNullDebugMethod) == null) { + NullDebugServiceGrpc.getGetNullDebugMethod = getGetNullDebugMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NullDebugGet")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNullDebug")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - opi_api.storage.v1.NullDebugGetRequest.getDefaultInstance())) + opi_api.storage.v1.GetNullDebugRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( opi_api.storage.v1.NullDebug.getDefaultInstance())) - .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("NullDebugGet")) + .setSchemaDescriptor(new NullDebugServiceMethodDescriptorSupplier("GetNullDebug")) .build(); } } } - return getNullDebugGetMethod; + return getGetNullDebugMethod; } private static volatile io.grpc.MethodDescriptor responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNullDebugCreateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNullDebugMethod(), responseObserver); } /** */ - public void nullDebugDelete(opi_api.storage.v1.NullDebugDeleteRequest request, + public void deleteNullDebug(opi_api.storage.v1.DeleteNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNullDebugDeleteMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNullDebugMethod(), responseObserver); } /** */ - public void nullDebugUpdate(opi_api.storage.v1.NullDebugUpdateRequest request, + public void updateNullDebug(opi_api.storage.v1.UpdateNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNullDebugUpdateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNullDebugMethod(), responseObserver); } /** */ - public void nullDebugList(opi_api.storage.v1.NullDebugListRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNullDebugListMethod(), responseObserver); + public void listNullDebug(opi_api.storage.v1.ListNullDebugRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNullDebugMethod(), responseObserver); } /** */ - public void nullDebugGet(opi_api.storage.v1.NullDebugGetRequest request, + public void getNullDebug(opi_api.storage.v1.GetNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNullDebugGetMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNullDebugMethod(), responseObserver); } /** @@ -300,40 +300,40 @@ public void nullDebugStats(opi_api.storage.v1.NullDebugStatsRequest request, @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getNullDebugCreateMethod(), + getCreateNullDebugMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NullDebugCreateRequest, + opi_api.storage.v1.CreateNullDebugRequest, opi_api.storage.v1.NullDebug>( - this, METHODID_NULL_DEBUG_CREATE))) + this, METHODID_CREATE_NULL_DEBUG))) .addMethod( - getNullDebugDeleteMethod(), + getDeleteNullDebugMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NullDebugDeleteRequest, + opi_api.storage.v1.DeleteNullDebugRequest, com.google.protobuf.Empty>( - this, METHODID_NULL_DEBUG_DELETE))) + this, METHODID_DELETE_NULL_DEBUG))) .addMethod( - getNullDebugUpdateMethod(), + getUpdateNullDebugMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NullDebugUpdateRequest, + opi_api.storage.v1.UpdateNullDebugRequest, opi_api.storage.v1.NullDebug>( - this, METHODID_NULL_DEBUG_UPDATE))) + this, METHODID_UPDATE_NULL_DEBUG))) .addMethod( - getNullDebugListMethod(), + getListNullDebugMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NullDebugListRequest, - opi_api.storage.v1.NullDebugListResponse>( - this, METHODID_NULL_DEBUG_LIST))) + opi_api.storage.v1.ListNullDebugRequest, + opi_api.storage.v1.ListNullDebugResponse>( + this, METHODID_LIST_NULL_DEBUG))) .addMethod( - getNullDebugGetMethod(), + getGetNullDebugMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - opi_api.storage.v1.NullDebugGetRequest, + opi_api.storage.v1.GetNullDebugRequest, opi_api.storage.v1.NullDebug>( - this, METHODID_NULL_DEBUG_GET))) + this, METHODID_GET_NULL_DEBUG))) .addMethod( getNullDebugStatsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -364,42 +364,42 @@ protected NullDebugServiceStub build( /** */ - public void nullDebugCreate(opi_api.storage.v1.NullDebugCreateRequest request, + public void createNullDebug(opi_api.storage.v1.CreateNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNullDebugCreateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateNullDebugMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nullDebugDelete(opi_api.storage.v1.NullDebugDeleteRequest request, + public void deleteNullDebug(opi_api.storage.v1.DeleteNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNullDebugDeleteMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteNullDebugMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nullDebugUpdate(opi_api.storage.v1.NullDebugUpdateRequest request, + public void updateNullDebug(opi_api.storage.v1.UpdateNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNullDebugUpdateMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateNullDebugMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nullDebugList(opi_api.storage.v1.NullDebugListRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listNullDebug(opi_api.storage.v1.ListNullDebugRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNullDebugListMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListNullDebugMethod(), getCallOptions()), request, responseObserver); } /** */ - public void nullDebugGet(opi_api.storage.v1.NullDebugGetRequest request, + public void getNullDebug(opi_api.storage.v1.GetNullDebugRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getNullDebugGetMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetNullDebugMethod(), getCallOptions()), request, responseObserver); } /** @@ -430,37 +430,37 @@ protected NullDebugServiceBlockingStub build( /** */ - public opi_api.storage.v1.NullDebug nullDebugCreate(opi_api.storage.v1.NullDebugCreateRequest request) { + public opi_api.storage.v1.NullDebug createNullDebug(opi_api.storage.v1.CreateNullDebugRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNullDebugCreateMethod(), getCallOptions(), request); + getChannel(), getCreateNullDebugMethod(), getCallOptions(), request); } /** */ - public com.google.protobuf.Empty nullDebugDelete(opi_api.storage.v1.NullDebugDeleteRequest request) { + public com.google.protobuf.Empty deleteNullDebug(opi_api.storage.v1.DeleteNullDebugRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNullDebugDeleteMethod(), getCallOptions(), request); + getChannel(), getDeleteNullDebugMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NullDebug nullDebugUpdate(opi_api.storage.v1.NullDebugUpdateRequest request) { + public opi_api.storage.v1.NullDebug updateNullDebug(opi_api.storage.v1.UpdateNullDebugRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNullDebugUpdateMethod(), getCallOptions(), request); + getChannel(), getUpdateNullDebugMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NullDebugListResponse nullDebugList(opi_api.storage.v1.NullDebugListRequest request) { + public opi_api.storage.v1.ListNullDebugResponse listNullDebug(opi_api.storage.v1.ListNullDebugRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNullDebugListMethod(), getCallOptions(), request); + getChannel(), getListNullDebugMethod(), getCallOptions(), request); } /** */ - public opi_api.storage.v1.NullDebug nullDebugGet(opi_api.storage.v1.NullDebugGetRequest request) { + public opi_api.storage.v1.NullDebug getNullDebug(opi_api.storage.v1.GetNullDebugRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getNullDebugGetMethod(), getCallOptions(), request); + getChannel(), getGetNullDebugMethod(), getCallOptions(), request); } /** @@ -490,42 +490,42 @@ protected NullDebugServiceFutureStub build( /** */ - public com.google.common.util.concurrent.ListenableFuture nullDebugCreate( - opi_api.storage.v1.NullDebugCreateRequest request) { + public com.google.common.util.concurrent.ListenableFuture createNullDebug( + opi_api.storage.v1.CreateNullDebugRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNullDebugCreateMethod(), getCallOptions()), request); + getChannel().newCall(getCreateNullDebugMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nullDebugDelete( - opi_api.storage.v1.NullDebugDeleteRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteNullDebug( + opi_api.storage.v1.DeleteNullDebugRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNullDebugDeleteMethod(), getCallOptions()), request); + getChannel().newCall(getDeleteNullDebugMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nullDebugUpdate( - opi_api.storage.v1.NullDebugUpdateRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateNullDebug( + opi_api.storage.v1.UpdateNullDebugRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNullDebugUpdateMethod(), getCallOptions()), request); + getChannel().newCall(getUpdateNullDebugMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nullDebugList( - opi_api.storage.v1.NullDebugListRequest request) { + public com.google.common.util.concurrent.ListenableFuture listNullDebug( + opi_api.storage.v1.ListNullDebugRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNullDebugListMethod(), getCallOptions()), request); + getChannel().newCall(getListNullDebugMethod(), getCallOptions()), request); } /** */ - public com.google.common.util.concurrent.ListenableFuture nullDebugGet( - opi_api.storage.v1.NullDebugGetRequest request) { + public com.google.common.util.concurrent.ListenableFuture getNullDebug( + opi_api.storage.v1.GetNullDebugRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getNullDebugGetMethod(), getCallOptions()), request); + getChannel().newCall(getGetNullDebugMethod(), getCallOptions()), request); } /** @@ -537,11 +537,11 @@ public com.google.common.util.concurrent.ListenableFuture implements @@ -561,24 +561,24 @@ private static final class MethodHandlers implements @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { - case METHODID_NULL_DEBUG_CREATE: - serviceImpl.nullDebugCreate((opi_api.storage.v1.NullDebugCreateRequest) request, + case METHODID_CREATE_NULL_DEBUG: + serviceImpl.createNullDebug((opi_api.storage.v1.CreateNullDebugRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NULL_DEBUG_DELETE: - serviceImpl.nullDebugDelete((opi_api.storage.v1.NullDebugDeleteRequest) request, + case METHODID_DELETE_NULL_DEBUG: + serviceImpl.deleteNullDebug((opi_api.storage.v1.DeleteNullDebugRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NULL_DEBUG_UPDATE: - serviceImpl.nullDebugUpdate((opi_api.storage.v1.NullDebugUpdateRequest) request, + case METHODID_UPDATE_NULL_DEBUG: + serviceImpl.updateNullDebug((opi_api.storage.v1.UpdateNullDebugRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NULL_DEBUG_LIST: - serviceImpl.nullDebugList((opi_api.storage.v1.NullDebugListRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_LIST_NULL_DEBUG: + serviceImpl.listNullDebug((opi_api.storage.v1.ListNullDebugRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_NULL_DEBUG_GET: - serviceImpl.nullDebugGet((opi_api.storage.v1.NullDebugGetRequest) request, + case METHODID_GET_NULL_DEBUG: + serviceImpl.getNullDebug((opi_api.storage.v1.GetNullDebugRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_NULL_DEBUG_STATS: @@ -646,11 +646,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new NullDebugServiceFileDescriptorSupplier()) - .addMethod(getNullDebugCreateMethod()) - .addMethod(getNullDebugDeleteMethod()) - .addMethod(getNullDebugUpdateMethod()) - .addMethod(getNullDebugListMethod()) - .addMethod(getNullDebugGetMethod()) + .addMethod(getCreateNullDebugMethod()) + .addMethod(getDeleteNullDebugMethod()) + .addMethod(getUpdateNullDebugMethod()) + .addMethod(getListNullDebugMethod()) + .addMethod(getGetNullDebugMethod()) .addMethod(getNullDebugStatsMethod()) .build(); } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateAioControllerRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateAioControllerRequest.java index 0d5ece44..55dd9f6c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerUpdateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateAioControllerRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.AioControllerUpdateRequest} + * Protobuf type {@code opi_api.storage.v1.UpdateAioControllerRequest} */ -public final class AioControllerUpdateRequest extends +public final class UpdateAioControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.AioControllerUpdateRequest) - AioControllerUpdateRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.UpdateAioControllerRequest) + UpdateAioControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use AioControllerUpdateRequest.newBuilder() to construct. - private AioControllerUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use UpdateAioControllerRequest.newBuilder() to construct. + private UpdateAioControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AioControllerUpdateRequest() { + private UpdateAioControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new AioControllerUpdateRequest(); + return new UpdateAioControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private AioControllerUpdateRequest( + private UpdateAioControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private AioControllerUpdateRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_UpdateAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerUpdateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_UpdateAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerUpdateRequest.class, opi_api.storage.v1.AioControllerUpdateRequest.Builder.class); + opi_api.storage.v1.UpdateAioControllerRequest.class, opi_api.storage.v1.UpdateAioControllerRequest.Builder.class); } public static final int DEVICE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.AioControllerUpdateRequest)) { + if (!(obj instanceof opi_api.storage.v1.UpdateAioControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.AioControllerUpdateRequest other = (opi_api.storage.v1.AioControllerUpdateRequest) obj; + opi_api.storage.v1.UpdateAioControllerRequest other = (opi_api.storage.v1.UpdateAioControllerRequest) obj; if (hasDevice() != other.hasDevice()) return false; if (hasDevice()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest 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.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest 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.AioControllerUpdateRequest parseFrom(byte[] data) + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest 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.AioControllerUpdateRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.UpdateAioControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseDelimitedFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest 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.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateAioControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.AioControllerUpdateRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.AioControllerUpdateRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.UpdateAioControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.AioControllerUpdateRequest} + * Protobuf type {@code opi_api.storage.v1.UpdateAioControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.AioControllerUpdateRequest) - opi_api.storage.v1.AioControllerUpdateRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.UpdateAioControllerRequest) + opi_api.storage.v1.UpdateAioControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_UpdateAioControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerUpdateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_UpdateAioControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.AioControllerUpdateRequest.class, opi_api.storage.v1.AioControllerUpdateRequest.Builder.class); + opi_api.storage.v1.UpdateAioControllerRequest.class, opi_api.storage.v1.UpdateAioControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.AioControllerUpdateRequest.newBuilder() + // Construct using opi_api.storage.v1.UpdateAioControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_AioControllerUpdateRequest_descriptor; + return opi_api.storage.v1.BackendAioProto.internal_static_opi_api_storage_v1_UpdateAioControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.AioControllerUpdateRequest getDefaultInstanceForType() { - return opi_api.storage.v1.AioControllerUpdateRequest.getDefaultInstance(); + public opi_api.storage.v1.UpdateAioControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.UpdateAioControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.AioControllerUpdateRequest build() { - opi_api.storage.v1.AioControllerUpdateRequest result = buildPartial(); + public opi_api.storage.v1.UpdateAioControllerRequest build() { + opi_api.storage.v1.UpdateAioControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.AioControllerUpdateRequest build() { } @java.lang.Override - public opi_api.storage.v1.AioControllerUpdateRequest buildPartial() { - opi_api.storage.v1.AioControllerUpdateRequest result = new opi_api.storage.v1.AioControllerUpdateRequest(this); + public opi_api.storage.v1.UpdateAioControllerRequest buildPartial() { + opi_api.storage.v1.UpdateAioControllerRequest result = new opi_api.storage.v1.UpdateAioControllerRequest(this); if (deviceBuilder_ == null) { result.device_ = device_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.AioControllerUpdateRequest) { - return mergeFrom((opi_api.storage.v1.AioControllerUpdateRequest)other); + if (other instanceof opi_api.storage.v1.UpdateAioControllerRequest) { + return mergeFrom((opi_api.storage.v1.UpdateAioControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.AioControllerUpdateRequest other) { - if (other == opi_api.storage.v1.AioControllerUpdateRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.UpdateAioControllerRequest other) { + if (other == opi_api.storage.v1.UpdateAioControllerRequest.getDefaultInstance()) return this; if (other.hasDevice()) { mergeDevice(other.getDevice()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.AioControllerUpdateRequest parsedMessage = null; + opi_api.storage.v1.UpdateAioControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.AioControllerUpdateRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.UpdateAioControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.AioControllerUpdateRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.UpdateAioControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerUpdateRequest) - private static final opi_api.storage.v1.AioControllerUpdateRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateAioControllerRequest) + private static final opi_api.storage.v1.UpdateAioControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.AioControllerUpdateRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.UpdateAioControllerRequest(); } - public static opi_api.storage.v1.AioControllerUpdateRequest getDefaultInstance() { + public static opi_api.storage.v1.UpdateAioControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AioControllerUpdateRequest parsePartialFrom( + public UpdateAioControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AioControllerUpdateRequest(input, extensionRegistry); + return new UpdateAioControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.AioControllerUpdateRequest getDefaultInstanceForType() { + public opi_api.storage.v1.UpdateAioControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateAioControllerRequestOrBuilder.java similarity index 87% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateAioControllerRequestOrBuilder.java index 264c99e1..f9b1de2a 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/AioControllerCreateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateAioControllerRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface AioControllerCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.AioControllerCreateRequest) +public interface UpdateAioControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.UpdateAioControllerRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetResponse.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMfRemoteControllerRequest.java similarity index 77% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetResponse.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMfRemoteControllerRequest.java index 3b03786d..bde85826 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerGetResponse.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMfRemoteControllerRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerGetResponse} + * Protobuf type {@code opi_api.storage.v1.UpdateNVMfRemoteControllerRequest} */ -public final class NVMfRemoteControllerGetResponse extends +public final class UpdateNVMfRemoteControllerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NVMfRemoteControllerGetResponse) - NVMfRemoteControllerGetResponseOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) + UpdateNVMfRemoteControllerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NVMfRemoteControllerGetResponse.newBuilder() to construct. - private NVMfRemoteControllerGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use UpdateNVMfRemoteControllerRequest.newBuilder() to construct. + private UpdateNVMfRemoteControllerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NVMfRemoteControllerGetResponse() { + private UpdateNVMfRemoteControllerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NVMfRemoteControllerGetResponse(); + return new UpdateNVMfRemoteControllerRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NVMfRemoteControllerGetResponse( + private UpdateNVMfRemoteControllerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NVMfRemoteControllerGetResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerGetResponse.class, opi_api.storage.v1.NVMfRemoteControllerGetResponse.Builder.class); + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.class, opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.Builder.class); } public static final int CTRL_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NVMfRemoteControllerGetResponse)) { + if (!(obj instanceof opi_api.storage.v1.UpdateNVMfRemoteControllerRequest)) { return super.equals(obj); } - opi_api.storage.v1.NVMfRemoteControllerGetResponse other = (opi_api.storage.v1.NVMfRemoteControllerGetResponse) obj; + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest other = (opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) obj; if (hasCtrl() != other.hasCtrl()) return false; if (hasCtrl()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest 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.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest 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.NVMfRemoteControllerGetResponse parseFrom(byte[] data) + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest 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.NVMfRemoteControllerGetResponse parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseDelimitedFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest 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.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NVMfRemoteControllerGetResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NVMfRemoteControllerGetResponse prototype) { + public static Builder newBuilder(opi_api.storage.v1.UpdateNVMfRemoteControllerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NVMfRemoteControllerGetResponse} + * Protobuf type {@code opi_api.storage.v1.UpdateNVMfRemoteControllerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NVMfRemoteControllerGetResponse) - opi_api.storage.v1.NVMfRemoteControllerGetResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) + opi_api.storage.v1.UpdateNVMfRemoteControllerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_fieldAccessorTable + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NVMfRemoteControllerGetResponse.class, opi_api.storage.v1.NVMfRemoteControllerGetResponse.Builder.class); + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.class, opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.Builder.class); } - // Construct using opi_api.storage.v1.NVMfRemoteControllerGetResponse.newBuilder() + // Construct using opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_NVMfRemoteControllerGetResponse_descriptor; + return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_UpdateNVMfRemoteControllerRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetResponse getDefaultInstanceForType() { - return opi_api.storage.v1.NVMfRemoteControllerGetResponse.getDefaultInstance(); + public opi_api.storage.v1.UpdateNVMfRemoteControllerRequest getDefaultInstanceForType() { + return opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetResponse build() { - opi_api.storage.v1.NVMfRemoteControllerGetResponse result = buildPartial(); + public opi_api.storage.v1.UpdateNVMfRemoteControllerRequest build() { + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NVMfRemoteControllerGetResponse build() { } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetResponse buildPartial() { - opi_api.storage.v1.NVMfRemoteControllerGetResponse result = new opi_api.storage.v1.NVMfRemoteControllerGetResponse(this); + public opi_api.storage.v1.UpdateNVMfRemoteControllerRequest buildPartial() { + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest result = new opi_api.storage.v1.UpdateNVMfRemoteControllerRequest(this); if (ctrlBuilder_ == null) { result.ctrl_ = ctrl_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NVMfRemoteControllerGetResponse) { - return mergeFrom((opi_api.storage.v1.NVMfRemoteControllerGetResponse)other); + if (other instanceof opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) { + return mergeFrom((opi_api.storage.v1.UpdateNVMfRemoteControllerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NVMfRemoteControllerGetResponse other) { - if (other == opi_api.storage.v1.NVMfRemoteControllerGetResponse.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.UpdateNVMfRemoteControllerRequest other) { + if (other == opi_api.storage.v1.UpdateNVMfRemoteControllerRequest.getDefaultInstance()) return this; if (other.hasCtrl()) { mergeCtrl(other.getCtrl()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NVMfRemoteControllerGetResponse parsedMessage = null; + opi_api.storage.v1.UpdateNVMfRemoteControllerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NVMfRemoteControllerGetResponse) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NVMfRemoteControllerGetResponse) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerGetResponse) - private static final opi_api.storage.v1.NVMfRemoteControllerGetResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) + private static final opi_api.storage.v1.UpdateNVMfRemoteControllerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NVMfRemoteControllerGetResponse(); + DEFAULT_INSTANCE = new opi_api.storage.v1.UpdateNVMfRemoteControllerRequest(); } - public static opi_api.storage.v1.NVMfRemoteControllerGetResponse getDefaultInstance() { + public static opi_api.storage.v1.UpdateNVMfRemoteControllerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NVMfRemoteControllerGetResponse parsePartialFrom( + public UpdateNVMfRemoteControllerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NVMfRemoteControllerGetResponse(input, extensionRegistry); + return new UpdateNVMfRemoteControllerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NVMfRemoteControllerGetResponse getDefaultInstanceForType() { + public opi_api.storage.v1.UpdateNVMfRemoteControllerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMfRemoteControllerRequestOrBuilder.java similarity index 86% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMfRemoteControllerRequestOrBuilder.java index eee6c2f0..6f2760ed 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NVMfRemoteControllerConnectRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNVMfRemoteControllerRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NVMfRemoteControllerConnectRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) +public interface UpdateNVMfRemoteControllerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNullDebugRequest.java similarity index 81% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNullDebugRequest.java index bfef7b1d..784d7463 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugUpdateRequest.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNullDebugRequest.java @@ -4,25 +4,25 @@ package opi_api.storage.v1; /** - * Protobuf type {@code opi_api.storage.v1.NullDebugUpdateRequest} + * Protobuf type {@code opi_api.storage.v1.UpdateNullDebugRequest} */ -public final class NullDebugUpdateRequest extends +public final class UpdateNullDebugRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:opi_api.storage.v1.NullDebugUpdateRequest) - NullDebugUpdateRequestOrBuilder { + // @@protoc_insertion_point(message_implements:opi_api.storage.v1.UpdateNullDebugRequest) + UpdateNullDebugRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use NullDebugUpdateRequest.newBuilder() to construct. - private NullDebugUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use UpdateNullDebugRequest.newBuilder() to construct. + private UpdateNullDebugRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NullDebugUpdateRequest() { + private UpdateNullDebugRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new NullDebugUpdateRequest(); + return new UpdateNullDebugRequest(); } @java.lang.Override @@ -30,7 +30,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private NullDebugUpdateRequest( + private UpdateNullDebugRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -82,15 +82,15 @@ private NullDebugUpdateRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_UpdateNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugUpdateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_UpdateNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugUpdateRequest.class, opi_api.storage.v1.NullDebugUpdateRequest.Builder.class); + opi_api.storage.v1.UpdateNullDebugRequest.class, opi_api.storage.v1.UpdateNullDebugRequest.Builder.class); } public static final int DEVICE_FIELD_NUMBER = 1; @@ -159,10 +159,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof opi_api.storage.v1.NullDebugUpdateRequest)) { + if (!(obj instanceof opi_api.storage.v1.UpdateNullDebugRequest)) { return super.equals(obj); } - opi_api.storage.v1.NullDebugUpdateRequest other = (opi_api.storage.v1.NullDebugUpdateRequest) obj; + opi_api.storage.v1.UpdateNullDebugRequest other = (opi_api.storage.v1.UpdateNullDebugRequest) obj; if (hasDevice() != other.hasDevice()) return false; if (hasDevice()) { @@ -189,69 +189,69 @@ public int hashCode() { return hash; } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest 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.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest 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.NullDebugUpdateRequest parseFrom(byte[] data) + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom(java.io.InputStream input) + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest 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.NullDebugUpdateRequest parseDelimitedFrom(java.io.InputStream input) + public static opi_api.storage.v1.UpdateNullDebugRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseDelimitedFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest 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.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( + public static opi_api.storage.v1.UpdateNullDebugRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -264,7 +264,7 @@ public static opi_api.storage.v1.NullDebugUpdateRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(opi_api.storage.v1.NullDebugUpdateRequest prototype) { + public static Builder newBuilder(opi_api.storage.v1.UpdateNullDebugRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -280,26 +280,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code opi_api.storage.v1.NullDebugUpdateRequest} + * Protobuf type {@code opi_api.storage.v1.UpdateNullDebugRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.NullDebugUpdateRequest) - opi_api.storage.v1.NullDebugUpdateRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.UpdateNullDebugRequest) + opi_api.storage.v1.UpdateNullDebugRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_UpdateNullDebugRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugUpdateRequest_fieldAccessorTable + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_UpdateNullDebugRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - opi_api.storage.v1.NullDebugUpdateRequest.class, opi_api.storage.v1.NullDebugUpdateRequest.Builder.class); + opi_api.storage.v1.UpdateNullDebugRequest.class, opi_api.storage.v1.UpdateNullDebugRequest.Builder.class); } - // Construct using opi_api.storage.v1.NullDebugUpdateRequest.newBuilder() + // Construct using opi_api.storage.v1.UpdateNullDebugRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -329,17 +329,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_NullDebugUpdateRequest_descriptor; + return opi_api.storage.v1.BackendNullProto.internal_static_opi_api_storage_v1_UpdateNullDebugRequest_descriptor; } @java.lang.Override - public opi_api.storage.v1.NullDebugUpdateRequest getDefaultInstanceForType() { - return opi_api.storage.v1.NullDebugUpdateRequest.getDefaultInstance(); + public opi_api.storage.v1.UpdateNullDebugRequest getDefaultInstanceForType() { + return opi_api.storage.v1.UpdateNullDebugRequest.getDefaultInstance(); } @java.lang.Override - public opi_api.storage.v1.NullDebugUpdateRequest build() { - opi_api.storage.v1.NullDebugUpdateRequest result = buildPartial(); + public opi_api.storage.v1.UpdateNullDebugRequest build() { + opi_api.storage.v1.UpdateNullDebugRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -347,8 +347,8 @@ public opi_api.storage.v1.NullDebugUpdateRequest build() { } @java.lang.Override - public opi_api.storage.v1.NullDebugUpdateRequest buildPartial() { - opi_api.storage.v1.NullDebugUpdateRequest result = new opi_api.storage.v1.NullDebugUpdateRequest(this); + public opi_api.storage.v1.UpdateNullDebugRequest buildPartial() { + opi_api.storage.v1.UpdateNullDebugRequest result = new opi_api.storage.v1.UpdateNullDebugRequest(this); if (deviceBuilder_ == null) { result.device_ = device_; } else { @@ -392,16 +392,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof opi_api.storage.v1.NullDebugUpdateRequest) { - return mergeFrom((opi_api.storage.v1.NullDebugUpdateRequest)other); + if (other instanceof opi_api.storage.v1.UpdateNullDebugRequest) { + return mergeFrom((opi_api.storage.v1.UpdateNullDebugRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(opi_api.storage.v1.NullDebugUpdateRequest other) { - if (other == opi_api.storage.v1.NullDebugUpdateRequest.getDefaultInstance()) return this; + public Builder mergeFrom(opi_api.storage.v1.UpdateNullDebugRequest other) { + if (other == opi_api.storage.v1.UpdateNullDebugRequest.getDefaultInstance()) return this; if (other.hasDevice()) { mergeDevice(other.getDevice()); } @@ -420,11 +420,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - opi_api.storage.v1.NullDebugUpdateRequest parsedMessage = null; + opi_api.storage.v1.UpdateNullDebugRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (opi_api.storage.v1.NullDebugUpdateRequest) e.getUnfinishedMessage(); + parsedMessage = (opi_api.storage.v1.UpdateNullDebugRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,41 +565,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.NullDebugUpdateRequest) + // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.UpdateNullDebugRequest) } - // @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugUpdateRequest) - private static final opi_api.storage.v1.NullDebugUpdateRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNullDebugRequest) + private static final opi_api.storage.v1.UpdateNullDebugRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new opi_api.storage.v1.NullDebugUpdateRequest(); + DEFAULT_INSTANCE = new opi_api.storage.v1.UpdateNullDebugRequest(); } - public static opi_api.storage.v1.NullDebugUpdateRequest getDefaultInstance() { + public static opi_api.storage.v1.UpdateNullDebugRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public NullDebugUpdateRequest parsePartialFrom( + public UpdateNullDebugRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new NullDebugUpdateRequest(input, extensionRegistry); + return new UpdateNullDebugRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public opi_api.storage.v1.NullDebugUpdateRequest getDefaultInstanceForType() { + public opi_api.storage.v1.UpdateNullDebugRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNullDebugRequestOrBuilder.java similarity index 88% rename from storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java rename to storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNullDebugRequestOrBuilder.java index 3bc8159d..d3be795c 100644 --- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NullDebugCreateRequestOrBuilder.java +++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/UpdateNullDebugRequestOrBuilder.java @@ -3,8 +3,8 @@ package opi_api.storage.v1; -public interface NullDebugCreateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.NullDebugCreateRequest) +public interface UpdateNullDebugRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.UpdateNullDebugRequest) com.google.protobuf.MessageOrBuilder { /** diff --git a/storage/v1alpha1/gen/python/backend_aio_pb2.py b/storage/v1alpha1/gen/python/backend_aio_pb2.py index 25873c6d..6d4d41fc 100644 --- a/storage/v1alpha1/gen/python/backend_aio_pb2.py +++ b/storage/v1alpha1/gen/python/backend_aio_pb2.py @@ -13,24 +13,24 @@ 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 import object_key_pb2 as object__key__pb2 import uuid_pb2 as uuid__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x62\x61\x63kend_aio.proto\x12\x12opi_api.storage.v1\x1a\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\x1cgoogle/api/annotations.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\x43reateAioControllerRequest\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\"J\n\x1a\x44\x65leteAioControllerRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"O\n\x1aUpdateAioControllerRequest\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32!.opi_api.storage.v1.AioController\"A\n\x18ListAioControllerRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"h\n\x19ListAioControllerResponse\x12\x32\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32!.opi_api.storage.v1.AioController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x17GetAioControllerRequest\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\"Y\n\x1a\x41ioControllerStatsResponse\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\r\n\x05stats\x18\x02 \x01(\t2\xc1\x06\n\x14\x41ioControllerService\x12\x8b\x01\n\x13\x43reateAioController\x12..opi_api.storage.v1.CreateAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/subsystems:\tsubsystem\x12\x81\x01\n\x13\x44\x65leteAioController\x12..opi_api.storage.v1.DeleteAioControllerRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/subsystems/{subsystem}\x12\x8b\x01\n\x13UpdateAioController\x12..opi_api.storage.v1.UpdateAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/subsystems:\tsubsystem\x12\x88\x01\n\x11ListAioController\x12,.opi_api.storage.v1.ListAioControllerRequest\x1a-.opi_api.storage.v1.ListAioControllerResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/subsystems\x12\x86\x01\n\x10GetAioController\x12+.opi_api.storage.v1.GetAioControllerRequest\x1a!.opi_api.storage.v1.AioController\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/subsystems/{subsystem}\x12u\n\x12\x41ioControllerStats\x12-.opi_api.storage.v1.AioControllerStatsRequest\x1a..opi_api.storage.v1.AioControllerStatsResponse\"\x00\x42^\n\x12opi_api.storage.v1B\x0f\x42\x61\x63kendAioProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') _AIOCONTROLLER = DESCRIPTOR.message_types_by_name['AioController'] -_AIOCONTROLLERCREATEREQUEST = DESCRIPTOR.message_types_by_name['AioControllerCreateRequest'] -_AIOCONTROLLERDELETEREQUEST = DESCRIPTOR.message_types_by_name['AioControllerDeleteRequest'] -_AIOCONTROLLERUPDATEREQUEST = DESCRIPTOR.message_types_by_name['AioControllerUpdateRequest'] -_AIOCONTROLLERLIST = DESCRIPTOR.message_types_by_name['AioControllerList'] -_AIOCONTROLLERGETREQUEST = DESCRIPTOR.message_types_by_name['AioControllerGetRequest'] -_AIOCONTROLLERGETLISTREQUEST = DESCRIPTOR.message_types_by_name['AioControllerGetListRequest'] -_AIOCONTROLLERGETSTATSREQUEST = DESCRIPTOR.message_types_by_name['AioControllerGetStatsRequest'] +_CREATEAIOCONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['CreateAioControllerRequest'] +_DELETEAIOCONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['DeleteAioControllerRequest'] +_UPDATEAIOCONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['UpdateAioControllerRequest'] +_LISTAIOCONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['ListAioControllerRequest'] +_LISTAIOCONTROLLERRESPONSE = DESCRIPTOR.message_types_by_name['ListAioControllerResponse'] +_GETAIOCONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['GetAioControllerRequest'] _AIOCONTROLLERSTATSREQUEST = DESCRIPTOR.message_types_by_name['AioControllerStatsRequest'] -_AIOCONTROLLERSTATS = DESCRIPTOR.message_types_by_name['AioControllerStats'] +_AIOCONTROLLERSTATSRESPONSE = DESCRIPTOR.message_types_by_name['AioControllerStatsResponse'] AioController = _reflection.GeneratedProtocolMessageType('AioController', (_message.Message,), { 'DESCRIPTOR' : _AIOCONTROLLER, '__module__' : 'backend_aio_pb2' @@ -38,54 +38,47 @@ }) _sym_db.RegisterMessage(AioController) -AioControllerCreateRequest = _reflection.GeneratedProtocolMessageType('AioControllerCreateRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERCREATEREQUEST, +CreateAioControllerRequest = _reflection.GeneratedProtocolMessageType('CreateAioControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATEAIOCONTROLLERREQUEST, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerCreateRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateAioControllerRequest) }) -_sym_db.RegisterMessage(AioControllerCreateRequest) +_sym_db.RegisterMessage(CreateAioControllerRequest) -AioControllerDeleteRequest = _reflection.GeneratedProtocolMessageType('AioControllerDeleteRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERDELETEREQUEST, +DeleteAioControllerRequest = _reflection.GeneratedProtocolMessageType('DeleteAioControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEAIOCONTROLLERREQUEST, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerDeleteRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteAioControllerRequest) }) -_sym_db.RegisterMessage(AioControllerDeleteRequest) +_sym_db.RegisterMessage(DeleteAioControllerRequest) -AioControllerUpdateRequest = _reflection.GeneratedProtocolMessageType('AioControllerUpdateRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERUPDATEREQUEST, +UpdateAioControllerRequest = _reflection.GeneratedProtocolMessageType('UpdateAioControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATEAIOCONTROLLERREQUEST, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerUpdateRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateAioControllerRequest) }) -_sym_db.RegisterMessage(AioControllerUpdateRequest) +_sym_db.RegisterMessage(UpdateAioControllerRequest) -AioControllerList = _reflection.GeneratedProtocolMessageType('AioControllerList', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERLIST, +ListAioControllerRequest = _reflection.GeneratedProtocolMessageType('ListAioControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTAIOCONTROLLERREQUEST, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerList) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListAioControllerRequest) }) -_sym_db.RegisterMessage(AioControllerList) +_sym_db.RegisterMessage(ListAioControllerRequest) -AioControllerGetRequest = _reflection.GeneratedProtocolMessageType('AioControllerGetRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERGETREQUEST, +ListAioControllerResponse = _reflection.GeneratedProtocolMessageType('ListAioControllerResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTAIOCONTROLLERRESPONSE, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListAioControllerResponse) }) -_sym_db.RegisterMessage(AioControllerGetRequest) +_sym_db.RegisterMessage(ListAioControllerResponse) -AioControllerGetListRequest = _reflection.GeneratedProtocolMessageType('AioControllerGetListRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERGETLISTREQUEST, +GetAioControllerRequest = _reflection.GeneratedProtocolMessageType('GetAioControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETAIOCONTROLLERREQUEST, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetListRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetAioControllerRequest) }) -_sym_db.RegisterMessage(AioControllerGetListRequest) - -AioControllerGetStatsRequest = _reflection.GeneratedProtocolMessageType('AioControllerGetStatsRequest', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERGETSTATSREQUEST, - '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerGetStatsRequest) - }) -_sym_db.RegisterMessage(AioControllerGetStatsRequest) +_sym_db.RegisterMessage(GetAioControllerRequest) AioControllerStatsRequest = _reflection.GeneratedProtocolMessageType('AioControllerStatsRequest', (_message.Message,), { 'DESCRIPTOR' : _AIOCONTROLLERSTATSREQUEST, @@ -94,38 +87,46 @@ }) _sym_db.RegisterMessage(AioControllerStatsRequest) -AioControllerStats = _reflection.GeneratedProtocolMessageType('AioControllerStats', (_message.Message,), { - 'DESCRIPTOR' : _AIOCONTROLLERSTATS, +AioControllerStatsResponse = _reflection.GeneratedProtocolMessageType('AioControllerStatsResponse', (_message.Message,), { + 'DESCRIPTOR' : _AIOCONTROLLERSTATSRESPONSE, '__module__' : 'backend_aio_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStats) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.AioControllerStatsResponse) }) -_sym_db.RegisterMessage(AioControllerStats) +_sym_db.RegisterMessage(AioControllerStatsResponse) _AIOCONTROLLERSERVICE = DESCRIPTOR.services_by_name['AioControllerService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\017BackendAioProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' - _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 + _AIOCONTROLLERSERVICE.methods_by_name['CreateAioController']._options = None + _AIOCONTROLLERSERVICE.methods_by_name['CreateAioController']._serialized_options = b'\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsystem' + _AIOCONTROLLERSERVICE.methods_by_name['DeleteAioController']._options = None + _AIOCONTROLLERSERVICE.methods_by_name['DeleteAioController']._serialized_options = b'\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}' + _AIOCONTROLLERSERVICE.methods_by_name['UpdateAioController']._options = None + _AIOCONTROLLERSERVICE.methods_by_name['UpdateAioController']._serialized_options = b'\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem' + _AIOCONTROLLERSERVICE.methods_by_name['ListAioController']._options = None + _AIOCONTROLLERSERVICE.methods_by_name['ListAioController']._serialized_options = b'\202\323\344\223\002\020\022\016/v1/subsystems' + _AIOCONTROLLERSERVICE.methods_by_name['GetAioController']._options = None + _AIOCONTROLLERSERVICE.methods_by_name['GetAioController']._serialized_options = b'\202\323\344\223\002\034\022\032/v1/subsystems/{subsystem}' + _AIOCONTROLLER._serialized_start=131 + _AIOCONTROLLER._serialized_end=291 + _CREATEAIOCONTROLLERREQUEST._serialized_start=293 + _CREATEAIOCONTROLLERREQUEST._serialized_end=372 + _DELETEAIOCONTROLLERREQUEST._serialized_start=374 + _DELETEAIOCONTROLLERREQUEST._serialized_end=448 + _UPDATEAIOCONTROLLERREQUEST._serialized_start=450 + _UPDATEAIOCONTROLLERREQUEST._serialized_end=529 + _LISTAIOCONTROLLERREQUEST._serialized_start=531 + _LISTAIOCONTROLLERREQUEST._serialized_end=596 + _LISTAIOCONTROLLERRESPONSE._serialized_start=598 + _LISTAIOCONTROLLERRESPONSE._serialized_end=702 + _GETAIOCONTROLLERREQUEST._serialized_start=704 + _GETAIOCONTROLLERREQUEST._serialized_end=775 + _AIOCONTROLLERSTATSREQUEST._serialized_start=777 + _AIOCONTROLLERSTATSREQUEST._serialized_end=850 + _AIOCONTROLLERSTATSRESPONSE._serialized_start=852 + _AIOCONTROLLERSTATSRESPONSE._serialized_end=941 + _AIOCONTROLLERSERVICE._serialized_start=944 + _AIOCONTROLLERSERVICE._serialized_end=1777 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py b/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py index 1cfffffb..cecd87c5 100644 --- a/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/backend_aio_pb2_grpc.py @@ -16,73 +16,73 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.AioControllerCreate = channel.unary_unary( - '/opi_api.storage.v1.AioControllerService/AioControllerCreate', - request_serializer=backend__aio__pb2.AioControllerCreateRequest.SerializeToString, + self.CreateAioController = channel.unary_unary( + '/opi_api.storage.v1.AioControllerService/CreateAioController', + request_serializer=backend__aio__pb2.CreateAioControllerRequest.SerializeToString, response_deserializer=backend__aio__pb2.AioController.FromString, ) - self.AioControllerDelete = channel.unary_unary( - '/opi_api.storage.v1.AioControllerService/AioControllerDelete', - request_serializer=backend__aio__pb2.AioControllerDeleteRequest.SerializeToString, + self.DeleteAioController = channel.unary_unary( + '/opi_api.storage.v1.AioControllerService/DeleteAioController', + request_serializer=backend__aio__pb2.DeleteAioControllerRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) - self.AioControllerGet = channel.unary_unary( - '/opi_api.storage.v1.AioControllerService/AioControllerGet', - request_serializer=backend__aio__pb2.AioControllerGetRequest.SerializeToString, + self.UpdateAioController = channel.unary_unary( + '/opi_api.storage.v1.AioControllerService/UpdateAioController', + request_serializer=backend__aio__pb2.UpdateAioControllerRequest.SerializeToString, response_deserializer=backend__aio__pb2.AioController.FromString, ) - self.AioControllerGetList = channel.unary_unary( - '/opi_api.storage.v1.AioControllerService/AioControllerGetList', - request_serializer=backend__aio__pb2.AioControllerGetListRequest.SerializeToString, - response_deserializer=backend__aio__pb2.AioControllerList.FromString, + self.ListAioController = channel.unary_unary( + '/opi_api.storage.v1.AioControllerService/ListAioController', + request_serializer=backend__aio__pb2.ListAioControllerRequest.SerializeToString, + response_deserializer=backend__aio__pb2.ListAioControllerResponse.FromString, ) - self.AioControllerGetStats = channel.unary_unary( - '/opi_api.storage.v1.AioControllerService/AioControllerGetStats', - request_serializer=backend__aio__pb2.AioControllerGetStatsRequest.SerializeToString, - response_deserializer=backend__aio__pb2.AioControllerStats.FromString, - ) - self.AioControllerUpdate = channel.unary_unary( - '/opi_api.storage.v1.AioControllerService/AioControllerUpdate', - request_serializer=backend__aio__pb2.AioControllerUpdateRequest.SerializeToString, + self.GetAioController = channel.unary_unary( + '/opi_api.storage.v1.AioControllerService/GetAioController', + request_serializer=backend__aio__pb2.GetAioControllerRequest.SerializeToString, response_deserializer=backend__aio__pb2.AioController.FromString, ) + self.AioControllerStats = channel.unary_unary( + '/opi_api.storage.v1.AioControllerService/AioControllerStats', + request_serializer=backend__aio__pb2.AioControllerStatsRequest.SerializeToString, + response_deserializer=backend__aio__pb2.AioControllerStatsResponse.FromString, + ) class AioControllerServiceServicer(object): """Back End (network-facing) APIs. This service is for AIO generic kernel block device. """ - def AioControllerCreate(self, request, context): + def CreateAioController(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 AioControllerDelete(self, request, context): + def DeleteAioController(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 AioControllerGet(self, request, context): + def UpdateAioController(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 AioControllerGetList(self, request, context): + def ListAioController(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 AioControllerGetStats(self, request, context): + def GetAioController(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 AioControllerUpdate(self, request, context): + def AioControllerStats(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -91,36 +91,36 @@ def AioControllerUpdate(self, request, context): def add_AioControllerServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'AioControllerCreate': grpc.unary_unary_rpc_method_handler( - servicer.AioControllerCreate, - request_deserializer=backend__aio__pb2.AioControllerCreateRequest.FromString, + 'CreateAioController': grpc.unary_unary_rpc_method_handler( + servicer.CreateAioController, + request_deserializer=backend__aio__pb2.CreateAioControllerRequest.FromString, response_serializer=backend__aio__pb2.AioController.SerializeToString, ), - 'AioControllerDelete': grpc.unary_unary_rpc_method_handler( - servicer.AioControllerDelete, - request_deserializer=backend__aio__pb2.AioControllerDeleteRequest.FromString, + 'DeleteAioController': grpc.unary_unary_rpc_method_handler( + servicer.DeleteAioController, + request_deserializer=backend__aio__pb2.DeleteAioControllerRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), - 'AioControllerGet': grpc.unary_unary_rpc_method_handler( - servicer.AioControllerGet, - request_deserializer=backend__aio__pb2.AioControllerGetRequest.FromString, + 'UpdateAioController': grpc.unary_unary_rpc_method_handler( + servicer.UpdateAioController, + request_deserializer=backend__aio__pb2.UpdateAioControllerRequest.FromString, response_serializer=backend__aio__pb2.AioController.SerializeToString, ), - 'AioControllerGetList': grpc.unary_unary_rpc_method_handler( - servicer.AioControllerGetList, - request_deserializer=backend__aio__pb2.AioControllerGetListRequest.FromString, - response_serializer=backend__aio__pb2.AioControllerList.SerializeToString, - ), - 'AioControllerGetStats': grpc.unary_unary_rpc_method_handler( - servicer.AioControllerGetStats, - request_deserializer=backend__aio__pb2.AioControllerGetStatsRequest.FromString, - response_serializer=backend__aio__pb2.AioControllerStats.SerializeToString, + 'ListAioController': grpc.unary_unary_rpc_method_handler( + servicer.ListAioController, + request_deserializer=backend__aio__pb2.ListAioControllerRequest.FromString, + response_serializer=backend__aio__pb2.ListAioControllerResponse.SerializeToString, ), - 'AioControllerUpdate': grpc.unary_unary_rpc_method_handler( - servicer.AioControllerUpdate, - request_deserializer=backend__aio__pb2.AioControllerUpdateRequest.FromString, + 'GetAioController': grpc.unary_unary_rpc_method_handler( + servicer.GetAioController, + request_deserializer=backend__aio__pb2.GetAioControllerRequest.FromString, response_serializer=backend__aio__pb2.AioController.SerializeToString, ), + 'AioControllerStats': grpc.unary_unary_rpc_method_handler( + servicer.AioControllerStats, + request_deserializer=backend__aio__pb2.AioControllerStatsRequest.FromString, + response_serializer=backend__aio__pb2.AioControllerStatsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'opi_api.storage.v1.AioControllerService', rpc_method_handlers) @@ -133,7 +133,7 @@ class AioControllerService(object): """ @staticmethod - def AioControllerCreate(request, + def CreateAioController(request, target, options=(), channel_credentials=None, @@ -143,14 +143,14 @@ def AioControllerCreate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerCreate', - backend__aio__pb2.AioControllerCreateRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/CreateAioController', + backend__aio__pb2.CreateAioControllerRequest.SerializeToString, backend__aio__pb2.AioController.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AioControllerDelete(request, + def DeleteAioController(request, target, options=(), channel_credentials=None, @@ -160,14 +160,14 @@ def AioControllerDelete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerDelete', - backend__aio__pb2.AioControllerDeleteRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/DeleteAioController', + backend__aio__pb2.DeleteAioControllerRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AioControllerGet(request, + def UpdateAioController(request, target, options=(), channel_credentials=None, @@ -177,14 +177,14 @@ def AioControllerGet(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerGet', - backend__aio__pb2.AioControllerGetRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/UpdateAioController', + backend__aio__pb2.UpdateAioControllerRequest.SerializeToString, backend__aio__pb2.AioController.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AioControllerGetList(request, + def ListAioController(request, target, options=(), channel_credentials=None, @@ -194,14 +194,14 @@ def AioControllerGetList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerGetList', - backend__aio__pb2.AioControllerGetListRequest.SerializeToString, - backend__aio__pb2.AioControllerList.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/ListAioController', + backend__aio__pb2.ListAioControllerRequest.SerializeToString, + backend__aio__pb2.ListAioControllerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AioControllerGetStats(request, + def GetAioController(request, target, options=(), channel_credentials=None, @@ -211,14 +211,14 @@ def AioControllerGetStats(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerGetStats', - backend__aio__pb2.AioControllerGetStatsRequest.SerializeToString, - backend__aio__pb2.AioControllerStats.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/GetAioController', + backend__aio__pb2.GetAioControllerRequest.SerializeToString, + backend__aio__pb2.AioController.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def AioControllerUpdate(request, + def AioControllerStats(request, target, options=(), channel_credentials=None, @@ -228,8 +228,8 @@ def AioControllerUpdate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerUpdate', - backend__aio__pb2.AioControllerUpdateRequest.SerializeToString, - backend__aio__pb2.AioController.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.AioControllerService/AioControllerStats', + backend__aio__pb2.AioControllerStatsRequest.SerializeToString, + backend__aio__pb2.AioControllerStatsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/backend_null_pb2.py b/storage/v1alpha1/gen/python/backend_null_pb2.py index 5b0db5f5..c266dc9c 100644 --- a/storage/v1alpha1/gen/python/backend_null_pb2.py +++ b/storage/v1alpha1/gen/python/backend_null_pb2.py @@ -13,21 +13,22 @@ 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 import object_key_pb2 as object__key__pb2 import uuid_pb2 as uuid__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x62\x61\x63kend_null.proto\x12\x12opi_api.storage.v1\x1a\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\x1cgoogle/api/annotations.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\x16\x43reateNullDebugRequest\x12-\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\"F\n\x16\x44\x65leteNullDebugRequest\x12,\n\x06handle\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"G\n\x16UpdateNullDebugRequest\x12-\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\"=\n\x14ListNullDebugRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"`\n\x15ListNullDebugResponse\x12.\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32\x1d.opi_api.storage.v1.NullDebug\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"C\n\x13GetNullDebugRequest\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\xf4\x05\n\x10NullDebugService\x12\x7f\n\x0f\x43reateNullDebug\x12*.opi_api.storage.v1.CreateNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/subsystems:\tsubsystem\x12y\n\x0f\x44\x65leteNullDebug\x12*.opi_api.storage.v1.DeleteNullDebugRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/subsystems/{subsystem}\x12\x7f\n\x0fUpdateNullDebug\x12*.opi_api.storage.v1.UpdateNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/subsystems:\tsubsystem\x12|\n\rListNullDebug\x12(.opi_api.storage.v1.ListNullDebugRequest\x1a).opi_api.storage.v1.ListNullDebugResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/subsystems\x12z\n\x0cGetNullDebug\x12\'.opi_api.storage.v1.GetNullDebugRequest\x1a\x1d.opi_api.storage.v1.NullDebug\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/subsystems/{subsystem}\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') _NULLDEBUG = DESCRIPTOR.message_types_by_name['NullDebug'] -_NULLDEBUGCREATEREQUEST = DESCRIPTOR.message_types_by_name['NullDebugCreateRequest'] -_NULLDEBUGDELETEREQUEST = DESCRIPTOR.message_types_by_name['NullDebugDeleteRequest'] -_NULLDEBUGUPDATEREQUEST = DESCRIPTOR.message_types_by_name['NullDebugUpdateRequest'] -_NULLDEBUGLISTREQUEST = DESCRIPTOR.message_types_by_name['NullDebugListRequest'] -_NULLDEBUGLISTRESPONSE = DESCRIPTOR.message_types_by_name['NullDebugListResponse'] -_NULLDEBUGGETREQUEST = DESCRIPTOR.message_types_by_name['NullDebugGetRequest'] +_CREATENULLDEBUGREQUEST = DESCRIPTOR.message_types_by_name['CreateNullDebugRequest'] +_DELETENULLDEBUGREQUEST = DESCRIPTOR.message_types_by_name['DeleteNullDebugRequest'] +_UPDATENULLDEBUGREQUEST = DESCRIPTOR.message_types_by_name['UpdateNullDebugRequest'] +_LISTNULLDEBUGREQUEST = DESCRIPTOR.message_types_by_name['ListNullDebugRequest'] +_LISTNULLDEBUGRESPONSE = DESCRIPTOR.message_types_by_name['ListNullDebugResponse'] +_GETNULLDEBUGREQUEST = DESCRIPTOR.message_types_by_name['GetNullDebugRequest'] _NULLDEBUGSTATSREQUEST = DESCRIPTOR.message_types_by_name['NullDebugStatsRequest'] _NULLDEBUGSTATSRESPONSE = DESCRIPTOR.message_types_by_name['NullDebugStatsResponse'] NullDebug = _reflection.GeneratedProtocolMessageType('NullDebug', (_message.Message,), { @@ -37,47 +38,47 @@ }) _sym_db.RegisterMessage(NullDebug) -NullDebugCreateRequest = _reflection.GeneratedProtocolMessageType('NullDebugCreateRequest', (_message.Message,), { - 'DESCRIPTOR' : _NULLDEBUGCREATEREQUEST, +CreateNullDebugRequest = _reflection.GeneratedProtocolMessageType('CreateNullDebugRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATENULLDEBUGREQUEST, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugCreateRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNullDebugRequest) }) -_sym_db.RegisterMessage(NullDebugCreateRequest) +_sym_db.RegisterMessage(CreateNullDebugRequest) -NullDebugDeleteRequest = _reflection.GeneratedProtocolMessageType('NullDebugDeleteRequest', (_message.Message,), { - 'DESCRIPTOR' : _NULLDEBUGDELETEREQUEST, +DeleteNullDebugRequest = _reflection.GeneratedProtocolMessageType('DeleteNullDebugRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENULLDEBUGREQUEST, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugDeleteRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNullDebugRequest) }) -_sym_db.RegisterMessage(NullDebugDeleteRequest) +_sym_db.RegisterMessage(DeleteNullDebugRequest) -NullDebugUpdateRequest = _reflection.GeneratedProtocolMessageType('NullDebugUpdateRequest', (_message.Message,), { - 'DESCRIPTOR' : _NULLDEBUGUPDATEREQUEST, +UpdateNullDebugRequest = _reflection.GeneratedProtocolMessageType('UpdateNullDebugRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENULLDEBUGREQUEST, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugUpdateRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNullDebugRequest) }) -_sym_db.RegisterMessage(NullDebugUpdateRequest) +_sym_db.RegisterMessage(UpdateNullDebugRequest) -NullDebugListRequest = _reflection.GeneratedProtocolMessageType('NullDebugListRequest', (_message.Message,), { - 'DESCRIPTOR' : _NULLDEBUGLISTREQUEST, +ListNullDebugRequest = _reflection.GeneratedProtocolMessageType('ListNullDebugRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTNULLDEBUGREQUEST, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugListRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNullDebugRequest) }) -_sym_db.RegisterMessage(NullDebugListRequest) +_sym_db.RegisterMessage(ListNullDebugRequest) -NullDebugListResponse = _reflection.GeneratedProtocolMessageType('NullDebugListResponse', (_message.Message,), { - 'DESCRIPTOR' : _NULLDEBUGLISTRESPONSE, +ListNullDebugResponse = _reflection.GeneratedProtocolMessageType('ListNullDebugResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTNULLDEBUGRESPONSE, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugListResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNullDebugResponse) }) -_sym_db.RegisterMessage(NullDebugListResponse) +_sym_db.RegisterMessage(ListNullDebugResponse) -NullDebugGetRequest = _reflection.GeneratedProtocolMessageType('NullDebugGetRequest', (_message.Message,), { - 'DESCRIPTOR' : _NULLDEBUGGETREQUEST, +GetNullDebugRequest = _reflection.GeneratedProtocolMessageType('GetNullDebugRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNULLDEBUGREQUEST, '__module__' : 'backend_null_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NullDebugGetRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetNullDebugRequest) }) -_sym_db.RegisterMessage(NullDebugGetRequest) +_sym_db.RegisterMessage(GetNullDebugRequest) NullDebugStatsRequest = _reflection.GeneratedProtocolMessageType('NullDebugStatsRequest', (_message.Message,), { 'DESCRIPTOR' : _NULLDEBUGSTATSREQUEST, @@ -98,24 +99,34 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\020BackendNullProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' - _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 + _NULLDEBUGSERVICE.methods_by_name['CreateNullDebug']._options = None + _NULLDEBUGSERVICE.methods_by_name['CreateNullDebug']._serialized_options = b'\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsystem' + _NULLDEBUGSERVICE.methods_by_name['DeleteNullDebug']._options = None + _NULLDEBUGSERVICE.methods_by_name['DeleteNullDebug']._serialized_options = b'\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}' + _NULLDEBUGSERVICE.methods_by_name['UpdateNullDebug']._options = None + _NULLDEBUGSERVICE.methods_by_name['UpdateNullDebug']._serialized_options = b'\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem' + _NULLDEBUGSERVICE.methods_by_name['ListNullDebug']._options = None + _NULLDEBUGSERVICE.methods_by_name['ListNullDebug']._serialized_options = b'\202\323\344\223\002\020\022\016/v1/subsystems' + _NULLDEBUGSERVICE.methods_by_name['GetNullDebug']._options = None + _NULLDEBUGSERVICE.methods_by_name['GetNullDebug']._serialized_options = b'\202\323\344\223\002\034\022\032/v1/subsystems/{subsystem}' + _NULLDEBUG._serialized_start=132 + _NULLDEBUG._serialized_end=270 + _CREATENULLDEBUGREQUEST._serialized_start=272 + _CREATENULLDEBUGREQUEST._serialized_end=343 + _DELETENULLDEBUGREQUEST._serialized_start=345 + _DELETENULLDEBUGREQUEST._serialized_end=415 + _UPDATENULLDEBUGREQUEST._serialized_start=417 + _UPDATENULLDEBUGREQUEST._serialized_end=488 + _LISTNULLDEBUGREQUEST._serialized_start=490 + _LISTNULLDEBUGREQUEST._serialized_end=551 + _LISTNULLDEBUGRESPONSE._serialized_start=553 + _LISTNULLDEBUGRESPONSE._serialized_end=649 + _GETNULLDEBUGREQUEST._serialized_start=651 + _GETNULLDEBUGREQUEST._serialized_end=718 + _NULLDEBUGSTATSREQUEST._serialized_start=720 + _NULLDEBUGSTATSREQUEST._serialized_end=789 + _NULLDEBUGSTATSRESPONSE._serialized_start=791 + _NULLDEBUGSTATSRESPONSE._serialized_end=876 + _NULLDEBUGSERVICE._serialized_start=879 + _NULLDEBUGSERVICE._serialized_end=1635 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py b/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py index 72357790..fbaec114 100644 --- a/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/backend_null_pb2_grpc.py @@ -16,29 +16,29 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.NullDebugCreate = channel.unary_unary( - '/opi_api.storage.v1.NullDebugService/NullDebugCreate', - request_serializer=backend__null__pb2.NullDebugCreateRequest.SerializeToString, + self.CreateNullDebug = channel.unary_unary( + '/opi_api.storage.v1.NullDebugService/CreateNullDebug', + request_serializer=backend__null__pb2.CreateNullDebugRequest.SerializeToString, response_deserializer=backend__null__pb2.NullDebug.FromString, ) - self.NullDebugDelete = channel.unary_unary( - '/opi_api.storage.v1.NullDebugService/NullDebugDelete', - request_serializer=backend__null__pb2.NullDebugDeleteRequest.SerializeToString, + self.DeleteNullDebug = channel.unary_unary( + '/opi_api.storage.v1.NullDebugService/DeleteNullDebug', + request_serializer=backend__null__pb2.DeleteNullDebugRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) - self.NullDebugUpdate = channel.unary_unary( - '/opi_api.storage.v1.NullDebugService/NullDebugUpdate', - request_serializer=backend__null__pb2.NullDebugUpdateRequest.SerializeToString, + self.UpdateNullDebug = channel.unary_unary( + '/opi_api.storage.v1.NullDebugService/UpdateNullDebug', + request_serializer=backend__null__pb2.UpdateNullDebugRequest.SerializeToString, response_deserializer=backend__null__pb2.NullDebug.FromString, ) - self.NullDebugList = channel.unary_unary( - '/opi_api.storage.v1.NullDebugService/NullDebugList', - request_serializer=backend__null__pb2.NullDebugListRequest.SerializeToString, - response_deserializer=backend__null__pb2.NullDebugListResponse.FromString, + self.ListNullDebug = channel.unary_unary( + '/opi_api.storage.v1.NullDebugService/ListNullDebug', + request_serializer=backend__null__pb2.ListNullDebugRequest.SerializeToString, + response_deserializer=backend__null__pb2.ListNullDebugResponse.FromString, ) - self.NullDebugGet = channel.unary_unary( - '/opi_api.storage.v1.NullDebugService/NullDebugGet', - request_serializer=backend__null__pb2.NullDebugGetRequest.SerializeToString, + self.GetNullDebug = channel.unary_unary( + '/opi_api.storage.v1.NullDebugService/GetNullDebug', + request_serializer=backend__null__pb2.GetNullDebugRequest.SerializeToString, response_deserializer=backend__null__pb2.NullDebug.FromString, ) self.NullDebugStats = channel.unary_unary( @@ -52,31 +52,31 @@ class NullDebugServiceServicer(object): """Back End (network-facing) APIs. This is debug interface for null block devices. """ - def NullDebugCreate(self, request, context): + def CreateNullDebug(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 NullDebugDelete(self, request, context): + def DeleteNullDebug(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 NullDebugUpdate(self, request, context): + def UpdateNullDebug(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 NullDebugList(self, request, context): + def ListNullDebug(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 NullDebugGet(self, request, context): + def GetNullDebug(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -91,29 +91,29 @@ def NullDebugStats(self, request, context): def add_NullDebugServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'NullDebugCreate': grpc.unary_unary_rpc_method_handler( - servicer.NullDebugCreate, - request_deserializer=backend__null__pb2.NullDebugCreateRequest.FromString, + 'CreateNullDebug': grpc.unary_unary_rpc_method_handler( + servicer.CreateNullDebug, + request_deserializer=backend__null__pb2.CreateNullDebugRequest.FromString, response_serializer=backend__null__pb2.NullDebug.SerializeToString, ), - 'NullDebugDelete': grpc.unary_unary_rpc_method_handler( - servicer.NullDebugDelete, - request_deserializer=backend__null__pb2.NullDebugDeleteRequest.FromString, + 'DeleteNullDebug': grpc.unary_unary_rpc_method_handler( + servicer.DeleteNullDebug, + request_deserializer=backend__null__pb2.DeleteNullDebugRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), - 'NullDebugUpdate': grpc.unary_unary_rpc_method_handler( - servicer.NullDebugUpdate, - request_deserializer=backend__null__pb2.NullDebugUpdateRequest.FromString, + 'UpdateNullDebug': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNullDebug, + request_deserializer=backend__null__pb2.UpdateNullDebugRequest.FromString, response_serializer=backend__null__pb2.NullDebug.SerializeToString, ), - 'NullDebugList': grpc.unary_unary_rpc_method_handler( - servicer.NullDebugList, - request_deserializer=backend__null__pb2.NullDebugListRequest.FromString, - response_serializer=backend__null__pb2.NullDebugListResponse.SerializeToString, + 'ListNullDebug': grpc.unary_unary_rpc_method_handler( + servicer.ListNullDebug, + request_deserializer=backend__null__pb2.ListNullDebugRequest.FromString, + response_serializer=backend__null__pb2.ListNullDebugResponse.SerializeToString, ), - 'NullDebugGet': grpc.unary_unary_rpc_method_handler( - servicer.NullDebugGet, - request_deserializer=backend__null__pb2.NullDebugGetRequest.FromString, + 'GetNullDebug': grpc.unary_unary_rpc_method_handler( + servicer.GetNullDebug, + request_deserializer=backend__null__pb2.GetNullDebugRequest.FromString, response_serializer=backend__null__pb2.NullDebug.SerializeToString, ), 'NullDebugStats': grpc.unary_unary_rpc_method_handler( @@ -133,7 +133,7 @@ class NullDebugService(object): """ @staticmethod - def NullDebugCreate(request, + def CreateNullDebug(request, target, options=(), channel_credentials=None, @@ -143,14 +143,14 @@ def NullDebugCreate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/NullDebugCreate', - backend__null__pb2.NullDebugCreateRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/CreateNullDebug', + backend__null__pb2.CreateNullDebugRequest.SerializeToString, backend__null__pb2.NullDebug.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NullDebugDelete(request, + def DeleteNullDebug(request, target, options=(), channel_credentials=None, @@ -160,14 +160,14 @@ def NullDebugDelete(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/NullDebugDelete', - backend__null__pb2.NullDebugDeleteRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/DeleteNullDebug', + backend__null__pb2.DeleteNullDebugRequest.SerializeToString, google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NullDebugUpdate(request, + def UpdateNullDebug(request, target, options=(), channel_credentials=None, @@ -177,14 +177,14 @@ def NullDebugUpdate(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/NullDebugUpdate', - backend__null__pb2.NullDebugUpdateRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/UpdateNullDebug', + backend__null__pb2.UpdateNullDebugRequest.SerializeToString, backend__null__pb2.NullDebug.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NullDebugList(request, + def ListNullDebug(request, target, options=(), channel_credentials=None, @@ -194,14 +194,14 @@ def NullDebugList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/NullDebugList', - backend__null__pb2.NullDebugListRequest.SerializeToString, - backend__null__pb2.NullDebugListResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/ListNullDebug', + backend__null__pb2.ListNullDebugRequest.SerializeToString, + backend__null__pb2.ListNullDebugResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NullDebugGet(request, + def GetNullDebug(request, target, options=(), channel_credentials=None, @@ -211,8 +211,8 @@ def NullDebugGet(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/NullDebugGet', - backend__null__pb2.NullDebugGetRequest.SerializeToString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NullDebugService/GetNullDebug', + backend__null__pb2.GetNullDebugRequest.SerializeToString, backend__null__pb2.NullDebug.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py index 2bff3691..02668ffa 100644 --- a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py +++ b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py @@ -13,9 +13,12 @@ _sym_db = _symbol_database.Default() +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 +import object_key_pb2 as object__key__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kend_nvme_tcp.proto\x12\x12opi_api.storage.v1\"\xd3\x02\n\x14NVMfRemoteController\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x35\n\x06trtype\x18\x02 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportType\x12\x35\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamily\x12\x0e\n\x06traddr\x18\x04 \x01(\t\x12\x0f\n\x07trsvcid\x18\x05 \x01(\x03\x12\x0e\n\x06subnqn\x18\x06 \x01(\t\x12\r\n\x05hdgst\x18\x07 \x01(\x08\x12\r\n\x05\x64\x64gst\x18\x08 \x01(\x08\x12\x34\n\tmultipath\x18\t \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipath\x12\x17\n\x0fio_queues_count\x18\n \x01(\x03\x12\x12\n\nqueue_size\x18\x0b \x01(\x03\x12\x0f\n\x07hostnqn\x18\x0c \x01(\t\"\\\n\"NVMfRemoteControllerConnectRequest\x12\x36\n\x04\x63trl\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\"%\n#NVMfRemoteControllerConnectResponse\"3\n%NVMfRemoteControllerDisconnectRequest\x12\n\n\x02id\x18\x01 \x01(\x03\"(\n&NVMfRemoteControllerDisconnectResponse\".\n NVMfRemoteControllerResetRequest\x12\n\n\x02id\x18\x01 \x01(\x03\"#\n!NVMfRemoteControllerResetResponse\"-\n\x1fNVMfRemoteControllerListRequest\x12\n\n\x02id\x18\x01 \x01(\x03\"Z\n NVMfRemoteControllerListResponse\x12\x36\n\x04\x63trl\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\",\n\x1eNVMfRemoteControllerGetRequest\x12\n\n\x02id\x18\x01 \x01(\x03\"Y\n\x1fNVMfRemoteControllerGetResponse\x12\x36\n\x04\x63trl\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\".\n NVMfRemoteControllerStatsRequest\x12\n\n\x02id\x18\x01 \x01(\x03\">\n!NVMfRemoteControllerStatsResponse\x12\n\n\x02id\x18\x01 \x01(\x03\x12\r\n\x05stats\x18\x02 \x01(\t*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVMF_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVMF_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVMF_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVMF_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVMF_ADRFAM_INTRA_HOST\x10\x05*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\xf7\x06\n\x1bNVMfRemoteControllerService\x12\x90\x01\n\x1bNVMfRemoteControllerConnect\x12\x36.opi_api.storage.v1.NVMfRemoteControllerConnectRequest\x1a\x37.opi_api.storage.v1.NVMfRemoteControllerConnectResponse\"\x00\x12\x99\x01\n\x1eNVMfRemoteControllerDisconnect\x12\x39.opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest\x1a:.opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse\"\x00\x12\x8a\x01\n\x19NVMfRemoteControllerReset\x12\x34.opi_api.storage.v1.NVMfRemoteControllerResetRequest\x1a\x35.opi_api.storage.v1.NVMfRemoteControllerResetResponse\"\x00\x12\x87\x01\n\x18NVMfRemoteControllerList\x12\x33.opi_api.storage.v1.NVMfRemoteControllerListRequest\x1a\x34.opi_api.storage.v1.NVMfRemoteControllerListResponse\"\x00\x12\x84\x01\n\x17NVMfRemoteControllerGet\x12\x32.opi_api.storage.v1.NVMfRemoteControllerGetRequest\x1a\x33.opi_api.storage.v1.NVMfRemoteControllerGetResponse\"\x00\x12\x8a\x01\n\x19NVMfRemoteControllerStats\x12\x34.opi_api.storage.v1.NVMfRemoteControllerStatsRequest\x1a\x35.opi_api.storage.v1.NVMfRemoteControllerStatsResponse\"\x00\x42\x62\n\x12opi_api.storage.v1B\x13\x42\x61\x63kendNvmeTcpProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kend_nvme_tcp.proto\x12\x12opi_api.storage.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x10object_key.proto\"\xf1\x02\n\x14NVMfRemoteController\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\x12\x35\n\x06trtype\x18\x02 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportType\x12\x35\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamily\x12\x0e\n\x06traddr\x18\x04 \x01(\t\x12\x0f\n\x07trsvcid\x18\x05 \x01(\x03\x12\x0e\n\x06subnqn\x18\x06 \x01(\t\x12\r\n\x05hdgst\x18\x07 \x01(\x08\x12\r\n\x05\x64\x64gst\x18\x08 \x01(\x08\x12\x34\n\tmultipath\x18\t \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipath\x12\x17\n\x0fio_queues_count\x18\n \x01(\x03\x12\x12\n\nqueue_size\x18\x0b \x01(\x03\x12\x0f\n\x07hostnqn\x18\x0c \x01(\t\"[\n!CreateNVMfRemoteControllerRequest\x12\x36\n\x04\x63trl\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\"M\n!DeleteNVMfRemoteControllerRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"[\n!UpdateNVMfRemoteControllerRequest\x12\x36\n\x04\x63trl\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\"H\n\x1fListNVMfRemoteControllerRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"t\n ListNVMfRemoteControllerResponse\x12\x37\n\x05\x63trls\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NVMfRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x1eGetNVMfRemoteControllerRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"L\n NVMfRemoteControllerResetRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"L\n NVMfRemoteControllerStatsRequest\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.opi_api.common.v1.ObjectKey\"2\n!NVMfRemoteControllerStatsResponse\x12\r\n\x05stats\x18\x01 \x01(\t*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVMF_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVMF_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVMF_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVMF_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVMF_ADRFAM_INTRA_HOST\x10\x05*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\xad\x08\n\x1bNVMfRemoteControllerService\x12\xa0\x01\n\x1a\x43reateNVMfRemoteController\x12\x35.opi_api.storage.v1.CreateNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"!\x82\xd3\xe4\x93\x02\x1b\"\x0e/v1/subsystems:\tsubsystem\x12\x8f\x01\n\x1a\x44\x65leteNVMfRemoteController\x12\x35.opi_api.storage.v1.DeleteNVMfRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/subsystems/{subsystem}\x12\xa0\x01\n\x1aUpdateNVMfRemoteController\x12\x35.opi_api.storage.v1.UpdateNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"!\x82\xd3\xe4\x93\x02\x1b\x32\x0e/v1/subsystems:\tsubsystem\x12\x9d\x01\n\x18ListNVMfRemoteController\x12\x33.opi_api.storage.v1.ListNVMfRemoteControllerRequest\x1a\x34.opi_api.storage.v1.ListNVMfRemoteControllerResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/subsystems\x12\x9b\x01\n\x17GetNVMfRemoteController\x12\x32.opi_api.storage.v1.GetNVMfRemoteControllerRequest\x1a(.opi_api.storage.v1.NVMfRemoteController\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/subsystems/{subsystem}\x12k\n\x19NVMfRemoteControllerReset\x12\x34.opi_api.storage.v1.NVMfRemoteControllerResetRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x8a\x01\n\x19NVMfRemoteControllerStats\x12\x34.opi_api.storage.v1.NVMfRemoteControllerStatsRequest\x1a\x35.opi_api.storage.v1.NVMfRemoteControllerStatsResponse\"\x00\x42\x62\n\x12opi_api.storage.v1B\x13\x42\x61\x63kendNvmeTcpProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3') _NVMETRANSPORTTYPE = DESCRIPTOR.enum_types_by_name['NvmeTransportType'] NvmeTransportType = enum_type_wrapper.EnumTypeWrapper(_NVMETRANSPORTTYPE) @@ -42,16 +45,13 @@ _NVMFREMOTECONTROLLER = DESCRIPTOR.message_types_by_name['NVMfRemoteController'] -_NVMFREMOTECONTROLLERCONNECTREQUEST = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerConnectRequest'] -_NVMFREMOTECONTROLLERCONNECTRESPONSE = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerConnectResponse'] -_NVMFREMOTECONTROLLERDISCONNECTREQUEST = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerDisconnectRequest'] -_NVMFREMOTECONTROLLERDISCONNECTRESPONSE = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerDisconnectResponse'] +_CREATENVMFREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['CreateNVMfRemoteControllerRequest'] +_DELETENVMFREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['DeleteNVMfRemoteControllerRequest'] +_UPDATENVMFREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['UpdateNVMfRemoteControllerRequest'] +_LISTNVMFREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['ListNVMfRemoteControllerRequest'] +_LISTNVMFREMOTECONTROLLERRESPONSE = DESCRIPTOR.message_types_by_name['ListNVMfRemoteControllerResponse'] +_GETNVMFREMOTECONTROLLERREQUEST = DESCRIPTOR.message_types_by_name['GetNVMfRemoteControllerRequest'] _NVMFREMOTECONTROLLERRESETREQUEST = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerResetRequest'] -_NVMFREMOTECONTROLLERRESETRESPONSE = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerResetResponse'] -_NVMFREMOTECONTROLLERLISTREQUEST = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerListRequest'] -_NVMFREMOTECONTROLLERLISTRESPONSE = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerListResponse'] -_NVMFREMOTECONTROLLERGETREQUEST = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerGetRequest'] -_NVMFREMOTECONTROLLERGETRESPONSE = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerGetResponse'] _NVMFREMOTECONTROLLERSTATSREQUEST = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerStatsRequest'] _NVMFREMOTECONTROLLERSTATSRESPONSE = DESCRIPTOR.message_types_by_name['NVMfRemoteControllerStatsResponse'] NVMfRemoteController = _reflection.GeneratedProtocolMessageType('NVMfRemoteController', (_message.Message,), { @@ -61,75 +61,54 @@ }) _sym_db.RegisterMessage(NVMfRemoteController) -NVMfRemoteControllerConnectRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerConnectRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERCONNECTREQUEST, +CreateNVMfRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('CreateNVMfRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _CREATENVMFREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerConnectRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.CreateNVMfRemoteControllerRequest) }) -_sym_db.RegisterMessage(NVMfRemoteControllerConnectRequest) +_sym_db.RegisterMessage(CreateNVMfRemoteControllerRequest) -NVMfRemoteControllerConnectResponse = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerConnectResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERCONNECTRESPONSE, +DeleteNVMfRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('DeleteNVMfRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETENVMFREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerConnectResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.DeleteNVMfRemoteControllerRequest) }) -_sym_db.RegisterMessage(NVMfRemoteControllerConnectResponse) +_sym_db.RegisterMessage(DeleteNVMfRemoteControllerRequest) -NVMfRemoteControllerDisconnectRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerDisconnectRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERDISCONNECTREQUEST, +UpdateNVMfRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('UpdateNVMfRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _UPDATENVMFREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.UpdateNVMfRemoteControllerRequest) }) -_sym_db.RegisterMessage(NVMfRemoteControllerDisconnectRequest) +_sym_db.RegisterMessage(UpdateNVMfRemoteControllerRequest) -NVMfRemoteControllerDisconnectResponse = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerDisconnectResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERDISCONNECTRESPONSE, +ListNVMfRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('ListNVMfRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _LISTNVMFREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerDisconnectResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNVMfRemoteControllerRequest) }) -_sym_db.RegisterMessage(NVMfRemoteControllerDisconnectResponse) +_sym_db.RegisterMessage(ListNVMfRemoteControllerRequest) -NVMfRemoteControllerResetRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerResetRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERRESETREQUEST, +ListNVMfRemoteControllerResponse = _reflection.GeneratedProtocolMessageType('ListNVMfRemoteControllerResponse', (_message.Message,), { + 'DESCRIPTOR' : _LISTNVMFREMOTECONTROLLERRESPONSE, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetRequest) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.ListNVMfRemoteControllerResponse) }) -_sym_db.RegisterMessage(NVMfRemoteControllerResetRequest) +_sym_db.RegisterMessage(ListNVMfRemoteControllerResponse) -NVMfRemoteControllerResetResponse = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerResetResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERRESETRESPONSE, +GetNVMfRemoteControllerRequest = _reflection.GeneratedProtocolMessageType('GetNVMfRemoteControllerRequest', (_message.Message,), { + 'DESCRIPTOR' : _GETNVMFREMOTECONTROLLERREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.GetNVMfRemoteControllerRequest) }) -_sym_db.RegisterMessage(NVMfRemoteControllerResetResponse) +_sym_db.RegisterMessage(GetNVMfRemoteControllerRequest) -NVMfRemoteControllerListRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerListRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERLISTREQUEST, - '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerListRequest) - }) -_sym_db.RegisterMessage(NVMfRemoteControllerListRequest) - -NVMfRemoteControllerListResponse = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerListResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERLISTRESPONSE, - '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerListResponse) - }) -_sym_db.RegisterMessage(NVMfRemoteControllerListResponse) - -NVMfRemoteControllerGetRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerGetRequest', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERGETREQUEST, - '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerGetRequest) - }) -_sym_db.RegisterMessage(NVMfRemoteControllerGetRequest) - -NVMfRemoteControllerGetResponse = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerGetResponse', (_message.Message,), { - 'DESCRIPTOR' : _NVMFREMOTECONTROLLERGETRESPONSE, +NVMfRemoteControllerResetRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerResetRequest', (_message.Message,), { + 'DESCRIPTOR' : _NVMFREMOTECONTROLLERRESETREQUEST, '__module__' : 'backend_nvme_tcp_pb2' - # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerGetResponse) + # @@protoc_insertion_point(class_scope:opi_api.storage.v1.NVMfRemoteControllerResetRequest) }) -_sym_db.RegisterMessage(NVMfRemoteControllerGetResponse) +_sym_db.RegisterMessage(NVMfRemoteControllerResetRequest) NVMfRemoteControllerStatsRequest = _reflection.GeneratedProtocolMessageType('NVMfRemoteControllerStatsRequest', (_message.Message,), { 'DESCRIPTOR' : _NVMFREMOTECONTROLLERSTATSREQUEST, @@ -150,38 +129,42 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022opi_api.storage.v1B\023BackendNvmeTcpProtoP\001Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/go' - _NVMETRANSPORTTYPE._serialized_start=1090 - _NVMETRANSPORTTYPE._serialized_end=1270 - _NVMEADDRESSFAMILY._serialized_start=1273 - _NVMEADDRESSFAMILY._serialized_end=1441 - _NVMEMULTIPATH._serialized_start=1444 - _NVMEMULTIPATH._serialized_end=1578 - _NVMFREMOTECONTROLLER._serialized_start=47 - _NVMFREMOTECONTROLLER._serialized_end=386 - _NVMFREMOTECONTROLLERCONNECTREQUEST._serialized_start=388 - _NVMFREMOTECONTROLLERCONNECTREQUEST._serialized_end=480 - _NVMFREMOTECONTROLLERCONNECTRESPONSE._serialized_start=482 - _NVMFREMOTECONTROLLERCONNECTRESPONSE._serialized_end=519 - _NVMFREMOTECONTROLLERDISCONNECTREQUEST._serialized_start=521 - _NVMFREMOTECONTROLLERDISCONNECTREQUEST._serialized_end=572 - _NVMFREMOTECONTROLLERDISCONNECTRESPONSE._serialized_start=574 - _NVMFREMOTECONTROLLERDISCONNECTRESPONSE._serialized_end=614 - _NVMFREMOTECONTROLLERRESETREQUEST._serialized_start=616 - _NVMFREMOTECONTROLLERRESETREQUEST._serialized_end=662 - _NVMFREMOTECONTROLLERRESETRESPONSE._serialized_start=664 - _NVMFREMOTECONTROLLERRESETRESPONSE._serialized_end=699 - _NVMFREMOTECONTROLLERLISTREQUEST._serialized_start=701 - _NVMFREMOTECONTROLLERLISTREQUEST._serialized_end=746 - _NVMFREMOTECONTROLLERLISTRESPONSE._serialized_start=748 - _NVMFREMOTECONTROLLERLISTRESPONSE._serialized_end=838 - _NVMFREMOTECONTROLLERGETREQUEST._serialized_start=840 - _NVMFREMOTECONTROLLERGETREQUEST._serialized_end=884 - _NVMFREMOTECONTROLLERGETRESPONSE._serialized_start=886 - _NVMFREMOTECONTROLLERGETRESPONSE._serialized_end=975 - _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_start=977 - _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_end=1023 - _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_start=1025 - _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_end=1087 - _NVMFREMOTECONTROLLERSERVICE._serialized_start=1581 - _NVMFREMOTECONTROLLERSERVICE._serialized_end=2468 + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['CreateNVMfRemoteController']._options = None + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['CreateNVMfRemoteController']._serialized_options = b'\202\323\344\223\002\033\"\016/v1/subsystems:\tsubsystem' + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['DeleteNVMfRemoteController']._options = None + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['DeleteNVMfRemoteController']._serialized_options = b'\202\323\344\223\002\034*\032/v1/subsystems/{subsystem}' + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['UpdateNVMfRemoteController']._options = None + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['UpdateNVMfRemoteController']._serialized_options = b'\202\323\344\223\002\0332\016/v1/subsystems:\tsubsystem' + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['ListNVMfRemoteController']._options = None + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['ListNVMfRemoteController']._serialized_options = b'\202\323\344\223\002\020\022\016/v1/subsystems' + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['GetNVMfRemoteController']._options = None + _NVMFREMOTECONTROLLERSERVICE.methods_by_name['GetNVMfRemoteController']._serialized_options = b'\202\323\344\223\002\034\022\032/v1/subsystems/{subsystem}' + _NVMETRANSPORTTYPE._serialized_start=1237 + _NVMETRANSPORTTYPE._serialized_end=1417 + _NVMEADDRESSFAMILY._serialized_start=1420 + _NVMEADDRESSFAMILY._serialized_end=1588 + _NVMEMULTIPATH._serialized_start=1591 + _NVMEMULTIPATH._serialized_end=1725 + _NVMFREMOTECONTROLLER._serialized_start=124 + _NVMFREMOTECONTROLLER._serialized_end=493 + _CREATENVMFREMOTECONTROLLERREQUEST._serialized_start=495 + _CREATENVMFREMOTECONTROLLERREQUEST._serialized_end=586 + _DELETENVMFREMOTECONTROLLERREQUEST._serialized_start=588 + _DELETENVMFREMOTECONTROLLERREQUEST._serialized_end=665 + _UPDATENVMFREMOTECONTROLLERREQUEST._serialized_start=667 + _UPDATENVMFREMOTECONTROLLERREQUEST._serialized_end=758 + _LISTNVMFREMOTECONTROLLERREQUEST._serialized_start=760 + _LISTNVMFREMOTECONTROLLERREQUEST._serialized_end=832 + _LISTNVMFREMOTECONTROLLERRESPONSE._serialized_start=834 + _LISTNVMFREMOTECONTROLLERRESPONSE._serialized_end=950 + _GETNVMFREMOTECONTROLLERREQUEST._serialized_start=952 + _GETNVMFREMOTECONTROLLERREQUEST._serialized_end=1026 + _NVMFREMOTECONTROLLERRESETREQUEST._serialized_start=1028 + _NVMFREMOTECONTROLLERRESETREQUEST._serialized_end=1104 + _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_start=1106 + _NVMFREMOTECONTROLLERSTATSREQUEST._serialized_end=1182 + _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_start=1184 + _NVMFREMOTECONTROLLERSTATSRESPONSE._serialized_end=1234 + _NVMFREMOTECONTROLLERSERVICE._serialized_start=1728 + _NVMFREMOTECONTROLLERSERVICE._serialized_end=2797 # @@protoc_insertion_point(module_scope) diff --git a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py index b10f6408..30b69b75 100644 --- a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py +++ b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2_grpc.py @@ -3,6 +3,7 @@ import grpc import backend_nvme_tcp_pb2 as backend__nvme__tcp__pb2 +from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 class NVMfRemoteControllerServiceStub(object): @@ -15,30 +16,35 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ - self.NVMfRemoteControllerConnect = channel.unary_unary( - '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerConnect', - request_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerConnectRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerConnectResponse.FromString, + self.CreateNVMfRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NVMfRemoteControllerService/CreateNVMfRemoteController', + request_serializer=backend__nvme__tcp__pb2.CreateNVMfRemoteControllerRequest.SerializeToString, + response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteController.FromString, ) - self.NVMfRemoteControllerDisconnect = channel.unary_unary( - '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerDisconnect', - request_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerDisconnectRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerDisconnectResponse.FromString, + self.DeleteNVMfRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NVMfRemoteControllerService/DeleteNVMfRemoteController', + request_serializer=backend__nvme__tcp__pb2.DeleteNVMfRemoteControllerRequest.SerializeToString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, + ) + self.UpdateNVMfRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NVMfRemoteControllerService/UpdateNVMfRemoteController', + request_serializer=backend__nvme__tcp__pb2.UpdateNVMfRemoteControllerRequest.SerializeToString, + response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteController.FromString, + ) + self.ListNVMfRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NVMfRemoteControllerService/ListNVMfRemoteController', + request_serializer=backend__nvme__tcp__pb2.ListNVMfRemoteControllerRequest.SerializeToString, + response_deserializer=backend__nvme__tcp__pb2.ListNVMfRemoteControllerResponse.FromString, + ) + self.GetNVMfRemoteController = channel.unary_unary( + '/opi_api.storage.v1.NVMfRemoteControllerService/GetNVMfRemoteController', + request_serializer=backend__nvme__tcp__pb2.GetNVMfRemoteControllerRequest.SerializeToString, + response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteController.FromString, ) self.NVMfRemoteControllerReset = channel.unary_unary( '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset', request_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerResetRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerResetResponse.FromString, - ) - self.NVMfRemoteControllerList = channel.unary_unary( - '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerList', - request_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerListRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerListResponse.FromString, - ) - self.NVMfRemoteControllerGet = channel.unary_unary( - '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerGet', - request_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerGetRequest.SerializeToString, - response_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerGetResponse.FromString, + response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.NVMfRemoteControllerStats = channel.unary_unary( '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerStats', @@ -51,31 +57,37 @@ class NVMfRemoteControllerServiceServicer(object): """Back End (network-facing) APIs. NVMe/TCP and NVMe/RoCEv2 protocols are covered by this service. """ - def NVMfRemoteControllerConnect(self, request, context): + def CreateNVMfRemoteController(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 NVMfRemoteControllerDisconnect(self, request, context): + def DeleteNVMfRemoteController(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 NVMfRemoteControllerReset(self, request, context): + def UpdateNVMfRemoteController(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 ListNVMfRemoteController(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 NVMfRemoteControllerList(self, request, context): + def GetNVMfRemoteController(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 NVMfRemoteControllerGet(self, request, context): + def NVMfRemoteControllerReset(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -90,30 +102,35 @@ def NVMfRemoteControllerStats(self, request, context): def add_NVMfRemoteControllerServiceServicer_to_server(servicer, server): rpc_method_handlers = { - 'NVMfRemoteControllerConnect': grpc.unary_unary_rpc_method_handler( - servicer.NVMfRemoteControllerConnect, - request_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerConnectRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerConnectResponse.SerializeToString, + 'CreateNVMfRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.CreateNVMfRemoteController, + request_deserializer=backend__nvme__tcp__pb2.CreateNVMfRemoteControllerRequest.FromString, + response_serializer=backend__nvme__tcp__pb2.NVMfRemoteController.SerializeToString, + ), + 'DeleteNVMfRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.DeleteNVMfRemoteController, + request_deserializer=backend__nvme__tcp__pb2.DeleteNVMfRemoteControllerRequest.FromString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, + ), + 'UpdateNVMfRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.UpdateNVMfRemoteController, + request_deserializer=backend__nvme__tcp__pb2.UpdateNVMfRemoteControllerRequest.FromString, + response_serializer=backend__nvme__tcp__pb2.NVMfRemoteController.SerializeToString, ), - 'NVMfRemoteControllerDisconnect': grpc.unary_unary_rpc_method_handler( - servicer.NVMfRemoteControllerDisconnect, - request_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerDisconnectRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerDisconnectResponse.SerializeToString, + 'ListNVMfRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.ListNVMfRemoteController, + request_deserializer=backend__nvme__tcp__pb2.ListNVMfRemoteControllerRequest.FromString, + response_serializer=backend__nvme__tcp__pb2.ListNVMfRemoteControllerResponse.SerializeToString, + ), + 'GetNVMfRemoteController': grpc.unary_unary_rpc_method_handler( + servicer.GetNVMfRemoteController, + request_deserializer=backend__nvme__tcp__pb2.GetNVMfRemoteControllerRequest.FromString, + response_serializer=backend__nvme__tcp__pb2.NVMfRemoteController.SerializeToString, ), 'NVMfRemoteControllerReset': grpc.unary_unary_rpc_method_handler( servicer.NVMfRemoteControllerReset, request_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerResetRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerResetResponse.SerializeToString, - ), - 'NVMfRemoteControllerList': grpc.unary_unary_rpc_method_handler( - servicer.NVMfRemoteControllerList, - request_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerListRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerListResponse.SerializeToString, - ), - 'NVMfRemoteControllerGet': grpc.unary_unary_rpc_method_handler( - servicer.NVMfRemoteControllerGet, - request_deserializer=backend__nvme__tcp__pb2.NVMfRemoteControllerGetRequest.FromString, - response_serializer=backend__nvme__tcp__pb2.NVMfRemoteControllerGetResponse.SerializeToString, + response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), 'NVMfRemoteControllerStats': grpc.unary_unary_rpc_method_handler( servicer.NVMfRemoteControllerStats, @@ -132,7 +149,7 @@ class NVMfRemoteControllerService(object): """ @staticmethod - def NVMfRemoteControllerConnect(request, + def CreateNVMfRemoteController(request, target, options=(), channel_credentials=None, @@ -142,14 +159,14 @@ def NVMfRemoteControllerConnect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerConnect', - backend__nvme__tcp__pb2.NVMfRemoteControllerConnectRequest.SerializeToString, - backend__nvme__tcp__pb2.NVMfRemoteControllerConnectResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/CreateNVMfRemoteController', + backend__nvme__tcp__pb2.CreateNVMfRemoteControllerRequest.SerializeToString, + backend__nvme__tcp__pb2.NVMfRemoteController.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NVMfRemoteControllerDisconnect(request, + def DeleteNVMfRemoteController(request, target, options=(), channel_credentials=None, @@ -159,14 +176,14 @@ def NVMfRemoteControllerDisconnect(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerDisconnect', - backend__nvme__tcp__pb2.NVMfRemoteControllerDisconnectRequest.SerializeToString, - backend__nvme__tcp__pb2.NVMfRemoteControllerDisconnectResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/DeleteNVMfRemoteController', + backend__nvme__tcp__pb2.DeleteNVMfRemoteControllerRequest.SerializeToString, + google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NVMfRemoteControllerReset(request, + def UpdateNVMfRemoteController(request, target, options=(), channel_credentials=None, @@ -176,14 +193,31 @@ def NVMfRemoteControllerReset(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset', - backend__nvme__tcp__pb2.NVMfRemoteControllerResetRequest.SerializeToString, - backend__nvme__tcp__pb2.NVMfRemoteControllerResetResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/UpdateNVMfRemoteController', + backend__nvme__tcp__pb2.UpdateNVMfRemoteControllerRequest.SerializeToString, + backend__nvme__tcp__pb2.NVMfRemoteController.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListNVMfRemoteController(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.NVMfRemoteControllerService/ListNVMfRemoteController', + backend__nvme__tcp__pb2.ListNVMfRemoteControllerRequest.SerializeToString, + backend__nvme__tcp__pb2.ListNVMfRemoteControllerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NVMfRemoteControllerList(request, + def GetNVMfRemoteController(request, target, options=(), channel_credentials=None, @@ -193,14 +227,14 @@ def NVMfRemoteControllerList(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerList', - backend__nvme__tcp__pb2.NVMfRemoteControllerListRequest.SerializeToString, - backend__nvme__tcp__pb2.NVMfRemoteControllerListResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/GetNVMfRemoteController', + backend__nvme__tcp__pb2.GetNVMfRemoteControllerRequest.SerializeToString, + backend__nvme__tcp__pb2.NVMfRemoteController.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def NVMfRemoteControllerGet(request, + def NVMfRemoteControllerReset(request, target, options=(), channel_credentials=None, @@ -210,9 +244,9 @@ def NVMfRemoteControllerGet(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerGet', - backend__nvme__tcp__pb2.NVMfRemoteControllerGetRequest.SerializeToString, - backend__nvme__tcp__pb2.NVMfRemoteControllerGetResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/opi_api.storage.v1.NVMfRemoteControllerService/NVMfRemoteControllerReset', + backend__nvme__tcp__pb2.NVMfRemoteControllerResetRequest.SerializeToString, + google_dot_protobuf_dot_empty__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata)