# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dialogflow/v2/conversation.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/dialogflow/v2/participant_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/dialogflow/v2/conversation.proto", :syntax => :proto3) do
    add_message "google.cloud.dialogflow.v2.Conversation" do
      optional :name, :string, 1
      optional :lifecycle_state, :enum, 2, "google.cloud.dialogflow.v2.Conversation.LifecycleState"
      optional :conversation_profile, :string, 3
      optional :phone_number, :message, 4, "google.cloud.dialogflow.v2.ConversationPhoneNumber"
      optional :start_time, :message, 5, "google.protobuf.Timestamp"
      optional :end_time, :message, 6, "google.protobuf.Timestamp"
      optional :conversation_stage, :enum, 7, "google.cloud.dialogflow.v2.Conversation.ConversationStage"
    end
    add_enum "google.cloud.dialogflow.v2.Conversation.LifecycleState" do
      value :LIFECYCLE_STATE_UNSPECIFIED, 0
      value :IN_PROGRESS, 1
      value :COMPLETED, 2
    end
    add_enum "google.cloud.dialogflow.v2.Conversation.ConversationStage" do
      value :CONVERSATION_STAGE_UNSPECIFIED, 0
      value :VIRTUAL_AGENT_STAGE, 1
      value :HUMAN_ASSIST_STAGE, 2
    end
    add_message "google.cloud.dialogflow.v2.CallMatcher" do
      optional :name, :string, 1
      optional :to_header, :string, 2
      optional :from_header, :string, 3
      optional :call_id_header, :string, 4
      optional :custom_headers, :message, 5, "google.cloud.dialogflow.v2.CallMatcher.CustomHeaders"
    end
    add_message "google.cloud.dialogflow.v2.CallMatcher.CustomHeaders" do
      optional :cisco_guid, :string, 1
    end
    add_message "google.cloud.dialogflow.v2.CreateConversationRequest" do
      optional :parent, :string, 1
      optional :conversation, :message, 2, "google.cloud.dialogflow.v2.Conversation"
      optional :conversation_id, :string, 3
    end
    add_message "google.cloud.dialogflow.v2.ListConversationsRequest" do
      optional :parent, :string, 1
      optional :page_size, :int32, 2
      optional :page_token, :string, 3
      optional :filter, :string, 4
    end
    add_message "google.cloud.dialogflow.v2.ListConversationsResponse" do
      repeated :conversations, :message, 1, "google.cloud.dialogflow.v2.Conversation"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.dialogflow.v2.GetConversationRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.dialogflow.v2.CompleteConversationRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.dialogflow.v2.CreateCallMatcherRequest" do
      optional :parent, :string, 1
      optional :call_matcher, :message, 2, "google.cloud.dialogflow.v2.CallMatcher"
    end
    add_message "google.cloud.dialogflow.v2.ListCallMatchersRequest" do
      optional :parent, :string, 1
      optional :page_size, :int32, 2
      optional :page_token, :string, 3
    end
    add_message "google.cloud.dialogflow.v2.ListCallMatchersResponse" do
      repeated :call_matchers, :message, 1, "google.cloud.dialogflow.v2.CallMatcher"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.dialogflow.v2.DeleteCallMatcherRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.dialogflow.v2.ListMessagesRequest" do
      optional :parent, :string, 1
      optional :filter, :string, 4
      optional :page_size, :int32, 2
      optional :page_token, :string, 3
    end
    add_message "google.cloud.dialogflow.v2.ListMessagesResponse" do
      repeated :messages, :message, 1, "google.cloud.dialogflow.v2.Message"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.dialogflow.v2.ConversationPhoneNumber" do
      optional :phone_number, :string, 3
    end
  end
end

module Google
  module Cloud
    module Dialogflow
      module V2
        Conversation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Conversation").msgclass
        Conversation::LifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Conversation.LifecycleState").enummodule
        Conversation::ConversationStage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Conversation.ConversationStage").enummodule
        CallMatcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CallMatcher").msgclass
        CallMatcher::CustomHeaders = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CallMatcher.CustomHeaders").msgclass
        CreateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CreateConversationRequest").msgclass
        ListConversationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListConversationsRequest").msgclass
        ListConversationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListConversationsResponse").msgclass
        GetConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GetConversationRequest").msgclass
        CompleteConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CompleteConversationRequest").msgclass
        CreateCallMatcherRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CreateCallMatcherRequest").msgclass
        ListCallMatchersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListCallMatchersRequest").msgclass
        ListCallMatchersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListCallMatchersResponse").msgclass
        DeleteCallMatcherRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.DeleteCallMatcherRequest").msgclass
        ListMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListMessagesRequest").msgclass
        ListMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListMessagesResponse").msgclass
        ConversationPhoneNumber = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ConversationPhoneNumber").msgclass
      end
    end
  end
end
