github.com/cloudwan/edgelq-sdk@v1.15.4/limits/client/v1/limit/limit_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/limits/proto/v1/limit_custom.proto 3 // DO NOT EDIT!!! 4 5 package limit_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 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 21 limit "github.com/cloudwan/edgelq-sdk/limits/resources/v1/limit" 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 _ = &iam_project.Project{} 39 _ = &limit.Limit{} 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 // Request message for method 50 // [MigrateLimitSource][ntt.limits.v1.MigrateLimitSource] 51 type MigrateLimitSourceRequest struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 // name of ntt.limits.v1.Limit 56 Name *limit.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 57 } 58 59 func (m *MigrateLimitSourceRequest) Reset() { 60 *m = MigrateLimitSourceRequest{} 61 if protoimpl.UnsafeEnabled { 62 mi := &edgelq_limits_proto_v1_limit_custom_proto_msgTypes[0] 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 64 ms.StoreMessageInfo(mi) 65 } 66 } 67 68 func (m *MigrateLimitSourceRequest) String() string { 69 return protoimpl.X.MessageStringOf(m) 70 } 71 72 func (*MigrateLimitSourceRequest) ProtoMessage() {} 73 74 func (m *MigrateLimitSourceRequest) ProtoReflect() preflect.Message { 75 mi := &edgelq_limits_proto_v1_limit_custom_proto_msgTypes[0] 76 if protoimpl.UnsafeEnabled && m != nil { 77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 78 if ms.LoadMessageInfo() == nil { 79 ms.StoreMessageInfo(mi) 80 } 81 return ms 82 } 83 return mi.MessageOf(m) 84 } 85 86 func (*MigrateLimitSourceRequest) GotenMessage() {} 87 88 // Deprecated, Use MigrateLimitSourceRequest.ProtoReflect.Descriptor instead. 89 func (*MigrateLimitSourceRequest) Descriptor() ([]byte, []int) { 90 return edgelq_limits_proto_v1_limit_custom_proto_rawDescGZIP(), []int{0} 91 } 92 93 func (m *MigrateLimitSourceRequest) Unmarshal(b []byte) error { 94 return proto.Unmarshal(b, m) 95 } 96 97 func (m *MigrateLimitSourceRequest) Marshal() ([]byte, error) { 98 return proto.Marshal(m) 99 } 100 101 func (m *MigrateLimitSourceRequest) MarshalJSON() ([]byte, error) { 102 return protojson.MarshalOptions{}.Marshal(m) 103 } 104 105 func (m *MigrateLimitSourceRequest) UnmarshalJSON(data []byte) error { 106 return protojson.Unmarshal(data, m) 107 } 108 109 func (m *MigrateLimitSourceRequest) GetName() *limit.Name { 110 if m != nil { 111 return m.Name 112 } 113 return nil 114 } 115 116 func (m *MigrateLimitSourceRequest) SetName(fv *limit.Name) { 117 if m == nil { 118 panic(fmt.Errorf("can't set %s on nil %s", "Name", "MigrateLimitSourceRequest")) 119 } 120 m.Name = fv 121 } 122 123 var edgelq_limits_proto_v1_limit_custom_proto preflect.FileDescriptor 124 125 var edgelq_limits_proto_v1_limit_custom_proto_rawDesc = []byte{ 126 0x0a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 127 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 128 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6e, 0x74, 0x74, 129 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 130 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 131 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 132 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 133 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 134 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 135 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 136 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 137 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 138 0x74, 0x6f, 0x1a, 0x22, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 139 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 140 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 141 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 142 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 143 0x6f, 0x22, 0x3e, 0x0a, 0x19, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 144 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 145 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 146 0x21, 0x09, 0x0a, 0x07, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 147 0x65, 0x42, 0x6e, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 148 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x4c, 149 0x69, 0x6d, 0x69, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 150 0x00, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 151 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 152 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 153 0x69, 0x6d, 0x69, 0x74, 0x3b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 154 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 155 } 156 157 var ( 158 edgelq_limits_proto_v1_limit_custom_proto_rawDescOnce sync.Once 159 edgelq_limits_proto_v1_limit_custom_proto_rawDescData = edgelq_limits_proto_v1_limit_custom_proto_rawDesc 160 ) 161 162 func edgelq_limits_proto_v1_limit_custom_proto_rawDescGZIP() []byte { 163 edgelq_limits_proto_v1_limit_custom_proto_rawDescOnce.Do(func() { 164 edgelq_limits_proto_v1_limit_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1_limit_custom_proto_rawDescData) 165 }) 166 return edgelq_limits_proto_v1_limit_custom_proto_rawDescData 167 } 168 169 var edgelq_limits_proto_v1_limit_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 170 var edgelq_limits_proto_v1_limit_custom_proto_goTypes = []interface{}{ 171 (*MigrateLimitSourceRequest)(nil), // 0: ntt.limits.v1.MigrateLimitSourceRequest 172 } 173 var edgelq_limits_proto_v1_limit_custom_proto_depIdxs = []int32{ 174 0, // [0:0] is the sub-list for method output_type 175 0, // [0:0] is the sub-list for method input_type 176 0, // [0:0] is the sub-list for extension type_name 177 0, // [0:0] is the sub-list for extension extendee 178 0, // [0:0] is the sub-list for field type_name 179 } 180 181 func init() { edgelq_limits_proto_v1_limit_custom_proto_init() } 182 func edgelq_limits_proto_v1_limit_custom_proto_init() { 183 if edgelq_limits_proto_v1_limit_custom_proto != nil { 184 return 185 } 186 if !protoimpl.UnsafeEnabled { 187 188 edgelq_limits_proto_v1_limit_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 189 switch v := v.(*MigrateLimitSourceRequest); i { 190 case 0: 191 return &v.state 192 case 1: 193 return &v.sizeCache 194 case 2: 195 return &v.unknownFields 196 default: 197 return nil 198 } 199 } 200 } 201 202 type x struct{} 203 out := protoimpl.TypeBuilder{ 204 File: protoimpl.DescBuilder{ 205 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 206 RawDescriptor: edgelq_limits_proto_v1_limit_custom_proto_rawDesc, 207 NumEnums: 0, 208 NumMessages: 1, 209 NumExtensions: 0, 210 NumServices: 0, 211 }, 212 GoTypes: edgelq_limits_proto_v1_limit_custom_proto_goTypes, 213 DependencyIndexes: edgelq_limits_proto_v1_limit_custom_proto_depIdxs, 214 MessageInfos: edgelq_limits_proto_v1_limit_custom_proto_msgTypes, 215 }.Build() 216 edgelq_limits_proto_v1_limit_custom_proto = out.File 217 edgelq_limits_proto_v1_limit_custom_proto_rawDesc = nil 218 edgelq_limits_proto_v1_limit_custom_proto_goTypes = nil 219 edgelq_limits_proto_v1_limit_custom_proto_depIdxs = nil 220 }