Sha256: d82df211bcd44a0b3cc46172149e77ab5e2c746f454c742b45aeb5941b29bc25

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dialogflow/v2/conversation_event.proto

require 'google/api/annotations_pb'
require 'google/cloud/dialogflow/v2/participant_pb'
require 'google/rpc/status_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/dialogflow/v2/conversation_event.proto", :syntax => :proto3) do
    add_message "google.cloud.dialogflow.v2.ConversationEvent" do
      optional :conversation, :string, 1
      optional :type, :enum, 2, "google.cloud.dialogflow.v2.ConversationEvent.Type"
      optional :error_status, :message, 3, "google.rpc.Status"
      oneof :payload do
        optional :new_message_payload, :message, 4, "google.cloud.dialogflow.v2.Message"
      end
    end
    add_enum "google.cloud.dialogflow.v2.ConversationEvent.Type" do
      value :TYPE_UNSPECIFIED, 0
      value :CONVERSATION_STARTED, 1
      value :CONVERSATION_FINISHED, 2
      value :HUMAN_INTERVENTION_NEEDED, 3
      value :NEW_MESSAGE, 5
      value :UNRECOVERABLE_ERROR, 4
    end
  end
end

module Google
  module Cloud
    module Dialogflow
      module V2
        ConversationEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ConversationEvent").msgclass
        ConversationEvent::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ConversationEvent.Type").enummodule
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google-cloud-dialogflow-v2-0.14.0 lib/google/cloud/dialogflow/v2/conversation_event_pb.rb