1
// Code generated by protoc-gen-go. DO NOT EDIT.
3
// protoc-gen-go v1.28.1
5
// source: api/system/v1alpha1/zone.proto
10
_ "github.com/kumahq/kuma/api/mesh"
11
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
19
// Verify that this generated code is sufficiently up-to-date.
20
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
// Verify that runtime/protoimpl is sufficiently up-to-date.
22
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25
// Zone defines the Zone configuration used at the Global Control Plane
26
// within a distributed deployment
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
32
// enable allows to turn the zone on/off and exclude the whole zone from
33
// balancing traffic on it
34
Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
37
func (x *Zone) Reset() {
39
if protoimpl.UnsafeEnabled {
40
mi := &file_api_system_v1alpha1_zone_proto_msgTypes[0]
41
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42
ms.StoreMessageInfo(mi)
46
func (x *Zone) String() string {
47
return protoimpl.X.MessageStringOf(x)
50
func (*Zone) ProtoMessage() {}
52
func (x *Zone) ProtoReflect() protoreflect.Message {
53
mi := &file_api_system_v1alpha1_zone_proto_msgTypes[0]
54
if protoimpl.UnsafeEnabled && x != nil {
55
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56
if ms.LoadMessageInfo() == nil {
57
ms.StoreMessageInfo(mi)
61
return mi.MessageOf(x)
64
// Deprecated: Use Zone.ProtoReflect.Descriptor instead.
65
func (*Zone) Descriptor() ([]byte, []int) {
66
return file_api_system_v1alpha1_zone_proto_rawDescGZIP(), []int{0}
69
func (x *Zone) GetEnabled() *wrapperspb.BoolValue {
76
var File_api_system_v1alpha1_zone_proto protoreflect.FileDescriptor
78
var file_api_system_v1alpha1_zone_proto_rawDesc = []byte{
79
0x0a, 0x1e, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61,
80
0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x7a, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
81
0x12, 0x14, 0x6b, 0x75, 0x6d, 0x61, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x31,
82
0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x16, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x73, 0x68,
83
0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
84
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
85
0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b,
86
0x01, 0x0a, 0x04, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
87
0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
88
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56,
89
0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x3a, 0x4d, 0xaa,
90
0x8c, 0x89, 0xa6, 0x01, 0x0e, 0x0a, 0x0c, 0x5a, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75,
91
0x72, 0x63, 0x65, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x06, 0x12, 0x04, 0x5a, 0x6f, 0x6e, 0x65, 0xaa,
92
0x8c, 0x89, 0xa6, 0x01, 0x08, 0x22, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xaa, 0x8c, 0x89,
93
0xa6, 0x01, 0x02, 0x18, 0x01, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x08, 0x3a, 0x06, 0x0a, 0x04, 0x7a,
94
0x6f, 0x6e, 0x65, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x03, 0x90, 0x01, 0x01, 0x42, 0x2c, 0x5a, 0x2a,
95
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x6d, 0x61, 0x68,
96
0x71, 0x2f, 0x6b, 0x75, 0x6d, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65,
97
0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
102
file_api_system_v1alpha1_zone_proto_rawDescOnce sync.Once
103
file_api_system_v1alpha1_zone_proto_rawDescData = file_api_system_v1alpha1_zone_proto_rawDesc
106
func file_api_system_v1alpha1_zone_proto_rawDescGZIP() []byte {
107
file_api_system_v1alpha1_zone_proto_rawDescOnce.Do(func() {
108
file_api_system_v1alpha1_zone_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_system_v1alpha1_zone_proto_rawDescData)
110
return file_api_system_v1alpha1_zone_proto_rawDescData
113
var file_api_system_v1alpha1_zone_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
114
var file_api_system_v1alpha1_zone_proto_goTypes = []interface{}{
115
(*Zone)(nil), // 0: kuma.system.v1alpha1.Zone
116
(*wrapperspb.BoolValue)(nil), // 1: google.protobuf.BoolValue
118
var file_api_system_v1alpha1_zone_proto_depIdxs = []int32{
119
1, // 0: kuma.system.v1alpha1.Zone.enabled:type_name -> google.protobuf.BoolValue
120
1, // [1:1] is the sub-list for method output_type
121
1, // [1:1] is the sub-list for method input_type
122
1, // [1:1] is the sub-list for extension type_name
123
1, // [1:1] is the sub-list for extension extendee
124
0, // [0:1] is the sub-list for field type_name
127
func init() { file_api_system_v1alpha1_zone_proto_init() }
128
func file_api_system_v1alpha1_zone_proto_init() {
129
if File_api_system_v1alpha1_zone_proto != nil {
132
if !protoimpl.UnsafeEnabled {
133
file_api_system_v1alpha1_zone_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
134
switch v := v.(*Zone); i {
140
return &v.unknownFields
147
out := protoimpl.TypeBuilder{
148
File: protoimpl.DescBuilder{
149
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
150
RawDescriptor: file_api_system_v1alpha1_zone_proto_rawDesc,
156
GoTypes: file_api_system_v1alpha1_zone_proto_goTypes,
157
DependencyIndexes: file_api_system_v1alpha1_zone_proto_depIdxs,
158
MessageInfos: file_api_system_v1alpha1_zone_proto_msgTypes,
160
File_api_system_v1alpha1_zone_proto = out.File
161
file_api_system_v1alpha1_zone_proto_rawDesc = nil
162
file_api_system_v1alpha1_zone_proto_goTypes = nil
163
file_api_system_v1alpha1_zone_proto_depIdxs = nil