// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        v4.25.1
// source: couchbase/routing/v1/routing.proto

package routing_v1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type RoutingEndpoint struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServerGroup string `protobuf:"bytes,2,opt,name=server_group,json=serverGroup,proto3" json:"server_group,omitempty"`
	Address     string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func (x *RoutingEndpoint) Reset() {
	*x = RoutingEndpoint{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RoutingEndpoint) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RoutingEndpoint) ProtoMessage() {}

func (x *RoutingEndpoint) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RoutingEndpoint.ProtoReflect.Descriptor instead.
func (*RoutingEndpoint) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{0}
}

func (x *RoutingEndpoint) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *RoutingEndpoint) GetServerGroup() string {
	if x != nil {
		return x.ServerGroup
	}
	return ""
}

func (x *RoutingEndpoint) GetAddress() string {
	if x != nil {
		return x.Address
	}
	return ""
}

type DataRoutingEndpoint struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	EndpointIdx   uint32   `protobuf:"varint,1,opt,name=endpoint_idx,json=endpointIdx,proto3" json:"endpoint_idx,omitempty"`
	LocalVbuckets []uint32 `protobuf:"varint,2,rep,packed,name=local_vbuckets,json=localVbuckets,proto3" json:"local_vbuckets,omitempty"`
	GroupVbuckets []uint32 `protobuf:"varint,3,rep,packed,name=group_vbuckets,json=groupVbuckets,proto3" json:"group_vbuckets,omitempty"`
}

func (x *DataRoutingEndpoint) Reset() {
	*x = DataRoutingEndpoint{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *DataRoutingEndpoint) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DataRoutingEndpoint) ProtoMessage() {}

func (x *DataRoutingEndpoint) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DataRoutingEndpoint.ProtoReflect.Descriptor instead.
func (*DataRoutingEndpoint) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{1}
}

func (x *DataRoutingEndpoint) GetEndpointIdx() uint32 {
	if x != nil {
		return x.EndpointIdx
	}
	return 0
}

func (x *DataRoutingEndpoint) GetLocalVbuckets() []uint32 {
	if x != nil {
		return x.LocalVbuckets
	}
	return nil
}

func (x *DataRoutingEndpoint) GetGroupVbuckets() []uint32 {
	if x != nil {
		return x.GroupVbuckets
	}
	return nil
}

type VbucketDataRoutingStrategy struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Endpoints   []*DataRoutingEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	NumVbuckets uint32                 `protobuf:"varint,3,opt,name=num_vbuckets,json=numVbuckets,proto3" json:"num_vbuckets,omitempty"`
}

func (x *VbucketDataRoutingStrategy) Reset() {
	*x = VbucketDataRoutingStrategy{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *VbucketDataRoutingStrategy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VbucketDataRoutingStrategy) ProtoMessage() {}

func (x *VbucketDataRoutingStrategy) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VbucketDataRoutingStrategy.ProtoReflect.Descriptor instead.
func (*VbucketDataRoutingStrategy) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{2}
}

func (x *VbucketDataRoutingStrategy) GetEndpoints() []*DataRoutingEndpoint {
	if x != nil {
		return x.Endpoints
	}
	return nil
}

func (x *VbucketDataRoutingStrategy) GetNumVbuckets() uint32 {
	if x != nil {
		return x.NumVbuckets
	}
	return 0
}

type QueryRoutingEndpoint struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	EndpointIdx uint32 `protobuf:"varint,1,opt,name=endpoint_idx,json=endpointIdx,proto3" json:"endpoint_idx,omitempty"`
}

func (x *QueryRoutingEndpoint) Reset() {
	*x = QueryRoutingEndpoint{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *QueryRoutingEndpoint) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*QueryRoutingEndpoint) ProtoMessage() {}

func (x *QueryRoutingEndpoint) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use QueryRoutingEndpoint.ProtoReflect.Descriptor instead.
func (*QueryRoutingEndpoint) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{3}
}

func (x *QueryRoutingEndpoint) GetEndpointIdx() uint32 {
	if x != nil {
		return x.EndpointIdx
	}
	return 0
}

type QueryRouting struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Endpoints []*QueryRoutingEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
}

func (x *QueryRouting) Reset() {
	*x = QueryRouting{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *QueryRouting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*QueryRouting) ProtoMessage() {}

func (x *QueryRouting) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use QueryRouting.ProtoReflect.Descriptor instead.
func (*QueryRouting) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{4}
}

func (x *QueryRouting) GetEndpoints() []*QueryRoutingEndpoint {
	if x != nil {
		return x.Endpoints
	}
	return nil
}

type ViewsRoutingEndpoint struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	EndpointIdx uint32 `protobuf:"varint,1,opt,name=endpoint_idx,json=endpointIdx,proto3" json:"endpoint_idx,omitempty"`
}

func (x *ViewsRoutingEndpoint) Reset() {
	*x = ViewsRoutingEndpoint{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ViewsRoutingEndpoint) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ViewsRoutingEndpoint) ProtoMessage() {}

func (x *ViewsRoutingEndpoint) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ViewsRoutingEndpoint.ProtoReflect.Descriptor instead.
func (*ViewsRoutingEndpoint) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{5}
}

func (x *ViewsRoutingEndpoint) GetEndpointIdx() uint32 {
	if x != nil {
		return x.EndpointIdx
	}
	return 0
}

type ViewsRouting struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Endpoints []*ViewsRoutingEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
}

func (x *ViewsRouting) Reset() {
	*x = ViewsRouting{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ViewsRouting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ViewsRouting) ProtoMessage() {}

func (x *ViewsRouting) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ViewsRouting.ProtoReflect.Descriptor instead.
func (*ViewsRouting) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{6}
}

func (x *ViewsRouting) GetEndpoints() []*ViewsRoutingEndpoint {
	if x != nil {
		return x.Endpoints
	}
	return nil
}

type WatchRoutingRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Specifies the specific bucket that will be accessed.
	BucketName *string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3,oneof" json:"bucket_name,omitempty"`
}

func (x *WatchRoutingRequest) Reset() {
	*x = WatchRoutingRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *WatchRoutingRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WatchRoutingRequest) ProtoMessage() {}

func (x *WatchRoutingRequest) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WatchRoutingRequest.ProtoReflect.Descriptor instead.
func (*WatchRoutingRequest) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{7}
}

func (x *WatchRoutingRequest) GetBucketName() string {
	if x != nil && x.BucketName != nil {
		return *x.BucketName
	}
	return ""
}

type WatchRoutingResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Represents the revision of this configuration.  The revision not being
	// included indicates that this configuration is not versioned.  Configuration
	// revisions can only be compared for responses from the same request values
	// (different buckets may have uniquely incremented revisions).  Revision
	// comparison is done in order of the revision data, for instance we may have
	// [major, minor, patch].  Revisions may be any number of values long, and any
	// missing values should be assumed as 0 (except in the completely empty case,
	// where it is considered unused).
	Revision []uint64 `protobuf:"varint,1,rep,packed,name=revision,proto3" json:"revision,omitempty"`
	// Represents a complete list of all endpoints that are available for this
	// cluster.
	Endpoints []*RoutingEndpoint `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Types that are assignable to DataRouting:
	//
	//	*WatchRoutingResponse_VbucketDataRouting
	DataRouting  isWatchRoutingResponse_DataRouting `protobuf_oneof:"data_routing"`
	QueryRouting *QueryRouting                      `protobuf:"bytes,4,opt,name=query_routing,json=queryRouting,proto3,oneof" json:"query_routing,omitempty"`
	ViewsRouting *ViewsRouting                      `protobuf:"bytes,5,opt,name=views_routing,json=viewsRouting,proto3,oneof" json:"views_routing,omitempty"`
}

func (x *WatchRoutingResponse) Reset() {
	*x = WatchRoutingResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_couchbase_routing_v1_routing_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *WatchRoutingResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WatchRoutingResponse) ProtoMessage() {}

func (x *WatchRoutingResponse) ProtoReflect() protoreflect.Message {
	mi := &file_couchbase_routing_v1_routing_proto_msgTypes[8]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WatchRoutingResponse.ProtoReflect.Descriptor instead.
func (*WatchRoutingResponse) Descriptor() ([]byte, []int) {
	return file_couchbase_routing_v1_routing_proto_rawDescGZIP(), []int{8}
}

func (x *WatchRoutingResponse) GetRevision() []uint64 {
	if x != nil {
		return x.Revision
	}
	return nil
}

func (x *WatchRoutingResponse) GetEndpoints() []*RoutingEndpoint {
	if x != nil {
		return x.Endpoints
	}
	return nil
}

func (m *WatchRoutingResponse) GetDataRouting() isWatchRoutingResponse_DataRouting {
	if m != nil {
		return m.DataRouting
	}
	return nil
}

func (x *WatchRoutingResponse) GetVbucketDataRouting() *VbucketDataRoutingStrategy {
	if x, ok := x.GetDataRouting().(*WatchRoutingResponse_VbucketDataRouting); ok {
		return x.VbucketDataRouting
	}
	return nil
}

func (x *WatchRoutingResponse) GetQueryRouting() *QueryRouting {
	if x != nil {
		return x.QueryRouting
	}
	return nil
}

func (x *WatchRoutingResponse) GetViewsRouting() *ViewsRouting {
	if x != nil {
		return x.ViewsRouting
	}
	return nil
}

type isWatchRoutingResponse_DataRouting interface {
	isWatchRoutingResponse_DataRouting()
}

type WatchRoutingResponse_VbucketDataRouting struct {
	VbucketDataRouting *VbucketDataRoutingStrategy `protobuf:"bytes,3,opt,name=vbucket_data_routing,json=vbucketDataRouting,proto3,oneof"`
}

func (*WatchRoutingResponse_VbucketDataRouting) isWatchRoutingResponse_DataRouting() {}

var File_couchbase_routing_v1_routing_proto protoreflect.FileDescriptor

var file_couchbase_routing_v1_routing_proto_rawDesc = []byte{
	0x0a, 0x22, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x6f, 0x75, 0x74,
	0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e,
	0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x22, 0x5e, 0x0a, 0x0f, 0x52, 0x6f,
	0x75, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x0e, 0x0a,
	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a,
	0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70,
	0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x44,
	0x61, 0x74, 0x61, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
	0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69,
	0x64, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
	0x6e, 0x74, 0x49, 0x64, 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x76,
	0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x6c,
	0x6f, 0x63, 0x61, 0x6c, 0x56, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e,
	0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x76, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x03,
	0x20, 0x03, 0x28, 0x0d, 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x62, 0x75, 0x63, 0x6b,
	0x65, 0x74, 0x73, 0x22, 0x88, 0x01, 0x0a, 0x1a, 0x56, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x44,
	0x61, 0x74, 0x61, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
	0x67, 0x79, 0x12, 0x47, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18,
	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73,
	0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74,
	0x61, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
	0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e,
	0x75, 0x6d, 0x5f, 0x76, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x0d, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x56, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x22, 0x39,
	0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e,
	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
	0x6e, 0x74, 0x5f, 0x69, 0x64, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x6e,
	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x78, 0x22, 0x58, 0x0a, 0x0c, 0x51, 0x75, 0x65,
	0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x48, 0x0a, 0x09, 0x65, 0x6e, 0x64,
	0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63,
	0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
	0x6e, 0x74, 0x73, 0x22, 0x39, 0x0a, 0x14, 0x56, 0x69, 0x65, 0x77, 0x73, 0x52, 0x6f, 0x75, 0x74,
	0x69, 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65,
	0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0d, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x78, 0x22, 0x58,
	0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x48,
	0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
	0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f,
	0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x73, 0x52, 0x6f,
	0x75, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x65,
	0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x4b, 0x0a, 0x13, 0x57, 0x61, 0x74, 0x63,
	0x68, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
	0x24, 0x0a, 0x0b, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x61,
	0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74,
	0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xad, 0x03, 0x0a, 0x14, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52,
	0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a,
	0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04,
	0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x6e,
	0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
	0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e,
	0x67, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x64, 0x70,
	0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12,
	0x64, 0x0a, 0x14, 0x76, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f,
	0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e,
	0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e,
	0x67, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
	0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x48,
	0x00, 0x52, 0x12, 0x76, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x6f,
	0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x4c, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72,
	0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63,
	0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x48, 0x01, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x88, 0x01, 0x01, 0x12, 0x4c, 0x0a, 0x0d, 0x76, 0x69, 0x65, 0x77, 0x73, 0x5f, 0x72, 0x6f, 0x75,
	0x74, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x75,
	0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76,
	0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x02,
	0x52, 0x0c, 0x76, 0x69, 0x65, 0x77, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x88, 0x01,
	0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e,
	0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x72, 0x6f, 0x75, 0x74,
	0x69, 0x6e, 0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x5f, 0x72, 0x6f,
	0x75, 0x74, 0x69, 0x6e, 0x67, 0x32, 0x7b, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x57, 0x61, 0x74, 0x63, 0x68,
	0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62,
	0x61, 0x73, 0x65, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x57,
	0x61, 0x74, 0x63, 0x68, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72,
	0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52,
	0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
	0x30, 0x01, 0x42, 0xf8, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x75, 0x63, 0x68,
	0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x72, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
	0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
	0x6d, 0x2f, 0x63, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61, 0x72, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x31, 0x3b, 0x72,
	0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x31, 0xaa, 0x02, 0x21, 0x43, 0x6f, 0x75, 0x63,
	0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x74, 0x65, 0x6c, 0x6c,
	0x61, 0x72, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x2b,
	0x43, 0x6f, 0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73,
	0x74, 0x65, 0x6c, 0x6c, 0x61, 0x72, 0x5c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,
	0x5c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x2f, 0x43, 0x6f,
	0x75, 0x63, 0x68, 0x62, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x74,
	0x65, 0x6c, 0x6c, 0x61, 0x72, 0x3a, 0x3a, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,
	0x3a, 0x3a, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_couchbase_routing_v1_routing_proto_rawDescOnce sync.Once
	file_couchbase_routing_v1_routing_proto_rawDescData = file_couchbase_routing_v1_routing_proto_rawDesc
)

func file_couchbase_routing_v1_routing_proto_rawDescGZIP() []byte {
	file_couchbase_routing_v1_routing_proto_rawDescOnce.Do(func() {
		file_couchbase_routing_v1_routing_proto_rawDescData = protoimpl.X.CompressGZIP(file_couchbase_routing_v1_routing_proto_rawDescData)
	})
	return file_couchbase_routing_v1_routing_proto_rawDescData
}

var file_couchbase_routing_v1_routing_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_couchbase_routing_v1_routing_proto_goTypes = []interface{}{
	(*RoutingEndpoint)(nil),            // 0: couchbase.routing.v1.RoutingEndpoint
	(*DataRoutingEndpoint)(nil),        // 1: couchbase.routing.v1.DataRoutingEndpoint
	(*VbucketDataRoutingStrategy)(nil), // 2: couchbase.routing.v1.VbucketDataRoutingStrategy
	(*QueryRoutingEndpoint)(nil),       // 3: couchbase.routing.v1.QueryRoutingEndpoint
	(*QueryRouting)(nil),               // 4: couchbase.routing.v1.QueryRouting
	(*ViewsRoutingEndpoint)(nil),       // 5: couchbase.routing.v1.ViewsRoutingEndpoint
	(*ViewsRouting)(nil),               // 6: couchbase.routing.v1.ViewsRouting
	(*WatchRoutingRequest)(nil),        // 7: couchbase.routing.v1.WatchRoutingRequest
	(*WatchRoutingResponse)(nil),       // 8: couchbase.routing.v1.WatchRoutingResponse
}
var file_couchbase_routing_v1_routing_proto_depIdxs = []int32{
	1, // 0: couchbase.routing.v1.VbucketDataRoutingStrategy.endpoints:type_name -> couchbase.routing.v1.DataRoutingEndpoint
	3, // 1: couchbase.routing.v1.QueryRouting.endpoints:type_name -> couchbase.routing.v1.QueryRoutingEndpoint
	5, // 2: couchbase.routing.v1.ViewsRouting.endpoints:type_name -> couchbase.routing.v1.ViewsRoutingEndpoint
	0, // 3: couchbase.routing.v1.WatchRoutingResponse.endpoints:type_name -> couchbase.routing.v1.RoutingEndpoint
	2, // 4: couchbase.routing.v1.WatchRoutingResponse.vbucket_data_routing:type_name -> couchbase.routing.v1.VbucketDataRoutingStrategy
	4, // 5: couchbase.routing.v1.WatchRoutingResponse.query_routing:type_name -> couchbase.routing.v1.QueryRouting
	6, // 6: couchbase.routing.v1.WatchRoutingResponse.views_routing:type_name -> couchbase.routing.v1.ViewsRouting
	7, // 7: couchbase.routing.v1.RoutingService.WatchRouting:input_type -> couchbase.routing.v1.WatchRoutingRequest
	8, // 8: couchbase.routing.v1.RoutingService.WatchRouting:output_type -> couchbase.routing.v1.WatchRoutingResponse
	8, // [8:9] is the sub-list for method output_type
	7, // [7:8] is the sub-list for method input_type
	7, // [7:7] is the sub-list for extension type_name
	7, // [7:7] is the sub-list for extension extendee
	0, // [0:7] is the sub-list for field type_name
}

func init() { file_couchbase_routing_v1_routing_proto_init() }
func file_couchbase_routing_v1_routing_proto_init() {
	if File_couchbase_routing_v1_routing_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_couchbase_routing_v1_routing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RoutingEndpoint); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DataRoutingEndpoint); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*VbucketDataRoutingStrategy); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*QueryRoutingEndpoint); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*QueryRouting); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ViewsRoutingEndpoint); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ViewsRouting); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*WatchRoutingRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_couchbase_routing_v1_routing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*WatchRoutingResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_couchbase_routing_v1_routing_proto_msgTypes[7].OneofWrappers = []interface{}{}
	file_couchbase_routing_v1_routing_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*WatchRoutingResponse_VbucketDataRouting)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_couchbase_routing_v1_routing_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_couchbase_routing_v1_routing_proto_goTypes,
		DependencyIndexes: file_couchbase_routing_v1_routing_proto_depIdxs,
		MessageInfos:      file_couchbase_routing_v1_routing_proto_msgTypes,
	}.Build()
	File_couchbase_routing_v1_routing_proto = out.File
	file_couchbase_routing_v1_routing_proto_rawDesc = nil
	file_couchbase_routing_v1_routing_proto_goTypes = nil
	file_couchbase_routing_v1_routing_proto_depIdxs = nil
}
