github.com/cloudwan/edgelq-sdk@v1.15.4/limits/client/v1/plan_assignment/plan_assignment_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/limits/proto/v1/plan_assignment_custom.proto 3 // DO NOT EDIT!!! 4 5 package plan_assignment_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 plan_assignment "github.com/cloudwan/edgelq-sdk/limits/resources/v1/plan_assignment" 21 ) 22 23 // Reference imports to suppress errors if they are not otherwise used. 24 var ( 25 _ = fmt.Errorf 26 _ = reflect.Method{} 27 _ = sync.Once{} 28 29 _ = protojson.MarshalOptions{} 30 _ = proto.MarshalOptions{} 31 _ = preflect.Value{} 32 _ = protoimpl.DescBuilder{} 33 ) 34 35 // make sure we're using proto imports 36 var ( 37 _ = &plan_assignment.PlanAssignment{} 38 ) 39 40 const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45 ) 46 47 // Request message for method 48 // [MigratePlanAssignment][ntt.limits.v1.MigratePlanAssignment] 49 type MigratePlanAssignmentRequest struct { 50 state protoimpl.MessageState 51 sizeCache protoimpl.SizeCache 52 unknownFields protoimpl.UnknownFields 53 // PlanAssignment resource body 54 PlanAssignment *plan_assignment.PlanAssignment `protobuf:"bytes,2,opt,name=plan_assignment,json=planAssignment,proto3" json:"plan_assignment,omitempty"` 55 } 56 57 func (m *MigratePlanAssignmentRequest) Reset() { 58 *m = MigratePlanAssignmentRequest{} 59 if protoimpl.UnsafeEnabled { 60 mi := &edgelq_limits_proto_v1_plan_assignment_custom_proto_msgTypes[0] 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 62 ms.StoreMessageInfo(mi) 63 } 64 } 65 66 func (m *MigratePlanAssignmentRequest) String() string { 67 return protoimpl.X.MessageStringOf(m) 68 } 69 70 func (*MigratePlanAssignmentRequest) ProtoMessage() {} 71 72 func (m *MigratePlanAssignmentRequest) ProtoReflect() preflect.Message { 73 mi := &edgelq_limits_proto_v1_plan_assignment_custom_proto_msgTypes[0] 74 if protoimpl.UnsafeEnabled && m != nil { 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 76 if ms.LoadMessageInfo() == nil { 77 ms.StoreMessageInfo(mi) 78 } 79 return ms 80 } 81 return mi.MessageOf(m) 82 } 83 84 func (*MigratePlanAssignmentRequest) GotenMessage() {} 85 86 // Deprecated, Use MigratePlanAssignmentRequest.ProtoReflect.Descriptor instead. 87 func (*MigratePlanAssignmentRequest) Descriptor() ([]byte, []int) { 88 return edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescGZIP(), []int{0} 89 } 90 91 func (m *MigratePlanAssignmentRequest) Unmarshal(b []byte) error { 92 return proto.Unmarshal(b, m) 93 } 94 95 func (m *MigratePlanAssignmentRequest) Marshal() ([]byte, error) { 96 return proto.Marshal(m) 97 } 98 99 func (m *MigratePlanAssignmentRequest) MarshalJSON() ([]byte, error) { 100 return protojson.MarshalOptions{}.Marshal(m) 101 } 102 103 func (m *MigratePlanAssignmentRequest) UnmarshalJSON(data []byte) error { 104 return protojson.Unmarshal(data, m) 105 } 106 107 func (m *MigratePlanAssignmentRequest) GetPlanAssignment() *plan_assignment.PlanAssignment { 108 if m != nil { 109 return m.PlanAssignment 110 } 111 return nil 112 } 113 114 func (m *MigratePlanAssignmentRequest) SetPlanAssignment(fv *plan_assignment.PlanAssignment) { 115 if m == nil { 116 panic(fmt.Errorf("can't set %s on nil %s", "PlanAssignment", "MigratePlanAssignmentRequest")) 117 } 118 m.PlanAssignment = fv 119 } 120 121 var edgelq_limits_proto_v1_plan_assignment_custom_proto preflect.FileDescriptor 122 123 var edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDesc = []byte{ 124 0x0a, 0x33, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 125 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 126 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 127 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 128 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 129 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 130 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 131 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 132 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 133 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 134 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 135 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 136 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 137 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 138 0x63, 0x6c, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x64, 0x67, 0x65, 0x6c, 139 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 140 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 141 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 142 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 143 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 144 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x1c, 145 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 146 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x0f, 147 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 148 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 149 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 150 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x0c, 0xc8, 0xd5, 0x22, 0x01, 0xca, 0xc6, 0x27, 0x04, 0x62, 0x02, 151 0x08, 0x01, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 152 0x6e, 0x74, 0x42, 0x8b, 0x01, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 153 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 154 0x19, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 155 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x52, 0x67, 0x69, 156 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 157 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 158 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 159 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x3b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 160 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 161 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 162 } 163 164 var ( 165 edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescOnce sync.Once 166 edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescData = edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDesc 167 ) 168 169 func edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescGZIP() []byte { 170 edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescOnce.Do(func() { 171 edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescData) 172 }) 173 return edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDescData 174 } 175 176 var edgelq_limits_proto_v1_plan_assignment_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 177 var edgelq_limits_proto_v1_plan_assignment_custom_proto_goTypes = []interface{}{ 178 (*MigratePlanAssignmentRequest)(nil), // 0: ntt.limits.v1.MigratePlanAssignmentRequest 179 (*plan_assignment.PlanAssignment)(nil), // 1: ntt.limits.v1.PlanAssignment 180 } 181 var edgelq_limits_proto_v1_plan_assignment_custom_proto_depIdxs = []int32{ 182 1, // 0: ntt.limits.v1.MigratePlanAssignmentRequest.plan_assignment:type_name -> ntt.limits.v1.PlanAssignment 183 1, // [1:1] is the sub-list for method output_type 184 1, // [1:1] is the sub-list for method input_type 185 1, // [1:1] is the sub-list for extension type_name 186 1, // [1:1] is the sub-list for extension extendee 187 0, // [0:1] is the sub-list for field type_name 188 } 189 190 func init() { edgelq_limits_proto_v1_plan_assignment_custom_proto_init() } 191 func edgelq_limits_proto_v1_plan_assignment_custom_proto_init() { 192 if edgelq_limits_proto_v1_plan_assignment_custom_proto != nil { 193 return 194 } 195 if !protoimpl.UnsafeEnabled { 196 197 edgelq_limits_proto_v1_plan_assignment_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 198 switch v := v.(*MigratePlanAssignmentRequest); i { 199 case 0: 200 return &v.state 201 case 1: 202 return &v.sizeCache 203 case 2: 204 return &v.unknownFields 205 default: 206 return nil 207 } 208 } 209 } 210 211 type x struct{} 212 out := protoimpl.TypeBuilder{ 213 File: protoimpl.DescBuilder{ 214 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 215 RawDescriptor: edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDesc, 216 NumEnums: 0, 217 NumMessages: 1, 218 NumExtensions: 0, 219 NumServices: 0, 220 }, 221 GoTypes: edgelq_limits_proto_v1_plan_assignment_custom_proto_goTypes, 222 DependencyIndexes: edgelq_limits_proto_v1_plan_assignment_custom_proto_depIdxs, 223 MessageInfos: edgelq_limits_proto_v1_plan_assignment_custom_proto_msgTypes, 224 }.Build() 225 edgelq_limits_proto_v1_plan_assignment_custom_proto = out.File 226 edgelq_limits_proto_v1_plan_assignment_custom_proto_rawDesc = nil 227 edgelq_limits_proto_v1_plan_assignment_custom_proto_goTypes = nil 228 edgelq_limits_proto_v1_plan_assignment_custom_proto_depIdxs = nil 229 }