forked from elixir-grpc/googleapis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.pb.ex
More file actions
383 lines (307 loc) · 10.9 KB
/
client.pb.ex
File metadata and controls
383 lines (307 loc) · 10.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
defmodule Google.Api.ClientLibraryOrganization do
@moduledoc """
The organization for which the client libraries are being published.
Affects the url where generated docs are published, etc.
"""
use Protobuf,
enum: true,
full_name: "google.api.ClientLibraryOrganization",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, 0
field :CLOUD, 1
field :ADS, 2
field :PHOTOS, 3
field :STREET_VIEW, 4
field :SHOPPING, 5
field :GEO, 6
field :GENERATIVE_AI, 7
end
defmodule Google.Api.ClientLibraryDestination do
@moduledoc """
To where should client libraries be published?
"""
use Protobuf,
enum: true,
full_name: "google.api.ClientLibraryDestination",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, 0
field :GITHUB, 10
field :PACKAGE_MANAGER, 20
end
defmodule Google.Api.CommonLanguageSettings do
@moduledoc """
Required information for every language.
"""
use Protobuf,
full_name: "google.api.CommonLanguageSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :reference_docs_uri, 1, type: :string, json_name: "referenceDocsUri", deprecated: true
field :destinations, 2, repeated: true, type: Google.Api.ClientLibraryDestination, enum: true
field :selective_gapic_generation, 3,
type: Google.Api.SelectiveGapicGeneration,
json_name: "selectiveGapicGeneration"
end
defmodule Google.Api.ClientLibrarySettings do
@moduledoc """
Details about how and where to publish client libraries.
"""
use Protobuf,
full_name: "google.api.ClientLibrarySettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :version, 1, type: :string
field :launch_stage, 2, type: Google.Api.LaunchStage, json_name: "launchStage", enum: true
field :rest_numeric_enums, 3, type: :bool, json_name: "restNumericEnums"
field :java_settings, 21, type: Google.Api.JavaSettings, json_name: "javaSettings"
field :cpp_settings, 22, type: Google.Api.CppSettings, json_name: "cppSettings"
field :php_settings, 23, type: Google.Api.PhpSettings, json_name: "phpSettings"
field :python_settings, 24, type: Google.Api.PythonSettings, json_name: "pythonSettings"
field :node_settings, 25, type: Google.Api.NodeSettings, json_name: "nodeSettings"
field :dotnet_settings, 26, type: Google.Api.DotnetSettings, json_name: "dotnetSettings"
field :ruby_settings, 27, type: Google.Api.RubySettings, json_name: "rubySettings"
field :go_settings, 28, type: Google.Api.GoSettings, json_name: "goSettings"
end
defmodule Google.Api.Publishing do
@moduledoc """
This message configures the settings for publishing [Google Cloud Client
libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
generated from the service config.
"""
use Protobuf,
full_name: "google.api.Publishing",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :method_settings, 2,
repeated: true,
type: Google.Api.MethodSettings,
json_name: "methodSettings"
field :new_issue_uri, 101, type: :string, json_name: "newIssueUri"
field :documentation_uri, 102, type: :string, json_name: "documentationUri"
field :api_short_name, 103, type: :string, json_name: "apiShortName"
field :github_label, 104, type: :string, json_name: "githubLabel"
field :codeowner_github_teams, 105,
repeated: true,
type: :string,
json_name: "codeownerGithubTeams"
field :doc_tag_prefix, 106, type: :string, json_name: "docTagPrefix"
field :organization, 107, type: Google.Api.ClientLibraryOrganization, enum: true
field :library_settings, 109,
repeated: true,
type: Google.Api.ClientLibrarySettings,
json_name: "librarySettings"
field :proto_reference_documentation_uri, 110,
type: :string,
json_name: "protoReferenceDocumentationUri"
field :rest_reference_documentation_uri, 111,
type: :string,
json_name: "restReferenceDocumentationUri"
end
defmodule Google.Api.JavaSettings.ServiceClassNamesEntry do
use Protobuf,
full_name: "google.api.JavaSettings.ServiceClassNamesEntry",
map: true,
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Google.Api.JavaSettings do
@moduledoc """
Settings for Java client libraries.
"""
use Protobuf,
full_name: "google.api.JavaSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :library_package, 1, type: :string, json_name: "libraryPackage"
field :service_class_names, 2,
repeated: true,
type: Google.Api.JavaSettings.ServiceClassNamesEntry,
json_name: "serviceClassNames",
map: true
field :common, 3, type: Google.Api.CommonLanguageSettings
end
defmodule Google.Api.CppSettings do
@moduledoc """
Settings for C++ client libraries.
"""
use Protobuf,
full_name: "google.api.CppSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
end
defmodule Google.Api.PhpSettings do
@moduledoc """
Settings for Php client libraries.
"""
use Protobuf,
full_name: "google.api.PhpSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
end
defmodule Google.Api.PythonSettings.ExperimentalFeatures do
@moduledoc """
Experimental features to be included during client library generation.
These fields will be deprecated once the feature graduates and is enabled
by default.
"""
use Protobuf,
full_name: "google.api.PythonSettings.ExperimentalFeatures",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :rest_async_io_enabled, 1, type: :bool, json_name: "restAsyncIoEnabled"
field :protobuf_pythonic_types_enabled, 2,
type: :bool,
json_name: "protobufPythonicTypesEnabled"
field :unversioned_package_disabled, 3, type: :bool, json_name: "unversionedPackageDisabled"
end
defmodule Google.Api.PythonSettings do
@moduledoc """
Settings for Python client libraries.
"""
use Protobuf,
full_name: "google.api.PythonSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
field :experimental_features, 2,
type: Google.Api.PythonSettings.ExperimentalFeatures,
json_name: "experimentalFeatures"
end
defmodule Google.Api.NodeSettings do
@moduledoc """
Settings for Node client libraries.
"""
use Protobuf,
full_name: "google.api.NodeSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
end
defmodule Google.Api.DotnetSettings.RenamedServicesEntry do
use Protobuf,
full_name: "google.api.DotnetSettings.RenamedServicesEntry",
map: true,
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Google.Api.DotnetSettings.RenamedResourcesEntry do
use Protobuf,
full_name: "google.api.DotnetSettings.RenamedResourcesEntry",
map: true,
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Google.Api.DotnetSettings do
@moduledoc """
Settings for Dotnet client libraries.
"""
use Protobuf,
full_name: "google.api.DotnetSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
field :renamed_services, 2,
repeated: true,
type: Google.Api.DotnetSettings.RenamedServicesEntry,
json_name: "renamedServices",
map: true
field :renamed_resources, 3,
repeated: true,
type: Google.Api.DotnetSettings.RenamedResourcesEntry,
json_name: "renamedResources",
map: true
field :ignored_resources, 4, repeated: true, type: :string, json_name: "ignoredResources"
field :forced_namespace_aliases, 5,
repeated: true,
type: :string,
json_name: "forcedNamespaceAliases"
field :handwritten_signatures, 6,
repeated: true,
type: :string,
json_name: "handwrittenSignatures"
end
defmodule Google.Api.RubySettings do
@moduledoc """
Settings for Ruby client libraries.
"""
use Protobuf,
full_name: "google.api.RubySettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
end
defmodule Google.Api.GoSettings.RenamedServicesEntry do
use Protobuf,
full_name: "google.api.GoSettings.RenamedServicesEntry",
map: true,
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Google.Api.GoSettings do
@moduledoc """
Settings for Go client libraries.
"""
use Protobuf,
full_name: "google.api.GoSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :common, 1, type: Google.Api.CommonLanguageSettings
field :renamed_services, 2,
repeated: true,
type: Google.Api.GoSettings.RenamedServicesEntry,
json_name: "renamedServices",
map: true
end
defmodule Google.Api.MethodSettings.LongRunning do
@moduledoc """
Describes settings to use when generating API methods that use the
long-running operation pattern.
All default values below are from those used in the client library
generators (e.g.
[Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
"""
use Protobuf,
full_name: "google.api.MethodSettings.LongRunning",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :initial_poll_delay, 1, type: Google.Protobuf.Duration, json_name: "initialPollDelay"
field :poll_delay_multiplier, 2, type: :float, json_name: "pollDelayMultiplier"
field :max_poll_delay, 3, type: Google.Protobuf.Duration, json_name: "maxPollDelay"
field :total_poll_timeout, 4, type: Google.Protobuf.Duration, json_name: "totalPollTimeout"
end
defmodule Google.Api.MethodSettings do
@moduledoc """
Describes the generator configuration for a method.
"""
use Protobuf,
full_name: "google.api.MethodSettings",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :selector, 1, type: :string
field :long_running, 2, type: Google.Api.MethodSettings.LongRunning, json_name: "longRunning"
field :auto_populated_fields, 3, repeated: true, type: :string, json_name: "autoPopulatedFields"
end
defmodule Google.Api.SelectiveGapicGeneration do
@moduledoc """
This message is used to configure the generation of a subset of the RPCs in
a service for client libraries.
"""
use Protobuf,
full_name: "google.api.SelectiveGapicGeneration",
protoc_gen_elixir_version: "0.16.0",
syntax: :proto3
field :methods, 1, repeated: true, type: :string
field :generate_omitted_as_internal, 2, type: :bool, json_name: "generateOmittedAsInternal"
end