// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/infra_proxy/request/clients.proto

package request

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

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 Clients struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	// Clients search query.
	SearchQuery   *SearchQuery `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty" toml:"search_query,omitempty" mapstructure:"search_query,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Clients) Reset() {
	*x = Clients{}
	mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Clients) ProtoMessage() {}

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

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

func (x *Clients) GetOrgId() string {
	if x != nil {
		return x.OrgId
	}
	return ""
}

func (x *Clients) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

func (x *Clients) GetSearchQuery() *SearchQuery {
	if x != nil {
		return x.SearchQuery
	}
	return nil
}

type Client struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	// Client name.
	Name          string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Client) Reset() {
	*x = Client{}
	mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Client) ProtoMessage() {}

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

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

func (x *Client) GetOrgId() string {
	if x != nil {
		return x.OrgId
	}
	return ""
}

func (x *Client) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

func (x *Client) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

type CreateClient struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	// Client name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Boolean indicates client type is validator or not.
	Validator bool `protobuf:"varint,4,opt,name=validator,proto3" json:"validator,omitempty" toml:"validator,omitempty" mapstructure:"validator,omitempty"`
	// Boolean indicates whether it's required to create a key or not.
	CreateKey     bool `protobuf:"varint,5,opt,name=create_key,json=createKey,proto3" json:"create_key,omitempty" toml:"create_key,omitempty" mapstructure:"create_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateClient) Reset() {
	*x = CreateClient{}
	mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateClient) ProtoMessage() {}

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

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

func (x *CreateClient) GetOrgId() string {
	if x != nil {
		return x.OrgId
	}
	return ""
}

func (x *CreateClient) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

func (x *CreateClient) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CreateClient) GetValidator() bool {
	if x != nil {
		return x.Validator
	}
	return false
}

func (x *CreateClient) GetCreateKey() bool {
	if x != nil {
		return x.CreateKey
	}
	return false
}

type ClientKey struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Chef organization ID.
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty" toml:"org_id,omitempty" mapstructure:"org_id,omitempty"`
	// Chef Infra Server ID.
	ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty" toml:"server_id,omitempty" mapstructure:"server_id,omitempty"`
	// Client name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Client key name.
	Key           string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ClientKey) Reset() {
	*x = ClientKey{}
	mi := &file_interservice_infra_proxy_request_clients_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ClientKey) ProtoMessage() {}

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

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

func (x *ClientKey) GetOrgId() string {
	if x != nil {
		return x.OrgId
	}
	return ""
}

func (x *ClientKey) GetServerId() string {
	if x != nil {
		return x.ServerId
	}
	return ""
}

func (x *ClientKey) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ClientKey) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

var File_interservice_infra_proxy_request_clients_proto protoreflect.FileDescriptor

const file_interservice_infra_proxy_request_clients_proto_rawDesc = "" +
	"\n" +
	".interservice/infra_proxy/request/clients.proto\x12(chef.automate.domain.infra_proxy.request\x1a-interservice/infra_proxy/request/common.proto\"\x97\x01\n" +
	"\aClients\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\x12X\n" +
	"\fsearch_query\x18\x03 \x01(\v25.chef.automate.domain.infra_proxy.request.SearchQueryR\vsearchQuery\"P\n" +
	"\x06Client\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\"\x93\x01\n" +
	"\fCreateClient\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12\x1c\n" +
	"\tvalidator\x18\x04 \x01(\bR\tvalidator\x12\x1d\n" +
	"\n" +
	"create_key\x18\x05 \x01(\bR\tcreateKey\"e\n" +
	"\tClientKey\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1b\n" +
	"\tserver_id\x18\x02 \x01(\tR\bserverId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12\x10\n" +
	"\x03key\x18\x04 \x01(\tR\x03keyB?Z=github.com/chef/automate/api/interservice/infra_proxy/requestb\x06proto3"

var (
	file_interservice_infra_proxy_request_clients_proto_rawDescOnce sync.Once
	file_interservice_infra_proxy_request_clients_proto_rawDescData []byte
)

func file_interservice_infra_proxy_request_clients_proto_rawDescGZIP() []byte {
	file_interservice_infra_proxy_request_clients_proto_rawDescOnce.Do(func() {
		file_interservice_infra_proxy_request_clients_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_request_clients_proto_rawDesc), len(file_interservice_infra_proxy_request_clients_proto_rawDesc)))
	})
	return file_interservice_infra_proxy_request_clients_proto_rawDescData
}

var file_interservice_infra_proxy_request_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_interservice_infra_proxy_request_clients_proto_goTypes = []any{
	(*Clients)(nil),      // 0: chef.automate.domain.infra_proxy.request.Clients
	(*Client)(nil),       // 1: chef.automate.domain.infra_proxy.request.Client
	(*CreateClient)(nil), // 2: chef.automate.domain.infra_proxy.request.CreateClient
	(*ClientKey)(nil),    // 3: chef.automate.domain.infra_proxy.request.ClientKey
	(*SearchQuery)(nil),  // 4: chef.automate.domain.infra_proxy.request.SearchQuery
}
var file_interservice_infra_proxy_request_clients_proto_depIdxs = []int32{
	4, // 0: chef.automate.domain.infra_proxy.request.Clients.search_query:type_name -> chef.automate.domain.infra_proxy.request.SearchQuery
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_interservice_infra_proxy_request_clients_proto_init() }
func file_interservice_infra_proxy_request_clients_proto_init() {
	if File_interservice_infra_proxy_request_clients_proto != nil {
		return
	}
	file_interservice_infra_proxy_request_common_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_request_clients_proto_rawDesc), len(file_interservice_infra_proxy_request_clients_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_infra_proxy_request_clients_proto_goTypes,
		DependencyIndexes: file_interservice_infra_proxy_request_clients_proto_depIdxs,
		MessageInfos:      file_interservice_infra_proxy_request_clients_proto_msgTypes,
	}.Build()
	File_interservice_infra_proxy_request_clients_proto = out.File
	file_interservice_infra_proxy_request_clients_proto_goTypes = nil
	file_interservice_infra_proxy_request_clients_proto_depIdxs = nil
}
