github.com/cloudwan/edgelq-sdk@v1.15.4/limits/client/v1alpha2/limit/limit_custom.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/limits/proto/v1alpha2/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/v1alpha2/project"
    21  	limit "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/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.v1alpha2.MigrateLimitSource]
    51  type MigrateLimitSourceRequest struct {
    52  	state         protoimpl.MessageState
    53  	sizeCache     protoimpl.SizeCache
    54  	unknownFields protoimpl.UnknownFields
    55  	// name of ntt.limits.v1alpha2.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_v1alpha2_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_v1alpha2_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_v1alpha2_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_v1alpha2_limit_custom_proto preflect.FileDescriptor
   124  
   125  var edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDesc = []byte{
   126  	0x0a, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f,
   127  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6c,
   128  	0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   129  	0x6f, 0x12, 0x13, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31,
   130  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e,
   131  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
   132  	0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f,
   133  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65,
   134  	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f,
   135  	0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   136  	0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c,
   137  	0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
   138  	0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   139  	0x28, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70,
   140  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6c, 0x69,
   141  	0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c,
   142  	0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76,
   143  	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x68,
   144  	0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x19, 0x4d, 0x69,
   145  	0x67, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
   146  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   147  	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x0a, 0x07, 0x0a, 0x05, 0x4c,
   148  	0x69, 0x6d, 0x69, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x76, 0x0a, 0x1a, 0x63, 0x6f,
   149  	0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x62, 0x2e,
   150  	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x10, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43,
   151  	0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x44, 0x67, 0x69,
   152  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61,
   153  	0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f,
   154  	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f,
   155  	0x6c, 0x69, 0x6d, 0x69, 0x74, 0x3b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65,
   156  	0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   157  }
   158  
   159  var (
   160  	edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescOnce sync.Once
   161  	edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescData = edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDesc
   162  )
   163  
   164  func edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescGZIP() []byte {
   165  	edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescOnce.Do(func() {
   166  		edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescData)
   167  	})
   168  	return edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDescData
   169  }
   170  
   171  var edgelq_limits_proto_v1alpha2_limit_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   172  var edgelq_limits_proto_v1alpha2_limit_custom_proto_goTypes = []interface{}{
   173  	(*MigrateLimitSourceRequest)(nil), // 0: ntt.limits.v1alpha2.MigrateLimitSourceRequest
   174  }
   175  var edgelq_limits_proto_v1alpha2_limit_custom_proto_depIdxs = []int32{
   176  	0, // [0:0] is the sub-list for method output_type
   177  	0, // [0:0] is the sub-list for method input_type
   178  	0, // [0:0] is the sub-list for extension type_name
   179  	0, // [0:0] is the sub-list for extension extendee
   180  	0, // [0:0] is the sub-list for field type_name
   181  }
   182  
   183  func init() { edgelq_limits_proto_v1alpha2_limit_custom_proto_init() }
   184  func edgelq_limits_proto_v1alpha2_limit_custom_proto_init() {
   185  	if edgelq_limits_proto_v1alpha2_limit_custom_proto != nil {
   186  		return
   187  	}
   188  	if !protoimpl.UnsafeEnabled {
   189  
   190  		edgelq_limits_proto_v1alpha2_limit_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   191  			switch v := v.(*MigrateLimitSourceRequest); i {
   192  			case 0:
   193  				return &v.state
   194  			case 1:
   195  				return &v.sizeCache
   196  			case 2:
   197  				return &v.unknownFields
   198  			default:
   199  				return nil
   200  			}
   201  		}
   202  	}
   203  
   204  	type x struct{}
   205  	out := protoimpl.TypeBuilder{
   206  		File: protoimpl.DescBuilder{
   207  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   208  			RawDescriptor: edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDesc,
   209  			NumEnums:      0,
   210  			NumMessages:   1,
   211  			NumExtensions: 0,
   212  			NumServices:   0,
   213  		},
   214  		GoTypes:           edgelq_limits_proto_v1alpha2_limit_custom_proto_goTypes,
   215  		DependencyIndexes: edgelq_limits_proto_v1alpha2_limit_custom_proto_depIdxs,
   216  		MessageInfos:      edgelq_limits_proto_v1alpha2_limit_custom_proto_msgTypes,
   217  	}.Build()
   218  	edgelq_limits_proto_v1alpha2_limit_custom_proto = out.File
   219  	edgelq_limits_proto_v1alpha2_limit_custom_proto_rawDesc = nil
   220  	edgelq_limits_proto_v1alpha2_limit_custom_proto_goTypes = nil
   221  	edgelq_limits_proto_v1alpha2_limit_custom_proto_depIdxs = nil
   222  }