# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: temporal/api/operatorservice/v1/request_response.proto

require 'google/protobuf'

require 'temporal/api/enums/v1/common_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("temporal/api/operatorservice/v1/request_response.proto", :syntax => :proto3) do
    add_message "temporal.api.operatorservice.v1.AddSearchAttributesRequest" do
      map :search_attributes, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType"
      optional :namespace, :string, 2
    end
    add_message "temporal.api.operatorservice.v1.AddSearchAttributesResponse" do
    end
    add_message "temporal.api.operatorservice.v1.RemoveSearchAttributesRequest" do
      repeated :search_attributes, :string, 1
      optional :namespace, :string, 2
    end
    add_message "temporal.api.operatorservice.v1.RemoveSearchAttributesResponse" do
    end
    add_message "temporal.api.operatorservice.v1.ListSearchAttributesRequest" do
      optional :namespace, :string, 1
    end
    add_message "temporal.api.operatorservice.v1.ListSearchAttributesResponse" do
      map :custom_attributes, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType"
      map :system_attributes, :string, :enum, 2, "temporal.api.enums.v1.IndexedValueType"
      map :storage_schema, :string, :string, 3
    end
    add_message "temporal.api.operatorservice.v1.DeleteNamespaceRequest" do
      optional :namespace, :string, 1
    end
    add_message "temporal.api.operatorservice.v1.DeleteNamespaceResponse" do
      optional :deleted_namespace, :string, 1
    end
    add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest" do
      optional :frontend_address, :string, 1
      optional :enable_remote_cluster_connection, :bool, 2
    end
    add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse" do
    end
    add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterRequest" do
      optional :cluster_name, :string, 1
    end
    add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterResponse" do
    end
    add_message "temporal.api.operatorservice.v1.ListClustersRequest" do
      optional :page_size, :int32, 1
      optional :next_page_token, :bytes, 2
    end
    add_message "temporal.api.operatorservice.v1.ListClustersResponse" do
      repeated :clusters, :message, 1, "temporal.api.operatorservice.v1.ClusterMetadata"
      optional :next_page_token, :bytes, 4
    end
    add_message "temporal.api.operatorservice.v1.ClusterMetadata" do
      optional :cluster_name, :string, 1
      optional :cluster_id, :string, 2
      optional :address, :string, 3
      optional :initial_failover_version, :int64, 4
      optional :history_shard_count, :int32, 5
      optional :is_connection_enabled, :bool, 6
    end
  end
end

module Temporalio
  module Api
    module OperatorService
      module V1
        AddSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddSearchAttributesRequest").msgclass
        AddSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddSearchAttributesResponse").msgclass
        RemoveSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveSearchAttributesRequest").msgclass
        RemoveSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveSearchAttributesResponse").msgclass
        ListSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListSearchAttributesRequest").msgclass
        ListSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListSearchAttributesResponse").msgclass
        DeleteNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNamespaceRequest").msgclass
        DeleteNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNamespaceResponse").msgclass
        AddOrUpdateRemoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest").msgclass
        AddOrUpdateRemoteClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse").msgclass
        RemoveRemoteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveRemoteClusterRequest").msgclass
        RemoveRemoteClusterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.RemoveRemoteClusterResponse").msgclass
        ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersRequest").msgclass
        ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersResponse").msgclass
        ClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ClusterMetadata").msgclass
      end
    end
  end
end
