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

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