# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/iot_connect/v1/keyapis_iot_connect_manage_v1.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'


descriptor_data = "\n:keyapis/iot_connect/v1/keyapis_iot_connect_manage_v1.proto\x12\x16keyapis.iot_connect.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\"I\n\x15PostManageCallRequest\x12\x16\n\tto_number\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x66rom_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xb9\x01\n\x16PostManageCallResponse\x12\x45\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x34.keyapis.iot_connect.v1.PostManageCallResponse.ErrorH\x00\x1aP\n\x05\x45rror\x12=\n\nvalidation\x18\x01 \x01(\x0b\x32\'.keyapis.iot_connect.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"O\n\x1bPostManageCallCancelRequest\x12\x16\n\tto_number\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x66rom_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xc5\x01\n\x1cPostManageCallCancelResponse\x12K\n\x05\x65rror\x18\x01 \x01(\x0b\x32:.keyapis.iot_connect.v1.PostManageCallCancelResponse.ErrorH\x00\x1aP\n\x05\x45rror\x12=\n\nvalidation\x18\x01 \x01(\x0b\x32\'.keyapis.iot_connect.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"K\n\x1fPutManageUserScopeDetachRequest\x12\x14\n\x07user_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xcd\x01\n PutManageUserScopeDetachResponse\x12O\n\x05\x65rror\x18\x01 \x01(\x0b\x32>.keyapis.iot_connect.v1.PutManageUserScopeDetachResponse.ErrorH\x00\x1aP\n\x05\x45rror\x12=\n\nvalidation\x18\x01 \x01(\x0b\x32\'.keyapis.iot_connect.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\":\n\x0fValidationError\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x02\x32\xc6\x04\n\x17IotConnectManageService\x12\xd5\x01\n\x18PutManageUserScopeDetach\x12\x37.keyapis.iot_connect.v1.PutManageUserScopeDetachRequest\x1a\x38.keyapis.iot_connect.v1.PutManageUserScopeDetachResponse\"F\x82\xd3\xe4\x93\x02@\x1a>/iot_connect/api/v1/manage/user/{user_id}/scope/{scope}/detach\x12\x9b\x01\n\x0ePostManageCall\x12-.keyapis.iot_connect.v1.PostManageCallRequest\x1a..keyapis.iot_connect.v1.PostManageCallResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/iot_connect/api/v1/manage/call:\x01*\x12\xb4\x01\n\x14PostManageCallCancel\x12\x33.keyapis.iot_connect.v1.PostManageCallCancelRequest\x1a\x34.keyapis.iot_connect.v1.PostManageCallCancelResponse\"1\x82\xd3\xe4\x93\x02+\"&/iot_connect/api/v1/manage/call_cancel:\x01*B\xb8\x01\n\x19ru.keyapis.iot_connect.v1B\x18KeyapisIotConnectV1ProtoH\x03P\x00Z\x17/keyapis_iot_connect_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x13KEYAPISIOTCONNECTV1\xaa\x02\x15Keyapis.IotConnect.V1\xca\x02\x15Keyapis\\IotConnect\\V1\xea\x02\x17Keyapis::IotConnect::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 = [
  ]
  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 Keyapis
  module IotConnect
    module V1
      PostManageCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostManageCallRequest").msgclass
      PostManageCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostManageCallResponse").msgclass
      PostManageCallResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostManageCallResponse.Error").msgclass
      PostManageCallCancelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostManageCallCancelRequest").msgclass
      PostManageCallCancelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostManageCallCancelResponse").msgclass
      PostManageCallCancelResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostManageCallCancelResponse.Error").msgclass
      PutManageUserScopeDetachRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PutManageUserScopeDetachRequest").msgclass
      PutManageUserScopeDetachResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PutManageUserScopeDetachResponse").msgclass
      PutManageUserScopeDetachResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PutManageUserScopeDetachResponse.Error").msgclass
      ValidationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.ValidationError").msgclass
    end
  end
end
