github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/carrier/carrier.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/cellular-api/carrier/carrier.proto
     3  // DO NOT EDIT!!!
     4  
     5  package carrier
     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  
    21  // Reference imports to suppress errors if they are not otherwise used.
    22  var (
    23  	_ = fmt.Errorf
    24  	_ = reflect.Method{}
    25  	_ = sync.Once{}
    26  
    27  	_ = protojson.MarshalOptions{}
    28  	_ = proto.MarshalOptions{}
    29  	_ = preflect.Value{}
    30  	_ = protoimpl.DescBuilder{}
    31  )
    32  
    33  // make sure we're using proto imports
    34  var ()
    35  
    36  const (
    37  	// Verify that this generated code is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    39  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    40  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    41  )
    42  
    43  type SimState int32
    44  
    45  const (
    46  	SimState_SIM_STATE_UNSPECIFIED SimState = 0
    47  	SimState_AVAILABLE             SimState = 1
    48  	SimState_ACTIVE                SimState = 2
    49  	SimState_SUSPENDED             SimState = 3
    50  	SimState_TERMINATED            SimState = 4
    51  )
    52  
    53  var (
    54  	SimState_name = map[int32]string{
    55  		0: "SIM_STATE_UNSPECIFIED",
    56  		1: "AVAILABLE",
    57  		2: "ACTIVE",
    58  		3: "SUSPENDED",
    59  		4: "TERMINATED",
    60  	}
    61  
    62  	SimState_value = map[string]int32{
    63  		"SIM_STATE_UNSPECIFIED": 0,
    64  		"AVAILABLE":             1,
    65  		"ACTIVE":                2,
    66  		"SUSPENDED":             3,
    67  		"TERMINATED":            4,
    68  	}
    69  )
    70  
    71  func (x SimState) Enum() *SimState {
    72  	p := new(SimState)
    73  	*p = x
    74  	return p
    75  }
    76  
    77  func (x SimState) String() string {
    78  	return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x))
    79  }
    80  
    81  func (SimState) Descriptor() preflect.EnumDescriptor {
    82  	return edgelq_cellular_api_carrier_carrier_proto_enumTypes[0].Descriptor()
    83  }
    84  
    85  func (SimState) Type() preflect.EnumType {
    86  	return &edgelq_cellular_api_carrier_carrier_proto_enumTypes[0]
    87  }
    88  
    89  func (x SimState) Number() preflect.EnumNumber {
    90  	return preflect.EnumNumber(x)
    91  }
    92  
    93  // Deprecated, Use SimState.ProtoReflect.Descriptor instead.
    94  func (SimState) EnumDescriptor() ([]byte, []int) {
    95  	return edgelq_cellular_api_carrier_carrier_proto_rawDescGZIP(), []int{0}
    96  }
    97  
    98  type SimAction int32
    99  
   100  const (
   101  	SimAction_SIM_ACTION_UNSPECIFIED SimAction = 0
   102  	SimAction_ACTIVATE               SimAction = 1
   103  	SimAction_REACTIVATE             SimAction = 2
   104  	SimAction_SUSPEND                SimAction = 3
   105  	SimAction_TERMINATE              SimAction = 4
   106  )
   107  
   108  var (
   109  	SimAction_name = map[int32]string{
   110  		0: "SIM_ACTION_UNSPECIFIED",
   111  		1: "ACTIVATE",
   112  		2: "REACTIVATE",
   113  		3: "SUSPEND",
   114  		4: "TERMINATE",
   115  	}
   116  
   117  	SimAction_value = map[string]int32{
   118  		"SIM_ACTION_UNSPECIFIED": 0,
   119  		"ACTIVATE":               1,
   120  		"REACTIVATE":             2,
   121  		"SUSPEND":                3,
   122  		"TERMINATE":              4,
   123  	}
   124  )
   125  
   126  func (x SimAction) Enum() *SimAction {
   127  	p := new(SimAction)
   128  	*p = x
   129  	return p
   130  }
   131  
   132  func (x SimAction) String() string {
   133  	return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x))
   134  }
   135  
   136  func (SimAction) Descriptor() preflect.EnumDescriptor {
   137  	return edgelq_cellular_api_carrier_carrier_proto_enumTypes[1].Descriptor()
   138  }
   139  
   140  func (SimAction) Type() preflect.EnumType {
   141  	return &edgelq_cellular_api_carrier_carrier_proto_enumTypes[1]
   142  }
   143  
   144  func (x SimAction) Number() preflect.EnumNumber {
   145  	return preflect.EnumNumber(x)
   146  }
   147  
   148  // Deprecated, Use SimAction.ProtoReflect.Descriptor instead.
   149  func (SimAction) EnumDescriptor() ([]byte, []int) {
   150  	return edgelq_cellular_api_carrier_carrier_proto_rawDescGZIP(), []int{1}
   151  }
   152  
   153  type TransatelAccount struct {
   154  	state         protoimpl.MessageState
   155  	sizeCache     protoimpl.SizeCache
   156  	unknownFields protoimpl.UnknownFields
   157  	ClientId      string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
   158  	ClientSecret  string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
   159  }
   160  
   161  func (m *TransatelAccount) Reset() {
   162  	*m = TransatelAccount{}
   163  	if protoimpl.UnsafeEnabled {
   164  		mi := &edgelq_cellular_api_carrier_carrier_proto_msgTypes[0]
   165  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   166  		ms.StoreMessageInfo(mi)
   167  	}
   168  }
   169  
   170  func (m *TransatelAccount) String() string {
   171  	return protoimpl.X.MessageStringOf(m)
   172  }
   173  
   174  func (*TransatelAccount) ProtoMessage() {}
   175  
   176  func (m *TransatelAccount) ProtoReflect() preflect.Message {
   177  	mi := &edgelq_cellular_api_carrier_carrier_proto_msgTypes[0]
   178  	if protoimpl.UnsafeEnabled && m != nil {
   179  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   180  		if ms.LoadMessageInfo() == nil {
   181  			ms.StoreMessageInfo(mi)
   182  		}
   183  		return ms
   184  	}
   185  	return mi.MessageOf(m)
   186  }
   187  
   188  func (*TransatelAccount) GotenMessage() {}
   189  
   190  // Deprecated, Use TransatelAccount.ProtoReflect.Descriptor instead.
   191  func (*TransatelAccount) Descriptor() ([]byte, []int) {
   192  	return edgelq_cellular_api_carrier_carrier_proto_rawDescGZIP(), []int{0}
   193  }
   194  
   195  func (m *TransatelAccount) Unmarshal(b []byte) error {
   196  	return proto.Unmarshal(b, m)
   197  }
   198  
   199  func (m *TransatelAccount) Marshal() ([]byte, error) {
   200  	return proto.Marshal(m)
   201  }
   202  
   203  func (m *TransatelAccount) MarshalJSON() ([]byte, error) {
   204  	return protojson.MarshalOptions{}.Marshal(m)
   205  }
   206  
   207  func (m *TransatelAccount) UnmarshalJSON(data []byte) error {
   208  	return protojson.Unmarshal(data, m)
   209  }
   210  
   211  func (m *TransatelAccount) GetClientId() string {
   212  	if m != nil {
   213  		return m.ClientId
   214  	}
   215  	return ""
   216  }
   217  
   218  func (m *TransatelAccount) GetClientSecret() string {
   219  	if m != nil {
   220  		return m.ClientSecret
   221  	}
   222  	return ""
   223  }
   224  
   225  func (m *TransatelAccount) SetClientId(fv string) {
   226  	if m == nil {
   227  		panic(fmt.Errorf("can't set %s on nil %s", "ClientId", "TransatelAccount"))
   228  	}
   229  	m.ClientId = fv
   230  }
   231  
   232  func (m *TransatelAccount) SetClientSecret(fv string) {
   233  	if m == nil {
   234  		panic(fmt.Errorf("can't set %s on nil %s", "ClientSecret", "TransatelAccount"))
   235  	}
   236  	m.ClientSecret = fv
   237  }
   238  
   239  var edgelq_cellular_api_carrier_carrier_proto preflect.FileDescriptor
   240  
   241  var edgelq_cellular_api_carrier_carrier_proto_rawDesc = []byte{
   242  	0x0a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61,
   243  	0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x2f, 0x63, 0x61,
   244  	0x72, 0x72, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x6e, 0x74, 0x74,
   245  	0x2e, 0x63, 0x65, 0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x61,
   246  	0x72, 0x72, 0x69, 0x65, 0x72, 0x22, 0x54, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x74,
   247  	0x65, 0x6c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69,
   248  	0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c,
   249  	0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
   250  	0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,
   251  	0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2a, 0x5f, 0x0a, 0x08, 0x53,
   252  	0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x49, 0x4d, 0x5f, 0x53,
   253  	0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
   254  	0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10,
   255  	0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a,
   256  	0x09, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a,
   257  	0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x44, 0x10, 0x04, 0x2a, 0x61, 0x0a, 0x09,
   258  	0x53, 0x69, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x4d,
   259  	0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   260  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54,
   261  	0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54,
   262  	0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x10, 0x03,
   263  	0x12, 0x0d, 0x0a, 0x09, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x45, 0x10, 0x04, 0x42,
   264  	0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c,
   265  	0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x65,
   266  	0x6c, 0x6c, 0x75, 0x6c, 0x61, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x61, 0x72, 0x72, 0x69,
   267  	0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   268  }
   269  
   270  var (
   271  	edgelq_cellular_api_carrier_carrier_proto_rawDescOnce sync.Once
   272  	edgelq_cellular_api_carrier_carrier_proto_rawDescData = edgelq_cellular_api_carrier_carrier_proto_rawDesc
   273  )
   274  
   275  func edgelq_cellular_api_carrier_carrier_proto_rawDescGZIP() []byte {
   276  	edgelq_cellular_api_carrier_carrier_proto_rawDescOnce.Do(func() {
   277  		edgelq_cellular_api_carrier_carrier_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_cellular_api_carrier_carrier_proto_rawDescData)
   278  	})
   279  	return edgelq_cellular_api_carrier_carrier_proto_rawDescData
   280  }
   281  
   282  var edgelq_cellular_api_carrier_carrier_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   283  var edgelq_cellular_api_carrier_carrier_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   284  var edgelq_cellular_api_carrier_carrier_proto_goTypes = []interface{}{
   285  	(SimState)(0),            // 0: ntt.cellular_api.carrier.SimState
   286  	(SimAction)(0),           // 1: ntt.cellular_api.carrier.SimAction
   287  	(*TransatelAccount)(nil), // 2: ntt.cellular_api.carrier.TransatelAccount
   288  }
   289  var edgelq_cellular_api_carrier_carrier_proto_depIdxs = []int32{
   290  	0, // [0:0] is the sub-list for method output_type
   291  	0, // [0:0] is the sub-list for method input_type
   292  	0, // [0:0] is the sub-list for extension type_name
   293  	0, // [0:0] is the sub-list for extension extendee
   294  	0, // [0:0] is the sub-list for field type_name
   295  }
   296  
   297  func init() { edgelq_cellular_api_carrier_carrier_proto_init() }
   298  func edgelq_cellular_api_carrier_carrier_proto_init() {
   299  	if edgelq_cellular_api_carrier_carrier_proto != nil {
   300  		return
   301  	}
   302  	if !protoimpl.UnsafeEnabled {
   303  
   304  		edgelq_cellular_api_carrier_carrier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   305  			switch v := v.(*TransatelAccount); i {
   306  			case 0:
   307  				return &v.state
   308  			case 1:
   309  				return &v.sizeCache
   310  			case 2:
   311  				return &v.unknownFields
   312  			default:
   313  				return nil
   314  			}
   315  		}
   316  	}
   317  
   318  	type x struct{}
   319  	out := protoimpl.TypeBuilder{
   320  		File: protoimpl.DescBuilder{
   321  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   322  			RawDescriptor: edgelq_cellular_api_carrier_carrier_proto_rawDesc,
   323  			NumEnums:      2,
   324  			NumMessages:   1,
   325  			NumExtensions: 0,
   326  			NumServices:   0,
   327  		},
   328  		GoTypes:           edgelq_cellular_api_carrier_carrier_proto_goTypes,
   329  		DependencyIndexes: edgelq_cellular_api_carrier_carrier_proto_depIdxs,
   330  		EnumInfos:         edgelq_cellular_api_carrier_carrier_proto_enumTypes,
   331  		MessageInfos:      edgelq_cellular_api_carrier_carrier_proto_msgTypes,
   332  	}.Build()
   333  	edgelq_cellular_api_carrier_carrier_proto = out.File
   334  	edgelq_cellular_api_carrier_carrier_proto_rawDesc = nil
   335  	edgelq_cellular_api_carrier_carrier_proto_goTypes = nil
   336  	edgelq_cellular_api_carrier_carrier_proto_depIdxs = nil
   337  }