googleapis-common-protos-types 1.0.2 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +78 -0
  3. data/README.md +19 -0
  4. data/lib/google/api/annotations_pb.rb +4 -0
  5. data/lib/google/api/auth_pb.rb +40 -29
  6. data/lib/google/api/backend_pb.rb +25 -10
  7. data/lib/google/api/billing_pb.rb +10 -10
  8. data/lib/google/api/client_pb.rb +109 -0
  9. data/lib/google/api/config_change_pb.rb +20 -18
  10. data/lib/google/api/consumer_pb.rb +19 -17
  11. data/lib/google/api/context_pb.rb +13 -9
  12. data/lib/google/api/control_pb.rb +5 -3
  13. data/lib/google/api/distribution_pb.rb +46 -37
  14. data/lib/google/api/documentation_pb.rb +22 -19
  15. data/lib/google/api/endpoint_pb.rb +8 -8
  16. data/lib/google/api/error_reason_pb.rb +45 -0
  17. data/lib/google/api/field_behavior_pb.rb +27 -0
  18. data/lib/google/api/http_pb.rb +25 -22
  19. data/lib/google/api/httpbody_pb.rb +8 -5
  20. data/lib/google/api/label_pb.rb +13 -11
  21. data/lib/google/api/launch_stage_pb.rb +25 -0
  22. data/lib/google/api/log_pb.rb +9 -6
  23. data/lib/google/api/logging_pb.rb +11 -10
  24. data/lib/google/api/metric_pb.rb +46 -32
  25. data/lib/google/api/monitored_resource_pb.rb +22 -17
  26. data/lib/google/api/monitoring_pb.rb +11 -10
  27. data/lib/google/api/quota_pb.rb +24 -23
  28. data/lib/google/api/resource_pb.rb +42 -0
  29. data/lib/google/api/routing_pb.rb +25 -0
  30. data/lib/google/api/service_pb.rb +32 -32
  31. data/lib/google/api/source_info_pb.rb +6 -3
  32. data/lib/google/api/system_parameter_pb.rb +16 -14
  33. data/lib/google/api/usage_pb.rb +13 -12
  34. data/lib/google/api/visibility_pb.rb +25 -0
  35. data/lib/google/logging/type/http_request_pb.rb +30 -18
  36. data/lib/google/logging/type/log_severity_pb.rb +23 -12
  37. data/lib/google/longrunning/operations_pb.rb +48 -32
  38. data/lib/google/rpc/code_pb.rb +21 -19
  39. data/lib/google/rpc/error_details_pb.rb +71 -62
  40. data/lib/google/rpc/http_pb.rb +33 -0
  41. data/lib/google/rpc/status_pb.rb +8 -5
  42. data/lib/google/type/calendar_period_pb.rb +25 -0
  43. data/lib/google/type/color_pb.rb +9 -6
  44. data/lib/google/type/date_pb.rb +7 -5
  45. data/lib/google/type/datetime_pb.rb +35 -0
  46. data/lib/google/type/dayofweek_pb.rb +12 -10
  47. data/lib/google/type/decimal_pb.rb +18 -0
  48. data/lib/google/type/expr_pb.rb +21 -0
  49. data/lib/google/type/fraction_pb.rb +19 -0
  50. data/lib/google/type/interval_pb.rb +21 -0
  51. data/lib/google/type/latlng_pb.rb +6 -4
  52. data/lib/google/type/localized_text_pb.rb +19 -0
  53. data/lib/google/type/money_pb.rb +7 -5
  54. data/lib/google/type/month_pb.rb +30 -0
  55. data/lib/google/type/phone_number_pb.rb +27 -0
  56. data/lib/google/type/postal_address_pb.rb +15 -13
  57. data/lib/google/type/quaternion_pb.rb +21 -0
  58. data/lib/google/type/timeofday_pb.rb +8 -6
  59. data/lib/googleapis/common/protos/types/version.rb +23 -0
  60. metadata +32 -39
@@ -4,73 +4,82 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/duration_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.rpc.RetryInfo" do
9
- optional :retry_delay, :message, 1, "google.protobuf.Duration"
10
- end
11
- add_message "google.rpc.DebugInfo" do
12
- repeated :stack_entries, :string, 1
13
- optional :detail, :string, 2
14
- end
15
- add_message "google.rpc.QuotaFailure" do
16
- repeated :violations, :message, 1, "google.rpc.QuotaFailure.Violation"
17
- end
18
- add_message "google.rpc.QuotaFailure.Violation" do
19
- optional :subject, :string, 1
20
- optional :description, :string, 2
21
- end
22
- add_message "google.rpc.PreconditionFailure" do
23
- repeated :violations, :message, 1, "google.rpc.PreconditionFailure.Violation"
24
- end
25
- add_message "google.rpc.PreconditionFailure.Violation" do
26
- optional :type, :string, 1
27
- optional :subject, :string, 2
28
- optional :description, :string, 3
29
- end
30
- add_message "google.rpc.BadRequest" do
31
- repeated :field_violations, :message, 1, "google.rpc.BadRequest.FieldViolation"
32
- end
33
- add_message "google.rpc.BadRequest.FieldViolation" do
34
- optional :field, :string, 1
35
- optional :description, :string, 2
36
- end
37
- add_message "google.rpc.RequestInfo" do
38
- optional :request_id, :string, 1
39
- optional :serving_data, :string, 2
40
- end
41
- add_message "google.rpc.ResourceInfo" do
42
- optional :resource_type, :string, 1
43
- optional :resource_name, :string, 2
44
- optional :owner, :string, 3
45
- optional :description, :string, 4
46
- end
47
- add_message "google.rpc.Help" do
48
- repeated :links, :message, 1, "google.rpc.Help.Link"
49
- end
50
- add_message "google.rpc.Help.Link" do
51
- optional :description, :string, 1
52
- optional :url, :string, 2
53
- end
54
- add_message "google.rpc.LocalizedMessage" do
55
- optional :locale, :string, 1
56
- optional :message, :string, 2
9
+ add_file("google/rpc/error_details.proto", :syntax => :proto3) do
10
+ add_message "google.rpc.ErrorInfo" do
11
+ optional :reason, :string, 1
12
+ optional :domain, :string, 2
13
+ map :metadata, :string, :string, 3
14
+ end
15
+ add_message "google.rpc.RetryInfo" do
16
+ optional :retry_delay, :message, 1, "google.protobuf.Duration"
17
+ end
18
+ add_message "google.rpc.DebugInfo" do
19
+ repeated :stack_entries, :string, 1
20
+ optional :detail, :string, 2
21
+ end
22
+ add_message "google.rpc.QuotaFailure" do
23
+ repeated :violations, :message, 1, "google.rpc.QuotaFailure.Violation"
24
+ end
25
+ add_message "google.rpc.QuotaFailure.Violation" do
26
+ optional :subject, :string, 1
27
+ optional :description, :string, 2
28
+ end
29
+ add_message "google.rpc.PreconditionFailure" do
30
+ repeated :violations, :message, 1, "google.rpc.PreconditionFailure.Violation"
31
+ end
32
+ add_message "google.rpc.PreconditionFailure.Violation" do
33
+ optional :type, :string, 1
34
+ optional :subject, :string, 2
35
+ optional :description, :string, 3
36
+ end
37
+ add_message "google.rpc.BadRequest" do
38
+ repeated :field_violations, :message, 1, "google.rpc.BadRequest.FieldViolation"
39
+ end
40
+ add_message "google.rpc.BadRequest.FieldViolation" do
41
+ optional :field, :string, 1
42
+ optional :description, :string, 2
43
+ end
44
+ add_message "google.rpc.RequestInfo" do
45
+ optional :request_id, :string, 1
46
+ optional :serving_data, :string, 2
47
+ end
48
+ add_message "google.rpc.ResourceInfo" do
49
+ optional :resource_type, :string, 1
50
+ optional :resource_name, :string, 2
51
+ optional :owner, :string, 3
52
+ optional :description, :string, 4
53
+ end
54
+ add_message "google.rpc.Help" do
55
+ repeated :links, :message, 1, "google.rpc.Help.Link"
56
+ end
57
+ add_message "google.rpc.Help.Link" do
58
+ optional :description, :string, 1
59
+ optional :url, :string, 2
60
+ end
61
+ add_message "google.rpc.LocalizedMessage" do
62
+ optional :locale, :string, 1
63
+ optional :message, :string, 2
64
+ end
57
65
  end
58
66
  end
59
67
 
60
68
  module Google
61
69
  module Rpc
62
- RetryInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RetryInfo").msgclass
63
- DebugInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.DebugInfo").msgclass
64
- QuotaFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure").msgclass
65
- QuotaFailure::Violation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure.Violation").msgclass
66
- PreconditionFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure").msgclass
67
- PreconditionFailure::Violation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure.Violation").msgclass
68
- BadRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest").msgclass
69
- BadRequest::FieldViolation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest.FieldViolation").msgclass
70
- RequestInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RequestInfo").msgclass
71
- ResourceInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ResourceInfo").msgclass
72
- Help = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help").msgclass
73
- Help::Link = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help.Link").msgclass
74
- LocalizedMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.LocalizedMessage").msgclass
70
+ ErrorInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ErrorInfo").msgclass
71
+ RetryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RetryInfo").msgclass
72
+ DebugInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.DebugInfo").msgclass
73
+ QuotaFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure").msgclass
74
+ QuotaFailure::Violation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.QuotaFailure.Violation").msgclass
75
+ PreconditionFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure").msgclass
76
+ PreconditionFailure::Violation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.PreconditionFailure.Violation").msgclass
77
+ BadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest").msgclass
78
+ BadRequest::FieldViolation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.BadRequest.FieldViolation").msgclass
79
+ RequestInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.RequestInfo").msgclass
80
+ ResourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.ResourceInfo").msgclass
81
+ Help = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help").msgclass
82
+ Help::Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Help.Link").msgclass
83
+ LocalizedMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.LocalizedMessage").msgclass
75
84
  end
76
85
  end
@@ -0,0 +1,33 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/rpc/http.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/rpc/http.proto", :syntax => :proto3) do
8
+ add_message "google.rpc.HttpRequest" do
9
+ optional :method, :string, 1
10
+ optional :uri, :string, 2
11
+ repeated :headers, :message, 3, "google.rpc.HttpHeader"
12
+ optional :body, :bytes, 4
13
+ end
14
+ add_message "google.rpc.HttpResponse" do
15
+ optional :status, :int32, 1
16
+ optional :reason, :string, 2
17
+ repeated :headers, :message, 3, "google.rpc.HttpHeader"
18
+ optional :body, :bytes, 4
19
+ end
20
+ add_message "google.rpc.HttpHeader" do
21
+ optional :key, :string, 1
22
+ optional :value, :string, 2
23
+ end
24
+ end
25
+ end
26
+
27
+ module Google
28
+ module Rpc
29
+ HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.HttpRequest").msgclass
30
+ HttpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.HttpResponse").msgclass
31
+ HttpHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.HttpHeader").msgclass
32
+ end
33
+ end
@@ -4,16 +4,19 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/any_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.rpc.Status" do
9
- optional :code, :int32, 1
10
- optional :message, :string, 2
11
- repeated :details, :message, 3, "google.protobuf.Any"
9
+ add_file("google/rpc/status.proto", :syntax => :proto3) do
10
+ add_message "google.rpc.Status" do
11
+ optional :code, :int32, 1
12
+ optional :message, :string, 2
13
+ repeated :details, :message, 3, "google.protobuf.Any"
14
+ end
12
15
  end
13
16
  end
14
17
 
15
18
  module Google
16
19
  module Rpc
17
- Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Status").msgclass
20
+ Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.rpc.Status").msgclass
18
21
  end
19
22
  end
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/calendar_period.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/calendar_period.proto", :syntax => :proto3) do
8
+ add_enum "google.type.CalendarPeriod" do
9
+ value :CALENDAR_PERIOD_UNSPECIFIED, 0
10
+ value :DAY, 1
11
+ value :WEEK, 2
12
+ value :FORTNIGHT, 3
13
+ value :MONTH, 4
14
+ value :QUARTER, 5
15
+ value :HALF, 6
16
+ value :YEAR, 7
17
+ end
18
+ end
19
+ end
20
+
21
+ module Google
22
+ module Type
23
+ CalendarPeriod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.CalendarPeriod").enummodule
24
+ end
25
+ end
@@ -4,17 +4,20 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/wrappers_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "google.type.Color" do
9
- optional :red, :float, 1
10
- optional :green, :float, 2
11
- optional :blue, :float, 3
12
- optional :alpha, :message, 4, "google.protobuf.FloatValue"
9
+ add_file("google/type/color.proto", :syntax => :proto3) do
10
+ add_message "google.type.Color" do
11
+ optional :red, :float, 1
12
+ optional :green, :float, 2
13
+ optional :blue, :float, 3
14
+ optional :alpha, :message, 4, "google.protobuf.FloatValue"
15
+ end
13
16
  end
14
17
  end
15
18
 
16
19
  module Google
17
20
  module Type
18
- Color = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Color").msgclass
21
+ Color = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Color").msgclass
19
22
  end
20
23
  end
@@ -4,15 +4,17 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.type.Date" do
8
- optional :year, :int32, 1
9
- optional :month, :int32, 2
10
- optional :day, :int32, 3
7
+ add_file("google/type/date.proto", :syntax => :proto3) do
8
+ add_message "google.type.Date" do
9
+ optional :year, :int32, 1
10
+ optional :month, :int32, 2
11
+ optional :day, :int32, 3
12
+ end
11
13
  end
12
14
  end
13
15
 
14
16
  module Google
15
17
  module Type
16
- Date = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Date").msgclass
18
+ Date = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Date").msgclass
17
19
  end
18
20
  end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/datetime.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/duration_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/type/datetime.proto", :syntax => :proto3) do
10
+ add_message "google.type.DateTime" do
11
+ optional :year, :int32, 1
12
+ optional :month, :int32, 2
13
+ optional :day, :int32, 3
14
+ optional :hours, :int32, 4
15
+ optional :minutes, :int32, 5
16
+ optional :seconds, :int32, 6
17
+ optional :nanos, :int32, 7
18
+ oneof :time_offset do
19
+ optional :utc_offset, :message, 8, "google.protobuf.Duration"
20
+ optional :time_zone, :message, 9, "google.type.TimeZone"
21
+ end
22
+ end
23
+ add_message "google.type.TimeZone" do
24
+ optional :id, :string, 1
25
+ optional :version, :string, 2
26
+ end
27
+ end
28
+ end
29
+
30
+ module Google
31
+ module Type
32
+ DateTime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.DateTime").msgclass
33
+ TimeZone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeZone").msgclass
34
+ end
35
+ end
@@ -4,20 +4,22 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_enum "google.type.DayOfWeek" do
8
- value :DAY_OF_WEEK_UNSPECIFIED, 0
9
- value :MONDAY, 1
10
- value :TUESDAY, 2
11
- value :WEDNESDAY, 3
12
- value :THURSDAY, 4
13
- value :FRIDAY, 5
14
- value :SATURDAY, 6
15
- value :SUNDAY, 7
7
+ add_file("google/type/dayofweek.proto", :syntax => :proto3) do
8
+ add_enum "google.type.DayOfWeek" do
9
+ value :DAY_OF_WEEK_UNSPECIFIED, 0
10
+ value :MONDAY, 1
11
+ value :TUESDAY, 2
12
+ value :WEDNESDAY, 3
13
+ value :THURSDAY, 4
14
+ value :FRIDAY, 5
15
+ value :SATURDAY, 6
16
+ value :SUNDAY, 7
17
+ end
16
18
  end
17
19
  end
18
20
 
19
21
  module Google
20
22
  module Type
21
- DayOfWeek = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.DayOfWeek").enummodule
23
+ DayOfWeek = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.DayOfWeek").enummodule
22
24
  end
23
25
  end
@@ -0,0 +1,18 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/decimal.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/decimal.proto", :syntax => :proto3) do
8
+ add_message "google.type.Decimal" do
9
+ optional :value, :string, 1
10
+ end
11
+ end
12
+ end
13
+
14
+ module Google
15
+ module Type
16
+ Decimal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Decimal").msgclass
17
+ end
18
+ end
@@ -0,0 +1,21 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/expr.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/expr.proto", :syntax => :proto3) do
8
+ add_message "google.type.Expr" do
9
+ optional :expression, :string, 1
10
+ optional :title, :string, 2
11
+ optional :description, :string, 3
12
+ optional :location, :string, 4
13
+ end
14
+ end
15
+ end
16
+
17
+ module Google
18
+ module Type
19
+ Expr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Expr").msgclass
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/fraction.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/fraction.proto", :syntax => :proto3) do
8
+ add_message "google.type.Fraction" do
9
+ optional :numerator, :int64, 1
10
+ optional :denominator, :int64, 2
11
+ end
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Type
17
+ Fraction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Fraction").msgclass
18
+ end
19
+ end
@@ -0,0 +1,21 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/interval.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/type/interval.proto", :syntax => :proto3) do
10
+ add_message "google.type.Interval" do
11
+ optional :start_time, :message, 1, "google.protobuf.Timestamp"
12
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
13
+ end
14
+ end
15
+ end
16
+
17
+ module Google
18
+ module Type
19
+ Interval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Interval").msgclass
20
+ end
21
+ end
@@ -4,14 +4,16 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.type.LatLng" do
8
- optional :latitude, :double, 1
9
- optional :longitude, :double, 2
7
+ add_file("google/type/latlng.proto", :syntax => :proto3) do
8
+ add_message "google.type.LatLng" do
9
+ optional :latitude, :double, 1
10
+ optional :longitude, :double, 2
11
+ end
10
12
  end
11
13
  end
12
14
 
13
15
  module Google
14
16
  module Type
15
- LatLng = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.LatLng").msgclass
17
+ LatLng = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.LatLng").msgclass
16
18
  end
17
19
  end
@@ -0,0 +1,19 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/localized_text.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/localized_text.proto", :syntax => :proto3) do
8
+ add_message "google.type.LocalizedText" do
9
+ optional :text, :string, 1
10
+ optional :language_code, :string, 2
11
+ end
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Type
17
+ LocalizedText = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.LocalizedText").msgclass
18
+ end
19
+ end
@@ -4,15 +4,17 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.type.Money" do
8
- optional :currency_code, :string, 1
9
- optional :units, :int64, 2
10
- optional :nanos, :int32, 3
7
+ add_file("google/type/money.proto", :syntax => :proto3) do
8
+ add_message "google.type.Money" do
9
+ optional :currency_code, :string, 1
10
+ optional :units, :int64, 2
11
+ optional :nanos, :int32, 3
12
+ end
11
13
  end
12
14
  end
13
15
 
14
16
  module Google
15
17
  module Type
16
- Money = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Money").msgclass
18
+ Money = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Money").msgclass
17
19
  end
18
20
  end
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/month.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/month.proto", :syntax => :proto3) do
8
+ add_enum "google.type.Month" do
9
+ value :MONTH_UNSPECIFIED, 0
10
+ value :JANUARY, 1
11
+ value :FEBRUARY, 2
12
+ value :MARCH, 3
13
+ value :APRIL, 4
14
+ value :MAY, 5
15
+ value :JUNE, 6
16
+ value :JULY, 7
17
+ value :AUGUST, 8
18
+ value :SEPTEMBER, 9
19
+ value :OCTOBER, 10
20
+ value :NOVEMBER, 11
21
+ value :DECEMBER, 12
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Type
28
+ Month = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Month").enummodule
29
+ end
30
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/phone_number.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/phone_number.proto", :syntax => :proto3) do
8
+ add_message "google.type.PhoneNumber" do
9
+ optional :extension, :string, 3
10
+ oneof :kind do
11
+ optional :e164_number, :string, 1
12
+ optional :short_code, :message, 2, "google.type.PhoneNumber.ShortCode"
13
+ end
14
+ end
15
+ add_message "google.type.PhoneNumber.ShortCode" do
16
+ optional :region_code, :string, 1
17
+ optional :number, :string, 2
18
+ end
19
+ end
20
+ end
21
+
22
+ module Google
23
+ module Type
24
+ PhoneNumber = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PhoneNumber").msgclass
25
+ PhoneNumber::ShortCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PhoneNumber.ShortCode").msgclass
26
+ end
27
+ end
@@ -4,23 +4,25 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.type.PostalAddress" do
8
- optional :revision, :int32, 1
9
- optional :region_code, :string, 2
10
- optional :language_code, :string, 3
11
- optional :postal_code, :string, 4
12
- optional :sorting_code, :string, 5
13
- optional :administrative_area, :string, 6
14
- optional :locality, :string, 7
15
- optional :sublocality, :string, 8
16
- repeated :address_lines, :string, 9
17
- repeated :recipients, :string, 10
18
- optional :organization, :string, 11
7
+ add_file("google/type/postal_address.proto", :syntax => :proto3) do
8
+ add_message "google.type.PostalAddress" do
9
+ optional :revision, :int32, 1
10
+ optional :region_code, :string, 2
11
+ optional :language_code, :string, 3
12
+ optional :postal_code, :string, 4
13
+ optional :sorting_code, :string, 5
14
+ optional :administrative_area, :string, 6
15
+ optional :locality, :string, 7
16
+ optional :sublocality, :string, 8
17
+ repeated :address_lines, :string, 9
18
+ repeated :recipients, :string, 10
19
+ optional :organization, :string, 11
20
+ end
19
21
  end
20
22
  end
21
23
 
22
24
  module Google
23
25
  module Type
24
- PostalAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PostalAddress").msgclass
26
+ PostalAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.PostalAddress").msgclass
25
27
  end
26
28
  end
@@ -0,0 +1,21 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/type/quaternion.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/type/quaternion.proto", :syntax => :proto3) do
8
+ add_message "google.type.Quaternion" do
9
+ optional :x, :double, 1
10
+ optional :y, :double, 2
11
+ optional :z, :double, 3
12
+ optional :w, :double, 4
13
+ end
14
+ end
15
+ end
16
+
17
+ module Google
18
+ module Type
19
+ Quaternion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.Quaternion").msgclass
20
+ end
21
+ end
@@ -4,16 +4,18 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "google.type.TimeOfDay" do
8
- optional :hours, :int32, 1
9
- optional :minutes, :int32, 2
10
- optional :seconds, :int32, 3
11
- optional :nanos, :int32, 4
7
+ add_file("google/type/timeofday.proto", :syntax => :proto3) do
8
+ add_message "google.type.TimeOfDay" do
9
+ optional :hours, :int32, 1
10
+ optional :minutes, :int32, 2
11
+ optional :seconds, :int32, 3
12
+ optional :nanos, :int32, 4
13
+ end
12
14
  end
13
15
  end
14
16
 
15
17
  module Google
16
18
  module Type
17
- TimeOfDay = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
19
+ TimeOfDay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeOfDay").msgclass
18
20
  end
19
21
  end