# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/cx/v3/session_entity_type.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/cx/v3/entity_type_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' descriptor_data = "\n7google/cloud/dialogflow/cx/v3/session_entity_type.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/dialogflow/cx/v3/entity_type.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xf5\x04\n\x11SessionEntityType\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x66\n\x14\x65ntity_override_mode\x18\x03 \x01(\x0e\x32\x43.google.cloud.dialogflow.cx.v3.SessionEntityType.EntityOverrideModeB\x03\xe0\x41\x02\x12G\n\x08\x65ntities\x18\x04 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.EntityType.EntityB\x03\xe0\x41\x02\"\x82\x01\n\x12\x45ntityOverrideMode\x12$\n ENTITY_OVERRIDE_MODE_UNSPECIFIED\x10\x00\x12!\n\x1d\x45NTITY_OVERRIDE_MODE_OVERRIDE\x10\x01\x12#\n\x1f\x45NTITY_OVERRIDE_MODE_SUPPLEMENT\x10\x02:\x96\x02\xea\x41\x92\x02\n+dialogflow.googleapis.com/SessionEntityType\x12\x63projects/{project}/locations/{location}/agents/{agent}/sessions/{session}/entityTypes/{entity_type}\x12~projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}/entityTypes/{entity_type}\"\x8b\x01\n\x1dListSessionEntityTypesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+dialogflow.googleapis.com/SessionEntityType\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x89\x01\n\x1eListSessionEntityTypesResponse\x12N\n\x14session_entity_types\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"`\n\x1bGetSessionEntityTypeRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+dialogflow.googleapis.com/SessionEntityType\"\xb9\x01\n\x1e\x43reateSessionEntityTypeRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+dialogflow.googleapis.com/SessionEntityType\x12R\n\x13session_entity_type\x18\x02 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityTypeB\x03\xe0\x41\x02\"\xa5\x01\n\x1eUpdateSessionEntityTypeRequest\x12R\n\x13session_entity_type\x18\x01 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityTypeB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"c\n\x1e\x44\x65leteSessionEntityTypeRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+dialogflow.googleapis.com/SessionEntityType2\xc5\x0e\n\x12SessionEntityTypes\x12\xc3\x02\n\x16ListSessionEntityTypes\x12<.google.cloud.dialogflow.cx.v3.ListSessionEntityTypesRequest\x1a=.google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse\"\xab\x01\x82\xd3\xe4\x93\x02\x9b\x01\x12\x43/v3/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypesZT\x12R/v3/{parent=projects/*/locations/*/agents/*/environments/*/sessions/*}/entityTypes\xda\x41\x06parent\x12\xb0\x02\n\x14GetSessionEntityType\x12:.google.cloud.dialogflow.cx.v3.GetSessionEntityTypeRequest\x1a\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\"\xa9\x01\x82\xd3\xe4\x93\x02\x9b\x01\x12\x43/v3/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}ZT\x12R/v3/{name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}\xda\x41\x04name\x12\xf6\x02\n\x17\x43reateSessionEntityType\x12=.google.cloud.dialogflow.cx.v3.CreateSessionEntityTypeRequest\x1a\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\"\xe9\x01\x82\xd3\xe4\x93\x02\xc5\x01\"C/v3/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes:\x13session_entity_typeZi\"R/v3/{parent=projects/*/locations/*/agents/*/environments/*/sessions/*}/entityTypes:\x13session_entity_type\xda\x41\x1aparent,session_entity_type\x12\xa3\x03\n\x17UpdateSessionEntityType\x12=.google.cloud.dialogflow.cx.v3.UpdateSessionEntityTypeRequest\x1a\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\"\x96\x02\x82\xd3\xe4\x93\x02\xed\x01\x32W/v3/{session_entity_type.name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}:\x13session_entity_typeZ}2f/v3/{session_entity_type.name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}:\x13session_entity_type\xda\x41\x1fsession_entity_type,update_mask\x12\x9c\x02\n\x17\x44\x65leteSessionEntityType\x12=.google.cloud.dialogflow.cx.v3.DeleteSessionEntityTypeRequest\x1a\x16.google.protobuf.Empty\"\xa9\x01\x82\xd3\xe4\x93\x02\x9b\x01*C/v3/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}ZT*R/v3/{name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}\xda\x41\x04name\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xbc\x01\n!com.google.cloud.dialogflow.cx.v3B\x16SessionEntityTypeProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # 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.cloud.dialogflow.cx.v3.EntityType.Entity", "google/cloud/dialogflow/cx/v3/entity_type.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.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 Dialogflow module CX module V3 SessionEntityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SessionEntityType").msgclass SessionEntityType::EntityOverrideMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SessionEntityType.EntityOverrideMode").enummodule ListSessionEntityTypesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListSessionEntityTypesRequest").msgclass ListSessionEntityTypesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse").msgclass GetSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetSessionEntityTypeRequest").msgclass CreateSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateSessionEntityTypeRequest").msgclass UpdateSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateSessionEntityTypeRequest").msgclass DeleteSessionEntityTypeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteSessionEntityTypeRequest").msgclass end end end end end