github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/resources/v1/contract/contract.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/cellular-api/proto/v1/contract.proto 3 // DO NOT EDIT!!! 4 5 package contract 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 secrets_secret "github.com/cloudwan/edgelq-sdk/secrets/resources/v1/secret" 21 meta "github.com/cloudwan/goten-sdk/types/meta" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &secrets_secret.Secret{} 39 _ = &meta.Meta{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // Contract Resource 50 type Contract struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 // Name of Contract 55 // When creating a new instance, this field is optional and if not provided, 56 // it will be generated automatically. Last ID segment must conform to the 57 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 58 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 59 // Metadata is an object with information like create, update and delete time 60 // (for async deleted resources), has user labels/annotations, sharding 61 // information, multi-region syncing information and may have non-schema 62 // owners (useful for taking ownership of resources belonging to lower level 63 // services by higher ones). 64 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 65 RatePlan string `protobuf:"bytes,3,opt,name=rate_plan,json=ratePlan,proto3" json:"rate_plan,omitempty"` 66 // CarrierAccount contains api credential for backend to call each carrier 67 // APIs, therefore it is packed as a Secret resource. Secret resource itself 68 // must contain following data field in each carrier: 69 // 70 // - Transatel 71 // { 72 // "data": { 73 // "client_id": "<CLIENTID>", 74 // "client_secret": "<CLIENTSECRET>" 75 // } 76 // } 77 // 78 // - Cisco 79 // .. 80 // - Celona 81 // .. 82 // 83 // Types that are valid to be assigned to CarrierAccount: 84 // *Contract_Transatel 85 // *Contract_Cisco 86 // *Contract_Celona 87 CarrierAccount isContract_CarrierAccount `protobuf_oneof:"carrier_account"` 88 } 89 90 func (m *Contract) Reset() { 91 *m = Contract{} 92 if protoimpl.UnsafeEnabled { 93 mi := &edgelq_cellular_api_proto_v1_contract_proto_msgTypes[0] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 95 ms.StoreMessageInfo(mi) 96 } 97 } 98 99 func (m *Contract) String() string { 100 return protoimpl.X.MessageStringOf(m) 101 } 102 103 func (*Contract) ProtoMessage() {} 104 105 func (m *Contract) ProtoReflect() preflect.Message { 106 mi := &edgelq_cellular_api_proto_v1_contract_proto_msgTypes[0] 107 if protoimpl.UnsafeEnabled && m != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(m) 115 } 116 117 func (*Contract) GotenMessage() {} 118 119 // Deprecated, Use Contract.ProtoReflect.Descriptor instead. 120 func (*Contract) Descriptor() ([]byte, []int) { 121 return edgelq_cellular_api_proto_v1_contract_proto_rawDescGZIP(), []int{0} 122 } 123 124 func (m *Contract) Unmarshal(b []byte) error { 125 return proto.Unmarshal(b, m) 126 } 127 128 func (m *Contract) Marshal() ([]byte, error) { 129 return proto.Marshal(m) 130 } 131 132 func (m *Contract) MarshalJSON() ([]byte, error) { 133 return protojson.MarshalOptions{}.Marshal(m) 134 } 135 136 func (m *Contract) UnmarshalJSON(data []byte) error { 137 return protojson.Unmarshal(data, m) 138 } 139 140 type isContract_CarrierAccount interface { 141 isContract_CarrierAccount() 142 } 143 144 type Contract_Transatel struct { 145 Transatel *secrets_secret.Reference `protobuf:"bytes,5,opt,customtype=Reference,name=transatel,proto3,oneof"` 146 } 147 type Contract_Cisco struct { 148 Cisco *secrets_secret.Reference `protobuf:"bytes,6,opt,customtype=Reference,name=cisco,proto3,oneof"` 149 } 150 type Contract_Celona struct { 151 Celona *secrets_secret.Reference `protobuf:"bytes,7,opt,customtype=Reference,name=celona,proto3,oneof"` 152 } 153 154 func (*Contract_Transatel) isContract_CarrierAccount() {} 155 func (*Contract_Cisco) isContract_CarrierAccount() {} 156 func (*Contract_Celona) isContract_CarrierAccount() {} 157 func (m *Contract) GetName() *Name { 158 if m != nil { 159 return m.Name 160 } 161 return nil 162 } 163 164 func (m *Contract) GetMetadata() *meta.Meta { 165 if m != nil { 166 return m.Metadata 167 } 168 return nil 169 } 170 171 func (m *Contract) GetRatePlan() string { 172 if m != nil { 173 return m.RatePlan 174 } 175 return "" 176 } 177 178 func (m *Contract) GetCarrierAccount() isContract_CarrierAccount { 179 if m != nil { 180 return m.CarrierAccount 181 } 182 return nil 183 } 184 func (m *Contract) GetTransatel() *secrets_secret.Reference { 185 if x, ok := m.GetCarrierAccount().(*Contract_Transatel); ok { 186 return x.Transatel 187 } 188 return nil 189 } 190 func (m *Contract) GetCisco() *secrets_secret.Reference { 191 if x, ok := m.GetCarrierAccount().(*Contract_Cisco); ok { 192 return x.Cisco 193 } 194 return nil 195 } 196 func (m *Contract) GetCelona() *secrets_secret.Reference { 197 if x, ok := m.GetCarrierAccount().(*Contract_Celona); ok { 198 return x.Celona 199 } 200 return nil 201 } 202 func (m *Contract) SetName(fv *Name) { 203 if m == nil { 204 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Contract")) 205 } 206 m.Name = fv 207 } 208 209 func (m *Contract) SetMetadata(fv *meta.Meta) { 210 if m == nil { 211 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Contract")) 212 } 213 m.Metadata = fv 214 } 215 216 func (m *Contract) SetRatePlan(fv string) { 217 if m == nil { 218 panic(fmt.Errorf("can't set %s on nil %s", "RatePlan", "Contract")) 219 } 220 m.RatePlan = fv 221 } 222 223 func (m *Contract) SetCarrierAccount(ofv isContract_CarrierAccount) { 224 if m == nil { 225 panic(fmt.Errorf("can't set %s on nil %s", "isContract_CarrierAccount", "Contract")) 226 } 227 m.CarrierAccount = ofv 228 } 229 func (m *Contract) SetTransatel(fv *secrets_secret.Reference) { 230 m.SetCarrierAccount(&Contract_Transatel{Transatel: fv}) 231 } 232 func (m *Contract) SetCisco(fv *secrets_secret.Reference) { 233 m.SetCarrierAccount(&Contract_Cisco{Cisco: fv}) 234 } 235 func (m *Contract) SetCelona(fv *secrets_secret.Reference) { 236 m.SetCarrierAccount(&Contract_Celona{Celona: fv}) 237 } 238 239 var edgelq_cellular_api_proto_v1_contract_proto preflect.FileDescriptor 240 241 var edgelq_cellular_api_proto_v1_contract_proto_rawDesc = []byte{ 242 0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 243 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 244 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 245 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 246 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 247 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 248 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 249 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 250 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 251 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 252 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 253 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 254 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 255 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 256 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 257 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 258 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 259 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 260 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 261 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 262 0x03, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x6e, 263 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xb2, 0xda, 0x21, 0x0c, 0x0a, 264 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 265 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 266 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 267 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 268 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 269 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x43, 0x0a, 270 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x74, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 271 0x42, 0x23, 0xb2, 0xda, 0x21, 0x1f, 0x12, 0x1d, 0x0a, 0x19, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 272 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 273 0x72, 0x65, 0x74, 0x10, 0x01, 0x48, 0x00, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x74, 274 0x65, 0x6c, 0x12, 0x3b, 0x0a, 0x05, 0x63, 0x69, 0x73, 0x63, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 275 0x09, 0x42, 0x23, 0xb2, 0xda, 0x21, 0x1f, 0x12, 0x1d, 0x0a, 0x19, 0x73, 0x65, 0x63, 0x72, 0x65, 276 0x74, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 277 0x63, 0x72, 0x65, 0x74, 0x10, 0x01, 0x48, 0x00, 0x52, 0x05, 0x63, 0x69, 0x73, 0x63, 0x6f, 0x12, 278 0x3d, 0x0a, 0x06, 0x63, 0x65, 0x6c, 0x6f, 0x6e, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 279 0x23, 0xb2, 0xda, 0x21, 0x1f, 0x12, 0x1d, 0x0a, 0x19, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 280 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x63, 0x72, 281 0x65, 0x74, 0x10, 0x01, 0x48, 0x00, 0x52, 0x06, 0x63, 0x65, 0x6c, 0x6f, 0x6e, 0x61, 0x3a, 0x67, 282 0xea, 0x41, 0x38, 0x0a, 0x20, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 283 0x69, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 284 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 285 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x7d, 0x92, 0xd9, 0x21, 0x16, 0x0a, 286 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, 0x09, 0x63, 0x6f, 0x6e, 0x74, 287 0x72, 0x61, 0x63, 0x74, 0x73, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 288 0x65, 0xe2, 0xde, 0x21, 0x02, 0x08, 0x03, 0x42, 0x11, 0x0a, 0x0f, 0x63, 0x61, 0x72, 0x72, 0x69, 289 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x9b, 0x02, 0xe8, 0xde, 0x21, 290 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x4b, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 291 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 292 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 293 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 294 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 295 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x4d, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 296 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 297 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 298 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 299 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 300 0x61, 0x63, 0x74, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 301 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 302 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 303 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 304 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 305 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 306 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x3b, 307 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 308 } 309 310 var ( 311 edgelq_cellular_api_proto_v1_contract_proto_rawDescOnce sync.Once 312 edgelq_cellular_api_proto_v1_contract_proto_rawDescData = edgelq_cellular_api_proto_v1_contract_proto_rawDesc 313 ) 314 315 func edgelq_cellular_api_proto_v1_contract_proto_rawDescGZIP() []byte { 316 edgelq_cellular_api_proto_v1_contract_proto_rawDescOnce.Do(func() { 317 edgelq_cellular_api_proto_v1_contract_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_cellular_api_proto_v1_contract_proto_rawDescData) 318 }) 319 return edgelq_cellular_api_proto_v1_contract_proto_rawDescData 320 } 321 322 var edgelq_cellular_api_proto_v1_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 323 var edgelq_cellular_api_proto_v1_contract_proto_goTypes = []interface{}{ 324 (*Contract)(nil), // 0: ntt.cellular_api.v1.Contract 325 (*meta.Meta)(nil), // 1: goten.types.Meta 326 } 327 var edgelq_cellular_api_proto_v1_contract_proto_depIdxs = []int32{ 328 1, // 0: ntt.cellular_api.v1.Contract.metadata:type_name -> goten.types.Meta 329 1, // [1:1] is the sub-list for method output_type 330 1, // [1:1] is the sub-list for method input_type 331 1, // [1:1] is the sub-list for extension type_name 332 1, // [1:1] is the sub-list for extension extendee 333 0, // [0:1] is the sub-list for field type_name 334 } 335 336 func init() { edgelq_cellular_api_proto_v1_contract_proto_init() } 337 func edgelq_cellular_api_proto_v1_contract_proto_init() { 338 if edgelq_cellular_api_proto_v1_contract_proto != nil { 339 return 340 } 341 if !protoimpl.UnsafeEnabled { 342 343 edgelq_cellular_api_proto_v1_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 344 switch v := v.(*Contract); i { 345 case 0: 346 return &v.state 347 case 1: 348 return &v.sizeCache 349 case 2: 350 return &v.unknownFields 351 default: 352 return nil 353 } 354 } 355 } 356 357 edgelq_cellular_api_proto_v1_contract_proto_msgTypes[0].OneofWrappers = []interface{}{ 358 (*Contract_Transatel)(nil), 359 (*Contract_Cisco)(nil), 360 (*Contract_Celona)(nil), 361 } 362 type x struct{} 363 out := protoimpl.TypeBuilder{ 364 File: protoimpl.DescBuilder{ 365 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 366 RawDescriptor: edgelq_cellular_api_proto_v1_contract_proto_rawDesc, 367 NumEnums: 0, 368 NumMessages: 1, 369 NumExtensions: 0, 370 NumServices: 0, 371 }, 372 GoTypes: edgelq_cellular_api_proto_v1_contract_proto_goTypes, 373 DependencyIndexes: edgelq_cellular_api_proto_v1_contract_proto_depIdxs, 374 MessageInfos: edgelq_cellular_api_proto_v1_contract_proto_msgTypes, 375 }.Build() 376 edgelq_cellular_api_proto_v1_contract_proto = out.File 377 edgelq_cellular_api_proto_v1_contract_proto_rawDesc = nil 378 edgelq_cellular_api_proto_v1_contract_proto_goTypes = nil 379 edgelq_cellular_api_proto_v1_contract_proto_depIdxs = nil 380 }