| 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/eventarc/v1/eventarc.proto |
| 20 |
|
| 21 |
package eventarcpb |
| 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 |
Eventarc_GetTrigger_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetTrigger" |
| 38 |
Eventarc_ListTriggers_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListTriggers" |
| 39 |
Eventarc_CreateTrigger_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreateTrigger" |
| 40 |
Eventarc_UpdateTrigger_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdateTrigger" |
| 41 |
Eventarc_DeleteTrigger_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeleteTrigger" |
| 42 |
Eventarc_GetChannel_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetChannel" |
| 43 |
Eventarc_ListChannels_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListChannels" |
| 44 |
Eventarc_CreateChannel_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreateChannel" |
| 45 |
Eventarc_UpdateChannel_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdateChannel" |
| 46 |
Eventarc_DeleteChannel_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeleteChannel" |
| 47 |
Eventarc_GetProvider_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetProvider" |
| 48 |
Eventarc_ListProviders_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListProviders" |
| 49 |
Eventarc_GetChannelConnection_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetChannelConnection" |
| 50 |
Eventarc_ListChannelConnections_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListChannelConnections" |
| 51 |
Eventarc_CreateChannelConnection_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreateChannelConnection" |
| 52 |
Eventarc_DeleteChannelConnection_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeleteChannelConnection" |
| 53 |
Eventarc_GetGoogleChannelConfig_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetGoogleChannelConfig" |
| 54 |
Eventarc_UpdateGoogleChannelConfig_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdateGoogleChannelConfig" |
| 55 |
Eventarc_GetMessageBus_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetMessageBus" |
| 56 |
Eventarc_ListMessageBuses_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListMessageBuses" |
| 57 |
Eventarc_ListMessageBusEnrollments_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListMessageBusEnrollments" |
| 58 |
Eventarc_CreateMessageBus_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreateMessageBus" |
| 59 |
Eventarc_UpdateMessageBus_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdateMessageBus" |
| 60 |
Eventarc_DeleteMessageBus_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeleteMessageBus" |
| 61 |
Eventarc_GetEnrollment_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetEnrollment" |
| 62 |
Eventarc_ListEnrollments_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListEnrollments" |
| 63 |
Eventarc_CreateEnrollment_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreateEnrollment" |
| 64 |
Eventarc_UpdateEnrollment_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdateEnrollment" |
| 65 |
Eventarc_DeleteEnrollment_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeleteEnrollment" |
| 66 |
Eventarc_GetPipeline_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetPipeline" |
| 67 |
Eventarc_ListPipelines_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListPipelines" |
| 68 |
Eventarc_CreatePipeline_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreatePipeline" |
| 69 |
Eventarc_UpdatePipeline_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdatePipeline" |
| 70 |
Eventarc_DeletePipeline_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeletePipeline" |
| 71 |
Eventarc_GetGoogleApiSource_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/GetGoogleApiSource" |
| 72 |
Eventarc_ListGoogleApiSources_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/ListGoogleApiSources" |
| 73 |
Eventarc_CreateGoogleApiSource_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/CreateGoogleApiSource" |
| 74 |
Eventarc_UpdateGoogleApiSource_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/UpdateGoogleApiSource" |
| 75 |
Eventarc_DeleteGoogleApiSource_FullMethodName = "/google.cloud.eventarc.v1.Eventarc/DeleteGoogleApiSource" |
| 76 |
) |
| 77 |
|
| 78 |
// EventarcClient is the client API for Eventarc service. |
| 79 |
// |
| 80 |
// 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. |
| 81 |
type EventarcClient interface { |
| 82 |
// Get a single trigger. |
| 83 |
GetTrigger(ctx context.Context, in *GetTriggerRequest, opts ...grpc.CallOption) (*Trigger, error) |
| 84 |
// List triggers. |
| 85 |
ListTriggers(ctx context.Context, in *ListTriggersRequest, opts ...grpc.CallOption) (*ListTriggersResponse, error) |
| 86 |
// Create a new trigger in a particular project and location. |
| 87 |
CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 88 |
// Update a single trigger. |
| 89 |
UpdateTrigger(ctx context.Context, in *UpdateTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 90 |
// Delete a single trigger. |
| 91 |
DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 92 |
// Get a single Channel. |
| 93 |
GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*Channel, error) |
| 94 |
// List channels. |
| 95 |
ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error) |
| 96 |
// Create a new channel in a particular project and location. |
| 97 |
CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 98 |
// Update a single channel. |
| 99 |
UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 100 |
// Delete a single channel. |
| 101 |
DeleteChannel(ctx context.Context, in *DeleteChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 102 |
// Get a single Provider. |
| 103 |
GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*Provider, error) |
| 104 |
// List providers. |
| 105 |
ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error) |
| 106 |
// Get a single ChannelConnection. |
| 107 |
GetChannelConnection(ctx context.Context, in *GetChannelConnectionRequest, opts ...grpc.CallOption) (*ChannelConnection, error) |
| 108 |
// List channel connections. |
| 109 |
ListChannelConnections(ctx context.Context, in *ListChannelConnectionsRequest, opts ...grpc.CallOption) (*ListChannelConnectionsResponse, error) |
| 110 |
// Create a new ChannelConnection in a particular project and location. |
| 111 |
CreateChannelConnection(ctx context.Context, in *CreateChannelConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 112 |
// Delete a single ChannelConnection. |
| 113 |
DeleteChannelConnection(ctx context.Context, in *DeleteChannelConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 114 |
// Get a GoogleChannelConfig. |
| 115 |
// The name of the GoogleChannelConfig in the response is ALWAYS coded with |
| 116 |
// projectID. |
| 117 |
GetGoogleChannelConfig(ctx context.Context, in *GetGoogleChannelConfigRequest, opts ...grpc.CallOption) (*GoogleChannelConfig, error) |
| 118 |
// Update a single GoogleChannelConfig |
| 119 |
UpdateGoogleChannelConfig(ctx context.Context, in *UpdateGoogleChannelConfigRequest, opts ...grpc.CallOption) (*GoogleChannelConfig, error) |
| 120 |
// Get a single MessageBus. |
| 121 |
GetMessageBus(ctx context.Context, in *GetMessageBusRequest, opts ...grpc.CallOption) (*MessageBus, error) |
| 122 |
// List message buses. |
| 123 |
ListMessageBuses(ctx context.Context, in *ListMessageBusesRequest, opts ...grpc.CallOption) (*ListMessageBusesResponse, error) |
| 124 |
// List message bus enrollments. |
| 125 |
ListMessageBusEnrollments(ctx context.Context, in *ListMessageBusEnrollmentsRequest, opts ...grpc.CallOption) (*ListMessageBusEnrollmentsResponse, error) |
| 126 |
// Create a new MessageBus in a particular project and location. |
| 127 |
CreateMessageBus(ctx context.Context, in *CreateMessageBusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 128 |
// Update a single message bus. |
| 129 |
UpdateMessageBus(ctx context.Context, in *UpdateMessageBusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 130 |
// Delete a single message bus. |
| 131 |
DeleteMessageBus(ctx context.Context, in *DeleteMessageBusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 132 |
// Get a single Enrollment. |
| 133 |
GetEnrollment(ctx context.Context, in *GetEnrollmentRequest, opts ...grpc.CallOption) (*Enrollment, error) |
| 134 |
// List Enrollments. |
| 135 |
ListEnrollments(ctx context.Context, in *ListEnrollmentsRequest, opts ...grpc.CallOption) (*ListEnrollmentsResponse, error) |
| 136 |
// Create a new Enrollment in a particular project and location. |
| 137 |
CreateEnrollment(ctx context.Context, in *CreateEnrollmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 138 |
// Update a single Enrollment. |
| 139 |
UpdateEnrollment(ctx context.Context, in *UpdateEnrollmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 140 |
// Delete a single Enrollment. |
| 141 |
DeleteEnrollment(ctx context.Context, in *DeleteEnrollmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 142 |
// Get a single Pipeline. |
| 143 |
GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) |
| 144 |
// List pipelines. |
| 145 |
ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error) |
| 146 |
// Create a new Pipeline in a particular project and location. |
| 147 |
CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 148 |
// Update a single pipeline. |
| 149 |
UpdatePipeline(ctx context.Context, in *UpdatePipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 150 |
// Delete a single pipeline. |
| 151 |
DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 152 |
// Get a single GoogleApiSource. |
| 153 |
GetGoogleApiSource(ctx context.Context, in *GetGoogleApiSourceRequest, opts ...grpc.CallOption) (*GoogleApiSource, error) |
| 154 |
// List GoogleApiSources. |
| 155 |
ListGoogleApiSources(ctx context.Context, in *ListGoogleApiSourcesRequest, opts ...grpc.CallOption) (*ListGoogleApiSourcesResponse, error) |
| 156 |
// Create a new GoogleApiSource in a particular project and location. |
| 157 |
CreateGoogleApiSource(ctx context.Context, in *CreateGoogleApiSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 158 |
// Update a single GoogleApiSource. |
| 159 |
UpdateGoogleApiSource(ctx context.Context, in *UpdateGoogleApiSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 160 |
// Delete a single GoogleApiSource. |
| 161 |
DeleteGoogleApiSource(ctx context.Context, in *DeleteGoogleApiSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 162 |
} |
| 163 |
|
| 164 |
type eventarcClient struct { |
| 165 |
cc grpc.ClientConnInterface |
| 166 |
} |
| 167 |
|
| 168 |
func NewEventarcClient(cc grpc.ClientConnInterface) EventarcClient { |
| 169 |
return &eventarcClient{cc} |
| 170 |
} |
| 171 |
|
| 172 |
func (c *eventarcClient) GetTrigger(ctx context.Context, in *GetTriggerRequest, opts ...grpc.CallOption) (*Trigger, error) { |
| 173 |
out := new(Trigger) |
| 174 |
err := c.cc.Invoke(ctx, Eventarc_GetTrigger_FullMethodName, in, out, opts...) |
| 175 |
if err != nil { |
| 176 |
return nil, err |
| 177 |
} |
| 178 |
return out, nil |
| 179 |
} |
| 180 |
|
| 181 |
func (c *eventarcClient) ListTriggers(ctx context.Context, in *ListTriggersRequest, opts ...grpc.CallOption) (*ListTriggersResponse, error) { |
| 182 |
out := new(ListTriggersResponse) |
| 183 |
err := c.cc.Invoke(ctx, Eventarc_ListTriggers_FullMethodName, in, out, opts...) |
| 184 |
if err != nil { |
| 185 |
return nil, err |
| 186 |
} |
| 187 |
return out, nil |
| 188 |
} |
| 189 |
|
| 190 |
func (c *eventarcClient) CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 191 |
out := new(longrunningpb.Operation) |
| 192 |
err := c.cc.Invoke(ctx, Eventarc_CreateTrigger_FullMethodName, in, out, opts...) |
| 193 |
if err != nil { |
| 194 |
return nil, err |
| 195 |
} |
| 196 |
return out, nil |
| 197 |
} |
| 198 |
|
| 199 |
func (c *eventarcClient) UpdateTrigger(ctx context.Context, in *UpdateTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 200 |
out := new(longrunningpb.Operation) |
| 201 |
err := c.cc.Invoke(ctx, Eventarc_UpdateTrigger_FullMethodName, in, out, opts...) |
| 202 |
if err != nil { |
| 203 |
return nil, err |
| 204 |
} |
| 205 |
return out, nil |
| 206 |
} |
| 207 |
|
| 208 |
func (c *eventarcClient) DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 209 |
out := new(longrunningpb.Operation) |
| 210 |
err := c.cc.Invoke(ctx, Eventarc_DeleteTrigger_FullMethodName, in, out, opts...) |
| 211 |
if err != nil { |
| 212 |
return nil, err |
| 213 |
} |
| 214 |
return out, nil |
| 215 |
} |
| 216 |
|
| 217 |
func (c *eventarcClient) GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*Channel, error) { |
| 218 |
out := new(Channel) |
| 219 |
err := c.cc.Invoke(ctx, Eventarc_GetChannel_FullMethodName, in, out, opts...) |
| 220 |
if err != nil { |
| 221 |
return nil, err |
| 222 |
} |
| 223 |
return out, nil |
| 224 |
} |
| 225 |
|
| 226 |
func (c *eventarcClient) ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error) { |
| 227 |
out := new(ListChannelsResponse) |
| 228 |
err := c.cc.Invoke(ctx, Eventarc_ListChannels_FullMethodName, in, out, opts...) |
| 229 |
if err != nil { |
| 230 |
return nil, err |
| 231 |
} |
| 232 |
return out, nil |
| 233 |
} |
| 234 |
|
| 235 |
func (c *eventarcClient) CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 236 |
out := new(longrunningpb.Operation) |
| 237 |
err := c.cc.Invoke(ctx, Eventarc_CreateChannel_FullMethodName, in, out, opts...) |
| 238 |
if err != nil { |
| 239 |
return nil, err |
| 240 |
} |
| 241 |
return out, nil |
| 242 |
} |
| 243 |
|
| 244 |
func (c *eventarcClient) UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 245 |
out := new(longrunningpb.Operation) |
| 246 |
err := c.cc.Invoke(ctx, Eventarc_UpdateChannel_FullMethodName, in, out, opts...) |
| 247 |
if err != nil { |
| 248 |
return nil, err |
| 249 |
} |
| 250 |
return out, nil |
| 251 |
} |
| 252 |
|
| 253 |
func (c *eventarcClient) DeleteChannel(ctx context.Context, in *DeleteChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 254 |
out := new(longrunningpb.Operation) |
| 255 |
err := c.cc.Invoke(ctx, Eventarc_DeleteChannel_FullMethodName, in, out, opts...) |
| 256 |
if err != nil { |
| 257 |
return nil, err |
| 258 |
} |
| 259 |
return out, nil |
| 260 |
} |
| 261 |
|
| 262 |
func (c *eventarcClient) GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*Provider, error) { |
| 263 |
out := new(Provider) |
| 264 |
err := c.cc.Invoke(ctx, Eventarc_GetProvider_FullMethodName, in, out, opts...) |
| 265 |
if err != nil { |
| 266 |
return nil, err |
| 267 |
} |
| 268 |
return out, nil |
| 269 |
} |
| 270 |
|
| 271 |
func (c *eventarcClient) ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error) { |
| 272 |
out := new(ListProvidersResponse) |
| 273 |
err := c.cc.Invoke(ctx, Eventarc_ListProviders_FullMethodName, in, out, opts...) |
| 274 |
if err != nil { |
| 275 |
return nil, err |
| 276 |
} |
| 277 |
return out, nil |
| 278 |
} |
| 279 |
|
| 280 |
func (c *eventarcClient) GetChannelConnection(ctx context.Context, in *GetChannelConnectionRequest, opts ...grpc.CallOption) (*ChannelConnection, error) { |
| 281 |
out := new(ChannelConnection) |
| 282 |
err := c.cc.Invoke(ctx, Eventarc_GetChannelConnection_FullMethodName, in, out, opts...) |
| 283 |
if err != nil { |
| 284 |
return nil, err |
| 285 |
} |
| 286 |
return out, nil |
| 287 |
} |
| 288 |
|
| 289 |
func (c *eventarcClient) ListChannelConnections(ctx context.Context, in *ListChannelConnectionsRequest, opts ...grpc.CallOption) (*ListChannelConnectionsResponse, error) { |
| 290 |
out := new(ListChannelConnectionsResponse) |
| 291 |
err := c.cc.Invoke(ctx, Eventarc_ListChannelConnections_FullMethodName, in, out, opts...) |
| 292 |
if err != nil { |
| 293 |
return nil, err |
| 294 |
} |
| 295 |
return out, nil |
| 296 |
} |
| 297 |
|
| 298 |
func (c *eventarcClient) CreateChannelConnection(ctx context.Context, in *CreateChannelConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 299 |
out := new(longrunningpb.Operation) |
| 300 |
err := c.cc.Invoke(ctx, Eventarc_CreateChannelConnection_FullMethodName, in, out, opts...) |
| 301 |
if err != nil { |
| 302 |
return nil, err |
| 303 |
} |
| 304 |
return out, nil |
| 305 |
} |
| 306 |
|
| 307 |
func (c *eventarcClient) DeleteChannelConnection(ctx context.Context, in *DeleteChannelConnectionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 308 |
out := new(longrunningpb.Operation) |
| 309 |
err := c.cc.Invoke(ctx, Eventarc_DeleteChannelConnection_FullMethodName, in, out, opts...) |
| 310 |
if err != nil { |
| 311 |
return nil, err |
| 312 |
} |
| 313 |
return out, nil |
| 314 |
} |
| 315 |
|
| 316 |
func (c *eventarcClient) GetGoogleChannelConfig(ctx context.Context, in *GetGoogleChannelConfigRequest, opts ...grpc.CallOption) (*GoogleChannelConfig, error) { |
| 317 |
out := new(GoogleChannelConfig) |
| 318 |
err := c.cc.Invoke(ctx, Eventarc_GetGoogleChannelConfig_FullMethodName, in, out, opts...) |
| 319 |
if err != nil { |
| 320 |
return nil, err |
| 321 |
} |
| 322 |
return out, nil |
| 323 |
} |
| 324 |
|
| 325 |
func (c *eventarcClient) UpdateGoogleChannelConfig(ctx context.Context, in *UpdateGoogleChannelConfigRequest, opts ...grpc.CallOption) (*GoogleChannelConfig, error) { |
| 326 |
out := new(GoogleChannelConfig) |
| 327 |
err := c.cc.Invoke(ctx, Eventarc_UpdateGoogleChannelConfig_FullMethodName, in, out, opts...) |
| 328 |
if err != nil { |
| 329 |
return nil, err |
| 330 |
} |
| 331 |
return out, nil |
| 332 |
} |
| 333 |
|
| 334 |
func (c *eventarcClient) GetMessageBus(ctx context.Context, in *GetMessageBusRequest, opts ...grpc.CallOption) (*MessageBus, error) { |
| 335 |
out := new(MessageBus) |
| 336 |
err := c.cc.Invoke(ctx, Eventarc_GetMessageBus_FullMethodName, in, out, opts...) |
| 337 |
if err != nil { |
| 338 |
return nil, err |
| 339 |
} |
| 340 |
return out, nil |
| 341 |
} |
| 342 |
|
| 343 |
func (c *eventarcClient) ListMessageBuses(ctx context.Context, in *ListMessageBusesRequest, opts ...grpc.CallOption) (*ListMessageBusesResponse, error) { |
| 344 |
out := new(ListMessageBusesResponse) |
| 345 |
err := c.cc.Invoke(ctx, Eventarc_ListMessageBuses_FullMethodName, in, out, opts...) |
| 346 |
if err != nil { |
| 347 |
return nil, err |
| 348 |
} |
| 349 |
return out, nil |
| 350 |
} |
| 351 |
|
| 352 |
func (c *eventarcClient) ListMessageBusEnrollments(ctx context.Context, in *ListMessageBusEnrollmentsRequest, opts ...grpc.CallOption) (*ListMessageBusEnrollmentsResponse, error) { |
| 353 |
out := new(ListMessageBusEnrollmentsResponse) |
| 354 |
err := c.cc.Invoke(ctx, Eventarc_ListMessageBusEnrollments_FullMethodName, in, out, opts...) |
| 355 |
if err != nil { |
| 356 |
return nil, err |
| 357 |
} |
| 358 |
return out, nil |
| 359 |
} |
| 360 |
|
| 361 |
func (c *eventarcClient) CreateMessageBus(ctx context.Context, in *CreateMessageBusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 362 |
out := new(longrunningpb.Operation) |
| 363 |
err := c.cc.Invoke(ctx, Eventarc_CreateMessageBus_FullMethodName, in, out, opts...) |
| 364 |
if err != nil { |
| 365 |
return nil, err |
| 366 |
} |
| 367 |
return out, nil |
| 368 |
} |
| 369 |
|
| 370 |
func (c *eventarcClient) UpdateMessageBus(ctx context.Context, in *UpdateMessageBusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 371 |
out := new(longrunningpb.Operation) |
| 372 |
err := c.cc.Invoke(ctx, Eventarc_UpdateMessageBus_FullMethodName, in, out, opts...) |
| 373 |
if err != nil { |
| 374 |
return nil, err |
| 375 |
} |
| 376 |
return out, nil |
| 377 |
} |
| 378 |
|
| 379 |
func (c *eventarcClient) DeleteMessageBus(ctx context.Context, in *DeleteMessageBusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 380 |
out := new(longrunningpb.Operation) |
| 381 |
err := c.cc.Invoke(ctx, Eventarc_DeleteMessageBus_FullMethodName, in, out, opts...) |
| 382 |
if err != nil { |
| 383 |
return nil, err |
| 384 |
} |
| 385 |
return out, nil |
| 386 |
} |
| 387 |
|
| 388 |
func (c *eventarcClient) GetEnrollment(ctx context.Context, in *GetEnrollmentRequest, opts ...grpc.CallOption) (*Enrollment, error) { |
| 389 |
out := new(Enrollment) |
| 390 |
err := c.cc.Invoke(ctx, Eventarc_GetEnrollment_FullMethodName, in, out, opts...) |
| 391 |
if err != nil { |
| 392 |
return nil, err |
| 393 |
} |
| 394 |
return out, nil |
| 395 |
} |
| 396 |
|
| 397 |
func (c *eventarcClient) ListEnrollments(ctx context.Context, in *ListEnrollmentsRequest, opts ...grpc.CallOption) (*ListEnrollmentsResponse, error) { |
| 398 |
out := new(ListEnrollmentsResponse) |
| 399 |
err := c.cc.Invoke(ctx, Eventarc_ListEnrollments_FullMethodName, in, out, opts...) |
| 400 |
if err != nil { |
| 401 |
return nil, err |
| 402 |
} |
| 403 |
return out, nil |
| 404 |
} |
| 405 |
|
| 406 |
func (c *eventarcClient) CreateEnrollment(ctx context.Context, in *CreateEnrollmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 407 |
out := new(longrunningpb.Operation) |
| 408 |
err := c.cc.Invoke(ctx, Eventarc_CreateEnrollment_FullMethodName, in, out, opts...) |
| 409 |
if err != nil { |
| 410 |
return nil, err |
| 411 |
} |
| 412 |
return out, nil |
| 413 |
} |
| 414 |
|
| 415 |
func (c *eventarcClient) UpdateEnrollment(ctx context.Context, in *UpdateEnrollmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 416 |
out := new(longrunningpb.Operation) |
| 417 |
err := c.cc.Invoke(ctx, Eventarc_UpdateEnrollment_FullMethodName, in, out, opts...) |
| 418 |
if err != nil { |
| 419 |
return nil, err |
| 420 |
} |
| 421 |
return out, nil |
| 422 |
} |
| 423 |
|
| 424 |
func (c *eventarcClient) DeleteEnrollment(ctx context.Context, in *DeleteEnrollmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 425 |
out := new(longrunningpb.Operation) |
| 426 |
err := c.cc.Invoke(ctx, Eventarc_DeleteEnrollment_FullMethodName, in, out, opts...) |
| 427 |
if err != nil { |
| 428 |
return nil, err |
| 429 |
} |
| 430 |
return out, nil |
| 431 |
} |
| 432 |
|
| 433 |
func (c *eventarcClient) GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*Pipeline, error) { |
| 434 |
out := new(Pipeline) |
| 435 |
err := c.cc.Invoke(ctx, Eventarc_GetPipeline_FullMethodName, in, out, opts...) |
| 436 |
if err != nil { |
| 437 |
return nil, err |
| 438 |
} |
| 439 |
return out, nil |
| 440 |
} |
| 441 |
|
| 442 |
func (c *eventarcClient) ListPipelines(ctx context.Context, in *ListPipelinesRequest, opts ...grpc.CallOption) (*ListPipelinesResponse, error) { |
| 443 |
out := new(ListPipelinesResponse) |
| 444 |
err := c.cc.Invoke(ctx, Eventarc_ListPipelines_FullMethodName, in, out, opts...) |
| 445 |
if err != nil { |
| 446 |
return nil, err |
| 447 |
} |
| 448 |
return out, nil |
| 449 |
} |
| 450 |
|
| 451 |
func (c *eventarcClient) CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 452 |
out := new(longrunningpb.Operation) |
| 453 |
err := c.cc.Invoke(ctx, Eventarc_CreatePipeline_FullMethodName, in, out, opts...) |
| 454 |
if err != nil { |
| 455 |
return nil, err |
| 456 |
} |
| 457 |
return out, nil |
| 458 |
} |
| 459 |
|
| 460 |
func (c *eventarcClient) UpdatePipeline(ctx context.Context, in *UpdatePipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 461 |
out := new(longrunningpb.Operation) |
| 462 |
err := c.cc.Invoke(ctx, Eventarc_UpdatePipeline_FullMethodName, in, out, opts...) |
| 463 |
if err != nil { |
| 464 |
return nil, err |
| 465 |
} |
| 466 |
return out, nil |
| 467 |
} |
| 468 |
|
| 469 |
func (c *eventarcClient) DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 470 |
out := new(longrunningpb.Operation) |
| 471 |
err := c.cc.Invoke(ctx, Eventarc_DeletePipeline_FullMethodName, in, out, opts...) |
| 472 |
if err != nil { |
| 473 |
return nil, err |
| 474 |
} |
| 475 |
return out, nil |
| 476 |
} |
| 477 |
|
| 478 |
func (c *eventarcClient) GetGoogleApiSource(ctx context.Context, in *GetGoogleApiSourceRequest, opts ...grpc.CallOption) (*GoogleApiSource, error) { |
| 479 |
out := new(GoogleApiSource) |
| 480 |
err := c.cc.Invoke(ctx, Eventarc_GetGoogleApiSource_FullMethodName, in, out, opts...) |
| 481 |
if err != nil { |
| 482 |
return nil, err |
| 483 |
} |
| 484 |
return out, nil |
| 485 |
} |
| 486 |
|
| 487 |
func (c *eventarcClient) ListGoogleApiSources(ctx context.Context, in *ListGoogleApiSourcesRequest, opts ...grpc.CallOption) (*ListGoogleApiSourcesResponse, error) { |
| 488 |
out := new(ListGoogleApiSourcesResponse) |
| 489 |
err := c.cc.Invoke(ctx, Eventarc_ListGoogleApiSources_FullMethodName, in, out, opts...) |
| 490 |
if err != nil { |
| 491 |
return nil, err |
| 492 |
} |
| 493 |
return out, nil |
| 494 |
} |
| 495 |
|
| 496 |
func (c *eventarcClient) CreateGoogleApiSource(ctx context.Context, in *CreateGoogleApiSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 497 |
out := new(longrunningpb.Operation) |
| 498 |
err := c.cc.Invoke(ctx, Eventarc_CreateGoogleApiSource_FullMethodName, in, out, opts...) |
| 499 |
if err != nil { |
| 500 |
return nil, err |
| 501 |
} |
| 502 |
return out, nil |
| 503 |
} |
| 504 |
|
| 505 |
func (c *eventarcClient) UpdateGoogleApiSource(ctx context.Context, in *UpdateGoogleApiSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 506 |
out := new(longrunningpb.Operation) |
| 507 |
err := c.cc.Invoke(ctx, Eventarc_UpdateGoogleApiSource_FullMethodName, in, out, opts...) |
| 508 |
if err != nil { |
| 509 |
return nil, err |
| 510 |
} |
| 511 |
return out, nil |
| 512 |
} |
| 513 |
|
| 514 |
func (c *eventarcClient) DeleteGoogleApiSource(ctx context.Context, in *DeleteGoogleApiSourceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 515 |
out := new(longrunningpb.Operation) |
| 516 |
err := c.cc.Invoke(ctx, Eventarc_DeleteGoogleApiSource_FullMethodName, in, out, opts...) |
| 517 |
if err != nil { |
| 518 |
return nil, err |
| 519 |
} |
| 520 |
return out, nil |
| 521 |
} |
| 522 |
|
| 523 |
// EventarcServer is the server API for Eventarc service. |
| 524 |
// All implementations should embed UnimplementedEventarcServer |
| 525 |
// for forward compatibility |
| 526 |
type EventarcServer interface { |
| 527 |
// Get a single trigger. |
| 528 |
GetTrigger(context.Context, *GetTriggerRequest) (*Trigger, error) |
| 529 |
// List triggers. |
| 530 |
ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error) |
| 531 |
// Create a new trigger in a particular project and location. |
| 532 |
CreateTrigger(context.Context, *CreateTriggerRequest) (*longrunningpb.Operation, error) |
| 533 |
// Update a single trigger. |
| 534 |
UpdateTrigger(context.Context, *UpdateTriggerRequest) (*longrunningpb.Operation, error) |
| 535 |
// Delete a single trigger. |
| 536 |
DeleteTrigger(context.Context, *DeleteTriggerRequest) (*longrunningpb.Operation, error) |
| 537 |
// Get a single Channel. |
| 538 |
GetChannel(context.Context, *GetChannelRequest) (*Channel, error) |
| 539 |
// List channels. |
| 540 |
ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error) |
| 541 |
// Create a new channel in a particular project and location. |
| 542 |
CreateChannel(context.Context, *CreateChannelRequest) (*longrunningpb.Operation, error) |
| 543 |
// Update a single channel. |
| 544 |
UpdateChannel(context.Context, *UpdateChannelRequest) (*longrunningpb.Operation, error) |
| 545 |
// Delete a single channel. |
| 546 |
DeleteChannel(context.Context, *DeleteChannelRequest) (*longrunningpb.Operation, error) |
| 547 |
// Get a single Provider. |
| 548 |
GetProvider(context.Context, *GetProviderRequest) (*Provider, error) |
| 549 |
// List providers. |
| 550 |
ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error) |
| 551 |
// Get a single ChannelConnection. |
| 552 |
GetChannelConnection(context.Context, *GetChannelConnectionRequest) (*ChannelConnection, error) |
| 553 |
// List channel connections. |
| 554 |
ListChannelConnections(context.Context, *ListChannelConnectionsRequest) (*ListChannelConnectionsResponse, error) |
| 555 |
// Create a new ChannelConnection in a particular project and location. |
| 556 |
CreateChannelConnection(context.Context, *CreateChannelConnectionRequest) (*longrunningpb.Operation, error) |
| 557 |
// Delete a single ChannelConnection. |
| 558 |
DeleteChannelConnection(context.Context, *DeleteChannelConnectionRequest) (*longrunningpb.Operation, error) |
| 559 |
// Get a GoogleChannelConfig. |
| 560 |
// The name of the GoogleChannelConfig in the response is ALWAYS coded with |
| 561 |
// projectID. |
| 562 |
GetGoogleChannelConfig(context.Context, *GetGoogleChannelConfigRequest) (*GoogleChannelConfig, error) |
| 563 |
// Update a single GoogleChannelConfig |
| 564 |
UpdateGoogleChannelConfig(context.Context, *UpdateGoogleChannelConfigRequest) (*GoogleChannelConfig, error) |
| 565 |
// Get a single MessageBus. |
| 566 |
GetMessageBus(context.Context, *GetMessageBusRequest) (*MessageBus, error) |
| 567 |
// List message buses. |
| 568 |
ListMessageBuses(context.Context, *ListMessageBusesRequest) (*ListMessageBusesResponse, error) |
| 569 |
// List message bus enrollments. |
| 570 |
ListMessageBusEnrollments(context.Context, *ListMessageBusEnrollmentsRequest) (*ListMessageBusEnrollmentsResponse, error) |
| 571 |
// Create a new MessageBus in a particular project and location. |
| 572 |
CreateMessageBus(context.Context, *CreateMessageBusRequest) (*longrunningpb.Operation, error) |
| 573 |
// Update a single message bus. |
| 574 |
UpdateMessageBus(context.Context, *UpdateMessageBusRequest) (*longrunningpb.Operation, error) |
| 575 |
// Delete a single message bus. |
| 576 |
DeleteMessageBus(context.Context, *DeleteMessageBusRequest) (*longrunningpb.Operation, error) |
| 577 |
// Get a single Enrollment. |
| 578 |
GetEnrollment(context.Context, *GetEnrollmentRequest) (*Enrollment, error) |
| 579 |
// List Enrollments. |
| 580 |
ListEnrollments(context.Context, *ListEnrollmentsRequest) (*ListEnrollmentsResponse, error) |
| 581 |
// Create a new Enrollment in a particular project and location. |
| 582 |
CreateEnrollment(context.Context, *CreateEnrollmentRequest) (*longrunningpb.Operation, error) |
| 583 |
// Update a single Enrollment. |
| 584 |
UpdateEnrollment(context.Context, *UpdateEnrollmentRequest) (*longrunningpb.Operation, error) |
| 585 |
// Delete a single Enrollment. |
| 586 |
DeleteEnrollment(context.Context, *DeleteEnrollmentRequest) (*longrunningpb.Operation, error) |
| 587 |
// Get a single Pipeline. |
| 588 |
GetPipeline(context.Context, *GetPipelineRequest) (*Pipeline, error) |
| 589 |
// List pipelines. |
| 590 |
ListPipelines(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error) |
| 591 |
// Create a new Pipeline in a particular project and location. |
| 592 |
CreatePipeline(context.Context, *CreatePipelineRequest) (*longrunningpb.Operation, error) |
| 593 |
// Update a single pipeline. |
| 594 |
UpdatePipeline(context.Context, *UpdatePipelineRequest) (*longrunningpb.Operation, error) |
| 595 |
// Delete a single pipeline. |
| 596 |
DeletePipeline(context.Context, *DeletePipelineRequest) (*longrunningpb.Operation, error) |
| 597 |
// Get a single GoogleApiSource. |
| 598 |
GetGoogleApiSource(context.Context, *GetGoogleApiSourceRequest) (*GoogleApiSource, error) |
| 599 |
// List GoogleApiSources. |
| 600 |
ListGoogleApiSources(context.Context, *ListGoogleApiSourcesRequest) (*ListGoogleApiSourcesResponse, error) |
| 601 |
// Create a new GoogleApiSource in a particular project and location. |
| 602 |
CreateGoogleApiSource(context.Context, *CreateGoogleApiSourceRequest) (*longrunningpb.Operation, error) |
| 603 |
// Update a single GoogleApiSource. |
| 604 |
UpdateGoogleApiSource(context.Context, *UpdateGoogleApiSourceRequest) (*longrunningpb.Operation, error) |
| 605 |
// Delete a single GoogleApiSource. |
| 606 |
DeleteGoogleApiSource(context.Context, *DeleteGoogleApiSourceRequest) (*longrunningpb.Operation, error) |
| 607 |
} |
| 608 |
|
| 609 |
// UnimplementedEventarcServer should be embedded to have forward compatible implementations. |
| 610 |
type UnimplementedEventarcServer struct { |
| 611 |
} |
| 612 |
|
| 613 |
func (UnimplementedEventarcServer) GetTrigger(context.Context, *GetTriggerRequest) (*Trigger, error) { |
| 614 |
return nil, status.Errorf(codes.Unimplemented, "method GetTrigger not implemented") |
| 615 |
} |
| 616 |
func (UnimplementedEventarcServer) ListTriggers(context.Context, *ListTriggersRequest) (*ListTriggersResponse, error) { |
| 617 |
return nil, status.Errorf(codes.Unimplemented, "method ListTriggers not implemented") |
| 618 |
} |
| 619 |
func (UnimplementedEventarcServer) CreateTrigger(context.Context, *CreateTriggerRequest) (*longrunningpb.Operation, error) { |
| 620 |
return nil, status.Errorf(codes.Unimplemented, "method CreateTrigger not implemented") |
| 621 |
} |
| 622 |
func (UnimplementedEventarcServer) UpdateTrigger(context.Context, *UpdateTriggerRequest) (*longrunningpb.Operation, error) { |
| 623 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateTrigger not implemented") |
| 624 |
} |
| 625 |
func (UnimplementedEventarcServer) DeleteTrigger(context.Context, *DeleteTriggerRequest) (*longrunningpb.Operation, error) { |
| 626 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteTrigger not implemented") |
| 627 |
} |
| 628 |
func (UnimplementedEventarcServer) GetChannel(context.Context, *GetChannelRequest) (*Channel, error) { |
| 629 |
return nil, status.Errorf(codes.Unimplemented, "method GetChannel not implemented") |
| 630 |
} |
| 631 |
func (UnimplementedEventarcServer) ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error) { |
| 632 |
return nil, status.Errorf(codes.Unimplemented, "method ListChannels not implemented") |
| 633 |
} |
| 634 |
func (UnimplementedEventarcServer) CreateChannel(context.Context, *CreateChannelRequest) (*longrunningpb.Operation, error) { |
| 635 |
return nil, status.Errorf(codes.Unimplemented, "method CreateChannel not implemented") |
| 636 |
} |
| 637 |
func (UnimplementedEventarcServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*longrunningpb.Operation, error) { |
| 638 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateChannel not implemented") |
| 639 |
} |
| 640 |
func (UnimplementedEventarcServer) DeleteChannel(context.Context, *DeleteChannelRequest) (*longrunningpb.Operation, error) { |
| 641 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteChannel not implemented") |
| 642 |
} |
| 643 |
func (UnimplementedEventarcServer) GetProvider(context.Context, *GetProviderRequest) (*Provider, error) { |
| 644 |
return nil, status.Errorf(codes.Unimplemented, "method GetProvider not implemented") |
| 645 |
} |
| 646 |
func (UnimplementedEventarcServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error) { |
| 647 |
return nil, status.Errorf(codes.Unimplemented, "method ListProviders not implemented") |
| 648 |
} |
| 649 |
func (UnimplementedEventarcServer) GetChannelConnection(context.Context, *GetChannelConnectionRequest) (*ChannelConnection, error) { |
| 650 |
return nil, status.Errorf(codes.Unimplemented, "method GetChannelConnection not implemented") |
| 651 |
} |
| 652 |
func (UnimplementedEventarcServer) ListChannelConnections(context.Context, *ListChannelConnectionsRequest) (*ListChannelConnectionsResponse, error) { |
| 653 |
return nil, status.Errorf(codes.Unimplemented, "method ListChannelConnections not implemented") |
| 654 |
} |
| 655 |
func (UnimplementedEventarcServer) CreateChannelConnection(context.Context, *CreateChannelConnectionRequest) (*longrunningpb.Operation, error) { |
| 656 |
return nil, status.Errorf(codes.Unimplemented, "method CreateChannelConnection not implemented") |
| 657 |
} |
| 658 |
func (UnimplementedEventarcServer) DeleteChannelConnection(context.Context, *DeleteChannelConnectionRequest) (*longrunningpb.Operation, error) { |
| 659 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteChannelConnection not implemented") |
| 660 |
} |
| 661 |
func (UnimplementedEventarcServer) GetGoogleChannelConfig(context.Context, *GetGoogleChannelConfigRequest) (*GoogleChannelConfig, error) { |
| 662 |
return nil, status.Errorf(codes.Unimplemented, "method GetGoogleChannelConfig not implemented") |
| 663 |
} |
| 664 |
func (UnimplementedEventarcServer) UpdateGoogleChannelConfig(context.Context, *UpdateGoogleChannelConfigRequest) (*GoogleChannelConfig, error) { |
| 665 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateGoogleChannelConfig not implemented") |
| 666 |
} |
| 667 |
func (UnimplementedEventarcServer) GetMessageBus(context.Context, *GetMessageBusRequest) (*MessageBus, error) { |
| 668 |
return nil, status.Errorf(codes.Unimplemented, "method GetMessageBus not implemented") |
| 669 |
} |
| 670 |
func (UnimplementedEventarcServer) ListMessageBuses(context.Context, *ListMessageBusesRequest) (*ListMessageBusesResponse, error) { |
| 671 |
return nil, status.Errorf(codes.Unimplemented, "method ListMessageBuses not implemented") |
| 672 |
} |
| 673 |
func (UnimplementedEventarcServer) ListMessageBusEnrollments(context.Context, *ListMessageBusEnrollmentsRequest) (*ListMessageBusEnrollmentsResponse, error) { |
| 674 |
return nil, status.Errorf(codes.Unimplemented, "method ListMessageBusEnrollments not implemented") |
| 675 |
} |
| 676 |
func (UnimplementedEventarcServer) CreateMessageBus(context.Context, *CreateMessageBusRequest) (*longrunningpb.Operation, error) { |
| 677 |
return nil, status.Errorf(codes.Unimplemented, "method CreateMessageBus not implemented") |
| 678 |
} |
| 679 |
func (UnimplementedEventarcServer) UpdateMessageBus(context.Context, *UpdateMessageBusRequest) (*longrunningpb.Operation, error) { |
| 680 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateMessageBus not implemented") |
| 681 |
} |
| 682 |
func (UnimplementedEventarcServer) DeleteMessageBus(context.Context, *DeleteMessageBusRequest) (*longrunningpb.Operation, error) { |
| 683 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteMessageBus not implemented") |
| 684 |
} |
| 685 |
func (UnimplementedEventarcServer) GetEnrollment(context.Context, *GetEnrollmentRequest) (*Enrollment, error) { |
| 686 |
return nil, status.Errorf(codes.Unimplemented, "method GetEnrollment not implemented") |
| 687 |
} |
| 688 |
func (UnimplementedEventarcServer) ListEnrollments(context.Context, *ListEnrollmentsRequest) (*ListEnrollmentsResponse, error) { |
| 689 |
return nil, status.Errorf(codes.Unimplemented, "method ListEnrollments not implemented") |
| 690 |
} |
| 691 |
func (UnimplementedEventarcServer) CreateEnrollment(context.Context, *CreateEnrollmentRequest) (*longrunningpb.Operation, error) { |
| 692 |
return nil, status.Errorf(codes.Unimplemented, "method CreateEnrollment not implemented") |
| 693 |
} |
| 694 |
func (UnimplementedEventarcServer) UpdateEnrollment(context.Context, *UpdateEnrollmentRequest) (*longrunningpb.Operation, error) { |
| 695 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateEnrollment not implemented") |
| 696 |
} |
| 697 |
func (UnimplementedEventarcServer) DeleteEnrollment(context.Context, *DeleteEnrollmentRequest) (*longrunningpb.Operation, error) { |
| 698 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteEnrollment not implemented") |
| 699 |
} |
| 700 |
func (UnimplementedEventarcServer) GetPipeline(context.Context, *GetPipelineRequest) (*Pipeline, error) { |
| 701 |
return nil, status.Errorf(codes.Unimplemented, "method GetPipeline not implemented") |
| 702 |
} |
| 703 |
func (UnimplementedEventarcServer) ListPipelines(context.Context, *ListPipelinesRequest) (*ListPipelinesResponse, error) { |
| 704 |
return nil, status.Errorf(codes.Unimplemented, "method ListPipelines not implemented") |
| 705 |
} |
| 706 |
func (UnimplementedEventarcServer) CreatePipeline(context.Context, *CreatePipelineRequest) (*longrunningpb.Operation, error) { |
| 707 |
return nil, status.Errorf(codes.Unimplemented, "method CreatePipeline not implemented") |
| 708 |
} |
| 709 |
func (UnimplementedEventarcServer) UpdatePipeline(context.Context, *UpdatePipelineRequest) (*longrunningpb.Operation, error) { |
| 710 |
return nil, status.Errorf(codes.Unimplemented, "method UpdatePipeline not implemented") |
| 711 |
} |
| 712 |
func (UnimplementedEventarcServer) DeletePipeline(context.Context, *DeletePipelineRequest) (*longrunningpb.Operation, error) { |
| 713 |
return nil, status.Errorf(codes.Unimplemented, "method DeletePipeline not implemented") |
| 714 |
} |
| 715 |
func (UnimplementedEventarcServer) GetGoogleApiSource(context.Context, *GetGoogleApiSourceRequest) (*GoogleApiSource, error) { |
| 716 |
return nil, status.Errorf(codes.Unimplemented, "method GetGoogleApiSource not implemented") |
| 717 |
} |
| 718 |
func (UnimplementedEventarcServer) ListGoogleApiSources(context.Context, *ListGoogleApiSourcesRequest) (*ListGoogleApiSourcesResponse, error) { |
| 719 |
return nil, status.Errorf(codes.Unimplemented, "method ListGoogleApiSources not implemented") |
| 720 |
} |
| 721 |
func (UnimplementedEventarcServer) CreateGoogleApiSource(context.Context, *CreateGoogleApiSourceRequest) (*longrunningpb.Operation, error) { |
| 722 |
return nil, status.Errorf(codes.Unimplemented, "method CreateGoogleApiSource not implemented") |
| 723 |
} |
| 724 |
func (UnimplementedEventarcServer) UpdateGoogleApiSource(context.Context, *UpdateGoogleApiSourceRequest) (*longrunningpb.Operation, error) { |
| 725 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateGoogleApiSource not implemented") |
| 726 |
} |
| 727 |
func (UnimplementedEventarcServer) DeleteGoogleApiSource(context.Context, *DeleteGoogleApiSourceRequest) (*longrunningpb.Operation, error) { |
| 728 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteGoogleApiSource not implemented") |
| 729 |
} |
| 730 |
|
| 731 |
// UnsafeEventarcServer may be embedded to opt out of forward compatibility for this service. |
| 732 |
// Use of this interface is not recommended, as added methods to EventarcServer will |
| 733 |
// result in compilation errors. |
| 734 |
type UnsafeEventarcServer interface { |
| 735 |
mustEmbedUnimplementedEventarcServer() |
| 736 |
} |
| 737 |
|
| 738 |
func RegisterEventarcServer(s grpc.ServiceRegistrar, srv EventarcServer) { |
| 739 |
s.RegisterService(&Eventarc_ServiceDesc, srv) |
| 740 |
} |
| 741 |
|
| 742 |
func _Eventarc_GetTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 743 |
in := new(GetTriggerRequest) |
| 744 |
if err := dec(in); err != nil { |
| 745 |
return nil, err |
| 746 |
} |
| 747 |
if interceptor == nil { |
| 748 |
return srv.(EventarcServer).GetTrigger(ctx, in) |
| 749 |
} |
| 750 |
info := &grpc.UnaryServerInfo{ |
| 751 |
Server: srv, |
| 752 |
FullMethod: Eventarc_GetTrigger_FullMethodName, |
| 753 |
} |
| 754 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 755 |
return srv.(EventarcServer).GetTrigger(ctx, req.(*GetTriggerRequest)) |
| 756 |
} |
| 757 |
return interceptor(ctx, in, info, handler) |
| 758 |
} |
| 759 |
|
| 760 |
func _Eventarc_ListTriggers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 761 |
in := new(ListTriggersRequest) |
| 762 |
if err := dec(in); err != nil { |
| 763 |
return nil, err |
| 764 |
} |
| 765 |
if interceptor == nil { |
| 766 |
return srv.(EventarcServer).ListTriggers(ctx, in) |
| 767 |
} |
| 768 |
info := &grpc.UnaryServerInfo{ |
| 769 |
Server: srv, |
| 770 |
FullMethod: Eventarc_ListTriggers_FullMethodName, |
| 771 |
} |
| 772 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 773 |
return srv.(EventarcServer).ListTriggers(ctx, req.(*ListTriggersRequest)) |
| 774 |
} |
| 775 |
return interceptor(ctx, in, info, handler) |
| 776 |
} |
| 777 |
|
| 778 |
func _Eventarc_CreateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 779 |
in := new(CreateTriggerRequest) |
| 780 |
if err := dec(in); err != nil { |
| 781 |
return nil, err |
| 782 |
} |
| 783 |
if interceptor == nil { |
| 784 |
return srv.(EventarcServer).CreateTrigger(ctx, in) |
| 785 |
} |
| 786 |
info := &grpc.UnaryServerInfo{ |
| 787 |
Server: srv, |
| 788 |
FullMethod: Eventarc_CreateTrigger_FullMethodName, |
| 789 |
} |
| 790 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 791 |
return srv.(EventarcServer).CreateTrigger(ctx, req.(*CreateTriggerRequest)) |
| 792 |
} |
| 793 |
return interceptor(ctx, in, info, handler) |
| 794 |
} |
| 795 |
|
| 796 |
func _Eventarc_UpdateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 797 |
in := new(UpdateTriggerRequest) |
| 798 |
if err := dec(in); err != nil { |
| 799 |
return nil, err |
| 800 |
} |
| 801 |
if interceptor == nil { |
| 802 |
return srv.(EventarcServer).UpdateTrigger(ctx, in) |
| 803 |
} |
| 804 |
info := &grpc.UnaryServerInfo{ |
| 805 |
Server: srv, |
| 806 |
FullMethod: Eventarc_UpdateTrigger_FullMethodName, |
| 807 |
} |
| 808 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 809 |
return srv.(EventarcServer).UpdateTrigger(ctx, req.(*UpdateTriggerRequest)) |
| 810 |
} |
| 811 |
return interceptor(ctx, in, info, handler) |
| 812 |
} |
| 813 |
|
| 814 |
func _Eventarc_DeleteTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 815 |
in := new(DeleteTriggerRequest) |
| 816 |
if err := dec(in); err != nil { |
| 817 |
return nil, err |
| 818 |
} |
| 819 |
if interceptor == nil { |
| 820 |
return srv.(EventarcServer).DeleteTrigger(ctx, in) |
| 821 |
} |
| 822 |
info := &grpc.UnaryServerInfo{ |
| 823 |
Server: srv, |
| 824 |
FullMethod: Eventarc_DeleteTrigger_FullMethodName, |
| 825 |
} |
| 826 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 827 |
return srv.(EventarcServer).DeleteTrigger(ctx, req.(*DeleteTriggerRequest)) |
| 828 |
} |
| 829 |
return interceptor(ctx, in, info, handler) |
| 830 |
} |
| 831 |
|
| 832 |
func _Eventarc_GetChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 833 |
in := new(GetChannelRequest) |
| 834 |
if err := dec(in); err != nil { |
| 835 |
return nil, err |
| 836 |
} |
| 837 |
if interceptor == nil { |
| 838 |
return srv.(EventarcServer).GetChannel(ctx, in) |
| 839 |
} |
| 840 |
info := &grpc.UnaryServerInfo{ |
| 841 |
Server: srv, |
| 842 |
FullMethod: Eventarc_GetChannel_FullMethodName, |
| 843 |
} |
| 844 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 845 |
return srv.(EventarcServer).GetChannel(ctx, req.(*GetChannelRequest)) |
| 846 |
} |
| 847 |
return interceptor(ctx, in, info, handler) |
| 848 |
} |
| 849 |
|
| 850 |
func _Eventarc_ListChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 851 |
in := new(ListChannelsRequest) |
| 852 |
if err := dec(in); err != nil { |
| 853 |
return nil, err |
| 854 |
} |
| 855 |
if interceptor == nil { |
| 856 |
return srv.(EventarcServer).ListChannels(ctx, in) |
| 857 |
} |
| 858 |
info := &grpc.UnaryServerInfo{ |
| 859 |
Server: srv, |
| 860 |
FullMethod: Eventarc_ListChannels_FullMethodName, |
| 861 |
} |
| 862 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 863 |
return srv.(EventarcServer).ListChannels(ctx, req.(*ListChannelsRequest)) |
| 864 |
} |
| 865 |
return interceptor(ctx, in, info, handler) |
| 866 |
} |
| 867 |
|
| 868 |
func _Eventarc_CreateChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 869 |
in := new(CreateChannelRequest) |
| 870 |
if err := dec(in); err != nil { |
| 871 |
return nil, err |
| 872 |
} |
| 873 |
if interceptor == nil { |
| 874 |
return srv.(EventarcServer).CreateChannel(ctx, in) |
| 875 |
} |
| 876 |
info := &grpc.UnaryServerInfo{ |
| 877 |
Server: srv, |
| 878 |
FullMethod: Eventarc_CreateChannel_FullMethodName, |
| 879 |
} |
| 880 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 881 |
return srv.(EventarcServer).CreateChannel(ctx, req.(*CreateChannelRequest)) |
| 882 |
} |
| 883 |
return interceptor(ctx, in, info, handler) |
| 884 |
} |
| 885 |
|
| 886 |
func _Eventarc_UpdateChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 887 |
in := new(UpdateChannelRequest) |
| 888 |
if err := dec(in); err != nil { |
| 889 |
return nil, err |
| 890 |
} |
| 891 |
if interceptor == nil { |
| 892 |
return srv.(EventarcServer).UpdateChannel(ctx, in) |
| 893 |
} |
| 894 |
info := &grpc.UnaryServerInfo{ |
| 895 |
Server: srv, |
| 896 |
FullMethod: Eventarc_UpdateChannel_FullMethodName, |
| 897 |
} |
| 898 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 899 |
return srv.(EventarcServer).UpdateChannel(ctx, req.(*UpdateChannelRequest)) |
| 900 |
} |
| 901 |
return interceptor(ctx, in, info, handler) |
| 902 |
} |
| 903 |
|
| 904 |
func _Eventarc_DeleteChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 905 |
in := new(DeleteChannelRequest) |
| 906 |
if err := dec(in); err != nil { |
| 907 |
return nil, err |
| 908 |
} |
| 909 |
if interceptor == nil { |
| 910 |
return srv.(EventarcServer).DeleteChannel(ctx, in) |
| 911 |
} |
| 912 |
info := &grpc.UnaryServerInfo{ |
| 913 |
Server: srv, |
| 914 |
FullMethod: Eventarc_DeleteChannel_FullMethodName, |
| 915 |
} |
| 916 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 917 |
return srv.(EventarcServer).DeleteChannel(ctx, req.(*DeleteChannelRequest)) |
| 918 |
} |
| 919 |
return interceptor(ctx, in, info, handler) |
| 920 |
} |
| 921 |
|
| 922 |
func _Eventarc_GetProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 923 |
in := new(GetProviderRequest) |
| 924 |
if err := dec(in); err != nil { |
| 925 |
return nil, err |
| 926 |
} |
| 927 |
if interceptor == nil { |
| 928 |
return srv.(EventarcServer).GetProvider(ctx, in) |
| 929 |
} |
| 930 |
info := &grpc.UnaryServerInfo{ |
| 931 |
Server: srv, |
| 932 |
FullMethod: Eventarc_GetProvider_FullMethodName, |
| 933 |
} |
| 934 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 935 |
return srv.(EventarcServer).GetProvider(ctx, req.(*GetProviderRequest)) |
| 936 |
} |
| 937 |
return interceptor(ctx, in, info, handler) |
| 938 |
} |
| 939 |
|
| 940 |
func _Eventarc_ListProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 941 |
in := new(ListProvidersRequest) |
| 942 |
if err := dec(in); err != nil { |
| 943 |
return nil, err |
| 944 |
} |
| 945 |
if interceptor == nil { |
| 946 |
return srv.(EventarcServer).ListProviders(ctx, in) |
| 947 |
} |
| 948 |
info := &grpc.UnaryServerInfo{ |
| 949 |
Server: srv, |
| 950 |
FullMethod: Eventarc_ListProviders_FullMethodName, |
| 951 |
} |
| 952 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 953 |
return srv.(EventarcServer).ListProviders(ctx, req.(*ListProvidersRequest)) |
| 954 |
} |
| 955 |
return interceptor(ctx, in, info, handler) |
| 956 |
} |
| 957 |
|
| 958 |
func _Eventarc_GetChannelConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 959 |
in := new(GetChannelConnectionRequest) |
| 960 |
if err := dec(in); err != nil { |
| 961 |
return nil, err |
| 962 |
} |
| 963 |
if interceptor == nil { |
| 964 |
return srv.(EventarcServer).GetChannelConnection(ctx, in) |
| 965 |
} |
| 966 |
info := &grpc.UnaryServerInfo{ |
| 967 |
Server: srv, |
| 968 |
FullMethod: Eventarc_GetChannelConnection_FullMethodName, |
| 969 |
} |
| 970 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 971 |
return srv.(EventarcServer).GetChannelConnection(ctx, req.(*GetChannelConnectionRequest)) |
| 972 |
} |
| 973 |
return interceptor(ctx, in, info, handler) |
| 974 |
} |
| 975 |
|
| 976 |
func _Eventarc_ListChannelConnections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 977 |
in := new(ListChannelConnectionsRequest) |
| 978 |
if err := dec(in); err != nil { |
| 979 |
return nil, err |
| 980 |
} |
| 981 |
if interceptor == nil { |
| 982 |
return srv.(EventarcServer).ListChannelConnections(ctx, in) |
| 983 |
} |
| 984 |
info := &grpc.UnaryServerInfo{ |
| 985 |
Server: srv, |
| 986 |
FullMethod: Eventarc_ListChannelConnections_FullMethodName, |
| 987 |
} |
| 988 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 989 |
return srv.(EventarcServer).ListChannelConnections(ctx, req.(*ListChannelConnectionsRequest)) |
| 990 |
} |
| 991 |
return interceptor(ctx, in, info, handler) |
| 992 |
} |
| 993 |
|
| 994 |
func _Eventarc_CreateChannelConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 995 |
in := new(CreateChannelConnectionRequest) |
| 996 |
if err := dec(in); err != nil { |
| 997 |
return nil, err |
| 998 |
} |
| 999 |
if interceptor == nil { |
| 1000 |
return srv.(EventarcServer).CreateChannelConnection(ctx, in) |
| 1001 |
} |
| 1002 |
info := &grpc.UnaryServerInfo{ |
| 1003 |
Server: srv, |
| 1004 |
FullMethod: Eventarc_CreateChannelConnection_FullMethodName, |
| 1005 |
} |
| 1006 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1007 |
return srv.(EventarcServer).CreateChannelConnection(ctx, req.(*CreateChannelConnectionRequest)) |
| 1008 |
} |
| 1009 |
return interceptor(ctx, in, info, handler) |
| 1010 |
} |
| 1011 |
|
| 1012 |
func _Eventarc_DeleteChannelConnection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1013 |
in := new(DeleteChannelConnectionRequest) |
| 1014 |
if err := dec(in); err != nil { |
| 1015 |
return nil, err |
| 1016 |
} |
| 1017 |
if interceptor == nil { |
| 1018 |
return srv.(EventarcServer).DeleteChannelConnection(ctx, in) |
| 1019 |
} |
| 1020 |
info := &grpc.UnaryServerInfo{ |
| 1021 |
Server: srv, |
| 1022 |
FullMethod: Eventarc_DeleteChannelConnection_FullMethodName, |
| 1023 |
} |
| 1024 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1025 |
return srv.(EventarcServer).DeleteChannelConnection(ctx, req.(*DeleteChannelConnectionRequest)) |
| 1026 |
} |
| 1027 |
return interceptor(ctx, in, info, handler) |
| 1028 |
} |
| 1029 |
|
| 1030 |
func _Eventarc_GetGoogleChannelConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1031 |
in := new(GetGoogleChannelConfigRequest) |
| 1032 |
if err := dec(in); err != nil { |
| 1033 |
return nil, err |
| 1034 |
} |
| 1035 |
if interceptor == nil { |
| 1036 |
return srv.(EventarcServer).GetGoogleChannelConfig(ctx, in) |
| 1037 |
} |
| 1038 |
info := &grpc.UnaryServerInfo{ |
| 1039 |
Server: srv, |
| 1040 |
FullMethod: Eventarc_GetGoogleChannelConfig_FullMethodName, |
| 1041 |
} |
| 1042 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1043 |
return srv.(EventarcServer).GetGoogleChannelConfig(ctx, req.(*GetGoogleChannelConfigRequest)) |
| 1044 |
} |
| 1045 |
return interceptor(ctx, in, info, handler) |
| 1046 |
} |
| 1047 |
|
| 1048 |
func _Eventarc_UpdateGoogleChannelConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1049 |
in := new(UpdateGoogleChannelConfigRequest) |
| 1050 |
if err := dec(in); err != nil { |
| 1051 |
return nil, err |
| 1052 |
} |
| 1053 |
if interceptor == nil { |
| 1054 |
return srv.(EventarcServer).UpdateGoogleChannelConfig(ctx, in) |
| 1055 |
} |
| 1056 |
info := &grpc.UnaryServerInfo{ |
| 1057 |
Server: srv, |
| 1058 |
FullMethod: Eventarc_UpdateGoogleChannelConfig_FullMethodName, |
| 1059 |
} |
| 1060 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1061 |
return srv.(EventarcServer).UpdateGoogleChannelConfig(ctx, req.(*UpdateGoogleChannelConfigRequest)) |
| 1062 |
} |
| 1063 |
return interceptor(ctx, in, info, handler) |
| 1064 |
} |
| 1065 |
|
| 1066 |
func _Eventarc_GetMessageBus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1067 |
in := new(GetMessageBusRequest) |
| 1068 |
if err := dec(in); err != nil { |
| 1069 |
return nil, err |
| 1070 |
} |
| 1071 |
if interceptor == nil { |
| 1072 |
return srv.(EventarcServer).GetMessageBus(ctx, in) |
| 1073 |
} |
| 1074 |
info := &grpc.UnaryServerInfo{ |
| 1075 |
Server: srv, |
| 1076 |
FullMethod: Eventarc_GetMessageBus_FullMethodName, |
| 1077 |
} |
| 1078 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1079 |
return srv.(EventarcServer).GetMessageBus(ctx, req.(*GetMessageBusRequest)) |
| 1080 |
} |
| 1081 |
return interceptor(ctx, in, info, handler) |
| 1082 |
} |
| 1083 |
|
| 1084 |
func _Eventarc_ListMessageBuses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1085 |
in := new(ListMessageBusesRequest) |
| 1086 |
if err := dec(in); err != nil { |
| 1087 |
return nil, err |
| 1088 |
} |
| 1089 |
if interceptor == nil { |
| 1090 |
return srv.(EventarcServer).ListMessageBuses(ctx, in) |
| 1091 |
} |
| 1092 |
info := &grpc.UnaryServerInfo{ |
| 1093 |
Server: srv, |
| 1094 |
FullMethod: Eventarc_ListMessageBuses_FullMethodName, |
| 1095 |
} |
| 1096 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1097 |
return srv.(EventarcServer).ListMessageBuses(ctx, req.(*ListMessageBusesRequest)) |
| 1098 |
} |
| 1099 |
return interceptor(ctx, in, info, handler) |
| 1100 |
} |
| 1101 |
|
| 1102 |
func _Eventarc_ListMessageBusEnrollments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1103 |
in := new(ListMessageBusEnrollmentsRequest) |
| 1104 |
if err := dec(in); err != nil { |
| 1105 |
return nil, err |
| 1106 |
} |
| 1107 |
if interceptor == nil { |
| 1108 |
return srv.(EventarcServer).ListMessageBusEnrollments(ctx, in) |
| 1109 |
} |
| 1110 |
info := &grpc.UnaryServerInfo{ |
| 1111 |
Server: srv, |
| 1112 |
FullMethod: Eventarc_ListMessageBusEnrollments_FullMethodName, |
| 1113 |
} |
| 1114 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1115 |
return srv.(EventarcServer).ListMessageBusEnrollments(ctx, req.(*ListMessageBusEnrollmentsRequest)) |
| 1116 |
} |
| 1117 |
return interceptor(ctx, in, info, handler) |
| 1118 |
} |
| 1119 |
|
| 1120 |
func _Eventarc_CreateMessageBus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1121 |
in := new(CreateMessageBusRequest) |
| 1122 |
if err := dec(in); err != nil { |
| 1123 |
return nil, err |
| 1124 |
} |
| 1125 |
if interceptor == nil { |
| 1126 |
return srv.(EventarcServer).CreateMessageBus(ctx, in) |
| 1127 |
} |
| 1128 |
info := &grpc.UnaryServerInfo{ |
| 1129 |
Server: srv, |
| 1130 |
FullMethod: Eventarc_CreateMessageBus_FullMethodName, |
| 1131 |
} |
| 1132 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1133 |
return srv.(EventarcServer).CreateMessageBus(ctx, req.(*CreateMessageBusRequest)) |
| 1134 |
} |
| 1135 |
return interceptor(ctx, in, info, handler) |
| 1136 |
} |
| 1137 |
|
| 1138 |
func _Eventarc_UpdateMessageBus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1139 |
in := new(UpdateMessageBusRequest) |
| 1140 |
if err := dec(in); err != nil { |
| 1141 |
return nil, err |
| 1142 |
} |
| 1143 |
if interceptor == nil { |
| 1144 |
return srv.(EventarcServer).UpdateMessageBus(ctx, in) |
| 1145 |
} |
| 1146 |
info := &grpc.UnaryServerInfo{ |
| 1147 |
Server: srv, |
| 1148 |
FullMethod: Eventarc_UpdateMessageBus_FullMethodName, |
| 1149 |
} |
| 1150 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1151 |
return srv.(EventarcServer).UpdateMessageBus(ctx, req.(*UpdateMessageBusRequest)) |
| 1152 |
} |
| 1153 |
return interceptor(ctx, in, info, handler) |
| 1154 |
} |
| 1155 |
|
| 1156 |
func _Eventarc_DeleteMessageBus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1157 |
in := new(DeleteMessageBusRequest) |
| 1158 |
if err := dec(in); err != nil { |
| 1159 |
return nil, err |
| 1160 |
} |
| 1161 |
if interceptor == nil { |
| 1162 |
return srv.(EventarcServer).DeleteMessageBus(ctx, in) |
| 1163 |
} |
| 1164 |
info := &grpc.UnaryServerInfo{ |
| 1165 |
Server: srv, |
| 1166 |
FullMethod: Eventarc_DeleteMessageBus_FullMethodName, |
| 1167 |
} |
| 1168 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1169 |
return srv.(EventarcServer).DeleteMessageBus(ctx, req.(*DeleteMessageBusRequest)) |
| 1170 |
} |
| 1171 |
return interceptor(ctx, in, info, handler) |
| 1172 |
} |
| 1173 |
|
| 1174 |
func _Eventarc_GetEnrollment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1175 |
in := new(GetEnrollmentRequest) |
| 1176 |
if err := dec(in); err != nil { |
| 1177 |
return nil, err |
| 1178 |
} |
| 1179 |
if interceptor == nil { |
| 1180 |
return srv.(EventarcServer).GetEnrollment(ctx, in) |
| 1181 |
} |
| 1182 |
info := &grpc.UnaryServerInfo{ |
| 1183 |
Server: srv, |
| 1184 |
FullMethod: Eventarc_GetEnrollment_FullMethodName, |
| 1185 |
} |
| 1186 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1187 |
return srv.(EventarcServer).GetEnrollment(ctx, req.(*GetEnrollmentRequest)) |
| 1188 |
} |
| 1189 |
return interceptor(ctx, in, info, handler) |
| 1190 |
} |
| 1191 |
|
| 1192 |
func _Eventarc_ListEnrollments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1193 |
in := new(ListEnrollmentsRequest) |
| 1194 |
if err := dec(in); err != nil { |
| 1195 |
return nil, err |
| 1196 |
} |
| 1197 |
if interceptor == nil { |
| 1198 |
return srv.(EventarcServer).ListEnrollments(ctx, in) |
| 1199 |
} |
| 1200 |
info := &grpc.UnaryServerInfo{ |
| 1201 |
Server: srv, |
| 1202 |
FullMethod: Eventarc_ListEnrollments_FullMethodName, |
| 1203 |
} |
| 1204 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1205 |
return srv.(EventarcServer).ListEnrollments(ctx, req.(*ListEnrollmentsRequest)) |
| 1206 |
} |
| 1207 |
return interceptor(ctx, in, info, handler) |
| 1208 |
} |
| 1209 |
|
| 1210 |
func _Eventarc_CreateEnrollment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1211 |
in := new(CreateEnrollmentRequest) |
| 1212 |
if err := dec(in); err != nil { |
| 1213 |
return nil, err |
| 1214 |
} |
| 1215 |
if interceptor == nil { |
| 1216 |
return srv.(EventarcServer).CreateEnrollment(ctx, in) |
| 1217 |
} |
| 1218 |
info := &grpc.UnaryServerInfo{ |
| 1219 |
Server: srv, |
| 1220 |
FullMethod: Eventarc_CreateEnrollment_FullMethodName, |
| 1221 |
} |
| 1222 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1223 |
return srv.(EventarcServer).CreateEnrollment(ctx, req.(*CreateEnrollmentRequest)) |
| 1224 |
} |
| 1225 |
return interceptor(ctx, in, info, handler) |
| 1226 |
} |
| 1227 |
|
| 1228 |
func _Eventarc_UpdateEnrollment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1229 |
in := new(UpdateEnrollmentRequest) |
| 1230 |
if err := dec(in); err != nil { |
| 1231 |
return nil, err |
| 1232 |
} |
| 1233 |
if interceptor == nil { |
| 1234 |
return srv.(EventarcServer).UpdateEnrollment(ctx, in) |
| 1235 |
} |
| 1236 |
info := &grpc.UnaryServerInfo{ |
| 1237 |
Server: srv, |
| 1238 |
FullMethod: Eventarc_UpdateEnrollment_FullMethodName, |
| 1239 |
} |
| 1240 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1241 |
return srv.(EventarcServer).UpdateEnrollment(ctx, req.(*UpdateEnrollmentRequest)) |
| 1242 |
} |
| 1243 |
return interceptor(ctx, in, info, handler) |
| 1244 |
} |
| 1245 |
|
| 1246 |
func _Eventarc_DeleteEnrollment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1247 |
in := new(DeleteEnrollmentRequest) |
| 1248 |
if err := dec(in); err != nil { |
| 1249 |
return nil, err |
| 1250 |
} |
| 1251 |
if interceptor == nil { |
| 1252 |
return srv.(EventarcServer).DeleteEnrollment(ctx, in) |
| 1253 |
} |
| 1254 |
info := &grpc.UnaryServerInfo{ |
| 1255 |
Server: srv, |
| 1256 |
FullMethod: Eventarc_DeleteEnrollment_FullMethodName, |
| 1257 |
} |
| 1258 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1259 |
return srv.(EventarcServer).DeleteEnrollment(ctx, req.(*DeleteEnrollmentRequest)) |
| 1260 |
} |
| 1261 |
return interceptor(ctx, in, info, handler) |
| 1262 |
} |
| 1263 |
|
| 1264 |
func _Eventarc_GetPipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1265 |
in := new(GetPipelineRequest) |
| 1266 |
if err := dec(in); err != nil { |
| 1267 |
return nil, err |
| 1268 |
} |
| 1269 |
if interceptor == nil { |
| 1270 |
return srv.(EventarcServer).GetPipeline(ctx, in) |
| 1271 |
} |
| 1272 |
info := &grpc.UnaryServerInfo{ |
| 1273 |
Server: srv, |
| 1274 |
FullMethod: Eventarc_GetPipeline_FullMethodName, |
| 1275 |
} |
| 1276 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1277 |
return srv.(EventarcServer).GetPipeline(ctx, req.(*GetPipelineRequest)) |
| 1278 |
} |
| 1279 |
return interceptor(ctx, in, info, handler) |
| 1280 |
} |
| 1281 |
|
| 1282 |
func _Eventarc_ListPipelines_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1283 |
in := new(ListPipelinesRequest) |
| 1284 |
if err := dec(in); err != nil { |
| 1285 |
return nil, err |
| 1286 |
} |
| 1287 |
if interceptor == nil { |
| 1288 |
return srv.(EventarcServer).ListPipelines(ctx, in) |
| 1289 |
} |
| 1290 |
info := &grpc.UnaryServerInfo{ |
| 1291 |
Server: srv, |
| 1292 |
FullMethod: Eventarc_ListPipelines_FullMethodName, |
| 1293 |
} |
| 1294 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1295 |
return srv.(EventarcServer).ListPipelines(ctx, req.(*ListPipelinesRequest)) |
| 1296 |
} |
| 1297 |
return interceptor(ctx, in, info, handler) |
| 1298 |
} |
| 1299 |
|
| 1300 |
func _Eventarc_CreatePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1301 |
in := new(CreatePipelineRequest) |
| 1302 |
if err := dec(in); err != nil { |
| 1303 |
return nil, err |
| 1304 |
} |
| 1305 |
if interceptor == nil { |
| 1306 |
return srv.(EventarcServer).CreatePipeline(ctx, in) |
| 1307 |
} |
| 1308 |
info := &grpc.UnaryServerInfo{ |
| 1309 |
Server: srv, |
| 1310 |
FullMethod: Eventarc_CreatePipeline_FullMethodName, |
| 1311 |
} |
| 1312 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1313 |
return srv.(EventarcServer).CreatePipeline(ctx, req.(*CreatePipelineRequest)) |
| 1314 |
} |
| 1315 |
return interceptor(ctx, in, info, handler) |
| 1316 |
} |
| 1317 |
|
| 1318 |
func _Eventarc_UpdatePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1319 |
in := new(UpdatePipelineRequest) |
| 1320 |
if err := dec(in); err != nil { |
| 1321 |
return nil, err |
| 1322 |
} |
| 1323 |
if interceptor == nil { |
| 1324 |
return srv.(EventarcServer).UpdatePipeline(ctx, in) |
| 1325 |
} |
| 1326 |
info := &grpc.UnaryServerInfo{ |
| 1327 |
Server: srv, |
| 1328 |
FullMethod: Eventarc_UpdatePipeline_FullMethodName, |
| 1329 |
} |
| 1330 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1331 |
return srv.(EventarcServer).UpdatePipeline(ctx, req.(*UpdatePipelineRequest)) |
| 1332 |
} |
| 1333 |
return interceptor(ctx, in, info, handler) |
| 1334 |
} |
| 1335 |
|
| 1336 |
func _Eventarc_DeletePipeline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1337 |
in := new(DeletePipelineRequest) |
| 1338 |
if err := dec(in); err != nil { |
| 1339 |
return nil, err |
| 1340 |
} |
| 1341 |
if interceptor == nil { |
| 1342 |
return srv.(EventarcServer).DeletePipeline(ctx, in) |
| 1343 |
} |
| 1344 |
info := &grpc.UnaryServerInfo{ |
| 1345 |
Server: srv, |
| 1346 |
FullMethod: Eventarc_DeletePipeline_FullMethodName, |
| 1347 |
} |
| 1348 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1349 |
return srv.(EventarcServer).DeletePipeline(ctx, req.(*DeletePipelineRequest)) |
| 1350 |
} |
| 1351 |
return interceptor(ctx, in, info, handler) |
| 1352 |
} |
| 1353 |
|
| 1354 |
func _Eventarc_GetGoogleApiSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1355 |
in := new(GetGoogleApiSourceRequest) |
| 1356 |
if err := dec(in); err != nil { |
| 1357 |
return nil, err |
| 1358 |
} |
| 1359 |
if interceptor == nil { |
| 1360 |
return srv.(EventarcServer).GetGoogleApiSource(ctx, in) |
| 1361 |
} |
| 1362 |
info := &grpc.UnaryServerInfo{ |
| 1363 |
Server: srv, |
| 1364 |
FullMethod: Eventarc_GetGoogleApiSource_FullMethodName, |
| 1365 |
} |
| 1366 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1367 |
return srv.(EventarcServer).GetGoogleApiSource(ctx, req.(*GetGoogleApiSourceRequest)) |
| 1368 |
} |
| 1369 |
return interceptor(ctx, in, info, handler) |
| 1370 |
} |
| 1371 |
|
| 1372 |
func _Eventarc_ListGoogleApiSources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1373 |
in := new(ListGoogleApiSourcesRequest) |
| 1374 |
if err := dec(in); err != nil { |
| 1375 |
return nil, err |
| 1376 |
} |
| 1377 |
if interceptor == nil { |
| 1378 |
return srv.(EventarcServer).ListGoogleApiSources(ctx, in) |
| 1379 |
} |
| 1380 |
info := &grpc.UnaryServerInfo{ |
| 1381 |
Server: srv, |
| 1382 |
FullMethod: Eventarc_ListGoogleApiSources_FullMethodName, |
| 1383 |
} |
| 1384 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1385 |
return srv.(EventarcServer).ListGoogleApiSources(ctx, req.(*ListGoogleApiSourcesRequest)) |
| 1386 |
} |
| 1387 |
return interceptor(ctx, in, info, handler) |
| 1388 |
} |
| 1389 |
|
| 1390 |
func _Eventarc_CreateGoogleApiSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1391 |
in := new(CreateGoogleApiSourceRequest) |
| 1392 |
if err := dec(in); err != nil { |
| 1393 |
return nil, err |
| 1394 |
} |
| 1395 |
if interceptor == nil { |
| 1396 |
return srv.(EventarcServer).CreateGoogleApiSource(ctx, in) |
| 1397 |
} |
| 1398 |
info := &grpc.UnaryServerInfo{ |
| 1399 |
Server: srv, |
| 1400 |
FullMethod: Eventarc_CreateGoogleApiSource_FullMethodName, |
| 1401 |
} |
| 1402 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1403 |
return srv.(EventarcServer).CreateGoogleApiSource(ctx, req.(*CreateGoogleApiSourceRequest)) |
| 1404 |
} |
| 1405 |
return interceptor(ctx, in, info, handler) |
| 1406 |
} |
| 1407 |
|
| 1408 |
func _Eventarc_UpdateGoogleApiSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1409 |
in := new(UpdateGoogleApiSourceRequest) |
| 1410 |
if err := dec(in); err != nil { |
| 1411 |
return nil, err |
| 1412 |
} |
| 1413 |
if interceptor == nil { |
| 1414 |
return srv.(EventarcServer).UpdateGoogleApiSource(ctx, in) |
| 1415 |
} |
| 1416 |
info := &grpc.UnaryServerInfo{ |
| 1417 |
Server: srv, |
| 1418 |
FullMethod: Eventarc_UpdateGoogleApiSource_FullMethodName, |
| 1419 |
} |
| 1420 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1421 |
return srv.(EventarcServer).UpdateGoogleApiSource(ctx, req.(*UpdateGoogleApiSourceRequest)) |
| 1422 |
} |
| 1423 |
return interceptor(ctx, in, info, handler) |
| 1424 |
} |
| 1425 |
|
| 1426 |
func _Eventarc_DeleteGoogleApiSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1427 |
in := new(DeleteGoogleApiSourceRequest) |
| 1428 |
if err := dec(in); err != nil { |
| 1429 |
return nil, err |
| 1430 |
} |
| 1431 |
if interceptor == nil { |
| 1432 |
return srv.(EventarcServer).DeleteGoogleApiSource(ctx, in) |
| 1433 |
} |
| 1434 |
info := &grpc.UnaryServerInfo{ |
| 1435 |
Server: srv, |
| 1436 |
FullMethod: Eventarc_DeleteGoogleApiSource_FullMethodName, |
| 1437 |
} |
| 1438 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1439 |
return srv.(EventarcServer).DeleteGoogleApiSource(ctx, req.(*DeleteGoogleApiSourceRequest)) |
| 1440 |
} |
| 1441 |
return interceptor(ctx, in, info, handler) |
| 1442 |
} |
| 1443 |
|
| 1444 |
// Eventarc_ServiceDesc is the grpc.ServiceDesc for Eventarc service. |
| 1445 |
// It's only intended for direct use with grpc.RegisterService, |
| 1446 |
// and not to be introspected or modified (even as a copy) |
| 1447 |
var Eventarc_ServiceDesc = grpc.ServiceDesc{ |
| 1448 |
ServiceName: "google.cloud.eventarc.v1.Eventarc", |
| 1449 |
HandlerType: (*EventarcServer)(nil), |
| 1450 |
Methods: []grpc.MethodDesc{ |
| 1451 |
{ |
| 1452 |
MethodName: "GetTrigger", |
| 1453 |
Handler: _Eventarc_GetTrigger_Handler, |
| 1454 |
}, |
| 1455 |
{ |
| 1456 |
MethodName: "ListTriggers", |
| 1457 |
Handler: _Eventarc_ListTriggers_Handler, |
| 1458 |
}, |
| 1459 |
{ |
| 1460 |
MethodName: "CreateTrigger", |
| 1461 |
Handler: _Eventarc_CreateTrigger_Handler, |
| 1462 |
}, |
| 1463 |
{ |
| 1464 |
MethodName: "UpdateTrigger", |
| 1465 |
Handler: _Eventarc_UpdateTrigger_Handler, |
| 1466 |
}, |
| 1467 |
{ |
| 1468 |
MethodName: "DeleteTrigger", |
| 1469 |
Handler: _Eventarc_DeleteTrigger_Handler, |
| 1470 |
}, |
| 1471 |
{ |
| 1472 |
MethodName: "GetChannel", |
| 1473 |
Handler: _Eventarc_GetChannel_Handler, |
| 1474 |
}, |
| 1475 |
{ |
| 1476 |
MethodName: "ListChannels", |
| 1477 |
Handler: _Eventarc_ListChannels_Handler, |
| 1478 |
}, |
| 1479 |
{ |
| 1480 |
MethodName: "CreateChannel", |
| 1481 |
Handler: _Eventarc_CreateChannel_Handler, |
| 1482 |
}, |
| 1483 |
{ |
| 1484 |
MethodName: "UpdateChannel", |
| 1485 |
Handler: _Eventarc_UpdateChannel_Handler, |
| 1486 |
}, |
| 1487 |
{ |
| 1488 |
MethodName: "DeleteChannel", |
| 1489 |
Handler: _Eventarc_DeleteChannel_Handler, |
| 1490 |
}, |
| 1491 |
{ |
| 1492 |
MethodName: "GetProvider", |
| 1493 |
Handler: _Eventarc_GetProvider_Handler, |
| 1494 |
}, |
| 1495 |
{ |
| 1496 |
MethodName: "ListProviders", |
| 1497 |
Handler: _Eventarc_ListProviders_Handler, |
| 1498 |
}, |
| 1499 |
{ |
| 1500 |
MethodName: "GetChannelConnection", |
| 1501 |
Handler: _Eventarc_GetChannelConnection_Handler, |
| 1502 |
}, |
| 1503 |
{ |
| 1504 |
MethodName: "ListChannelConnections", |
| 1505 |
Handler: _Eventarc_ListChannelConnections_Handler, |
| 1506 |
}, |
| 1507 |
{ |
| 1508 |
MethodName: "CreateChannelConnection", |
| 1509 |
Handler: _Eventarc_CreateChannelConnection_Handler, |
| 1510 |
}, |
| 1511 |
{ |
| 1512 |
MethodName: "DeleteChannelConnection", |
| 1513 |
Handler: _Eventarc_DeleteChannelConnection_Handler, |
| 1514 |
}, |
| 1515 |
{ |
| 1516 |
MethodName: "GetGoogleChannelConfig", |
| 1517 |
Handler: _Eventarc_GetGoogleChannelConfig_Handler, |
| 1518 |
}, |
| 1519 |
{ |
| 1520 |
MethodName: "UpdateGoogleChannelConfig", |
| 1521 |
Handler: _Eventarc_UpdateGoogleChannelConfig_Handler, |
| 1522 |
}, |
| 1523 |
{ |
| 1524 |
MethodName: "GetMessageBus", |
| 1525 |
Handler: _Eventarc_GetMessageBus_Handler, |
| 1526 |
}, |
| 1527 |
{ |
| 1528 |
MethodName: "ListMessageBuses", |
| 1529 |
Handler: _Eventarc_ListMessageBuses_Handler, |
| 1530 |
}, |
| 1531 |
{ |
| 1532 |
MethodName: "ListMessageBusEnrollments", |
| 1533 |
Handler: _Eventarc_ListMessageBusEnrollments_Handler, |
| 1534 |
}, |
| 1535 |
{ |
| 1536 |
MethodName: "CreateMessageBus", |
| 1537 |
Handler: _Eventarc_CreateMessageBus_Handler, |
| 1538 |
}, |
| 1539 |
{ |
| 1540 |
MethodName: "UpdateMessageBus", |
| 1541 |
Handler: _Eventarc_UpdateMessageBus_Handler, |
| 1542 |
}, |
| 1543 |
{ |
| 1544 |
MethodName: "DeleteMessageBus", |
| 1545 |
Handler: _Eventarc_DeleteMessageBus_Handler, |
| 1546 |
}, |
| 1547 |
{ |
| 1548 |
MethodName: "GetEnrollment", |
| 1549 |
Handler: _Eventarc_GetEnrollment_Handler, |
| 1550 |
}, |
| 1551 |
{ |
| 1552 |
MethodName: "ListEnrollments", |
| 1553 |
Handler: _Eventarc_ListEnrollments_Handler, |
| 1554 |
}, |
| 1555 |
{ |
| 1556 |
MethodName: "CreateEnrollment", |
| 1557 |
Handler: _Eventarc_CreateEnrollment_Handler, |
| 1558 |
}, |
| 1559 |
{ |
| 1560 |
MethodName: "UpdateEnrollment", |
| 1561 |
Handler: _Eventarc_UpdateEnrollment_Handler, |
| 1562 |
}, |
| 1563 |
{ |
| 1564 |
MethodName: "DeleteEnrollment", |
| 1565 |
Handler: _Eventarc_DeleteEnrollment_Handler, |
| 1566 |
}, |
| 1567 |
{ |
| 1568 |
MethodName: "GetPipeline", |
| 1569 |
Handler: _Eventarc_GetPipeline_Handler, |
| 1570 |
}, |
| 1571 |
{ |
| 1572 |
MethodName: "ListPipelines", |
| 1573 |
Handler: _Eventarc_ListPipelines_Handler, |
| 1574 |
}, |
| 1575 |
{ |
| 1576 |
MethodName: "CreatePipeline", |
| 1577 |
Handler: _Eventarc_CreatePipeline_Handler, |
| 1578 |
}, |
| 1579 |
{ |
| 1580 |
MethodName: "UpdatePipeline", |
| 1581 |
Handler: _Eventarc_UpdatePipeline_Handler, |
| 1582 |
}, |
| 1583 |
{ |
| 1584 |
MethodName: "DeletePipeline", |
| 1585 |
Handler: _Eventarc_DeletePipeline_Handler, |
| 1586 |
}, |
| 1587 |
{ |
| 1588 |
MethodName: "GetGoogleApiSource", |
| 1589 |
Handler: _Eventarc_GetGoogleApiSource_Handler, |
| 1590 |
}, |
| 1591 |
{ |
| 1592 |
MethodName: "ListGoogleApiSources", |
| 1593 |
Handler: _Eventarc_ListGoogleApiSources_Handler, |
| 1594 |
}, |
| 1595 |
{ |
| 1596 |
MethodName: "CreateGoogleApiSource", |
| 1597 |
Handler: _Eventarc_CreateGoogleApiSource_Handler, |
| 1598 |
}, |
| 1599 |
{ |
| 1600 |
MethodName: "UpdateGoogleApiSource", |
| 1601 |
Handler: _Eventarc_UpdateGoogleApiSource_Handler, |
| 1602 |
}, |
| 1603 |
{ |
| 1604 |
MethodName: "DeleteGoogleApiSource", |
| 1605 |
Handler: _Eventarc_DeleteGoogleApiSource_Handler, |
| 1606 |
}, |
| 1607 |
}, |
| 1608 |
Streams: []grpc.StreamDesc{}, |
| 1609 |
Metadata: "google/cloud/eventarc/v1/eventarc.proto", |
| 1610 |
} |