Sha256: 27b85165dfd85f2bef28ff581395969c45d7bf50d1c436e3532df666ff457327

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

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

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

3 entries across 3 versions & 1 rubygems

Version Path
google-cloud-dialogflow-v2-0.15.2 lib/google/cloud/dialogflow/v2/conversation_event_pb.rb
google-cloud-dialogflow-v2-0.15.1 lib/google/cloud/dialogflow/v2/conversation_event_pb.rb
google-cloud-dialogflow-v2-0.15.0 lib/google/cloud/dialogflow/v2/conversation_event_pb.rb