# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/v2/fulfillment.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/protobuf/field_mask_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dialogflow/v2/fulfillment.proto", :syntax => :proto3) do add_message "google.cloud.dialogflow.v2.Fulfillment" do optional :name, :string, 1 optional :display_name, :string, 2 optional :enabled, :bool, 4 repeated :features, :message, 5, "google.cloud.dialogflow.v2.Fulfillment.Feature" oneof :fulfillment do optional :generic_web_service, :message, 3, "google.cloud.dialogflow.v2.Fulfillment.GenericWebService" end end add_message "google.cloud.dialogflow.v2.Fulfillment.GenericWebService" do optional :uri, :string, 1 optional :username, :string, 2 optional :password, :string, 3 map :request_headers, :string, :string, 4 optional :is_cloud_function, :bool, 5 end add_message "google.cloud.dialogflow.v2.Fulfillment.Feature" do optional :type, :enum, 1, "google.cloud.dialogflow.v2.Fulfillment.Feature.Type" end add_enum "google.cloud.dialogflow.v2.Fulfillment.Feature.Type" do value :TYPE_UNSPECIFIED, 0 value :SMALLTALK, 1 end add_message "google.cloud.dialogflow.v2.GetFulfillmentRequest" do optional :name, :string, 1 end add_message "google.cloud.dialogflow.v2.UpdateFulfillmentRequest" do optional :fulfillment, :message, 1, "google.cloud.dialogflow.v2.Fulfillment" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end end end module Google module Cloud module Dialogflow module V2 Fulfillment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Fulfillment").msgclass Fulfillment::GenericWebService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Fulfillment.GenericWebService").msgclass Fulfillment::Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Fulfillment.Feature").msgclass Fulfillment::Feature::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Fulfillment.Feature.Type").enummodule GetFulfillmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GetFulfillmentRequest").msgclass UpdateFulfillmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.UpdateFulfillmentRequest").msgclass end end end end