# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/recommendationengine/v1beta1/user_event_service.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/api/httpbody_pb'
require 'google/api/resource_pb'
require 'google/cloud/recommendationengine/v1beta1/import_pb'
require 'google/cloud/recommendationengine/v1beta1/user_event_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/timestamp_pb'
require 'google/api/client_pb'


descriptor_data = "\nBgoogle/cloud/recommendationengine/v1beta1/user_event_service.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/recommendationengine/v1beta1/import.proto\x1a:google/cloud/recommendationengine/v1beta1/user_event.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/api/client.proto\"\x89\x01\n\x16PurgeUserEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"b\n\x17PurgeUserEventsMetadata\x12\x16\n\x0eoperation_name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x17PurgeUserEventsResponse\x12\x1b\n\x13purged_events_count\x18\x01 \x01(\x03\x12P\n\x12user_events_sample\x18\x02 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEvent\"\xae\x01\n\x15WriteUserEventRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12M\n\nuser_event\x18\x02 \x01(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEventB\x03\xe0\x41\x02\"\x9e\x01\n\x17\x43ollectUserEventRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x17\n\nuser_event\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03\x65ts\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\"\xa5\x01\n\x15ListUserEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"|\n\x16ListUserEventsResponse\x12I\n\x0buser_events\x18\x01 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd8\x0c\n\x10UserEventService\x12\x84\x02\n\x0eWriteUserEvent\x12@.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest\x1a\x34.google.cloud.recommendationengine.v1beta1.UserEvent\"z\xda\x41\x11parent,user_event\x82\xd3\xe4\x93\x02`\"R/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:write:\nuser_event\x12\xe6\x01\n\x10\x43ollectUserEvent\x12\x42.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest\x1a\x14.google.api.HttpBody\"x\xda\x41\x19parent,user_event,uri,ets\x82\xd3\xe4\x93\x02V\x12T/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:collect\x12\xfb\x01\n\x0eListUserEvents\x12@.google.cloud.recommendationengine.v1beta1.ListUserEventsRequest\x1a\x41.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse\"d\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02N\x12L/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents\x12\xf3\x02\n\x0fPurgeUserEvents\x12\x41.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest\x1a\x1d.google.longrunning.Operation\"\xfd\x01\xca\x41\x86\x01\nAgoogle.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse\x12\x41google.cloud.recommendationengine.v1beta1.PurgeUserEventsMetadata\xda\x41\x13parent,filter,force\x82\xd3\xe4\x93\x02W\"R/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:purge:\x01*\x12\x86\x03\n\x10ImportUserEvents\x12\x42.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x02\xca\x41~\nBgoogle.cloud.recommendationengine.v1beta1.ImportUserEventsResponse\x12\x38google.cloud.recommendationengine.v1beta1.ImportMetadata\xda\x41,parent,request_id,input_config,errors_config\x82\xd3\xe4\x93\x02X\"S/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:import:\x01*\x1aW\xca\x41#recommendationengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\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.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.recommendationengine.v1beta1.UserEvent", "google/cloud/recommendationengine/v1beta1/user_event.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 RecommendationEngine
      module V1beta1
        PurgeUserEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest").msgclass
        PurgeUserEventsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.PurgeUserEventsMetadata").msgclass
        PurgeUserEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse").msgclass
        WriteUserEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.WriteUserEventRequest").msgclass
        CollectUserEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.CollectUserEventRequest").msgclass
        ListUserEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ListUserEventsRequest").msgclass
        ListUserEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ListUserEventsResponse").msgclass
      end
    end
  end
end
