# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/networkmanagement/v1/reachability.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/networkmanagement/v1/connectivity_test_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n4google/cloud/networkmanagement/v1/reachability.proto\x12!google.cloud.networkmanagement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/networkmanagement/v1/connectivity_test.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x01\n\x1cListConnectivityTestsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\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\"\x95\x01\n\x1dListConnectivityTestsResponse\x12\x46\n\tresources\x18\x01 \x03(\x0b\x32\x33.google.cloud.networkmanagement.v1.ConnectivityTest\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"e\n\x1aGetConnectivityTestRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkmanagement.googleapis.com/ConnectivityTest\"\xc6\x01\n\x1d\x43reateConnectivityTestRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x14\n\x07test_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x08resource\x18\x03 \x01(\x0b\x32\x33.google.cloud.networkmanagement.v1.ConnectivityTestB\x03\xe0\x41\x02\"\xa1\x01\n\x1dUpdateConnectivityTestRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12J\n\x08resource\x18\x02 \x01(\x0b\x32\x33.google.cloud.networkmanagement.v1.ConnectivityTestB\x03\xe0\x41\x02\"h\n\x1d\x44\x65leteConnectivityTestRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkmanagement.googleapis.com/ConnectivityTest\"g\n\x1cRerunConnectivityTestRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkmanagement.googleapis.com/ConnectivityTest\"\xd6\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x15\n\rstatus_detail\x18\x05 \x01(\t\x12\x18\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t2\x96\r\n\x13ReachabilityService\x12\xe7\x01\n\x15ListConnectivityTests\x12?.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest\x1a@.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/global}/connectivityTests\x12\xd4\x01\n\x13GetConnectivityTest\x12=.google.cloud.networkmanagement.v1.GetConnectivityTestRequest\x1a\x33.google.cloud.networkmanagement.v1.ConnectivityTest\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/global/connectivityTests/*}\x12\xac\x02\n\x16\x43reateConnectivityTest\x12@.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\xca\x41G\n2google.cloud.networkmanagement.v1.ConnectivityTest\x12\x11OperationMetadata\xda\x41\x17parent,test_id,resource\x82\xd3\xe4\x93\x02\x46\":/v1/{parent=projects/*/locations/global}/connectivityTests:\x08resource\x12\xb2\x02\n\x16UpdateConnectivityTest\x12@.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41G\n2google.cloud.networkmanagement.v1.ConnectivityTest\x12\x11OperationMetadata\xda\x41\x14update_mask,resource\x82\xd3\xe4\x93\x02O2C/v1/{resource.name=projects/*/locations/global/connectivityTests/*}:\x08resource\x12\x8f\x02\n\x15RerunConnectivityTest\x12?.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41G\n2google.cloud.networkmanagement.v1.ConnectivityTest\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/global/connectivityTests/*}:rerun:\x01*\x12\xf1\x01\n\x16\x44\x65leteConnectivityTest\x12@.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/global/connectivityTests/*}\x1aT\xca\x41 networkmanagement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x87\x02\n%com.google.cloud.networkmanagement.v1B\x18ReachabilityServiceProtoP\x01ZScloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb\xaa\x02!Google.Cloud.NetworkManagement.V1\xca\x02!Google\\Cloud\\NetworkManagement\\V1\xea\x02$Google::Cloud::NetworkManagement::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # 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.networkmanagement.v1.ConnectivityTest", "google/cloud/networkmanagement/v1/connectivity_test.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 NetworkManagement
      module V1
        ListConnectivityTestsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.ListConnectivityTestsRequest").msgclass
        ListConnectivityTestsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.ListConnectivityTestsResponse").msgclass
        GetConnectivityTestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.GetConnectivityTestRequest").msgclass
        CreateConnectivityTestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.CreateConnectivityTestRequest").msgclass
        UpdateConnectivityTestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest").msgclass
        DeleteConnectivityTestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest").msgclass
        RerunConnectivityTestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.RerunConnectivityTestRequest").msgclass
        OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkmanagement.v1.OperationMetadata").msgclass
      end
    end
  end
end
