go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/quota/quotapb/update-accounts.pb.go (about)

     1  // Copyright 2022 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // versions:
     7  // 	protoc-gen-go v1.31.0
     8  // 	protoc        v3.21.7
     9  // source: go.chromium.org/luci/server/quota/quotapb/update-accounts.proto
    10  
    11  package quotapb
    12  
    13  import (
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	durationpb "google.golang.org/protobuf/types/known/durationpb"
    17  	reflect "reflect"
    18  	sync "sync"
    19  )
    20  
    21  const (
    22  	// Verify that this generated code is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    24  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    25  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    26  )
    27  
    28  // UpdateAccountsInput is the message that the Go library will use to invoke
    29  // update-accounts.lua.
    30  //
    31  // See ApplyOpsRequest for `request_id` and `request_id_ttl` fields.
    32  //
    33  // Validation rules are omitted from this because lua doesn't use them, and Go
    34  // will never read this message.
    35  type UpdateAccountsInput struct {
    36  	state         protoimpl.MessageState
    37  	sizeCache     protoimpl.SizeCache
    38  	unknownFields protoimpl.UnknownFields
    39  
    40  	// request_key is a serialized RequestDedupKey.
    41  	RequestKey string `protobuf:"bytes,1,opt,name=request_key,json=requestKey,proto3" json:"request_key,omitempty"`
    42  	// Required if request_key is set.
    43  	RequestKeyTtl *durationpb.Duration `protobuf:"bytes,2,opt,name=request_key_ttl,json=requestKeyTtl,proto3" json:"request_key_ttl,omitempty"`
    44  	// Version scheme indicates which algorithm was used to calculate `version`.
    45  	//
    46  	// The value `0` indicates that `version` was provided by the user.
    47  	//
    48  	// Currently the ONLY ops_hash_scheme supported is `1`.
    49  	//
    50  	// If, in the future, more hash schemes are added, because request
    51  	// deduplication entries are transient, we do the following:
    52  	// If a request comes in, and req.ops_hash_scheme != self.ops_hash_scheme,
    53  	// return the cached response as if ops_hash matches.
    54  	//
    55  	// Note that the upshot of this is that requests with the same request_id, but
    56  	// differing contents, will be incorrectly served with an OK response when
    57  	// upgrading the hash_scheme.
    58  	HashScheme uint32 `protobuf:"varint,3,opt,name=hash_scheme,json=hashScheme,proto3" json:"hash_scheme,omitempty"`
    59  	// A hash calculated by the Go library of the following fields in
    60  	// a deterministic way, according to req_hash_scheme:
    61  	//   - ops
    62  	//
    63  	// This is saved for the deduplication entry and expected to match.
    64  	Hash string   `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
    65  	Ops  []*RawOp `protobuf:"bytes,5,rep,name=ops,proto3" json:"ops,omitempty"`
    66  }
    67  
    68  func (x *UpdateAccountsInput) Reset() {
    69  	*x = UpdateAccountsInput{}
    70  	if protoimpl.UnsafeEnabled {
    71  		mi := &file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes[0]
    72  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    73  		ms.StoreMessageInfo(mi)
    74  	}
    75  }
    76  
    77  func (x *UpdateAccountsInput) String() string {
    78  	return protoimpl.X.MessageStringOf(x)
    79  }
    80  
    81  func (*UpdateAccountsInput) ProtoMessage() {}
    82  
    83  func (x *UpdateAccountsInput) ProtoReflect() protoreflect.Message {
    84  	mi := &file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes[0]
    85  	if protoimpl.UnsafeEnabled && x != nil {
    86  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    87  		if ms.LoadMessageInfo() == nil {
    88  			ms.StoreMessageInfo(mi)
    89  		}
    90  		return ms
    91  	}
    92  	return mi.MessageOf(x)
    93  }
    94  
    95  // Deprecated: Use UpdateAccountsInput.ProtoReflect.Descriptor instead.
    96  func (*UpdateAccountsInput) Descriptor() ([]byte, []int) {
    97  	return file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescGZIP(), []int{0}
    98  }
    99  
   100  func (x *UpdateAccountsInput) GetRequestKey() string {
   101  	if x != nil {
   102  		return x.RequestKey
   103  	}
   104  	return ""
   105  }
   106  
   107  func (x *UpdateAccountsInput) GetRequestKeyTtl() *durationpb.Duration {
   108  	if x != nil {
   109  		return x.RequestKeyTtl
   110  	}
   111  	return nil
   112  }
   113  
   114  func (x *UpdateAccountsInput) GetHashScheme() uint32 {
   115  	if x != nil {
   116  		return x.HashScheme
   117  	}
   118  	return 0
   119  }
   120  
   121  func (x *UpdateAccountsInput) GetHash() string {
   122  	if x != nil {
   123  		return x.Hash
   124  	}
   125  	return ""
   126  }
   127  
   128  func (x *UpdateAccountsInput) GetOps() []*RawOp {
   129  	if x != nil {
   130  		return x.Ops
   131  	}
   132  	return nil
   133  }
   134  
   135  type RawOp struct {
   136  	state         protoimpl.MessageState
   137  	sizeCache     protoimpl.SizeCache
   138  	unknownFields protoimpl.UnknownFields
   139  
   140  	AccountRef string `protobuf:"bytes,1,opt,name=account_ref,json=accountRef,proto3" json:"account_ref,omitempty"`
   141  	// policy_id of {"", ""} means "remove policy"
   142  	PolicyRef  *PolicyRef    `protobuf:"bytes,2,opt,name=policy_ref,json=policyRef,proto3" json:"policy_ref,omitempty"`
   143  	RelativeTo Op_RelativeTo `protobuf:"varint,3,opt,name=relative_to,json=relativeTo,proto3,enum=go.chromium.org.luci.server.quota.quotapb.Op_RelativeTo" json:"relative_to,omitempty"`
   144  	Delta      int64         `protobuf:"varint,4,opt,name=delta,proto3" json:"delta,omitempty"`
   145  	Options    uint32        `protobuf:"varint,5,opt,name=options,proto3" json:"options,omitempty"`
   146  }
   147  
   148  func (x *RawOp) Reset() {
   149  	*x = RawOp{}
   150  	if protoimpl.UnsafeEnabled {
   151  		mi := &file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes[1]
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		ms.StoreMessageInfo(mi)
   154  	}
   155  }
   156  
   157  func (x *RawOp) String() string {
   158  	return protoimpl.X.MessageStringOf(x)
   159  }
   160  
   161  func (*RawOp) ProtoMessage() {}
   162  
   163  func (x *RawOp) ProtoReflect() protoreflect.Message {
   164  	mi := &file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes[1]
   165  	if protoimpl.UnsafeEnabled && x != nil {
   166  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   167  		if ms.LoadMessageInfo() == nil {
   168  			ms.StoreMessageInfo(mi)
   169  		}
   170  		return ms
   171  	}
   172  	return mi.MessageOf(x)
   173  }
   174  
   175  // Deprecated: Use RawOp.ProtoReflect.Descriptor instead.
   176  func (*RawOp) Descriptor() ([]byte, []int) {
   177  	return file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescGZIP(), []int{1}
   178  }
   179  
   180  func (x *RawOp) GetAccountRef() string {
   181  	if x != nil {
   182  		return x.AccountRef
   183  	}
   184  	return ""
   185  }
   186  
   187  func (x *RawOp) GetPolicyRef() *PolicyRef {
   188  	if x != nil {
   189  		return x.PolicyRef
   190  	}
   191  	return nil
   192  }
   193  
   194  func (x *RawOp) GetRelativeTo() Op_RelativeTo {
   195  	if x != nil {
   196  		return x.RelativeTo
   197  	}
   198  	return Op_CURRENT_BALANCE
   199  }
   200  
   201  func (x *RawOp) GetDelta() int64 {
   202  	if x != nil {
   203  		return x.Delta
   204  	}
   205  	return 0
   206  }
   207  
   208  func (x *RawOp) GetOptions() uint32 {
   209  	if x != nil {
   210  		return x.Options
   211  	}
   212  	return 0
   213  }
   214  
   215  var File_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto protoreflect.FileDescriptor
   216  
   217  var file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDesc = []byte{
   218  	0x0a, 0x3f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   219  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x71, 0x75,
   220  	0x6f, 0x74, 0x61, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x2f, 0x75, 0x70, 0x64, 0x61,
   221  	0x74, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   222  	0x6f, 0x12, 0x29, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f,
   223  	0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x71,
   224  	0x75, 0x6f, 0x74, 0x61, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x1a, 0x1e, 0x67, 0x6f,
   225  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75,
   226  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f,
   227  	0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75,
   228  	0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f,
   229  	0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x2f, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   230  	0x1a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   231  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x71, 0x75,
   232  	0x6f, 0x74, 0x61, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x2f, 0x69, 0x64, 0x73, 0x2e,
   233  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
   234  	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x1f, 0x0a,
   235  	0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
   236  	0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x41,
   237  	0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x74,
   238  	0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   239  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
   240  	0x6f, 0x6e, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x54, 0x74,
   241  	0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65,
   242  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x53, 0x63, 0x68, 0x65,
   243  	0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
   244  	0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x42, 0x0a, 0x03, 0x6f, 0x70, 0x73, 0x18, 0x05, 0x20,
   245  	0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
   246  	0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65,
   247  	0x72, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x2e,
   248  	0x52, 0x61, 0x77, 0x4f, 0x70, 0x52, 0x03, 0x6f, 0x70, 0x73, 0x22, 0x88, 0x02, 0x0a, 0x05, 0x52,
   249  	0x61, 0x77, 0x4f, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
   250  	0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75,
   251  	0x6e, 0x74, 0x52, 0x65, 0x66, 0x12, 0x53, 0x0a, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f,
   252  	0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x2e, 0x63,
   253  	0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69,
   254  	0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x71, 0x75,
   255  	0x6f, 0x74, 0x61, 0x70, 0x62, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x66, 0x52,
   256  	0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x66, 0x12, 0x59, 0x0a, 0x0b, 0x72, 0x65,
   257  	0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
   258  	0x38, 0x2e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   259  	0x67, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x71, 0x75,
   260  	0x6f, 0x74, 0x61, 0x2e, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x70, 0x62, 0x2e, 0x4f, 0x70, 0x2e, 0x52,
   261  	0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x52, 0x0a, 0x72, 0x65, 0x6c, 0x61, 0x74,
   262  	0x69, 0x76, 0x65, 0x54, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x04,
   263  	0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6f,
   264  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x70,
   265  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f,
   266  	0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65,
   267  	0x72, 0x76, 0x65, 0x72, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x71, 0x75, 0x6f, 0x74, 0x61,
   268  	0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   269  }
   270  
   271  var (
   272  	file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescOnce sync.Once
   273  	file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescData = file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDesc
   274  )
   275  
   276  func file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescGZIP() []byte {
   277  	file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescOnce.Do(func() {
   278  		file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescData)
   279  	})
   280  	return file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDescData
   281  }
   282  
   283  var file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   284  var file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_goTypes = []interface{}{
   285  	(*UpdateAccountsInput)(nil), // 0: go.chromium.org.luci.server.quota.quotapb.UpdateAccountsInput
   286  	(*RawOp)(nil),               // 1: go.chromium.org.luci.server.quota.quotapb.RawOp
   287  	(*durationpb.Duration)(nil), // 2: google.protobuf.Duration
   288  	(*PolicyRef)(nil),           // 3: go.chromium.org.luci.server.quota.quotapb.PolicyRef
   289  	(Op_RelativeTo)(0),          // 4: go.chromium.org.luci.server.quota.quotapb.Op.RelativeTo
   290  }
   291  var file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_depIdxs = []int32{
   292  	2, // 0: go.chromium.org.luci.server.quota.quotapb.UpdateAccountsInput.request_key_ttl:type_name -> google.protobuf.Duration
   293  	1, // 1: go.chromium.org.luci.server.quota.quotapb.UpdateAccountsInput.ops:type_name -> go.chromium.org.luci.server.quota.quotapb.RawOp
   294  	3, // 2: go.chromium.org.luci.server.quota.quotapb.RawOp.policy_ref:type_name -> go.chromium.org.luci.server.quota.quotapb.PolicyRef
   295  	4, // 3: go.chromium.org.luci.server.quota.quotapb.RawOp.relative_to:type_name -> go.chromium.org.luci.server.quota.quotapb.Op.RelativeTo
   296  	4, // [4:4] is the sub-list for method output_type
   297  	4, // [4:4] is the sub-list for method input_type
   298  	4, // [4:4] is the sub-list for extension type_name
   299  	4, // [4:4] is the sub-list for extension extendee
   300  	0, // [0:4] is the sub-list for field type_name
   301  }
   302  
   303  func init() { file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_init() }
   304  func file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_init() {
   305  	if File_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto != nil {
   306  		return
   307  	}
   308  	file_go_chromium_org_luci_server_quota_quotapb_op_proto_init()
   309  	file_go_chromium_org_luci_server_quota_quotapb_ids_proto_init()
   310  	if !protoimpl.UnsafeEnabled {
   311  		file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   312  			switch v := v.(*UpdateAccountsInput); i {
   313  			case 0:
   314  				return &v.state
   315  			case 1:
   316  				return &v.sizeCache
   317  			case 2:
   318  				return &v.unknownFields
   319  			default:
   320  				return nil
   321  			}
   322  		}
   323  		file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   324  			switch v := v.(*RawOp); i {
   325  			case 0:
   326  				return &v.state
   327  			case 1:
   328  				return &v.sizeCache
   329  			case 2:
   330  				return &v.unknownFields
   331  			default:
   332  				return nil
   333  			}
   334  		}
   335  	}
   336  	type x struct{}
   337  	out := protoimpl.TypeBuilder{
   338  		File: protoimpl.DescBuilder{
   339  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   340  			RawDescriptor: file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDesc,
   341  			NumEnums:      0,
   342  			NumMessages:   2,
   343  			NumExtensions: 0,
   344  			NumServices:   0,
   345  		},
   346  		GoTypes:           file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_goTypes,
   347  		DependencyIndexes: file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_depIdxs,
   348  		MessageInfos:      file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_msgTypes,
   349  	}.Build()
   350  	File_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto = out.File
   351  	file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_rawDesc = nil
   352  	file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_goTypes = nil
   353  	file_go_chromium_org_luci_server_quota_quotapb_update_accounts_proto_depIdxs = nil
   354  }