1
// Code generated by protoc-gen-go. DO NOT EDIT.
3
// protoc-gen-go v1.28.1
5
// source: api/system/v1alpha1/inter_cp_ping.proto
10
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
// Verify that this generated code is sufficiently up-to-date.
18
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
// Verify that runtime/protoimpl is sufficiently up-to-date.
20
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23
type PingRequest struct {
24
state protoimpl.MessageState
25
sizeCache protoimpl.SizeCache
26
unknownFields protoimpl.UnknownFields
28
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
29
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
30
InterCpPort uint32 `protobuf:"varint,3,opt,name=inter_cp_port,json=interCpPort,proto3" json:"inter_cp_port,omitempty"`
31
Ready bool `protobuf:"varint,4,opt,name=ready,proto3" json:"ready,omitempty"`
34
func (x *PingRequest) Reset() {
36
if protoimpl.UnsafeEnabled {
37
mi := &file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes[0]
38
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39
ms.StoreMessageInfo(mi)
43
func (x *PingRequest) String() string {
44
return protoimpl.X.MessageStringOf(x)
47
func (*PingRequest) ProtoMessage() {}
49
func (x *PingRequest) ProtoReflect() protoreflect.Message {
50
mi := &file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes[0]
51
if protoimpl.UnsafeEnabled && x != nil {
52
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53
if ms.LoadMessageInfo() == nil {
54
ms.StoreMessageInfo(mi)
58
return mi.MessageOf(x)
61
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
62
func (*PingRequest) Descriptor() ([]byte, []int) {
63
return file_api_system_v1alpha1_inter_cp_ping_proto_rawDescGZIP(), []int{0}
66
func (x *PingRequest) GetInstanceId() string {
73
func (x *PingRequest) GetAddress() string {
80
func (x *PingRequest) GetInterCpPort() uint32 {
87
func (x *PingRequest) GetReady() bool {
94
type PingResponse struct {
95
state protoimpl.MessageState
96
sizeCache protoimpl.SizeCache
97
unknownFields protoimpl.UnknownFields
99
Leader bool `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"`
102
func (x *PingResponse) Reset() {
104
if protoimpl.UnsafeEnabled {
105
mi := &file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes[1]
106
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107
ms.StoreMessageInfo(mi)
111
func (x *PingResponse) String() string {
112
return protoimpl.X.MessageStringOf(x)
115
func (*PingResponse) ProtoMessage() {}
117
func (x *PingResponse) ProtoReflect() protoreflect.Message {
118
mi := &file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes[1]
119
if protoimpl.UnsafeEnabled && x != nil {
120
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121
if ms.LoadMessageInfo() == nil {
122
ms.StoreMessageInfo(mi)
126
return mi.MessageOf(x)
129
// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
130
func (*PingResponse) Descriptor() ([]byte, []int) {
131
return file_api_system_v1alpha1_inter_cp_ping_proto_rawDescGZIP(), []int{1}
134
func (x *PingResponse) GetLeader() bool {
141
var File_api_system_v1alpha1_inter_cp_ping_proto protoreflect.FileDescriptor
143
var file_api_system_v1alpha1_inter_cp_ping_proto_rawDesc = []byte{
144
0x0a, 0x27, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61,
145
0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x70, 0x5f, 0x70,
146
0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6b, 0x75, 0x6d, 0x61, 0x2e,
147
0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22,
148
0x82, 0x01, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
149
0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
150
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64,
151
0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
152
0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x6e,
153
0x74, 0x65, 0x72, 0x5f, 0x63, 0x70, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
154
0x0d, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x70, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x14,
155
0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72,
156
0x65, 0x61, 0x64, 0x79, 0x22, 0x26, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70,
157
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
158
0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x32, 0x63, 0x0a, 0x12,
159
0x49, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x70, 0x50, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69,
160
0x63, 0x65, 0x12, 0x4d, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x6b, 0x75, 0x6d,
161
0x61, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
162
0x31, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
163
0x6b, 0x75, 0x6d, 0x61, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c,
164
0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
165
0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
166
0x6b, 0x75, 0x6d, 0x61, 0x68, 0x71, 0x2f, 0x6b, 0x75, 0x6d, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f,
167
0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62,
168
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
172
file_api_system_v1alpha1_inter_cp_ping_proto_rawDescOnce sync.Once
173
file_api_system_v1alpha1_inter_cp_ping_proto_rawDescData = file_api_system_v1alpha1_inter_cp_ping_proto_rawDesc
176
func file_api_system_v1alpha1_inter_cp_ping_proto_rawDescGZIP() []byte {
177
file_api_system_v1alpha1_inter_cp_ping_proto_rawDescOnce.Do(func() {
178
file_api_system_v1alpha1_inter_cp_ping_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_system_v1alpha1_inter_cp_ping_proto_rawDescData)
180
return file_api_system_v1alpha1_inter_cp_ping_proto_rawDescData
183
var file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
184
var file_api_system_v1alpha1_inter_cp_ping_proto_goTypes = []interface{}{
185
(*PingRequest)(nil), // 0: kuma.system.v1alpha1.PingRequest
186
(*PingResponse)(nil), // 1: kuma.system.v1alpha1.PingResponse
188
var file_api_system_v1alpha1_inter_cp_ping_proto_depIdxs = []int32{
189
0, // 0: kuma.system.v1alpha1.InterCpPingService.Ping:input_type -> kuma.system.v1alpha1.PingRequest
190
1, // 1: kuma.system.v1alpha1.InterCpPingService.Ping:output_type -> kuma.system.v1alpha1.PingResponse
191
1, // [1:2] is the sub-list for method output_type
192
0, // [0:1] is the sub-list for method input_type
193
0, // [0:0] is the sub-list for extension type_name
194
0, // [0:0] is the sub-list for extension extendee
195
0, // [0:0] is the sub-list for field type_name
198
func init() { file_api_system_v1alpha1_inter_cp_ping_proto_init() }
199
func file_api_system_v1alpha1_inter_cp_ping_proto_init() {
200
if File_api_system_v1alpha1_inter_cp_ping_proto != nil {
203
if !protoimpl.UnsafeEnabled {
204
file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
205
switch v := v.(*PingRequest); i {
211
return &v.unknownFields
216
file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
217
switch v := v.(*PingResponse); i {
223
return &v.unknownFields
230
out := protoimpl.TypeBuilder{
231
File: protoimpl.DescBuilder{
232
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
233
RawDescriptor: file_api_system_v1alpha1_inter_cp_ping_proto_rawDesc,
239
GoTypes: file_api_system_v1alpha1_inter_cp_ping_proto_goTypes,
240
DependencyIndexes: file_api_system_v1alpha1_inter_cp_ping_proto_depIdxs,
241
MessageInfos: file_api_system_v1alpha1_inter_cp_ping_proto_msgTypes,
243
File_api_system_v1alpha1_inter_cp_ping_proto = out.File
244
file_api_system_v1alpha1_inter_cp_ping_proto_rawDesc = nil
245
file_api_system_v1alpha1_inter_cp_ping_proto_goTypes = nil
246
file_api_system_v1alpha1_inter_cp_ping_proto_depIdxs = nil