// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/cic/v1/partner.proto

package cic

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 Partner_Status int32

const (
	Partner_STATUS_UNSPECIFIED Partner_Status = 0
	Partner_UP                 Partner_Status = 1
	Partner_DOWN               Partner_Status = 2
)

// Enum value maps for Partner_Status.
var (
	Partner_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "UP",
		2: "DOWN",
	}
	Partner_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"UP":                 1,
		"DOWN":               2,
	}
)

func (x Partner_Status) Enum() *Partner_Status {
	p := new(Partner_Status)
	*p = x
	return p
}

func (x Partner_Status) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Partner_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_cic_v1_partner_proto_enumTypes[0].Descriptor()
}

func (Partner_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_cic_v1_partner_proto_enumTypes[0]
}

func (x Partner_Status) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Partner_Status.Descriptor instead.
func (Partner_Status) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_cic_v1_partner_proto_rawDescGZIP(), []int{0, 0}
}

// A Partner resource.
type Partner struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the partner.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the region that the partner belongs to.
	RegionId string `protobuf:"bytes,6,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// Status of the partner.
	Status        Partner_Status `protobuf:"varint,11,opt,name=status,proto3,enum=yandex.cloud.cic.v1.Partner_Status" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Partner) ProtoMessage() {}

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

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

func (x *Partner) GetRegionId() string {
	if x != nil {
		return x.RegionId
	}
	return ""
}

func (x *Partner) GetStatus() Partner_Status {
	if x != nil {
		return x.Status
	}
	return Partner_STATUS_UNSPECIFIED
}

var File_yandex_cloud_cic_v1_partner_proto protoreflect.FileDescriptor

const file_yandex_cloud_cic_v1_partner_proto_rawDesc = "" +
	"\n" +
	"!yandex/cloud/cic/v1/partner.proto\x12\x13yandex.cloud.cic.v1\"\xb3\x01\n" +
	"\aPartner\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tregion_id\x18\x06 \x01(\tR\bregionId\x12;\n" +
	"\x06status\x18\v \x01(\x0e2#.yandex.cloud.cic.v1.Partner.StatusR\x06status\"2\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n" +
	"\x02UP\x10\x01\x12\b\n" +
	"\x04DOWN\x10\x02J\x04\b\x02\x10\x06J\x04\b\a\x10\vBV\n" +
	"\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3"

var (
	file_yandex_cloud_cic_v1_partner_proto_rawDescOnce sync.Once
	file_yandex_cloud_cic_v1_partner_proto_rawDescData []byte
)

func file_yandex_cloud_cic_v1_partner_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cic_v1_partner_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cic_v1_partner_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cic_v1_partner_proto_rawDesc), len(file_yandex_cloud_cic_v1_partner_proto_rawDesc)))
	})
	return file_yandex_cloud_cic_v1_partner_proto_rawDescData
}

var file_yandex_cloud_cic_v1_partner_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_cic_v1_partner_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_cic_v1_partner_proto_goTypes = []any{
	(Partner_Status)(0), // 0: yandex.cloud.cic.v1.Partner.Status
	(*Partner)(nil),     // 1: yandex.cloud.cic.v1.Partner
}
var file_yandex_cloud_cic_v1_partner_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.cic.v1.Partner.status:type_name -> yandex.cloud.cic.v1.Partner.Status
	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_yandex_cloud_cic_v1_partner_proto_init() }
func file_yandex_cloud_cic_v1_partner_proto_init() {
	if File_yandex_cloud_cic_v1_partner_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_cic_v1_partner_proto_rawDesc), len(file_yandex_cloud_cic_v1_partner_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_cic_v1_partner_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cic_v1_partner_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_cic_v1_partner_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_cic_v1_partner_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cic_v1_partner_proto = out.File
	file_yandex_cloud_cic_v1_partner_proto_goTypes = nil
	file_yandex_cloud_cic_v1_partner_proto_depIdxs = nil
}
