Debian Codegraph @

googleapis/longrunning/alias.go

raw
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 longrunning aliases all exported identifiers in package
18 // "cloud.google.com/go/longrunning/autogen/longrunningpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package longrunning
24
25 import (
26 src "cloud.google.com/go/longrunning/autogen/longrunningpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use vars in: cloud.google.com/go/longrunning/autogen/longrunningpb
31 var (
32 E_OperationInfo = src.E_OperationInfo
33 File_google_longrunning_operations_proto = src.File_google_longrunning_operations_proto
34 )
35
36 // The request message for
37 // [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
38 //
39 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
40 type CancelOperationRequest = src.CancelOperationRequest
41
42 // The request message for
43 // [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
44 //
45 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
46 type DeleteOperationRequest = src.DeleteOperationRequest
47
48 // The request message for
49 // [Operations.GetOperation][google.longrunning.Operations.GetOperation].
50 //
51 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
52 type GetOperationRequest = src.GetOperationRequest
53
54 // The request message for
55 // [Operations.ListOperations][google.longrunning.Operations.ListOperations].
56 //
57 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
58 type ListOperationsRequest = src.ListOperationsRequest
59
60 // The response message for
61 // [Operations.ListOperations][google.longrunning.Operations.ListOperations].
62 //
63 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
64 type ListOperationsResponse = src.ListOperationsResponse
65
66 // This resource represents a long-running operation that is the result of a
67 // network API call.
68 //
69 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
70 type Operation = src.Operation
71
72 // A message representing the message types used by a long-running operation.
73 // Example: rpc LongRunningRecognize(LongRunningRecognizeRequest) returns
74 // (google.longrunning.Operation) { option (google.longrunning.operation_info)
75 // = { response_type: "LongRunningRecognizeResponse" metadata_type:
76 // "LongRunningRecognizeMetadata" }; }
77 //
78 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
79 type OperationInfo = src.OperationInfo
80 type Operation_Error = src.Operation_Error
81 type Operation_Response = src.Operation_Response
82
83 // OperationsClient is the client API for Operations service. For semantics
84 // around ctx use and closing/ending streaming RPCs, please refer to
85 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
86 //
87 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
88 type OperationsClient = src.OperationsClient
89
90 // OperationsServer is the server API for Operations service.
91 //
92 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
93 type OperationsServer = src.OperationsServer
94
95 // UnimplementedOperationsServer can be embedded to have forward compatible
96 // implementations.
97 //
98 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
99 type UnimplementedOperationsServer = src.UnimplementedOperationsServer
100
101 // The request message for
102 // [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
103 //
104 // Deprecated: Please use types in: cloud.google.com/go/longrunning/autogen/longrunningpb
105 type WaitOperationRequest = src.WaitOperationRequest
106
107 // Deprecated: Please use funcs in: cloud.google.com/go/longrunning/autogen/longrunningpb
108 func NewOperationsClient(cc grpc.ClientConnInterface) OperationsClient {
109 return src.NewOperationsClient(cc)
110 }
111
112 // Deprecated: Please use funcs in: cloud.google.com/go/longrunning/autogen/longrunningpb
113 func RegisterOperationsServer(s *grpc.Server, srv OperationsServer) {
114 src.RegisterOperationsServer(s, srv)
115 }