go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/kvscheduler/value_status.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: ligato/kvscheduler/value_status.proto 6 7 package kvscheduler 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 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) 21 ) 22 23 type ValueState int32 24 25 const ( 26 // ValueState_NONEXISTENT is assigned to value that was deleted or has never 27 // existed. 28 ValueState_NONEXISTENT ValueState = 0 29 // ValueState_MISSING is assigned to NB value that was configured but refresh 30 // found it to be missing. 31 ValueState_MISSING ValueState = 1 32 // ValueState_UNIMPLEMENTED marks value received from NB that cannot 33 // be configured because there is no registered descriptor associated 34 // with it. 35 ValueState_UNIMPLEMENTED ValueState = 2 36 // ValueState_REMOVED is assigned to NB value after it was removed or when 37 // it is being re-created. The state is only temporary: for re-create, the 38 // value transits to whatever state the following Create operation produces, 39 // and delete values are removed from the graph (go to the NONEXISTENT state) 40 // immediately after the notification about the state change is sent. 41 ValueState_REMOVED ValueState = 3 42 // ValueState_CONFIGURED marks value defined by NB and successfully configured. 43 ValueState_CONFIGURED ValueState = 4 44 // ValueState_OBTAINED marks value not managed by NB, instead created 45 // automatically or externally in SB. The KVScheduler learns about the value 46 // either using Retrieve() or through a SB notification. 47 ValueState_OBTAINED ValueState = 5 48 // ValueState_DISCOVERED marks NB value that was found (=retrieved) by refresh 49 // but not actually configured by the agent in this run. 50 ValueState_DISCOVERED ValueState = 6 51 // ValueState_PENDING represents (NB) value that cannot be configured yet 52 // due to missing dependencies. 53 ValueState_PENDING ValueState = 7 54 // ValueState_INVALID represents (NB) value that will not be configured 55 // because it has a logically invalid content as declared by the Validate 56 // method of the associated descriptor. 57 // The corresponding error and the list of affected fields are stored 58 // in the <InvalidValueDetails> structure available via <details> for invalid 59 // value. 60 ValueState_INVALID ValueState = 8 61 // ValueState_FAILED marks (NB) value for which the last executed operation 62 // returned an error. 63 // The error and the type of the operation which caused the error are stored 64 // in the <FailedValueDetails> structure available via <details> for failed 65 // value. 66 ValueState_FAILED ValueState = 9 67 // ValueState_RETRYING marks unsucessfully applied (NB) value, for which, 68 // however, one or more attempts to fix the error by repeating the last 69 // operation are planned, and only if all the retries fail, the value will 70 // then transit to the FAILED state. 71 ValueState_RETRYING ValueState = 10 72 ) 73 74 // Enum value maps for ValueState. 75 var ( 76 ValueState_name = map[int32]string{ 77 0: "NONEXISTENT", 78 1: "MISSING", 79 2: "UNIMPLEMENTED", 80 3: "REMOVED", 81 4: "CONFIGURED", 82 5: "OBTAINED", 83 6: "DISCOVERED", 84 7: "PENDING", 85 8: "INVALID", 86 9: "FAILED", 87 10: "RETRYING", 88 } 89 ValueState_value = map[string]int32{ 90 "NONEXISTENT": 0, 91 "MISSING": 1, 92 "UNIMPLEMENTED": 2, 93 "REMOVED": 3, 94 "CONFIGURED": 4, 95 "OBTAINED": 5, 96 "DISCOVERED": 6, 97 "PENDING": 7, 98 "INVALID": 8, 99 "FAILED": 9, 100 "RETRYING": 10, 101 } 102 ) 103 104 func (x ValueState) Enum() *ValueState { 105 p := new(ValueState) 106 *p = x 107 return p 108 } 109 110 func (x ValueState) String() string { 111 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 112 } 113 114 func (ValueState) Descriptor() protoreflect.EnumDescriptor { 115 return file_ligato_kvscheduler_value_status_proto_enumTypes[0].Descriptor() 116 } 117 118 func (ValueState) Type() protoreflect.EnumType { 119 return &file_ligato_kvscheduler_value_status_proto_enumTypes[0] 120 } 121 122 func (x ValueState) Number() protoreflect.EnumNumber { 123 return protoreflect.EnumNumber(x) 124 } 125 126 // Deprecated: Use ValueState.Descriptor instead. 127 func (ValueState) EnumDescriptor() ([]byte, []int) { 128 return file_ligato_kvscheduler_value_status_proto_rawDescGZIP(), []int{0} 129 } 130 131 type TxnOperation int32 132 133 const ( 134 TxnOperation_UNDEFINED TxnOperation = 0 135 TxnOperation_VALIDATE TxnOperation = 1 136 TxnOperation_CREATE TxnOperation = 2 137 TxnOperation_UPDATE TxnOperation = 3 138 TxnOperation_DELETE TxnOperation = 4 139 ) 140 141 // Enum value maps for TxnOperation. 142 var ( 143 TxnOperation_name = map[int32]string{ 144 0: "UNDEFINED", 145 1: "VALIDATE", 146 2: "CREATE", 147 3: "UPDATE", 148 4: "DELETE", 149 } 150 TxnOperation_value = map[string]int32{ 151 "UNDEFINED": 0, 152 "VALIDATE": 1, 153 "CREATE": 2, 154 "UPDATE": 3, 155 "DELETE": 4, 156 } 157 ) 158 159 func (x TxnOperation) Enum() *TxnOperation { 160 p := new(TxnOperation) 161 *p = x 162 return p 163 } 164 165 func (x TxnOperation) String() string { 166 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 167 } 168 169 func (TxnOperation) Descriptor() protoreflect.EnumDescriptor { 170 return file_ligato_kvscheduler_value_status_proto_enumTypes[1].Descriptor() 171 } 172 173 func (TxnOperation) Type() protoreflect.EnumType { 174 return &file_ligato_kvscheduler_value_status_proto_enumTypes[1] 175 } 176 177 func (x TxnOperation) Number() protoreflect.EnumNumber { 178 return protoreflect.EnumNumber(x) 179 } 180 181 // Deprecated: Use TxnOperation.Descriptor instead. 182 func (TxnOperation) EnumDescriptor() ([]byte, []int) { 183 return file_ligato_kvscheduler_value_status_proto_rawDescGZIP(), []int{1} 184 } 185 186 type ValueStatus struct { 187 state protoimpl.MessageState 188 sizeCache protoimpl.SizeCache 189 unknownFields protoimpl.UnknownFields 190 191 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 192 State ValueState `protobuf:"varint,2,opt,name=state,proto3,enum=ligato.kvscheduler.ValueState" json:"state,omitempty"` 193 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // error returned by the last operation (none if empty string) 194 LastOperation TxnOperation `protobuf:"varint,4,opt,name=last_operation,json=lastOperation,proto3,enum=ligato.kvscheduler.TxnOperation" json:"last_operation,omitempty"` 195 // - for invalid value, details is a list of invalid fields 196 // - for pending value, details is a list of missing dependencies (labels) 197 Details []string `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"` 198 } 199 200 func (x *ValueStatus) Reset() { 201 *x = ValueStatus{} 202 if protoimpl.UnsafeEnabled { 203 mi := &file_ligato_kvscheduler_value_status_proto_msgTypes[0] 204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 205 ms.StoreMessageInfo(mi) 206 } 207 } 208 209 func (x *ValueStatus) String() string { 210 return protoimpl.X.MessageStringOf(x) 211 } 212 213 func (*ValueStatus) ProtoMessage() {} 214 215 func (x *ValueStatus) ProtoReflect() protoreflect.Message { 216 mi := &file_ligato_kvscheduler_value_status_proto_msgTypes[0] 217 if protoimpl.UnsafeEnabled && x != nil { 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 if ms.LoadMessageInfo() == nil { 220 ms.StoreMessageInfo(mi) 221 } 222 return ms 223 } 224 return mi.MessageOf(x) 225 } 226 227 // Deprecated: Use ValueStatus.ProtoReflect.Descriptor instead. 228 func (*ValueStatus) Descriptor() ([]byte, []int) { 229 return file_ligato_kvscheduler_value_status_proto_rawDescGZIP(), []int{0} 230 } 231 232 func (x *ValueStatus) GetKey() string { 233 if x != nil { 234 return x.Key 235 } 236 return "" 237 } 238 239 func (x *ValueStatus) GetState() ValueState { 240 if x != nil { 241 return x.State 242 } 243 return ValueState_NONEXISTENT 244 } 245 246 func (x *ValueStatus) GetError() string { 247 if x != nil { 248 return x.Error 249 } 250 return "" 251 } 252 253 func (x *ValueStatus) GetLastOperation() TxnOperation { 254 if x != nil { 255 return x.LastOperation 256 } 257 return TxnOperation_UNDEFINED 258 } 259 260 func (x *ValueStatus) GetDetails() []string { 261 if x != nil { 262 return x.Details 263 } 264 return nil 265 } 266 267 type BaseValueStatus struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 272 Value *ValueStatus `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 273 DerivedValues []*ValueStatus `protobuf:"bytes,2,rep,name=derived_values,json=derivedValues,proto3" json:"derived_values,omitempty"` 274 } 275 276 func (x *BaseValueStatus) Reset() { 277 *x = BaseValueStatus{} 278 if protoimpl.UnsafeEnabled { 279 mi := &file_ligato_kvscheduler_value_status_proto_msgTypes[1] 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 ms.StoreMessageInfo(mi) 282 } 283 } 284 285 func (x *BaseValueStatus) String() string { 286 return protoimpl.X.MessageStringOf(x) 287 } 288 289 func (*BaseValueStatus) ProtoMessage() {} 290 291 func (x *BaseValueStatus) ProtoReflect() protoreflect.Message { 292 mi := &file_ligato_kvscheduler_value_status_proto_msgTypes[1] 293 if protoimpl.UnsafeEnabled && x != nil { 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 if ms.LoadMessageInfo() == nil { 296 ms.StoreMessageInfo(mi) 297 } 298 return ms 299 } 300 return mi.MessageOf(x) 301 } 302 303 // Deprecated: Use BaseValueStatus.ProtoReflect.Descriptor instead. 304 func (*BaseValueStatus) Descriptor() ([]byte, []int) { 305 return file_ligato_kvscheduler_value_status_proto_rawDescGZIP(), []int{1} 306 } 307 308 func (x *BaseValueStatus) GetValue() *ValueStatus { 309 if x != nil { 310 return x.Value 311 } 312 return nil 313 } 314 315 func (x *BaseValueStatus) GetDerivedValues() []*ValueStatus { 316 if x != nil { 317 return x.DerivedValues 318 } 319 return nil 320 } 321 322 var File_ligato_kvscheduler_value_status_proto protoreflect.FileDescriptor 323 324 var file_ligato_kvscheduler_value_status_proto_rawDesc = []byte{ 325 0x0a, 0x25, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x64, 326 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 327 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 328 0x6b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x22, 0xce, 0x01, 0x0a, 0x0b, 329 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 330 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 331 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6c, 332 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 333 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 334 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 335 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 336 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 337 0x0e, 0x32, 0x20, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6b, 0x76, 0x73, 0x63, 0x68, 338 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x78, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 339 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 340 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, 341 0x03, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x90, 0x01, 0x0a, 342 0x0f, 0x42, 0x61, 0x73, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 343 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 344 0x1f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x64, 345 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 346 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x65, 0x72, 0x69, 0x76, 347 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 348 0x1f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6b, 0x76, 0x73, 0x63, 0x68, 0x65, 0x64, 349 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 350 0x52, 0x0d, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 351 0xac, 0x01, 0x0a, 0x0a, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 352 0x0a, 0x0b, 0x4e, 0x4f, 0x4e, 0x45, 0x58, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 353 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 354 0x55, 0x4e, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 355 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 356 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 357 0x4f, 0x42, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x49, 358 0x53, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 359 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 360 0x49, 0x44, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x09, 361 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x0a, 0x2a, 0x4f, 362 0x0a, 0x0c, 0x54, 0x78, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 363 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 364 0x08, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 365 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 366 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x42, 367 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 368 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 369 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6b, 0x76, 0x73, 0x63, 0x68, 0x65, 370 0x64, 0x75, 0x6c, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 371 } 372 373 var ( 374 file_ligato_kvscheduler_value_status_proto_rawDescOnce sync.Once 375 file_ligato_kvscheduler_value_status_proto_rawDescData = file_ligato_kvscheduler_value_status_proto_rawDesc 376 ) 377 378 func file_ligato_kvscheduler_value_status_proto_rawDescGZIP() []byte { 379 file_ligato_kvscheduler_value_status_proto_rawDescOnce.Do(func() { 380 file_ligato_kvscheduler_value_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_kvscheduler_value_status_proto_rawDescData) 381 }) 382 return file_ligato_kvscheduler_value_status_proto_rawDescData 383 } 384 385 var file_ligato_kvscheduler_value_status_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 386 var file_ligato_kvscheduler_value_status_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 387 var file_ligato_kvscheduler_value_status_proto_goTypes = []interface{}{ 388 (ValueState)(0), // 0: ligato.kvscheduler.ValueState 389 (TxnOperation)(0), // 1: ligato.kvscheduler.TxnOperation 390 (*ValueStatus)(nil), // 2: ligato.kvscheduler.ValueStatus 391 (*BaseValueStatus)(nil), // 3: ligato.kvscheduler.BaseValueStatus 392 } 393 var file_ligato_kvscheduler_value_status_proto_depIdxs = []int32{ 394 0, // 0: ligato.kvscheduler.ValueStatus.state:type_name -> ligato.kvscheduler.ValueState 395 1, // 1: ligato.kvscheduler.ValueStatus.last_operation:type_name -> ligato.kvscheduler.TxnOperation 396 2, // 2: ligato.kvscheduler.BaseValueStatus.value:type_name -> ligato.kvscheduler.ValueStatus 397 2, // 3: ligato.kvscheduler.BaseValueStatus.derived_values:type_name -> ligato.kvscheduler.ValueStatus 398 4, // [4:4] is the sub-list for method output_type 399 4, // [4:4] is the sub-list for method input_type 400 4, // [4:4] is the sub-list for extension type_name 401 4, // [4:4] is the sub-list for extension extendee 402 0, // [0:4] is the sub-list for field type_name 403 } 404 405 func init() { file_ligato_kvscheduler_value_status_proto_init() } 406 func file_ligato_kvscheduler_value_status_proto_init() { 407 if File_ligato_kvscheduler_value_status_proto != nil { 408 return 409 } 410 if !protoimpl.UnsafeEnabled { 411 file_ligato_kvscheduler_value_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 412 switch v := v.(*ValueStatus); i { 413 case 0: 414 return &v.state 415 case 1: 416 return &v.sizeCache 417 case 2: 418 return &v.unknownFields 419 default: 420 return nil 421 } 422 } 423 file_ligato_kvscheduler_value_status_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 424 switch v := v.(*BaseValueStatus); i { 425 case 0: 426 return &v.state 427 case 1: 428 return &v.sizeCache 429 case 2: 430 return &v.unknownFields 431 default: 432 return nil 433 } 434 } 435 } 436 type x struct{} 437 out := protoimpl.TypeBuilder{ 438 File: protoimpl.DescBuilder{ 439 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 440 RawDescriptor: file_ligato_kvscheduler_value_status_proto_rawDesc, 441 NumEnums: 2, 442 NumMessages: 2, 443 NumExtensions: 0, 444 NumServices: 0, 445 }, 446 GoTypes: file_ligato_kvscheduler_value_status_proto_goTypes, 447 DependencyIndexes: file_ligato_kvscheduler_value_status_proto_depIdxs, 448 EnumInfos: file_ligato_kvscheduler_value_status_proto_enumTypes, 449 MessageInfos: file_ligato_kvscheduler_value_status_proto_msgTypes, 450 }.Build() 451 File_ligato_kvscheduler_value_status_proto = out.File 452 file_ligato_kvscheduler_value_status_proto_rawDesc = nil 453 file_ligato_kvscheduler_value_status_proto_goTypes = nil 454 file_ligato_kvscheduler_value_status_proto_depIdxs = nil 455 }