blob: 66fdb650f4baaf07e5723bba219f0bd87e9de4f1 [file] [log] [blame]
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +00001// Copyright 2018 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
Don Newton98fd8812019-09-23 15:15:02 -040015// Code generated by protoc-gen-go. DO NOT EDIT.
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000016// versions:
17// protoc-gen-go v1.26.0
18// protoc v3.12.2
Don Newton98fd8812019-09-23 15:15:02 -040019// source: google/api/client.proto
20
21package annotations
22
23import (
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000024 reflect "reflect"
Don Newton98fd8812019-09-23 15:15:02 -040025
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000026 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
Don Newton98fd8812019-09-23 15:15:02 -040029)
30
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000031const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36)
Don Newton98fd8812019-09-23 15:15:02 -040037
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000038var file_google_api_client_proto_extTypes = []protoimpl.ExtensionInfo{
39 {
40 ExtendedType: (*descriptorpb.MethodOptions)(nil),
41 ExtensionType: ([]string)(nil),
42 Field: 1051,
43 Name: "google.api.method_signature",
44 Tag: "bytes,1051,rep,name=method_signature",
45 Filename: "google/api/client.proto",
46 },
47 {
48 ExtendedType: (*descriptorpb.ServiceOptions)(nil),
49 ExtensionType: (*string)(nil),
50 Field: 1049,
51 Name: "google.api.default_host",
52 Tag: "bytes,1049,opt,name=default_host",
53 Filename: "google/api/client.proto",
54 },
55 {
56 ExtendedType: (*descriptorpb.ServiceOptions)(nil),
57 ExtensionType: (*string)(nil),
58 Field: 1050,
59 Name: "google.api.oauth_scopes",
60 Tag: "bytes,1050,opt,name=oauth_scopes",
61 Filename: "google/api/client.proto",
62 },
Don Newton98fd8812019-09-23 15:15:02 -040063}
64
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000065// Extension fields to descriptorpb.MethodOptions.
66var (
67 // A definition of a client library method signature.
68 //
69 // In client libraries, each proto RPC corresponds to one or more methods
70 // which the end user is able to call, and calls the underlying RPC.
71 // Normally, this method receives a single argument (a struct or instance
72 // corresponding to the RPC request object). Defining this field will
73 // add one or more overloads providing flattened or simpler method signatures
74 // in some languages.
75 //
76 // The fields on the method signature are provided as a comma-separated
77 // string.
78 //
79 // For example, the proto RPC and annotation:
80 //
81 // rpc CreateSubscription(CreateSubscriptionRequest)
82 // returns (Subscription) {
83 // option (google.api.method_signature) = "name,topic";
84 // }
85 //
86 // Would add the following Java overload (in addition to the method accepting
87 // the request object):
88 //
89 // public final Subscription createSubscription(String name, String topic)
90 //
91 // The following backwards-compatibility guidelines apply:
92 //
93 // * Adding this annotation to an unannotated method is backwards
94 // compatible.
95 // * Adding this annotation to a method which already has existing
96 // method signature annotations is backwards compatible if and only if
97 // the new method signature annotation is last in the sequence.
98 // * Modifying or removing an existing method signature annotation is
99 // a breaking change.
100 // * Re-ordering existing method signature annotations is a breaking
101 // change.
102 //
103 // repeated string method_signature = 1051;
104 E_MethodSignature = &file_google_api_client_proto_extTypes[0]
105)
106
107// Extension fields to descriptorpb.ServiceOptions.
108var (
109 // The hostname for this service.
110 // This should be specified with no prefix or protocol.
111 //
112 // Example:
113 //
114 // service Foo {
115 // option (google.api.default_host) = "foo.googleapi.com";
116 // ...
117 // }
118 //
119 // optional string default_host = 1049;
120 E_DefaultHost = &file_google_api_client_proto_extTypes[1]
121 // OAuth scopes needed for the client.
122 //
123 // Example:
124 //
125 // service Foo {
126 // option (google.api.oauth_scopes) = \
127 // "https://www.googleapis.com/auth/cloud-platform";
128 // ...
129 // }
130 //
131 // If there is more than one scope, use a comma-separated string:
132 //
133 // Example:
134 //
135 // service Foo {
136 // option (google.api.oauth_scopes) = \
137 // "https://www.googleapis.com/auth/cloud-platform,"
138 // "https://www.googleapis.com/auth/monitoring";
139 // ...
140 // }
141 //
142 // optional string oauth_scopes = 1050;
143 E_OauthScopes = &file_google_api_client_proto_extTypes[2]
144)
145
146var File_google_api_client_proto protoreflect.FileDescriptor
147
148var file_google_api_client_proto_rawDesc = []byte{
149 0x0a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
150 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
151 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
152 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
153 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x4a, 0x0a, 0x10, 0x6d, 0x65, 0x74, 0x68, 0x6f,
154 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x6f,
155 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65,
156 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x9b, 0x08, 0x20, 0x03,
157 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
158 0x75, 0x72, 0x65, 0x3a, 0x43, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x68,
159 0x6f, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
160 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74,
161 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x99, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x66,
162 0x61, 0x75, 0x6c, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x3a, 0x43, 0x0a, 0x0c, 0x6f, 0x61, 0x75, 0x74,
163 0x68, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
164 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
165 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x9a, 0x08, 0x20, 0x01, 0x28, 0x09,
166 0x52, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x42, 0x69, 0x0a,
167 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42,
168 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41,
169 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
170 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
171 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
172 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
173 0x73, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
Don Newton98fd8812019-09-23 15:15:02 -0400174}
175
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +0000176var file_google_api_client_proto_goTypes = []interface{}{
177 (*descriptorpb.MethodOptions)(nil), // 0: google.protobuf.MethodOptions
178 (*descriptorpb.ServiceOptions)(nil), // 1: google.protobuf.ServiceOptions
179}
180var file_google_api_client_proto_depIdxs = []int32{
181 0, // 0: google.api.method_signature:extendee -> google.protobuf.MethodOptions
182 1, // 1: google.api.default_host:extendee -> google.protobuf.ServiceOptions
183 1, // 2: google.api.oauth_scopes:extendee -> google.protobuf.ServiceOptions
184 3, // [3:3] is the sub-list for method output_type
185 3, // [3:3] is the sub-list for method input_type
186 3, // [3:3] is the sub-list for extension type_name
187 0, // [0:3] is the sub-list for extension extendee
188 0, // [0:0] is the sub-list for field type_name
Don Newton98fd8812019-09-23 15:15:02 -0400189}
190
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +0000191func init() { file_google_api_client_proto_init() }
192func file_google_api_client_proto_init() {
193 if File_google_api_client_proto != nil {
194 return
195 }
196 type x struct{}
197 out := protoimpl.TypeBuilder{
198 File: protoimpl.DescBuilder{
199 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
200 RawDescriptor: file_google_api_client_proto_rawDesc,
201 NumEnums: 0,
202 NumMessages: 0,
203 NumExtensions: 3,
204 NumServices: 0,
205 },
206 GoTypes: file_google_api_client_proto_goTypes,
207 DependencyIndexes: file_google_api_client_proto_depIdxs,
208 ExtensionInfos: file_google_api_client_proto_extTypes,
209 }.Build()
210 File_google_api_client_proto = out.File
211 file_google_api_client_proto_rawDesc = nil
212 file_google_api_client_proto_goTypes = nil
213 file_google_api_client_proto_depIdxs = nil
Don Newton98fd8812019-09-23 15:15:02 -0400214}