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

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/limits/proto/v1/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/v1/organization"
    21  	limit_pool "github.com/cloudwan/edgelq-sdk/limits/resources/v1/limit_pool"
    22  	meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var (
    27  	_ = fmt.Errorf
    28  	_ = reflect.Method{}
    29  	_ = sync.Once{}
    30  
    31  	_ = protojson.MarshalOptions{}
    32  	_ = proto.MarshalOptions{}
    33  	_ = preflect.Value{}
    34  	_ = protoimpl.DescBuilder{}
    35  )
    36  
    37  // make sure we're using proto imports
    38  var (
    39  	_ = &iam_organization.Organization{}
    40  	_ = &limit_pool.LimitPool{}
    41  	_ = &meta_service.Service{}
    42  )
    43  
    44  const (
    45  	// Verify that this generated code is sufficiently up-to-date.
    46  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    47  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    48  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    49  )
    50  
    51  // Request message for method
    52  // [MigrateLimitPoolSource][ntt.limits.v1.MigrateLimitPoolSource]
    53  type MigrateLimitPoolSourceRequest struct {
    54  	state         protoimpl.MessageState
    55  	sizeCache     protoimpl.SizeCache
    56  	unknownFields protoimpl.UnknownFields
    57  	//  name of ntt.limits.v1.LimitPool
    58  	Name *limit_pool.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
    59  }
    60  
    61  func (m *MigrateLimitPoolSourceRequest) Reset() {
    62  	*m = MigrateLimitPoolSourceRequest{}
    63  	if protoimpl.UnsafeEnabled {
    64  		mi := &edgelq_limits_proto_v1_limit_pool_custom_proto_msgTypes[0]
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    66  		ms.StoreMessageInfo(mi)
    67  	}
    68  }
    69  
    70  func (m *MigrateLimitPoolSourceRequest) String() string {
    71  	return protoimpl.X.MessageStringOf(m)
    72  }
    73  
    74  func (*MigrateLimitPoolSourceRequest) ProtoMessage() {}
    75  
    76  func (m *MigrateLimitPoolSourceRequest) ProtoReflect() preflect.Message {
    77  	mi := &edgelq_limits_proto_v1_limit_pool_custom_proto_msgTypes[0]
    78  	if protoimpl.UnsafeEnabled && m != nil {
    79  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    80  		if ms.LoadMessageInfo() == nil {
    81  			ms.StoreMessageInfo(mi)
    82  		}
    83  		return ms
    84  	}
    85  	return mi.MessageOf(m)
    86  }
    87  
    88  func (*MigrateLimitPoolSourceRequest) GotenMessage() {}
    89  
    90  // Deprecated, Use MigrateLimitPoolSourceRequest.ProtoReflect.Descriptor instead.
    91  func (*MigrateLimitPoolSourceRequest) Descriptor() ([]byte, []int) {
    92  	return edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescGZIP(), []int{0}
    93  }
    94  
    95  func (m *MigrateLimitPoolSourceRequest) Unmarshal(b []byte) error {
    96  	return proto.Unmarshal(b, m)
    97  }
    98  
    99  func (m *MigrateLimitPoolSourceRequest) Marshal() ([]byte, error) {
   100  	return proto.Marshal(m)
   101  }
   102  
   103  func (m *MigrateLimitPoolSourceRequest) MarshalJSON() ([]byte, error) {
   104  	return protojson.MarshalOptions{}.Marshal(m)
   105  }
   106  
   107  func (m *MigrateLimitPoolSourceRequest) UnmarshalJSON(data []byte) error {
   108  	return protojson.Unmarshal(data, m)
   109  }
   110  
   111  func (m *MigrateLimitPoolSourceRequest) GetName() *limit_pool.Name {
   112  	if m != nil {
   113  		return m.Name
   114  	}
   115  	return nil
   116  }
   117  
   118  func (m *MigrateLimitPoolSourceRequest) SetName(fv *limit_pool.Name) {
   119  	if m == nil {
   120  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "MigrateLimitPoolSourceRequest"))
   121  	}
   122  	m.Name = fv
   123  }
   124  
   125  var edgelq_limits_proto_v1_limit_pool_custom_proto preflect.FileDescriptor
   126  
   127  var edgelq_limits_proto_v1_limit_pool_custom_proto_rawDesc = []byte{
   128  	0x0a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f,
   129  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x70,
   130  	0x6f, 0x6f, 0x6c, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   131  	0x12, 0x0d, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a,
   132  	0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
   133  	0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   134  	0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   135  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   136  	0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
   137  	0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   138  	0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   139  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f,
   140  	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f,
   141  	0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f,
   142  	0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   143  	0x1a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f,
   144  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x70,
   145  	0x6f, 0x6f, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   146  	0x22, 0x46, 0x0a, 0x1d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
   147  	0x50, 0x6f, 0x6f, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   148  	0x74, 0x12, 0x25, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
   149  	0x11, 0xb2, 0xda, 0x21, 0x0d, 0x0a, 0x0b, 0x0a, 0x09, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x50, 0x6f,
   150  	0x6f, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x7c, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x14,
   151  	0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70,
   152  	0x62, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x43,
   153  	0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x48, 0x67, 0x69,
   154  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61,
   155  	0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f,
   156  	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f,
   157  	0x70, 0x6f, 0x6f, 0x6c, 0x3b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f,
   158  	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   159  }
   160  
   161  var (
   162  	edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescOnce sync.Once
   163  	edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescData = edgelq_limits_proto_v1_limit_pool_custom_proto_rawDesc
   164  )
   165  
   166  func edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescGZIP() []byte {
   167  	edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescOnce.Do(func() {
   168  		edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescData)
   169  	})
   170  	return edgelq_limits_proto_v1_limit_pool_custom_proto_rawDescData
   171  }
   172  
   173  var edgelq_limits_proto_v1_limit_pool_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   174  var edgelq_limits_proto_v1_limit_pool_custom_proto_goTypes = []interface{}{
   175  	(*MigrateLimitPoolSourceRequest)(nil), // 0: ntt.limits.v1.MigrateLimitPoolSourceRequest
   176  }
   177  var edgelq_limits_proto_v1_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_v1_limit_pool_custom_proto_init() }
   186  func edgelq_limits_proto_v1_limit_pool_custom_proto_init() {
   187  	if edgelq_limits_proto_v1_limit_pool_custom_proto != nil {
   188  		return
   189  	}
   190  	if !protoimpl.UnsafeEnabled {
   191  
   192  		edgelq_limits_proto_v1_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_v1_limit_pool_custom_proto_rawDesc,
   211  			NumEnums:      0,
   212  			NumMessages:   1,
   213  			NumExtensions: 0,
   214  			NumServices:   0,
   215  		},
   216  		GoTypes:           edgelq_limits_proto_v1_limit_pool_custom_proto_goTypes,
   217  		DependencyIndexes: edgelq_limits_proto_v1_limit_pool_custom_proto_depIdxs,
   218  		MessageInfos:      edgelq_limits_proto_v1_limit_pool_custom_proto_msgTypes,
   219  	}.Build()
   220  	edgelq_limits_proto_v1_limit_pool_custom_proto = out.File
   221  	edgelq_limits_proto_v1_limit_pool_custom_proto_rawDesc = nil
   222  	edgelq_limits_proto_v1_limit_pool_custom_proto_goTypes = nil
   223  	edgelq_limits_proto_v1_limit_pool_custom_proto_depIdxs = nil
   224  }