# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/rapidmigrationassessment/v1/api_entities_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\nGgoogle/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x17\x43reateAnnotationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12M\n\nannotation\x18\x02 \x01(\x0b\x32\x34.google.cloud.rapidmigrationassessment.v1.AnnotationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"`\n\x14GetAnnotationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2rapidmigrationassessment.googleapis.com/Annotation\"\xd4\x01\n\x16\x43reateCollectorRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0c\x63ollector_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\tcollector\x18\x03 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x15ListCollectorsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8f\x01\n\x16ListCollectorsResponse\x12G\n\ncollectors\x18\x01 \x03(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.Collector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"^\n\x13GetCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\"z\n\x16\x44\x65leteCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb4\x01\n\x16UpdateCollectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\tcollector\x18\x02 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"z\n\x16ResumeCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"|\n\x18RegisterCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"y\n\x15PauseCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xe1\x12\n\x18RapidMigrationAssessment\x12\xf7\x01\n\x0f\x43reateCollector\x12@.google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/collectors:\tcollector\xda\x41\x1dparent,collector,collector_id\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\x99\x02\n\x10\x43reateAnnotation\x12\x41.google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest\x1a\x1d.google.longrunning.Operation\"\xa2\x01\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/annotations:\nannotation\xda\x41\x11parent,annotation\xca\x41H\n3google.cloud.rapidmigrationassessment.v1.Annotation\x12\x11OperationMetadata\x12\xc5\x01\n\rGetAnnotation\x12>.google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest\x1a\x34.google.cloud.rapidmigrationassessment.v1.Annotation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/annotations/*}\xda\x41\x04name\x12\xd4\x01\n\x0eListCollectors\x12?.google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest\x1a@.google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/collectors\xda\x41\x06parent\x12\xc1\x01\n\x0cGetCollector\x12=.google.cloud.rapidmigrationassessment.v1.GetCollectorRequest\x1a\x33.google.cloud.rapidmigrationassessment.v1.Collector\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\x12\xf9\x01\n\x0fUpdateCollector\x12@.google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{collector.name=projects/*/locations/*/collectors/*}:\tcollector\xda\x41\x15\x63ollector,update_mask\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd2\x01\n\x0f\x44\x65leteCollector\x12@.google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xdc\x01\n\x0fResumeCollector\x12@.google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/collectors/*}:resume:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xe2\x01\n\x11RegisterCollector\x12\x42.google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/collectors/*}:register:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd9\x01\n\x0ePauseCollector\x12?.google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/collectors/*}:pause:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x1a[\xca\x41\'rapidmigrationassessment.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x1dRapidMigrationAssessmentProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.cloud.rapidmigrationassessment.v1.Annotation", "google/cloud/rapidmigrationassessment/v1/api_entities.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module RapidMigrationAssessment module V1 CreateAnnotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest").msgclass GetAnnotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest").msgclass CreateCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest").msgclass ListCollectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest").msgclass ListCollectorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse").msgclass GetCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.GetCollectorRequest").msgclass DeleteCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest").msgclass UpdateCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest").msgclass ResumeCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest").msgclass RegisterCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest").msgclass PauseCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest").msgclass OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.OperationMetadata").msgclass end end end end