github.com/livekit/protocol@v1.16.1-0.20240517185851-47e4c6bba773/infra/link.pb.go (about) 1 // Copyright 2023 LiveKit, Inc. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.34.1 18 // protoc v4.23.4 19 // source: infra/link.proto 20 21 package infra 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 type WatchLocalLinksRequest struct { 39 state protoimpl.MessageState 40 sizeCache protoimpl.SizeCache 41 unknownFields protoimpl.UnknownFields 42 } 43 44 func (x *WatchLocalLinksRequest) Reset() { 45 *x = WatchLocalLinksRequest{} 46 if protoimpl.UnsafeEnabled { 47 mi := &file_infra_link_proto_msgTypes[0] 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 ms.StoreMessageInfo(mi) 50 } 51 } 52 53 func (x *WatchLocalLinksRequest) String() string { 54 return protoimpl.X.MessageStringOf(x) 55 } 56 57 func (*WatchLocalLinksRequest) ProtoMessage() {} 58 59 func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { 60 mi := &file_infra_link_proto_msgTypes[0] 61 if protoimpl.UnsafeEnabled && x != nil { 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 if ms.LoadMessageInfo() == nil { 64 ms.StoreMessageInfo(mi) 65 } 66 return ms 67 } 68 return mi.MessageOf(x) 69 } 70 71 // Deprecated: Use WatchLocalLinksRequest.ProtoReflect.Descriptor instead. 72 func (*WatchLocalLinksRequest) Descriptor() ([]byte, []int) { 73 return file_infra_link_proto_rawDescGZIP(), []int{0} 74 } 75 76 type WatchLocalLinksResponse struct { 77 state protoimpl.MessageState 78 sizeCache protoimpl.SizeCache 79 unknownFields protoimpl.UnknownFields 80 81 LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` 82 RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` 83 Rtt int64 `protobuf:"varint,3,opt,name=rtt,proto3" json:"rtt,omitempty"` 84 Jitter int64 `protobuf:"varint,4,opt,name=jitter,proto3" json:"jitter,omitempty"` 85 PacketLoss float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3" json:"packet_loss,omitempty"` 86 Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` 87 LastRead *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_read,json=lastRead,proto3" json:"last_read,omitempty"` 88 } 89 90 func (x *WatchLocalLinksResponse) Reset() { 91 *x = WatchLocalLinksResponse{} 92 if protoimpl.UnsafeEnabled { 93 mi := &file_infra_link_proto_msgTypes[1] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 ms.StoreMessageInfo(mi) 96 } 97 } 98 99 func (x *WatchLocalLinksResponse) String() string { 100 return protoimpl.X.MessageStringOf(x) 101 } 102 103 func (*WatchLocalLinksResponse) ProtoMessage() {} 104 105 func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { 106 mi := &file_infra_link_proto_msgTypes[1] 107 if protoimpl.UnsafeEnabled && x != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(x) 115 } 116 117 // Deprecated: Use WatchLocalLinksResponse.ProtoReflect.Descriptor instead. 118 func (*WatchLocalLinksResponse) Descriptor() ([]byte, []int) { 119 return file_infra_link_proto_rawDescGZIP(), []int{1} 120 } 121 122 func (x *WatchLocalLinksResponse) GetLocalRegion() string { 123 if x != nil { 124 return x.LocalRegion 125 } 126 return "" 127 } 128 129 func (x *WatchLocalLinksResponse) GetRemoteRegion() string { 130 if x != nil { 131 return x.RemoteRegion 132 } 133 return "" 134 } 135 136 func (x *WatchLocalLinksResponse) GetRtt() int64 { 137 if x != nil { 138 return x.Rtt 139 } 140 return 0 141 } 142 143 func (x *WatchLocalLinksResponse) GetJitter() int64 { 144 if x != nil { 145 return x.Jitter 146 } 147 return 0 148 } 149 150 func (x *WatchLocalLinksResponse) GetPacketLoss() float64 { 151 if x != nil { 152 return x.PacketLoss 153 } 154 return 0 155 } 156 157 func (x *WatchLocalLinksResponse) GetDisabled() bool { 158 if x != nil { 159 return x.Disabled 160 } 161 return false 162 } 163 164 func (x *WatchLocalLinksResponse) GetLastRead() *timestamppb.Timestamp { 165 if x != nil { 166 return x.LastRead 167 } 168 return nil 169 } 170 171 type SimulateLinkStateRequest struct { 172 state protoimpl.MessageState 173 sizeCache protoimpl.SizeCache 174 unknownFields protoimpl.UnknownFields 175 176 LocalRegion string `protobuf:"bytes,1,opt,name=local_region,json=localRegion,proto3" json:"local_region,omitempty"` 177 RemoteRegion string `protobuf:"bytes,2,opt,name=remote_region,json=remoteRegion,proto3" json:"remote_region,omitempty"` 178 Rtt *int64 `protobuf:"varint,3,opt,name=rtt,proto3,oneof" json:"rtt,omitempty"` 179 Jitter *int64 `protobuf:"varint,4,opt,name=jitter,proto3,oneof" json:"jitter,omitempty"` 180 PacketLoss *float64 `protobuf:"fixed64,5,opt,name=packet_loss,json=packetLoss,proto3,oneof" json:"packet_loss,omitempty"` 181 Disabled *bool `protobuf:"varint,6,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` 182 Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` 183 } 184 185 func (x *SimulateLinkStateRequest) Reset() { 186 *x = SimulateLinkStateRequest{} 187 if protoimpl.UnsafeEnabled { 188 mi := &file_infra_link_proto_msgTypes[2] 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 ms.StoreMessageInfo(mi) 191 } 192 } 193 194 func (x *SimulateLinkStateRequest) String() string { 195 return protoimpl.X.MessageStringOf(x) 196 } 197 198 func (*SimulateLinkStateRequest) ProtoMessage() {} 199 200 func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { 201 mi := &file_infra_link_proto_msgTypes[2] 202 if protoimpl.UnsafeEnabled && x != nil { 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 if ms.LoadMessageInfo() == nil { 205 ms.StoreMessageInfo(mi) 206 } 207 return ms 208 } 209 return mi.MessageOf(x) 210 } 211 212 // Deprecated: Use SimulateLinkStateRequest.ProtoReflect.Descriptor instead. 213 func (*SimulateLinkStateRequest) Descriptor() ([]byte, []int) { 214 return file_infra_link_proto_rawDescGZIP(), []int{2} 215 } 216 217 func (x *SimulateLinkStateRequest) GetLocalRegion() string { 218 if x != nil { 219 return x.LocalRegion 220 } 221 return "" 222 } 223 224 func (x *SimulateLinkStateRequest) GetRemoteRegion() string { 225 if x != nil { 226 return x.RemoteRegion 227 } 228 return "" 229 } 230 231 func (x *SimulateLinkStateRequest) GetRtt() int64 { 232 if x != nil && x.Rtt != nil { 233 return *x.Rtt 234 } 235 return 0 236 } 237 238 func (x *SimulateLinkStateRequest) GetJitter() int64 { 239 if x != nil && x.Jitter != nil { 240 return *x.Jitter 241 } 242 return 0 243 } 244 245 func (x *SimulateLinkStateRequest) GetPacketLoss() float64 { 246 if x != nil && x.PacketLoss != nil { 247 return *x.PacketLoss 248 } 249 return 0 250 } 251 252 func (x *SimulateLinkStateRequest) GetDisabled() bool { 253 if x != nil && x.Disabled != nil { 254 return *x.Disabled 255 } 256 return false 257 } 258 259 func (x *SimulateLinkStateRequest) GetTimeout() int64 { 260 if x != nil { 261 return x.Timeout 262 } 263 return 0 264 } 265 266 type SimulateLinkStateResponse struct { 267 state protoimpl.MessageState 268 sizeCache protoimpl.SizeCache 269 unknownFields protoimpl.UnknownFields 270 } 271 272 func (x *SimulateLinkStateResponse) Reset() { 273 *x = SimulateLinkStateResponse{} 274 if protoimpl.UnsafeEnabled { 275 mi := &file_infra_link_proto_msgTypes[3] 276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 277 ms.StoreMessageInfo(mi) 278 } 279 } 280 281 func (x *SimulateLinkStateResponse) String() string { 282 return protoimpl.X.MessageStringOf(x) 283 } 284 285 func (*SimulateLinkStateResponse) ProtoMessage() {} 286 287 func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { 288 mi := &file_infra_link_proto_msgTypes[3] 289 if protoimpl.UnsafeEnabled && x != nil { 290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 291 if ms.LoadMessageInfo() == nil { 292 ms.StoreMessageInfo(mi) 293 } 294 return ms 295 } 296 return mi.MessageOf(x) 297 } 298 299 // Deprecated: Use SimulateLinkStateResponse.ProtoReflect.Descriptor instead. 300 func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) { 301 return file_infra_link_proto_rawDescGZIP(), []int{3} 302 } 303 304 var File_infra_link_proto protoreflect.FileDescriptor 305 306 var file_infra_link_proto_rawDesc = []byte{ 307 0x0a, 0x10, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 308 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 309 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 310 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x18, 0x0a, 0x16, 0x57, 0x61, 0x74, 0x63, 311 0x68, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 312 0x73, 0x74, 0x22, 0x81, 0x02, 0x0a, 0x17, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x6f, 0x63, 0x61, 313 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 314 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 315 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 316 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 317 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 318 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x74, 0x74, 0x18, 0x03, 0x20, 319 0x01, 0x28, 0x03, 0x52, 0x03, 0x72, 0x74, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x69, 0x74, 0x74, 320 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6a, 0x69, 0x74, 0x74, 0x65, 0x72, 321 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x18, 322 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4c, 0x6f, 0x73, 323 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 324 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 325 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 326 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 327 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x6c, 0x61, 328 0x73, 0x74, 0x52, 0x65, 0x61, 0x64, 0x22, 0xa7, 0x02, 0x0a, 0x18, 0x53, 0x69, 0x6d, 0x75, 0x6c, 329 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 330 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 331 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 332 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 333 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 334 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x03, 0x72, 335 0x74, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x03, 0x72, 0x74, 0x74, 0x88, 336 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x6a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 337 0x28, 0x03, 0x48, 0x01, 0x52, 0x06, 0x6a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 338 0x24, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x18, 0x05, 339 0x20, 0x01, 0x28, 0x01, 0x48, 0x02, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x4c, 0x6f, 340 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 341 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 342 0x6c, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 343 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 344 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x72, 0x74, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6a, 0x69, 0x74, 345 0x74, 0x65, 0x72, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6c, 346 0x6f, 0x73, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 347 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 348 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xaa, 0x01, 349 0x0a, 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x4e, 0x0a, 0x0f, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4c, 350 0x6f, 0x63, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 351 0x57, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 352 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x74, 353 0x63, 0x68, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 354 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x11, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 355 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x72, 0x70, 356 0x63, 0x2e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 357 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x72, 0x70, 0x63, 358 0x2e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 359 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x23, 0x5a, 0x21, 0x67, 0x69, 360 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 361 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 362 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 363 } 364 365 var ( 366 file_infra_link_proto_rawDescOnce sync.Once 367 file_infra_link_proto_rawDescData = file_infra_link_proto_rawDesc 368 ) 369 370 func file_infra_link_proto_rawDescGZIP() []byte { 371 file_infra_link_proto_rawDescOnce.Do(func() { 372 file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_infra_link_proto_rawDescData) 373 }) 374 return file_infra_link_proto_rawDescData 375 } 376 377 var file_infra_link_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 378 var file_infra_link_proto_goTypes = []interface{}{ 379 (*WatchLocalLinksRequest)(nil), // 0: rpc.WatchLocalLinksRequest 380 (*WatchLocalLinksResponse)(nil), // 1: rpc.WatchLocalLinksResponse 381 (*SimulateLinkStateRequest)(nil), // 2: rpc.SimulateLinkStateRequest 382 (*SimulateLinkStateResponse)(nil), // 3: rpc.SimulateLinkStateResponse 383 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp 384 } 385 var file_infra_link_proto_depIdxs = []int32{ 386 4, // 0: rpc.WatchLocalLinksResponse.last_read:type_name -> google.protobuf.Timestamp 387 0, // 1: rpc.Link.WatchLocalLinks:input_type -> rpc.WatchLocalLinksRequest 388 2, // 2: rpc.Link.SimulateLinkState:input_type -> rpc.SimulateLinkStateRequest 389 1, // 3: rpc.Link.WatchLocalLinks:output_type -> rpc.WatchLocalLinksResponse 390 3, // 4: rpc.Link.SimulateLinkState:output_type -> rpc.SimulateLinkStateResponse 391 3, // [3:5] is the sub-list for method output_type 392 1, // [1:3] is the sub-list for method input_type 393 1, // [1:1] is the sub-list for extension type_name 394 1, // [1:1] is the sub-list for extension extendee 395 0, // [0:1] is the sub-list for field type_name 396 } 397 398 func init() { file_infra_link_proto_init() } 399 func file_infra_link_proto_init() { 400 if File_infra_link_proto != nil { 401 return 402 } 403 if !protoimpl.UnsafeEnabled { 404 file_infra_link_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 405 switch v := v.(*WatchLocalLinksRequest); i { 406 case 0: 407 return &v.state 408 case 1: 409 return &v.sizeCache 410 case 2: 411 return &v.unknownFields 412 default: 413 return nil 414 } 415 } 416 file_infra_link_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 417 switch v := v.(*WatchLocalLinksResponse); i { 418 case 0: 419 return &v.state 420 case 1: 421 return &v.sizeCache 422 case 2: 423 return &v.unknownFields 424 default: 425 return nil 426 } 427 } 428 file_infra_link_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 429 switch v := v.(*SimulateLinkStateRequest); i { 430 case 0: 431 return &v.state 432 case 1: 433 return &v.sizeCache 434 case 2: 435 return &v.unknownFields 436 default: 437 return nil 438 } 439 } 440 file_infra_link_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 441 switch v := v.(*SimulateLinkStateResponse); i { 442 case 0: 443 return &v.state 444 case 1: 445 return &v.sizeCache 446 case 2: 447 return &v.unknownFields 448 default: 449 return nil 450 } 451 } 452 } 453 file_infra_link_proto_msgTypes[2].OneofWrappers = []interface{}{} 454 type x struct{} 455 out := protoimpl.TypeBuilder{ 456 File: protoimpl.DescBuilder{ 457 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 458 RawDescriptor: file_infra_link_proto_rawDesc, 459 NumEnums: 0, 460 NumMessages: 4, 461 NumExtensions: 0, 462 NumServices: 1, 463 }, 464 GoTypes: file_infra_link_proto_goTypes, 465 DependencyIndexes: file_infra_link_proto_depIdxs, 466 MessageInfos: file_infra_link_proto_msgTypes, 467 }.Build() 468 File_infra_link_proto = out.File 469 file_infra_link_proto_rawDesc = nil 470 file_infra_link_proto_goTypes = nil 471 file_infra_link_proto_depIdxs = nil 472 }