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 phishingprotection aliases all exported identifiers in package 18 // "cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package phishingprotection 24 25 import ( 26 src "cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use vars in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 31 var ( 32 File_google_cloud_phishingprotection_v1beta1_phishingprotection_proto = src.File_google_cloud_phishingprotection_v1beta1_phishingprotection_proto 33 ) 34 35 // PhishingProtectionServiceV1Beta1Client is the client API for 36 // PhishingProtectionServiceV1Beta1 service. For semantics around ctx use and 37 // closing/ending streaming RPCs, please refer to 38 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 39 // 40 // Deprecated: Please use types in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 41 type PhishingProtectionServiceV1Beta1Client = src.PhishingProtectionServiceV1Beta1Client 42 43 // PhishingProtectionServiceV1Beta1Server is the server API for 44 // PhishingProtectionServiceV1Beta1 service. 45 // 46 // Deprecated: Please use types in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 47 type PhishingProtectionServiceV1Beta1Server = src.PhishingProtectionServiceV1Beta1Server 48 49 // The ReportPhishing request message. 50 // 51 // Deprecated: Please use types in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 52 type ReportPhishingRequest = src.ReportPhishingRequest 53 54 // The ReportPhishing (empty) response message. 55 // 56 // Deprecated: Please use types in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 57 type ReportPhishingResponse = src.ReportPhishingResponse 58 59 // UnimplementedPhishingProtectionServiceV1Beta1Server can be embedded to have 60 // forward compatible implementations. 61 // 62 // Deprecated: Please use types in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 63 type UnimplementedPhishingProtectionServiceV1Beta1Server = src.UnimplementedPhishingProtectionServiceV1Beta1Server 64 65 // Deprecated: Please use funcs in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 66 func NewPhishingProtectionServiceV1Beta1Client(cc grpc.ClientConnInterface) PhishingProtectionServiceV1Beta1Client { 67 return src.NewPhishingProtectionServiceV1Beta1Client(cc) 68 } 69 70 // Deprecated: Please use funcs in: cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb 71 func RegisterPhishingProtectionServiceV1Beta1Server(s *grpc.Server, srv PhishingProtectionServiceV1Beta1Server) { 72 src.RegisterPhishingProtectionServiceV1Beta1Server(s, srv) 73 } 74