google-cloud-app_engine-v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/appengine/v1/app_yaml_pb.rb +25 -103
  4. data/lib/google/appengine/v1/appengine_pb.rb +33 -186
  5. data/lib/google/appengine/v1/application_pb.rb +25 -45
  6. data/lib/google/appengine/v1/audit_data_pb.rb +25 -13
  7. data/lib/google/appengine/v1/certificate_pb.rb +25 -29
  8. data/lib/google/appengine/v1/deploy_pb.rb +25 -23
  9. data/lib/google/appengine/v1/deployed_files_pb.rb +25 -2
  10. data/lib/google/appengine/v1/domain_mapping_pb.rb +24 -28
  11. data/lib/google/appengine/v1/domain_pb.rb +24 -5
  12. data/lib/google/appengine/v1/firewall_pb.rb +24 -12
  13. data/lib/google/appengine/v1/instance_pb.rb +25 -35
  14. data/lib/google/appengine/v1/location_pb.rb +24 -6
  15. data/lib/google/appengine/v1/network_settings_pb.rb +24 -10
  16. data/lib/google/appengine/v1/operation_pb.rb +25 -16
  17. data/lib/google/appengine/v1/service_pb.rb +25 -18
  18. data/lib/google/appengine/v1/version_pb.rb +28 -153
  19. data/lib/google/cloud/app_engine/v1/applications/client.rb +6 -4
  20. data/lib/google/cloud/app_engine/v1/applications/operations.rb +5 -3
  21. data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +6 -4
  22. data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +9 -7
  23. data/lib/google/cloud/app_engine/v1/applications/rest/service_stub.rb +4 -4
  24. data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +6 -4
  25. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +6 -4
  26. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/service_stub.rb +5 -5
  27. data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +6 -4
  28. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +6 -4
  29. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/service_stub.rb +1 -1
  30. data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +6 -4
  31. data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +5 -3
  32. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +6 -4
  33. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +9 -7
  34. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/service_stub.rb +5 -5
  35. data/lib/google/cloud/app_engine/v1/firewall/client.rb +6 -4
  36. data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +6 -4
  37. data/lib/google/cloud/app_engine/v1/firewall/rest/service_stub.rb +6 -6
  38. data/lib/google/cloud/app_engine/v1/instances/client.rb +6 -4
  39. data/lib/google/cloud/app_engine/v1/instances/operations.rb +5 -3
  40. data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +6 -4
  41. data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +9 -7
  42. data/lib/google/cloud/app_engine/v1/instances/rest/service_stub.rb +4 -4
  43. data/lib/google/cloud/app_engine/v1/services/client.rb +6 -4
  44. data/lib/google/cloud/app_engine/v1/services/operations.rb +5 -3
  45. data/lib/google/cloud/app_engine/v1/services/rest/client.rb +6 -4
  46. data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +9 -7
  47. data/lib/google/cloud/app_engine/v1/services/rest/service_stub.rb +4 -4
  48. data/lib/google/cloud/app_engine/v1/version.rb +1 -1
  49. data/lib/google/cloud/app_engine/v1/versions/client.rb +6 -4
  50. data/lib/google/cloud/app_engine/v1/versions/operations.rb +5 -3
  51. data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +6 -4
  52. data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +9 -7
  53. data/lib/google/cloud/app_engine/v1/versions/rest/service_stub.rb +5 -5
  54. data/proto_docs/google/api/client.rb +67 -4
  55. data/proto_docs/google/appengine/v1/domain.rb +1 -1
  56. data/proto_docs/google/protobuf/any.rb +7 -4
  57. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  58. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/certificate.proto
3
4
 
@@ -5,37 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/appengine/v1/certificate.proto", :syntax => :proto3) do
10
- add_message "google.appengine.v1.AuthorizedCertificate" do
11
- optional :name, :string, 1
12
- optional :id, :string, 2
13
- optional :display_name, :string, 3
14
- repeated :domain_names, :string, 4
15
- optional :expire_time, :message, 5, "google.protobuf.Timestamp"
16
- optional :certificate_raw_data, :message, 6, "google.appengine.v1.CertificateRawData"
17
- optional :managed_certificate, :message, 7, "google.appengine.v1.ManagedCertificate"
18
- repeated :visible_domain_mappings, :string, 8
19
- optional :domain_mappings_count, :int32, 9
20
- end
21
- add_message "google.appengine.v1.CertificateRawData" do
22
- optional :public_certificate, :string, 1
23
- optional :private_key, :string, 2
24
- end
25
- add_message "google.appengine.v1.ManagedCertificate" do
26
- optional :last_renewal_time, :message, 1, "google.protobuf.Timestamp"
27
- optional :status, :enum, 2, "google.appengine.v1.ManagementStatus"
28
- end
29
- add_enum "google.appengine.v1.ManagementStatus" do
30
- value :MANAGEMENT_STATUS_UNSPECIFIED, 0
31
- value :OK, 1
32
- value :PENDING, 2
33
- value :FAILED_RETRYING_NOT_VISIBLE, 4
34
- value :FAILED_PERMANENT, 6
35
- value :FAILED_RETRYING_CAA_FORBIDDEN, 7
36
- value :FAILED_RETRYING_CAA_CHECKING, 8
9
+
10
+ descriptor_data = "\n%google/appengine/v1/certificate.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdb\x02\n\x15\x41uthorizedCertificate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x14\n\x0c\x64omain_names\x18\x04 \x03(\t\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x14\x63\x65rtificate_raw_data\x18\x06 \x01(\x0b\x32\'.google.appengine.v1.CertificateRawData\x12\x44\n\x13managed_certificate\x18\x07 \x01(\x0b\x32\'.google.appengine.v1.ManagedCertificate\x12\x1f\n\x17visible_domain_mappings\x18\x08 \x03(\t\x12\x1d\n\x15\x64omain_mappings_count\x18\t \x01(\x05\"E\n\x12\x43\x65rtificateRawData\x12\x1a\n\x12public_certificate\x18\x01 \x01(\t\x12\x13\n\x0bprivate_key\x18\x02 \x01(\t\"\x82\x01\n\x12ManagedCertificate\x12\x35\n\x11last_renewal_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x06status\x18\x02 \x01(\x0e\x32%.google.appengine.v1.ManagementStatus*\xc6\x01\n\x10ManagementStatus\x12!\n\x1dMANAGEMENT_STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x1f\n\x1b\x46\x41ILED_RETRYING_NOT_VISIBLE\x10\x04\x12\x14\n\x10\x46\x41ILED_PERMANENT\x10\x06\x12!\n\x1d\x46\x41ILED_RETRYING_CAA_FORBIDDEN\x10\x07\x12 \n\x1c\x46\x41ILED_RETRYING_CAA_CHECKING\x10\x08\x42\xc1\x01\n\x17\x63om.google.appengine.v1B\x10\x43\x65rtificateProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
31
  end
38
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
39
35
  end
40
36
 
41
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/deploy.proto
3
4
 
@@ -5,31 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/duration_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/appengine/v1/deploy.proto", :syntax => :proto3) do
10
- add_message "google.appengine.v1.Deployment" do
11
- map :files, :string, :message, 1, "google.appengine.v1.FileInfo"
12
- optional :container, :message, 2, "google.appengine.v1.ContainerInfo"
13
- optional :zip, :message, 3, "google.appengine.v1.ZipInfo"
14
- optional :cloud_build_options, :message, 6, "google.appengine.v1.CloudBuildOptions"
15
- end
16
- add_message "google.appengine.v1.FileInfo" do
17
- optional :source_url, :string, 1
18
- optional :sha1_sum, :string, 2
19
- optional :mime_type, :string, 3
20
- end
21
- add_message "google.appengine.v1.ContainerInfo" do
22
- optional :image, :string, 1
23
- end
24
- add_message "google.appengine.v1.CloudBuildOptions" do
25
- optional :app_yaml_path, :string, 1
26
- optional :cloud_build_timeout, :message, 2, "google.protobuf.Duration"
27
- end
28
- add_message "google.appengine.v1.ZipInfo" do
29
- optional :source_url, :string, 3
30
- optional :files_count, :int32, 4
9
+
10
+ descriptor_data = "\n google/appengine/v1/deploy.proto\x12\x13google.appengine.v1\x1a\x1egoogle/protobuf/duration.proto\"\xbb\x02\n\nDeployment\x12\x39\n\x05\x66iles\x18\x01 \x03(\x0b\x32*.google.appengine.v1.Deployment.FilesEntry\x12\x35\n\tcontainer\x18\x02 \x01(\x0b\x32\".google.appengine.v1.ContainerInfo\x12)\n\x03zip\x18\x03 \x01(\x0b\x32\x1c.google.appengine.v1.ZipInfo\x12\x43\n\x13\x63loud_build_options\x18\x06 \x01(\x0b\x32&.google.appengine.v1.CloudBuildOptions\x1aK\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.google.appengine.v1.FileInfo:\x02\x38\x01\"C\n\x08\x46ileInfo\x12\x12\n\nsource_url\x18\x01 \x01(\t\x12\x10\n\x08sha1_sum\x18\x02 \x01(\t\x12\x11\n\tmime_type\x18\x03 \x01(\t\"\x1e\n\rContainerInfo\x12\r\n\x05image\x18\x01 \x01(\t\"b\n\x11\x43loudBuildOptions\x12\x15\n\rapp_yaml_path\x18\x01 \x01(\t\x12\x36\n\x13\x63loud_build_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"2\n\x07ZipInfo\x12\x12\n\nsource_url\x18\x03 \x01(\t\x12\x13\n\x0b\x66iles_count\x18\x04 \x01(\x05\x42\xbc\x01\n\x17\x63om.google.appengine.v1B\x0b\x44\x65ployProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
31
  end
32
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
33
35
  end
34
36
 
35
37
  module Google
@@ -1,11 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/deployed_files.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/appengine/v1/deployed_files.proto", :syntax => :proto3) do
7
+
8
+ descriptor_data = "\n(google/appengine/v1/deployed_files.proto\x12\x13google.appengine.v1B\xc3\x01\n\x17\x63om.google.appengine.v1B\x12\x44\x65ployedFilesProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
8
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
9
32
  end
10
33
 
11
34
  module Google
@@ -1,38 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/domain_mapping.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/appengine/v1/domain_mapping.proto", :syntax => :proto3) do
8
- add_message "google.appengine.v1.DomainMapping" do
9
- optional :name, :string, 1
10
- optional :id, :string, 2
11
- optional :ssl_settings, :message, 3, "google.appengine.v1.SslSettings"
12
- repeated :resource_records, :message, 4, "google.appengine.v1.ResourceRecord"
13
- end
14
- add_message "google.appengine.v1.SslSettings" do
15
- optional :certificate_id, :string, 1
16
- optional :ssl_management_type, :enum, 3, "google.appengine.v1.SslSettings.SslManagementType"
17
- optional :pending_managed_certificate_id, :string, 4
18
- end
19
- add_enum "google.appengine.v1.SslSettings.SslManagementType" do
20
- value :SSL_MANAGEMENT_TYPE_UNSPECIFIED, 0
21
- value :AUTOMATIC, 1
22
- value :MANUAL, 2
23
- end
24
- add_message "google.appengine.v1.ResourceRecord" do
25
- optional :name, :string, 1
26
- optional :rrdata, :string, 2
27
- optional :type, :enum, 3, "google.appengine.v1.ResourceRecord.RecordType"
28
- end
29
- add_enum "google.appengine.v1.ResourceRecord.RecordType" do
30
- value :RECORD_TYPE_UNSPECIFIED, 0
31
- value :A, 1
32
- value :AAAA, 2
33
- value :CNAME, 3
7
+
8
+ descriptor_data = "\n(google/appengine/v1/domain_mapping.proto\x12\x13google.appengine.v1\"\xa0\x01\n\rDomainMapping\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x36\n\x0cssl_settings\x18\x03 \x01(\x0b\x32 .google.appengine.v1.SslSettings\x12=\n\x10resource_records\x18\x04 \x03(\x0b\x32#.google.appengine.v1.ResourceRecord\"\xf3\x01\n\x0bSslSettings\x12\x16\n\x0e\x63\x65rtificate_id\x18\x01 \x01(\t\x12O\n\x13ssl_management_type\x18\x03 \x01(\x0e\x32\x32.google.appengine.v1.SslSettings.SslManagementType\x12&\n\x1epending_managed_certificate_id\x18\x04 \x01(\t\"S\n\x11SslManagementType\x12#\n\x1fSSL_MANAGEMENT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\"\xb3\x01\n\x0eResourceRecord\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06rrdata\x18\x02 \x01(\t\x12<\n\x04type\x18\x03 \x01(\x0e\x32..google.appengine.v1.ResourceRecord.RecordType\"E\n\nRecordType\x12\x1b\n\x17RECORD_TYPE_UNSPECIFIED\x10\x00\x12\x05\n\x01\x41\x10\x01\x12\x08\n\x04\x41\x41\x41\x41\x10\x02\x12\t\n\x05\x43NAME\x10\x03\x42\xc3\x01\n\x17\x63om.google.appengine.v1B\x12\x44omainMappingProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
28
  end
35
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
36
32
  end
37
33
 
38
34
  module Google
@@ -1,15 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/domain.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/appengine/v1/domain.proto", :syntax => :proto3) do
8
- add_message "google.appengine.v1.AuthorizedDomain" do
9
- optional :name, :string, 1
10
- optional :id, :string, 2
7
+
8
+ descriptor_data = "\n google/appengine/v1/domain.proto\x12\x13google.appengine.v1\",\n\x10\x41uthorizedDomain\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\tB\xbc\x01\n\x17\x63om.google.appengine.v1B\x0b\x44omainProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
11
28
  end
12
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
13
32
  end
14
33
 
15
34
  module Google
@@ -1,22 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/firewall.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/appengine/v1/firewall.proto", :syntax => :proto3) do
8
- add_message "google.appengine.v1.FirewallRule" do
9
- optional :priority, :int32, 1
10
- optional :action, :enum, 2, "google.appengine.v1.FirewallRule.Action"
11
- optional :source_range, :string, 3
12
- optional :description, :string, 4
13
- end
14
- add_enum "google.appengine.v1.FirewallRule.Action" do
15
- value :UNSPECIFIED_ACTION, 0
16
- value :ALLOW, 1
17
- value :DENY, 2
7
+
8
+ descriptor_data = "\n\"google/appengine/v1/firewall.proto\x12\x13google.appengine.v1\"\xbc\x01\n\x0c\x46irewallRule\x12\x10\n\x08priority\x18\x01 \x01(\x05\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32(.google.appengine.v1.FirewallRule.Action\x12\x14\n\x0csource_range\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"5\n\x06\x41\x63tion\x12\x16\n\x12UNSPECIFIED_ACTION\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x42\xc7\x01\n com.google.appengine.v1.firewallB\rFirewallProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
18
28
  end
19
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
20
32
  end
21
33
 
22
34
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/instance.proto
3
4
 
@@ -7,43 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/appengine/v1/instance.proto", :syntax => :proto3) do
12
- add_message "google.appengine.v1.Instance" do
13
- optional :name, :string, 1
14
- optional :id, :string, 2
15
- optional :app_engine_release, :string, 3
16
- optional :availability, :enum, 4, "google.appengine.v1.Instance.Availability"
17
- optional :vm_name, :string, 5
18
- optional :vm_zone_name, :string, 6
19
- optional :vm_id, :string, 7
20
- optional :start_time, :message, 8, "google.protobuf.Timestamp"
21
- optional :requests, :int32, 9
22
- optional :errors, :int32, 10
23
- optional :qps, :float, 11
24
- optional :average_latency, :int32, 12
25
- optional :memory_usage, :int64, 13
26
- optional :vm_status, :string, 14
27
- optional :vm_debug_enabled, :bool, 15
28
- optional :vm_ip, :string, 16
29
- optional :vm_liveness, :enum, 17, "google.appengine.v1.Instance.Liveness.LivenessState"
30
- end
31
- add_message "google.appengine.v1.Instance.Liveness" do
32
- end
33
- add_enum "google.appengine.v1.Instance.Liveness.LivenessState" do
34
- value :LIVENESS_STATE_UNSPECIFIED, 0
35
- value :UNKNOWN, 1
36
- value :HEALTHY, 2
37
- value :UNHEALTHY, 3
38
- value :DRAINING, 4
39
- value :TIMEOUT, 5
40
- end
41
- add_enum "google.appengine.v1.Instance.Availability" do
42
- value :UNSPECIFIED, 0
43
- value :RESIDENT, 1
44
- value :DYNAMIC, 2
11
+
12
+ descriptor_data = "\n\"google/appengine/v1/instance.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x06\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12\x61pp_engine_release\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0c\x61vailability\x18\x04 \x01(\x0e\x32*.google.appengine.v1.Instance.AvailabilityB\x03\xe0\x41\x03\x12\x14\n\x07vm_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cvm_zone_name\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05vm_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x15\n\x08requests\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x13\n\x06\x65rrors\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03qps\x18\x0b \x01(\x02\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x61verage_latency\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cmemory_usage\x18\r \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tvm_status\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10vm_debug_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12\x12\n\x05vm_ip\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12N\n\x0bvm_liveness\x18\x11 \x01(\x0e\x32\x34.google.appengine.v1.Instance.Liveness.LivenessStateB\x03\xe0\x41\x03\x1a\x7f\n\x08Liveness\"s\n\rLivenessState\x12\x1e\n\x1aLIVENESS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\r\n\tUNHEALTHY\x10\x03\x12\x0c\n\x08\x44RAINING\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05\":\n\x0c\x41vailability\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08RESIDENT\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02:m\xea\x41j\n!appengine.googleapis.com/Instance\x12\x45\x61pps/{app}/services/{service}/versions/{version}/instances/{instance}B\xbe\x01\n\x17\x63om.google.appengine.v1B\rInstanceProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
45
33
  end
46
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
47
37
  end
48
38
 
49
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/location.proto
3
4
 
@@ -5,14 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/field_behavior_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/appengine/v1/location.proto", :syntax => :proto3) do
10
- add_message "google.appengine.v1.LocationMetadata" do
11
- optional :standard_environment_available, :bool, 2
12
- optional :flexible_environment_available, :bool, 4
13
- optional :search_api_available, :bool, 6
9
+
10
+ descriptor_data = "\n\"google/appengine/v1/location.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x85\x01\n\x10LocationMetadata\x12&\n\x1estandard_environment_available\x18\x02 \x01(\x08\x12&\n\x1e\x66lexible_environment_available\x18\x04 \x01(\x08\x12!\n\x14search_api_available\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x42\xbe\x01\n\x17\x63om.google.appengine.v1B\rLocationProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
14
30
  end
15
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
16
34
  end
17
35
 
18
36
  module Google
@@ -1,20 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/network_settings.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/appengine/v1/network_settings.proto", :syntax => :proto3) do
8
- add_message "google.appengine.v1.NetworkSettings" do
9
- optional :ingress_traffic_allowed, :enum, 1, "google.appengine.v1.NetworkSettings.IngressTrafficAllowed"
10
- end
11
- add_enum "google.appengine.v1.NetworkSettings.IngressTrafficAllowed" do
12
- value :INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED, 0
13
- value :INGRESS_TRAFFIC_ALLOWED_ALL, 1
14
- value :INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY, 2
15
- value :INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB, 3
7
+
8
+ descriptor_data = "\n*google/appengine/v1/network_settings.proto\x12\x13google.appengine.v1\"\xaa\x02\n\x0fNetworkSettings\x12[\n\x17ingress_traffic_allowed\x18\x01 \x01(\x0e\x32:.google.appengine.v1.NetworkSettings.IngressTrafficAllowed\"\xb9\x01\n\x15IngressTrafficAllowed\x12\'\n#INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED\x10\x00\x12\x1f\n\x1bINGRESS_TRAFFIC_ALLOWED_ALL\x10\x01\x12)\n%INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY\x10\x02\x12+\n\'INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB\x10\x03\x42\xc5\x01\n\x17\x63om.google.appengine.v1B\x14NetworkSettingsProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
16
28
  end
17
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
18
32
  end
19
33
 
20
34
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/operation.proto
3
4
 
@@ -5,24 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/appengine/v1/operation.proto", :syntax => :proto3) do
10
- add_message "google.appengine.v1.OperationMetadataV1" do
11
- optional :method, :string, 1
12
- optional :insert_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
14
- optional :user, :string, 4
15
- optional :target, :string, 5
16
- optional :ephemeral_message, :string, 6
17
- repeated :warning, :string, 7
18
- oneof :method_metadata do
19
- optional :create_version_metadata, :message, 8, "google.appengine.v1.CreateVersionMetadataV1"
20
- end
21
- end
22
- add_message "google.appengine.v1.CreateVersionMetadataV1" do
23
- optional :cloud_build_id, :string, 1
9
+
10
+ descriptor_data = "\n#google/appengine/v1/operation.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x02\n\x13OperationMetadataV1\x12\x0e\n\x06method\x18\x01 \x01(\t\x12/\n\x0binsert_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x0e\n\x06target\x18\x05 \x01(\t\x12\x19\n\x11\x65phemeral_message\x18\x06 \x01(\t\x12\x0f\n\x07warning\x18\x07 \x03(\t\x12O\n\x17\x63reate_version_metadata\x18\x08 \x01(\x0b\x32,.google.appengine.v1.CreateVersionMetadataV1H\x00\x42\x11\n\x0fmethod_metadata\"1\n\x17\x43reateVersionMetadataV1\x12\x16\n\x0e\x63loud_build_id\x18\x01 \x01(\tB\xbf\x01\n\x17\x63om.google.appengine.v1B\x0eOperationProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
24
31
  end
25
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
26
35
  end
27
36
 
28
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/service.proto
3
4
 
@@ -5,26 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/appengine/v1/network_settings_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/appengine/v1/service.proto", :syntax => :proto3) do
10
- add_message "google.appengine.v1.Service" do
11
- optional :name, :string, 1
12
- optional :id, :string, 2
13
- optional :split, :message, 3, "google.appengine.v1.TrafficSplit"
14
- map :labels, :string, :string, 4
15
- optional :network_settings, :message, 6, "google.appengine.v1.NetworkSettings"
16
- end
17
- add_message "google.appengine.v1.TrafficSplit" do
18
- optional :shard_by, :enum, 1, "google.appengine.v1.TrafficSplit.ShardBy"
19
- map :allocations, :string, :double, 2
20
- end
21
- add_enum "google.appengine.v1.TrafficSplit.ShardBy" do
22
- value :UNSPECIFIED, 0
23
- value :COOKIE, 1
24
- value :IP, 2
25
- value :RANDOM, 3
9
+
10
+ descriptor_data = "\n!google/appengine/v1/service.proto\x12\x13google.appengine.v1\x1a*google/appengine/v1/network_settings.proto\"\xfe\x01\n\x07Service\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x30\n\x05split\x18\x03 \x01(\x0b\x32!.google.appengine.v1.TrafficSplit\x12\x38\n\x06labels\x18\x04 \x03(\x0b\x32(.google.appengine.v1.Service.LabelsEntry\x12>\n\x10network_settings\x18\x06 \x01(\x0b\x32$.google.appengine.v1.NetworkSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x02\n\x0cTrafficSplit\x12;\n\x08shard_by\x18\x01 \x01(\x0e\x32).google.appengine.v1.TrafficSplit.ShardBy\x12G\n\x0b\x61llocations\x18\x02 \x03(\x0b\x32\x32.google.appengine.v1.TrafficSplit.AllocationsEntry\x1a\x32\n\x10\x41llocationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\":\n\x07ShardBy\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06\x43OOKIE\x10\x01\x12\x06\n\x02IP\x10\x02\x12\n\n\x06RANDOM\x10\x03\x42\xbd\x01\n\x17\x63om.google.appengine.v1B\x0cServiceProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.appengine.v1.NetworkSettings", "google/appengine/v1/network_settings.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
26
31
  end
27
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
28
35
  end
29
36
 
30
37
  module Google