# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/support/v2beta/case_service.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/support/v2beta/case_pb'
require 'google/cloud/support/v2beta/escalation_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n.google/cloud/support/v2beta/case_service.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/support/v2beta/case.proto\x1a,google/cloud/support/v2beta/escalation.proto\x1a google/protobuf/field_mask.proto\"H\n\x0eGetCaseRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\"\x83\x01\n\x11\x43reateCaseRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 cloudsupport.googleapis.com/Case\x12\x34\n\x04\x63\x61se\x18\x02 \x01(\x0b\x32!.google.cloud.support.v2beta.CaseB\x03\xe0\x41\x02\"\xd9\x01\n\x10ListCasesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 cloudsupport.googleapis.com/Case\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\x12\x43\n\x0cproduct_line\x18\x08 \x01(\x0e\x32(.google.cloud.support.v2beta.ProductLineH\x00\x88\x01\x01\x42\x0f\n\r_product_line\"^\n\x11ListCasesResponse\x12\x30\n\x05\x63\x61ses\x18\x01 \x03(\x0b\x32!.google.cloud.support.v2beta.Case\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\x12SearchCasesRequest\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12\r\n\x05query\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"`\n\x13SearchCasesResponse\x12\x30\n\x05\x63\x61ses\x18\x01 \x03(\x0b\x32!.google.cloud.support.v2beta.Case\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8a\x01\n\x13\x45scalateCaseRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\x12;\n\nescalation\x18\x02 \x01(\x0b\x32\'.google.cloud.support.v2beta.Escalation\"z\n\x11UpdateCaseRequest\x12\x34\n\x04\x63\x61se\x18\x01 \x01(\x0b\x32!.google.cloud.support.v2beta.CaseB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"J\n\x10\x43loseCaseRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\"\x94\x01\n SearchCaseClassificationsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12:\n\x07product\x18\x07 \x01(\x0b\x32$.google.cloud.support.v2beta.ProductB\x03\xe0\x41\x01\"\x8b\x01\n!SearchCaseClassificationsResponse\x12M\n\x14\x63\x61se_classifications\x18\x01 \x03(\x0b\x32/.google.cloud.support.v2beta.CaseClassification\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcb\r\n\x0b\x43\x61seService\x12\xb5\x01\n\x07GetCase\x12+.google.cloud.support.v2beta.GetCaseRequest\x1a!.google.cloud.support.v2beta.Case\"Z\xda\x41\x04name\x82\xd3\xe4\x93\x02M\x12!/v2beta/{name=projects/*/cases/*}Z(\x12&/v2beta/{name=organizations/*/cases/*}\x12\xc8\x01\n\tListCases\x12-.google.cloud.support.v2beta.ListCasesRequest\x1a..google.cloud.support.v2beta.ListCasesResponse\"\\\xda\x41\x06parent\x82\xd3\xe4\x93\x02M\x12!/v2beta/{parent=projects/*}/casesZ(\x12&/v2beta/{parent=organizations/*}/cases\x12\xd3\x01\n\x0bSearchCases\x12/.google.cloud.support.v2beta.SearchCasesRequest\x1a\x30.google.cloud.support.v2beta.SearchCasesResponse\"a\x82\xd3\xe4\x93\x02[\x12(/v2beta/{parent=projects/*}/cases:searchZ/\x12-/v2beta/{parent=organizations/*}/cases:search\x12\xce\x01\n\nCreateCase\x12..google.cloud.support.v2beta.CreateCaseRequest\x1a!.google.cloud.support.v2beta.Case\"m\xda\x41\x0bparent,case\x82\xd3\xe4\x93\x02Y\"!/v2beta/{parent=projects/*}/cases:\x04\x63\x61seZ.\"&/v2beta/{parent=organizations/*}/cases:\x04\x63\x61se\x12\xdd\x01\n\nUpdateCase\x12..google.cloud.support.v2beta.UpdateCaseRequest\x1a!.google.cloud.support.v2beta.Case\"|\xda\x41\x10\x63\x61se,update_mask\x82\xd3\xe4\x93\x02\x63\x32&/v2beta/{case.name=projects/*/cases/*}:\x04\x63\x61seZ32+/v2beta/{case.name=organizations/*/cases/*}:\x04\x63\x61se\x12\xd0\x01\n\x0c\x45scalateCase\x12\x30.google.cloud.support.v2beta.EscalateCaseRequest\x1a!.google.cloud.support.v2beta.Case\"k\x82\xd3\xe4\x93\x02\x65\"*/v2beta/{name=projects/*/cases/*}:escalate:\x01*Z4\"//v2beta/{name=organizations/*/cases/*}:escalate:\x01*\x12\xc4\x01\n\tCloseCase\x12-.google.cloud.support.v2beta.CloseCaseRequest\x1a!.google.cloud.support.v2beta.Case\"e\x82\xd3\xe4\x93\x02_\"\'/v2beta/{name=projects/*/cases/*}:close:\x01*Z1\",/v2beta/{name=organizations/*/cases/*}:close:\x01*\x12\xc6\x01\n\x19SearchCaseClassifications\x12=.google.cloud.support.v2beta.SearchCaseClassificationsRequest\x1a>.google.cloud.support.v2beta.SearchCaseClassificationsResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/v2beta/caseClassifications:search\x1aO\xca\x41\x1b\x63loudsupport.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xcd\x01\n\x1f\x63om.google.cloud.support.v2betaB\x10\x43\x61seServiceProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\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.support.v2beta.Case", "google/cloud/support/v2beta/case.proto"],
    ["google.cloud.support.v2beta.Escalation", "google/cloud/support/v2beta/escalation.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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 Support
      module V2beta
        GetCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.GetCaseRequest").msgclass
        CreateCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.CreateCaseRequest").msgclass
        ListCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.ListCasesRequest").msgclass
        ListCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.ListCasesResponse").msgclass
        SearchCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SearchCasesRequest").msgclass
        SearchCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SearchCasesResponse").msgclass
        EscalateCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.EscalateCaseRequest").msgclass
        UpdateCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.UpdateCaseRequest").msgclass
        CloseCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.CloseCaseRequest").msgclass
        SearchCaseClassificationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SearchCaseClassificationsRequest").msgclass
        SearchCaseClassificationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SearchCaseClassificationsResponse").msgclass
      end
    end
  end
end
