1 // Copyright 2022 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 aliasgen. DO NOT EDIT. 16 17 // Package publishing aliases all exported identifiers in package 18 // "cloud.google.com/go/eventarc/publishing/apiv1/publishingpb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package publishing 24 25 import ( 26 src "cloud.google.com/go/eventarc/publishing/apiv1/publishingpb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use vars in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 31 var ( 32 File_google_cloud_eventarc_publishing_v1_publisher_proto = src.File_google_cloud_eventarc_publishing_v1_publisher_proto 33 ) 34 35 // The request message for the PublishChannelConnectionEvents method. 36 // 37 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 38 type PublishChannelConnectionEventsRequest = src.PublishChannelConnectionEventsRequest 39 40 // The response message for the PublishChannelConnectionEvents method. 41 // 42 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 43 type PublishChannelConnectionEventsResponse = src.PublishChannelConnectionEventsResponse 44 45 // The request message for the PublishEvents method. 46 // 47 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 48 type PublishEventsRequest = src.PublishEventsRequest 49 50 // The response message for the PublishEvents method. 51 // 52 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 53 type PublishEventsResponse = src.PublishEventsResponse 54 55 // PublisherClient is the client API for Publisher service. For semantics 56 // around ctx use and closing/ending streaming RPCs, please refer to 57 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 58 // 59 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 60 type PublisherClient = src.PublisherClient 61 62 // PublisherServer is the server API for Publisher service. 63 // 64 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 65 type PublisherServer = src.PublisherServer 66 67 // UnimplementedPublisherServer can be embedded to have forward compatible 68 // implementations. 69 // 70 // Deprecated: Please use types in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 71 type UnimplementedPublisherServer = src.UnimplementedPublisherServer 72 73 // Deprecated: Please use funcs in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 74 func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient { 75 return src.NewPublisherClient(cc) 76 } 77 78 // Deprecated: Please use funcs in: cloud.google.com/go/eventarc/publishing/apiv1/publishingpb 79 func RegisterPublisherServer(s *grpc.Server, srv PublisherServer) { 80 src.RegisterPublisherServer(s, srv) 81 } 82