go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/auth_service/api/internalspb/internals.pb.go (about)

     1  // Copyright 2021 The LUCI Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/auth_service/api/internalspb/internals.proto
    20  
    21  package internalspb
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  type RefreshXSRFTokenRequest struct {
    38  	state         protoimpl.MessageState
    39  	sizeCache     protoimpl.SizeCache
    40  	unknownFields protoimpl.UnknownFields
    41  
    42  	XsrfToken string `protobuf:"bytes,1,opt,name=xsrf_token,json=xsrfToken,proto3" json:"xsrf_token,omitempty"`
    43  }
    44  
    45  func (x *RefreshXSRFTokenRequest) Reset() {
    46  	*x = RefreshXSRFTokenRequest{}
    47  	if protoimpl.UnsafeEnabled {
    48  		mi := &file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes[0]
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		ms.StoreMessageInfo(mi)
    51  	}
    52  }
    53  
    54  func (x *RefreshXSRFTokenRequest) String() string {
    55  	return protoimpl.X.MessageStringOf(x)
    56  }
    57  
    58  func (*RefreshXSRFTokenRequest) ProtoMessage() {}
    59  
    60  func (x *RefreshXSRFTokenRequest) ProtoReflect() protoreflect.Message {
    61  	mi := &file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes[0]
    62  	if protoimpl.UnsafeEnabled && x != nil {
    63  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    64  		if ms.LoadMessageInfo() == nil {
    65  			ms.StoreMessageInfo(mi)
    66  		}
    67  		return ms
    68  	}
    69  	return mi.MessageOf(x)
    70  }
    71  
    72  // Deprecated: Use RefreshXSRFTokenRequest.ProtoReflect.Descriptor instead.
    73  func (*RefreshXSRFTokenRequest) Descriptor() ([]byte, []int) {
    74  	return file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescGZIP(), []int{0}
    75  }
    76  
    77  func (x *RefreshXSRFTokenRequest) GetXsrfToken() string {
    78  	if x != nil {
    79  		return x.XsrfToken
    80  	}
    81  	return ""
    82  }
    83  
    84  type XSRFToken struct {
    85  	state         protoimpl.MessageState
    86  	sizeCache     protoimpl.SizeCache
    87  	unknownFields protoimpl.UnknownFields
    88  
    89  	XsrfToken string `protobuf:"bytes,1,opt,name=xsrf_token,json=xsrfToken,proto3" json:"xsrf_token,omitempty"`
    90  }
    91  
    92  func (x *XSRFToken) Reset() {
    93  	*x = XSRFToken{}
    94  	if protoimpl.UnsafeEnabled {
    95  		mi := &file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes[1]
    96  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    97  		ms.StoreMessageInfo(mi)
    98  	}
    99  }
   100  
   101  func (x *XSRFToken) String() string {
   102  	return protoimpl.X.MessageStringOf(x)
   103  }
   104  
   105  func (*XSRFToken) ProtoMessage() {}
   106  
   107  func (x *XSRFToken) ProtoReflect() protoreflect.Message {
   108  	mi := &file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes[1]
   109  	if protoimpl.UnsafeEnabled && x != nil {
   110  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   111  		if ms.LoadMessageInfo() == nil {
   112  			ms.StoreMessageInfo(mi)
   113  		}
   114  		return ms
   115  	}
   116  	return mi.MessageOf(x)
   117  }
   118  
   119  // Deprecated: Use XSRFToken.ProtoReflect.Descriptor instead.
   120  func (*XSRFToken) Descriptor() ([]byte, []int) {
   121  	return file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescGZIP(), []int{1}
   122  }
   123  
   124  func (x *XSRFToken) GetXsrfToken() string {
   125  	if x != nil {
   126  		return x.XsrfToken
   127  	}
   128  	return ""
   129  }
   130  
   131  var File_go_chromium_org_luci_auth_service_api_internalspb_internals_proto protoreflect.FileDescriptor
   132  
   133  var file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDesc = []byte{
   134  	0x0a, 0x41, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   135  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76,
   136  	0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
   137  	0x73, 0x70, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72,
   138  	0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   139  	0x61, 0x6c, 0x73, 0x22, 0x38, 0x0a, 0x17, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x58, 0x53,
   140  	0x52, 0x46, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
   141  	0x0a, 0x0a, 0x78, 0x73, 0x72, 0x66, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
   142  	0x28, 0x09, 0x52, 0x09, 0x78, 0x73, 0x72, 0x66, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x2a, 0x0a,
   143  	0x09, 0x58, 0x53, 0x52, 0x46, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x78, 0x73,
   144  	0x72, 0x66, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
   145  	0x78, 0x73, 0x72, 0x66, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x63, 0x0a, 0x09, 0x49, 0x6e, 0x74,
   146  	0x65, 0x72, 0x6e, 0x61, 0x6c, 0x73, 0x12, 0x56, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
   147  	0x68, 0x58, 0x53, 0x52, 0x46, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x27, 0x2e, 0x61, 0x75, 0x74,
   148  	0x68, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x66, 0x72,
   149  	0x65, 0x73, 0x68, 0x58, 0x53, 0x52, 0x46, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75,
   150  	0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   151  	0x6e, 0x61, 0x6c, 0x73, 0x2e, 0x58, 0x53, 0x52, 0x46, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x33,
   152  	0x5a, 0x31, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   153  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76,
   154  	0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
   155  	0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   156  }
   157  
   158  var (
   159  	file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescOnce sync.Once
   160  	file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescData = file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDesc
   161  )
   162  
   163  func file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescGZIP() []byte {
   164  	file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescOnce.Do(func() {
   165  		file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescData)
   166  	})
   167  	return file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDescData
   168  }
   169  
   170  var file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   171  var file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_goTypes = []interface{}{
   172  	(*RefreshXSRFTokenRequest)(nil), // 0: auth.internals.RefreshXSRFTokenRequest
   173  	(*XSRFToken)(nil),               // 1: auth.internals.XSRFToken
   174  }
   175  var file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_depIdxs = []int32{
   176  	0, // 0: auth.internals.Internals.RefreshXSRFToken:input_type -> auth.internals.RefreshXSRFTokenRequest
   177  	1, // 1: auth.internals.Internals.RefreshXSRFToken:output_type -> auth.internals.XSRFToken
   178  	1, // [1:2] is the sub-list for method output_type
   179  	0, // [0:1] 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() { file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_init() }
   186  func file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_init() {
   187  	if File_go_chromium_org_luci_auth_service_api_internalspb_internals_proto != nil {
   188  		return
   189  	}
   190  	if !protoimpl.UnsafeEnabled {
   191  		file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   192  			switch v := v.(*RefreshXSRFTokenRequest); i {
   193  			case 0:
   194  				return &v.state
   195  			case 1:
   196  				return &v.sizeCache
   197  			case 2:
   198  				return &v.unknownFields
   199  			default:
   200  				return nil
   201  			}
   202  		}
   203  		file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   204  			switch v := v.(*XSRFToken); i {
   205  			case 0:
   206  				return &v.state
   207  			case 1:
   208  				return &v.sizeCache
   209  			case 2:
   210  				return &v.unknownFields
   211  			default:
   212  				return nil
   213  			}
   214  		}
   215  	}
   216  	type x struct{}
   217  	out := protoimpl.TypeBuilder{
   218  		File: protoimpl.DescBuilder{
   219  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   220  			RawDescriptor: file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDesc,
   221  			NumEnums:      0,
   222  			NumMessages:   2,
   223  			NumExtensions: 0,
   224  			NumServices:   1,
   225  		},
   226  		GoTypes:           file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_goTypes,
   227  		DependencyIndexes: file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_depIdxs,
   228  		MessageInfos:      file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_msgTypes,
   229  	}.Build()
   230  	File_go_chromium_org_luci_auth_service_api_internalspb_internals_proto = out.File
   231  	file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_rawDesc = nil
   232  	file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_goTypes = nil
   233  	file_go_chromium_org_luci_auth_service_api_internalspb_internals_proto_depIdxs = nil
   234  }