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

package cdn

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)
)

// Message representing the details of a shielding server.
type ShieldingDetails struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Unique identifier for the geographical location of the shielding server.
	LocationId int64 `protobuf:"varint,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	// Name of the data center where the shielding server is located.
	DataCenter string `protobuf:"bytes,2,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
	// Country where the shielding server's data center is located, useful for understanding geographical distribution.
	Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
	// City where the shielding server's data center is situated, providing a more precise location than just the country.
	City          string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ShieldingDetails) ProtoMessage() {}

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

func (x *ShieldingDetails) GetLocationId() int64 {
	if x != nil {
		return x.LocationId
	}
	return 0
}

func (x *ShieldingDetails) GetDataCenter() string {
	if x != nil {
		return x.DataCenter
	}
	return ""
}

func (x *ShieldingDetails) GetCountry() string {
	if x != nil {
		return x.Country
	}
	return ""
}

func (x *ShieldingDetails) GetCity() string {
	if x != nil {
		return x.City
	}
	return ""
}

var File_yandex_cloud_cdn_v1_shielding_proto protoreflect.FileDescriptor

const file_yandex_cloud_cdn_v1_shielding_proto_rawDesc = "" +
	"\n" +
	"#yandex/cloud/cdn/v1/shielding.proto\x12\x13yandex.cloud.cdn.v1\"\x82\x01\n" +
	"\x10ShieldingDetails\x12\x1f\n" +
	"\vlocation_id\x18\x01 \x01(\x03R\n" +
	"locationId\x12\x1f\n" +
	"\vdata_center\x18\x02 \x01(\tR\n" +
	"dataCenter\x12\x18\n" +
	"\acountry\x18\x03 \x01(\tR\acountry\x12\x12\n" +
	"\x04city\x18\x04 \x01(\tR\x04cityBV\n" +
	"\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3"

var (
	file_yandex_cloud_cdn_v1_shielding_proto_rawDescOnce sync.Once
	file_yandex_cloud_cdn_v1_shielding_proto_rawDescData []byte
)

func file_yandex_cloud_cdn_v1_shielding_proto_rawDescGZIP() []byte {
	file_yandex_cloud_cdn_v1_shielding_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_cdn_v1_shielding_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_cdn_v1_shielding_proto_rawDesc), len(file_yandex_cloud_cdn_v1_shielding_proto_rawDesc)))
	})
	return file_yandex_cloud_cdn_v1_shielding_proto_rawDescData
}

var file_yandex_cloud_cdn_v1_shielding_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_cdn_v1_shielding_proto_goTypes = []any{
	(*ShieldingDetails)(nil), // 0: yandex.cloud.cdn.v1.ShieldingDetails
}
var file_yandex_cloud_cdn_v1_shielding_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_yandex_cloud_cdn_v1_shielding_proto_init() }
func file_yandex_cloud_cdn_v1_shielding_proto_init() {
	if File_yandex_cloud_cdn_v1_shielding_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_cdn_v1_shielding_proto_rawDesc), len(file_yandex_cloud_cdn_v1_shielding_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_cdn_v1_shielding_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_cdn_v1_shielding_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_cdn_v1_shielding_proto_msgTypes,
	}.Build()
	File_yandex_cloud_cdn_v1_shielding_proto = out.File
	file_yandex_cloud_cdn_v1_shielding_proto_goTypes = nil
	file_yandex_cloud_cdn_v1_shielding_proto_depIdxs = nil
}
