// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: external/iam/v2/response/tokens.proto

package response

import (
	common "github.com/chef/automate/api/external/iam/v2/common"
	_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
	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 CreateTokenResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Token         *common.Token          `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateTokenResp) ProtoMessage() {}

func (x *CreateTokenResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_tokens_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 CreateTokenResp.ProtoReflect.Descriptor instead.
func (*CreateTokenResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_tokens_proto_rawDescGZIP(), []int{0}
}

func (x *CreateTokenResp) GetToken() *common.Token {
	if x != nil {
		return x.Token
	}
	return nil
}

type GetTokenResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Token         *common.Token          `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetTokenResp) ProtoMessage() {}

func (x *GetTokenResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_tokens_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 GetTokenResp.ProtoReflect.Descriptor instead.
func (*GetTokenResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_tokens_proto_rawDescGZIP(), []int{1}
}

func (x *GetTokenResp) GetToken() *common.Token {
	if x != nil {
		return x.Token
	}
	return nil
}

type UpdateTokenResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Token         *common.Token          `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateTokenResp) ProtoMessage() {}

func (x *UpdateTokenResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_tokens_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 UpdateTokenResp.ProtoReflect.Descriptor instead.
func (*UpdateTokenResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_tokens_proto_rawDescGZIP(), []int{2}
}

func (x *UpdateTokenResp) GetToken() *common.Token {
	if x != nil {
		return x.Token
	}
	return nil
}

type DeleteTokenResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteTokenResp) ProtoMessage() {}

func (x *DeleteTokenResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_tokens_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 DeleteTokenResp.ProtoReflect.Descriptor instead.
func (*DeleteTokenResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_tokens_proto_rawDescGZIP(), []int{3}
}

type ListTokensResp struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Tokens        []*common.Token        `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListTokensResp) Reset() {
	*x = ListTokensResp{}
	mi := &file_external_iam_v2_response_tokens_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListTokensResp) ProtoMessage() {}

func (x *ListTokensResp) ProtoReflect() protoreflect.Message {
	mi := &file_external_iam_v2_response_tokens_proto_msgTypes[4]
	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 ListTokensResp.ProtoReflect.Descriptor instead.
func (*ListTokensResp) Descriptor() ([]byte, []int) {
	return file_external_iam_v2_response_tokens_proto_rawDescGZIP(), []int{4}
}

func (x *ListTokensResp) GetTokens() []*common.Token {
	if x != nil {
		return x.Tokens
	}
	return nil
}

var File_external_iam_v2_response_tokens_proto protoreflect.FileDescriptor

const file_external_iam_v2_response_tokens_proto_rawDesc = "" +
	"\n" +
	"%external/iam/v2/response/tokens.proto\x12\x18chef.automate.api.iam.v2\x1a,protoc-gen-swagger/options/annotations.proto\x1a#external/iam/v2/common/tokens.proto\"\xb1\x01\n" +
	"\x0fCreateTokenResp\x125\n" +
	"\x05token\x18\x01 \x01(\v2\x1f.chef.automate.api.iam.v2.TokenR\x05token:g\x92Ad2b\x12`{\"name\": \"token 1\", \"id\": \"token-1\", \"active\": true, \"projects\": [\"east-region\", \"west-region\"]}\"\xae\x01\n" +
	"\fGetTokenResp\x125\n" +
	"\x05token\x18\x01 \x01(\v2\x1f.chef.automate.api.iam.v2.TokenR\x05token:g\x92Ad2b\x12`{\"name\": \"token 1\", \"id\": \"token-1\", \"active\": true, \"projects\": [\"east-region\", \"west-region\"]}\"\xb1\x01\n" +
	"\x0fUpdateTokenResp\x125\n" +
	"\x05token\x18\x01 \x01(\v2\x1f.chef.automate.api.iam.v2.TokenR\x05token:g\x92Ad2b\x12`{\"name\": \"token 1\", \"id\": \"token-1\", \"active\": true, \"projects\": [\"east-region\", \"west-region\"]}\"\x11\n" +
	"\x0fDeleteTokenResp\"\xa9\x02\n" +
	"\x0eListTokensResp\x127\n" +
	"\x06tokens\x18\x01 \x03(\v2\x1f.chef.automate.api.iam.v2.TokenR\x06tokens:\xdd\x01\x92A\xd9\x012\xd6\x01\x12\xd3\x01{\"tokens\": [{\"name\": \"token 1\", \"id\": \"token-1\", \"active\": true, \"projects\": [\"east-region\", \"west-region\"]}, {\"name\": \"token 2\", \"id\": \"token-2\", \"active\": false, \"projects\": [\"north-region\", \"south-region\"]}]}B7Z5github.com/chef/automate/api/external/iam/v2/responseb\x06proto3"

var (
	file_external_iam_v2_response_tokens_proto_rawDescOnce sync.Once
	file_external_iam_v2_response_tokens_proto_rawDescData []byte
)

func file_external_iam_v2_response_tokens_proto_rawDescGZIP() []byte {
	file_external_iam_v2_response_tokens_proto_rawDescOnce.Do(func() {
		file_external_iam_v2_response_tokens_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_external_iam_v2_response_tokens_proto_rawDesc), len(file_external_iam_v2_response_tokens_proto_rawDesc)))
	})
	return file_external_iam_v2_response_tokens_proto_rawDescData
}

var file_external_iam_v2_response_tokens_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_external_iam_v2_response_tokens_proto_goTypes = []any{
	(*CreateTokenResp)(nil), // 0: chef.automate.api.iam.v2.CreateTokenResp
	(*GetTokenResp)(nil),    // 1: chef.automate.api.iam.v2.GetTokenResp
	(*UpdateTokenResp)(nil), // 2: chef.automate.api.iam.v2.UpdateTokenResp
	(*DeleteTokenResp)(nil), // 3: chef.automate.api.iam.v2.DeleteTokenResp
	(*ListTokensResp)(nil),  // 4: chef.automate.api.iam.v2.ListTokensResp
	(*common.Token)(nil),    // 5: chef.automate.api.iam.v2.Token
}
var file_external_iam_v2_response_tokens_proto_depIdxs = []int32{
	5, // 0: chef.automate.api.iam.v2.CreateTokenResp.token:type_name -> chef.automate.api.iam.v2.Token
	5, // 1: chef.automate.api.iam.v2.GetTokenResp.token:type_name -> chef.automate.api.iam.v2.Token
	5, // 2: chef.automate.api.iam.v2.UpdateTokenResp.token:type_name -> chef.automate.api.iam.v2.Token
	5, // 3: chef.automate.api.iam.v2.ListTokensResp.tokens:type_name -> chef.automate.api.iam.v2.Token
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_external_iam_v2_response_tokens_proto_init() }
func file_external_iam_v2_response_tokens_proto_init() {
	if File_external_iam_v2_response_tokens_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_external_iam_v2_response_tokens_proto_rawDesc), len(file_external_iam_v2_response_tokens_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_external_iam_v2_response_tokens_proto_goTypes,
		DependencyIndexes: file_external_iam_v2_response_tokens_proto_depIdxs,
		MessageInfos:      file_external_iam_v2_response_tokens_proto_msgTypes,
	}.Build()
	File_external_iam_v2_response_tokens_proto = out.File
	file_external_iam_v2_response_tokens_proto_goTypes = nil
	file_external_iam_v2_response_tokens_proto_depIdxs = nil
}
