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 apigeeconnect aliases all exported identifiers in package 18 // "cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package apigeeconnect 24 25 import ( 26 src "cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 31 const ( 32 Action_ACTION_UNSPECIFIED = src.Action_ACTION_UNSPECIFIED 33 Action_OPEN_NEW_STREAM = src.Action_OPEN_NEW_STREAM 34 Scheme_HTTPS = src.Scheme_HTTPS 35 Scheme_SCHEME_UNSPECIFIED = src.Scheme_SCHEME_UNSPECIFIED 36 TetherEndpoint_APIGEE_MART = src.TetherEndpoint_APIGEE_MART 37 TetherEndpoint_APIGEE_MINT_RATING = src.TetherEndpoint_APIGEE_MINT_RATING 38 TetherEndpoint_APIGEE_RUNTIME = src.TetherEndpoint_APIGEE_RUNTIME 39 TetherEndpoint_TETHER_ENDPOINT_UNSPECIFIED = src.TetherEndpoint_TETHER_ENDPOINT_UNSPECIFIED 40 ) 41 42 // Deprecated: Please use vars in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 43 var ( 44 Action_name = src.Action_name 45 Action_value = src.Action_value 46 File_google_cloud_apigeeconnect_v1_connection_proto = src.File_google_cloud_apigeeconnect_v1_connection_proto 47 File_google_cloud_apigeeconnect_v1_tether_proto = src.File_google_cloud_apigeeconnect_v1_tether_proto 48 Scheme_name = src.Scheme_name 49 Scheme_value = src.Scheme_value 50 TetherEndpoint_name = src.TetherEndpoint_name 51 TetherEndpoint_value = src.TetherEndpoint_value 52 ) 53 54 // The action taken by agent. 55 // 56 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 57 type Action = src.Action 58 type Cluster = src.Cluster 59 type Connection = src.Connection 60 61 // ConnectionServiceClient is the client API for ConnectionService service. 62 // For semantics around ctx use and closing/ending streaming RPCs, please refer 63 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 64 // 65 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 66 type ConnectionServiceClient = src.ConnectionServiceClient 67 68 // ConnectionServiceServer is the server API for ConnectionService service. 69 // 70 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 71 type ConnectionServiceServer = src.ConnectionServiceServer 72 73 // gRPC request payload for tether. 74 // 75 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 76 type EgressRequest = src.EgressRequest 77 78 // gRPC response payload for tether. 79 // 80 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 81 type EgressResponse = src.EgressResponse 82 83 // The http headers. 84 // 85 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 86 type Header = src.Header 87 88 // The proto definition of http request. 89 // 90 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 91 type HttpRequest = src.HttpRequest 92 93 // The proto definition of http response. 94 // 95 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 96 type HttpResponse = src.HttpResponse 97 98 // The request for [ListConnections][Management.ListConnections]. 99 // 100 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 101 type ListConnectionsRequest = src.ListConnectionsRequest 102 103 // The response for [ListConnections][Management.ListConnections]. 104 // 105 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 106 type ListConnectionsResponse = src.ListConnectionsResponse 107 108 // Payload for EgressRequest. 109 // 110 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 111 type Payload = src.Payload 112 type Payload_Action = src.Payload_Action 113 type Payload_HttpRequest = src.Payload_HttpRequest 114 type Payload_StreamInfo = src.Payload_StreamInfo 115 116 // HTTP Scheme. 117 // 118 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 119 type Scheme = src.Scheme 120 121 // The Information of bi-directional stream. 122 // 123 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 124 type StreamInfo = src.StreamInfo 125 126 // TetherClient is the client API for Tether service. For semantics around ctx 127 // use and closing/ending streaming RPCs, please refer to 128 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 129 // 130 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 131 type TetherClient = src.TetherClient 132 133 // Endpoint indicates where the messages will be delivered. 134 // 135 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 136 type TetherEndpoint = src.TetherEndpoint 137 138 // TetherServer is the server API for Tether service. 139 // 140 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 141 type TetherServer = src.TetherServer 142 type Tether_EgressClient = src.Tether_EgressClient 143 type Tether_EgressServer = src.Tether_EgressServer 144 145 // UnimplementedConnectionServiceServer can be embedded to have forward 146 // compatible implementations. 147 // 148 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 149 type UnimplementedConnectionServiceServer = src.UnimplementedConnectionServiceServer 150 151 // UnimplementedTetherServer can be embedded to have forward compatible 152 // implementations. 153 // 154 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 155 type UnimplementedTetherServer = src.UnimplementedTetherServer 156 157 // The proto definition of url. A url represents a URL and the general form 158 // represented is: `[scheme://][google.cloud.apigeeconnect.v1.Url.host][path]` 159 // 160 // Deprecated: Please use types in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 161 type Url = src.Url 162 163 // Deprecated: Please use funcs in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 164 func NewConnectionServiceClient(cc grpc.ClientConnInterface) ConnectionServiceClient { 165 return src.NewConnectionServiceClient(cc) 166 } 167 168 // Deprecated: Please use funcs in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 169 func NewTetherClient(cc grpc.ClientConnInterface) TetherClient { return src.NewTetherClient(cc) } 170 171 // Deprecated: Please use funcs in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 172 func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer) { 173 src.RegisterConnectionServiceServer(s, srv) 174 } 175 176 // Deprecated: Please use funcs in: cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb 177 func RegisterTetherServer(s *grpc.Server, srv TetherServer) { src.RegisterTetherServer(s, srv) } 178