| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/apphub/v1/apphub_service.proto |
| 20 |
|
| 21 |
package apphubpb |
| 22 |
|
| 23 |
import ( |
| 24 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 25 |
context "context" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
) |
| 30 |
|
| 31 |
// This is a compile-time assertion to ensure that this generated file |
| 32 |
// is compatible with the grpc package it is being compiled against. |
| 33 |
// Requires gRPC-Go v1.32.0 or later. |
| 34 |
const _ = grpc.SupportPackageIsVersion7 |
| 35 |
|
| 36 |
const ( |
| 37 |
AppHub_LookupServiceProjectAttachment_FullMethodName = "/google.cloud.apphub.v1.AppHub/LookupServiceProjectAttachment" |
| 38 |
AppHub_ListServiceProjectAttachments_FullMethodName = "/google.cloud.apphub.v1.AppHub/ListServiceProjectAttachments" |
| 39 |
AppHub_CreateServiceProjectAttachment_FullMethodName = "/google.cloud.apphub.v1.AppHub/CreateServiceProjectAttachment" |
| 40 |
AppHub_GetServiceProjectAttachment_FullMethodName = "/google.cloud.apphub.v1.AppHub/GetServiceProjectAttachment" |
| 41 |
AppHub_DeleteServiceProjectAttachment_FullMethodName = "/google.cloud.apphub.v1.AppHub/DeleteServiceProjectAttachment" |
| 42 |
AppHub_DetachServiceProjectAttachment_FullMethodName = "/google.cloud.apphub.v1.AppHub/DetachServiceProjectAttachment" |
| 43 |
AppHub_ListDiscoveredServices_FullMethodName = "/google.cloud.apphub.v1.AppHub/ListDiscoveredServices" |
| 44 |
AppHub_GetDiscoveredService_FullMethodName = "/google.cloud.apphub.v1.AppHub/GetDiscoveredService" |
| 45 |
AppHub_LookupDiscoveredService_FullMethodName = "/google.cloud.apphub.v1.AppHub/LookupDiscoveredService" |
| 46 |
AppHub_ListServices_FullMethodName = "/google.cloud.apphub.v1.AppHub/ListServices" |
| 47 |
AppHub_CreateService_FullMethodName = "/google.cloud.apphub.v1.AppHub/CreateService" |
| 48 |
AppHub_GetService_FullMethodName = "/google.cloud.apphub.v1.AppHub/GetService" |
| 49 |
AppHub_UpdateService_FullMethodName = "/google.cloud.apphub.v1.AppHub/UpdateService" |
| 50 |
AppHub_DeleteService_FullMethodName = "/google.cloud.apphub.v1.AppHub/DeleteService" |
| 51 |
AppHub_ListDiscoveredWorkloads_FullMethodName = "/google.cloud.apphub.v1.AppHub/ListDiscoveredWorkloads" |
| 52 |
AppHub_GetDiscoveredWorkload_FullMethodName = "/google.cloud.apphub.v1.AppHub/GetDiscoveredWorkload" |
| 53 |
AppHub_LookupDiscoveredWorkload_FullMethodName = "/google.cloud.apphub.v1.AppHub/LookupDiscoveredWorkload" |
| 54 |
AppHub_ListWorkloads_FullMethodName = "/google.cloud.apphub.v1.AppHub/ListWorkloads" |
| 55 |
AppHub_CreateWorkload_FullMethodName = "/google.cloud.apphub.v1.AppHub/CreateWorkload" |
| 56 |
AppHub_GetWorkload_FullMethodName = "/google.cloud.apphub.v1.AppHub/GetWorkload" |
| 57 |
AppHub_UpdateWorkload_FullMethodName = "/google.cloud.apphub.v1.AppHub/UpdateWorkload" |
| 58 |
AppHub_DeleteWorkload_FullMethodName = "/google.cloud.apphub.v1.AppHub/DeleteWorkload" |
| 59 |
AppHub_ListApplications_FullMethodName = "/google.cloud.apphub.v1.AppHub/ListApplications" |
| 60 |
AppHub_CreateApplication_FullMethodName = "/google.cloud.apphub.v1.AppHub/CreateApplication" |
| 61 |
AppHub_GetApplication_FullMethodName = "/google.cloud.apphub.v1.AppHub/GetApplication" |
| 62 |
AppHub_UpdateApplication_FullMethodName = "/google.cloud.apphub.v1.AppHub/UpdateApplication" |
| 63 |
AppHub_DeleteApplication_FullMethodName = "/google.cloud.apphub.v1.AppHub/DeleteApplication" |
| 64 |
) |
| 65 |
|
| 66 |
// AppHubClient is the client API for AppHub service. |
| 67 |
// |
| 68 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 69 |
type AppHubClient interface { |
| 70 |
// Lists a service project attachment for a given service project. You can |
| 71 |
// call this API from any project to find if it is attached to a host project. |
| 72 |
LookupServiceProjectAttachment(ctx context.Context, in *LookupServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*LookupServiceProjectAttachmentResponse, error) |
| 73 |
// Lists service projects attached to the host project. |
| 74 |
ListServiceProjectAttachments(ctx context.Context, in *ListServiceProjectAttachmentsRequest, opts ...grpc.CallOption) (*ListServiceProjectAttachmentsResponse, error) |
| 75 |
// Attaches a service project to the host project. |
| 76 |
CreateServiceProjectAttachment(ctx context.Context, in *CreateServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 77 |
// Gets a service project attachment. |
| 78 |
GetServiceProjectAttachment(ctx context.Context, in *GetServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*ServiceProjectAttachment, error) |
| 79 |
// Deletes a service project attachment. |
| 80 |
DeleteServiceProjectAttachment(ctx context.Context, in *DeleteServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 81 |
// Detaches a service project from a host project. |
| 82 |
// You can call this API from any service project without needing access to |
| 83 |
// the host project that it is attached to. |
| 84 |
DetachServiceProjectAttachment(ctx context.Context, in *DetachServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*DetachServiceProjectAttachmentResponse, error) |
| 85 |
// Lists Discovered Services that can be added to an Application in a host |
| 86 |
// project and location. |
| 87 |
ListDiscoveredServices(ctx context.Context, in *ListDiscoveredServicesRequest, opts ...grpc.CallOption) (*ListDiscoveredServicesResponse, error) |
| 88 |
// Gets a Discovered Service in a host project and location. |
| 89 |
GetDiscoveredService(ctx context.Context, in *GetDiscoveredServiceRequest, opts ...grpc.CallOption) (*DiscoveredService, error) |
| 90 |
// Lists a Discovered Service in a host project and location, with a |
| 91 |
// given resource URI. |
| 92 |
LookupDiscoveredService(ctx context.Context, in *LookupDiscoveredServiceRequest, opts ...grpc.CallOption) (*LookupDiscoveredServiceResponse, error) |
| 93 |
// Lists Services in an Application. |
| 94 |
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) |
| 95 |
// Creates a Service in an Application. |
| 96 |
CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 97 |
// Gets a Service in an Application. |
| 98 |
GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) |
| 99 |
// Updates a Service in an Application. |
| 100 |
UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 101 |
// Deletes a Service from an Application. |
| 102 |
DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 103 |
// Lists Discovered Workloads that can be added to an Application in a host |
| 104 |
// project and location. |
| 105 |
ListDiscoveredWorkloads(ctx context.Context, in *ListDiscoveredWorkloadsRequest, opts ...grpc.CallOption) (*ListDiscoveredWorkloadsResponse, error) |
| 106 |
// Gets a Discovered Workload in a host project and location. |
| 107 |
GetDiscoveredWorkload(ctx context.Context, in *GetDiscoveredWorkloadRequest, opts ...grpc.CallOption) (*DiscoveredWorkload, error) |
| 108 |
// Lists a Discovered Workload in a host project and location, with a |
| 109 |
// given resource URI. |
| 110 |
LookupDiscoveredWorkload(ctx context.Context, in *LookupDiscoveredWorkloadRequest, opts ...grpc.CallOption) (*LookupDiscoveredWorkloadResponse, error) |
| 111 |
// Lists Workloads in an Application. |
| 112 |
ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error) |
| 113 |
// Creates a Workload in an Application. |
| 114 |
CreateWorkload(ctx context.Context, in *CreateWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 115 |
// Gets a Workload in an Application. |
| 116 |
GetWorkload(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error) |
| 117 |
// Updates a Workload in an Application. |
| 118 |
UpdateWorkload(ctx context.Context, in *UpdateWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 119 |
// Deletes a Workload from an Application. |
| 120 |
DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 121 |
// Lists Applications in a host project and location. |
| 122 |
ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) |
| 123 |
// Creates an Application in a host project and location. |
| 124 |
CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 125 |
// Gets an Application in a host project and location. |
| 126 |
GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) |
| 127 |
// Updates an Application in a host project and location. |
| 128 |
UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 129 |
// Deletes an Application in a host project and location. |
| 130 |
DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 131 |
} |
| 132 |
|
| 133 |
type appHubClient struct { |
| 134 |
cc grpc.ClientConnInterface |
| 135 |
} |
| 136 |
|
| 137 |
func NewAppHubClient(cc grpc.ClientConnInterface) AppHubClient { |
| 138 |
return &appHubClient{cc} |
| 139 |
} |
| 140 |
|
| 141 |
func (c *appHubClient) LookupServiceProjectAttachment(ctx context.Context, in *LookupServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*LookupServiceProjectAttachmentResponse, error) { |
| 142 |
out := new(LookupServiceProjectAttachmentResponse) |
| 143 |
err := c.cc.Invoke(ctx, AppHub_LookupServiceProjectAttachment_FullMethodName, in, out, opts...) |
| 144 |
if err != nil { |
| 145 |
return nil, err |
| 146 |
} |
| 147 |
return out, nil |
| 148 |
} |
| 149 |
|
| 150 |
func (c *appHubClient) ListServiceProjectAttachments(ctx context.Context, in *ListServiceProjectAttachmentsRequest, opts ...grpc.CallOption) (*ListServiceProjectAttachmentsResponse, error) { |
| 151 |
out := new(ListServiceProjectAttachmentsResponse) |
| 152 |
err := c.cc.Invoke(ctx, AppHub_ListServiceProjectAttachments_FullMethodName, in, out, opts...) |
| 153 |
if err != nil { |
| 154 |
return nil, err |
| 155 |
} |
| 156 |
return out, nil |
| 157 |
} |
| 158 |
|
| 159 |
func (c *appHubClient) CreateServiceProjectAttachment(ctx context.Context, in *CreateServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 160 |
out := new(longrunningpb.Operation) |
| 161 |
err := c.cc.Invoke(ctx, AppHub_CreateServiceProjectAttachment_FullMethodName, in, out, opts...) |
| 162 |
if err != nil { |
| 163 |
return nil, err |
| 164 |
} |
| 165 |
return out, nil |
| 166 |
} |
| 167 |
|
| 168 |
func (c *appHubClient) GetServiceProjectAttachment(ctx context.Context, in *GetServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*ServiceProjectAttachment, error) { |
| 169 |
out := new(ServiceProjectAttachment) |
| 170 |
err := c.cc.Invoke(ctx, AppHub_GetServiceProjectAttachment_FullMethodName, in, out, opts...) |
| 171 |
if err != nil { |
| 172 |
return nil, err |
| 173 |
} |
| 174 |
return out, nil |
| 175 |
} |
| 176 |
|
| 177 |
func (c *appHubClient) DeleteServiceProjectAttachment(ctx context.Context, in *DeleteServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 178 |
out := new(longrunningpb.Operation) |
| 179 |
err := c.cc.Invoke(ctx, AppHub_DeleteServiceProjectAttachment_FullMethodName, in, out, opts...) |
| 180 |
if err != nil { |
| 181 |
return nil, err |
| 182 |
} |
| 183 |
return out, nil |
| 184 |
} |
| 185 |
|
| 186 |
func (c *appHubClient) DetachServiceProjectAttachment(ctx context.Context, in *DetachServiceProjectAttachmentRequest, opts ...grpc.CallOption) (*DetachServiceProjectAttachmentResponse, error) { |
| 187 |
out := new(DetachServiceProjectAttachmentResponse) |
| 188 |
err := c.cc.Invoke(ctx, AppHub_DetachServiceProjectAttachment_FullMethodName, in, out, opts...) |
| 189 |
if err != nil { |
| 190 |
return nil, err |
| 191 |
} |
| 192 |
return out, nil |
| 193 |
} |
| 194 |
|
| 195 |
func (c *appHubClient) ListDiscoveredServices(ctx context.Context, in *ListDiscoveredServicesRequest, opts ...grpc.CallOption) (*ListDiscoveredServicesResponse, error) { |
| 196 |
out := new(ListDiscoveredServicesResponse) |
| 197 |
err := c.cc.Invoke(ctx, AppHub_ListDiscoveredServices_FullMethodName, in, out, opts...) |
| 198 |
if err != nil { |
| 199 |
return nil, err |
| 200 |
} |
| 201 |
return out, nil |
| 202 |
} |
| 203 |
|
| 204 |
func (c *appHubClient) GetDiscoveredService(ctx context.Context, in *GetDiscoveredServiceRequest, opts ...grpc.CallOption) (*DiscoveredService, error) { |
| 205 |
out := new(DiscoveredService) |
| 206 |
err := c.cc.Invoke(ctx, AppHub_GetDiscoveredService_FullMethodName, in, out, opts...) |
| 207 |
if err != nil { |
| 208 |
return nil, err |
| 209 |
} |
| 210 |
return out, nil |
| 211 |
} |
| 212 |
|
| 213 |
func (c *appHubClient) LookupDiscoveredService(ctx context.Context, in *LookupDiscoveredServiceRequest, opts ...grpc.CallOption) (*LookupDiscoveredServiceResponse, error) { |
| 214 |
out := new(LookupDiscoveredServiceResponse) |
| 215 |
err := c.cc.Invoke(ctx, AppHub_LookupDiscoveredService_FullMethodName, in, out, opts...) |
| 216 |
if err != nil { |
| 217 |
return nil, err |
| 218 |
} |
| 219 |
return out, nil |
| 220 |
} |
| 221 |
|
| 222 |
func (c *appHubClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { |
| 223 |
out := new(ListServicesResponse) |
| 224 |
err := c.cc.Invoke(ctx, AppHub_ListServices_FullMethodName, in, out, opts...) |
| 225 |
if err != nil { |
| 226 |
return nil, err |
| 227 |
} |
| 228 |
return out, nil |
| 229 |
} |
| 230 |
|
| 231 |
func (c *appHubClient) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 232 |
out := new(longrunningpb.Operation) |
| 233 |
err := c.cc.Invoke(ctx, AppHub_CreateService_FullMethodName, in, out, opts...) |
| 234 |
if err != nil { |
| 235 |
return nil, err |
| 236 |
} |
| 237 |
return out, nil |
| 238 |
} |
| 239 |
|
| 240 |
func (c *appHubClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) { |
| 241 |
out := new(Service) |
| 242 |
err := c.cc.Invoke(ctx, AppHub_GetService_FullMethodName, in, out, opts...) |
| 243 |
if err != nil { |
| 244 |
return nil, err |
| 245 |
} |
| 246 |
return out, nil |
| 247 |
} |
| 248 |
|
| 249 |
func (c *appHubClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 250 |
out := new(longrunningpb.Operation) |
| 251 |
err := c.cc.Invoke(ctx, AppHub_UpdateService_FullMethodName, in, out, opts...) |
| 252 |
if err != nil { |
| 253 |
return nil, err |
| 254 |
} |
| 255 |
return out, nil |
| 256 |
} |
| 257 |
|
| 258 |
func (c *appHubClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 259 |
out := new(longrunningpb.Operation) |
| 260 |
err := c.cc.Invoke(ctx, AppHub_DeleteService_FullMethodName, in, out, opts...) |
| 261 |
if err != nil { |
| 262 |
return nil, err |
| 263 |
} |
| 264 |
return out, nil |
| 265 |
} |
| 266 |
|
| 267 |
func (c *appHubClient) ListDiscoveredWorkloads(ctx context.Context, in *ListDiscoveredWorkloadsRequest, opts ...grpc.CallOption) (*ListDiscoveredWorkloadsResponse, error) { |
| 268 |
out := new(ListDiscoveredWorkloadsResponse) |
| 269 |
err := c.cc.Invoke(ctx, AppHub_ListDiscoveredWorkloads_FullMethodName, in, out, opts...) |
| 270 |
if err != nil { |
| 271 |
return nil, err |
| 272 |
} |
| 273 |
return out, nil |
| 274 |
} |
| 275 |
|
| 276 |
func (c *appHubClient) GetDiscoveredWorkload(ctx context.Context, in *GetDiscoveredWorkloadRequest, opts ...grpc.CallOption) (*DiscoveredWorkload, error) { |
| 277 |
out := new(DiscoveredWorkload) |
| 278 |
err := c.cc.Invoke(ctx, AppHub_GetDiscoveredWorkload_FullMethodName, in, out, opts...) |
| 279 |
if err != nil { |
| 280 |
return nil, err |
| 281 |
} |
| 282 |
return out, nil |
| 283 |
} |
| 284 |
|
| 285 |
func (c *appHubClient) LookupDiscoveredWorkload(ctx context.Context, in *LookupDiscoveredWorkloadRequest, opts ...grpc.CallOption) (*LookupDiscoveredWorkloadResponse, error) { |
| 286 |
out := new(LookupDiscoveredWorkloadResponse) |
| 287 |
err := c.cc.Invoke(ctx, AppHub_LookupDiscoveredWorkload_FullMethodName, in, out, opts...) |
| 288 |
if err != nil { |
| 289 |
return nil, err |
| 290 |
} |
| 291 |
return out, nil |
| 292 |
} |
| 293 |
|
| 294 |
func (c *appHubClient) ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error) { |
| 295 |
out := new(ListWorkloadsResponse) |
| 296 |
err := c.cc.Invoke(ctx, AppHub_ListWorkloads_FullMethodName, in, out, opts...) |
| 297 |
if err != nil { |
| 298 |
return nil, err |
| 299 |
} |
| 300 |
return out, nil |
| 301 |
} |
| 302 |
|
| 303 |
func (c *appHubClient) CreateWorkload(ctx context.Context, in *CreateWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 304 |
out := new(longrunningpb.Operation) |
| 305 |
err := c.cc.Invoke(ctx, AppHub_CreateWorkload_FullMethodName, in, out, opts...) |
| 306 |
if err != nil { |
| 307 |
return nil, err |
| 308 |
} |
| 309 |
return out, nil |
| 310 |
} |
| 311 |
|
| 312 |
func (c *appHubClient) GetWorkload(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error) { |
| 313 |
out := new(Workload) |
| 314 |
err := c.cc.Invoke(ctx, AppHub_GetWorkload_FullMethodName, in, out, opts...) |
| 315 |
if err != nil { |
| 316 |
return nil, err |
| 317 |
} |
| 318 |
return out, nil |
| 319 |
} |
| 320 |
|
| 321 |
func (c *appHubClient) UpdateWorkload(ctx context.Context, in *UpdateWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 322 |
out := new(longrunningpb.Operation) |
| 323 |
err := c.cc.Invoke(ctx, AppHub_UpdateWorkload_FullMethodName, in, out, opts...) |
| 324 |
if err != nil { |
| 325 |
return nil, err |
| 326 |
} |
| 327 |
return out, nil |
| 328 |
} |
| 329 |
|
| 330 |
func (c *appHubClient) DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 331 |
out := new(longrunningpb.Operation) |
| 332 |
err := c.cc.Invoke(ctx, AppHub_DeleteWorkload_FullMethodName, in, out, opts...) |
| 333 |
if err != nil { |
| 334 |
return nil, err |
| 335 |
} |
| 336 |
return out, nil |
| 337 |
} |
| 338 |
|
| 339 |
func (c *appHubClient) ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) { |
| 340 |
out := new(ListApplicationsResponse) |
| 341 |
err := c.cc.Invoke(ctx, AppHub_ListApplications_FullMethodName, in, out, opts...) |
| 342 |
if err != nil { |
| 343 |
return nil, err |
| 344 |
} |
| 345 |
return out, nil |
| 346 |
} |
| 347 |
|
| 348 |
func (c *appHubClient) CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 349 |
out := new(longrunningpb.Operation) |
| 350 |
err := c.cc.Invoke(ctx, AppHub_CreateApplication_FullMethodName, in, out, opts...) |
| 351 |
if err != nil { |
| 352 |
return nil, err |
| 353 |
} |
| 354 |
return out, nil |
| 355 |
} |
| 356 |
|
| 357 |
func (c *appHubClient) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) { |
| 358 |
out := new(Application) |
| 359 |
err := c.cc.Invoke(ctx, AppHub_GetApplication_FullMethodName, in, out, opts...) |
| 360 |
if err != nil { |
| 361 |
return nil, err |
| 362 |
} |
| 363 |
return out, nil |
| 364 |
} |
| 365 |
|
| 366 |
func (c *appHubClient) UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 367 |
out := new(longrunningpb.Operation) |
| 368 |
err := c.cc.Invoke(ctx, AppHub_UpdateApplication_FullMethodName, in, out, opts...) |
| 369 |
if err != nil { |
| 370 |
return nil, err |
| 371 |
} |
| 372 |
return out, nil |
| 373 |
} |
| 374 |
|
| 375 |
func (c *appHubClient) DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 376 |
out := new(longrunningpb.Operation) |
| 377 |
err := c.cc.Invoke(ctx, AppHub_DeleteApplication_FullMethodName, in, out, opts...) |
| 378 |
if err != nil { |
| 379 |
return nil, err |
| 380 |
} |
| 381 |
return out, nil |
| 382 |
} |
| 383 |
|
| 384 |
// AppHubServer is the server API for AppHub service. |
| 385 |
// All implementations should embed UnimplementedAppHubServer |
| 386 |
// for forward compatibility |
| 387 |
type AppHubServer interface { |
| 388 |
// Lists a service project attachment for a given service project. You can |
| 389 |
// call this API from any project to find if it is attached to a host project. |
| 390 |
LookupServiceProjectAttachment(context.Context, *LookupServiceProjectAttachmentRequest) (*LookupServiceProjectAttachmentResponse, error) |
| 391 |
// Lists service projects attached to the host project. |
| 392 |
ListServiceProjectAttachments(context.Context, *ListServiceProjectAttachmentsRequest) (*ListServiceProjectAttachmentsResponse, error) |
| 393 |
// Attaches a service project to the host project. |
| 394 |
CreateServiceProjectAttachment(context.Context, *CreateServiceProjectAttachmentRequest) (*longrunningpb.Operation, error) |
| 395 |
// Gets a service project attachment. |
| 396 |
GetServiceProjectAttachment(context.Context, *GetServiceProjectAttachmentRequest) (*ServiceProjectAttachment, error) |
| 397 |
// Deletes a service project attachment. |
| 398 |
DeleteServiceProjectAttachment(context.Context, *DeleteServiceProjectAttachmentRequest) (*longrunningpb.Operation, error) |
| 399 |
// Detaches a service project from a host project. |
| 400 |
// You can call this API from any service project without needing access to |
| 401 |
// the host project that it is attached to. |
| 402 |
DetachServiceProjectAttachment(context.Context, *DetachServiceProjectAttachmentRequest) (*DetachServiceProjectAttachmentResponse, error) |
| 403 |
// Lists Discovered Services that can be added to an Application in a host |
| 404 |
// project and location. |
| 405 |
ListDiscoveredServices(context.Context, *ListDiscoveredServicesRequest) (*ListDiscoveredServicesResponse, error) |
| 406 |
// Gets a Discovered Service in a host project and location. |
| 407 |
GetDiscoveredService(context.Context, *GetDiscoveredServiceRequest) (*DiscoveredService, error) |
| 408 |
// Lists a Discovered Service in a host project and location, with a |
| 409 |
// given resource URI. |
| 410 |
LookupDiscoveredService(context.Context, *LookupDiscoveredServiceRequest) (*LookupDiscoveredServiceResponse, error) |
| 411 |
// Lists Services in an Application. |
| 412 |
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) |
| 413 |
// Creates a Service in an Application. |
| 414 |
CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error) |
| 415 |
// Gets a Service in an Application. |
| 416 |
GetService(context.Context, *GetServiceRequest) (*Service, error) |
| 417 |
// Updates a Service in an Application. |
| 418 |
UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error) |
| 419 |
// Deletes a Service from an Application. |
| 420 |
DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error) |
| 421 |
// Lists Discovered Workloads that can be added to an Application in a host |
| 422 |
// project and location. |
| 423 |
ListDiscoveredWorkloads(context.Context, *ListDiscoveredWorkloadsRequest) (*ListDiscoveredWorkloadsResponse, error) |
| 424 |
// Gets a Discovered Workload in a host project and location. |
| 425 |
GetDiscoveredWorkload(context.Context, *GetDiscoveredWorkloadRequest) (*DiscoveredWorkload, error) |
| 426 |
// Lists a Discovered Workload in a host project and location, with a |
| 427 |
// given resource URI. |
| 428 |
LookupDiscoveredWorkload(context.Context, *LookupDiscoveredWorkloadRequest) (*LookupDiscoveredWorkloadResponse, error) |
| 429 |
// Lists Workloads in an Application. |
| 430 |
ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error) |
| 431 |
// Creates a Workload in an Application. |
| 432 |
CreateWorkload(context.Context, *CreateWorkloadRequest) (*longrunningpb.Operation, error) |
| 433 |
// Gets a Workload in an Application. |
| 434 |
GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error) |
| 435 |
// Updates a Workload in an Application. |
| 436 |
UpdateWorkload(context.Context, *UpdateWorkloadRequest) (*longrunningpb.Operation, error) |
| 437 |
// Deletes a Workload from an Application. |
| 438 |
DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*longrunningpb.Operation, error) |
| 439 |
// Lists Applications in a host project and location. |
| 440 |
ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error) |
| 441 |
// Creates an Application in a host project and location. |
| 442 |
CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error) |
| 443 |
// Gets an Application in a host project and location. |
| 444 |
GetApplication(context.Context, *GetApplicationRequest) (*Application, error) |
| 445 |
// Updates an Application in a host project and location. |
| 446 |
UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error) |
| 447 |
// Deletes an Application in a host project and location. |
| 448 |
DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunningpb.Operation, error) |
| 449 |
} |
| 450 |
|
| 451 |
// UnimplementedAppHubServer should be embedded to have forward compatible implementations. |
| 452 |
type UnimplementedAppHubServer struct { |
| 453 |
} |
| 454 |
|
| 455 |
func (UnimplementedAppHubServer) LookupServiceProjectAttachment(context.Context, *LookupServiceProjectAttachmentRequest) (*LookupServiceProjectAttachmentResponse, error) { |
| 456 |
return nil, status.Errorf(codes.Unimplemented, "method LookupServiceProjectAttachment not implemented") |
| 457 |
} |
| 458 |
func (UnimplementedAppHubServer) ListServiceProjectAttachments(context.Context, *ListServiceProjectAttachmentsRequest) (*ListServiceProjectAttachmentsResponse, error) { |
| 459 |
return nil, status.Errorf(codes.Unimplemented, "method ListServiceProjectAttachments not implemented") |
| 460 |
} |
| 461 |
func (UnimplementedAppHubServer) CreateServiceProjectAttachment(context.Context, *CreateServiceProjectAttachmentRequest) (*longrunningpb.Operation, error) { |
| 462 |
return nil, status.Errorf(codes.Unimplemented, "method CreateServiceProjectAttachment not implemented") |
| 463 |
} |
| 464 |
func (UnimplementedAppHubServer) GetServiceProjectAttachment(context.Context, *GetServiceProjectAttachmentRequest) (*ServiceProjectAttachment, error) { |
| 465 |
return nil, status.Errorf(codes.Unimplemented, "method GetServiceProjectAttachment not implemented") |
| 466 |
} |
| 467 |
func (UnimplementedAppHubServer) DeleteServiceProjectAttachment(context.Context, *DeleteServiceProjectAttachmentRequest) (*longrunningpb.Operation, error) { |
| 468 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceProjectAttachment not implemented") |
| 469 |
} |
| 470 |
func (UnimplementedAppHubServer) DetachServiceProjectAttachment(context.Context, *DetachServiceProjectAttachmentRequest) (*DetachServiceProjectAttachmentResponse, error) { |
| 471 |
return nil, status.Errorf(codes.Unimplemented, "method DetachServiceProjectAttachment not implemented") |
| 472 |
} |
| 473 |
func (UnimplementedAppHubServer) ListDiscoveredServices(context.Context, *ListDiscoveredServicesRequest) (*ListDiscoveredServicesResponse, error) { |
| 474 |
return nil, status.Errorf(codes.Unimplemented, "method ListDiscoveredServices not implemented") |
| 475 |
} |
| 476 |
func (UnimplementedAppHubServer) GetDiscoveredService(context.Context, *GetDiscoveredServiceRequest) (*DiscoveredService, error) { |
| 477 |
return nil, status.Errorf(codes.Unimplemented, "method GetDiscoveredService not implemented") |
| 478 |
} |
| 479 |
func (UnimplementedAppHubServer) LookupDiscoveredService(context.Context, *LookupDiscoveredServiceRequest) (*LookupDiscoveredServiceResponse, error) { |
| 480 |
return nil, status.Errorf(codes.Unimplemented, "method LookupDiscoveredService not implemented") |
| 481 |
} |
| 482 |
func (UnimplementedAppHubServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) { |
| 483 |
return nil, status.Errorf(codes.Unimplemented, "method ListServices not implemented") |
| 484 |
} |
| 485 |
func (UnimplementedAppHubServer) CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error) { |
| 486 |
return nil, status.Errorf(codes.Unimplemented, "method CreateService not implemented") |
| 487 |
} |
| 488 |
func (UnimplementedAppHubServer) GetService(context.Context, *GetServiceRequest) (*Service, error) { |
| 489 |
return nil, status.Errorf(codes.Unimplemented, "method GetService not implemented") |
| 490 |
} |
| 491 |
func (UnimplementedAppHubServer) UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error) { |
| 492 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateService not implemented") |
| 493 |
} |
| 494 |
func (UnimplementedAppHubServer) DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error) { |
| 495 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteService not implemented") |
| 496 |
} |
| 497 |
func (UnimplementedAppHubServer) ListDiscoveredWorkloads(context.Context, *ListDiscoveredWorkloadsRequest) (*ListDiscoveredWorkloadsResponse, error) { |
| 498 |
return nil, status.Errorf(codes.Unimplemented, "method ListDiscoveredWorkloads not implemented") |
| 499 |
} |
| 500 |
func (UnimplementedAppHubServer) GetDiscoveredWorkload(context.Context, *GetDiscoveredWorkloadRequest) (*DiscoveredWorkload, error) { |
| 501 |
return nil, status.Errorf(codes.Unimplemented, "method GetDiscoveredWorkload not implemented") |
| 502 |
} |
| 503 |
func (UnimplementedAppHubServer) LookupDiscoveredWorkload(context.Context, *LookupDiscoveredWorkloadRequest) (*LookupDiscoveredWorkloadResponse, error) { |
| 504 |
return nil, status.Errorf(codes.Unimplemented, "method LookupDiscoveredWorkload not implemented") |
| 505 |
} |
| 506 |
func (UnimplementedAppHubServer) ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error) { |
| 507 |
return nil, status.Errorf(codes.Unimplemented, "method ListWorkloads not implemented") |
| 508 |
} |
| 509 |
func (UnimplementedAppHubServer) CreateWorkload(context.Context, *CreateWorkloadRequest) (*longrunningpb.Operation, error) { |
| 510 |
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkload not implemented") |
| 511 |
} |
| 512 |
func (UnimplementedAppHubServer) GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error) { |
| 513 |
return nil, status.Errorf(codes.Unimplemented, "method GetWorkload not implemented") |
| 514 |
} |
| 515 |
func (UnimplementedAppHubServer) UpdateWorkload(context.Context, *UpdateWorkloadRequest) (*longrunningpb.Operation, error) { |
| 516 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkload not implemented") |
| 517 |
} |
| 518 |
func (UnimplementedAppHubServer) DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*longrunningpb.Operation, error) { |
| 519 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteWorkload not implemented") |
| 520 |
} |
| 521 |
func (UnimplementedAppHubServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error) { |
| 522 |
return nil, status.Errorf(codes.Unimplemented, "method ListApplications not implemented") |
| 523 |
} |
| 524 |
func (UnimplementedAppHubServer) CreateApplication(context.Context, *CreateApplicationRequest) (*longrunningpb.Operation, error) { |
| 525 |
return nil, status.Errorf(codes.Unimplemented, "method CreateApplication not implemented") |
| 526 |
} |
| 527 |
func (UnimplementedAppHubServer) GetApplication(context.Context, *GetApplicationRequest) (*Application, error) { |
| 528 |
return nil, status.Errorf(codes.Unimplemented, "method GetApplication not implemented") |
| 529 |
} |
| 530 |
func (UnimplementedAppHubServer) UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunningpb.Operation, error) { |
| 531 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateApplication not implemented") |
| 532 |
} |
| 533 |
func (UnimplementedAppHubServer) DeleteApplication(context.Context, *DeleteApplicationRequest) (*longrunningpb.Operation, error) { |
| 534 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteApplication not implemented") |
| 535 |
} |
| 536 |
|
| 537 |
// UnsafeAppHubServer may be embedded to opt out of forward compatibility for this service. |
| 538 |
// Use of this interface is not recommended, as added methods to AppHubServer will |
| 539 |
// result in compilation errors. |
| 540 |
type UnsafeAppHubServer interface { |
| 541 |
mustEmbedUnimplementedAppHubServer() |
| 542 |
} |
| 543 |
|
| 544 |
func RegisterAppHubServer(s grpc.ServiceRegistrar, srv AppHubServer) { |
| 545 |
s.RegisterService(&AppHub_ServiceDesc, srv) |
| 546 |
} |
| 547 |
|
| 548 |
func _AppHub_LookupServiceProjectAttachment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 549 |
in := new(LookupServiceProjectAttachmentRequest) |
| 550 |
if err := dec(in); err != nil { |
| 551 |
return nil, err |
| 552 |
} |
| 553 |
if interceptor == nil { |
| 554 |
return srv.(AppHubServer).LookupServiceProjectAttachment(ctx, in) |
| 555 |
} |
| 556 |
info := &grpc.UnaryServerInfo{ |
| 557 |
Server: srv, |
| 558 |
FullMethod: AppHub_LookupServiceProjectAttachment_FullMethodName, |
| 559 |
} |
| 560 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 561 |
return srv.(AppHubServer).LookupServiceProjectAttachment(ctx, req.(*LookupServiceProjectAttachmentRequest)) |
| 562 |
} |
| 563 |
return interceptor(ctx, in, info, handler) |
| 564 |
} |
| 565 |
|
| 566 |
func _AppHub_ListServiceProjectAttachments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 567 |
in := new(ListServiceProjectAttachmentsRequest) |
| 568 |
if err := dec(in); err != nil { |
| 569 |
return nil, err |
| 570 |
} |
| 571 |
if interceptor == nil { |
| 572 |
return srv.(AppHubServer).ListServiceProjectAttachments(ctx, in) |
| 573 |
} |
| 574 |
info := &grpc.UnaryServerInfo{ |
| 575 |
Server: srv, |
| 576 |
FullMethod: AppHub_ListServiceProjectAttachments_FullMethodName, |
| 577 |
} |
| 578 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 579 |
return srv.(AppHubServer).ListServiceProjectAttachments(ctx, req.(*ListServiceProjectAttachmentsRequest)) |
| 580 |
} |
| 581 |
return interceptor(ctx, in, info, handler) |
| 582 |
} |
| 583 |
|
| 584 |
func _AppHub_CreateServiceProjectAttachment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 585 |
in := new(CreateServiceProjectAttachmentRequest) |
| 586 |
if err := dec(in); err != nil { |
| 587 |
return nil, err |
| 588 |
} |
| 589 |
if interceptor == nil { |
| 590 |
return srv.(AppHubServer).CreateServiceProjectAttachment(ctx, in) |
| 591 |
} |
| 592 |
info := &grpc.UnaryServerInfo{ |
| 593 |
Server: srv, |
| 594 |
FullMethod: AppHub_CreateServiceProjectAttachment_FullMethodName, |
| 595 |
} |
| 596 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 597 |
return srv.(AppHubServer).CreateServiceProjectAttachment(ctx, req.(*CreateServiceProjectAttachmentRequest)) |
| 598 |
} |
| 599 |
return interceptor(ctx, in, info, handler) |
| 600 |
} |
| 601 |
|
| 602 |
func _AppHub_GetServiceProjectAttachment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 603 |
in := new(GetServiceProjectAttachmentRequest) |
| 604 |
if err := dec(in); err != nil { |
| 605 |
return nil, err |
| 606 |
} |
| 607 |
if interceptor == nil { |
| 608 |
return srv.(AppHubServer).GetServiceProjectAttachment(ctx, in) |
| 609 |
} |
| 610 |
info := &grpc.UnaryServerInfo{ |
| 611 |
Server: srv, |
| 612 |
FullMethod: AppHub_GetServiceProjectAttachment_FullMethodName, |
| 613 |
} |
| 614 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 615 |
return srv.(AppHubServer).GetServiceProjectAttachment(ctx, req.(*GetServiceProjectAttachmentRequest)) |
| 616 |
} |
| 617 |
return interceptor(ctx, in, info, handler) |
| 618 |
} |
| 619 |
|
| 620 |
func _AppHub_DeleteServiceProjectAttachment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 621 |
in := new(DeleteServiceProjectAttachmentRequest) |
| 622 |
if err := dec(in); err != nil { |
| 623 |
return nil, err |
| 624 |
} |
| 625 |
if interceptor == nil { |
| 626 |
return srv.(AppHubServer).DeleteServiceProjectAttachment(ctx, in) |
| 627 |
} |
| 628 |
info := &grpc.UnaryServerInfo{ |
| 629 |
Server: srv, |
| 630 |
FullMethod: AppHub_DeleteServiceProjectAttachment_FullMethodName, |
| 631 |
} |
| 632 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 633 |
return srv.(AppHubServer).DeleteServiceProjectAttachment(ctx, req.(*DeleteServiceProjectAttachmentRequest)) |
| 634 |
} |
| 635 |
return interceptor(ctx, in, info, handler) |
| 636 |
} |
| 637 |
|
| 638 |
func _AppHub_DetachServiceProjectAttachment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 639 |
in := new(DetachServiceProjectAttachmentRequest) |
| 640 |
if err := dec(in); err != nil { |
| 641 |
return nil, err |
| 642 |
} |
| 643 |
if interceptor == nil { |
| 644 |
return srv.(AppHubServer).DetachServiceProjectAttachment(ctx, in) |
| 645 |
} |
| 646 |
info := &grpc.UnaryServerInfo{ |
| 647 |
Server: srv, |
| 648 |
FullMethod: AppHub_DetachServiceProjectAttachment_FullMethodName, |
| 649 |
} |
| 650 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 651 |
return srv.(AppHubServer).DetachServiceProjectAttachment(ctx, req.(*DetachServiceProjectAttachmentRequest)) |
| 652 |
} |
| 653 |
return interceptor(ctx, in, info, handler) |
| 654 |
} |
| 655 |
|
| 656 |
func _AppHub_ListDiscoveredServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 657 |
in := new(ListDiscoveredServicesRequest) |
| 658 |
if err := dec(in); err != nil { |
| 659 |
return nil, err |
| 660 |
} |
| 661 |
if interceptor == nil { |
| 662 |
return srv.(AppHubServer).ListDiscoveredServices(ctx, in) |
| 663 |
} |
| 664 |
info := &grpc.UnaryServerInfo{ |
| 665 |
Server: srv, |
| 666 |
FullMethod: AppHub_ListDiscoveredServices_FullMethodName, |
| 667 |
} |
| 668 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 669 |
return srv.(AppHubServer).ListDiscoveredServices(ctx, req.(*ListDiscoveredServicesRequest)) |
| 670 |
} |
| 671 |
return interceptor(ctx, in, info, handler) |
| 672 |
} |
| 673 |
|
| 674 |
func _AppHub_GetDiscoveredService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 675 |
in := new(GetDiscoveredServiceRequest) |
| 676 |
if err := dec(in); err != nil { |
| 677 |
return nil, err |
| 678 |
} |
| 679 |
if interceptor == nil { |
| 680 |
return srv.(AppHubServer).GetDiscoveredService(ctx, in) |
| 681 |
} |
| 682 |
info := &grpc.UnaryServerInfo{ |
| 683 |
Server: srv, |
| 684 |
FullMethod: AppHub_GetDiscoveredService_FullMethodName, |
| 685 |
} |
| 686 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 687 |
return srv.(AppHubServer).GetDiscoveredService(ctx, req.(*GetDiscoveredServiceRequest)) |
| 688 |
} |
| 689 |
return interceptor(ctx, in, info, handler) |
| 690 |
} |
| 691 |
|
| 692 |
func _AppHub_LookupDiscoveredService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 693 |
in := new(LookupDiscoveredServiceRequest) |
| 694 |
if err := dec(in); err != nil { |
| 695 |
return nil, err |
| 696 |
} |
| 697 |
if interceptor == nil { |
| 698 |
return srv.(AppHubServer).LookupDiscoveredService(ctx, in) |
| 699 |
} |
| 700 |
info := &grpc.UnaryServerInfo{ |
| 701 |
Server: srv, |
| 702 |
FullMethod: AppHub_LookupDiscoveredService_FullMethodName, |
| 703 |
} |
| 704 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 705 |
return srv.(AppHubServer).LookupDiscoveredService(ctx, req.(*LookupDiscoveredServiceRequest)) |
| 706 |
} |
| 707 |
return interceptor(ctx, in, info, handler) |
| 708 |
} |
| 709 |
|
| 710 |
func _AppHub_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 711 |
in := new(ListServicesRequest) |
| 712 |
if err := dec(in); err != nil { |
| 713 |
return nil, err |
| 714 |
} |
| 715 |
if interceptor == nil { |
| 716 |
return srv.(AppHubServer).ListServices(ctx, in) |
| 717 |
} |
| 718 |
info := &grpc.UnaryServerInfo{ |
| 719 |
Server: srv, |
| 720 |
FullMethod: AppHub_ListServices_FullMethodName, |
| 721 |
} |
| 722 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 723 |
return srv.(AppHubServer).ListServices(ctx, req.(*ListServicesRequest)) |
| 724 |
} |
| 725 |
return interceptor(ctx, in, info, handler) |
| 726 |
} |
| 727 |
|
| 728 |
func _AppHub_CreateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 729 |
in := new(CreateServiceRequest) |
| 730 |
if err := dec(in); err != nil { |
| 731 |
return nil, err |
| 732 |
} |
| 733 |
if interceptor == nil { |
| 734 |
return srv.(AppHubServer).CreateService(ctx, in) |
| 735 |
} |
| 736 |
info := &grpc.UnaryServerInfo{ |
| 737 |
Server: srv, |
| 738 |
FullMethod: AppHub_CreateService_FullMethodName, |
| 739 |
} |
| 740 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 741 |
return srv.(AppHubServer).CreateService(ctx, req.(*CreateServiceRequest)) |
| 742 |
} |
| 743 |
return interceptor(ctx, in, info, handler) |
| 744 |
} |
| 745 |
|
| 746 |
func _AppHub_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 747 |
in := new(GetServiceRequest) |
| 748 |
if err := dec(in); err != nil { |
| 749 |
return nil, err |
| 750 |
} |
| 751 |
if interceptor == nil { |
| 752 |
return srv.(AppHubServer).GetService(ctx, in) |
| 753 |
} |
| 754 |
info := &grpc.UnaryServerInfo{ |
| 755 |
Server: srv, |
| 756 |
FullMethod: AppHub_GetService_FullMethodName, |
| 757 |
} |
| 758 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 759 |
return srv.(AppHubServer).GetService(ctx, req.(*GetServiceRequest)) |
| 760 |
} |
| 761 |
return interceptor(ctx, in, info, handler) |
| 762 |
} |
| 763 |
|
| 764 |
func _AppHub_UpdateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 765 |
in := new(UpdateServiceRequest) |
| 766 |
if err := dec(in); err != nil { |
| 767 |
return nil, err |
| 768 |
} |
| 769 |
if interceptor == nil { |
| 770 |
return srv.(AppHubServer).UpdateService(ctx, in) |
| 771 |
} |
| 772 |
info := &grpc.UnaryServerInfo{ |
| 773 |
Server: srv, |
| 774 |
FullMethod: AppHub_UpdateService_FullMethodName, |
| 775 |
} |
| 776 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 777 |
return srv.(AppHubServer).UpdateService(ctx, req.(*UpdateServiceRequest)) |
| 778 |
} |
| 779 |
return interceptor(ctx, in, info, handler) |
| 780 |
} |
| 781 |
|
| 782 |
func _AppHub_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 783 |
in := new(DeleteServiceRequest) |
| 784 |
if err := dec(in); err != nil { |
| 785 |
return nil, err |
| 786 |
} |
| 787 |
if interceptor == nil { |
| 788 |
return srv.(AppHubServer).DeleteService(ctx, in) |
| 789 |
} |
| 790 |
info := &grpc.UnaryServerInfo{ |
| 791 |
Server: srv, |
| 792 |
FullMethod: AppHub_DeleteService_FullMethodName, |
| 793 |
} |
| 794 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 795 |
return srv.(AppHubServer).DeleteService(ctx, req.(*DeleteServiceRequest)) |
| 796 |
} |
| 797 |
return interceptor(ctx, in, info, handler) |
| 798 |
} |
| 799 |
|
| 800 |
func _AppHub_ListDiscoveredWorkloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 801 |
in := new(ListDiscoveredWorkloadsRequest) |
| 802 |
if err := dec(in); err != nil { |
| 803 |
return nil, err |
| 804 |
} |
| 805 |
if interceptor == nil { |
| 806 |
return srv.(AppHubServer).ListDiscoveredWorkloads(ctx, in) |
| 807 |
} |
| 808 |
info := &grpc.UnaryServerInfo{ |
| 809 |
Server: srv, |
| 810 |
FullMethod: AppHub_ListDiscoveredWorkloads_FullMethodName, |
| 811 |
} |
| 812 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 813 |
return srv.(AppHubServer).ListDiscoveredWorkloads(ctx, req.(*ListDiscoveredWorkloadsRequest)) |
| 814 |
} |
| 815 |
return interceptor(ctx, in, info, handler) |
| 816 |
} |
| 817 |
|
| 818 |
func _AppHub_GetDiscoveredWorkload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 819 |
in := new(GetDiscoveredWorkloadRequest) |
| 820 |
if err := dec(in); err != nil { |
| 821 |
return nil, err |
| 822 |
} |
| 823 |
if interceptor == nil { |
| 824 |
return srv.(AppHubServer).GetDiscoveredWorkload(ctx, in) |
| 825 |
} |
| 826 |
info := &grpc.UnaryServerInfo{ |
| 827 |
Server: srv, |
| 828 |
FullMethod: AppHub_GetDiscoveredWorkload_FullMethodName, |
| 829 |
} |
| 830 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 831 |
return srv.(AppHubServer).GetDiscoveredWorkload(ctx, req.(*GetDiscoveredWorkloadRequest)) |
| 832 |
} |
| 833 |
return interceptor(ctx, in, info, handler) |
| 834 |
} |
| 835 |
|
| 836 |
func _AppHub_LookupDiscoveredWorkload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 837 |
in := new(LookupDiscoveredWorkloadRequest) |
| 838 |
if err := dec(in); err != nil { |
| 839 |
return nil, err |
| 840 |
} |
| 841 |
if interceptor == nil { |
| 842 |
return srv.(AppHubServer).LookupDiscoveredWorkload(ctx, in) |
| 843 |
} |
| 844 |
info := &grpc.UnaryServerInfo{ |
| 845 |
Server: srv, |
| 846 |
FullMethod: AppHub_LookupDiscoveredWorkload_FullMethodName, |
| 847 |
} |
| 848 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 849 |
return srv.(AppHubServer).LookupDiscoveredWorkload(ctx, req.(*LookupDiscoveredWorkloadRequest)) |
| 850 |
} |
| 851 |
return interceptor(ctx, in, info, handler) |
| 852 |
} |
| 853 |
|
| 854 |
func _AppHub_ListWorkloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 855 |
in := new(ListWorkloadsRequest) |
| 856 |
if err := dec(in); err != nil { |
| 857 |
return nil, err |
| 858 |
} |
| 859 |
if interceptor == nil { |
| 860 |
return srv.(AppHubServer).ListWorkloads(ctx, in) |
| 861 |
} |
| 862 |
info := &grpc.UnaryServerInfo{ |
| 863 |
Server: srv, |
| 864 |
FullMethod: AppHub_ListWorkloads_FullMethodName, |
| 865 |
} |
| 866 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 867 |
return srv.(AppHubServer).ListWorkloads(ctx, req.(*ListWorkloadsRequest)) |
| 868 |
} |
| 869 |
return interceptor(ctx, in, info, handler) |
| 870 |
} |
| 871 |
|
| 872 |
func _AppHub_CreateWorkload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 873 |
in := new(CreateWorkloadRequest) |
| 874 |
if err := dec(in); err != nil { |
| 875 |
return nil, err |
| 876 |
} |
| 877 |
if interceptor == nil { |
| 878 |
return srv.(AppHubServer).CreateWorkload(ctx, in) |
| 879 |
} |
| 880 |
info := &grpc.UnaryServerInfo{ |
| 881 |
Server: srv, |
| 882 |
FullMethod: AppHub_CreateWorkload_FullMethodName, |
| 883 |
} |
| 884 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 885 |
return srv.(AppHubServer).CreateWorkload(ctx, req.(*CreateWorkloadRequest)) |
| 886 |
} |
| 887 |
return interceptor(ctx, in, info, handler) |
| 888 |
} |
| 889 |
|
| 890 |
func _AppHub_GetWorkload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 891 |
in := new(GetWorkloadRequest) |
| 892 |
if err := dec(in); err != nil { |
| 893 |
return nil, err |
| 894 |
} |
| 895 |
if interceptor == nil { |
| 896 |
return srv.(AppHubServer).GetWorkload(ctx, in) |
| 897 |
} |
| 898 |
info := &grpc.UnaryServerInfo{ |
| 899 |
Server: srv, |
| 900 |
FullMethod: AppHub_GetWorkload_FullMethodName, |
| 901 |
} |
| 902 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 903 |
return srv.(AppHubServer).GetWorkload(ctx, req.(*GetWorkloadRequest)) |
| 904 |
} |
| 905 |
return interceptor(ctx, in, info, handler) |
| 906 |
} |
| 907 |
|
| 908 |
func _AppHub_UpdateWorkload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 909 |
in := new(UpdateWorkloadRequest) |
| 910 |
if err := dec(in); err != nil { |
| 911 |
return nil, err |
| 912 |
} |
| 913 |
if interceptor == nil { |
| 914 |
return srv.(AppHubServer).UpdateWorkload(ctx, in) |
| 915 |
} |
| 916 |
info := &grpc.UnaryServerInfo{ |
| 917 |
Server: srv, |
| 918 |
FullMethod: AppHub_UpdateWorkload_FullMethodName, |
| 919 |
} |
| 920 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 921 |
return srv.(AppHubServer).UpdateWorkload(ctx, req.(*UpdateWorkloadRequest)) |
| 922 |
} |
| 923 |
return interceptor(ctx, in, info, handler) |
| 924 |
} |
| 925 |
|
| 926 |
func _AppHub_DeleteWorkload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 927 |
in := new(DeleteWorkloadRequest) |
| 928 |
if err := dec(in); err != nil { |
| 929 |
return nil, err |
| 930 |
} |
| 931 |
if interceptor == nil { |
| 932 |
return srv.(AppHubServer).DeleteWorkload(ctx, in) |
| 933 |
} |
| 934 |
info := &grpc.UnaryServerInfo{ |
| 935 |
Server: srv, |
| 936 |
FullMethod: AppHub_DeleteWorkload_FullMethodName, |
| 937 |
} |
| 938 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 939 |
return srv.(AppHubServer).DeleteWorkload(ctx, req.(*DeleteWorkloadRequest)) |
| 940 |
} |
| 941 |
return interceptor(ctx, in, info, handler) |
| 942 |
} |
| 943 |
|
| 944 |
func _AppHub_ListApplications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 945 |
in := new(ListApplicationsRequest) |
| 946 |
if err := dec(in); err != nil { |
| 947 |
return nil, err |
| 948 |
} |
| 949 |
if interceptor == nil { |
| 950 |
return srv.(AppHubServer).ListApplications(ctx, in) |
| 951 |
} |
| 952 |
info := &grpc.UnaryServerInfo{ |
| 953 |
Server: srv, |
| 954 |
FullMethod: AppHub_ListApplications_FullMethodName, |
| 955 |
} |
| 956 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 957 |
return srv.(AppHubServer).ListApplications(ctx, req.(*ListApplicationsRequest)) |
| 958 |
} |
| 959 |
return interceptor(ctx, in, info, handler) |
| 960 |
} |
| 961 |
|
| 962 |
func _AppHub_CreateApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 963 |
in := new(CreateApplicationRequest) |
| 964 |
if err := dec(in); err != nil { |
| 965 |
return nil, err |
| 966 |
} |
| 967 |
if interceptor == nil { |
| 968 |
return srv.(AppHubServer).CreateApplication(ctx, in) |
| 969 |
} |
| 970 |
info := &grpc.UnaryServerInfo{ |
| 971 |
Server: srv, |
| 972 |
FullMethod: AppHub_CreateApplication_FullMethodName, |
| 973 |
} |
| 974 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 975 |
return srv.(AppHubServer).CreateApplication(ctx, req.(*CreateApplicationRequest)) |
| 976 |
} |
| 977 |
return interceptor(ctx, in, info, handler) |
| 978 |
} |
| 979 |
|
| 980 |
func _AppHub_GetApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 981 |
in := new(GetApplicationRequest) |
| 982 |
if err := dec(in); err != nil { |
| 983 |
return nil, err |
| 984 |
} |
| 985 |
if interceptor == nil { |
| 986 |
return srv.(AppHubServer).GetApplication(ctx, in) |
| 987 |
} |
| 988 |
info := &grpc.UnaryServerInfo{ |
| 989 |
Server: srv, |
| 990 |
FullMethod: AppHub_GetApplication_FullMethodName, |
| 991 |
} |
| 992 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 993 |
return srv.(AppHubServer).GetApplication(ctx, req.(*GetApplicationRequest)) |
| 994 |
} |
| 995 |
return interceptor(ctx, in, info, handler) |
| 996 |
} |
| 997 |
|
| 998 |
func _AppHub_UpdateApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 999 |
in := new(UpdateApplicationRequest) |
| 1000 |
if err := dec(in); err != nil { |
| 1001 |
return nil, err |
| 1002 |
} |
| 1003 |
if interceptor == nil { |
| 1004 |
return srv.(AppHubServer).UpdateApplication(ctx, in) |
| 1005 |
} |
| 1006 |
info := &grpc.UnaryServerInfo{ |
| 1007 |
Server: srv, |
| 1008 |
FullMethod: AppHub_UpdateApplication_FullMethodName, |
| 1009 |
} |
| 1010 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1011 |
return srv.(AppHubServer).UpdateApplication(ctx, req.(*UpdateApplicationRequest)) |
| 1012 |
} |
| 1013 |
return interceptor(ctx, in, info, handler) |
| 1014 |
} |
| 1015 |
|
| 1016 |
func _AppHub_DeleteApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1017 |
in := new(DeleteApplicationRequest) |
| 1018 |
if err := dec(in); err != nil { |
| 1019 |
return nil, err |
| 1020 |
} |
| 1021 |
if interceptor == nil { |
| 1022 |
return srv.(AppHubServer).DeleteApplication(ctx, in) |
| 1023 |
} |
| 1024 |
info := &grpc.UnaryServerInfo{ |
| 1025 |
Server: srv, |
| 1026 |
FullMethod: AppHub_DeleteApplication_FullMethodName, |
| 1027 |
} |
| 1028 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1029 |
return srv.(AppHubServer).DeleteApplication(ctx, req.(*DeleteApplicationRequest)) |
| 1030 |
} |
| 1031 |
return interceptor(ctx, in, info, handler) |
| 1032 |
} |
| 1033 |
|
| 1034 |
// AppHub_ServiceDesc is the grpc.ServiceDesc for AppHub service. |
| 1035 |
// It's only intended for direct use with grpc.RegisterService, |
| 1036 |
// and not to be introspected or modified (even as a copy) |
| 1037 |
var AppHub_ServiceDesc = grpc.ServiceDesc{ |
| 1038 |
ServiceName: "google.cloud.apphub.v1.AppHub", |
| 1039 |
HandlerType: (*AppHubServer)(nil), |
| 1040 |
Methods: []grpc.MethodDesc{ |
| 1041 |
{ |
| 1042 |
MethodName: "LookupServiceProjectAttachment", |
| 1043 |
Handler: _AppHub_LookupServiceProjectAttachment_Handler, |
| 1044 |
}, |
| 1045 |
{ |
| 1046 |
MethodName: "ListServiceProjectAttachments", |
| 1047 |
Handler: _AppHub_ListServiceProjectAttachments_Handler, |
| 1048 |
}, |
| 1049 |
{ |
| 1050 |
MethodName: "CreateServiceProjectAttachment", |
| 1051 |
Handler: _AppHub_CreateServiceProjectAttachment_Handler, |
| 1052 |
}, |
| 1053 |
{ |
| 1054 |
MethodName: "GetServiceProjectAttachment", |
| 1055 |
Handler: _AppHub_GetServiceProjectAttachment_Handler, |
| 1056 |
}, |
| 1057 |
{ |
| 1058 |
MethodName: "DeleteServiceProjectAttachment", |
| 1059 |
Handler: _AppHub_DeleteServiceProjectAttachment_Handler, |
| 1060 |
}, |
| 1061 |
{ |
| 1062 |
MethodName: "DetachServiceProjectAttachment", |
| 1063 |
Handler: _AppHub_DetachServiceProjectAttachment_Handler, |
| 1064 |
}, |
| 1065 |
{ |
| 1066 |
MethodName: "ListDiscoveredServices", |
| 1067 |
Handler: _AppHub_ListDiscoveredServices_Handler, |
| 1068 |
}, |
| 1069 |
{ |
| 1070 |
MethodName: "GetDiscoveredService", |
| 1071 |
Handler: _AppHub_GetDiscoveredService_Handler, |
| 1072 |
}, |
| 1073 |
{ |
| 1074 |
MethodName: "LookupDiscoveredService", |
| 1075 |
Handler: _AppHub_LookupDiscoveredService_Handler, |
| 1076 |
}, |
| 1077 |
{ |
| 1078 |
MethodName: "ListServices", |
| 1079 |
Handler: _AppHub_ListServices_Handler, |
| 1080 |
}, |
| 1081 |
{ |
| 1082 |
MethodName: "CreateService", |
| 1083 |
Handler: _AppHub_CreateService_Handler, |
| 1084 |
}, |
| 1085 |
{ |
| 1086 |
MethodName: "GetService", |
| 1087 |
Handler: _AppHub_GetService_Handler, |
| 1088 |
}, |
| 1089 |
{ |
| 1090 |
MethodName: "UpdateService", |
| 1091 |
Handler: _AppHub_UpdateService_Handler, |
| 1092 |
}, |
| 1093 |
{ |
| 1094 |
MethodName: "DeleteService", |
| 1095 |
Handler: _AppHub_DeleteService_Handler, |
| 1096 |
}, |
| 1097 |
{ |
| 1098 |
MethodName: "ListDiscoveredWorkloads", |
| 1099 |
Handler: _AppHub_ListDiscoveredWorkloads_Handler, |
| 1100 |
}, |
| 1101 |
{ |
| 1102 |
MethodName: "GetDiscoveredWorkload", |
| 1103 |
Handler: _AppHub_GetDiscoveredWorkload_Handler, |
| 1104 |
}, |
| 1105 |
{ |
| 1106 |
MethodName: "LookupDiscoveredWorkload", |
| 1107 |
Handler: _AppHub_LookupDiscoveredWorkload_Handler, |
| 1108 |
}, |
| 1109 |
{ |
| 1110 |
MethodName: "ListWorkloads", |
| 1111 |
Handler: _AppHub_ListWorkloads_Handler, |
| 1112 |
}, |
| 1113 |
{ |
| 1114 |
MethodName: "CreateWorkload", |
| 1115 |
Handler: _AppHub_CreateWorkload_Handler, |
| 1116 |
}, |
| 1117 |
{ |
| 1118 |
MethodName: "GetWorkload", |
| 1119 |
Handler: _AppHub_GetWorkload_Handler, |
| 1120 |
}, |
| 1121 |
{ |
| 1122 |
MethodName: "UpdateWorkload", |
| 1123 |
Handler: _AppHub_UpdateWorkload_Handler, |
| 1124 |
}, |
| 1125 |
{ |
| 1126 |
MethodName: "DeleteWorkload", |
| 1127 |
Handler: _AppHub_DeleteWorkload_Handler, |
| 1128 |
}, |
| 1129 |
{ |
| 1130 |
MethodName: "ListApplications", |
| 1131 |
Handler: _AppHub_ListApplications_Handler, |
| 1132 |
}, |
| 1133 |
{ |
| 1134 |
MethodName: "CreateApplication", |
| 1135 |
Handler: _AppHub_CreateApplication_Handler, |
| 1136 |
}, |
| 1137 |
{ |
| 1138 |
MethodName: "GetApplication", |
| 1139 |
Handler: _AppHub_GetApplication_Handler, |
| 1140 |
}, |
| 1141 |
{ |
| 1142 |
MethodName: "UpdateApplication", |
| 1143 |
Handler: _AppHub_UpdateApplication_Handler, |
| 1144 |
}, |
| 1145 |
{ |
| 1146 |
MethodName: "DeleteApplication", |
| 1147 |
Handler: _AppHub_DeleteApplication_Handler, |
| 1148 |
}, |
| 1149 |
}, |
| 1150 |
Streams: []grpc.StreamDesc{}, |
| 1151 |
Metadata: "google/cloud/apphub/v1/apphub_service.proto", |
| 1152 |
} |