github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/client/v1/sim_card_stock/sim_card_stock_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/cellular-api/proto/v1/sim_card_stock_custom.proto 3 // DO NOT EDIT!!! 4 5 package sim_card_stock_client 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 carrier "github.com/cloudwan/edgelq-sdk/cellular-api/carrier" 21 sim_card "github.com/cloudwan/edgelq-sdk/cellular-api/resources/v1/sim_card" 22 sim_card_stock "github.com/cloudwan/edgelq-sdk/cellular-api/resources/v1/sim_card_stock" 23 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 24 ) 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var ( 28 _ = fmt.Errorf 29 _ = reflect.Method{} 30 _ = sync.Once{} 31 32 _ = protojson.MarshalOptions{} 33 _ = proto.MarshalOptions{} 34 _ = preflect.Value{} 35 _ = protoimpl.DescBuilder{} 36 ) 37 38 // make sure we're using proto imports 39 var ( 40 _ = &carrier.TransatelAccount{} 41 _ = &sim_card.SimCard{} 42 _ = &sim_card_stock.SimCardStock{} 43 _ = &iam_project.Project{} 44 ) 45 46 const ( 47 // Verify that this generated code is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 49 // Verify that runtime/protoimpl is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 51 ) 52 53 // A request message of the Allocate method. 54 type AllocateRequest struct { 55 state protoimpl.MessageState 56 sizeCache protoimpl.SizeCache 57 unknownFields protoimpl.UnknownFields 58 // Name of ntt.cellular_api.v1.SimCardStock 59 Name *sim_card_stock.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 60 Project *iam_project.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=project,proto3" json:"project,omitempty"` 61 RegionId string `protobuf:"bytes,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` 62 // expected state just after allocated 63 // if unspecified, will try to transit to ACTIVE 64 State carrier.SimState `protobuf:"varint,4,opt,name=state,proto3,enum=ntt.cellular_api.carrier.SimState" json:"state,omitempty"` 65 } 66 67 func (m *AllocateRequest) Reset() { 68 *m = AllocateRequest{} 69 if protoimpl.UnsafeEnabled { 70 mi := &edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes[0] 71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 72 ms.StoreMessageInfo(mi) 73 } 74 } 75 76 func (m *AllocateRequest) String() string { 77 return protoimpl.X.MessageStringOf(m) 78 } 79 80 func (*AllocateRequest) ProtoMessage() {} 81 82 func (m *AllocateRequest) ProtoReflect() preflect.Message { 83 mi := &edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes[0] 84 if protoimpl.UnsafeEnabled && m != nil { 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 86 if ms.LoadMessageInfo() == nil { 87 ms.StoreMessageInfo(mi) 88 } 89 return ms 90 } 91 return mi.MessageOf(m) 92 } 93 94 func (*AllocateRequest) GotenMessage() {} 95 96 // Deprecated, Use AllocateRequest.ProtoReflect.Descriptor instead. 97 func (*AllocateRequest) Descriptor() ([]byte, []int) { 98 return edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescGZIP(), []int{0} 99 } 100 101 func (m *AllocateRequest) Unmarshal(b []byte) error { 102 return proto.Unmarshal(b, m) 103 } 104 105 func (m *AllocateRequest) Marshal() ([]byte, error) { 106 return proto.Marshal(m) 107 } 108 109 func (m *AllocateRequest) MarshalJSON() ([]byte, error) { 110 return protojson.MarshalOptions{}.Marshal(m) 111 } 112 113 func (m *AllocateRequest) UnmarshalJSON(data []byte) error { 114 return protojson.Unmarshal(data, m) 115 } 116 117 func (m *AllocateRequest) GetName() *sim_card_stock.Name { 118 if m != nil { 119 return m.Name 120 } 121 return nil 122 } 123 124 func (m *AllocateRequest) GetProject() *iam_project.Reference { 125 if m != nil { 126 return m.Project 127 } 128 return nil 129 } 130 131 func (m *AllocateRequest) GetRegionId() string { 132 if m != nil { 133 return m.RegionId 134 } 135 return "" 136 } 137 138 func (m *AllocateRequest) GetState() carrier.SimState { 139 if m != nil { 140 return m.State 141 } 142 return carrier.SimState_SIM_STATE_UNSPECIFIED 143 } 144 145 func (m *AllocateRequest) SetName(fv *sim_card_stock.Name) { 146 if m == nil { 147 panic(fmt.Errorf("can't set %s on nil %s", "Name", "AllocateRequest")) 148 } 149 m.Name = fv 150 } 151 152 func (m *AllocateRequest) SetProject(fv *iam_project.Reference) { 153 if m == nil { 154 panic(fmt.Errorf("can't set %s on nil %s", "Project", "AllocateRequest")) 155 } 156 m.Project = fv 157 } 158 159 func (m *AllocateRequest) SetRegionId(fv string) { 160 if m == nil { 161 panic(fmt.Errorf("can't set %s on nil %s", "RegionId", "AllocateRequest")) 162 } 163 m.RegionId = fv 164 } 165 166 func (m *AllocateRequest) SetState(fv carrier.SimState) { 167 if m == nil { 168 panic(fmt.Errorf("can't set %s on nil %s", "State", "AllocateRequest")) 169 } 170 m.State = fv 171 } 172 173 // A request message of the Deallocate method. 174 type DeallocateRequest struct { 175 state protoimpl.MessageState 176 sizeCache protoimpl.SizeCache 177 unknownFields protoimpl.UnknownFields 178 // Name of ntt.cellular_api.v1.SimCardStock 179 Name *sim_card_stock.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 180 SimCard *sim_card.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=sim_card,json=simCard,proto3" json:"sim_card,omitempty"` 181 // expected state just after deallocated 182 // if unspecified, will try to transit to SUSPENDED 183 State carrier.SimState `protobuf:"varint,3,opt,name=state,proto3,enum=ntt.cellular_api.carrier.SimState" json:"state,omitempty"` 184 } 185 186 func (m *DeallocateRequest) Reset() { 187 *m = DeallocateRequest{} 188 if protoimpl.UnsafeEnabled { 189 mi := &edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes[1] 190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 191 ms.StoreMessageInfo(mi) 192 } 193 } 194 195 func (m *DeallocateRequest) String() string { 196 return protoimpl.X.MessageStringOf(m) 197 } 198 199 func (*DeallocateRequest) ProtoMessage() {} 200 201 func (m *DeallocateRequest) ProtoReflect() preflect.Message { 202 mi := &edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes[1] 203 if protoimpl.UnsafeEnabled && m != nil { 204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 205 if ms.LoadMessageInfo() == nil { 206 ms.StoreMessageInfo(mi) 207 } 208 return ms 209 } 210 return mi.MessageOf(m) 211 } 212 213 func (*DeallocateRequest) GotenMessage() {} 214 215 // Deprecated, Use DeallocateRequest.ProtoReflect.Descriptor instead. 216 func (*DeallocateRequest) Descriptor() ([]byte, []int) { 217 return edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescGZIP(), []int{1} 218 } 219 220 func (m *DeallocateRequest) Unmarshal(b []byte) error { 221 return proto.Unmarshal(b, m) 222 } 223 224 func (m *DeallocateRequest) Marshal() ([]byte, error) { 225 return proto.Marshal(m) 226 } 227 228 func (m *DeallocateRequest) MarshalJSON() ([]byte, error) { 229 return protojson.MarshalOptions{}.Marshal(m) 230 } 231 232 func (m *DeallocateRequest) UnmarshalJSON(data []byte) error { 233 return protojson.Unmarshal(data, m) 234 } 235 236 func (m *DeallocateRequest) GetName() *sim_card_stock.Name { 237 if m != nil { 238 return m.Name 239 } 240 return nil 241 } 242 243 func (m *DeallocateRequest) GetSimCard() *sim_card.Reference { 244 if m != nil { 245 return m.SimCard 246 } 247 return nil 248 } 249 250 func (m *DeallocateRequest) GetState() carrier.SimState { 251 if m != nil { 252 return m.State 253 } 254 return carrier.SimState_SIM_STATE_UNSPECIFIED 255 } 256 257 func (m *DeallocateRequest) SetName(fv *sim_card_stock.Name) { 258 if m == nil { 259 panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeallocateRequest")) 260 } 261 m.Name = fv 262 } 263 264 func (m *DeallocateRequest) SetSimCard(fv *sim_card.Reference) { 265 if m == nil { 266 panic(fmt.Errorf("can't set %s on nil %s", "SimCard", "DeallocateRequest")) 267 } 268 m.SimCard = fv 269 } 270 271 func (m *DeallocateRequest) SetState(fv carrier.SimState) { 272 if m == nil { 273 panic(fmt.Errorf("can't set %s on nil %s", "State", "DeallocateRequest")) 274 } 275 m.State = fv 276 } 277 278 var edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto preflect.FileDescriptor 279 280 var edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDesc = []byte{ 281 0x0a, 0x38, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 282 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 283 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x5f, 0x63, 0x75, 284 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 0x74, 0x74, 0x2e, 285 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 286 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 287 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 288 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 289 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 290 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 291 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 292 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 293 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 294 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 295 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x61, 0x72, 296 0x72, 0x69, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 297 0x74, 0x6f, 0x1a, 0x31, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 298 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 299 0x2f, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x6f, 0x63, 0x6b, 0x2e, 300 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 301 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 302 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x6f, 303 0x63, 0x6b, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 304 0xd8, 0x01, 0x0a, 0x0f, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 305 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 306 0x09, 0x42, 0x14, 0xb2, 0xda, 0x21, 0x10, 0x0a, 0x0e, 0x0a, 0x0c, 0x53, 0x69, 0x6d, 0x43, 0x61, 307 0x72, 0x64, 0x53, 0x74, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 308 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 309 0xb2, 0xda, 0x21, 0x1c, 0x12, 0x1a, 0x0a, 0x16, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 310 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x10, 0x05, 311 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x09, 0x72, 0x65, 0x67, 312 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xca, 0xc6, 313 0x27, 0x04, 0x2a, 0x02, 0x68, 0x01, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 314 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 315 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 316 0x70, 0x69, 0x2e, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x6d, 0x53, 0x74, 317 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x44, 318 0x65, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 319 0x12, 0x28, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 320 0xb2, 0xda, 0x21, 0x10, 0x0a, 0x0e, 0x0a, 0x0c, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x53, 321 0x74, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x73, 0x69, 322 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0xb2, 0xda, 323 0x21, 0x0d, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x10, 0x05, 0x52, 324 0x07, 0x73, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 325 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x63, 0x65, 326 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x61, 0x72, 0x72, 0x69, 327 0x65, 0x72, 0x2e, 0x53, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 328 0x74, 0x65, 0x42, 0x93, 0x01, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 329 0x74, 0x74, 0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 330 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x53, 0x69, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x53, 0x74, 331 0x6f, 0x63, 0x6b, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 332 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 333 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 334 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 335 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x6f, 336 0x63, 0x6b, 0x3b, 0x73, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x6f, 0x63, 337 0x6b, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 338 } 339 340 var ( 341 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescOnce sync.Once 342 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescData = edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDesc 343 ) 344 345 func edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescGZIP() []byte { 346 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescOnce.Do(func() { 347 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescData) 348 }) 349 return edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDescData 350 } 351 352 var edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 353 var edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_goTypes = []interface{}{ 354 (*AllocateRequest)(nil), // 0: ntt.cellular_api.v1.AllocateRequest 355 (*DeallocateRequest)(nil), // 1: ntt.cellular_api.v1.DeallocateRequest 356 (carrier.SimState)(0), // 2: ntt.cellular_api.carrier.SimState 357 } 358 var edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_depIdxs = []int32{ 359 2, // 0: ntt.cellular_api.v1.AllocateRequest.state:type_name -> ntt.cellular_api.carrier.SimState 360 2, // 1: ntt.cellular_api.v1.DeallocateRequest.state:type_name -> ntt.cellular_api.carrier.SimState 361 2, // [2:2] is the sub-list for method output_type 362 2, // [2:2] is the sub-list for method input_type 363 2, // [2:2] is the sub-list for extension type_name 364 2, // [2:2] is the sub-list for extension extendee 365 0, // [0:2] is the sub-list for field type_name 366 } 367 368 func init() { edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_init() } 369 func edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_init() { 370 if edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto != nil { 371 return 372 } 373 if !protoimpl.UnsafeEnabled { 374 375 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 376 switch v := v.(*AllocateRequest); i { 377 case 0: 378 return &v.state 379 case 1: 380 return &v.sizeCache 381 case 2: 382 return &v.unknownFields 383 default: 384 return nil 385 } 386 } 387 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 388 switch v := v.(*DeallocateRequest); i { 389 case 0: 390 return &v.state 391 case 1: 392 return &v.sizeCache 393 case 2: 394 return &v.unknownFields 395 default: 396 return nil 397 } 398 } 399 } 400 401 type x struct{} 402 out := protoimpl.TypeBuilder{ 403 File: protoimpl.DescBuilder{ 404 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 405 RawDescriptor: edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDesc, 406 NumEnums: 0, 407 NumMessages: 2, 408 NumExtensions: 0, 409 NumServices: 0, 410 }, 411 GoTypes: edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_goTypes, 412 DependencyIndexes: edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_depIdxs, 413 MessageInfos: edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_msgTypes, 414 }.Build() 415 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto = out.File 416 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_rawDesc = nil 417 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_goTypes = nil 418 edgelq_cellular_api_proto_v1_sim_card_stock_custom_proto_depIdxs = nil 419 }