github.com/pachyderm/pachyderm@v1.13.4/src/client/admin/v1_9/auth/auth.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: client/admin/v1_9/auth/auth.proto
     3  
     4  package auth
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	_ "github.com/gogo/protobuf/gogoproto"
    10  	proto "github.com/gogo/protobuf/proto"
    11  	types "github.com/gogo/protobuf/types"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  	io "io"
    16  	math "math"
    17  	math_bits "math/bits"
    18  )
    19  
    20  // Reference imports to suppress errors if they are not otherwise used.
    21  var _ = proto.Marshal
    22  var _ = fmt.Errorf
    23  var _ = math.Inf
    24  
    25  // This is a compile-time assertion to ensure that this generated file
    26  // is compatible with the proto package it is being compiled against.
    27  // A compilation error at this line likely means your copy of the
    28  // proto package needs to be updated.
    29  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    30  
    31  // Scope (actually a "role" in canonical security nomenclature) represents a
    32  // rough level of access that a principal has to a repo
    33  type Scope int32
    34  
    35  const (
    36  	// To remove a user's scope from a repo, set their scope to NONE
    37  	Scope_NONE   Scope = 0
    38  	Scope_READER Scope = 1
    39  	Scope_WRITER Scope = 2
    40  	Scope_OWNER  Scope = 3
    41  )
    42  
    43  var Scope_name = map[int32]string{
    44  	0: "NONE",
    45  	1: "READER",
    46  	2: "WRITER",
    47  	3: "OWNER",
    48  }
    49  
    50  var Scope_value = map[string]int32{
    51  	"NONE":   0,
    52  	"READER": 1,
    53  	"WRITER": 2,
    54  	"OWNER":  3,
    55  }
    56  
    57  func (x Scope) String() string {
    58  	return proto.EnumName(Scope_name, int32(x))
    59  }
    60  
    61  func (Scope) EnumDescriptor() ([]byte, []int) {
    62  	return fileDescriptor_4debe1e7b82caa63, []int{0}
    63  }
    64  
    65  type TokenInfo_TokenSource int32
    66  
    67  const (
    68  	TokenInfo_INVALID      TokenInfo_TokenSource = 0
    69  	TokenInfo_AUTHENTICATE TokenInfo_TokenSource = 1
    70  	TokenInfo_GET_TOKEN    TokenInfo_TokenSource = 2
    71  )
    72  
    73  var TokenInfo_TokenSource_name = map[int32]string{
    74  	0: "INVALID",
    75  	1: "AUTHENTICATE",
    76  	2: "GET_TOKEN",
    77  }
    78  
    79  var TokenInfo_TokenSource_value = map[string]int32{
    80  	"INVALID":      0,
    81  	"AUTHENTICATE": 1,
    82  	"GET_TOKEN":    2,
    83  }
    84  
    85  func (x TokenInfo_TokenSource) String() string {
    86  	return proto.EnumName(TokenInfo_TokenSource_name, int32(x))
    87  }
    88  
    89  func (TokenInfo_TokenSource) EnumDescriptor() ([]byte, []int) {
    90  	return fileDescriptor_4debe1e7b82caa63, []int{15, 0}
    91  }
    92  
    93  // ActivateRequest mirrors AuthenticateRequest. The caller is authenticated via
    94  // GitHub OAuth, and then promoted to the cluster's first Admin. Afterwards, the
    95  // caller can promote other users to Admin and remove themselves
    96  type ActivateRequest struct {
    97  	// If set, Pachyderm will authenticate the caller as this user.
    98  	// - If set to a github user (i.e. it has a 'github:' prefix or no prefix)
    99  	//   then Pachyderm will confirm that it matches the user associated with
   100  	//   'github_token'
   101  	// - If set to a robot user (i.e. it has a 'robot:' prefix), then Pachyderm
   102  	//   will generate a new token for the robot user; this token will be the only
   103  	//   way to administer this cluster until more admins are added.
   104  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
   105  	// This is the token returned by GitHub and used to authenticate the caller.
   106  	// When Pachyderm is deployed locally, setting this value to a given string
   107  	// will automatically authenticate the caller as a GitHub user whose username
   108  	// is that string (unless this "looks like" a GitHub access code, in which
   109  	// case Pachyderm does retrieve the corresponding GitHub username)
   110  	GitHubToken          string   `protobuf:"bytes,1,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"`
   111  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   112  	XXX_unrecognized     []byte   `json:"-"`
   113  	XXX_sizecache        int32    `json:"-"`
   114  }
   115  
   116  func (m *ActivateRequest) Reset()         { *m = ActivateRequest{} }
   117  func (m *ActivateRequest) String() string { return proto.CompactTextString(m) }
   118  func (*ActivateRequest) ProtoMessage()    {}
   119  func (*ActivateRequest) Descriptor() ([]byte, []int) {
   120  	return fileDescriptor_4debe1e7b82caa63, []int{0}
   121  }
   122  func (m *ActivateRequest) XXX_Unmarshal(b []byte) error {
   123  	return m.Unmarshal(b)
   124  }
   125  func (m *ActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   126  	if deterministic {
   127  		return xxx_messageInfo_ActivateRequest.Marshal(b, m, deterministic)
   128  	} else {
   129  		b = b[:cap(b)]
   130  		n, err := m.MarshalToSizedBuffer(b)
   131  		if err != nil {
   132  			return nil, err
   133  		}
   134  		return b[:n], nil
   135  	}
   136  }
   137  func (m *ActivateRequest) XXX_Merge(src proto.Message) {
   138  	xxx_messageInfo_ActivateRequest.Merge(m, src)
   139  }
   140  func (m *ActivateRequest) XXX_Size() int {
   141  	return m.Size()
   142  }
   143  func (m *ActivateRequest) XXX_DiscardUnknown() {
   144  	xxx_messageInfo_ActivateRequest.DiscardUnknown(m)
   145  }
   146  
   147  var xxx_messageInfo_ActivateRequest proto.InternalMessageInfo
   148  
   149  func (m *ActivateRequest) GetSubject() string {
   150  	if m != nil {
   151  		return m.Subject
   152  	}
   153  	return ""
   154  }
   155  
   156  func (m *ActivateRequest) GetGitHubToken() string {
   157  	if m != nil {
   158  		return m.GitHubToken
   159  	}
   160  	return ""
   161  }
   162  
   163  type ActivateResponse struct {
   164  	// pach_token authenticates the caller with Pachyderm (if you want to perform
   165  	// Pachyderm operations after auth has been activated as themselves, you must
   166  	// present this token along with your regular request)
   167  	PachToken            string   `protobuf:"bytes,1,opt,name=pach_token,json=pachToken,proto3" json:"pach_token,omitempty"`
   168  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   169  	XXX_unrecognized     []byte   `json:"-"`
   170  	XXX_sizecache        int32    `json:"-"`
   171  }
   172  
   173  func (m *ActivateResponse) Reset()         { *m = ActivateResponse{} }
   174  func (m *ActivateResponse) String() string { return proto.CompactTextString(m) }
   175  func (*ActivateResponse) ProtoMessage()    {}
   176  func (*ActivateResponse) Descriptor() ([]byte, []int) {
   177  	return fileDescriptor_4debe1e7b82caa63, []int{1}
   178  }
   179  func (m *ActivateResponse) XXX_Unmarshal(b []byte) error {
   180  	return m.Unmarshal(b)
   181  }
   182  func (m *ActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   183  	if deterministic {
   184  		return xxx_messageInfo_ActivateResponse.Marshal(b, m, deterministic)
   185  	} else {
   186  		b = b[:cap(b)]
   187  		n, err := m.MarshalToSizedBuffer(b)
   188  		if err != nil {
   189  			return nil, err
   190  		}
   191  		return b[:n], nil
   192  	}
   193  }
   194  func (m *ActivateResponse) XXX_Merge(src proto.Message) {
   195  	xxx_messageInfo_ActivateResponse.Merge(m, src)
   196  }
   197  func (m *ActivateResponse) XXX_Size() int {
   198  	return m.Size()
   199  }
   200  func (m *ActivateResponse) XXX_DiscardUnknown() {
   201  	xxx_messageInfo_ActivateResponse.DiscardUnknown(m)
   202  }
   203  
   204  var xxx_messageInfo_ActivateResponse proto.InternalMessageInfo
   205  
   206  func (m *ActivateResponse) GetPachToken() string {
   207  	if m != nil {
   208  		return m.PachToken
   209  	}
   210  	return ""
   211  }
   212  
   213  type DeactivateRequest struct {
   214  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   215  	XXX_unrecognized     []byte   `json:"-"`
   216  	XXX_sizecache        int32    `json:"-"`
   217  }
   218  
   219  func (m *DeactivateRequest) Reset()         { *m = DeactivateRequest{} }
   220  func (m *DeactivateRequest) String() string { return proto.CompactTextString(m) }
   221  func (*DeactivateRequest) ProtoMessage()    {}
   222  func (*DeactivateRequest) Descriptor() ([]byte, []int) {
   223  	return fileDescriptor_4debe1e7b82caa63, []int{2}
   224  }
   225  func (m *DeactivateRequest) XXX_Unmarshal(b []byte) error {
   226  	return m.Unmarshal(b)
   227  }
   228  func (m *DeactivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   229  	if deterministic {
   230  		return xxx_messageInfo_DeactivateRequest.Marshal(b, m, deterministic)
   231  	} else {
   232  		b = b[:cap(b)]
   233  		n, err := m.MarshalToSizedBuffer(b)
   234  		if err != nil {
   235  			return nil, err
   236  		}
   237  		return b[:n], nil
   238  	}
   239  }
   240  func (m *DeactivateRequest) XXX_Merge(src proto.Message) {
   241  	xxx_messageInfo_DeactivateRequest.Merge(m, src)
   242  }
   243  func (m *DeactivateRequest) XXX_Size() int {
   244  	return m.Size()
   245  }
   246  func (m *DeactivateRequest) XXX_DiscardUnknown() {
   247  	xxx_messageInfo_DeactivateRequest.DiscardUnknown(m)
   248  }
   249  
   250  var xxx_messageInfo_DeactivateRequest proto.InternalMessageInfo
   251  
   252  type DeactivateResponse struct {
   253  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   254  	XXX_unrecognized     []byte   `json:"-"`
   255  	XXX_sizecache        int32    `json:"-"`
   256  }
   257  
   258  func (m *DeactivateResponse) Reset()         { *m = DeactivateResponse{} }
   259  func (m *DeactivateResponse) String() string { return proto.CompactTextString(m) }
   260  func (*DeactivateResponse) ProtoMessage()    {}
   261  func (*DeactivateResponse) Descriptor() ([]byte, []int) {
   262  	return fileDescriptor_4debe1e7b82caa63, []int{3}
   263  }
   264  func (m *DeactivateResponse) XXX_Unmarshal(b []byte) error {
   265  	return m.Unmarshal(b)
   266  }
   267  func (m *DeactivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   268  	if deterministic {
   269  		return xxx_messageInfo_DeactivateResponse.Marshal(b, m, deterministic)
   270  	} else {
   271  		b = b[:cap(b)]
   272  		n, err := m.MarshalToSizedBuffer(b)
   273  		if err != nil {
   274  			return nil, err
   275  		}
   276  		return b[:n], nil
   277  	}
   278  }
   279  func (m *DeactivateResponse) XXX_Merge(src proto.Message) {
   280  	xxx_messageInfo_DeactivateResponse.Merge(m, src)
   281  }
   282  func (m *DeactivateResponse) XXX_Size() int {
   283  	return m.Size()
   284  }
   285  func (m *DeactivateResponse) XXX_DiscardUnknown() {
   286  	xxx_messageInfo_DeactivateResponse.DiscardUnknown(m)
   287  }
   288  
   289  var xxx_messageInfo_DeactivateResponse proto.InternalMessageInfo
   290  
   291  // IDProvider configures a single ID provider that can authenticate Pachyderm
   292  // users
   293  type IDProvider struct {
   294  	// Name identifies this authentication backend in Pachyderm.
   295  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   296  	// Description is a human-readable description of this authentication
   297  	// backend. It's ignored by Pachyderm, but exists for the benefit of users
   298  	// configuring Pachyderm's auth system.
   299  	Description          string                    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
   300  	SAML                 *IDProvider_SAMLOptions   `protobuf:"bytes,3,opt,name=saml,proto3" json:"saml,omitempty"`
   301  	GitHub               *IDProvider_GitHubOptions `protobuf:"bytes,4,opt,name=github,proto3" json:"github,omitempty"`
   302  	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
   303  	XXX_unrecognized     []byte                    `json:"-"`
   304  	XXX_sizecache        int32                     `json:"-"`
   305  }
   306  
   307  func (m *IDProvider) Reset()         { *m = IDProvider{} }
   308  func (m *IDProvider) String() string { return proto.CompactTextString(m) }
   309  func (*IDProvider) ProtoMessage()    {}
   310  func (*IDProvider) Descriptor() ([]byte, []int) {
   311  	return fileDescriptor_4debe1e7b82caa63, []int{4}
   312  }
   313  func (m *IDProvider) XXX_Unmarshal(b []byte) error {
   314  	return m.Unmarshal(b)
   315  }
   316  func (m *IDProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   317  	if deterministic {
   318  		return xxx_messageInfo_IDProvider.Marshal(b, m, deterministic)
   319  	} else {
   320  		b = b[:cap(b)]
   321  		n, err := m.MarshalToSizedBuffer(b)
   322  		if err != nil {
   323  			return nil, err
   324  		}
   325  		return b[:n], nil
   326  	}
   327  }
   328  func (m *IDProvider) XXX_Merge(src proto.Message) {
   329  	xxx_messageInfo_IDProvider.Merge(m, src)
   330  }
   331  func (m *IDProvider) XXX_Size() int {
   332  	return m.Size()
   333  }
   334  func (m *IDProvider) XXX_DiscardUnknown() {
   335  	xxx_messageInfo_IDProvider.DiscardUnknown(m)
   336  }
   337  
   338  var xxx_messageInfo_IDProvider proto.InternalMessageInfo
   339  
   340  func (m *IDProvider) GetName() string {
   341  	if m != nil {
   342  		return m.Name
   343  	}
   344  	return ""
   345  }
   346  
   347  func (m *IDProvider) GetDescription() string {
   348  	if m != nil {
   349  		return m.Description
   350  	}
   351  	return ""
   352  }
   353  
   354  func (m *IDProvider) GetSAML() *IDProvider_SAMLOptions {
   355  	if m != nil {
   356  		return m.SAML
   357  	}
   358  	return nil
   359  }
   360  
   361  func (m *IDProvider) GetGitHub() *IDProvider_GitHubOptions {
   362  	if m != nil {
   363  		return m.GitHub
   364  	}
   365  	return nil
   366  }
   367  
   368  // SAMLOptions describes a SAML-based identity provider
   369  type IDProvider_SAMLOptions struct {
   370  	// metadata_url is the URL of the SAML ID provider's metadata service
   371  	// (which Pachd can query to get more info about the SAML ID provider)
   372  	MetadataURL string `protobuf:"bytes,1,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
   373  	// metadata_xml is a direct reproduction of the ID provider's metadata.
   374  	// Users can set this field in the argument to SetConfig if the ID provider
   375  	// can't be reached from pachd (e.g. because it's on a separate network to
   376  	// which Pachyderm users also have access) or for testing.  Exactly one of
   377  	// metadata_url and metadata_xml should be set in calls to SetConfig, but
   378  	// internally, if metadata_url is set, the result of scraping the metadata
   379  	// URL will be placed here in the result from GetConfig().
   380  	MetadataXML []byte `protobuf:"bytes,2,opt,name=metadata_xml,json=metadataXml,proto3" json:"metadata_xml,omitempty"`
   381  	// If this ID provider supports sending group memberships via attribute,
   382  	// then users can set group_attribute to the SAML attribute that indicates
   383  	// group mmbership, and Pachyderm will update users' group memberships when
   384  	// they authenticate.
   385  	GroupAttribute       string   `protobuf:"bytes,3,opt,name=group_attribute,json=groupAttribute,proto3" json:"group_attribute,omitempty"`
   386  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   387  	XXX_unrecognized     []byte   `json:"-"`
   388  	XXX_sizecache        int32    `json:"-"`
   389  }
   390  
   391  func (m *IDProvider_SAMLOptions) Reset()         { *m = IDProvider_SAMLOptions{} }
   392  func (m *IDProvider_SAMLOptions) String() string { return proto.CompactTextString(m) }
   393  func (*IDProvider_SAMLOptions) ProtoMessage()    {}
   394  func (*IDProvider_SAMLOptions) Descriptor() ([]byte, []int) {
   395  	return fileDescriptor_4debe1e7b82caa63, []int{4, 0}
   396  }
   397  func (m *IDProvider_SAMLOptions) XXX_Unmarshal(b []byte) error {
   398  	return m.Unmarshal(b)
   399  }
   400  func (m *IDProvider_SAMLOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   401  	if deterministic {
   402  		return xxx_messageInfo_IDProvider_SAMLOptions.Marshal(b, m, deterministic)
   403  	} else {
   404  		b = b[:cap(b)]
   405  		n, err := m.MarshalToSizedBuffer(b)
   406  		if err != nil {
   407  			return nil, err
   408  		}
   409  		return b[:n], nil
   410  	}
   411  }
   412  func (m *IDProvider_SAMLOptions) XXX_Merge(src proto.Message) {
   413  	xxx_messageInfo_IDProvider_SAMLOptions.Merge(m, src)
   414  }
   415  func (m *IDProvider_SAMLOptions) XXX_Size() int {
   416  	return m.Size()
   417  }
   418  func (m *IDProvider_SAMLOptions) XXX_DiscardUnknown() {
   419  	xxx_messageInfo_IDProvider_SAMLOptions.DiscardUnknown(m)
   420  }
   421  
   422  var xxx_messageInfo_IDProvider_SAMLOptions proto.InternalMessageInfo
   423  
   424  func (m *IDProvider_SAMLOptions) GetMetadataURL() string {
   425  	if m != nil {
   426  		return m.MetadataURL
   427  	}
   428  	return ""
   429  }
   430  
   431  func (m *IDProvider_SAMLOptions) GetMetadataXML() []byte {
   432  	if m != nil {
   433  		return m.MetadataXML
   434  	}
   435  	return nil
   436  }
   437  
   438  func (m *IDProvider_SAMLOptions) GetGroupAttribute() string {
   439  	if m != nil {
   440  		return m.GroupAttribute
   441  	}
   442  	return ""
   443  }
   444  
   445  // GitHubOptions is an empty protobuf message whose presence in the IDProvider
   446  // of an AuthConfig indicates that GitHub auth should be enabled.
   447  type IDProvider_GitHubOptions struct {
   448  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   449  	XXX_unrecognized     []byte   `json:"-"`
   450  	XXX_sizecache        int32    `json:"-"`
   451  }
   452  
   453  func (m *IDProvider_GitHubOptions) Reset()         { *m = IDProvider_GitHubOptions{} }
   454  func (m *IDProvider_GitHubOptions) String() string { return proto.CompactTextString(m) }
   455  func (*IDProvider_GitHubOptions) ProtoMessage()    {}
   456  func (*IDProvider_GitHubOptions) Descriptor() ([]byte, []int) {
   457  	return fileDescriptor_4debe1e7b82caa63, []int{4, 1}
   458  }
   459  func (m *IDProvider_GitHubOptions) XXX_Unmarshal(b []byte) error {
   460  	return m.Unmarshal(b)
   461  }
   462  func (m *IDProvider_GitHubOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   463  	if deterministic {
   464  		return xxx_messageInfo_IDProvider_GitHubOptions.Marshal(b, m, deterministic)
   465  	} else {
   466  		b = b[:cap(b)]
   467  		n, err := m.MarshalToSizedBuffer(b)
   468  		if err != nil {
   469  			return nil, err
   470  		}
   471  		return b[:n], nil
   472  	}
   473  }
   474  func (m *IDProvider_GitHubOptions) XXX_Merge(src proto.Message) {
   475  	xxx_messageInfo_IDProvider_GitHubOptions.Merge(m, src)
   476  }
   477  func (m *IDProvider_GitHubOptions) XXX_Size() int {
   478  	return m.Size()
   479  }
   480  func (m *IDProvider_GitHubOptions) XXX_DiscardUnknown() {
   481  	xxx_messageInfo_IDProvider_GitHubOptions.DiscardUnknown(m)
   482  }
   483  
   484  var xxx_messageInfo_IDProvider_GitHubOptions proto.InternalMessageInfo
   485  
   486  // Configure Pachyderm's auth system (particularly authentication backends
   487  type AuthConfig struct {
   488  	// live_config_version identifies the version of a given pachyderm cluster's
   489  	// current auth configuration; if a user tries to write an auth configuration
   490  	// where live_config_version doesn't match the version of the cluster's
   491  	// current config, the write will fail. This allows for safe
   492  	// read+modify+write config changes.
   493  	LiveConfigVersion int64 `protobuf:"varint,1,opt,name=live_config_version,json=liveConfigVersion,proto3" json:"live_config_version,omitempty"`
   494  	// id_providers describes external ID providers that can authenticate
   495  	// Pachyderm users (e.g. GitHub, Okta, etc)
   496  	IDProviders          []*IDProvider                  `protobuf:"bytes,2,rep,name=id_providers,json=idProviders,proto3" json:"id_providers,omitempty"`
   497  	SAMLServiceOptions   *AuthConfig_SAMLServiceOptions `protobuf:"bytes,3,opt,name=saml_svc_options,json=samlSvcOptions,proto3" json:"saml_svc_options,omitempty"`
   498  	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
   499  	XXX_unrecognized     []byte                         `json:"-"`
   500  	XXX_sizecache        int32                          `json:"-"`
   501  }
   502  
   503  func (m *AuthConfig) Reset()         { *m = AuthConfig{} }
   504  func (m *AuthConfig) String() string { return proto.CompactTextString(m) }
   505  func (*AuthConfig) ProtoMessage()    {}
   506  func (*AuthConfig) Descriptor() ([]byte, []int) {
   507  	return fileDescriptor_4debe1e7b82caa63, []int{5}
   508  }
   509  func (m *AuthConfig) XXX_Unmarshal(b []byte) error {
   510  	return m.Unmarshal(b)
   511  }
   512  func (m *AuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   513  	if deterministic {
   514  		return xxx_messageInfo_AuthConfig.Marshal(b, m, deterministic)
   515  	} else {
   516  		b = b[:cap(b)]
   517  		n, err := m.MarshalToSizedBuffer(b)
   518  		if err != nil {
   519  			return nil, err
   520  		}
   521  		return b[:n], nil
   522  	}
   523  }
   524  func (m *AuthConfig) XXX_Merge(src proto.Message) {
   525  	xxx_messageInfo_AuthConfig.Merge(m, src)
   526  }
   527  func (m *AuthConfig) XXX_Size() int {
   528  	return m.Size()
   529  }
   530  func (m *AuthConfig) XXX_DiscardUnknown() {
   531  	xxx_messageInfo_AuthConfig.DiscardUnknown(m)
   532  }
   533  
   534  var xxx_messageInfo_AuthConfig proto.InternalMessageInfo
   535  
   536  func (m *AuthConfig) GetLiveConfigVersion() int64 {
   537  	if m != nil {
   538  		return m.LiveConfigVersion
   539  	}
   540  	return 0
   541  }
   542  
   543  func (m *AuthConfig) GetIDProviders() []*IDProvider {
   544  	if m != nil {
   545  		return m.IDProviders
   546  	}
   547  	return nil
   548  }
   549  
   550  func (m *AuthConfig) GetSAMLServiceOptions() *AuthConfig_SAMLServiceOptions {
   551  	if m != nil {
   552  		return m.SAMLServiceOptions
   553  	}
   554  	return nil
   555  }
   556  
   557  // saml_svc_options configures the SAML services (Assertion Consumer Service
   558  // and Metadata Service) that Pachd can export.
   559  type AuthConfig_SAMLServiceOptions struct {
   560  	// acs is the URL of Pachd's Assertion Consumer Service (i.e. where SAML ID
   561  	// providers can send SAMLResponses to Pachd). If Pachyderm is running in a
   562  	// private cluster, the cluster admin would be responsible for setting up a
   563  	// domain name/proxy to resolve to pachd:654/acs
   564  	ACSURL string `protobuf:"bytes,1,opt,name=acs_url,json=acsUrl,proto3" json:"acs_url,omitempty"`
   565  	// metadata_url is the public URL of Pachd's SAML metadata service (some
   566  	// SAML ID providers will query this for information about Pachyderm's SAML
   567  	// implementation and use it to idenfity Pachyderm as a service provider).
   568  	// If Pachyderm is running in a private cluster, the cluster admin would be
   569  	// responsible for creating this URL (which must resolve to
   570  	// pachd:654/saml/metadata)
   571  	MetadataURL string `protobuf:"bytes,2,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
   572  	// dash_url is the public address of this cluster's Pachyderm
   573  	// dashboard, if one exists; this option determines where users will be
   574  	// redirected after successfully authenticating
   575  	DashURL string `protobuf:"bytes,3,opt,name=dash_url,json=dashUrl,proto3" json:"dash_url,omitempty"`
   576  	// session_duration determines the duration of SAML-IdP-authenticated user
   577  	// sessions (specified as a Golang time duration, e.g. "24h" or "600m"). If
   578  	// unset, user sessions last 24 hours (a short default, as SAML assertions
   579  	// may contain group memberships that need to be refreshed)
   580  	SessionDuration string `protobuf:"bytes,4,opt,name=session_duration,json=sessionDuration,proto3" json:"session_duration,omitempty"`
   581  	// debug_logging determines whether pachd emits verbose logs (including
   582  	// SAML credentials) as it receives them, which may be helpful for
   583  	// debugging. This will probably not be present in any official releases.
   584  	DebugLogging         bool     `protobuf:"varint,5,opt,name=debug_logging,json=debugLogging,proto3" json:"debug_logging,omitempty"`
   585  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   586  	XXX_unrecognized     []byte   `json:"-"`
   587  	XXX_sizecache        int32    `json:"-"`
   588  }
   589  
   590  func (m *AuthConfig_SAMLServiceOptions) Reset()         { *m = AuthConfig_SAMLServiceOptions{} }
   591  func (m *AuthConfig_SAMLServiceOptions) String() string { return proto.CompactTextString(m) }
   592  func (*AuthConfig_SAMLServiceOptions) ProtoMessage()    {}
   593  func (*AuthConfig_SAMLServiceOptions) Descriptor() ([]byte, []int) {
   594  	return fileDescriptor_4debe1e7b82caa63, []int{5, 0}
   595  }
   596  func (m *AuthConfig_SAMLServiceOptions) XXX_Unmarshal(b []byte) error {
   597  	return m.Unmarshal(b)
   598  }
   599  func (m *AuthConfig_SAMLServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   600  	if deterministic {
   601  		return xxx_messageInfo_AuthConfig_SAMLServiceOptions.Marshal(b, m, deterministic)
   602  	} else {
   603  		b = b[:cap(b)]
   604  		n, err := m.MarshalToSizedBuffer(b)
   605  		if err != nil {
   606  			return nil, err
   607  		}
   608  		return b[:n], nil
   609  	}
   610  }
   611  func (m *AuthConfig_SAMLServiceOptions) XXX_Merge(src proto.Message) {
   612  	xxx_messageInfo_AuthConfig_SAMLServiceOptions.Merge(m, src)
   613  }
   614  func (m *AuthConfig_SAMLServiceOptions) XXX_Size() int {
   615  	return m.Size()
   616  }
   617  func (m *AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown() {
   618  	xxx_messageInfo_AuthConfig_SAMLServiceOptions.DiscardUnknown(m)
   619  }
   620  
   621  var xxx_messageInfo_AuthConfig_SAMLServiceOptions proto.InternalMessageInfo
   622  
   623  func (m *AuthConfig_SAMLServiceOptions) GetACSURL() string {
   624  	if m != nil {
   625  		return m.ACSURL
   626  	}
   627  	return ""
   628  }
   629  
   630  func (m *AuthConfig_SAMLServiceOptions) GetMetadataURL() string {
   631  	if m != nil {
   632  		return m.MetadataURL
   633  	}
   634  	return ""
   635  }
   636  
   637  func (m *AuthConfig_SAMLServiceOptions) GetDashURL() string {
   638  	if m != nil {
   639  		return m.DashURL
   640  	}
   641  	return ""
   642  }
   643  
   644  func (m *AuthConfig_SAMLServiceOptions) GetSessionDuration() string {
   645  	if m != nil {
   646  		return m.SessionDuration
   647  	}
   648  	return ""
   649  }
   650  
   651  func (m *AuthConfig_SAMLServiceOptions) GetDebugLogging() bool {
   652  	if m != nil {
   653  		return m.DebugLogging
   654  	}
   655  	return false
   656  }
   657  
   658  type GetConfigurationRequest struct {
   659  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   660  	XXX_unrecognized     []byte   `json:"-"`
   661  	XXX_sizecache        int32    `json:"-"`
   662  }
   663  
   664  func (m *GetConfigurationRequest) Reset()         { *m = GetConfigurationRequest{} }
   665  func (m *GetConfigurationRequest) String() string { return proto.CompactTextString(m) }
   666  func (*GetConfigurationRequest) ProtoMessage()    {}
   667  func (*GetConfigurationRequest) Descriptor() ([]byte, []int) {
   668  	return fileDescriptor_4debe1e7b82caa63, []int{6}
   669  }
   670  func (m *GetConfigurationRequest) XXX_Unmarshal(b []byte) error {
   671  	return m.Unmarshal(b)
   672  }
   673  func (m *GetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   674  	if deterministic {
   675  		return xxx_messageInfo_GetConfigurationRequest.Marshal(b, m, deterministic)
   676  	} else {
   677  		b = b[:cap(b)]
   678  		n, err := m.MarshalToSizedBuffer(b)
   679  		if err != nil {
   680  			return nil, err
   681  		}
   682  		return b[:n], nil
   683  	}
   684  }
   685  func (m *GetConfigurationRequest) XXX_Merge(src proto.Message) {
   686  	xxx_messageInfo_GetConfigurationRequest.Merge(m, src)
   687  }
   688  func (m *GetConfigurationRequest) XXX_Size() int {
   689  	return m.Size()
   690  }
   691  func (m *GetConfigurationRequest) XXX_DiscardUnknown() {
   692  	xxx_messageInfo_GetConfigurationRequest.DiscardUnknown(m)
   693  }
   694  
   695  var xxx_messageInfo_GetConfigurationRequest proto.InternalMessageInfo
   696  
   697  type GetConfigurationResponse struct {
   698  	Configuration        *AuthConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
   699  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   700  	XXX_unrecognized     []byte      `json:"-"`
   701  	XXX_sizecache        int32       `json:"-"`
   702  }
   703  
   704  func (m *GetConfigurationResponse) Reset()         { *m = GetConfigurationResponse{} }
   705  func (m *GetConfigurationResponse) String() string { return proto.CompactTextString(m) }
   706  func (*GetConfigurationResponse) ProtoMessage()    {}
   707  func (*GetConfigurationResponse) Descriptor() ([]byte, []int) {
   708  	return fileDescriptor_4debe1e7b82caa63, []int{7}
   709  }
   710  func (m *GetConfigurationResponse) XXX_Unmarshal(b []byte) error {
   711  	return m.Unmarshal(b)
   712  }
   713  func (m *GetConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   714  	if deterministic {
   715  		return xxx_messageInfo_GetConfigurationResponse.Marshal(b, m, deterministic)
   716  	} else {
   717  		b = b[:cap(b)]
   718  		n, err := m.MarshalToSizedBuffer(b)
   719  		if err != nil {
   720  			return nil, err
   721  		}
   722  		return b[:n], nil
   723  	}
   724  }
   725  func (m *GetConfigurationResponse) XXX_Merge(src proto.Message) {
   726  	xxx_messageInfo_GetConfigurationResponse.Merge(m, src)
   727  }
   728  func (m *GetConfigurationResponse) XXX_Size() int {
   729  	return m.Size()
   730  }
   731  func (m *GetConfigurationResponse) XXX_DiscardUnknown() {
   732  	xxx_messageInfo_GetConfigurationResponse.DiscardUnknown(m)
   733  }
   734  
   735  var xxx_messageInfo_GetConfigurationResponse proto.InternalMessageInfo
   736  
   737  func (m *GetConfigurationResponse) GetConfiguration() *AuthConfig {
   738  	if m != nil {
   739  		return m.Configuration
   740  	}
   741  	return nil
   742  }
   743  
   744  type SetConfigurationRequest struct {
   745  	Configuration        *AuthConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
   746  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   747  	XXX_unrecognized     []byte      `json:"-"`
   748  	XXX_sizecache        int32       `json:"-"`
   749  }
   750  
   751  func (m *SetConfigurationRequest) Reset()         { *m = SetConfigurationRequest{} }
   752  func (m *SetConfigurationRequest) String() string { return proto.CompactTextString(m) }
   753  func (*SetConfigurationRequest) ProtoMessage()    {}
   754  func (*SetConfigurationRequest) Descriptor() ([]byte, []int) {
   755  	return fileDescriptor_4debe1e7b82caa63, []int{8}
   756  }
   757  func (m *SetConfigurationRequest) XXX_Unmarshal(b []byte) error {
   758  	return m.Unmarshal(b)
   759  }
   760  func (m *SetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   761  	if deterministic {
   762  		return xxx_messageInfo_SetConfigurationRequest.Marshal(b, m, deterministic)
   763  	} else {
   764  		b = b[:cap(b)]
   765  		n, err := m.MarshalToSizedBuffer(b)
   766  		if err != nil {
   767  			return nil, err
   768  		}
   769  		return b[:n], nil
   770  	}
   771  }
   772  func (m *SetConfigurationRequest) XXX_Merge(src proto.Message) {
   773  	xxx_messageInfo_SetConfigurationRequest.Merge(m, src)
   774  }
   775  func (m *SetConfigurationRequest) XXX_Size() int {
   776  	return m.Size()
   777  }
   778  func (m *SetConfigurationRequest) XXX_DiscardUnknown() {
   779  	xxx_messageInfo_SetConfigurationRequest.DiscardUnknown(m)
   780  }
   781  
   782  var xxx_messageInfo_SetConfigurationRequest proto.InternalMessageInfo
   783  
   784  func (m *SetConfigurationRequest) GetConfiguration() *AuthConfig {
   785  	if m != nil {
   786  		return m.Configuration
   787  	}
   788  	return nil
   789  }
   790  
   791  type SetConfigurationResponse struct {
   792  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   793  	XXX_unrecognized     []byte   `json:"-"`
   794  	XXX_sizecache        int32    `json:"-"`
   795  }
   796  
   797  func (m *SetConfigurationResponse) Reset()         { *m = SetConfigurationResponse{} }
   798  func (m *SetConfigurationResponse) String() string { return proto.CompactTextString(m) }
   799  func (*SetConfigurationResponse) ProtoMessage()    {}
   800  func (*SetConfigurationResponse) Descriptor() ([]byte, []int) {
   801  	return fileDescriptor_4debe1e7b82caa63, []int{9}
   802  }
   803  func (m *SetConfigurationResponse) XXX_Unmarshal(b []byte) error {
   804  	return m.Unmarshal(b)
   805  }
   806  func (m *SetConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   807  	if deterministic {
   808  		return xxx_messageInfo_SetConfigurationResponse.Marshal(b, m, deterministic)
   809  	} else {
   810  		b = b[:cap(b)]
   811  		n, err := m.MarshalToSizedBuffer(b)
   812  		if err != nil {
   813  			return nil, err
   814  		}
   815  		return b[:n], nil
   816  	}
   817  }
   818  func (m *SetConfigurationResponse) XXX_Merge(src proto.Message) {
   819  	xxx_messageInfo_SetConfigurationResponse.Merge(m, src)
   820  }
   821  func (m *SetConfigurationResponse) XXX_Size() int {
   822  	return m.Size()
   823  }
   824  func (m *SetConfigurationResponse) XXX_DiscardUnknown() {
   825  	xxx_messageInfo_SetConfigurationResponse.DiscardUnknown(m)
   826  }
   827  
   828  var xxx_messageInfo_SetConfigurationResponse proto.InternalMessageInfo
   829  
   830  // Get the current list of cluster admins
   831  type GetAdminsRequest struct {
   832  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   833  	XXX_unrecognized     []byte   `json:"-"`
   834  	XXX_sizecache        int32    `json:"-"`
   835  }
   836  
   837  func (m *GetAdminsRequest) Reset()         { *m = GetAdminsRequest{} }
   838  func (m *GetAdminsRequest) String() string { return proto.CompactTextString(m) }
   839  func (*GetAdminsRequest) ProtoMessage()    {}
   840  func (*GetAdminsRequest) Descriptor() ([]byte, []int) {
   841  	return fileDescriptor_4debe1e7b82caa63, []int{10}
   842  }
   843  func (m *GetAdminsRequest) XXX_Unmarshal(b []byte) error {
   844  	return m.Unmarshal(b)
   845  }
   846  func (m *GetAdminsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   847  	if deterministic {
   848  		return xxx_messageInfo_GetAdminsRequest.Marshal(b, m, deterministic)
   849  	} else {
   850  		b = b[:cap(b)]
   851  		n, err := m.MarshalToSizedBuffer(b)
   852  		if err != nil {
   853  			return nil, err
   854  		}
   855  		return b[:n], nil
   856  	}
   857  }
   858  func (m *GetAdminsRequest) XXX_Merge(src proto.Message) {
   859  	xxx_messageInfo_GetAdminsRequest.Merge(m, src)
   860  }
   861  func (m *GetAdminsRequest) XXX_Size() int {
   862  	return m.Size()
   863  }
   864  func (m *GetAdminsRequest) XXX_DiscardUnknown() {
   865  	xxx_messageInfo_GetAdminsRequest.DiscardUnknown(m)
   866  }
   867  
   868  var xxx_messageInfo_GetAdminsRequest proto.InternalMessageInfo
   869  
   870  type GetAdminsResponse struct {
   871  	// admins contains the list of cluster admins
   872  	Admins               []string `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"`
   873  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   874  	XXX_unrecognized     []byte   `json:"-"`
   875  	XXX_sizecache        int32    `json:"-"`
   876  }
   877  
   878  func (m *GetAdminsResponse) Reset()         { *m = GetAdminsResponse{} }
   879  func (m *GetAdminsResponse) String() string { return proto.CompactTextString(m) }
   880  func (*GetAdminsResponse) ProtoMessage()    {}
   881  func (*GetAdminsResponse) Descriptor() ([]byte, []int) {
   882  	return fileDescriptor_4debe1e7b82caa63, []int{11}
   883  }
   884  func (m *GetAdminsResponse) XXX_Unmarshal(b []byte) error {
   885  	return m.Unmarshal(b)
   886  }
   887  func (m *GetAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   888  	if deterministic {
   889  		return xxx_messageInfo_GetAdminsResponse.Marshal(b, m, deterministic)
   890  	} else {
   891  		b = b[:cap(b)]
   892  		n, err := m.MarshalToSizedBuffer(b)
   893  		if err != nil {
   894  			return nil, err
   895  		}
   896  		return b[:n], nil
   897  	}
   898  }
   899  func (m *GetAdminsResponse) XXX_Merge(src proto.Message) {
   900  	xxx_messageInfo_GetAdminsResponse.Merge(m, src)
   901  }
   902  func (m *GetAdminsResponse) XXX_Size() int {
   903  	return m.Size()
   904  }
   905  func (m *GetAdminsResponse) XXX_DiscardUnknown() {
   906  	xxx_messageInfo_GetAdminsResponse.DiscardUnknown(m)
   907  }
   908  
   909  var xxx_messageInfo_GetAdminsResponse proto.InternalMessageInfo
   910  
   911  func (m *GetAdminsResponse) GetAdmins() []string {
   912  	if m != nil {
   913  		return m.Admins
   914  	}
   915  	return nil
   916  }
   917  
   918  // Add or remove cluster admins
   919  type ModifyAdminsRequest struct {
   920  	Add                  []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
   921  	Remove               []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
   922  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   923  	XXX_unrecognized     []byte   `json:"-"`
   924  	XXX_sizecache        int32    `json:"-"`
   925  }
   926  
   927  func (m *ModifyAdminsRequest) Reset()         { *m = ModifyAdminsRequest{} }
   928  func (m *ModifyAdminsRequest) String() string { return proto.CompactTextString(m) }
   929  func (*ModifyAdminsRequest) ProtoMessage()    {}
   930  func (*ModifyAdminsRequest) Descriptor() ([]byte, []int) {
   931  	return fileDescriptor_4debe1e7b82caa63, []int{12}
   932  }
   933  func (m *ModifyAdminsRequest) XXX_Unmarshal(b []byte) error {
   934  	return m.Unmarshal(b)
   935  }
   936  func (m *ModifyAdminsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   937  	if deterministic {
   938  		return xxx_messageInfo_ModifyAdminsRequest.Marshal(b, m, deterministic)
   939  	} else {
   940  		b = b[:cap(b)]
   941  		n, err := m.MarshalToSizedBuffer(b)
   942  		if err != nil {
   943  			return nil, err
   944  		}
   945  		return b[:n], nil
   946  	}
   947  }
   948  func (m *ModifyAdminsRequest) XXX_Merge(src proto.Message) {
   949  	xxx_messageInfo_ModifyAdminsRequest.Merge(m, src)
   950  }
   951  func (m *ModifyAdminsRequest) XXX_Size() int {
   952  	return m.Size()
   953  }
   954  func (m *ModifyAdminsRequest) XXX_DiscardUnknown() {
   955  	xxx_messageInfo_ModifyAdminsRequest.DiscardUnknown(m)
   956  }
   957  
   958  var xxx_messageInfo_ModifyAdminsRequest proto.InternalMessageInfo
   959  
   960  func (m *ModifyAdminsRequest) GetAdd() []string {
   961  	if m != nil {
   962  		return m.Add
   963  	}
   964  	return nil
   965  }
   966  
   967  func (m *ModifyAdminsRequest) GetRemove() []string {
   968  	if m != nil {
   969  		return m.Remove
   970  	}
   971  	return nil
   972  }
   973  
   974  type ModifyAdminsResponse struct {
   975  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   976  	XXX_unrecognized     []byte   `json:"-"`
   977  	XXX_sizecache        int32    `json:"-"`
   978  }
   979  
   980  func (m *ModifyAdminsResponse) Reset()         { *m = ModifyAdminsResponse{} }
   981  func (m *ModifyAdminsResponse) String() string { return proto.CompactTextString(m) }
   982  func (*ModifyAdminsResponse) ProtoMessage()    {}
   983  func (*ModifyAdminsResponse) Descriptor() ([]byte, []int) {
   984  	return fileDescriptor_4debe1e7b82caa63, []int{13}
   985  }
   986  func (m *ModifyAdminsResponse) XXX_Unmarshal(b []byte) error {
   987  	return m.Unmarshal(b)
   988  }
   989  func (m *ModifyAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   990  	if deterministic {
   991  		return xxx_messageInfo_ModifyAdminsResponse.Marshal(b, m, deterministic)
   992  	} else {
   993  		b = b[:cap(b)]
   994  		n, err := m.MarshalToSizedBuffer(b)
   995  		if err != nil {
   996  			return nil, err
   997  		}
   998  		return b[:n], nil
   999  	}
  1000  }
  1001  func (m *ModifyAdminsResponse) XXX_Merge(src proto.Message) {
  1002  	xxx_messageInfo_ModifyAdminsResponse.Merge(m, src)
  1003  }
  1004  func (m *ModifyAdminsResponse) XXX_Size() int {
  1005  	return m.Size()
  1006  }
  1007  func (m *ModifyAdminsResponse) XXX_DiscardUnknown() {
  1008  	xxx_messageInfo_ModifyAdminsResponse.DiscardUnknown(m)
  1009  }
  1010  
  1011  var xxx_messageInfo_ModifyAdminsResponse proto.InternalMessageInfo
  1012  
  1013  // OTPInfo is the analogue of 'TokenInfo' for Authentication Codes (short-lived,
  1014  // one-time-use codes that are passed to the frontend and then exchanged for
  1015  // longer-lived tokens)
  1016  type OTPInfo struct {
  1017  	// Subject (i.e. Pachyderm account) that a given OTP authenticates. This may
  1018  	// be copied into the 'subject' field of a TokenInfo, and therefore has the
  1019  	// same format, with the same prefixes.
  1020  	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
  1021  	// session_expiration indicates when the subject's session expires, a.k.a.
  1022  	// when the Token to which this OTP converts expires (likely later than this
  1023  	// OTP expires, but never earlier).
  1024  	SessionExpiration    *types.Timestamp `protobuf:"bytes,2,opt,name=session_expiration,json=sessionExpiration,proto3" json:"session_expiration,omitempty"`
  1025  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  1026  	XXX_unrecognized     []byte           `json:"-"`
  1027  	XXX_sizecache        int32            `json:"-"`
  1028  }
  1029  
  1030  func (m *OTPInfo) Reset()         { *m = OTPInfo{} }
  1031  func (m *OTPInfo) String() string { return proto.CompactTextString(m) }
  1032  func (*OTPInfo) ProtoMessage()    {}
  1033  func (*OTPInfo) Descriptor() ([]byte, []int) {
  1034  	return fileDescriptor_4debe1e7b82caa63, []int{14}
  1035  }
  1036  func (m *OTPInfo) XXX_Unmarshal(b []byte) error {
  1037  	return m.Unmarshal(b)
  1038  }
  1039  func (m *OTPInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1040  	if deterministic {
  1041  		return xxx_messageInfo_OTPInfo.Marshal(b, m, deterministic)
  1042  	} else {
  1043  		b = b[:cap(b)]
  1044  		n, err := m.MarshalToSizedBuffer(b)
  1045  		if err != nil {
  1046  			return nil, err
  1047  		}
  1048  		return b[:n], nil
  1049  	}
  1050  }
  1051  func (m *OTPInfo) XXX_Merge(src proto.Message) {
  1052  	xxx_messageInfo_OTPInfo.Merge(m, src)
  1053  }
  1054  func (m *OTPInfo) XXX_Size() int {
  1055  	return m.Size()
  1056  }
  1057  func (m *OTPInfo) XXX_DiscardUnknown() {
  1058  	xxx_messageInfo_OTPInfo.DiscardUnknown(m)
  1059  }
  1060  
  1061  var xxx_messageInfo_OTPInfo proto.InternalMessageInfo
  1062  
  1063  func (m *OTPInfo) GetSubject() string {
  1064  	if m != nil {
  1065  		return m.Subject
  1066  	}
  1067  	return ""
  1068  }
  1069  
  1070  func (m *OTPInfo) GetSessionExpiration() *types.Timestamp {
  1071  	if m != nil {
  1072  		return m.SessionExpiration
  1073  	}
  1074  	return nil
  1075  }
  1076  
  1077  // TokenInfo is the 'value' of an auth token 'key' in the 'tokens' collection
  1078  type TokenInfo struct {
  1079  	// Subject (i.e. Pachyderm account) that a given token authorizes. Prefixed
  1080  	// with "github:" or "robot:" to distinguish the two classes of
  1081  	// Subject in Pachyderm
  1082  	Subject              string                `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
  1083  	Source               TokenInfo_TokenSource `protobuf:"varint,2,opt,name=source,proto3,enum=auth_1_9.TokenInfo_TokenSource" json:"source,omitempty"`
  1084  	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
  1085  	XXX_unrecognized     []byte                `json:"-"`
  1086  	XXX_sizecache        int32                 `json:"-"`
  1087  }
  1088  
  1089  func (m *TokenInfo) Reset()         { *m = TokenInfo{} }
  1090  func (m *TokenInfo) String() string { return proto.CompactTextString(m) }
  1091  func (*TokenInfo) ProtoMessage()    {}
  1092  func (*TokenInfo) Descriptor() ([]byte, []int) {
  1093  	return fileDescriptor_4debe1e7b82caa63, []int{15}
  1094  }
  1095  func (m *TokenInfo) XXX_Unmarshal(b []byte) error {
  1096  	return m.Unmarshal(b)
  1097  }
  1098  func (m *TokenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1099  	if deterministic {
  1100  		return xxx_messageInfo_TokenInfo.Marshal(b, m, deterministic)
  1101  	} else {
  1102  		b = b[:cap(b)]
  1103  		n, err := m.MarshalToSizedBuffer(b)
  1104  		if err != nil {
  1105  			return nil, err
  1106  		}
  1107  		return b[:n], nil
  1108  	}
  1109  }
  1110  func (m *TokenInfo) XXX_Merge(src proto.Message) {
  1111  	xxx_messageInfo_TokenInfo.Merge(m, src)
  1112  }
  1113  func (m *TokenInfo) XXX_Size() int {
  1114  	return m.Size()
  1115  }
  1116  func (m *TokenInfo) XXX_DiscardUnknown() {
  1117  	xxx_messageInfo_TokenInfo.DiscardUnknown(m)
  1118  }
  1119  
  1120  var xxx_messageInfo_TokenInfo proto.InternalMessageInfo
  1121  
  1122  func (m *TokenInfo) GetSubject() string {
  1123  	if m != nil {
  1124  		return m.Subject
  1125  	}
  1126  	return ""
  1127  }
  1128  
  1129  func (m *TokenInfo) GetSource() TokenInfo_TokenSource {
  1130  	if m != nil {
  1131  		return m.Source
  1132  	}
  1133  	return TokenInfo_INVALID
  1134  }
  1135  
  1136  type AuthenticateRequest struct {
  1137  	// This is the token returned by GitHub and used to authenticate the caller.
  1138  	// When Pachyderm is deployed locally, setting this value to a given string
  1139  	// will automatically authenticate the caller as a GitHub user whose username
  1140  	// is that string (unless this "looks like" a GitHub access code, in which
  1141  	// case Pachyderm does retrieve the corresponding GitHub username)
  1142  	GitHubToken string `protobuf:"bytes,1,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"`
  1143  	// This is a short-lived, one-time-use password generated by Pachyderm, for
  1144  	// the purpose of propagating authentication to new clients (e.g. from the
  1145  	// dash to pachd)
  1146  	OneTimePassword      string   `protobuf:"bytes,2,opt,name=one_time_password,json=oneTimePassword,proto3" json:"one_time_password,omitempty"`
  1147  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1148  	XXX_unrecognized     []byte   `json:"-"`
  1149  	XXX_sizecache        int32    `json:"-"`
  1150  }
  1151  
  1152  func (m *AuthenticateRequest) Reset()         { *m = AuthenticateRequest{} }
  1153  func (m *AuthenticateRequest) String() string { return proto.CompactTextString(m) }
  1154  func (*AuthenticateRequest) ProtoMessage()    {}
  1155  func (*AuthenticateRequest) Descriptor() ([]byte, []int) {
  1156  	return fileDescriptor_4debe1e7b82caa63, []int{16}
  1157  }
  1158  func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error {
  1159  	return m.Unmarshal(b)
  1160  }
  1161  func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1162  	if deterministic {
  1163  		return xxx_messageInfo_AuthenticateRequest.Marshal(b, m, deterministic)
  1164  	} else {
  1165  		b = b[:cap(b)]
  1166  		n, err := m.MarshalToSizedBuffer(b)
  1167  		if err != nil {
  1168  			return nil, err
  1169  		}
  1170  		return b[:n], nil
  1171  	}
  1172  }
  1173  func (m *AuthenticateRequest) XXX_Merge(src proto.Message) {
  1174  	xxx_messageInfo_AuthenticateRequest.Merge(m, src)
  1175  }
  1176  func (m *AuthenticateRequest) XXX_Size() int {
  1177  	return m.Size()
  1178  }
  1179  func (m *AuthenticateRequest) XXX_DiscardUnknown() {
  1180  	xxx_messageInfo_AuthenticateRequest.DiscardUnknown(m)
  1181  }
  1182  
  1183  var xxx_messageInfo_AuthenticateRequest proto.InternalMessageInfo
  1184  
  1185  func (m *AuthenticateRequest) GetGitHubToken() string {
  1186  	if m != nil {
  1187  		return m.GitHubToken
  1188  	}
  1189  	return ""
  1190  }
  1191  
  1192  func (m *AuthenticateRequest) GetOneTimePassword() string {
  1193  	if m != nil {
  1194  		return m.OneTimePassword
  1195  	}
  1196  	return ""
  1197  }
  1198  
  1199  type AuthenticateResponse struct {
  1200  	// pach_token authenticates the caller with Pachyderm (if you want to perform
  1201  	// Pachyderm operations after auth has been activated as themselves, you must
  1202  	// present this token along with your regular request)
  1203  	PachToken            string   `protobuf:"bytes,1,opt,name=pach_token,json=pachToken,proto3" json:"pach_token,omitempty"`
  1204  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1205  	XXX_unrecognized     []byte   `json:"-"`
  1206  	XXX_sizecache        int32    `json:"-"`
  1207  }
  1208  
  1209  func (m *AuthenticateResponse) Reset()         { *m = AuthenticateResponse{} }
  1210  func (m *AuthenticateResponse) String() string { return proto.CompactTextString(m) }
  1211  func (*AuthenticateResponse) ProtoMessage()    {}
  1212  func (*AuthenticateResponse) Descriptor() ([]byte, []int) {
  1213  	return fileDescriptor_4debe1e7b82caa63, []int{17}
  1214  }
  1215  func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error {
  1216  	return m.Unmarshal(b)
  1217  }
  1218  func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1219  	if deterministic {
  1220  		return xxx_messageInfo_AuthenticateResponse.Marshal(b, m, deterministic)
  1221  	} else {
  1222  		b = b[:cap(b)]
  1223  		n, err := m.MarshalToSizedBuffer(b)
  1224  		if err != nil {
  1225  			return nil, err
  1226  		}
  1227  		return b[:n], nil
  1228  	}
  1229  }
  1230  func (m *AuthenticateResponse) XXX_Merge(src proto.Message) {
  1231  	xxx_messageInfo_AuthenticateResponse.Merge(m, src)
  1232  }
  1233  func (m *AuthenticateResponse) XXX_Size() int {
  1234  	return m.Size()
  1235  }
  1236  func (m *AuthenticateResponse) XXX_DiscardUnknown() {
  1237  	xxx_messageInfo_AuthenticateResponse.DiscardUnknown(m)
  1238  }
  1239  
  1240  var xxx_messageInfo_AuthenticateResponse proto.InternalMessageInfo
  1241  
  1242  func (m *AuthenticateResponse) GetPachToken() string {
  1243  	if m != nil {
  1244  		return m.PachToken
  1245  	}
  1246  	return ""
  1247  }
  1248  
  1249  type WhoAmIRequest struct {
  1250  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1251  	XXX_unrecognized     []byte   `json:"-"`
  1252  	XXX_sizecache        int32    `json:"-"`
  1253  }
  1254  
  1255  func (m *WhoAmIRequest) Reset()         { *m = WhoAmIRequest{} }
  1256  func (m *WhoAmIRequest) String() string { return proto.CompactTextString(m) }
  1257  func (*WhoAmIRequest) ProtoMessage()    {}
  1258  func (*WhoAmIRequest) Descriptor() ([]byte, []int) {
  1259  	return fileDescriptor_4debe1e7b82caa63, []int{18}
  1260  }
  1261  func (m *WhoAmIRequest) XXX_Unmarshal(b []byte) error {
  1262  	return m.Unmarshal(b)
  1263  }
  1264  func (m *WhoAmIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1265  	if deterministic {
  1266  		return xxx_messageInfo_WhoAmIRequest.Marshal(b, m, deterministic)
  1267  	} else {
  1268  		b = b[:cap(b)]
  1269  		n, err := m.MarshalToSizedBuffer(b)
  1270  		if err != nil {
  1271  			return nil, err
  1272  		}
  1273  		return b[:n], nil
  1274  	}
  1275  }
  1276  func (m *WhoAmIRequest) XXX_Merge(src proto.Message) {
  1277  	xxx_messageInfo_WhoAmIRequest.Merge(m, src)
  1278  }
  1279  func (m *WhoAmIRequest) XXX_Size() int {
  1280  	return m.Size()
  1281  }
  1282  func (m *WhoAmIRequest) XXX_DiscardUnknown() {
  1283  	xxx_messageInfo_WhoAmIRequest.DiscardUnknown(m)
  1284  }
  1285  
  1286  var xxx_messageInfo_WhoAmIRequest proto.InternalMessageInfo
  1287  
  1288  type WhoAmIResponse struct {
  1289  	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  1290  	IsAdmin              bool     `protobuf:"varint,2,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
  1291  	TTL                  int64    `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  1292  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1293  	XXX_unrecognized     []byte   `json:"-"`
  1294  	XXX_sizecache        int32    `json:"-"`
  1295  }
  1296  
  1297  func (m *WhoAmIResponse) Reset()         { *m = WhoAmIResponse{} }
  1298  func (m *WhoAmIResponse) String() string { return proto.CompactTextString(m) }
  1299  func (*WhoAmIResponse) ProtoMessage()    {}
  1300  func (*WhoAmIResponse) Descriptor() ([]byte, []int) {
  1301  	return fileDescriptor_4debe1e7b82caa63, []int{19}
  1302  }
  1303  func (m *WhoAmIResponse) XXX_Unmarshal(b []byte) error {
  1304  	return m.Unmarshal(b)
  1305  }
  1306  func (m *WhoAmIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1307  	if deterministic {
  1308  		return xxx_messageInfo_WhoAmIResponse.Marshal(b, m, deterministic)
  1309  	} else {
  1310  		b = b[:cap(b)]
  1311  		n, err := m.MarshalToSizedBuffer(b)
  1312  		if err != nil {
  1313  			return nil, err
  1314  		}
  1315  		return b[:n], nil
  1316  	}
  1317  }
  1318  func (m *WhoAmIResponse) XXX_Merge(src proto.Message) {
  1319  	xxx_messageInfo_WhoAmIResponse.Merge(m, src)
  1320  }
  1321  func (m *WhoAmIResponse) XXX_Size() int {
  1322  	return m.Size()
  1323  }
  1324  func (m *WhoAmIResponse) XXX_DiscardUnknown() {
  1325  	xxx_messageInfo_WhoAmIResponse.DiscardUnknown(m)
  1326  }
  1327  
  1328  var xxx_messageInfo_WhoAmIResponse proto.InternalMessageInfo
  1329  
  1330  func (m *WhoAmIResponse) GetUsername() string {
  1331  	if m != nil {
  1332  		return m.Username
  1333  	}
  1334  	return ""
  1335  }
  1336  
  1337  func (m *WhoAmIResponse) GetIsAdmin() bool {
  1338  	if m != nil {
  1339  		return m.IsAdmin
  1340  	}
  1341  	return false
  1342  }
  1343  
  1344  func (m *WhoAmIResponse) GetTTL() int64 {
  1345  	if m != nil {
  1346  		return m.TTL
  1347  	}
  1348  	return 0
  1349  }
  1350  
  1351  type ACL struct {
  1352  	// principal -> scope. All principals are the default principal of a Pachyderm
  1353  	// subject (i.e. all keys in this map are strings prefixed with either
  1354  	// "github:" or "robot:", followed by the name of a GitHub user, all of whom
  1355  	// are Pachyderm subjects, or a Pachyderm robot user)
  1356  	Entries              map[string]Scope `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=auth_1_9.Scope"`
  1357  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  1358  	XXX_unrecognized     []byte           `json:"-"`
  1359  	XXX_sizecache        int32            `json:"-"`
  1360  }
  1361  
  1362  func (m *ACL) Reset()         { *m = ACL{} }
  1363  func (m *ACL) String() string { return proto.CompactTextString(m) }
  1364  func (*ACL) ProtoMessage()    {}
  1365  func (*ACL) Descriptor() ([]byte, []int) {
  1366  	return fileDescriptor_4debe1e7b82caa63, []int{20}
  1367  }
  1368  func (m *ACL) XXX_Unmarshal(b []byte) error {
  1369  	return m.Unmarshal(b)
  1370  }
  1371  func (m *ACL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1372  	if deterministic {
  1373  		return xxx_messageInfo_ACL.Marshal(b, m, deterministic)
  1374  	} else {
  1375  		b = b[:cap(b)]
  1376  		n, err := m.MarshalToSizedBuffer(b)
  1377  		if err != nil {
  1378  			return nil, err
  1379  		}
  1380  		return b[:n], nil
  1381  	}
  1382  }
  1383  func (m *ACL) XXX_Merge(src proto.Message) {
  1384  	xxx_messageInfo_ACL.Merge(m, src)
  1385  }
  1386  func (m *ACL) XXX_Size() int {
  1387  	return m.Size()
  1388  }
  1389  func (m *ACL) XXX_DiscardUnknown() {
  1390  	xxx_messageInfo_ACL.DiscardUnknown(m)
  1391  }
  1392  
  1393  var xxx_messageInfo_ACL proto.InternalMessageInfo
  1394  
  1395  func (m *ACL) GetEntries() map[string]Scope {
  1396  	if m != nil {
  1397  		return m.Entries
  1398  	}
  1399  	return nil
  1400  }
  1401  
  1402  type Users struct {
  1403  	Usernames            map[string]bool `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  1404  	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
  1405  	XXX_unrecognized     []byte          `json:"-"`
  1406  	XXX_sizecache        int32           `json:"-"`
  1407  }
  1408  
  1409  func (m *Users) Reset()         { *m = Users{} }
  1410  func (m *Users) String() string { return proto.CompactTextString(m) }
  1411  func (*Users) ProtoMessage()    {}
  1412  func (*Users) Descriptor() ([]byte, []int) {
  1413  	return fileDescriptor_4debe1e7b82caa63, []int{21}
  1414  }
  1415  func (m *Users) XXX_Unmarshal(b []byte) error {
  1416  	return m.Unmarshal(b)
  1417  }
  1418  func (m *Users) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1419  	if deterministic {
  1420  		return xxx_messageInfo_Users.Marshal(b, m, deterministic)
  1421  	} else {
  1422  		b = b[:cap(b)]
  1423  		n, err := m.MarshalToSizedBuffer(b)
  1424  		if err != nil {
  1425  			return nil, err
  1426  		}
  1427  		return b[:n], nil
  1428  	}
  1429  }
  1430  func (m *Users) XXX_Merge(src proto.Message) {
  1431  	xxx_messageInfo_Users.Merge(m, src)
  1432  }
  1433  func (m *Users) XXX_Size() int {
  1434  	return m.Size()
  1435  }
  1436  func (m *Users) XXX_DiscardUnknown() {
  1437  	xxx_messageInfo_Users.DiscardUnknown(m)
  1438  }
  1439  
  1440  var xxx_messageInfo_Users proto.InternalMessageInfo
  1441  
  1442  func (m *Users) GetUsernames() map[string]bool {
  1443  	if m != nil {
  1444  		return m.Usernames
  1445  	}
  1446  	return nil
  1447  }
  1448  
  1449  type Groups struct {
  1450  	Groups               map[string]bool `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  1451  	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
  1452  	XXX_unrecognized     []byte          `json:"-"`
  1453  	XXX_sizecache        int32           `json:"-"`
  1454  }
  1455  
  1456  func (m *Groups) Reset()         { *m = Groups{} }
  1457  func (m *Groups) String() string { return proto.CompactTextString(m) }
  1458  func (*Groups) ProtoMessage()    {}
  1459  func (*Groups) Descriptor() ([]byte, []int) {
  1460  	return fileDescriptor_4debe1e7b82caa63, []int{22}
  1461  }
  1462  func (m *Groups) XXX_Unmarshal(b []byte) error {
  1463  	return m.Unmarshal(b)
  1464  }
  1465  func (m *Groups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1466  	if deterministic {
  1467  		return xxx_messageInfo_Groups.Marshal(b, m, deterministic)
  1468  	} else {
  1469  		b = b[:cap(b)]
  1470  		n, err := m.MarshalToSizedBuffer(b)
  1471  		if err != nil {
  1472  			return nil, err
  1473  		}
  1474  		return b[:n], nil
  1475  	}
  1476  }
  1477  func (m *Groups) XXX_Merge(src proto.Message) {
  1478  	xxx_messageInfo_Groups.Merge(m, src)
  1479  }
  1480  func (m *Groups) XXX_Size() int {
  1481  	return m.Size()
  1482  }
  1483  func (m *Groups) XXX_DiscardUnknown() {
  1484  	xxx_messageInfo_Groups.DiscardUnknown(m)
  1485  }
  1486  
  1487  var xxx_messageInfo_Groups proto.InternalMessageInfo
  1488  
  1489  func (m *Groups) GetGroups() map[string]bool {
  1490  	if m != nil {
  1491  		return m.Groups
  1492  	}
  1493  	return nil
  1494  }
  1495  
  1496  type AuthorizeRequest struct {
  1497  	// repo is the object that the caller wants to access
  1498  	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
  1499  	// scope is the access level that the caller needs to perform an action
  1500  	Scope                Scope    `protobuf:"varint,2,opt,name=scope,proto3,enum=auth_1_9.Scope" json:"scope,omitempty"`
  1501  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1502  	XXX_unrecognized     []byte   `json:"-"`
  1503  	XXX_sizecache        int32    `json:"-"`
  1504  }
  1505  
  1506  func (m *AuthorizeRequest) Reset()         { *m = AuthorizeRequest{} }
  1507  func (m *AuthorizeRequest) String() string { return proto.CompactTextString(m) }
  1508  func (*AuthorizeRequest) ProtoMessage()    {}
  1509  func (*AuthorizeRequest) Descriptor() ([]byte, []int) {
  1510  	return fileDescriptor_4debe1e7b82caa63, []int{23}
  1511  }
  1512  func (m *AuthorizeRequest) XXX_Unmarshal(b []byte) error {
  1513  	return m.Unmarshal(b)
  1514  }
  1515  func (m *AuthorizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1516  	if deterministic {
  1517  		return xxx_messageInfo_AuthorizeRequest.Marshal(b, m, deterministic)
  1518  	} else {
  1519  		b = b[:cap(b)]
  1520  		n, err := m.MarshalToSizedBuffer(b)
  1521  		if err != nil {
  1522  			return nil, err
  1523  		}
  1524  		return b[:n], nil
  1525  	}
  1526  }
  1527  func (m *AuthorizeRequest) XXX_Merge(src proto.Message) {
  1528  	xxx_messageInfo_AuthorizeRequest.Merge(m, src)
  1529  }
  1530  func (m *AuthorizeRequest) XXX_Size() int {
  1531  	return m.Size()
  1532  }
  1533  func (m *AuthorizeRequest) XXX_DiscardUnknown() {
  1534  	xxx_messageInfo_AuthorizeRequest.DiscardUnknown(m)
  1535  }
  1536  
  1537  var xxx_messageInfo_AuthorizeRequest proto.InternalMessageInfo
  1538  
  1539  func (m *AuthorizeRequest) GetRepo() string {
  1540  	if m != nil {
  1541  		return m.Repo
  1542  	}
  1543  	return ""
  1544  }
  1545  
  1546  func (m *AuthorizeRequest) GetScope() Scope {
  1547  	if m != nil {
  1548  		return m.Scope
  1549  	}
  1550  	return Scope_NONE
  1551  }
  1552  
  1553  type AuthorizeResponse struct {
  1554  	// authorized is true if the caller has at least
  1555  	// 'AuthorizeRequest.scope'-level access to 'AuthorizeRequest.repo', and false
  1556  	// otherwise
  1557  	Authorized           bool     `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
  1558  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1559  	XXX_unrecognized     []byte   `json:"-"`
  1560  	XXX_sizecache        int32    `json:"-"`
  1561  }
  1562  
  1563  func (m *AuthorizeResponse) Reset()         { *m = AuthorizeResponse{} }
  1564  func (m *AuthorizeResponse) String() string { return proto.CompactTextString(m) }
  1565  func (*AuthorizeResponse) ProtoMessage()    {}
  1566  func (*AuthorizeResponse) Descriptor() ([]byte, []int) {
  1567  	return fileDescriptor_4debe1e7b82caa63, []int{24}
  1568  }
  1569  func (m *AuthorizeResponse) XXX_Unmarshal(b []byte) error {
  1570  	return m.Unmarshal(b)
  1571  }
  1572  func (m *AuthorizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1573  	if deterministic {
  1574  		return xxx_messageInfo_AuthorizeResponse.Marshal(b, m, deterministic)
  1575  	} else {
  1576  		b = b[:cap(b)]
  1577  		n, err := m.MarshalToSizedBuffer(b)
  1578  		if err != nil {
  1579  			return nil, err
  1580  		}
  1581  		return b[:n], nil
  1582  	}
  1583  }
  1584  func (m *AuthorizeResponse) XXX_Merge(src proto.Message) {
  1585  	xxx_messageInfo_AuthorizeResponse.Merge(m, src)
  1586  }
  1587  func (m *AuthorizeResponse) XXX_Size() int {
  1588  	return m.Size()
  1589  }
  1590  func (m *AuthorizeResponse) XXX_DiscardUnknown() {
  1591  	xxx_messageInfo_AuthorizeResponse.DiscardUnknown(m)
  1592  }
  1593  
  1594  var xxx_messageInfo_AuthorizeResponse proto.InternalMessageInfo
  1595  
  1596  func (m *AuthorizeResponse) GetAuthorized() bool {
  1597  	if m != nil {
  1598  		return m.Authorized
  1599  	}
  1600  	return false
  1601  }
  1602  
  1603  type GetScopeRequest struct {
  1604  	// username is the principal (some of which belong to robots rather than
  1605  	// users, but the name is preserved for now to provide compatibility with the
  1606  	// pachyderm dash) whose access level is queried. To query the access level
  1607  	// of a robot user, the caller must prefix username with "robot:". If
  1608  	// 'username' has no prefix (i.e. no ":"), then it's assumed to be a github
  1609  	// user's principal.
  1610  	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  1611  	// repos are the objects to which 'username's access level is being queried
  1612  	Repos                []string `protobuf:"bytes,2,rep,name=repos,proto3" json:"repos,omitempty"`
  1613  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1614  	XXX_unrecognized     []byte   `json:"-"`
  1615  	XXX_sizecache        int32    `json:"-"`
  1616  }
  1617  
  1618  func (m *GetScopeRequest) Reset()         { *m = GetScopeRequest{} }
  1619  func (m *GetScopeRequest) String() string { return proto.CompactTextString(m) }
  1620  func (*GetScopeRequest) ProtoMessage()    {}
  1621  func (*GetScopeRequest) Descriptor() ([]byte, []int) {
  1622  	return fileDescriptor_4debe1e7b82caa63, []int{25}
  1623  }
  1624  func (m *GetScopeRequest) XXX_Unmarshal(b []byte) error {
  1625  	return m.Unmarshal(b)
  1626  }
  1627  func (m *GetScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1628  	if deterministic {
  1629  		return xxx_messageInfo_GetScopeRequest.Marshal(b, m, deterministic)
  1630  	} else {
  1631  		b = b[:cap(b)]
  1632  		n, err := m.MarshalToSizedBuffer(b)
  1633  		if err != nil {
  1634  			return nil, err
  1635  		}
  1636  		return b[:n], nil
  1637  	}
  1638  }
  1639  func (m *GetScopeRequest) XXX_Merge(src proto.Message) {
  1640  	xxx_messageInfo_GetScopeRequest.Merge(m, src)
  1641  }
  1642  func (m *GetScopeRequest) XXX_Size() int {
  1643  	return m.Size()
  1644  }
  1645  func (m *GetScopeRequest) XXX_DiscardUnknown() {
  1646  	xxx_messageInfo_GetScopeRequest.DiscardUnknown(m)
  1647  }
  1648  
  1649  var xxx_messageInfo_GetScopeRequest proto.InternalMessageInfo
  1650  
  1651  func (m *GetScopeRequest) GetUsername() string {
  1652  	if m != nil {
  1653  		return m.Username
  1654  	}
  1655  	return ""
  1656  }
  1657  
  1658  func (m *GetScopeRequest) GetRepos() []string {
  1659  	if m != nil {
  1660  		return m.Repos
  1661  	}
  1662  	return nil
  1663  }
  1664  
  1665  type GetScopeResponse struct {
  1666  	// scopes (actually a "role"--see "Scope") are the access level that
  1667  	// 'GetScopeRequest.username' has to each repo in 'GetScopeRequest.repos', in
  1668  	// the same order that repos appeared in 'repos'.
  1669  	Scopes               []Scope  `protobuf:"varint,1,rep,packed,name=scopes,proto3,enum=auth_1_9.Scope" json:"scopes,omitempty"`
  1670  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1671  	XXX_unrecognized     []byte   `json:"-"`
  1672  	XXX_sizecache        int32    `json:"-"`
  1673  }
  1674  
  1675  func (m *GetScopeResponse) Reset()         { *m = GetScopeResponse{} }
  1676  func (m *GetScopeResponse) String() string { return proto.CompactTextString(m) }
  1677  func (*GetScopeResponse) ProtoMessage()    {}
  1678  func (*GetScopeResponse) Descriptor() ([]byte, []int) {
  1679  	return fileDescriptor_4debe1e7b82caa63, []int{26}
  1680  }
  1681  func (m *GetScopeResponse) XXX_Unmarshal(b []byte) error {
  1682  	return m.Unmarshal(b)
  1683  }
  1684  func (m *GetScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1685  	if deterministic {
  1686  		return xxx_messageInfo_GetScopeResponse.Marshal(b, m, deterministic)
  1687  	} else {
  1688  		b = b[:cap(b)]
  1689  		n, err := m.MarshalToSizedBuffer(b)
  1690  		if err != nil {
  1691  			return nil, err
  1692  		}
  1693  		return b[:n], nil
  1694  	}
  1695  }
  1696  func (m *GetScopeResponse) XXX_Merge(src proto.Message) {
  1697  	xxx_messageInfo_GetScopeResponse.Merge(m, src)
  1698  }
  1699  func (m *GetScopeResponse) XXX_Size() int {
  1700  	return m.Size()
  1701  }
  1702  func (m *GetScopeResponse) XXX_DiscardUnknown() {
  1703  	xxx_messageInfo_GetScopeResponse.DiscardUnknown(m)
  1704  }
  1705  
  1706  var xxx_messageInfo_GetScopeResponse proto.InternalMessageInfo
  1707  
  1708  func (m *GetScopeResponse) GetScopes() []Scope {
  1709  	if m != nil {
  1710  		return m.Scopes
  1711  	}
  1712  	return nil
  1713  }
  1714  
  1715  type SetScopeRequest struct {
  1716  	// username is the principal (some of which belong to robots rather than
  1717  	// users, but the name is preserved for now to provide compatibility with the
  1718  	// pachyderm dash) whose access is being granted/revoked. As with
  1719  	// GetScopeRequest, to set the access level of a robot user, the caller must
  1720  	// prefix username with "robot:". If 'username' has no prefix (i.e. no ":"),
  1721  	// then it's assumed to be a github user's principal.
  1722  	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  1723  	// repo is the object to which access is being granted/revoked
  1724  	Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
  1725  	// scope (actually a "role"--see "Scope") is the access level that the owner
  1726  	// of 'principal' will now have
  1727  	Scope                Scope    `protobuf:"varint,3,opt,name=scope,proto3,enum=auth_1_9.Scope" json:"scope,omitempty"`
  1728  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1729  	XXX_unrecognized     []byte   `json:"-"`
  1730  	XXX_sizecache        int32    `json:"-"`
  1731  }
  1732  
  1733  func (m *SetScopeRequest) Reset()         { *m = SetScopeRequest{} }
  1734  func (m *SetScopeRequest) String() string { return proto.CompactTextString(m) }
  1735  func (*SetScopeRequest) ProtoMessage()    {}
  1736  func (*SetScopeRequest) Descriptor() ([]byte, []int) {
  1737  	return fileDescriptor_4debe1e7b82caa63, []int{27}
  1738  }
  1739  func (m *SetScopeRequest) XXX_Unmarshal(b []byte) error {
  1740  	return m.Unmarshal(b)
  1741  }
  1742  func (m *SetScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1743  	if deterministic {
  1744  		return xxx_messageInfo_SetScopeRequest.Marshal(b, m, deterministic)
  1745  	} else {
  1746  		b = b[:cap(b)]
  1747  		n, err := m.MarshalToSizedBuffer(b)
  1748  		if err != nil {
  1749  			return nil, err
  1750  		}
  1751  		return b[:n], nil
  1752  	}
  1753  }
  1754  func (m *SetScopeRequest) XXX_Merge(src proto.Message) {
  1755  	xxx_messageInfo_SetScopeRequest.Merge(m, src)
  1756  }
  1757  func (m *SetScopeRequest) XXX_Size() int {
  1758  	return m.Size()
  1759  }
  1760  func (m *SetScopeRequest) XXX_DiscardUnknown() {
  1761  	xxx_messageInfo_SetScopeRequest.DiscardUnknown(m)
  1762  }
  1763  
  1764  var xxx_messageInfo_SetScopeRequest proto.InternalMessageInfo
  1765  
  1766  func (m *SetScopeRequest) GetUsername() string {
  1767  	if m != nil {
  1768  		return m.Username
  1769  	}
  1770  	return ""
  1771  }
  1772  
  1773  func (m *SetScopeRequest) GetRepo() string {
  1774  	if m != nil {
  1775  		return m.Repo
  1776  	}
  1777  	return ""
  1778  }
  1779  
  1780  func (m *SetScopeRequest) GetScope() Scope {
  1781  	if m != nil {
  1782  		return m.Scope
  1783  	}
  1784  	return Scope_NONE
  1785  }
  1786  
  1787  type SetScopeResponse struct {
  1788  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1789  	XXX_unrecognized     []byte   `json:"-"`
  1790  	XXX_sizecache        int32    `json:"-"`
  1791  }
  1792  
  1793  func (m *SetScopeResponse) Reset()         { *m = SetScopeResponse{} }
  1794  func (m *SetScopeResponse) String() string { return proto.CompactTextString(m) }
  1795  func (*SetScopeResponse) ProtoMessage()    {}
  1796  func (*SetScopeResponse) Descriptor() ([]byte, []int) {
  1797  	return fileDescriptor_4debe1e7b82caa63, []int{28}
  1798  }
  1799  func (m *SetScopeResponse) XXX_Unmarshal(b []byte) error {
  1800  	return m.Unmarshal(b)
  1801  }
  1802  func (m *SetScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1803  	if deterministic {
  1804  		return xxx_messageInfo_SetScopeResponse.Marshal(b, m, deterministic)
  1805  	} else {
  1806  		b = b[:cap(b)]
  1807  		n, err := m.MarshalToSizedBuffer(b)
  1808  		if err != nil {
  1809  			return nil, err
  1810  		}
  1811  		return b[:n], nil
  1812  	}
  1813  }
  1814  func (m *SetScopeResponse) XXX_Merge(src proto.Message) {
  1815  	xxx_messageInfo_SetScopeResponse.Merge(m, src)
  1816  }
  1817  func (m *SetScopeResponse) XXX_Size() int {
  1818  	return m.Size()
  1819  }
  1820  func (m *SetScopeResponse) XXX_DiscardUnknown() {
  1821  	xxx_messageInfo_SetScopeResponse.DiscardUnknown(m)
  1822  }
  1823  
  1824  var xxx_messageInfo_SetScopeResponse proto.InternalMessageInfo
  1825  
  1826  type GetACLRequest struct {
  1827  	Repo                 string   `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
  1828  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1829  	XXX_unrecognized     []byte   `json:"-"`
  1830  	XXX_sizecache        int32    `json:"-"`
  1831  }
  1832  
  1833  func (m *GetACLRequest) Reset()         { *m = GetACLRequest{} }
  1834  func (m *GetACLRequest) String() string { return proto.CompactTextString(m) }
  1835  func (*GetACLRequest) ProtoMessage()    {}
  1836  func (*GetACLRequest) Descriptor() ([]byte, []int) {
  1837  	return fileDescriptor_4debe1e7b82caa63, []int{29}
  1838  }
  1839  func (m *GetACLRequest) XXX_Unmarshal(b []byte) error {
  1840  	return m.Unmarshal(b)
  1841  }
  1842  func (m *GetACLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1843  	if deterministic {
  1844  		return xxx_messageInfo_GetACLRequest.Marshal(b, m, deterministic)
  1845  	} else {
  1846  		b = b[:cap(b)]
  1847  		n, err := m.MarshalToSizedBuffer(b)
  1848  		if err != nil {
  1849  			return nil, err
  1850  		}
  1851  		return b[:n], nil
  1852  	}
  1853  }
  1854  func (m *GetACLRequest) XXX_Merge(src proto.Message) {
  1855  	xxx_messageInfo_GetACLRequest.Merge(m, src)
  1856  }
  1857  func (m *GetACLRequest) XXX_Size() int {
  1858  	return m.Size()
  1859  }
  1860  func (m *GetACLRequest) XXX_DiscardUnknown() {
  1861  	xxx_messageInfo_GetACLRequest.DiscardUnknown(m)
  1862  }
  1863  
  1864  var xxx_messageInfo_GetACLRequest proto.InternalMessageInfo
  1865  
  1866  func (m *GetACLRequest) GetRepo() string {
  1867  	if m != nil {
  1868  		return m.Repo
  1869  	}
  1870  	return ""
  1871  }
  1872  
  1873  type ACLEntry struct {
  1874  	// username is the principal posessing this level of access to this ACL's
  1875  	// repo (despite the name, this principal may be for a human github user or a
  1876  	// pachyderm robot)
  1877  	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  1878  	// scope is the level of access that the owner of 'principal' has to this
  1879  	// ACL's repo (actually a role in typical security terminology)
  1880  	Scope                Scope    `protobuf:"varint,2,opt,name=scope,proto3,enum=auth_1_9.Scope" json:"scope,omitempty"`
  1881  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1882  	XXX_unrecognized     []byte   `json:"-"`
  1883  	XXX_sizecache        int32    `json:"-"`
  1884  }
  1885  
  1886  func (m *ACLEntry) Reset()         { *m = ACLEntry{} }
  1887  func (m *ACLEntry) String() string { return proto.CompactTextString(m) }
  1888  func (*ACLEntry) ProtoMessage()    {}
  1889  func (*ACLEntry) Descriptor() ([]byte, []int) {
  1890  	return fileDescriptor_4debe1e7b82caa63, []int{30}
  1891  }
  1892  func (m *ACLEntry) XXX_Unmarshal(b []byte) error {
  1893  	return m.Unmarshal(b)
  1894  }
  1895  func (m *ACLEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1896  	if deterministic {
  1897  		return xxx_messageInfo_ACLEntry.Marshal(b, m, deterministic)
  1898  	} else {
  1899  		b = b[:cap(b)]
  1900  		n, err := m.MarshalToSizedBuffer(b)
  1901  		if err != nil {
  1902  			return nil, err
  1903  		}
  1904  		return b[:n], nil
  1905  	}
  1906  }
  1907  func (m *ACLEntry) XXX_Merge(src proto.Message) {
  1908  	xxx_messageInfo_ACLEntry.Merge(m, src)
  1909  }
  1910  func (m *ACLEntry) XXX_Size() int {
  1911  	return m.Size()
  1912  }
  1913  func (m *ACLEntry) XXX_DiscardUnknown() {
  1914  	xxx_messageInfo_ACLEntry.DiscardUnknown(m)
  1915  }
  1916  
  1917  var xxx_messageInfo_ACLEntry proto.InternalMessageInfo
  1918  
  1919  func (m *ACLEntry) GetUsername() string {
  1920  	if m != nil {
  1921  		return m.Username
  1922  	}
  1923  	return ""
  1924  }
  1925  
  1926  func (m *ACLEntry) GetScope() Scope {
  1927  	if m != nil {
  1928  		return m.Scope
  1929  	}
  1930  	return Scope_NONE
  1931  }
  1932  
  1933  // GetACLReponse contains the list of entries on a Pachyderm ACL.
  1934  //
  1935  // To avoid migration pain with the Pachyderm dash the list of user principal
  1936  // entries and robot principal entries are separate. This way, no prefix or
  1937  // other disambiguating device is needed in 'entries' to separate user
  1938  // principals from robot principals (which would confuse the dash). Instead,
  1939  // the dash can simply ignore robot principals.
  1940  type GetACLResponse struct {
  1941  	// entries contains all [user principal] -> [role] mappings. This is separate
  1942  	// from robot_entries to avoid migration pain the Pachyderm dashboard
  1943  	Entries []*ACLEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
  1944  	// robot_entries contains all [robot principal] -> [role] mappings. This is
  1945  	// separate from entries to be unambiguous (all keys are robot principals, but
  1946  	// have no prefixes) while avoiding migration pain in the Pachyderm dashboard.
  1947  	RobotEntries         []*ACLEntry `protobuf:"bytes,2,rep,name=robot_entries,json=robotEntries,proto3" json:"robot_entries,omitempty"`
  1948  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  1949  	XXX_unrecognized     []byte      `json:"-"`
  1950  	XXX_sizecache        int32       `json:"-"`
  1951  }
  1952  
  1953  func (m *GetACLResponse) Reset()         { *m = GetACLResponse{} }
  1954  func (m *GetACLResponse) String() string { return proto.CompactTextString(m) }
  1955  func (*GetACLResponse) ProtoMessage()    {}
  1956  func (*GetACLResponse) Descriptor() ([]byte, []int) {
  1957  	return fileDescriptor_4debe1e7b82caa63, []int{31}
  1958  }
  1959  func (m *GetACLResponse) XXX_Unmarshal(b []byte) error {
  1960  	return m.Unmarshal(b)
  1961  }
  1962  func (m *GetACLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1963  	if deterministic {
  1964  		return xxx_messageInfo_GetACLResponse.Marshal(b, m, deterministic)
  1965  	} else {
  1966  		b = b[:cap(b)]
  1967  		n, err := m.MarshalToSizedBuffer(b)
  1968  		if err != nil {
  1969  			return nil, err
  1970  		}
  1971  		return b[:n], nil
  1972  	}
  1973  }
  1974  func (m *GetACLResponse) XXX_Merge(src proto.Message) {
  1975  	xxx_messageInfo_GetACLResponse.Merge(m, src)
  1976  }
  1977  func (m *GetACLResponse) XXX_Size() int {
  1978  	return m.Size()
  1979  }
  1980  func (m *GetACLResponse) XXX_DiscardUnknown() {
  1981  	xxx_messageInfo_GetACLResponse.DiscardUnknown(m)
  1982  }
  1983  
  1984  var xxx_messageInfo_GetACLResponse proto.InternalMessageInfo
  1985  
  1986  func (m *GetACLResponse) GetEntries() []*ACLEntry {
  1987  	if m != nil {
  1988  		return m.Entries
  1989  	}
  1990  	return nil
  1991  }
  1992  
  1993  func (m *GetACLResponse) GetRobotEntries() []*ACLEntry {
  1994  	if m != nil {
  1995  		return m.RobotEntries
  1996  	}
  1997  	return nil
  1998  }
  1999  
  2000  type SetACLRequest struct {
  2001  	Repo                 string      `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
  2002  	Entries              []*ACLEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
  2003  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  2004  	XXX_unrecognized     []byte      `json:"-"`
  2005  	XXX_sizecache        int32       `json:"-"`
  2006  }
  2007  
  2008  func (m *SetACLRequest) Reset()         { *m = SetACLRequest{} }
  2009  func (m *SetACLRequest) String() string { return proto.CompactTextString(m) }
  2010  func (*SetACLRequest) ProtoMessage()    {}
  2011  func (*SetACLRequest) Descriptor() ([]byte, []int) {
  2012  	return fileDescriptor_4debe1e7b82caa63, []int{32}
  2013  }
  2014  func (m *SetACLRequest) XXX_Unmarshal(b []byte) error {
  2015  	return m.Unmarshal(b)
  2016  }
  2017  func (m *SetACLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2018  	if deterministic {
  2019  		return xxx_messageInfo_SetACLRequest.Marshal(b, m, deterministic)
  2020  	} else {
  2021  		b = b[:cap(b)]
  2022  		n, err := m.MarshalToSizedBuffer(b)
  2023  		if err != nil {
  2024  			return nil, err
  2025  		}
  2026  		return b[:n], nil
  2027  	}
  2028  }
  2029  func (m *SetACLRequest) XXX_Merge(src proto.Message) {
  2030  	xxx_messageInfo_SetACLRequest.Merge(m, src)
  2031  }
  2032  func (m *SetACLRequest) XXX_Size() int {
  2033  	return m.Size()
  2034  }
  2035  func (m *SetACLRequest) XXX_DiscardUnknown() {
  2036  	xxx_messageInfo_SetACLRequest.DiscardUnknown(m)
  2037  }
  2038  
  2039  var xxx_messageInfo_SetACLRequest proto.InternalMessageInfo
  2040  
  2041  func (m *SetACLRequest) GetRepo() string {
  2042  	if m != nil {
  2043  		return m.Repo
  2044  	}
  2045  	return ""
  2046  }
  2047  
  2048  func (m *SetACLRequest) GetEntries() []*ACLEntry {
  2049  	if m != nil {
  2050  		return m.Entries
  2051  	}
  2052  	return nil
  2053  }
  2054  
  2055  type SetACLResponse struct {
  2056  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2057  	XXX_unrecognized     []byte   `json:"-"`
  2058  	XXX_sizecache        int32    `json:"-"`
  2059  }
  2060  
  2061  func (m *SetACLResponse) Reset()         { *m = SetACLResponse{} }
  2062  func (m *SetACLResponse) String() string { return proto.CompactTextString(m) }
  2063  func (*SetACLResponse) ProtoMessage()    {}
  2064  func (*SetACLResponse) Descriptor() ([]byte, []int) {
  2065  	return fileDescriptor_4debe1e7b82caa63, []int{33}
  2066  }
  2067  func (m *SetACLResponse) XXX_Unmarshal(b []byte) error {
  2068  	return m.Unmarshal(b)
  2069  }
  2070  func (m *SetACLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2071  	if deterministic {
  2072  		return xxx_messageInfo_SetACLResponse.Marshal(b, m, deterministic)
  2073  	} else {
  2074  		b = b[:cap(b)]
  2075  		n, err := m.MarshalToSizedBuffer(b)
  2076  		if err != nil {
  2077  			return nil, err
  2078  		}
  2079  		return b[:n], nil
  2080  	}
  2081  }
  2082  func (m *SetACLResponse) XXX_Merge(src proto.Message) {
  2083  	xxx_messageInfo_SetACLResponse.Merge(m, src)
  2084  }
  2085  func (m *SetACLResponse) XXX_Size() int {
  2086  	return m.Size()
  2087  }
  2088  func (m *SetACLResponse) XXX_DiscardUnknown() {
  2089  	xxx_messageInfo_SetACLResponse.DiscardUnknown(m)
  2090  }
  2091  
  2092  var xxx_messageInfo_SetACLResponse proto.InternalMessageInfo
  2093  
  2094  type GetAuthTokenRequest struct {
  2095  	// The returned token will allow the caller to access resources as this
  2096  	// subject
  2097  	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
  2098  	// ttl indicates the requested (approximate) remaining lifetime of this token,
  2099  	// in seconds
  2100  	TTL                  int64    `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
  2101  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2102  	XXX_unrecognized     []byte   `json:"-"`
  2103  	XXX_sizecache        int32    `json:"-"`
  2104  }
  2105  
  2106  func (m *GetAuthTokenRequest) Reset()         { *m = GetAuthTokenRequest{} }
  2107  func (m *GetAuthTokenRequest) String() string { return proto.CompactTextString(m) }
  2108  func (*GetAuthTokenRequest) ProtoMessage()    {}
  2109  func (*GetAuthTokenRequest) Descriptor() ([]byte, []int) {
  2110  	return fileDescriptor_4debe1e7b82caa63, []int{34}
  2111  }
  2112  func (m *GetAuthTokenRequest) XXX_Unmarshal(b []byte) error {
  2113  	return m.Unmarshal(b)
  2114  }
  2115  func (m *GetAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2116  	if deterministic {
  2117  		return xxx_messageInfo_GetAuthTokenRequest.Marshal(b, m, deterministic)
  2118  	} else {
  2119  		b = b[:cap(b)]
  2120  		n, err := m.MarshalToSizedBuffer(b)
  2121  		if err != nil {
  2122  			return nil, err
  2123  		}
  2124  		return b[:n], nil
  2125  	}
  2126  }
  2127  func (m *GetAuthTokenRequest) XXX_Merge(src proto.Message) {
  2128  	xxx_messageInfo_GetAuthTokenRequest.Merge(m, src)
  2129  }
  2130  func (m *GetAuthTokenRequest) XXX_Size() int {
  2131  	return m.Size()
  2132  }
  2133  func (m *GetAuthTokenRequest) XXX_DiscardUnknown() {
  2134  	xxx_messageInfo_GetAuthTokenRequest.DiscardUnknown(m)
  2135  }
  2136  
  2137  var xxx_messageInfo_GetAuthTokenRequest proto.InternalMessageInfo
  2138  
  2139  func (m *GetAuthTokenRequest) GetSubject() string {
  2140  	if m != nil {
  2141  		return m.Subject
  2142  	}
  2143  	return ""
  2144  }
  2145  
  2146  func (m *GetAuthTokenRequest) GetTTL() int64 {
  2147  	if m != nil {
  2148  		return m.TTL
  2149  	}
  2150  	return 0
  2151  }
  2152  
  2153  type GetAuthTokenResponse struct {
  2154  	// A canonicalized version of the subject in the request
  2155  	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
  2156  	// A new auth token for the user in 'GetAuthTokenRequest.Subject' token
  2157  	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  2158  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2159  	XXX_unrecognized     []byte   `json:"-"`
  2160  	XXX_sizecache        int32    `json:"-"`
  2161  }
  2162  
  2163  func (m *GetAuthTokenResponse) Reset()         { *m = GetAuthTokenResponse{} }
  2164  func (m *GetAuthTokenResponse) String() string { return proto.CompactTextString(m) }
  2165  func (*GetAuthTokenResponse) ProtoMessage()    {}
  2166  func (*GetAuthTokenResponse) Descriptor() ([]byte, []int) {
  2167  	return fileDescriptor_4debe1e7b82caa63, []int{35}
  2168  }
  2169  func (m *GetAuthTokenResponse) XXX_Unmarshal(b []byte) error {
  2170  	return m.Unmarshal(b)
  2171  }
  2172  func (m *GetAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2173  	if deterministic {
  2174  		return xxx_messageInfo_GetAuthTokenResponse.Marshal(b, m, deterministic)
  2175  	} else {
  2176  		b = b[:cap(b)]
  2177  		n, err := m.MarshalToSizedBuffer(b)
  2178  		if err != nil {
  2179  			return nil, err
  2180  		}
  2181  		return b[:n], nil
  2182  	}
  2183  }
  2184  func (m *GetAuthTokenResponse) XXX_Merge(src proto.Message) {
  2185  	xxx_messageInfo_GetAuthTokenResponse.Merge(m, src)
  2186  }
  2187  func (m *GetAuthTokenResponse) XXX_Size() int {
  2188  	return m.Size()
  2189  }
  2190  func (m *GetAuthTokenResponse) XXX_DiscardUnknown() {
  2191  	xxx_messageInfo_GetAuthTokenResponse.DiscardUnknown(m)
  2192  }
  2193  
  2194  var xxx_messageInfo_GetAuthTokenResponse proto.InternalMessageInfo
  2195  
  2196  func (m *GetAuthTokenResponse) GetSubject() string {
  2197  	if m != nil {
  2198  		return m.Subject
  2199  	}
  2200  	return ""
  2201  }
  2202  
  2203  func (m *GetAuthTokenResponse) GetToken() string {
  2204  	if m != nil {
  2205  		return m.Token
  2206  	}
  2207  	return ""
  2208  }
  2209  
  2210  type ExtendAuthTokenRequest struct {
  2211  	// token indicates the Pachyderm token whose TTL is being extended
  2212  	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  2213  	// ttl indicates the new TTL of 'token' (if it's longer than the existing TTL)
  2214  	TTL                  int64    `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
  2215  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2216  	XXX_unrecognized     []byte   `json:"-"`
  2217  	XXX_sizecache        int32    `json:"-"`
  2218  }
  2219  
  2220  func (m *ExtendAuthTokenRequest) Reset()         { *m = ExtendAuthTokenRequest{} }
  2221  func (m *ExtendAuthTokenRequest) String() string { return proto.CompactTextString(m) }
  2222  func (*ExtendAuthTokenRequest) ProtoMessage()    {}
  2223  func (*ExtendAuthTokenRequest) Descriptor() ([]byte, []int) {
  2224  	return fileDescriptor_4debe1e7b82caa63, []int{36}
  2225  }
  2226  func (m *ExtendAuthTokenRequest) XXX_Unmarshal(b []byte) error {
  2227  	return m.Unmarshal(b)
  2228  }
  2229  func (m *ExtendAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2230  	if deterministic {
  2231  		return xxx_messageInfo_ExtendAuthTokenRequest.Marshal(b, m, deterministic)
  2232  	} else {
  2233  		b = b[:cap(b)]
  2234  		n, err := m.MarshalToSizedBuffer(b)
  2235  		if err != nil {
  2236  			return nil, err
  2237  		}
  2238  		return b[:n], nil
  2239  	}
  2240  }
  2241  func (m *ExtendAuthTokenRequest) XXX_Merge(src proto.Message) {
  2242  	xxx_messageInfo_ExtendAuthTokenRequest.Merge(m, src)
  2243  }
  2244  func (m *ExtendAuthTokenRequest) XXX_Size() int {
  2245  	return m.Size()
  2246  }
  2247  func (m *ExtendAuthTokenRequest) XXX_DiscardUnknown() {
  2248  	xxx_messageInfo_ExtendAuthTokenRequest.DiscardUnknown(m)
  2249  }
  2250  
  2251  var xxx_messageInfo_ExtendAuthTokenRequest proto.InternalMessageInfo
  2252  
  2253  func (m *ExtendAuthTokenRequest) GetToken() string {
  2254  	if m != nil {
  2255  		return m.Token
  2256  	}
  2257  	return ""
  2258  }
  2259  
  2260  func (m *ExtendAuthTokenRequest) GetTTL() int64 {
  2261  	if m != nil {
  2262  		return m.TTL
  2263  	}
  2264  	return 0
  2265  }
  2266  
  2267  type ExtendAuthTokenResponse struct {
  2268  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2269  	XXX_unrecognized     []byte   `json:"-"`
  2270  	XXX_sizecache        int32    `json:"-"`
  2271  }
  2272  
  2273  func (m *ExtendAuthTokenResponse) Reset()         { *m = ExtendAuthTokenResponse{} }
  2274  func (m *ExtendAuthTokenResponse) String() string { return proto.CompactTextString(m) }
  2275  func (*ExtendAuthTokenResponse) ProtoMessage()    {}
  2276  func (*ExtendAuthTokenResponse) Descriptor() ([]byte, []int) {
  2277  	return fileDescriptor_4debe1e7b82caa63, []int{37}
  2278  }
  2279  func (m *ExtendAuthTokenResponse) XXX_Unmarshal(b []byte) error {
  2280  	return m.Unmarshal(b)
  2281  }
  2282  func (m *ExtendAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2283  	if deterministic {
  2284  		return xxx_messageInfo_ExtendAuthTokenResponse.Marshal(b, m, deterministic)
  2285  	} else {
  2286  		b = b[:cap(b)]
  2287  		n, err := m.MarshalToSizedBuffer(b)
  2288  		if err != nil {
  2289  			return nil, err
  2290  		}
  2291  		return b[:n], nil
  2292  	}
  2293  }
  2294  func (m *ExtendAuthTokenResponse) XXX_Merge(src proto.Message) {
  2295  	xxx_messageInfo_ExtendAuthTokenResponse.Merge(m, src)
  2296  }
  2297  func (m *ExtendAuthTokenResponse) XXX_Size() int {
  2298  	return m.Size()
  2299  }
  2300  func (m *ExtendAuthTokenResponse) XXX_DiscardUnknown() {
  2301  	xxx_messageInfo_ExtendAuthTokenResponse.DiscardUnknown(m)
  2302  }
  2303  
  2304  var xxx_messageInfo_ExtendAuthTokenResponse proto.InternalMessageInfo
  2305  
  2306  type RevokeAuthTokenRequest struct {
  2307  	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  2308  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2309  	XXX_unrecognized     []byte   `json:"-"`
  2310  	XXX_sizecache        int32    `json:"-"`
  2311  }
  2312  
  2313  func (m *RevokeAuthTokenRequest) Reset()         { *m = RevokeAuthTokenRequest{} }
  2314  func (m *RevokeAuthTokenRequest) String() string { return proto.CompactTextString(m) }
  2315  func (*RevokeAuthTokenRequest) ProtoMessage()    {}
  2316  func (*RevokeAuthTokenRequest) Descriptor() ([]byte, []int) {
  2317  	return fileDescriptor_4debe1e7b82caa63, []int{38}
  2318  }
  2319  func (m *RevokeAuthTokenRequest) XXX_Unmarshal(b []byte) error {
  2320  	return m.Unmarshal(b)
  2321  }
  2322  func (m *RevokeAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2323  	if deterministic {
  2324  		return xxx_messageInfo_RevokeAuthTokenRequest.Marshal(b, m, deterministic)
  2325  	} else {
  2326  		b = b[:cap(b)]
  2327  		n, err := m.MarshalToSizedBuffer(b)
  2328  		if err != nil {
  2329  			return nil, err
  2330  		}
  2331  		return b[:n], nil
  2332  	}
  2333  }
  2334  func (m *RevokeAuthTokenRequest) XXX_Merge(src proto.Message) {
  2335  	xxx_messageInfo_RevokeAuthTokenRequest.Merge(m, src)
  2336  }
  2337  func (m *RevokeAuthTokenRequest) XXX_Size() int {
  2338  	return m.Size()
  2339  }
  2340  func (m *RevokeAuthTokenRequest) XXX_DiscardUnknown() {
  2341  	xxx_messageInfo_RevokeAuthTokenRequest.DiscardUnknown(m)
  2342  }
  2343  
  2344  var xxx_messageInfo_RevokeAuthTokenRequest proto.InternalMessageInfo
  2345  
  2346  func (m *RevokeAuthTokenRequest) GetToken() string {
  2347  	if m != nil {
  2348  		return m.Token
  2349  	}
  2350  	return ""
  2351  }
  2352  
  2353  type RevokeAuthTokenResponse struct {
  2354  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2355  	XXX_unrecognized     []byte   `json:"-"`
  2356  	XXX_sizecache        int32    `json:"-"`
  2357  }
  2358  
  2359  func (m *RevokeAuthTokenResponse) Reset()         { *m = RevokeAuthTokenResponse{} }
  2360  func (m *RevokeAuthTokenResponse) String() string { return proto.CompactTextString(m) }
  2361  func (*RevokeAuthTokenResponse) ProtoMessage()    {}
  2362  func (*RevokeAuthTokenResponse) Descriptor() ([]byte, []int) {
  2363  	return fileDescriptor_4debe1e7b82caa63, []int{39}
  2364  }
  2365  func (m *RevokeAuthTokenResponse) XXX_Unmarshal(b []byte) error {
  2366  	return m.Unmarshal(b)
  2367  }
  2368  func (m *RevokeAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2369  	if deterministic {
  2370  		return xxx_messageInfo_RevokeAuthTokenResponse.Marshal(b, m, deterministic)
  2371  	} else {
  2372  		b = b[:cap(b)]
  2373  		n, err := m.MarshalToSizedBuffer(b)
  2374  		if err != nil {
  2375  			return nil, err
  2376  		}
  2377  		return b[:n], nil
  2378  	}
  2379  }
  2380  func (m *RevokeAuthTokenResponse) XXX_Merge(src proto.Message) {
  2381  	xxx_messageInfo_RevokeAuthTokenResponse.Merge(m, src)
  2382  }
  2383  func (m *RevokeAuthTokenResponse) XXX_Size() int {
  2384  	return m.Size()
  2385  }
  2386  func (m *RevokeAuthTokenResponse) XXX_DiscardUnknown() {
  2387  	xxx_messageInfo_RevokeAuthTokenResponse.DiscardUnknown(m)
  2388  }
  2389  
  2390  var xxx_messageInfo_RevokeAuthTokenResponse proto.InternalMessageInfo
  2391  
  2392  type SetGroupsForUserRequest struct {
  2393  	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  2394  	Groups               []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
  2395  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2396  	XXX_unrecognized     []byte   `json:"-"`
  2397  	XXX_sizecache        int32    `json:"-"`
  2398  }
  2399  
  2400  func (m *SetGroupsForUserRequest) Reset()         { *m = SetGroupsForUserRequest{} }
  2401  func (m *SetGroupsForUserRequest) String() string { return proto.CompactTextString(m) }
  2402  func (*SetGroupsForUserRequest) ProtoMessage()    {}
  2403  func (*SetGroupsForUserRequest) Descriptor() ([]byte, []int) {
  2404  	return fileDescriptor_4debe1e7b82caa63, []int{40}
  2405  }
  2406  func (m *SetGroupsForUserRequest) XXX_Unmarshal(b []byte) error {
  2407  	return m.Unmarshal(b)
  2408  }
  2409  func (m *SetGroupsForUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2410  	if deterministic {
  2411  		return xxx_messageInfo_SetGroupsForUserRequest.Marshal(b, m, deterministic)
  2412  	} else {
  2413  		b = b[:cap(b)]
  2414  		n, err := m.MarshalToSizedBuffer(b)
  2415  		if err != nil {
  2416  			return nil, err
  2417  		}
  2418  		return b[:n], nil
  2419  	}
  2420  }
  2421  func (m *SetGroupsForUserRequest) XXX_Merge(src proto.Message) {
  2422  	xxx_messageInfo_SetGroupsForUserRequest.Merge(m, src)
  2423  }
  2424  func (m *SetGroupsForUserRequest) XXX_Size() int {
  2425  	return m.Size()
  2426  }
  2427  func (m *SetGroupsForUserRequest) XXX_DiscardUnknown() {
  2428  	xxx_messageInfo_SetGroupsForUserRequest.DiscardUnknown(m)
  2429  }
  2430  
  2431  var xxx_messageInfo_SetGroupsForUserRequest proto.InternalMessageInfo
  2432  
  2433  func (m *SetGroupsForUserRequest) GetUsername() string {
  2434  	if m != nil {
  2435  		return m.Username
  2436  	}
  2437  	return ""
  2438  }
  2439  
  2440  func (m *SetGroupsForUserRequest) GetGroups() []string {
  2441  	if m != nil {
  2442  		return m.Groups
  2443  	}
  2444  	return nil
  2445  }
  2446  
  2447  type SetGroupsForUserResponse struct {
  2448  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2449  	XXX_unrecognized     []byte   `json:"-"`
  2450  	XXX_sizecache        int32    `json:"-"`
  2451  }
  2452  
  2453  func (m *SetGroupsForUserResponse) Reset()         { *m = SetGroupsForUserResponse{} }
  2454  func (m *SetGroupsForUserResponse) String() string { return proto.CompactTextString(m) }
  2455  func (*SetGroupsForUserResponse) ProtoMessage()    {}
  2456  func (*SetGroupsForUserResponse) Descriptor() ([]byte, []int) {
  2457  	return fileDescriptor_4debe1e7b82caa63, []int{41}
  2458  }
  2459  func (m *SetGroupsForUserResponse) XXX_Unmarshal(b []byte) error {
  2460  	return m.Unmarshal(b)
  2461  }
  2462  func (m *SetGroupsForUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2463  	if deterministic {
  2464  		return xxx_messageInfo_SetGroupsForUserResponse.Marshal(b, m, deterministic)
  2465  	} else {
  2466  		b = b[:cap(b)]
  2467  		n, err := m.MarshalToSizedBuffer(b)
  2468  		if err != nil {
  2469  			return nil, err
  2470  		}
  2471  		return b[:n], nil
  2472  	}
  2473  }
  2474  func (m *SetGroupsForUserResponse) XXX_Merge(src proto.Message) {
  2475  	xxx_messageInfo_SetGroupsForUserResponse.Merge(m, src)
  2476  }
  2477  func (m *SetGroupsForUserResponse) XXX_Size() int {
  2478  	return m.Size()
  2479  }
  2480  func (m *SetGroupsForUserResponse) XXX_DiscardUnknown() {
  2481  	xxx_messageInfo_SetGroupsForUserResponse.DiscardUnknown(m)
  2482  }
  2483  
  2484  var xxx_messageInfo_SetGroupsForUserResponse proto.InternalMessageInfo
  2485  
  2486  type ModifyMembersRequest struct {
  2487  	Group                string   `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  2488  	Add                  []string `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty"`
  2489  	Remove               []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
  2490  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2491  	XXX_unrecognized     []byte   `json:"-"`
  2492  	XXX_sizecache        int32    `json:"-"`
  2493  }
  2494  
  2495  func (m *ModifyMembersRequest) Reset()         { *m = ModifyMembersRequest{} }
  2496  func (m *ModifyMembersRequest) String() string { return proto.CompactTextString(m) }
  2497  func (*ModifyMembersRequest) ProtoMessage()    {}
  2498  func (*ModifyMembersRequest) Descriptor() ([]byte, []int) {
  2499  	return fileDescriptor_4debe1e7b82caa63, []int{42}
  2500  }
  2501  func (m *ModifyMembersRequest) XXX_Unmarshal(b []byte) error {
  2502  	return m.Unmarshal(b)
  2503  }
  2504  func (m *ModifyMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2505  	if deterministic {
  2506  		return xxx_messageInfo_ModifyMembersRequest.Marshal(b, m, deterministic)
  2507  	} else {
  2508  		b = b[:cap(b)]
  2509  		n, err := m.MarshalToSizedBuffer(b)
  2510  		if err != nil {
  2511  			return nil, err
  2512  		}
  2513  		return b[:n], nil
  2514  	}
  2515  }
  2516  func (m *ModifyMembersRequest) XXX_Merge(src proto.Message) {
  2517  	xxx_messageInfo_ModifyMembersRequest.Merge(m, src)
  2518  }
  2519  func (m *ModifyMembersRequest) XXX_Size() int {
  2520  	return m.Size()
  2521  }
  2522  func (m *ModifyMembersRequest) XXX_DiscardUnknown() {
  2523  	xxx_messageInfo_ModifyMembersRequest.DiscardUnknown(m)
  2524  }
  2525  
  2526  var xxx_messageInfo_ModifyMembersRequest proto.InternalMessageInfo
  2527  
  2528  func (m *ModifyMembersRequest) GetGroup() string {
  2529  	if m != nil {
  2530  		return m.Group
  2531  	}
  2532  	return ""
  2533  }
  2534  
  2535  func (m *ModifyMembersRequest) GetAdd() []string {
  2536  	if m != nil {
  2537  		return m.Add
  2538  	}
  2539  	return nil
  2540  }
  2541  
  2542  func (m *ModifyMembersRequest) GetRemove() []string {
  2543  	if m != nil {
  2544  		return m.Remove
  2545  	}
  2546  	return nil
  2547  }
  2548  
  2549  type ModifyMembersResponse struct {
  2550  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2551  	XXX_unrecognized     []byte   `json:"-"`
  2552  	XXX_sizecache        int32    `json:"-"`
  2553  }
  2554  
  2555  func (m *ModifyMembersResponse) Reset()         { *m = ModifyMembersResponse{} }
  2556  func (m *ModifyMembersResponse) String() string { return proto.CompactTextString(m) }
  2557  func (*ModifyMembersResponse) ProtoMessage()    {}
  2558  func (*ModifyMembersResponse) Descriptor() ([]byte, []int) {
  2559  	return fileDescriptor_4debe1e7b82caa63, []int{43}
  2560  }
  2561  func (m *ModifyMembersResponse) XXX_Unmarshal(b []byte) error {
  2562  	return m.Unmarshal(b)
  2563  }
  2564  func (m *ModifyMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2565  	if deterministic {
  2566  		return xxx_messageInfo_ModifyMembersResponse.Marshal(b, m, deterministic)
  2567  	} else {
  2568  		b = b[:cap(b)]
  2569  		n, err := m.MarshalToSizedBuffer(b)
  2570  		if err != nil {
  2571  			return nil, err
  2572  		}
  2573  		return b[:n], nil
  2574  	}
  2575  }
  2576  func (m *ModifyMembersResponse) XXX_Merge(src proto.Message) {
  2577  	xxx_messageInfo_ModifyMembersResponse.Merge(m, src)
  2578  }
  2579  func (m *ModifyMembersResponse) XXX_Size() int {
  2580  	return m.Size()
  2581  }
  2582  func (m *ModifyMembersResponse) XXX_DiscardUnknown() {
  2583  	xxx_messageInfo_ModifyMembersResponse.DiscardUnknown(m)
  2584  }
  2585  
  2586  var xxx_messageInfo_ModifyMembersResponse proto.InternalMessageInfo
  2587  
  2588  type GetGroupsRequest struct {
  2589  	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
  2590  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2591  	XXX_unrecognized     []byte   `json:"-"`
  2592  	XXX_sizecache        int32    `json:"-"`
  2593  }
  2594  
  2595  func (m *GetGroupsRequest) Reset()         { *m = GetGroupsRequest{} }
  2596  func (m *GetGroupsRequest) String() string { return proto.CompactTextString(m) }
  2597  func (*GetGroupsRequest) ProtoMessage()    {}
  2598  func (*GetGroupsRequest) Descriptor() ([]byte, []int) {
  2599  	return fileDescriptor_4debe1e7b82caa63, []int{44}
  2600  }
  2601  func (m *GetGroupsRequest) XXX_Unmarshal(b []byte) error {
  2602  	return m.Unmarshal(b)
  2603  }
  2604  func (m *GetGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2605  	if deterministic {
  2606  		return xxx_messageInfo_GetGroupsRequest.Marshal(b, m, deterministic)
  2607  	} else {
  2608  		b = b[:cap(b)]
  2609  		n, err := m.MarshalToSizedBuffer(b)
  2610  		if err != nil {
  2611  			return nil, err
  2612  		}
  2613  		return b[:n], nil
  2614  	}
  2615  }
  2616  func (m *GetGroupsRequest) XXX_Merge(src proto.Message) {
  2617  	xxx_messageInfo_GetGroupsRequest.Merge(m, src)
  2618  }
  2619  func (m *GetGroupsRequest) XXX_Size() int {
  2620  	return m.Size()
  2621  }
  2622  func (m *GetGroupsRequest) XXX_DiscardUnknown() {
  2623  	xxx_messageInfo_GetGroupsRequest.DiscardUnknown(m)
  2624  }
  2625  
  2626  var xxx_messageInfo_GetGroupsRequest proto.InternalMessageInfo
  2627  
  2628  func (m *GetGroupsRequest) GetUsername() string {
  2629  	if m != nil {
  2630  		return m.Username
  2631  	}
  2632  	return ""
  2633  }
  2634  
  2635  type GetGroupsResponse struct {
  2636  	Groups               []string `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
  2637  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2638  	XXX_unrecognized     []byte   `json:"-"`
  2639  	XXX_sizecache        int32    `json:"-"`
  2640  }
  2641  
  2642  func (m *GetGroupsResponse) Reset()         { *m = GetGroupsResponse{} }
  2643  func (m *GetGroupsResponse) String() string { return proto.CompactTextString(m) }
  2644  func (*GetGroupsResponse) ProtoMessage()    {}
  2645  func (*GetGroupsResponse) Descriptor() ([]byte, []int) {
  2646  	return fileDescriptor_4debe1e7b82caa63, []int{45}
  2647  }
  2648  func (m *GetGroupsResponse) XXX_Unmarshal(b []byte) error {
  2649  	return m.Unmarshal(b)
  2650  }
  2651  func (m *GetGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2652  	if deterministic {
  2653  		return xxx_messageInfo_GetGroupsResponse.Marshal(b, m, deterministic)
  2654  	} else {
  2655  		b = b[:cap(b)]
  2656  		n, err := m.MarshalToSizedBuffer(b)
  2657  		if err != nil {
  2658  			return nil, err
  2659  		}
  2660  		return b[:n], nil
  2661  	}
  2662  }
  2663  func (m *GetGroupsResponse) XXX_Merge(src proto.Message) {
  2664  	xxx_messageInfo_GetGroupsResponse.Merge(m, src)
  2665  }
  2666  func (m *GetGroupsResponse) XXX_Size() int {
  2667  	return m.Size()
  2668  }
  2669  func (m *GetGroupsResponse) XXX_DiscardUnknown() {
  2670  	xxx_messageInfo_GetGroupsResponse.DiscardUnknown(m)
  2671  }
  2672  
  2673  var xxx_messageInfo_GetGroupsResponse proto.InternalMessageInfo
  2674  
  2675  func (m *GetGroupsResponse) GetGroups() []string {
  2676  	if m != nil {
  2677  		return m.Groups
  2678  	}
  2679  	return nil
  2680  }
  2681  
  2682  type GetUsersRequest struct {
  2683  	Group                string   `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
  2684  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2685  	XXX_unrecognized     []byte   `json:"-"`
  2686  	XXX_sizecache        int32    `json:"-"`
  2687  }
  2688  
  2689  func (m *GetUsersRequest) Reset()         { *m = GetUsersRequest{} }
  2690  func (m *GetUsersRequest) String() string { return proto.CompactTextString(m) }
  2691  func (*GetUsersRequest) ProtoMessage()    {}
  2692  func (*GetUsersRequest) Descriptor() ([]byte, []int) {
  2693  	return fileDescriptor_4debe1e7b82caa63, []int{46}
  2694  }
  2695  func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error {
  2696  	return m.Unmarshal(b)
  2697  }
  2698  func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2699  	if deterministic {
  2700  		return xxx_messageInfo_GetUsersRequest.Marshal(b, m, deterministic)
  2701  	} else {
  2702  		b = b[:cap(b)]
  2703  		n, err := m.MarshalToSizedBuffer(b)
  2704  		if err != nil {
  2705  			return nil, err
  2706  		}
  2707  		return b[:n], nil
  2708  	}
  2709  }
  2710  func (m *GetUsersRequest) XXX_Merge(src proto.Message) {
  2711  	xxx_messageInfo_GetUsersRequest.Merge(m, src)
  2712  }
  2713  func (m *GetUsersRequest) XXX_Size() int {
  2714  	return m.Size()
  2715  }
  2716  func (m *GetUsersRequest) XXX_DiscardUnknown() {
  2717  	xxx_messageInfo_GetUsersRequest.DiscardUnknown(m)
  2718  }
  2719  
  2720  var xxx_messageInfo_GetUsersRequest proto.InternalMessageInfo
  2721  
  2722  func (m *GetUsersRequest) GetGroup() string {
  2723  	if m != nil {
  2724  		return m.Group
  2725  	}
  2726  	return ""
  2727  }
  2728  
  2729  type GetUsersResponse struct {
  2730  	Usernames            []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"`
  2731  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2732  	XXX_unrecognized     []byte   `json:"-"`
  2733  	XXX_sizecache        int32    `json:"-"`
  2734  }
  2735  
  2736  func (m *GetUsersResponse) Reset()         { *m = GetUsersResponse{} }
  2737  func (m *GetUsersResponse) String() string { return proto.CompactTextString(m) }
  2738  func (*GetUsersResponse) ProtoMessage()    {}
  2739  func (*GetUsersResponse) Descriptor() ([]byte, []int) {
  2740  	return fileDescriptor_4debe1e7b82caa63, []int{47}
  2741  }
  2742  func (m *GetUsersResponse) XXX_Unmarshal(b []byte) error {
  2743  	return m.Unmarshal(b)
  2744  }
  2745  func (m *GetUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2746  	if deterministic {
  2747  		return xxx_messageInfo_GetUsersResponse.Marshal(b, m, deterministic)
  2748  	} else {
  2749  		b = b[:cap(b)]
  2750  		n, err := m.MarshalToSizedBuffer(b)
  2751  		if err != nil {
  2752  			return nil, err
  2753  		}
  2754  		return b[:n], nil
  2755  	}
  2756  }
  2757  func (m *GetUsersResponse) XXX_Merge(src proto.Message) {
  2758  	xxx_messageInfo_GetUsersResponse.Merge(m, src)
  2759  }
  2760  func (m *GetUsersResponse) XXX_Size() int {
  2761  	return m.Size()
  2762  }
  2763  func (m *GetUsersResponse) XXX_DiscardUnknown() {
  2764  	xxx_messageInfo_GetUsersResponse.DiscardUnknown(m)
  2765  }
  2766  
  2767  var xxx_messageInfo_GetUsersResponse proto.InternalMessageInfo
  2768  
  2769  func (m *GetUsersResponse) GetUsernames() []string {
  2770  	if m != nil {
  2771  		return m.Usernames
  2772  	}
  2773  	return nil
  2774  }
  2775  
  2776  // GetOneTimePassword allows users to generate short-lived (~30s) tokens that
  2777  // can be passed to Authenticate() (via AuthenticateRequest.one_time_password)
  2778  // and exchanged for a longer-lived pachyderm token. This is more secure than
  2779  // GetAuthToken, which produces long-lived authorization tokens.
  2780  type GetOneTimePasswordRequest struct {
  2781  	// If the caller is an admin, GetOneTimePassword() can return a code for
  2782  	// any user (useful for testing).
  2783  	// If the caller is not an admin, GetOneTimePassword() will return an
  2784  	// authentication code for the caller if username is unset or set to the
  2785  	// caller's username (and will return an error otherwise)
  2786  	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
  2787  	// ttl indicates the requested (approximate) remaining lifetime of this token,
  2788  	// in seconds
  2789  	TTL                  int64    `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
  2790  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2791  	XXX_unrecognized     []byte   `json:"-"`
  2792  	XXX_sizecache        int32    `json:"-"`
  2793  }
  2794  
  2795  func (m *GetOneTimePasswordRequest) Reset()         { *m = GetOneTimePasswordRequest{} }
  2796  func (m *GetOneTimePasswordRequest) String() string { return proto.CompactTextString(m) }
  2797  func (*GetOneTimePasswordRequest) ProtoMessage()    {}
  2798  func (*GetOneTimePasswordRequest) Descriptor() ([]byte, []int) {
  2799  	return fileDescriptor_4debe1e7b82caa63, []int{48}
  2800  }
  2801  func (m *GetOneTimePasswordRequest) XXX_Unmarshal(b []byte) error {
  2802  	return m.Unmarshal(b)
  2803  }
  2804  func (m *GetOneTimePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2805  	if deterministic {
  2806  		return xxx_messageInfo_GetOneTimePasswordRequest.Marshal(b, m, deterministic)
  2807  	} else {
  2808  		b = b[:cap(b)]
  2809  		n, err := m.MarshalToSizedBuffer(b)
  2810  		if err != nil {
  2811  			return nil, err
  2812  		}
  2813  		return b[:n], nil
  2814  	}
  2815  }
  2816  func (m *GetOneTimePasswordRequest) XXX_Merge(src proto.Message) {
  2817  	xxx_messageInfo_GetOneTimePasswordRequest.Merge(m, src)
  2818  }
  2819  func (m *GetOneTimePasswordRequest) XXX_Size() int {
  2820  	return m.Size()
  2821  }
  2822  func (m *GetOneTimePasswordRequest) XXX_DiscardUnknown() {
  2823  	xxx_messageInfo_GetOneTimePasswordRequest.DiscardUnknown(m)
  2824  }
  2825  
  2826  var xxx_messageInfo_GetOneTimePasswordRequest proto.InternalMessageInfo
  2827  
  2828  func (m *GetOneTimePasswordRequest) GetSubject() string {
  2829  	if m != nil {
  2830  		return m.Subject
  2831  	}
  2832  	return ""
  2833  }
  2834  
  2835  func (m *GetOneTimePasswordRequest) GetTTL() int64 {
  2836  	if m != nil {
  2837  		return m.TTL
  2838  	}
  2839  	return 0
  2840  }
  2841  
  2842  type GetOneTimePasswordResponse struct {
  2843  	// 'code' is the string that must be presented in
  2844  	// AuthenticateRequest.one_time_password to login as
  2845  	// GetOneTimePasswordRequest.subject
  2846  	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
  2847  	// expiration is the time at which the token in 'code' will expire
  2848  	OTPExpiration        *types.Timestamp `protobuf:"bytes,2,opt,name=otp_expiration,json=otpExpiration,proto3" json:"otp_expiration,omitempty"`
  2849  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  2850  	XXX_unrecognized     []byte           `json:"-"`
  2851  	XXX_sizecache        int32            `json:"-"`
  2852  }
  2853  
  2854  func (m *GetOneTimePasswordResponse) Reset()         { *m = GetOneTimePasswordResponse{} }
  2855  func (m *GetOneTimePasswordResponse) String() string { return proto.CompactTextString(m) }
  2856  func (*GetOneTimePasswordResponse) ProtoMessage()    {}
  2857  func (*GetOneTimePasswordResponse) Descriptor() ([]byte, []int) {
  2858  	return fileDescriptor_4debe1e7b82caa63, []int{49}
  2859  }
  2860  func (m *GetOneTimePasswordResponse) XXX_Unmarshal(b []byte) error {
  2861  	return m.Unmarshal(b)
  2862  }
  2863  func (m *GetOneTimePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2864  	if deterministic {
  2865  		return xxx_messageInfo_GetOneTimePasswordResponse.Marshal(b, m, deterministic)
  2866  	} else {
  2867  		b = b[:cap(b)]
  2868  		n, err := m.MarshalToSizedBuffer(b)
  2869  		if err != nil {
  2870  			return nil, err
  2871  		}
  2872  		return b[:n], nil
  2873  	}
  2874  }
  2875  func (m *GetOneTimePasswordResponse) XXX_Merge(src proto.Message) {
  2876  	xxx_messageInfo_GetOneTimePasswordResponse.Merge(m, src)
  2877  }
  2878  func (m *GetOneTimePasswordResponse) XXX_Size() int {
  2879  	return m.Size()
  2880  }
  2881  func (m *GetOneTimePasswordResponse) XXX_DiscardUnknown() {
  2882  	xxx_messageInfo_GetOneTimePasswordResponse.DiscardUnknown(m)
  2883  }
  2884  
  2885  var xxx_messageInfo_GetOneTimePasswordResponse proto.InternalMessageInfo
  2886  
  2887  func (m *GetOneTimePasswordResponse) GetCode() string {
  2888  	if m != nil {
  2889  		return m.Code
  2890  	}
  2891  	return ""
  2892  }
  2893  
  2894  func (m *GetOneTimePasswordResponse) GetOTPExpiration() *types.Timestamp {
  2895  	if m != nil {
  2896  		return m.OTPExpiration
  2897  	}
  2898  	return nil
  2899  }
  2900  
  2901  func init() {
  2902  	proto.RegisterEnum("auth_1_9.Scope", Scope_name, Scope_value)
  2903  	proto.RegisterEnum("auth_1_9.TokenInfo_TokenSource", TokenInfo_TokenSource_name, TokenInfo_TokenSource_value)
  2904  	proto.RegisterType((*ActivateRequest)(nil), "auth_1_9.ActivateRequest")
  2905  	proto.RegisterType((*ActivateResponse)(nil), "auth_1_9.ActivateResponse")
  2906  	proto.RegisterType((*DeactivateRequest)(nil), "auth_1_9.DeactivateRequest")
  2907  	proto.RegisterType((*DeactivateResponse)(nil), "auth_1_9.DeactivateResponse")
  2908  	proto.RegisterType((*IDProvider)(nil), "auth_1_9.IDProvider")
  2909  	proto.RegisterType((*IDProvider_SAMLOptions)(nil), "auth_1_9.IDProvider.SAMLOptions")
  2910  	proto.RegisterType((*IDProvider_GitHubOptions)(nil), "auth_1_9.IDProvider.GitHubOptions")
  2911  	proto.RegisterType((*AuthConfig)(nil), "auth_1_9.AuthConfig")
  2912  	proto.RegisterType((*AuthConfig_SAMLServiceOptions)(nil), "auth_1_9.AuthConfig.SAMLServiceOptions")
  2913  	proto.RegisterType((*GetConfigurationRequest)(nil), "auth_1_9.GetConfigurationRequest")
  2914  	proto.RegisterType((*GetConfigurationResponse)(nil), "auth_1_9.GetConfigurationResponse")
  2915  	proto.RegisterType((*SetConfigurationRequest)(nil), "auth_1_9.SetConfigurationRequest")
  2916  	proto.RegisterType((*SetConfigurationResponse)(nil), "auth_1_9.SetConfigurationResponse")
  2917  	proto.RegisterType((*GetAdminsRequest)(nil), "auth_1_9.GetAdminsRequest")
  2918  	proto.RegisterType((*GetAdminsResponse)(nil), "auth_1_9.GetAdminsResponse")
  2919  	proto.RegisterType((*ModifyAdminsRequest)(nil), "auth_1_9.ModifyAdminsRequest")
  2920  	proto.RegisterType((*ModifyAdminsResponse)(nil), "auth_1_9.ModifyAdminsResponse")
  2921  	proto.RegisterType((*OTPInfo)(nil), "auth_1_9.OTPInfo")
  2922  	proto.RegisterType((*TokenInfo)(nil), "auth_1_9.TokenInfo")
  2923  	proto.RegisterType((*AuthenticateRequest)(nil), "auth_1_9.AuthenticateRequest")
  2924  	proto.RegisterType((*AuthenticateResponse)(nil), "auth_1_9.AuthenticateResponse")
  2925  	proto.RegisterType((*WhoAmIRequest)(nil), "auth_1_9.WhoAmIRequest")
  2926  	proto.RegisterType((*WhoAmIResponse)(nil), "auth_1_9.WhoAmIResponse")
  2927  	proto.RegisterType((*ACL)(nil), "auth_1_9.ACL")
  2928  	proto.RegisterMapType((map[string]Scope)(nil), "auth_1_9.ACL.EntriesEntry")
  2929  	proto.RegisterType((*Users)(nil), "auth_1_9.Users")
  2930  	proto.RegisterMapType((map[string]bool)(nil), "auth_1_9.Users.UsernamesEntry")
  2931  	proto.RegisterType((*Groups)(nil), "auth_1_9.Groups")
  2932  	proto.RegisterMapType((map[string]bool)(nil), "auth_1_9.Groups.GroupsEntry")
  2933  	proto.RegisterType((*AuthorizeRequest)(nil), "auth_1_9.AuthorizeRequest")
  2934  	proto.RegisterType((*AuthorizeResponse)(nil), "auth_1_9.AuthorizeResponse")
  2935  	proto.RegisterType((*GetScopeRequest)(nil), "auth_1_9.GetScopeRequest")
  2936  	proto.RegisterType((*GetScopeResponse)(nil), "auth_1_9.GetScopeResponse")
  2937  	proto.RegisterType((*SetScopeRequest)(nil), "auth_1_9.SetScopeRequest")
  2938  	proto.RegisterType((*SetScopeResponse)(nil), "auth_1_9.SetScopeResponse")
  2939  	proto.RegisterType((*GetACLRequest)(nil), "auth_1_9.GetACLRequest")
  2940  	proto.RegisterType((*ACLEntry)(nil), "auth_1_9.ACLEntry")
  2941  	proto.RegisterType((*GetACLResponse)(nil), "auth_1_9.GetACLResponse")
  2942  	proto.RegisterType((*SetACLRequest)(nil), "auth_1_9.SetACLRequest")
  2943  	proto.RegisterType((*SetACLResponse)(nil), "auth_1_9.SetACLResponse")
  2944  	proto.RegisterType((*GetAuthTokenRequest)(nil), "auth_1_9.GetAuthTokenRequest")
  2945  	proto.RegisterType((*GetAuthTokenResponse)(nil), "auth_1_9.GetAuthTokenResponse")
  2946  	proto.RegisterType((*ExtendAuthTokenRequest)(nil), "auth_1_9.ExtendAuthTokenRequest")
  2947  	proto.RegisterType((*ExtendAuthTokenResponse)(nil), "auth_1_9.ExtendAuthTokenResponse")
  2948  	proto.RegisterType((*RevokeAuthTokenRequest)(nil), "auth_1_9.RevokeAuthTokenRequest")
  2949  	proto.RegisterType((*RevokeAuthTokenResponse)(nil), "auth_1_9.RevokeAuthTokenResponse")
  2950  	proto.RegisterType((*SetGroupsForUserRequest)(nil), "auth_1_9.SetGroupsForUserRequest")
  2951  	proto.RegisterType((*SetGroupsForUserResponse)(nil), "auth_1_9.SetGroupsForUserResponse")
  2952  	proto.RegisterType((*ModifyMembersRequest)(nil), "auth_1_9.ModifyMembersRequest")
  2953  	proto.RegisterType((*ModifyMembersResponse)(nil), "auth_1_9.ModifyMembersResponse")
  2954  	proto.RegisterType((*GetGroupsRequest)(nil), "auth_1_9.GetGroupsRequest")
  2955  	proto.RegisterType((*GetGroupsResponse)(nil), "auth_1_9.GetGroupsResponse")
  2956  	proto.RegisterType((*GetUsersRequest)(nil), "auth_1_9.GetUsersRequest")
  2957  	proto.RegisterType((*GetUsersResponse)(nil), "auth_1_9.GetUsersResponse")
  2958  	proto.RegisterType((*GetOneTimePasswordRequest)(nil), "auth_1_9.GetOneTimePasswordRequest")
  2959  	proto.RegisterType((*GetOneTimePasswordResponse)(nil), "auth_1_9.GetOneTimePasswordResponse")
  2960  }
  2961  
  2962  func init() { proto.RegisterFile("client/admin/v1_9/auth/auth.proto", fileDescriptor_4debe1e7b82caa63) }
  2963  
  2964  var fileDescriptor_4debe1e7b82caa63 = []byte{
  2965  	// 1955 bytes of a gzipped FileDescriptorProto
  2966  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0xdd, 0x73, 0xda, 0xd8,
  2967  	0x15, 0xb7, 0xc0, 0xc6, 0x70, 0x00, 0x83, 0xaf, 0xa9, 0x8d, 0xb5, 0x59, 0xe3, 0x28, 0x6d, 0xe3,
  2968  	0x6e, 0x3b, 0xb8, 0xf1, 0xa6, 0xb3, 0xcd, 0x7e, 0xb4, 0x83, 0x31, 0x71, 0xe8, 0x62, 0xe3, 0x4a,
  2969  	0x38, 0xc9, 0xb4, 0x0f, 0x1a, 0x21, 0x6e, 0xb0, 0x1a, 0x40, 0x54, 0x12, 0x6c, 0xdc, 0xd7, 0xce,
  2970  	0x74, 0xfa, 0x3f, 0x74, 0xa6, 0x7f, 0x4f, 0x1f, 0xfb, 0xda, 0x17, 0x4f, 0x87, 0x99, 0xbe, 0xf6,
  2971  	0x2f, 0xe8, 0x43, 0xe7, 0x7e, 0x08, 0x5d, 0x09, 0x41, 0x9c, 0xcd, 0x8b, 0xad, 0x7b, 0x3e, 0x7e,
  2972  	0xf7, 0x7c, 0xdc, 0x7b, 0xce, 0xb9, 0xc0, 0x43, 0x73, 0x60, 0xe1, 0x91, 0x77, 0x6c, 0xf4, 0x86,
  2973  	0xd6, 0xe8, 0x78, 0xfa, 0x44, 0x7f, 0x76, 0x6c, 0x4c, 0xbc, 0x1b, 0xfa, 0xa7, 0x3a, 0x76, 0x6c,
  2974  	0xcf, 0x46, 0x69, 0xf2, 0xad, 0x3f, 0xd1, 0x9f, 0xc9, 0xa5, 0xbe, 0xdd, 0xb7, 0x29, 0xf1, 0x98,
  2975  	0x7c, 0x31, 0xbe, 0x5c, 0xe9, 0xdb, 0x76, 0x7f, 0x80, 0x8f, 0xe9, 0xaa, 0x3b, 0x79, 0x73, 0xec,
  2976  	0x59, 0x43, 0xec, 0x7a, 0xc6, 0x70, 0xcc, 0x04, 0x14, 0x1d, 0x0a, 0x35, 0xd3, 0xb3, 0xa6, 0x86,
  2977  	0x87, 0x55, 0xfc, 0xc7, 0x09, 0x76, 0x3d, 0x54, 0x86, 0x4d, 0x77, 0xd2, 0xfd, 0x03, 0x36, 0xbd,
  2978  	0x72, 0xe2, 0x50, 0x3a, 0xca, 0xa8, 0xfe, 0x12, 0x9d, 0x40, 0xae, 0x6f, 0x79, 0x37, 0x93, 0xae,
  2979  	0xee, 0xd9, 0x6f, 0xf1, 0xa8, 0x2c, 0x11, 0xf6, 0x69, 0x61, 0x76, 0x57, 0xc9, 0x9e, 0x5b, 0xde,
  2980  	0x8b, 0x49, 0xb7, 0x43, 0xc8, 0x6a, 0x96, 0x09, 0xd1, 0x85, 0xf2, 0x04, 0x8a, 0xc1, 0x06, 0xee,
  2981  	0xd8, 0x1e, 0xb9, 0x18, 0x7d, 0x0a, 0x30, 0x36, 0xcc, 0x1b, 0x11, 0x45, 0xcd, 0x10, 0x0a, 0x53,
  2982  	0xd9, 0x81, 0xed, 0x33, 0x6c, 0x84, 0xad, 0x52, 0x4a, 0x80, 0x44, 0x22, 0x43, 0x52, 0xfe, 0x97,
  2983  	0x00, 0x68, 0x9e, 0x5d, 0x39, 0xf6, 0xd4, 0xea, 0x61, 0x07, 0x21, 0x58, 0x1f, 0x19, 0x43, 0xcc,
  2984  	0x21, 0xe9, 0x37, 0x3a, 0x84, 0x6c, 0x0f, 0xbb, 0xa6, 0x63, 0x8d, 0x3d, 0xcb, 0x1e, 0x71, 0x97,
  2985  	0x44, 0x12, 0xfa, 0x15, 0xac, 0xbb, 0xc6, 0x70, 0x50, 0x4e, 0x1e, 0x4a, 0x47, 0xd9, 0x93, 0xc3,
  2986  	0xaa, 0x1f, 0xd3, 0x6a, 0x80, 0x5c, 0xd5, 0x6a, 0x17, 0xad, 0x36, 0x15, 0x77, 0x4f, 0xd3, 0xb3,
  2987  	0xbb, 0xca, 0x3a, 0x21, 0xa8, 0x54, 0x0f, 0x3d, 0x87, 0x14, 0xf3, 0xb8, 0xbc, 0x4e, 0x11, 0x94,
  2988  	0x58, 0x04, 0x16, 0x21, 0x1f, 0x03, 0x66, 0x77, 0x95, 0x14, 0x23, 0xa9, 0x5c, 0x5b, 0xfe, 0xbb,
  2989  	0x04, 0x59, 0x61, 0x1f, 0x12, 0xee, 0x21, 0xf6, 0x8c, 0x9e, 0xe1, 0x19, 0xfa, 0xc4, 0x19, 0x88,
  2990  	0xe1, 0xbe, 0xe0, 0xf4, 0x6b, 0xb5, 0xa5, 0x66, 0x7d, 0xa1, 0x6b, 0x67, 0x10, 0xd2, 0x79, 0x37,
  2991  	0x1c, 0x50, 0x77, 0x73, 0x61, 0x9d, 0xd7, 0x17, 0x82, 0xce, 0xeb, 0xe1, 0x00, 0x3d, 0x86, 0x42,
  2992  	0xdf, 0xb1, 0x27, 0x63, 0xdd, 0xf0, 0x3c, 0xc7, 0xea, 0x4e, 0x3c, 0x4c, 0x43, 0x91, 0x51, 0xb7,
  2993  	0x28, 0xb9, 0xe6, 0x53, 0xe5, 0x02, 0xe4, 0x43, 0x5e, 0x28, 0xff, 0x4a, 0x02, 0xd4, 0x26, 0xde,
  2994  	0x4d, 0xdd, 0x1e, 0xbd, 0xb1, 0xfa, 0xa8, 0x0a, 0x3b, 0x03, 0x6b, 0x8a, 0x75, 0x93, 0x2e, 0xf5,
  2995  	0x29, 0x76, 0x5c, 0x12, 0x72, 0x62, 0x77, 0x52, 0xdd, 0x26, 0x2c, 0x26, 0xf8, 0x92, 0x31, 0xd0,
  2996  	0x0b, 0xc8, 0x59, 0x3d, 0x7d, 0xcc, 0x23, 0xe4, 0x96, 0x13, 0x87, 0xc9, 0xa3, 0xec, 0x49, 0x29,
  2997  	0x2e, 0x7c, 0xcc, 0x85, 0x60, 0xed, 0xaa, 0x59, 0xab, 0x37, 0x5f, 0x20, 0x0b, 0x8a, 0x24, 0x15,
  2998  	0xba, 0x3b, 0x35, 0x75, 0x9b, 0x19, 0xc7, 0xd3, 0xf9, 0x38, 0x40, 0x0b, 0x2c, 0xa5, 0xe9, 0xd4,
  2999  	0xb0, 0x33, 0xb5, 0x4c, 0xec, 0x67, 0x64, 0x77, 0x76, 0x57, 0x41, 0x8b, 0x74, 0x75, 0x8b, 0x00,
  3000  	0x6b, 0x53, 0x93, 0xaf, 0xe5, 0xff, 0x48, 0x10, 0x23, 0x86, 0x1e, 0xc1, 0xa6, 0x61, 0xba, 0x42,
  3001  	0x9e, 0x68, 0x86, 0x6b, 0x75, 0x8d, 0xa4, 0x28, 0x65, 0x98, 0x6e, 0x34, 0x3b, 0x44, 0x32, 0x71,
  3002  	0x8f, 0x8c, 0xfe, 0x18, 0xd2, 0x3d, 0xc3, 0xbd, 0xa1, 0xf2, 0x34, 0x2d, 0xa7, 0xd9, 0xd9, 0x5d,
  3003  	0x65, 0xf3, 0xcc, 0x70, 0x6f, 0x88, 0xec, 0x26, 0x61, 0x12, 0xb9, 0x9f, 0x40, 0xd1, 0xc5, 0x2e,
  3004  	0x89, 0xab, 0xde, 0x9b, 0x38, 0x06, 0x3d, 0xec, 0xeb, 0x34, 0x8d, 0x05, 0x4e, 0x3f, 0xe3, 0x64,
  3005  	0xf4, 0x08, 0xf2, 0x3d, 0xdc, 0x9d, 0xf4, 0xf5, 0x81, 0xdd, 0xef, 0x5b, 0xa3, 0x7e, 0x79, 0xe3,
  3006  	0x50, 0x3a, 0x4a, 0xab, 0x39, 0x4a, 0x6c, 0x31, 0x9a, 0xb2, 0x0f, 0x7b, 0xe7, 0xd8, 0x63, 0xf1,
  3007  	0xe2, 0x8a, 0xfe, 0x5d, 0x7c, 0x09, 0xe5, 0x45, 0x16, 0xbf, 0xdb, 0x5f, 0x42, 0xde, 0x14, 0x19,
  3008  	0x34, 0x1a, 0xa1, 0xa4, 0x06, 0x69, 0x50, 0xc3, 0xa2, 0xca, 0x35, 0xec, 0x69, 0xf1, 0x5b, 0x7e,
  3009  	0x14, 0xac, 0x0c, 0x65, 0x6d, 0x89, 0xb9, 0x0a, 0x82, 0xe2, 0x39, 0xf6, 0x6a, 0xa4, 0xc2, 0xba,
  3010  	0xbe, 0x7b, 0x3f, 0x85, 0x6d, 0x81, 0xc6, 0xfd, 0xda, 0x85, 0x14, 0xad, 0xc3, 0x6e, 0x59, 0x3a,
  3011  	0x4c, 0x1e, 0x65, 0x54, 0xbe, 0x52, 0x7e, 0x0d, 0x3b, 0x17, 0x76, 0xcf, 0x7a, 0x73, 0x1b, 0xc2,
  3012  	0x40, 0x45, 0x48, 0x1a, 0xbd, 0x1e, 0x97, 0x25, 0x9f, 0x04, 0xc0, 0xc1, 0x43, 0x7b, 0x8a, 0xe9,
  3013  	0x31, 0xcf, 0xa8, 0x7c, 0xa5, 0xec, 0x42, 0x29, 0x0c, 0xc0, 0x2d, 0x1b, 0xc1, 0x66, 0xbb, 0x73,
  3014  	0xd5, 0x1c, 0xbd, 0xb1, 0xc5, 0x8a, 0x2c, 0x85, 0x2b, 0x72, 0x13, 0x90, 0x9f, 0x74, 0xfc, 0x6e,
  3015  	0x6c, 0xf1, 0xd8, 0x24, 0x68, 0x6c, 0xe4, 0x2a, 0x2b, 0xfe, 0x55, 0xbf, 0xf8, 0x57, 0x3b, 0x7e,
  3016  	0xf1, 0x57, 0xb7, 0xb9, 0x56, 0x63, 0xae, 0xa4, 0xfc, 0x4d, 0x82, 0x0c, 0xad, 0xbf, 0xef, 0xd9,
  3017  	0xf2, 0x0b, 0x48, 0xb9, 0xf6, 0xc4, 0x31, 0x31, 0xdd, 0x66, 0xeb, 0xa4, 0x12, 0xa4, 0x60, 0xae,
  3018  	0xce, 0xbe, 0x34, 0x2a, 0xa6, 0x72, 0x71, 0xe5, 0x2b, 0xc8, 0x0a, 0x64, 0x94, 0x85, 0xcd, 0xe6,
  3019  	0xe5, 0xcb, 0x5a, 0xab, 0x79, 0x56, 0x5c, 0x43, 0x45, 0xc8, 0xd5, 0xae, 0x3b, 0x2f, 0x1a, 0x97,
  3020  	0x9d, 0x66, 0xbd, 0xd6, 0x69, 0x14, 0x25, 0x94, 0x87, 0xcc, 0x79, 0xa3, 0xa3, 0x77, 0xda, 0xdf,
  3021  	0x36, 0x2e, 0x8b, 0x09, 0x65, 0x02, 0x3b, 0x24, 0xc1, 0x78, 0xe4, 0x59, 0xa6, 0xd0, 0xab, 0xbe,
  3022  	0x47, 0x47, 0x42, 0x9f, 0xc1, 0xb6, 0x3d, 0xc2, 0x3a, 0xe9, 0x84, 0xfa, 0xd8, 0x70, 0xdd, 0xef,
  3023  	0x6c, 0xa7, 0xc7, 0xdb, 0x42, 0xc1, 0x1e, 0x61, 0x12, 0xa4, 0x2b, 0x4e, 0x56, 0x7e, 0x01, 0xa5,
  3024  	0xf0, 0xb6, 0xf7, 0xeb, 0x60, 0x05, 0xc8, 0xbf, 0xba, 0xb1, 0x6b, 0xc3, 0xa6, 0x7f, 0xa4, 0xba,
  3025  	0xb0, 0xe5, 0x13, 0x38, 0x82, 0x0c, 0xe9, 0x89, 0x8b, 0x1d, 0xa1, 0x5d, 0xcd, 0xd7, 0x68, 0x1f,
  3026  	0xd2, 0x96, 0xab, 0xd3, 0x03, 0x46, 0x0d, 0x4b, 0xab, 0x9b, 0x96, 0x4b, 0x8f, 0x07, 0xda, 0x87,
  3027  	0xa4, 0xe7, 0xb1, 0x42, 0x90, 0x3c, 0xdd, 0x9c, 0xdd, 0x55, 0x92, 0x9d, 0x4e, 0x4b, 0x25, 0x34,
  3028  	0xe5, 0xaf, 0x12, 0x24, 0x6b, 0xf5, 0x16, 0x7a, 0x0a, 0x9b, 0x78, 0xe4, 0x39, 0x16, 0x66, 0x47,
  3029  	0x95, 0x1c, 0x84, 0xe0, 0x92, 0xd4, 0x5b, 0xd5, 0x06, 0x63, 0x92, 0x7f, 0xb7, 0xaa, 0x2f, 0x2a,
  3030  	0x7f, 0x0b, 0x39, 0x91, 0x41, 0x0e, 0xf0, 0x5b, 0x7c, 0xcb, 0x4d, 0x23, 0x9f, 0xe8, 0x47, 0xb0,
  3031  	0x31, 0x35, 0x06, 0x13, 0x3f, 0xef, 0x85, 0x00, 0x55, 0x33, 0xed, 0x31, 0x56, 0x19, 0xf7, 0xcb,
  3032  	0xc4, 0x2f, 0x25, 0xe5, 0xcf, 0x12, 0x6c, 0x5c, 0xbb, 0xa4, 0x30, 0x7f, 0x0d, 0x19, 0xdf, 0x2d,
  3033  	0xdf, 0x9c, 0x83, 0x40, 0x91, 0xca, 0xd0, 0xbf, 0x54, 0x80, 0x99, 0x14, 0x28, 0xc8, 0x5f, 0xc3,
  3034  	0x56, 0x98, 0x19, 0x63, 0x56, 0x49, 0x34, 0x2b, 0x2d, 0x5a, 0x71, 0x0b, 0xa9, 0x73, 0xd2, 0xc0,
  3035  	0x5c, 0xf4, 0x14, 0x52, 0xb4, 0x95, 0xf9, 0x26, 0x3c, 0x08, 0x4c, 0x60, 0x12, 0xfc, 0x1f, 0x33,
  3036  	0x80, 0xcb, 0xca, 0xcf, 0x20, 0x2b, 0x90, 0x3f, 0x68, 0xeb, 0x0b, 0x28, 0x92, 0x73, 0x63, 0x3b,
  3037  	0xd6, 0x9f, 0xe6, 0x67, 0x15, 0xc1, 0xba, 0x83, 0xc7, 0xb6, 0x3f, 0x9c, 0x90, 0x6f, 0x12, 0x53,
  3038  	0x97, 0x04, 0x6f, 0x69, 0x4c, 0x29, 0x57, 0xf9, 0x1c, 0xb6, 0x05, 0x38, 0x7e, 0x82, 0x0e, 0x00,
  3039  	0x0c, 0x9f, 0xd8, 0xa3, 0xa8, 0x69, 0x55, 0xa0, 0x28, 0x75, 0x28, 0x9c, 0x63, 0x8f, 0xe1, 0x70,
  3040  	0x13, 0x56, 0x1d, 0xba, 0x12, 0x6c, 0x10, 0x93, 0x5c, 0x5e, 0x9e, 0xd8, 0x42, 0xf9, 0x8a, 0xd6,
  3041  	0x47, 0x0e, 0xc2, 0x37, 0x7e, 0x0c, 0x29, 0x6a, 0x16, 0x8b, 0x66, 0x8c, 0xd5, 0x9c, 0xad, 0xdc,
  3042  	0x40, 0x41, 0xfb, 0x00, 0x0b, 0xfc, 0x00, 0x25, 0xe2, 0x02, 0x94, 0x5c, 0x19, 0x20, 0x04, 0x45,
  3043  	0x2d, 0x62, 0xa6, 0xf2, 0x08, 0xf2, 0xa4, 0x8c, 0xd7, 0x5b, 0x2b, 0x12, 0xa0, 0x5c, 0x40, 0xba,
  3044  	0x56, 0x6f, 0xb1, 0x04, 0xaf, 0xb2, 0xed, 0x9e, 0x89, 0xfa, 0x0e, 0xb6, 0xfc, 0x3d, 0x79, 0xb0,
  3045  	0x7e, 0x16, 0xbd, 0x8d, 0x28, 0x74, 0x1b, 0xc3, 0xb7, 0x10, 0x7d, 0x01, 0x79, 0xc7, 0xee, 0xda,
  3046  	0x9e, 0xee, 0xeb, 0x24, 0x96, 0xea, 0xe4, 0xa8, 0x20, 0xbf, 0xb3, 0xca, 0x6f, 0x21, 0xaf, 0xbd,
  3047  	0xcf, 0x59, 0xd1, 0x96, 0xc4, 0x7b, 0x6d, 0x51, 0x8a, 0xb0, 0xa5, 0x85, 0x7c, 0x51, 0x7e, 0x03,
  3048  	0x3b, 0xc4, 0xbb, 0x89, 0xc7, 0xca, 0x5c, 0xcc, 0x83, 0x21, 0xd2, 0x2b, 0x78, 0xb5, 0x4a, 0xc4,
  3049  	0x54, 0xab, 0xe7, 0x50, 0x0a, 0x63, 0xf1, 0x78, 0x2d, 0x7f, 0x7d, 0x94, 0x60, 0x43, 0x2c, 0xb7,
  3050  	0x6c, 0xa1, 0x34, 0x61, 0xb7, 0xf1, 0xce, 0xc3, 0xa3, 0xde, 0x82, 0x59, 0xb1, 0xf2, 0xab, 0x4c,
  3051  	0xda, 0x87, 0xbd, 0x05, 0x28, 0xee, 0x79, 0x15, 0x76, 0x55, 0x3c, 0xb5, 0xdf, 0xe2, 0xfb, 0xed,
  3052  	0x42, 0xa0, 0x16, 0xe4, 0x39, 0xd4, 0x05, 0x1d, 0x72, 0x58, 0x61, 0x79, 0x6e, 0x3b, 0xa4, 0xbe,
  3053  	0xdd, 0xe7, 0x72, 0xec, 0xce, 0x4b, 0x18, 0x1f, 0x1f, 0xd8, 0x8a, 0x0f, 0x37, 0x11, 0x38, 0xbe,
  3054  	0xd5, 0x4b, 0x7f, 0xb4, 0xb8, 0xc0, 0xc3, 0x2e, 0x99, 0x99, 0x03, 0x9b, 0xa9, 0xb6, 0x6f, 0x33,
  3055  	0x5d, 0xf8, 0x23, 0x4b, 0x22, 0x6e, 0x64, 0x49, 0x86, 0x46, 0x96, 0x3d, 0xf8, 0x41, 0x04, 0x77,
  3056  	0x1e, 0x26, 0x52, 0x2d, 0x98, 0x31, 0xf7, 0x70, 0x8a, 0x4f, 0x5a, 0xbe, 0x7c, 0x30, 0x69, 0x09,
  3057  	0xc5, 0x3a, 0xf0, 0xf4, 0x31, 0xad, 0x67, 0xb4, 0x65, 0xac, 0x74, 0x44, 0xf9, 0x39, 0xb5, 0x82,
  3058  	0x0b, 0x72, 0xd0, 0x07, 0xd1, 0x3e, 0x94, 0x11, 0xfa, 0x8c, 0x72, 0x05, 0xfb, 0xe7, 0xd8, 0x6b,
  3059  	0x87, 0x9b, 0xff, 0x47, 0x1d, 0xef, 0xbf, 0x48, 0x20, 0xc7, 0x41, 0x72, 0x73, 0x10, 0xac, 0x9b,
  3060  	0x76, 0x6f, 0xfe, 0x50, 0x25, 0xdf, 0xa8, 0x03, 0x5b, 0xb6, 0x37, 0xfe, 0xa0, 0x39, 0xee, 0x74,
  3061  	0x7b, 0x76, 0x57, 0xc9, 0xb7, 0x3b, 0x57, 0xc1, 0x1c, 0xa7, 0xe6, 0x6d, 0x6f, 0x1c, 0x2c, 0x3f,
  3062  	0x7b, 0x0a, 0x1b, 0xb4, 0x42, 0xa1, 0x34, 0xac, 0x5f, 0xb6, 0x2f, 0x1b, 0xc5, 0x35, 0x04, 0x90,
  3063  	0x52, 0x1b, 0xb5, 0xb3, 0x86, 0x5a, 0x94, 0xc8, 0xf7, 0x2b, 0xb5, 0xd9, 0x69, 0xa8, 0xc5, 0x04,
  3064  	0xca, 0xc0, 0x46, 0xfb, 0xd5, 0x65, 0x43, 0x2d, 0x26, 0x4f, 0xfe, 0x9b, 0x83, 0x64, 0xed, 0xaa,
  3065  	0x89, 0xea, 0x90, 0xf6, 0x5f, 0xef, 0x68, 0x5f, 0x28, 0x16, 0xe1, 0xc7, 0xb9, 0x2c, 0xc7, 0xb1,
  3066  	0xf8, 0x99, 0x58, 0x43, 0x4d, 0x80, 0xe0, 0xe9, 0x8e, 0x3e, 0x09, 0x64, 0x17, 0x5e, 0xf9, 0xf2,
  3067  	0x83, 0x78, 0xe6, 0x1c, 0xea, 0xf7, 0x34, 0xb5, 0xa1, 0x51, 0x1e, 0x3d, 0x14, 0x9a, 0x79, 0xfc,
  3068  	0xeb, 0x41, 0x56, 0x56, 0x89, 0x88, 0xe0, 0xda, 0x0a, 0x70, 0xed, 0xfd, 0xe0, 0xda, 0x72, 0xf0,
  3069  	0xe7, 0x90, 0x99, 0x3f, 0x2a, 0x90, 0x1c, 0xb2, 0x27, 0xf4, 0x72, 0x90, 0x3f, 0x89, 0xe5, 0xcd,
  3070  	0x71, 0xda, 0x90, 0x13, 0x9f, 0x0b, 0xe8, 0xd3, 0x40, 0x3c, 0xe6, 0x1d, 0x22, 0x1f, 0x2c, 0x63,
  3071  	0x8b, 0x80, 0xe2, 0x88, 0x2b, 0x02, 0xc6, 0x4c, 0xdc, 0x22, 0x60, 0xdc, 0x64, 0xcc, 0x3c, 0x9d,
  3072  	0x0f, 0x2b, 0xa2, 0xa7, 0xd1, 0x81, 0x48, 0xf4, 0x74, 0x61, 0xba, 0x51, 0xd6, 0xd0, 0x37, 0x90,
  3073  	0x62, 0x33, 0x33, 0xda, 0x0b, 0x04, 0x43, 0x63, 0xb5, 0x5c, 0x5e, 0x64, 0xcc, 0xd5, 0xeb, 0x90,
  3074  	0xf6, 0x27, 0x17, 0xf1, 0xe8, 0x46, 0x46, 0x22, 0x59, 0x8e, 0x63, 0x89, 0x20, 0x5a, 0x0c, 0x88,
  3075  	0xb6, 0x1c, 0x44, 0x5b, 0x04, 0xf9, 0x06, 0x52, 0x6c, 0x28, 0x10, 0x1d, 0x09, 0x8d, 0x26, 0xa2,
  3076  	0x23, 0xe1, 0xf9, 0x81, 0xa9, 0x6b, 0x0b, 0xea, 0xda, 0x32, 0x75, 0x2d, 0xaa, 0xde, 0x86, 0x9c,
  3077  	0xd8, 0x68, 0xc5, 0xfc, 0xc6, 0x34, 0x73, 0x31, 0xbf, 0x71, 0xfd, 0x59, 0x59, 0x43, 0xaf, 0xa1,
  3078  	0x10, 0x69, 0x93, 0x48, 0xf8, 0xcd, 0x2c, 0xbe, 0x19, 0xcb, 0x0f, 0x57, 0x48, 0x88, 0xc8, 0x91,
  3079  	0xae, 0x29, 0x22, 0xc7, 0x37, 0x60, 0x11, 0x79, 0x59, 0xcb, 0xf5, 0xaf, 0x76, 0xa8, 0x4b, 0x46,
  3080  	0xae, 0x76, 0x5c, 0x43, 0x8e, 0x5c, 0xed, 0xf8, 0x26, 0xbb, 0x86, 0x54, 0xc8, 0x87, 0xda, 0x21,
  3081  	0x5a, 0xb8, 0x74, 0xe1, 0xfe, 0x2b, 0x57, 0x96, 0xf2, 0x23, 0xe5, 0x82, 0x3f, 0x5f, 0xc2, 0x67,
  3082  	0x34, 0xd4, 0x5e, 0x23, 0xe5, 0x22, 0xdc, 0x4a, 0xe7, 0xb7, 0x80, 0xbd, 0xc5, 0xc2, 0xb7, 0x40,
  3083  	0x6c, 0xa4, 0x91, 0x5b, 0x10, 0x6a, 0x9d, 0xca, 0x1a, 0x32, 0x00, 0x2d, 0xf6, 0x32, 0xf4, 0x28,
  3084  	0xa4, 0x13, 0xdf, 0x3c, 0xe5, 0x1f, 0xae, 0x16, 0xf2, 0xb7, 0x38, 0x3d, 0xff, 0xc7, 0xec, 0x40,
  3085  	0xfa, 0xe7, 0xec, 0x40, 0xfa, 0xf7, 0xec, 0x40, 0xfa, 0xdd, 0x33, 0xf6, 0x5e, 0xaf, 0x9a, 0xf6,
  3086  	0xf0, 0x98, 0xbc, 0xaa, 0x6f, 0x7b, 0xd8, 0x11, 0xbf, 0x5c, 0xc7, 0x3c, 0x8e, 0xff, 0x71, 0xbc,
  3087  	0x9b, 0xa2, 0x5d, 0xf2, 0xf3, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x16, 0xf2, 0x6d, 0x64, 0x3d,
  3088  	0x17, 0x00, 0x00,
  3089  }
  3090  
  3091  // Reference imports to suppress errors if they are not otherwise used.
  3092  var _ context.Context
  3093  var _ grpc.ClientConn
  3094  
  3095  // This is a compile-time assertion to ensure that this generated file
  3096  // is compatible with the grpc package it is being compiled against.
  3097  const _ = grpc.SupportPackageIsVersion4
  3098  
  3099  // APIClient is the client API for API service.
  3100  //
  3101  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3102  type APIClient interface {
  3103  	// Activate/Deactivate the auth API. 'Activate' sets an initial set of admins
  3104  	// for the Pachyderm cluster, and 'Deactivate' removes all ACLs, tokens, and
  3105  	// admins from the Pachyderm cluster, making all data publicly accessable
  3106  	Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error)
  3107  	Deactivate(ctx context.Context, in *DeactivateRequest, opts ...grpc.CallOption) (*DeactivateResponse, error)
  3108  	GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error)
  3109  	SetConfiguration(ctx context.Context, in *SetConfigurationRequest, opts ...grpc.CallOption) (*SetConfigurationResponse, error)
  3110  	// GetAdmins returns the current list of cluster admins
  3111  	GetAdmins(ctx context.Context, in *GetAdminsRequest, opts ...grpc.CallOption) (*GetAdminsResponse, error)
  3112  	// ModifyAdmins adds or removes admins from the cluster
  3113  	ModifyAdmins(ctx context.Context, in *ModifyAdminsRequest, opts ...grpc.CallOption) (*ModifyAdminsResponse, error)
  3114  	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
  3115  	Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error)
  3116  	WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error)
  3117  	GetScope(ctx context.Context, in *GetScopeRequest, opts ...grpc.CallOption) (*GetScopeResponse, error)
  3118  	SetScope(ctx context.Context, in *SetScopeRequest, opts ...grpc.CallOption) (*SetScopeResponse, error)
  3119  	GetACL(ctx context.Context, in *GetACLRequest, opts ...grpc.CallOption) (*GetACLResponse, error)
  3120  	SetACL(ctx context.Context, in *SetACLRequest, opts ...grpc.CallOption) (*SetACLResponse, error)
  3121  	GetAuthToken(ctx context.Context, in *GetAuthTokenRequest, opts ...grpc.CallOption) (*GetAuthTokenResponse, error)
  3122  	ExtendAuthToken(ctx context.Context, in *ExtendAuthTokenRequest, opts ...grpc.CallOption) (*ExtendAuthTokenResponse, error)
  3123  	RevokeAuthToken(ctx context.Context, in *RevokeAuthTokenRequest, opts ...grpc.CallOption) (*RevokeAuthTokenResponse, error)
  3124  	SetGroupsForUser(ctx context.Context, in *SetGroupsForUserRequest, opts ...grpc.CallOption) (*SetGroupsForUserResponse, error)
  3125  	ModifyMembers(ctx context.Context, in *ModifyMembersRequest, opts ...grpc.CallOption) (*ModifyMembersResponse, error)
  3126  	GetGroups(ctx context.Context, in *GetGroupsRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error)
  3127  	GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error)
  3128  	GetOneTimePassword(ctx context.Context, in *GetOneTimePasswordRequest, opts ...grpc.CallOption) (*GetOneTimePasswordResponse, error)
  3129  }
  3130  
  3131  type aPIClient struct {
  3132  	cc *grpc.ClientConn
  3133  }
  3134  
  3135  func NewAPIClient(cc *grpc.ClientConn) APIClient {
  3136  	return &aPIClient{cc}
  3137  }
  3138  
  3139  func (c *aPIClient) Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error) {
  3140  	out := new(ActivateResponse)
  3141  	err := c.cc.Invoke(ctx, "/auth_1_9.API/Activate", in, out, opts...)
  3142  	if err != nil {
  3143  		return nil, err
  3144  	}
  3145  	return out, nil
  3146  }
  3147  
  3148  func (c *aPIClient) Deactivate(ctx context.Context, in *DeactivateRequest, opts ...grpc.CallOption) (*DeactivateResponse, error) {
  3149  	out := new(DeactivateResponse)
  3150  	err := c.cc.Invoke(ctx, "/auth_1_9.API/Deactivate", in, out, opts...)
  3151  	if err != nil {
  3152  		return nil, err
  3153  	}
  3154  	return out, nil
  3155  }
  3156  
  3157  func (c *aPIClient) GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error) {
  3158  	out := new(GetConfigurationResponse)
  3159  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetConfiguration", in, out, opts...)
  3160  	if err != nil {
  3161  		return nil, err
  3162  	}
  3163  	return out, nil
  3164  }
  3165  
  3166  func (c *aPIClient) SetConfiguration(ctx context.Context, in *SetConfigurationRequest, opts ...grpc.CallOption) (*SetConfigurationResponse, error) {
  3167  	out := new(SetConfigurationResponse)
  3168  	err := c.cc.Invoke(ctx, "/auth_1_9.API/SetConfiguration", in, out, opts...)
  3169  	if err != nil {
  3170  		return nil, err
  3171  	}
  3172  	return out, nil
  3173  }
  3174  
  3175  func (c *aPIClient) GetAdmins(ctx context.Context, in *GetAdminsRequest, opts ...grpc.CallOption) (*GetAdminsResponse, error) {
  3176  	out := new(GetAdminsResponse)
  3177  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetAdmins", in, out, opts...)
  3178  	if err != nil {
  3179  		return nil, err
  3180  	}
  3181  	return out, nil
  3182  }
  3183  
  3184  func (c *aPIClient) ModifyAdmins(ctx context.Context, in *ModifyAdminsRequest, opts ...grpc.CallOption) (*ModifyAdminsResponse, error) {
  3185  	out := new(ModifyAdminsResponse)
  3186  	err := c.cc.Invoke(ctx, "/auth_1_9.API/ModifyAdmins", in, out, opts...)
  3187  	if err != nil {
  3188  		return nil, err
  3189  	}
  3190  	return out, nil
  3191  }
  3192  
  3193  func (c *aPIClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) {
  3194  	out := new(AuthenticateResponse)
  3195  	err := c.cc.Invoke(ctx, "/auth_1_9.API/Authenticate", in, out, opts...)
  3196  	if err != nil {
  3197  		return nil, err
  3198  	}
  3199  	return out, nil
  3200  }
  3201  
  3202  func (c *aPIClient) Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error) {
  3203  	out := new(AuthorizeResponse)
  3204  	err := c.cc.Invoke(ctx, "/auth_1_9.API/Authorize", in, out, opts...)
  3205  	if err != nil {
  3206  		return nil, err
  3207  	}
  3208  	return out, nil
  3209  }
  3210  
  3211  func (c *aPIClient) WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) {
  3212  	out := new(WhoAmIResponse)
  3213  	err := c.cc.Invoke(ctx, "/auth_1_9.API/WhoAmI", in, out, opts...)
  3214  	if err != nil {
  3215  		return nil, err
  3216  	}
  3217  	return out, nil
  3218  }
  3219  
  3220  func (c *aPIClient) GetScope(ctx context.Context, in *GetScopeRequest, opts ...grpc.CallOption) (*GetScopeResponse, error) {
  3221  	out := new(GetScopeResponse)
  3222  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetScope", in, out, opts...)
  3223  	if err != nil {
  3224  		return nil, err
  3225  	}
  3226  	return out, nil
  3227  }
  3228  
  3229  func (c *aPIClient) SetScope(ctx context.Context, in *SetScopeRequest, opts ...grpc.CallOption) (*SetScopeResponse, error) {
  3230  	out := new(SetScopeResponse)
  3231  	err := c.cc.Invoke(ctx, "/auth_1_9.API/SetScope", in, out, opts...)
  3232  	if err != nil {
  3233  		return nil, err
  3234  	}
  3235  	return out, nil
  3236  }
  3237  
  3238  func (c *aPIClient) GetACL(ctx context.Context, in *GetACLRequest, opts ...grpc.CallOption) (*GetACLResponse, error) {
  3239  	out := new(GetACLResponse)
  3240  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetACL", in, out, opts...)
  3241  	if err != nil {
  3242  		return nil, err
  3243  	}
  3244  	return out, nil
  3245  }
  3246  
  3247  func (c *aPIClient) SetACL(ctx context.Context, in *SetACLRequest, opts ...grpc.CallOption) (*SetACLResponse, error) {
  3248  	out := new(SetACLResponse)
  3249  	err := c.cc.Invoke(ctx, "/auth_1_9.API/SetACL", in, out, opts...)
  3250  	if err != nil {
  3251  		return nil, err
  3252  	}
  3253  	return out, nil
  3254  }
  3255  
  3256  func (c *aPIClient) GetAuthToken(ctx context.Context, in *GetAuthTokenRequest, opts ...grpc.CallOption) (*GetAuthTokenResponse, error) {
  3257  	out := new(GetAuthTokenResponse)
  3258  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetAuthToken", in, out, opts...)
  3259  	if err != nil {
  3260  		return nil, err
  3261  	}
  3262  	return out, nil
  3263  }
  3264  
  3265  func (c *aPIClient) ExtendAuthToken(ctx context.Context, in *ExtendAuthTokenRequest, opts ...grpc.CallOption) (*ExtendAuthTokenResponse, error) {
  3266  	out := new(ExtendAuthTokenResponse)
  3267  	err := c.cc.Invoke(ctx, "/auth_1_9.API/ExtendAuthToken", in, out, opts...)
  3268  	if err != nil {
  3269  		return nil, err
  3270  	}
  3271  	return out, nil
  3272  }
  3273  
  3274  func (c *aPIClient) RevokeAuthToken(ctx context.Context, in *RevokeAuthTokenRequest, opts ...grpc.CallOption) (*RevokeAuthTokenResponse, error) {
  3275  	out := new(RevokeAuthTokenResponse)
  3276  	err := c.cc.Invoke(ctx, "/auth_1_9.API/RevokeAuthToken", in, out, opts...)
  3277  	if err != nil {
  3278  		return nil, err
  3279  	}
  3280  	return out, nil
  3281  }
  3282  
  3283  func (c *aPIClient) SetGroupsForUser(ctx context.Context, in *SetGroupsForUserRequest, opts ...grpc.CallOption) (*SetGroupsForUserResponse, error) {
  3284  	out := new(SetGroupsForUserResponse)
  3285  	err := c.cc.Invoke(ctx, "/auth_1_9.API/SetGroupsForUser", in, out, opts...)
  3286  	if err != nil {
  3287  		return nil, err
  3288  	}
  3289  	return out, nil
  3290  }
  3291  
  3292  func (c *aPIClient) ModifyMembers(ctx context.Context, in *ModifyMembersRequest, opts ...grpc.CallOption) (*ModifyMembersResponse, error) {
  3293  	out := new(ModifyMembersResponse)
  3294  	err := c.cc.Invoke(ctx, "/auth_1_9.API/ModifyMembers", in, out, opts...)
  3295  	if err != nil {
  3296  		return nil, err
  3297  	}
  3298  	return out, nil
  3299  }
  3300  
  3301  func (c *aPIClient) GetGroups(ctx context.Context, in *GetGroupsRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error) {
  3302  	out := new(GetGroupsResponse)
  3303  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetGroups", in, out, opts...)
  3304  	if err != nil {
  3305  		return nil, err
  3306  	}
  3307  	return out, nil
  3308  }
  3309  
  3310  func (c *aPIClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) {
  3311  	out := new(GetUsersResponse)
  3312  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetUsers", in, out, opts...)
  3313  	if err != nil {
  3314  		return nil, err
  3315  	}
  3316  	return out, nil
  3317  }
  3318  
  3319  func (c *aPIClient) GetOneTimePassword(ctx context.Context, in *GetOneTimePasswordRequest, opts ...grpc.CallOption) (*GetOneTimePasswordResponse, error) {
  3320  	out := new(GetOneTimePasswordResponse)
  3321  	err := c.cc.Invoke(ctx, "/auth_1_9.API/GetOneTimePassword", in, out, opts...)
  3322  	if err != nil {
  3323  		return nil, err
  3324  	}
  3325  	return out, nil
  3326  }
  3327  
  3328  // APIServer is the server API for API service.
  3329  type APIServer interface {
  3330  	// Activate/Deactivate the auth API. 'Activate' sets an initial set of admins
  3331  	// for the Pachyderm cluster, and 'Deactivate' removes all ACLs, tokens, and
  3332  	// admins from the Pachyderm cluster, making all data publicly accessable
  3333  	Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
  3334  	Deactivate(context.Context, *DeactivateRequest) (*DeactivateResponse, error)
  3335  	GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
  3336  	SetConfiguration(context.Context, *SetConfigurationRequest) (*SetConfigurationResponse, error)
  3337  	// GetAdmins returns the current list of cluster admins
  3338  	GetAdmins(context.Context, *GetAdminsRequest) (*GetAdminsResponse, error)
  3339  	// ModifyAdmins adds or removes admins from the cluster
  3340  	ModifyAdmins(context.Context, *ModifyAdminsRequest) (*ModifyAdminsResponse, error)
  3341  	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
  3342  	Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
  3343  	WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error)
  3344  	GetScope(context.Context, *GetScopeRequest) (*GetScopeResponse, error)
  3345  	SetScope(context.Context, *SetScopeRequest) (*SetScopeResponse, error)
  3346  	GetACL(context.Context, *GetACLRequest) (*GetACLResponse, error)
  3347  	SetACL(context.Context, *SetACLRequest) (*SetACLResponse, error)
  3348  	GetAuthToken(context.Context, *GetAuthTokenRequest) (*GetAuthTokenResponse, error)
  3349  	ExtendAuthToken(context.Context, *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error)
  3350  	RevokeAuthToken(context.Context, *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)
  3351  	SetGroupsForUser(context.Context, *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error)
  3352  	ModifyMembers(context.Context, *ModifyMembersRequest) (*ModifyMembersResponse, error)
  3353  	GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
  3354  	GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
  3355  	GetOneTimePassword(context.Context, *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error)
  3356  }
  3357  
  3358  // UnimplementedAPIServer can be embedded to have forward compatible implementations.
  3359  type UnimplementedAPIServer struct {
  3360  }
  3361  
  3362  func (*UnimplementedAPIServer) Activate(ctx context.Context, req *ActivateRequest) (*ActivateResponse, error) {
  3363  	return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented")
  3364  }
  3365  func (*UnimplementedAPIServer) Deactivate(ctx context.Context, req *DeactivateRequest) (*DeactivateResponse, error) {
  3366  	return nil, status.Errorf(codes.Unimplemented, "method Deactivate not implemented")
  3367  }
  3368  func (*UnimplementedAPIServer) GetConfiguration(ctx context.Context, req *GetConfigurationRequest) (*GetConfigurationResponse, error) {
  3369  	return nil, status.Errorf(codes.Unimplemented, "method GetConfiguration not implemented")
  3370  }
  3371  func (*UnimplementedAPIServer) SetConfiguration(ctx context.Context, req *SetConfigurationRequest) (*SetConfigurationResponse, error) {
  3372  	return nil, status.Errorf(codes.Unimplemented, "method SetConfiguration not implemented")
  3373  }
  3374  func (*UnimplementedAPIServer) GetAdmins(ctx context.Context, req *GetAdminsRequest) (*GetAdminsResponse, error) {
  3375  	return nil, status.Errorf(codes.Unimplemented, "method GetAdmins not implemented")
  3376  }
  3377  func (*UnimplementedAPIServer) ModifyAdmins(ctx context.Context, req *ModifyAdminsRequest) (*ModifyAdminsResponse, error) {
  3378  	return nil, status.Errorf(codes.Unimplemented, "method ModifyAdmins not implemented")
  3379  }
  3380  func (*UnimplementedAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error) {
  3381  	return nil, status.Errorf(codes.Unimplemented, "method Authenticate not implemented")
  3382  }
  3383  func (*UnimplementedAPIServer) Authorize(ctx context.Context, req *AuthorizeRequest) (*AuthorizeResponse, error) {
  3384  	return nil, status.Errorf(codes.Unimplemented, "method Authorize not implemented")
  3385  }
  3386  func (*UnimplementedAPIServer) WhoAmI(ctx context.Context, req *WhoAmIRequest) (*WhoAmIResponse, error) {
  3387  	return nil, status.Errorf(codes.Unimplemented, "method WhoAmI not implemented")
  3388  }
  3389  func (*UnimplementedAPIServer) GetScope(ctx context.Context, req *GetScopeRequest) (*GetScopeResponse, error) {
  3390  	return nil, status.Errorf(codes.Unimplemented, "method GetScope not implemented")
  3391  }
  3392  func (*UnimplementedAPIServer) SetScope(ctx context.Context, req *SetScopeRequest) (*SetScopeResponse, error) {
  3393  	return nil, status.Errorf(codes.Unimplemented, "method SetScope not implemented")
  3394  }
  3395  func (*UnimplementedAPIServer) GetACL(ctx context.Context, req *GetACLRequest) (*GetACLResponse, error) {
  3396  	return nil, status.Errorf(codes.Unimplemented, "method GetACL not implemented")
  3397  }
  3398  func (*UnimplementedAPIServer) SetACL(ctx context.Context, req *SetACLRequest) (*SetACLResponse, error) {
  3399  	return nil, status.Errorf(codes.Unimplemented, "method SetACL not implemented")
  3400  }
  3401  func (*UnimplementedAPIServer) GetAuthToken(ctx context.Context, req *GetAuthTokenRequest) (*GetAuthTokenResponse, error) {
  3402  	return nil, status.Errorf(codes.Unimplemented, "method GetAuthToken not implemented")
  3403  }
  3404  func (*UnimplementedAPIServer) ExtendAuthToken(ctx context.Context, req *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error) {
  3405  	return nil, status.Errorf(codes.Unimplemented, "method ExtendAuthToken not implemented")
  3406  }
  3407  func (*UnimplementedAPIServer) RevokeAuthToken(ctx context.Context, req *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error) {
  3408  	return nil, status.Errorf(codes.Unimplemented, "method RevokeAuthToken not implemented")
  3409  }
  3410  func (*UnimplementedAPIServer) SetGroupsForUser(ctx context.Context, req *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error) {
  3411  	return nil, status.Errorf(codes.Unimplemented, "method SetGroupsForUser not implemented")
  3412  }
  3413  func (*UnimplementedAPIServer) ModifyMembers(ctx context.Context, req *ModifyMembersRequest) (*ModifyMembersResponse, error) {
  3414  	return nil, status.Errorf(codes.Unimplemented, "method ModifyMembers not implemented")
  3415  }
  3416  func (*UnimplementedAPIServer) GetGroups(ctx context.Context, req *GetGroupsRequest) (*GetGroupsResponse, error) {
  3417  	return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
  3418  }
  3419  func (*UnimplementedAPIServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error) {
  3420  	return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented")
  3421  }
  3422  func (*UnimplementedAPIServer) GetOneTimePassword(ctx context.Context, req *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error) {
  3423  	return nil, status.Errorf(codes.Unimplemented, "method GetOneTimePassword not implemented")
  3424  }
  3425  
  3426  func RegisterAPIServer(s *grpc.Server, srv APIServer) {
  3427  	s.RegisterService(&_API_serviceDesc, srv)
  3428  }
  3429  
  3430  func _API_Activate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3431  	in := new(ActivateRequest)
  3432  	if err := dec(in); err != nil {
  3433  		return nil, err
  3434  	}
  3435  	if interceptor == nil {
  3436  		return srv.(APIServer).Activate(ctx, in)
  3437  	}
  3438  	info := &grpc.UnaryServerInfo{
  3439  		Server:     srv,
  3440  		FullMethod: "/auth_1_9.API/Activate",
  3441  	}
  3442  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3443  		return srv.(APIServer).Activate(ctx, req.(*ActivateRequest))
  3444  	}
  3445  	return interceptor(ctx, in, info, handler)
  3446  }
  3447  
  3448  func _API_Deactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3449  	in := new(DeactivateRequest)
  3450  	if err := dec(in); err != nil {
  3451  		return nil, err
  3452  	}
  3453  	if interceptor == nil {
  3454  		return srv.(APIServer).Deactivate(ctx, in)
  3455  	}
  3456  	info := &grpc.UnaryServerInfo{
  3457  		Server:     srv,
  3458  		FullMethod: "/auth_1_9.API/Deactivate",
  3459  	}
  3460  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3461  		return srv.(APIServer).Deactivate(ctx, req.(*DeactivateRequest))
  3462  	}
  3463  	return interceptor(ctx, in, info, handler)
  3464  }
  3465  
  3466  func _API_GetConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3467  	in := new(GetConfigurationRequest)
  3468  	if err := dec(in); err != nil {
  3469  		return nil, err
  3470  	}
  3471  	if interceptor == nil {
  3472  		return srv.(APIServer).GetConfiguration(ctx, in)
  3473  	}
  3474  	info := &grpc.UnaryServerInfo{
  3475  		Server:     srv,
  3476  		FullMethod: "/auth_1_9.API/GetConfiguration",
  3477  	}
  3478  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3479  		return srv.(APIServer).GetConfiguration(ctx, req.(*GetConfigurationRequest))
  3480  	}
  3481  	return interceptor(ctx, in, info, handler)
  3482  }
  3483  
  3484  func _API_SetConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3485  	in := new(SetConfigurationRequest)
  3486  	if err := dec(in); err != nil {
  3487  		return nil, err
  3488  	}
  3489  	if interceptor == nil {
  3490  		return srv.(APIServer).SetConfiguration(ctx, in)
  3491  	}
  3492  	info := &grpc.UnaryServerInfo{
  3493  		Server:     srv,
  3494  		FullMethod: "/auth_1_9.API/SetConfiguration",
  3495  	}
  3496  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3497  		return srv.(APIServer).SetConfiguration(ctx, req.(*SetConfigurationRequest))
  3498  	}
  3499  	return interceptor(ctx, in, info, handler)
  3500  }
  3501  
  3502  func _API_GetAdmins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3503  	in := new(GetAdminsRequest)
  3504  	if err := dec(in); err != nil {
  3505  		return nil, err
  3506  	}
  3507  	if interceptor == nil {
  3508  		return srv.(APIServer).GetAdmins(ctx, in)
  3509  	}
  3510  	info := &grpc.UnaryServerInfo{
  3511  		Server:     srv,
  3512  		FullMethod: "/auth_1_9.API/GetAdmins",
  3513  	}
  3514  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3515  		return srv.(APIServer).GetAdmins(ctx, req.(*GetAdminsRequest))
  3516  	}
  3517  	return interceptor(ctx, in, info, handler)
  3518  }
  3519  
  3520  func _API_ModifyAdmins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3521  	in := new(ModifyAdminsRequest)
  3522  	if err := dec(in); err != nil {
  3523  		return nil, err
  3524  	}
  3525  	if interceptor == nil {
  3526  		return srv.(APIServer).ModifyAdmins(ctx, in)
  3527  	}
  3528  	info := &grpc.UnaryServerInfo{
  3529  		Server:     srv,
  3530  		FullMethod: "/auth_1_9.API/ModifyAdmins",
  3531  	}
  3532  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3533  		return srv.(APIServer).ModifyAdmins(ctx, req.(*ModifyAdminsRequest))
  3534  	}
  3535  	return interceptor(ctx, in, info, handler)
  3536  }
  3537  
  3538  func _API_Authenticate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3539  	in := new(AuthenticateRequest)
  3540  	if err := dec(in); err != nil {
  3541  		return nil, err
  3542  	}
  3543  	if interceptor == nil {
  3544  		return srv.(APIServer).Authenticate(ctx, in)
  3545  	}
  3546  	info := &grpc.UnaryServerInfo{
  3547  		Server:     srv,
  3548  		FullMethod: "/auth_1_9.API/Authenticate",
  3549  	}
  3550  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3551  		return srv.(APIServer).Authenticate(ctx, req.(*AuthenticateRequest))
  3552  	}
  3553  	return interceptor(ctx, in, info, handler)
  3554  }
  3555  
  3556  func _API_Authorize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3557  	in := new(AuthorizeRequest)
  3558  	if err := dec(in); err != nil {
  3559  		return nil, err
  3560  	}
  3561  	if interceptor == nil {
  3562  		return srv.(APIServer).Authorize(ctx, in)
  3563  	}
  3564  	info := &grpc.UnaryServerInfo{
  3565  		Server:     srv,
  3566  		FullMethod: "/auth_1_9.API/Authorize",
  3567  	}
  3568  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3569  		return srv.(APIServer).Authorize(ctx, req.(*AuthorizeRequest))
  3570  	}
  3571  	return interceptor(ctx, in, info, handler)
  3572  }
  3573  
  3574  func _API_WhoAmI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3575  	in := new(WhoAmIRequest)
  3576  	if err := dec(in); err != nil {
  3577  		return nil, err
  3578  	}
  3579  	if interceptor == nil {
  3580  		return srv.(APIServer).WhoAmI(ctx, in)
  3581  	}
  3582  	info := &grpc.UnaryServerInfo{
  3583  		Server:     srv,
  3584  		FullMethod: "/auth_1_9.API/WhoAmI",
  3585  	}
  3586  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3587  		return srv.(APIServer).WhoAmI(ctx, req.(*WhoAmIRequest))
  3588  	}
  3589  	return interceptor(ctx, in, info, handler)
  3590  }
  3591  
  3592  func _API_GetScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3593  	in := new(GetScopeRequest)
  3594  	if err := dec(in); err != nil {
  3595  		return nil, err
  3596  	}
  3597  	if interceptor == nil {
  3598  		return srv.(APIServer).GetScope(ctx, in)
  3599  	}
  3600  	info := &grpc.UnaryServerInfo{
  3601  		Server:     srv,
  3602  		FullMethod: "/auth_1_9.API/GetScope",
  3603  	}
  3604  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3605  		return srv.(APIServer).GetScope(ctx, req.(*GetScopeRequest))
  3606  	}
  3607  	return interceptor(ctx, in, info, handler)
  3608  }
  3609  
  3610  func _API_SetScope_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3611  	in := new(SetScopeRequest)
  3612  	if err := dec(in); err != nil {
  3613  		return nil, err
  3614  	}
  3615  	if interceptor == nil {
  3616  		return srv.(APIServer).SetScope(ctx, in)
  3617  	}
  3618  	info := &grpc.UnaryServerInfo{
  3619  		Server:     srv,
  3620  		FullMethod: "/auth_1_9.API/SetScope",
  3621  	}
  3622  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3623  		return srv.(APIServer).SetScope(ctx, req.(*SetScopeRequest))
  3624  	}
  3625  	return interceptor(ctx, in, info, handler)
  3626  }
  3627  
  3628  func _API_GetACL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3629  	in := new(GetACLRequest)
  3630  	if err := dec(in); err != nil {
  3631  		return nil, err
  3632  	}
  3633  	if interceptor == nil {
  3634  		return srv.(APIServer).GetACL(ctx, in)
  3635  	}
  3636  	info := &grpc.UnaryServerInfo{
  3637  		Server:     srv,
  3638  		FullMethod: "/auth_1_9.API/GetACL",
  3639  	}
  3640  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3641  		return srv.(APIServer).GetACL(ctx, req.(*GetACLRequest))
  3642  	}
  3643  	return interceptor(ctx, in, info, handler)
  3644  }
  3645  
  3646  func _API_SetACL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3647  	in := new(SetACLRequest)
  3648  	if err := dec(in); err != nil {
  3649  		return nil, err
  3650  	}
  3651  	if interceptor == nil {
  3652  		return srv.(APIServer).SetACL(ctx, in)
  3653  	}
  3654  	info := &grpc.UnaryServerInfo{
  3655  		Server:     srv,
  3656  		FullMethod: "/auth_1_9.API/SetACL",
  3657  	}
  3658  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3659  		return srv.(APIServer).SetACL(ctx, req.(*SetACLRequest))
  3660  	}
  3661  	return interceptor(ctx, in, info, handler)
  3662  }
  3663  
  3664  func _API_GetAuthToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3665  	in := new(GetAuthTokenRequest)
  3666  	if err := dec(in); err != nil {
  3667  		return nil, err
  3668  	}
  3669  	if interceptor == nil {
  3670  		return srv.(APIServer).GetAuthToken(ctx, in)
  3671  	}
  3672  	info := &grpc.UnaryServerInfo{
  3673  		Server:     srv,
  3674  		FullMethod: "/auth_1_9.API/GetAuthToken",
  3675  	}
  3676  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3677  		return srv.(APIServer).GetAuthToken(ctx, req.(*GetAuthTokenRequest))
  3678  	}
  3679  	return interceptor(ctx, in, info, handler)
  3680  }
  3681  
  3682  func _API_ExtendAuthToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3683  	in := new(ExtendAuthTokenRequest)
  3684  	if err := dec(in); err != nil {
  3685  		return nil, err
  3686  	}
  3687  	if interceptor == nil {
  3688  		return srv.(APIServer).ExtendAuthToken(ctx, in)
  3689  	}
  3690  	info := &grpc.UnaryServerInfo{
  3691  		Server:     srv,
  3692  		FullMethod: "/auth_1_9.API/ExtendAuthToken",
  3693  	}
  3694  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3695  		return srv.(APIServer).ExtendAuthToken(ctx, req.(*ExtendAuthTokenRequest))
  3696  	}
  3697  	return interceptor(ctx, in, info, handler)
  3698  }
  3699  
  3700  func _API_RevokeAuthToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3701  	in := new(RevokeAuthTokenRequest)
  3702  	if err := dec(in); err != nil {
  3703  		return nil, err
  3704  	}
  3705  	if interceptor == nil {
  3706  		return srv.(APIServer).RevokeAuthToken(ctx, in)
  3707  	}
  3708  	info := &grpc.UnaryServerInfo{
  3709  		Server:     srv,
  3710  		FullMethod: "/auth_1_9.API/RevokeAuthToken",
  3711  	}
  3712  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3713  		return srv.(APIServer).RevokeAuthToken(ctx, req.(*RevokeAuthTokenRequest))
  3714  	}
  3715  	return interceptor(ctx, in, info, handler)
  3716  }
  3717  
  3718  func _API_SetGroupsForUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3719  	in := new(SetGroupsForUserRequest)
  3720  	if err := dec(in); err != nil {
  3721  		return nil, err
  3722  	}
  3723  	if interceptor == nil {
  3724  		return srv.(APIServer).SetGroupsForUser(ctx, in)
  3725  	}
  3726  	info := &grpc.UnaryServerInfo{
  3727  		Server:     srv,
  3728  		FullMethod: "/auth_1_9.API/SetGroupsForUser",
  3729  	}
  3730  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3731  		return srv.(APIServer).SetGroupsForUser(ctx, req.(*SetGroupsForUserRequest))
  3732  	}
  3733  	return interceptor(ctx, in, info, handler)
  3734  }
  3735  
  3736  func _API_ModifyMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3737  	in := new(ModifyMembersRequest)
  3738  	if err := dec(in); err != nil {
  3739  		return nil, err
  3740  	}
  3741  	if interceptor == nil {
  3742  		return srv.(APIServer).ModifyMembers(ctx, in)
  3743  	}
  3744  	info := &grpc.UnaryServerInfo{
  3745  		Server:     srv,
  3746  		FullMethod: "/auth_1_9.API/ModifyMembers",
  3747  	}
  3748  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3749  		return srv.(APIServer).ModifyMembers(ctx, req.(*ModifyMembersRequest))
  3750  	}
  3751  	return interceptor(ctx, in, info, handler)
  3752  }
  3753  
  3754  func _API_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3755  	in := new(GetGroupsRequest)
  3756  	if err := dec(in); err != nil {
  3757  		return nil, err
  3758  	}
  3759  	if interceptor == nil {
  3760  		return srv.(APIServer).GetGroups(ctx, in)
  3761  	}
  3762  	info := &grpc.UnaryServerInfo{
  3763  		Server:     srv,
  3764  		FullMethod: "/auth_1_9.API/GetGroups",
  3765  	}
  3766  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3767  		return srv.(APIServer).GetGroups(ctx, req.(*GetGroupsRequest))
  3768  	}
  3769  	return interceptor(ctx, in, info, handler)
  3770  }
  3771  
  3772  func _API_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3773  	in := new(GetUsersRequest)
  3774  	if err := dec(in); err != nil {
  3775  		return nil, err
  3776  	}
  3777  	if interceptor == nil {
  3778  		return srv.(APIServer).GetUsers(ctx, in)
  3779  	}
  3780  	info := &grpc.UnaryServerInfo{
  3781  		Server:     srv,
  3782  		FullMethod: "/auth_1_9.API/GetUsers",
  3783  	}
  3784  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3785  		return srv.(APIServer).GetUsers(ctx, req.(*GetUsersRequest))
  3786  	}
  3787  	return interceptor(ctx, in, info, handler)
  3788  }
  3789  
  3790  func _API_GetOneTimePassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3791  	in := new(GetOneTimePasswordRequest)
  3792  	if err := dec(in); err != nil {
  3793  		return nil, err
  3794  	}
  3795  	if interceptor == nil {
  3796  		return srv.(APIServer).GetOneTimePassword(ctx, in)
  3797  	}
  3798  	info := &grpc.UnaryServerInfo{
  3799  		Server:     srv,
  3800  		FullMethod: "/auth_1_9.API/GetOneTimePassword",
  3801  	}
  3802  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3803  		return srv.(APIServer).GetOneTimePassword(ctx, req.(*GetOneTimePasswordRequest))
  3804  	}
  3805  	return interceptor(ctx, in, info, handler)
  3806  }
  3807  
  3808  var _API_serviceDesc = grpc.ServiceDesc{
  3809  	ServiceName: "auth_1_9.API",
  3810  	HandlerType: (*APIServer)(nil),
  3811  	Methods: []grpc.MethodDesc{
  3812  		{
  3813  			MethodName: "Activate",
  3814  			Handler:    _API_Activate_Handler,
  3815  		},
  3816  		{
  3817  			MethodName: "Deactivate",
  3818  			Handler:    _API_Deactivate_Handler,
  3819  		},
  3820  		{
  3821  			MethodName: "GetConfiguration",
  3822  			Handler:    _API_GetConfiguration_Handler,
  3823  		},
  3824  		{
  3825  			MethodName: "SetConfiguration",
  3826  			Handler:    _API_SetConfiguration_Handler,
  3827  		},
  3828  		{
  3829  			MethodName: "GetAdmins",
  3830  			Handler:    _API_GetAdmins_Handler,
  3831  		},
  3832  		{
  3833  			MethodName: "ModifyAdmins",
  3834  			Handler:    _API_ModifyAdmins_Handler,
  3835  		},
  3836  		{
  3837  			MethodName: "Authenticate",
  3838  			Handler:    _API_Authenticate_Handler,
  3839  		},
  3840  		{
  3841  			MethodName: "Authorize",
  3842  			Handler:    _API_Authorize_Handler,
  3843  		},
  3844  		{
  3845  			MethodName: "WhoAmI",
  3846  			Handler:    _API_WhoAmI_Handler,
  3847  		},
  3848  		{
  3849  			MethodName: "GetScope",
  3850  			Handler:    _API_GetScope_Handler,
  3851  		},
  3852  		{
  3853  			MethodName: "SetScope",
  3854  			Handler:    _API_SetScope_Handler,
  3855  		},
  3856  		{
  3857  			MethodName: "GetACL",
  3858  			Handler:    _API_GetACL_Handler,
  3859  		},
  3860  		{
  3861  			MethodName: "SetACL",
  3862  			Handler:    _API_SetACL_Handler,
  3863  		},
  3864  		{
  3865  			MethodName: "GetAuthToken",
  3866  			Handler:    _API_GetAuthToken_Handler,
  3867  		},
  3868  		{
  3869  			MethodName: "ExtendAuthToken",
  3870  			Handler:    _API_ExtendAuthToken_Handler,
  3871  		},
  3872  		{
  3873  			MethodName: "RevokeAuthToken",
  3874  			Handler:    _API_RevokeAuthToken_Handler,
  3875  		},
  3876  		{
  3877  			MethodName: "SetGroupsForUser",
  3878  			Handler:    _API_SetGroupsForUser_Handler,
  3879  		},
  3880  		{
  3881  			MethodName: "ModifyMembers",
  3882  			Handler:    _API_ModifyMembers_Handler,
  3883  		},
  3884  		{
  3885  			MethodName: "GetGroups",
  3886  			Handler:    _API_GetGroups_Handler,
  3887  		},
  3888  		{
  3889  			MethodName: "GetUsers",
  3890  			Handler:    _API_GetUsers_Handler,
  3891  		},
  3892  		{
  3893  			MethodName: "GetOneTimePassword",
  3894  			Handler:    _API_GetOneTimePassword_Handler,
  3895  		},
  3896  	},
  3897  	Streams:  []grpc.StreamDesc{},
  3898  	Metadata: "client/admin/v1_9/auth/auth.proto",
  3899  }
  3900  
  3901  func (m *ActivateRequest) Marshal() (dAtA []byte, err error) {
  3902  	size := m.Size()
  3903  	dAtA = make([]byte, size)
  3904  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3905  	if err != nil {
  3906  		return nil, err
  3907  	}
  3908  	return dAtA[:n], nil
  3909  }
  3910  
  3911  func (m *ActivateRequest) MarshalTo(dAtA []byte) (int, error) {
  3912  	size := m.Size()
  3913  	return m.MarshalToSizedBuffer(dAtA[:size])
  3914  }
  3915  
  3916  func (m *ActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3917  	i := len(dAtA)
  3918  	_ = i
  3919  	var l int
  3920  	_ = l
  3921  	if m.XXX_unrecognized != nil {
  3922  		i -= len(m.XXX_unrecognized)
  3923  		copy(dAtA[i:], m.XXX_unrecognized)
  3924  	}
  3925  	if len(m.Subject) > 0 {
  3926  		i -= len(m.Subject)
  3927  		copy(dAtA[i:], m.Subject)
  3928  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Subject)))
  3929  		i--
  3930  		dAtA[i] = 0x12
  3931  	}
  3932  	if len(m.GitHubToken) > 0 {
  3933  		i -= len(m.GitHubToken)
  3934  		copy(dAtA[i:], m.GitHubToken)
  3935  		i = encodeVarintAuth(dAtA, i, uint64(len(m.GitHubToken)))
  3936  		i--
  3937  		dAtA[i] = 0xa
  3938  	}
  3939  	return len(dAtA) - i, nil
  3940  }
  3941  
  3942  func (m *ActivateResponse) Marshal() (dAtA []byte, err error) {
  3943  	size := m.Size()
  3944  	dAtA = make([]byte, size)
  3945  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3946  	if err != nil {
  3947  		return nil, err
  3948  	}
  3949  	return dAtA[:n], nil
  3950  }
  3951  
  3952  func (m *ActivateResponse) MarshalTo(dAtA []byte) (int, error) {
  3953  	size := m.Size()
  3954  	return m.MarshalToSizedBuffer(dAtA[:size])
  3955  }
  3956  
  3957  func (m *ActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3958  	i := len(dAtA)
  3959  	_ = i
  3960  	var l int
  3961  	_ = l
  3962  	if m.XXX_unrecognized != nil {
  3963  		i -= len(m.XXX_unrecognized)
  3964  		copy(dAtA[i:], m.XXX_unrecognized)
  3965  	}
  3966  	if len(m.PachToken) > 0 {
  3967  		i -= len(m.PachToken)
  3968  		copy(dAtA[i:], m.PachToken)
  3969  		i = encodeVarintAuth(dAtA, i, uint64(len(m.PachToken)))
  3970  		i--
  3971  		dAtA[i] = 0xa
  3972  	}
  3973  	return len(dAtA) - i, nil
  3974  }
  3975  
  3976  func (m *DeactivateRequest) Marshal() (dAtA []byte, err error) {
  3977  	size := m.Size()
  3978  	dAtA = make([]byte, size)
  3979  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  3980  	if err != nil {
  3981  		return nil, err
  3982  	}
  3983  	return dAtA[:n], nil
  3984  }
  3985  
  3986  func (m *DeactivateRequest) MarshalTo(dAtA []byte) (int, error) {
  3987  	size := m.Size()
  3988  	return m.MarshalToSizedBuffer(dAtA[:size])
  3989  }
  3990  
  3991  func (m *DeactivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  3992  	i := len(dAtA)
  3993  	_ = i
  3994  	var l int
  3995  	_ = l
  3996  	if m.XXX_unrecognized != nil {
  3997  		i -= len(m.XXX_unrecognized)
  3998  		copy(dAtA[i:], m.XXX_unrecognized)
  3999  	}
  4000  	return len(dAtA) - i, nil
  4001  }
  4002  
  4003  func (m *DeactivateResponse) Marshal() (dAtA []byte, err error) {
  4004  	size := m.Size()
  4005  	dAtA = make([]byte, size)
  4006  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4007  	if err != nil {
  4008  		return nil, err
  4009  	}
  4010  	return dAtA[:n], nil
  4011  }
  4012  
  4013  func (m *DeactivateResponse) MarshalTo(dAtA []byte) (int, error) {
  4014  	size := m.Size()
  4015  	return m.MarshalToSizedBuffer(dAtA[:size])
  4016  }
  4017  
  4018  func (m *DeactivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4019  	i := len(dAtA)
  4020  	_ = i
  4021  	var l int
  4022  	_ = l
  4023  	if m.XXX_unrecognized != nil {
  4024  		i -= len(m.XXX_unrecognized)
  4025  		copy(dAtA[i:], m.XXX_unrecognized)
  4026  	}
  4027  	return len(dAtA) - i, nil
  4028  }
  4029  
  4030  func (m *IDProvider) Marshal() (dAtA []byte, err error) {
  4031  	size := m.Size()
  4032  	dAtA = make([]byte, size)
  4033  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4034  	if err != nil {
  4035  		return nil, err
  4036  	}
  4037  	return dAtA[:n], nil
  4038  }
  4039  
  4040  func (m *IDProvider) MarshalTo(dAtA []byte) (int, error) {
  4041  	size := m.Size()
  4042  	return m.MarshalToSizedBuffer(dAtA[:size])
  4043  }
  4044  
  4045  func (m *IDProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4046  	i := len(dAtA)
  4047  	_ = i
  4048  	var l int
  4049  	_ = l
  4050  	if m.XXX_unrecognized != nil {
  4051  		i -= len(m.XXX_unrecognized)
  4052  		copy(dAtA[i:], m.XXX_unrecognized)
  4053  	}
  4054  	if m.GitHub != nil {
  4055  		{
  4056  			size, err := m.GitHub.MarshalToSizedBuffer(dAtA[:i])
  4057  			if err != nil {
  4058  				return 0, err
  4059  			}
  4060  			i -= size
  4061  			i = encodeVarintAuth(dAtA, i, uint64(size))
  4062  		}
  4063  		i--
  4064  		dAtA[i] = 0x22
  4065  	}
  4066  	if m.SAML != nil {
  4067  		{
  4068  			size, err := m.SAML.MarshalToSizedBuffer(dAtA[:i])
  4069  			if err != nil {
  4070  				return 0, err
  4071  			}
  4072  			i -= size
  4073  			i = encodeVarintAuth(dAtA, i, uint64(size))
  4074  		}
  4075  		i--
  4076  		dAtA[i] = 0x1a
  4077  	}
  4078  	if len(m.Description) > 0 {
  4079  		i -= len(m.Description)
  4080  		copy(dAtA[i:], m.Description)
  4081  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Description)))
  4082  		i--
  4083  		dAtA[i] = 0x12
  4084  	}
  4085  	if len(m.Name) > 0 {
  4086  		i -= len(m.Name)
  4087  		copy(dAtA[i:], m.Name)
  4088  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Name)))
  4089  		i--
  4090  		dAtA[i] = 0xa
  4091  	}
  4092  	return len(dAtA) - i, nil
  4093  }
  4094  
  4095  func (m *IDProvider_SAMLOptions) Marshal() (dAtA []byte, err error) {
  4096  	size := m.Size()
  4097  	dAtA = make([]byte, size)
  4098  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4099  	if err != nil {
  4100  		return nil, err
  4101  	}
  4102  	return dAtA[:n], nil
  4103  }
  4104  
  4105  func (m *IDProvider_SAMLOptions) MarshalTo(dAtA []byte) (int, error) {
  4106  	size := m.Size()
  4107  	return m.MarshalToSizedBuffer(dAtA[:size])
  4108  }
  4109  
  4110  func (m *IDProvider_SAMLOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4111  	i := len(dAtA)
  4112  	_ = i
  4113  	var l int
  4114  	_ = l
  4115  	if m.XXX_unrecognized != nil {
  4116  		i -= len(m.XXX_unrecognized)
  4117  		copy(dAtA[i:], m.XXX_unrecognized)
  4118  	}
  4119  	if len(m.GroupAttribute) > 0 {
  4120  		i -= len(m.GroupAttribute)
  4121  		copy(dAtA[i:], m.GroupAttribute)
  4122  		i = encodeVarintAuth(dAtA, i, uint64(len(m.GroupAttribute)))
  4123  		i--
  4124  		dAtA[i] = 0x1a
  4125  	}
  4126  	if len(m.MetadataXML) > 0 {
  4127  		i -= len(m.MetadataXML)
  4128  		copy(dAtA[i:], m.MetadataXML)
  4129  		i = encodeVarintAuth(dAtA, i, uint64(len(m.MetadataXML)))
  4130  		i--
  4131  		dAtA[i] = 0x12
  4132  	}
  4133  	if len(m.MetadataURL) > 0 {
  4134  		i -= len(m.MetadataURL)
  4135  		copy(dAtA[i:], m.MetadataURL)
  4136  		i = encodeVarintAuth(dAtA, i, uint64(len(m.MetadataURL)))
  4137  		i--
  4138  		dAtA[i] = 0xa
  4139  	}
  4140  	return len(dAtA) - i, nil
  4141  }
  4142  
  4143  func (m *IDProvider_GitHubOptions) Marshal() (dAtA []byte, err error) {
  4144  	size := m.Size()
  4145  	dAtA = make([]byte, size)
  4146  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4147  	if err != nil {
  4148  		return nil, err
  4149  	}
  4150  	return dAtA[:n], nil
  4151  }
  4152  
  4153  func (m *IDProvider_GitHubOptions) MarshalTo(dAtA []byte) (int, error) {
  4154  	size := m.Size()
  4155  	return m.MarshalToSizedBuffer(dAtA[:size])
  4156  }
  4157  
  4158  func (m *IDProvider_GitHubOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4159  	i := len(dAtA)
  4160  	_ = i
  4161  	var l int
  4162  	_ = l
  4163  	if m.XXX_unrecognized != nil {
  4164  		i -= len(m.XXX_unrecognized)
  4165  		copy(dAtA[i:], m.XXX_unrecognized)
  4166  	}
  4167  	return len(dAtA) - i, nil
  4168  }
  4169  
  4170  func (m *AuthConfig) Marshal() (dAtA []byte, err error) {
  4171  	size := m.Size()
  4172  	dAtA = make([]byte, size)
  4173  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4174  	if err != nil {
  4175  		return nil, err
  4176  	}
  4177  	return dAtA[:n], nil
  4178  }
  4179  
  4180  func (m *AuthConfig) MarshalTo(dAtA []byte) (int, error) {
  4181  	size := m.Size()
  4182  	return m.MarshalToSizedBuffer(dAtA[:size])
  4183  }
  4184  
  4185  func (m *AuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4186  	i := len(dAtA)
  4187  	_ = i
  4188  	var l int
  4189  	_ = l
  4190  	if m.XXX_unrecognized != nil {
  4191  		i -= len(m.XXX_unrecognized)
  4192  		copy(dAtA[i:], m.XXX_unrecognized)
  4193  	}
  4194  	if m.SAMLServiceOptions != nil {
  4195  		{
  4196  			size, err := m.SAMLServiceOptions.MarshalToSizedBuffer(dAtA[:i])
  4197  			if err != nil {
  4198  				return 0, err
  4199  			}
  4200  			i -= size
  4201  			i = encodeVarintAuth(dAtA, i, uint64(size))
  4202  		}
  4203  		i--
  4204  		dAtA[i] = 0x1a
  4205  	}
  4206  	if len(m.IDProviders) > 0 {
  4207  		for iNdEx := len(m.IDProviders) - 1; iNdEx >= 0; iNdEx-- {
  4208  			{
  4209  				size, err := m.IDProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4210  				if err != nil {
  4211  					return 0, err
  4212  				}
  4213  				i -= size
  4214  				i = encodeVarintAuth(dAtA, i, uint64(size))
  4215  			}
  4216  			i--
  4217  			dAtA[i] = 0x12
  4218  		}
  4219  	}
  4220  	if m.LiveConfigVersion != 0 {
  4221  		i = encodeVarintAuth(dAtA, i, uint64(m.LiveConfigVersion))
  4222  		i--
  4223  		dAtA[i] = 0x8
  4224  	}
  4225  	return len(dAtA) - i, nil
  4226  }
  4227  
  4228  func (m *AuthConfig_SAMLServiceOptions) Marshal() (dAtA []byte, err error) {
  4229  	size := m.Size()
  4230  	dAtA = make([]byte, size)
  4231  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4232  	if err != nil {
  4233  		return nil, err
  4234  	}
  4235  	return dAtA[:n], nil
  4236  }
  4237  
  4238  func (m *AuthConfig_SAMLServiceOptions) MarshalTo(dAtA []byte) (int, error) {
  4239  	size := m.Size()
  4240  	return m.MarshalToSizedBuffer(dAtA[:size])
  4241  }
  4242  
  4243  func (m *AuthConfig_SAMLServiceOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4244  	i := len(dAtA)
  4245  	_ = i
  4246  	var l int
  4247  	_ = l
  4248  	if m.XXX_unrecognized != nil {
  4249  		i -= len(m.XXX_unrecognized)
  4250  		copy(dAtA[i:], m.XXX_unrecognized)
  4251  	}
  4252  	if m.DebugLogging {
  4253  		i--
  4254  		if m.DebugLogging {
  4255  			dAtA[i] = 1
  4256  		} else {
  4257  			dAtA[i] = 0
  4258  		}
  4259  		i--
  4260  		dAtA[i] = 0x28
  4261  	}
  4262  	if len(m.SessionDuration) > 0 {
  4263  		i -= len(m.SessionDuration)
  4264  		copy(dAtA[i:], m.SessionDuration)
  4265  		i = encodeVarintAuth(dAtA, i, uint64(len(m.SessionDuration)))
  4266  		i--
  4267  		dAtA[i] = 0x22
  4268  	}
  4269  	if len(m.DashURL) > 0 {
  4270  		i -= len(m.DashURL)
  4271  		copy(dAtA[i:], m.DashURL)
  4272  		i = encodeVarintAuth(dAtA, i, uint64(len(m.DashURL)))
  4273  		i--
  4274  		dAtA[i] = 0x1a
  4275  	}
  4276  	if len(m.MetadataURL) > 0 {
  4277  		i -= len(m.MetadataURL)
  4278  		copy(dAtA[i:], m.MetadataURL)
  4279  		i = encodeVarintAuth(dAtA, i, uint64(len(m.MetadataURL)))
  4280  		i--
  4281  		dAtA[i] = 0x12
  4282  	}
  4283  	if len(m.ACSURL) > 0 {
  4284  		i -= len(m.ACSURL)
  4285  		copy(dAtA[i:], m.ACSURL)
  4286  		i = encodeVarintAuth(dAtA, i, uint64(len(m.ACSURL)))
  4287  		i--
  4288  		dAtA[i] = 0xa
  4289  	}
  4290  	return len(dAtA) - i, nil
  4291  }
  4292  
  4293  func (m *GetConfigurationRequest) Marshal() (dAtA []byte, err error) {
  4294  	size := m.Size()
  4295  	dAtA = make([]byte, size)
  4296  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4297  	if err != nil {
  4298  		return nil, err
  4299  	}
  4300  	return dAtA[:n], nil
  4301  }
  4302  
  4303  func (m *GetConfigurationRequest) MarshalTo(dAtA []byte) (int, error) {
  4304  	size := m.Size()
  4305  	return m.MarshalToSizedBuffer(dAtA[:size])
  4306  }
  4307  
  4308  func (m *GetConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4309  	i := len(dAtA)
  4310  	_ = i
  4311  	var l int
  4312  	_ = l
  4313  	if m.XXX_unrecognized != nil {
  4314  		i -= len(m.XXX_unrecognized)
  4315  		copy(dAtA[i:], m.XXX_unrecognized)
  4316  	}
  4317  	return len(dAtA) - i, nil
  4318  }
  4319  
  4320  func (m *GetConfigurationResponse) Marshal() (dAtA []byte, err error) {
  4321  	size := m.Size()
  4322  	dAtA = make([]byte, size)
  4323  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4324  	if err != nil {
  4325  		return nil, err
  4326  	}
  4327  	return dAtA[:n], nil
  4328  }
  4329  
  4330  func (m *GetConfigurationResponse) MarshalTo(dAtA []byte) (int, error) {
  4331  	size := m.Size()
  4332  	return m.MarshalToSizedBuffer(dAtA[:size])
  4333  }
  4334  
  4335  func (m *GetConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4336  	i := len(dAtA)
  4337  	_ = i
  4338  	var l int
  4339  	_ = l
  4340  	if m.XXX_unrecognized != nil {
  4341  		i -= len(m.XXX_unrecognized)
  4342  		copy(dAtA[i:], m.XXX_unrecognized)
  4343  	}
  4344  	if m.Configuration != nil {
  4345  		{
  4346  			size, err := m.Configuration.MarshalToSizedBuffer(dAtA[:i])
  4347  			if err != nil {
  4348  				return 0, err
  4349  			}
  4350  			i -= size
  4351  			i = encodeVarintAuth(dAtA, i, uint64(size))
  4352  		}
  4353  		i--
  4354  		dAtA[i] = 0xa
  4355  	}
  4356  	return len(dAtA) - i, nil
  4357  }
  4358  
  4359  func (m *SetConfigurationRequest) Marshal() (dAtA []byte, err error) {
  4360  	size := m.Size()
  4361  	dAtA = make([]byte, size)
  4362  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4363  	if err != nil {
  4364  		return nil, err
  4365  	}
  4366  	return dAtA[:n], nil
  4367  }
  4368  
  4369  func (m *SetConfigurationRequest) MarshalTo(dAtA []byte) (int, error) {
  4370  	size := m.Size()
  4371  	return m.MarshalToSizedBuffer(dAtA[:size])
  4372  }
  4373  
  4374  func (m *SetConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4375  	i := len(dAtA)
  4376  	_ = i
  4377  	var l int
  4378  	_ = l
  4379  	if m.XXX_unrecognized != nil {
  4380  		i -= len(m.XXX_unrecognized)
  4381  		copy(dAtA[i:], m.XXX_unrecognized)
  4382  	}
  4383  	if m.Configuration != nil {
  4384  		{
  4385  			size, err := m.Configuration.MarshalToSizedBuffer(dAtA[:i])
  4386  			if err != nil {
  4387  				return 0, err
  4388  			}
  4389  			i -= size
  4390  			i = encodeVarintAuth(dAtA, i, uint64(size))
  4391  		}
  4392  		i--
  4393  		dAtA[i] = 0xa
  4394  	}
  4395  	return len(dAtA) - i, nil
  4396  }
  4397  
  4398  func (m *SetConfigurationResponse) Marshal() (dAtA []byte, err error) {
  4399  	size := m.Size()
  4400  	dAtA = make([]byte, size)
  4401  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4402  	if err != nil {
  4403  		return nil, err
  4404  	}
  4405  	return dAtA[:n], nil
  4406  }
  4407  
  4408  func (m *SetConfigurationResponse) MarshalTo(dAtA []byte) (int, error) {
  4409  	size := m.Size()
  4410  	return m.MarshalToSizedBuffer(dAtA[:size])
  4411  }
  4412  
  4413  func (m *SetConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4414  	i := len(dAtA)
  4415  	_ = i
  4416  	var l int
  4417  	_ = l
  4418  	if m.XXX_unrecognized != nil {
  4419  		i -= len(m.XXX_unrecognized)
  4420  		copy(dAtA[i:], m.XXX_unrecognized)
  4421  	}
  4422  	return len(dAtA) - i, nil
  4423  }
  4424  
  4425  func (m *GetAdminsRequest) Marshal() (dAtA []byte, err error) {
  4426  	size := m.Size()
  4427  	dAtA = make([]byte, size)
  4428  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4429  	if err != nil {
  4430  		return nil, err
  4431  	}
  4432  	return dAtA[:n], nil
  4433  }
  4434  
  4435  func (m *GetAdminsRequest) MarshalTo(dAtA []byte) (int, error) {
  4436  	size := m.Size()
  4437  	return m.MarshalToSizedBuffer(dAtA[:size])
  4438  }
  4439  
  4440  func (m *GetAdminsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4441  	i := len(dAtA)
  4442  	_ = i
  4443  	var l int
  4444  	_ = l
  4445  	if m.XXX_unrecognized != nil {
  4446  		i -= len(m.XXX_unrecognized)
  4447  		copy(dAtA[i:], m.XXX_unrecognized)
  4448  	}
  4449  	return len(dAtA) - i, nil
  4450  }
  4451  
  4452  func (m *GetAdminsResponse) Marshal() (dAtA []byte, err error) {
  4453  	size := m.Size()
  4454  	dAtA = make([]byte, size)
  4455  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4456  	if err != nil {
  4457  		return nil, err
  4458  	}
  4459  	return dAtA[:n], nil
  4460  }
  4461  
  4462  func (m *GetAdminsResponse) MarshalTo(dAtA []byte) (int, error) {
  4463  	size := m.Size()
  4464  	return m.MarshalToSizedBuffer(dAtA[:size])
  4465  }
  4466  
  4467  func (m *GetAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4468  	i := len(dAtA)
  4469  	_ = i
  4470  	var l int
  4471  	_ = l
  4472  	if m.XXX_unrecognized != nil {
  4473  		i -= len(m.XXX_unrecognized)
  4474  		copy(dAtA[i:], m.XXX_unrecognized)
  4475  	}
  4476  	if len(m.Admins) > 0 {
  4477  		for iNdEx := len(m.Admins) - 1; iNdEx >= 0; iNdEx-- {
  4478  			i -= len(m.Admins[iNdEx])
  4479  			copy(dAtA[i:], m.Admins[iNdEx])
  4480  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Admins[iNdEx])))
  4481  			i--
  4482  			dAtA[i] = 0xa
  4483  		}
  4484  	}
  4485  	return len(dAtA) - i, nil
  4486  }
  4487  
  4488  func (m *ModifyAdminsRequest) Marshal() (dAtA []byte, err error) {
  4489  	size := m.Size()
  4490  	dAtA = make([]byte, size)
  4491  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4492  	if err != nil {
  4493  		return nil, err
  4494  	}
  4495  	return dAtA[:n], nil
  4496  }
  4497  
  4498  func (m *ModifyAdminsRequest) MarshalTo(dAtA []byte) (int, error) {
  4499  	size := m.Size()
  4500  	return m.MarshalToSizedBuffer(dAtA[:size])
  4501  }
  4502  
  4503  func (m *ModifyAdminsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4504  	i := len(dAtA)
  4505  	_ = i
  4506  	var l int
  4507  	_ = l
  4508  	if m.XXX_unrecognized != nil {
  4509  		i -= len(m.XXX_unrecognized)
  4510  		copy(dAtA[i:], m.XXX_unrecognized)
  4511  	}
  4512  	if len(m.Remove) > 0 {
  4513  		for iNdEx := len(m.Remove) - 1; iNdEx >= 0; iNdEx-- {
  4514  			i -= len(m.Remove[iNdEx])
  4515  			copy(dAtA[i:], m.Remove[iNdEx])
  4516  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Remove[iNdEx])))
  4517  			i--
  4518  			dAtA[i] = 0x12
  4519  		}
  4520  	}
  4521  	if len(m.Add) > 0 {
  4522  		for iNdEx := len(m.Add) - 1; iNdEx >= 0; iNdEx-- {
  4523  			i -= len(m.Add[iNdEx])
  4524  			copy(dAtA[i:], m.Add[iNdEx])
  4525  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Add[iNdEx])))
  4526  			i--
  4527  			dAtA[i] = 0xa
  4528  		}
  4529  	}
  4530  	return len(dAtA) - i, nil
  4531  }
  4532  
  4533  func (m *ModifyAdminsResponse) Marshal() (dAtA []byte, err error) {
  4534  	size := m.Size()
  4535  	dAtA = make([]byte, size)
  4536  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4537  	if err != nil {
  4538  		return nil, err
  4539  	}
  4540  	return dAtA[:n], nil
  4541  }
  4542  
  4543  func (m *ModifyAdminsResponse) MarshalTo(dAtA []byte) (int, error) {
  4544  	size := m.Size()
  4545  	return m.MarshalToSizedBuffer(dAtA[:size])
  4546  }
  4547  
  4548  func (m *ModifyAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4549  	i := len(dAtA)
  4550  	_ = i
  4551  	var l int
  4552  	_ = l
  4553  	if m.XXX_unrecognized != nil {
  4554  		i -= len(m.XXX_unrecognized)
  4555  		copy(dAtA[i:], m.XXX_unrecognized)
  4556  	}
  4557  	return len(dAtA) - i, nil
  4558  }
  4559  
  4560  func (m *OTPInfo) Marshal() (dAtA []byte, err error) {
  4561  	size := m.Size()
  4562  	dAtA = make([]byte, size)
  4563  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4564  	if err != nil {
  4565  		return nil, err
  4566  	}
  4567  	return dAtA[:n], nil
  4568  }
  4569  
  4570  func (m *OTPInfo) MarshalTo(dAtA []byte) (int, error) {
  4571  	size := m.Size()
  4572  	return m.MarshalToSizedBuffer(dAtA[:size])
  4573  }
  4574  
  4575  func (m *OTPInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4576  	i := len(dAtA)
  4577  	_ = i
  4578  	var l int
  4579  	_ = l
  4580  	if m.XXX_unrecognized != nil {
  4581  		i -= len(m.XXX_unrecognized)
  4582  		copy(dAtA[i:], m.XXX_unrecognized)
  4583  	}
  4584  	if m.SessionExpiration != nil {
  4585  		{
  4586  			size, err := m.SessionExpiration.MarshalToSizedBuffer(dAtA[:i])
  4587  			if err != nil {
  4588  				return 0, err
  4589  			}
  4590  			i -= size
  4591  			i = encodeVarintAuth(dAtA, i, uint64(size))
  4592  		}
  4593  		i--
  4594  		dAtA[i] = 0x12
  4595  	}
  4596  	if len(m.Subject) > 0 {
  4597  		i -= len(m.Subject)
  4598  		copy(dAtA[i:], m.Subject)
  4599  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Subject)))
  4600  		i--
  4601  		dAtA[i] = 0xa
  4602  	}
  4603  	return len(dAtA) - i, nil
  4604  }
  4605  
  4606  func (m *TokenInfo) Marshal() (dAtA []byte, err error) {
  4607  	size := m.Size()
  4608  	dAtA = make([]byte, size)
  4609  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4610  	if err != nil {
  4611  		return nil, err
  4612  	}
  4613  	return dAtA[:n], nil
  4614  }
  4615  
  4616  func (m *TokenInfo) MarshalTo(dAtA []byte) (int, error) {
  4617  	size := m.Size()
  4618  	return m.MarshalToSizedBuffer(dAtA[:size])
  4619  }
  4620  
  4621  func (m *TokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4622  	i := len(dAtA)
  4623  	_ = i
  4624  	var l int
  4625  	_ = l
  4626  	if m.XXX_unrecognized != nil {
  4627  		i -= len(m.XXX_unrecognized)
  4628  		copy(dAtA[i:], m.XXX_unrecognized)
  4629  	}
  4630  	if m.Source != 0 {
  4631  		i = encodeVarintAuth(dAtA, i, uint64(m.Source))
  4632  		i--
  4633  		dAtA[i] = 0x10
  4634  	}
  4635  	if len(m.Subject) > 0 {
  4636  		i -= len(m.Subject)
  4637  		copy(dAtA[i:], m.Subject)
  4638  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Subject)))
  4639  		i--
  4640  		dAtA[i] = 0xa
  4641  	}
  4642  	return len(dAtA) - i, nil
  4643  }
  4644  
  4645  func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error) {
  4646  	size := m.Size()
  4647  	dAtA = make([]byte, size)
  4648  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4649  	if err != nil {
  4650  		return nil, err
  4651  	}
  4652  	return dAtA[:n], nil
  4653  }
  4654  
  4655  func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error) {
  4656  	size := m.Size()
  4657  	return m.MarshalToSizedBuffer(dAtA[:size])
  4658  }
  4659  
  4660  func (m *AuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4661  	i := len(dAtA)
  4662  	_ = i
  4663  	var l int
  4664  	_ = l
  4665  	if m.XXX_unrecognized != nil {
  4666  		i -= len(m.XXX_unrecognized)
  4667  		copy(dAtA[i:], m.XXX_unrecognized)
  4668  	}
  4669  	if len(m.OneTimePassword) > 0 {
  4670  		i -= len(m.OneTimePassword)
  4671  		copy(dAtA[i:], m.OneTimePassword)
  4672  		i = encodeVarintAuth(dAtA, i, uint64(len(m.OneTimePassword)))
  4673  		i--
  4674  		dAtA[i] = 0x12
  4675  	}
  4676  	if len(m.GitHubToken) > 0 {
  4677  		i -= len(m.GitHubToken)
  4678  		copy(dAtA[i:], m.GitHubToken)
  4679  		i = encodeVarintAuth(dAtA, i, uint64(len(m.GitHubToken)))
  4680  		i--
  4681  		dAtA[i] = 0xa
  4682  	}
  4683  	return len(dAtA) - i, nil
  4684  }
  4685  
  4686  func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error) {
  4687  	size := m.Size()
  4688  	dAtA = make([]byte, size)
  4689  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4690  	if err != nil {
  4691  		return nil, err
  4692  	}
  4693  	return dAtA[:n], nil
  4694  }
  4695  
  4696  func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error) {
  4697  	size := m.Size()
  4698  	return m.MarshalToSizedBuffer(dAtA[:size])
  4699  }
  4700  
  4701  func (m *AuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4702  	i := len(dAtA)
  4703  	_ = i
  4704  	var l int
  4705  	_ = l
  4706  	if m.XXX_unrecognized != nil {
  4707  		i -= len(m.XXX_unrecognized)
  4708  		copy(dAtA[i:], m.XXX_unrecognized)
  4709  	}
  4710  	if len(m.PachToken) > 0 {
  4711  		i -= len(m.PachToken)
  4712  		copy(dAtA[i:], m.PachToken)
  4713  		i = encodeVarintAuth(dAtA, i, uint64(len(m.PachToken)))
  4714  		i--
  4715  		dAtA[i] = 0xa
  4716  	}
  4717  	return len(dAtA) - i, nil
  4718  }
  4719  
  4720  func (m *WhoAmIRequest) Marshal() (dAtA []byte, err error) {
  4721  	size := m.Size()
  4722  	dAtA = make([]byte, size)
  4723  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4724  	if err != nil {
  4725  		return nil, err
  4726  	}
  4727  	return dAtA[:n], nil
  4728  }
  4729  
  4730  func (m *WhoAmIRequest) MarshalTo(dAtA []byte) (int, error) {
  4731  	size := m.Size()
  4732  	return m.MarshalToSizedBuffer(dAtA[:size])
  4733  }
  4734  
  4735  func (m *WhoAmIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4736  	i := len(dAtA)
  4737  	_ = i
  4738  	var l int
  4739  	_ = l
  4740  	if m.XXX_unrecognized != nil {
  4741  		i -= len(m.XXX_unrecognized)
  4742  		copy(dAtA[i:], m.XXX_unrecognized)
  4743  	}
  4744  	return len(dAtA) - i, nil
  4745  }
  4746  
  4747  func (m *WhoAmIResponse) Marshal() (dAtA []byte, err error) {
  4748  	size := m.Size()
  4749  	dAtA = make([]byte, size)
  4750  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4751  	if err != nil {
  4752  		return nil, err
  4753  	}
  4754  	return dAtA[:n], nil
  4755  }
  4756  
  4757  func (m *WhoAmIResponse) MarshalTo(dAtA []byte) (int, error) {
  4758  	size := m.Size()
  4759  	return m.MarshalToSizedBuffer(dAtA[:size])
  4760  }
  4761  
  4762  func (m *WhoAmIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4763  	i := len(dAtA)
  4764  	_ = i
  4765  	var l int
  4766  	_ = l
  4767  	if m.XXX_unrecognized != nil {
  4768  		i -= len(m.XXX_unrecognized)
  4769  		copy(dAtA[i:], m.XXX_unrecognized)
  4770  	}
  4771  	if m.TTL != 0 {
  4772  		i = encodeVarintAuth(dAtA, i, uint64(m.TTL))
  4773  		i--
  4774  		dAtA[i] = 0x18
  4775  	}
  4776  	if m.IsAdmin {
  4777  		i--
  4778  		if m.IsAdmin {
  4779  			dAtA[i] = 1
  4780  		} else {
  4781  			dAtA[i] = 0
  4782  		}
  4783  		i--
  4784  		dAtA[i] = 0x10
  4785  	}
  4786  	if len(m.Username) > 0 {
  4787  		i -= len(m.Username)
  4788  		copy(dAtA[i:], m.Username)
  4789  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Username)))
  4790  		i--
  4791  		dAtA[i] = 0xa
  4792  	}
  4793  	return len(dAtA) - i, nil
  4794  }
  4795  
  4796  func (m *ACL) Marshal() (dAtA []byte, err error) {
  4797  	size := m.Size()
  4798  	dAtA = make([]byte, size)
  4799  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4800  	if err != nil {
  4801  		return nil, err
  4802  	}
  4803  	return dAtA[:n], nil
  4804  }
  4805  
  4806  func (m *ACL) MarshalTo(dAtA []byte) (int, error) {
  4807  	size := m.Size()
  4808  	return m.MarshalToSizedBuffer(dAtA[:size])
  4809  }
  4810  
  4811  func (m *ACL) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4812  	i := len(dAtA)
  4813  	_ = i
  4814  	var l int
  4815  	_ = l
  4816  	if m.XXX_unrecognized != nil {
  4817  		i -= len(m.XXX_unrecognized)
  4818  		copy(dAtA[i:], m.XXX_unrecognized)
  4819  	}
  4820  	if len(m.Entries) > 0 {
  4821  		for k := range m.Entries {
  4822  			v := m.Entries[k]
  4823  			baseI := i
  4824  			i = encodeVarintAuth(dAtA, i, uint64(v))
  4825  			i--
  4826  			dAtA[i] = 0x10
  4827  			i -= len(k)
  4828  			copy(dAtA[i:], k)
  4829  			i = encodeVarintAuth(dAtA, i, uint64(len(k)))
  4830  			i--
  4831  			dAtA[i] = 0xa
  4832  			i = encodeVarintAuth(dAtA, i, uint64(baseI-i))
  4833  			i--
  4834  			dAtA[i] = 0xa
  4835  		}
  4836  	}
  4837  	return len(dAtA) - i, nil
  4838  }
  4839  
  4840  func (m *Users) Marshal() (dAtA []byte, err error) {
  4841  	size := m.Size()
  4842  	dAtA = make([]byte, size)
  4843  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4844  	if err != nil {
  4845  		return nil, err
  4846  	}
  4847  	return dAtA[:n], nil
  4848  }
  4849  
  4850  func (m *Users) MarshalTo(dAtA []byte) (int, error) {
  4851  	size := m.Size()
  4852  	return m.MarshalToSizedBuffer(dAtA[:size])
  4853  }
  4854  
  4855  func (m *Users) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4856  	i := len(dAtA)
  4857  	_ = i
  4858  	var l int
  4859  	_ = l
  4860  	if m.XXX_unrecognized != nil {
  4861  		i -= len(m.XXX_unrecognized)
  4862  		copy(dAtA[i:], m.XXX_unrecognized)
  4863  	}
  4864  	if len(m.Usernames) > 0 {
  4865  		for k := range m.Usernames {
  4866  			v := m.Usernames[k]
  4867  			baseI := i
  4868  			i--
  4869  			if v {
  4870  				dAtA[i] = 1
  4871  			} else {
  4872  				dAtA[i] = 0
  4873  			}
  4874  			i--
  4875  			dAtA[i] = 0x10
  4876  			i -= len(k)
  4877  			copy(dAtA[i:], k)
  4878  			i = encodeVarintAuth(dAtA, i, uint64(len(k)))
  4879  			i--
  4880  			dAtA[i] = 0xa
  4881  			i = encodeVarintAuth(dAtA, i, uint64(baseI-i))
  4882  			i--
  4883  			dAtA[i] = 0xa
  4884  		}
  4885  	}
  4886  	return len(dAtA) - i, nil
  4887  }
  4888  
  4889  func (m *Groups) Marshal() (dAtA []byte, err error) {
  4890  	size := m.Size()
  4891  	dAtA = make([]byte, size)
  4892  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4893  	if err != nil {
  4894  		return nil, err
  4895  	}
  4896  	return dAtA[:n], nil
  4897  }
  4898  
  4899  func (m *Groups) MarshalTo(dAtA []byte) (int, error) {
  4900  	size := m.Size()
  4901  	return m.MarshalToSizedBuffer(dAtA[:size])
  4902  }
  4903  
  4904  func (m *Groups) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4905  	i := len(dAtA)
  4906  	_ = i
  4907  	var l int
  4908  	_ = l
  4909  	if m.XXX_unrecognized != nil {
  4910  		i -= len(m.XXX_unrecognized)
  4911  		copy(dAtA[i:], m.XXX_unrecognized)
  4912  	}
  4913  	if len(m.Groups) > 0 {
  4914  		for k := range m.Groups {
  4915  			v := m.Groups[k]
  4916  			baseI := i
  4917  			i--
  4918  			if v {
  4919  				dAtA[i] = 1
  4920  			} else {
  4921  				dAtA[i] = 0
  4922  			}
  4923  			i--
  4924  			dAtA[i] = 0x10
  4925  			i -= len(k)
  4926  			copy(dAtA[i:], k)
  4927  			i = encodeVarintAuth(dAtA, i, uint64(len(k)))
  4928  			i--
  4929  			dAtA[i] = 0xa
  4930  			i = encodeVarintAuth(dAtA, i, uint64(baseI-i))
  4931  			i--
  4932  			dAtA[i] = 0xa
  4933  		}
  4934  	}
  4935  	return len(dAtA) - i, nil
  4936  }
  4937  
  4938  func (m *AuthorizeRequest) Marshal() (dAtA []byte, err error) {
  4939  	size := m.Size()
  4940  	dAtA = make([]byte, size)
  4941  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4942  	if err != nil {
  4943  		return nil, err
  4944  	}
  4945  	return dAtA[:n], nil
  4946  }
  4947  
  4948  func (m *AuthorizeRequest) MarshalTo(dAtA []byte) (int, error) {
  4949  	size := m.Size()
  4950  	return m.MarshalToSizedBuffer(dAtA[:size])
  4951  }
  4952  
  4953  func (m *AuthorizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4954  	i := len(dAtA)
  4955  	_ = i
  4956  	var l int
  4957  	_ = l
  4958  	if m.XXX_unrecognized != nil {
  4959  		i -= len(m.XXX_unrecognized)
  4960  		copy(dAtA[i:], m.XXX_unrecognized)
  4961  	}
  4962  	if m.Scope != 0 {
  4963  		i = encodeVarintAuth(dAtA, i, uint64(m.Scope))
  4964  		i--
  4965  		dAtA[i] = 0x10
  4966  	}
  4967  	if len(m.Repo) > 0 {
  4968  		i -= len(m.Repo)
  4969  		copy(dAtA[i:], m.Repo)
  4970  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Repo)))
  4971  		i--
  4972  		dAtA[i] = 0xa
  4973  	}
  4974  	return len(dAtA) - i, nil
  4975  }
  4976  
  4977  func (m *AuthorizeResponse) Marshal() (dAtA []byte, err error) {
  4978  	size := m.Size()
  4979  	dAtA = make([]byte, size)
  4980  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4981  	if err != nil {
  4982  		return nil, err
  4983  	}
  4984  	return dAtA[:n], nil
  4985  }
  4986  
  4987  func (m *AuthorizeResponse) MarshalTo(dAtA []byte) (int, error) {
  4988  	size := m.Size()
  4989  	return m.MarshalToSizedBuffer(dAtA[:size])
  4990  }
  4991  
  4992  func (m *AuthorizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4993  	i := len(dAtA)
  4994  	_ = i
  4995  	var l int
  4996  	_ = l
  4997  	if m.XXX_unrecognized != nil {
  4998  		i -= len(m.XXX_unrecognized)
  4999  		copy(dAtA[i:], m.XXX_unrecognized)
  5000  	}
  5001  	if m.Authorized {
  5002  		i--
  5003  		if m.Authorized {
  5004  			dAtA[i] = 1
  5005  		} else {
  5006  			dAtA[i] = 0
  5007  		}
  5008  		i--
  5009  		dAtA[i] = 0x8
  5010  	}
  5011  	return len(dAtA) - i, nil
  5012  }
  5013  
  5014  func (m *GetScopeRequest) Marshal() (dAtA []byte, err error) {
  5015  	size := m.Size()
  5016  	dAtA = make([]byte, size)
  5017  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5018  	if err != nil {
  5019  		return nil, err
  5020  	}
  5021  	return dAtA[:n], nil
  5022  }
  5023  
  5024  func (m *GetScopeRequest) MarshalTo(dAtA []byte) (int, error) {
  5025  	size := m.Size()
  5026  	return m.MarshalToSizedBuffer(dAtA[:size])
  5027  }
  5028  
  5029  func (m *GetScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5030  	i := len(dAtA)
  5031  	_ = i
  5032  	var l int
  5033  	_ = l
  5034  	if m.XXX_unrecognized != nil {
  5035  		i -= len(m.XXX_unrecognized)
  5036  		copy(dAtA[i:], m.XXX_unrecognized)
  5037  	}
  5038  	if len(m.Repos) > 0 {
  5039  		for iNdEx := len(m.Repos) - 1; iNdEx >= 0; iNdEx-- {
  5040  			i -= len(m.Repos[iNdEx])
  5041  			copy(dAtA[i:], m.Repos[iNdEx])
  5042  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Repos[iNdEx])))
  5043  			i--
  5044  			dAtA[i] = 0x12
  5045  		}
  5046  	}
  5047  	if len(m.Username) > 0 {
  5048  		i -= len(m.Username)
  5049  		copy(dAtA[i:], m.Username)
  5050  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Username)))
  5051  		i--
  5052  		dAtA[i] = 0xa
  5053  	}
  5054  	return len(dAtA) - i, nil
  5055  }
  5056  
  5057  func (m *GetScopeResponse) Marshal() (dAtA []byte, err error) {
  5058  	size := m.Size()
  5059  	dAtA = make([]byte, size)
  5060  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5061  	if err != nil {
  5062  		return nil, err
  5063  	}
  5064  	return dAtA[:n], nil
  5065  }
  5066  
  5067  func (m *GetScopeResponse) MarshalTo(dAtA []byte) (int, error) {
  5068  	size := m.Size()
  5069  	return m.MarshalToSizedBuffer(dAtA[:size])
  5070  }
  5071  
  5072  func (m *GetScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5073  	i := len(dAtA)
  5074  	_ = i
  5075  	var l int
  5076  	_ = l
  5077  	if m.XXX_unrecognized != nil {
  5078  		i -= len(m.XXX_unrecognized)
  5079  		copy(dAtA[i:], m.XXX_unrecognized)
  5080  	}
  5081  	if len(m.Scopes) > 0 {
  5082  		dAtA8 := make([]byte, len(m.Scopes)*10)
  5083  		var j7 int
  5084  		for _, num := range m.Scopes {
  5085  			for num >= 1<<7 {
  5086  				dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80)
  5087  				num >>= 7
  5088  				j7++
  5089  			}
  5090  			dAtA8[j7] = uint8(num)
  5091  			j7++
  5092  		}
  5093  		i -= j7
  5094  		copy(dAtA[i:], dAtA8[:j7])
  5095  		i = encodeVarintAuth(dAtA, i, uint64(j7))
  5096  		i--
  5097  		dAtA[i] = 0xa
  5098  	}
  5099  	return len(dAtA) - i, nil
  5100  }
  5101  
  5102  func (m *SetScopeRequest) Marshal() (dAtA []byte, err error) {
  5103  	size := m.Size()
  5104  	dAtA = make([]byte, size)
  5105  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5106  	if err != nil {
  5107  		return nil, err
  5108  	}
  5109  	return dAtA[:n], nil
  5110  }
  5111  
  5112  func (m *SetScopeRequest) MarshalTo(dAtA []byte) (int, error) {
  5113  	size := m.Size()
  5114  	return m.MarshalToSizedBuffer(dAtA[:size])
  5115  }
  5116  
  5117  func (m *SetScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5118  	i := len(dAtA)
  5119  	_ = i
  5120  	var l int
  5121  	_ = l
  5122  	if m.XXX_unrecognized != nil {
  5123  		i -= len(m.XXX_unrecognized)
  5124  		copy(dAtA[i:], m.XXX_unrecognized)
  5125  	}
  5126  	if m.Scope != 0 {
  5127  		i = encodeVarintAuth(dAtA, i, uint64(m.Scope))
  5128  		i--
  5129  		dAtA[i] = 0x18
  5130  	}
  5131  	if len(m.Repo) > 0 {
  5132  		i -= len(m.Repo)
  5133  		copy(dAtA[i:], m.Repo)
  5134  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Repo)))
  5135  		i--
  5136  		dAtA[i] = 0x12
  5137  	}
  5138  	if len(m.Username) > 0 {
  5139  		i -= len(m.Username)
  5140  		copy(dAtA[i:], m.Username)
  5141  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Username)))
  5142  		i--
  5143  		dAtA[i] = 0xa
  5144  	}
  5145  	return len(dAtA) - i, nil
  5146  }
  5147  
  5148  func (m *SetScopeResponse) Marshal() (dAtA []byte, err error) {
  5149  	size := m.Size()
  5150  	dAtA = make([]byte, size)
  5151  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5152  	if err != nil {
  5153  		return nil, err
  5154  	}
  5155  	return dAtA[:n], nil
  5156  }
  5157  
  5158  func (m *SetScopeResponse) MarshalTo(dAtA []byte) (int, error) {
  5159  	size := m.Size()
  5160  	return m.MarshalToSizedBuffer(dAtA[:size])
  5161  }
  5162  
  5163  func (m *SetScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5164  	i := len(dAtA)
  5165  	_ = i
  5166  	var l int
  5167  	_ = l
  5168  	if m.XXX_unrecognized != nil {
  5169  		i -= len(m.XXX_unrecognized)
  5170  		copy(dAtA[i:], m.XXX_unrecognized)
  5171  	}
  5172  	return len(dAtA) - i, nil
  5173  }
  5174  
  5175  func (m *GetACLRequest) Marshal() (dAtA []byte, err error) {
  5176  	size := m.Size()
  5177  	dAtA = make([]byte, size)
  5178  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5179  	if err != nil {
  5180  		return nil, err
  5181  	}
  5182  	return dAtA[:n], nil
  5183  }
  5184  
  5185  func (m *GetACLRequest) MarshalTo(dAtA []byte) (int, error) {
  5186  	size := m.Size()
  5187  	return m.MarshalToSizedBuffer(dAtA[:size])
  5188  }
  5189  
  5190  func (m *GetACLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5191  	i := len(dAtA)
  5192  	_ = i
  5193  	var l int
  5194  	_ = l
  5195  	if m.XXX_unrecognized != nil {
  5196  		i -= len(m.XXX_unrecognized)
  5197  		copy(dAtA[i:], m.XXX_unrecognized)
  5198  	}
  5199  	if len(m.Repo) > 0 {
  5200  		i -= len(m.Repo)
  5201  		copy(dAtA[i:], m.Repo)
  5202  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Repo)))
  5203  		i--
  5204  		dAtA[i] = 0xa
  5205  	}
  5206  	return len(dAtA) - i, nil
  5207  }
  5208  
  5209  func (m *ACLEntry) Marshal() (dAtA []byte, err error) {
  5210  	size := m.Size()
  5211  	dAtA = make([]byte, size)
  5212  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5213  	if err != nil {
  5214  		return nil, err
  5215  	}
  5216  	return dAtA[:n], nil
  5217  }
  5218  
  5219  func (m *ACLEntry) MarshalTo(dAtA []byte) (int, error) {
  5220  	size := m.Size()
  5221  	return m.MarshalToSizedBuffer(dAtA[:size])
  5222  }
  5223  
  5224  func (m *ACLEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5225  	i := len(dAtA)
  5226  	_ = i
  5227  	var l int
  5228  	_ = l
  5229  	if m.XXX_unrecognized != nil {
  5230  		i -= len(m.XXX_unrecognized)
  5231  		copy(dAtA[i:], m.XXX_unrecognized)
  5232  	}
  5233  	if m.Scope != 0 {
  5234  		i = encodeVarintAuth(dAtA, i, uint64(m.Scope))
  5235  		i--
  5236  		dAtA[i] = 0x10
  5237  	}
  5238  	if len(m.Username) > 0 {
  5239  		i -= len(m.Username)
  5240  		copy(dAtA[i:], m.Username)
  5241  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Username)))
  5242  		i--
  5243  		dAtA[i] = 0xa
  5244  	}
  5245  	return len(dAtA) - i, nil
  5246  }
  5247  
  5248  func (m *GetACLResponse) Marshal() (dAtA []byte, err error) {
  5249  	size := m.Size()
  5250  	dAtA = make([]byte, size)
  5251  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5252  	if err != nil {
  5253  		return nil, err
  5254  	}
  5255  	return dAtA[:n], nil
  5256  }
  5257  
  5258  func (m *GetACLResponse) MarshalTo(dAtA []byte) (int, error) {
  5259  	size := m.Size()
  5260  	return m.MarshalToSizedBuffer(dAtA[:size])
  5261  }
  5262  
  5263  func (m *GetACLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5264  	i := len(dAtA)
  5265  	_ = i
  5266  	var l int
  5267  	_ = l
  5268  	if m.XXX_unrecognized != nil {
  5269  		i -= len(m.XXX_unrecognized)
  5270  		copy(dAtA[i:], m.XXX_unrecognized)
  5271  	}
  5272  	if len(m.RobotEntries) > 0 {
  5273  		for iNdEx := len(m.RobotEntries) - 1; iNdEx >= 0; iNdEx-- {
  5274  			{
  5275  				size, err := m.RobotEntries[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5276  				if err != nil {
  5277  					return 0, err
  5278  				}
  5279  				i -= size
  5280  				i = encodeVarintAuth(dAtA, i, uint64(size))
  5281  			}
  5282  			i--
  5283  			dAtA[i] = 0x12
  5284  		}
  5285  	}
  5286  	if len(m.Entries) > 0 {
  5287  		for iNdEx := len(m.Entries) - 1; iNdEx >= 0; iNdEx-- {
  5288  			{
  5289  				size, err := m.Entries[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5290  				if err != nil {
  5291  					return 0, err
  5292  				}
  5293  				i -= size
  5294  				i = encodeVarintAuth(dAtA, i, uint64(size))
  5295  			}
  5296  			i--
  5297  			dAtA[i] = 0xa
  5298  		}
  5299  	}
  5300  	return len(dAtA) - i, nil
  5301  }
  5302  
  5303  func (m *SetACLRequest) Marshal() (dAtA []byte, err error) {
  5304  	size := m.Size()
  5305  	dAtA = make([]byte, size)
  5306  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5307  	if err != nil {
  5308  		return nil, err
  5309  	}
  5310  	return dAtA[:n], nil
  5311  }
  5312  
  5313  func (m *SetACLRequest) MarshalTo(dAtA []byte) (int, error) {
  5314  	size := m.Size()
  5315  	return m.MarshalToSizedBuffer(dAtA[:size])
  5316  }
  5317  
  5318  func (m *SetACLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5319  	i := len(dAtA)
  5320  	_ = i
  5321  	var l int
  5322  	_ = l
  5323  	if m.XXX_unrecognized != nil {
  5324  		i -= len(m.XXX_unrecognized)
  5325  		copy(dAtA[i:], m.XXX_unrecognized)
  5326  	}
  5327  	if len(m.Entries) > 0 {
  5328  		for iNdEx := len(m.Entries) - 1; iNdEx >= 0; iNdEx-- {
  5329  			{
  5330  				size, err := m.Entries[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5331  				if err != nil {
  5332  					return 0, err
  5333  				}
  5334  				i -= size
  5335  				i = encodeVarintAuth(dAtA, i, uint64(size))
  5336  			}
  5337  			i--
  5338  			dAtA[i] = 0x12
  5339  		}
  5340  	}
  5341  	if len(m.Repo) > 0 {
  5342  		i -= len(m.Repo)
  5343  		copy(dAtA[i:], m.Repo)
  5344  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Repo)))
  5345  		i--
  5346  		dAtA[i] = 0xa
  5347  	}
  5348  	return len(dAtA) - i, nil
  5349  }
  5350  
  5351  func (m *SetACLResponse) Marshal() (dAtA []byte, err error) {
  5352  	size := m.Size()
  5353  	dAtA = make([]byte, size)
  5354  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5355  	if err != nil {
  5356  		return nil, err
  5357  	}
  5358  	return dAtA[:n], nil
  5359  }
  5360  
  5361  func (m *SetACLResponse) MarshalTo(dAtA []byte) (int, error) {
  5362  	size := m.Size()
  5363  	return m.MarshalToSizedBuffer(dAtA[:size])
  5364  }
  5365  
  5366  func (m *SetACLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5367  	i := len(dAtA)
  5368  	_ = i
  5369  	var l int
  5370  	_ = l
  5371  	if m.XXX_unrecognized != nil {
  5372  		i -= len(m.XXX_unrecognized)
  5373  		copy(dAtA[i:], m.XXX_unrecognized)
  5374  	}
  5375  	return len(dAtA) - i, nil
  5376  }
  5377  
  5378  func (m *GetAuthTokenRequest) Marshal() (dAtA []byte, err error) {
  5379  	size := m.Size()
  5380  	dAtA = make([]byte, size)
  5381  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5382  	if err != nil {
  5383  		return nil, err
  5384  	}
  5385  	return dAtA[:n], nil
  5386  }
  5387  
  5388  func (m *GetAuthTokenRequest) MarshalTo(dAtA []byte) (int, error) {
  5389  	size := m.Size()
  5390  	return m.MarshalToSizedBuffer(dAtA[:size])
  5391  }
  5392  
  5393  func (m *GetAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5394  	i := len(dAtA)
  5395  	_ = i
  5396  	var l int
  5397  	_ = l
  5398  	if m.XXX_unrecognized != nil {
  5399  		i -= len(m.XXX_unrecognized)
  5400  		copy(dAtA[i:], m.XXX_unrecognized)
  5401  	}
  5402  	if m.TTL != 0 {
  5403  		i = encodeVarintAuth(dAtA, i, uint64(m.TTL))
  5404  		i--
  5405  		dAtA[i] = 0x10
  5406  	}
  5407  	if len(m.Subject) > 0 {
  5408  		i -= len(m.Subject)
  5409  		copy(dAtA[i:], m.Subject)
  5410  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Subject)))
  5411  		i--
  5412  		dAtA[i] = 0xa
  5413  	}
  5414  	return len(dAtA) - i, nil
  5415  }
  5416  
  5417  func (m *GetAuthTokenResponse) Marshal() (dAtA []byte, err error) {
  5418  	size := m.Size()
  5419  	dAtA = make([]byte, size)
  5420  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5421  	if err != nil {
  5422  		return nil, err
  5423  	}
  5424  	return dAtA[:n], nil
  5425  }
  5426  
  5427  func (m *GetAuthTokenResponse) MarshalTo(dAtA []byte) (int, error) {
  5428  	size := m.Size()
  5429  	return m.MarshalToSizedBuffer(dAtA[:size])
  5430  }
  5431  
  5432  func (m *GetAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5433  	i := len(dAtA)
  5434  	_ = i
  5435  	var l int
  5436  	_ = l
  5437  	if m.XXX_unrecognized != nil {
  5438  		i -= len(m.XXX_unrecognized)
  5439  		copy(dAtA[i:], m.XXX_unrecognized)
  5440  	}
  5441  	if len(m.Subject) > 0 {
  5442  		i -= len(m.Subject)
  5443  		copy(dAtA[i:], m.Subject)
  5444  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Subject)))
  5445  		i--
  5446  		dAtA[i] = 0x12
  5447  	}
  5448  	if len(m.Token) > 0 {
  5449  		i -= len(m.Token)
  5450  		copy(dAtA[i:], m.Token)
  5451  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Token)))
  5452  		i--
  5453  		dAtA[i] = 0xa
  5454  	}
  5455  	return len(dAtA) - i, nil
  5456  }
  5457  
  5458  func (m *ExtendAuthTokenRequest) Marshal() (dAtA []byte, err error) {
  5459  	size := m.Size()
  5460  	dAtA = make([]byte, size)
  5461  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5462  	if err != nil {
  5463  		return nil, err
  5464  	}
  5465  	return dAtA[:n], nil
  5466  }
  5467  
  5468  func (m *ExtendAuthTokenRequest) MarshalTo(dAtA []byte) (int, error) {
  5469  	size := m.Size()
  5470  	return m.MarshalToSizedBuffer(dAtA[:size])
  5471  }
  5472  
  5473  func (m *ExtendAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5474  	i := len(dAtA)
  5475  	_ = i
  5476  	var l int
  5477  	_ = l
  5478  	if m.XXX_unrecognized != nil {
  5479  		i -= len(m.XXX_unrecognized)
  5480  		copy(dAtA[i:], m.XXX_unrecognized)
  5481  	}
  5482  	if m.TTL != 0 {
  5483  		i = encodeVarintAuth(dAtA, i, uint64(m.TTL))
  5484  		i--
  5485  		dAtA[i] = 0x10
  5486  	}
  5487  	if len(m.Token) > 0 {
  5488  		i -= len(m.Token)
  5489  		copy(dAtA[i:], m.Token)
  5490  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Token)))
  5491  		i--
  5492  		dAtA[i] = 0xa
  5493  	}
  5494  	return len(dAtA) - i, nil
  5495  }
  5496  
  5497  func (m *ExtendAuthTokenResponse) Marshal() (dAtA []byte, err error) {
  5498  	size := m.Size()
  5499  	dAtA = make([]byte, size)
  5500  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5501  	if err != nil {
  5502  		return nil, err
  5503  	}
  5504  	return dAtA[:n], nil
  5505  }
  5506  
  5507  func (m *ExtendAuthTokenResponse) MarshalTo(dAtA []byte) (int, error) {
  5508  	size := m.Size()
  5509  	return m.MarshalToSizedBuffer(dAtA[:size])
  5510  }
  5511  
  5512  func (m *ExtendAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5513  	i := len(dAtA)
  5514  	_ = i
  5515  	var l int
  5516  	_ = l
  5517  	if m.XXX_unrecognized != nil {
  5518  		i -= len(m.XXX_unrecognized)
  5519  		copy(dAtA[i:], m.XXX_unrecognized)
  5520  	}
  5521  	return len(dAtA) - i, nil
  5522  }
  5523  
  5524  func (m *RevokeAuthTokenRequest) Marshal() (dAtA []byte, err error) {
  5525  	size := m.Size()
  5526  	dAtA = make([]byte, size)
  5527  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5528  	if err != nil {
  5529  		return nil, err
  5530  	}
  5531  	return dAtA[:n], nil
  5532  }
  5533  
  5534  func (m *RevokeAuthTokenRequest) MarshalTo(dAtA []byte) (int, error) {
  5535  	size := m.Size()
  5536  	return m.MarshalToSizedBuffer(dAtA[:size])
  5537  }
  5538  
  5539  func (m *RevokeAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5540  	i := len(dAtA)
  5541  	_ = i
  5542  	var l int
  5543  	_ = l
  5544  	if m.XXX_unrecognized != nil {
  5545  		i -= len(m.XXX_unrecognized)
  5546  		copy(dAtA[i:], m.XXX_unrecognized)
  5547  	}
  5548  	if len(m.Token) > 0 {
  5549  		i -= len(m.Token)
  5550  		copy(dAtA[i:], m.Token)
  5551  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Token)))
  5552  		i--
  5553  		dAtA[i] = 0xa
  5554  	}
  5555  	return len(dAtA) - i, nil
  5556  }
  5557  
  5558  func (m *RevokeAuthTokenResponse) Marshal() (dAtA []byte, err error) {
  5559  	size := m.Size()
  5560  	dAtA = make([]byte, size)
  5561  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5562  	if err != nil {
  5563  		return nil, err
  5564  	}
  5565  	return dAtA[:n], nil
  5566  }
  5567  
  5568  func (m *RevokeAuthTokenResponse) MarshalTo(dAtA []byte) (int, error) {
  5569  	size := m.Size()
  5570  	return m.MarshalToSizedBuffer(dAtA[:size])
  5571  }
  5572  
  5573  func (m *RevokeAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5574  	i := len(dAtA)
  5575  	_ = i
  5576  	var l int
  5577  	_ = l
  5578  	if m.XXX_unrecognized != nil {
  5579  		i -= len(m.XXX_unrecognized)
  5580  		copy(dAtA[i:], m.XXX_unrecognized)
  5581  	}
  5582  	return len(dAtA) - i, nil
  5583  }
  5584  
  5585  func (m *SetGroupsForUserRequest) Marshal() (dAtA []byte, err error) {
  5586  	size := m.Size()
  5587  	dAtA = make([]byte, size)
  5588  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5589  	if err != nil {
  5590  		return nil, err
  5591  	}
  5592  	return dAtA[:n], nil
  5593  }
  5594  
  5595  func (m *SetGroupsForUserRequest) MarshalTo(dAtA []byte) (int, error) {
  5596  	size := m.Size()
  5597  	return m.MarshalToSizedBuffer(dAtA[:size])
  5598  }
  5599  
  5600  func (m *SetGroupsForUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5601  	i := len(dAtA)
  5602  	_ = i
  5603  	var l int
  5604  	_ = l
  5605  	if m.XXX_unrecognized != nil {
  5606  		i -= len(m.XXX_unrecognized)
  5607  		copy(dAtA[i:], m.XXX_unrecognized)
  5608  	}
  5609  	if len(m.Groups) > 0 {
  5610  		for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- {
  5611  			i -= len(m.Groups[iNdEx])
  5612  			copy(dAtA[i:], m.Groups[iNdEx])
  5613  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Groups[iNdEx])))
  5614  			i--
  5615  			dAtA[i] = 0x12
  5616  		}
  5617  	}
  5618  	if len(m.Username) > 0 {
  5619  		i -= len(m.Username)
  5620  		copy(dAtA[i:], m.Username)
  5621  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Username)))
  5622  		i--
  5623  		dAtA[i] = 0xa
  5624  	}
  5625  	return len(dAtA) - i, nil
  5626  }
  5627  
  5628  func (m *SetGroupsForUserResponse) Marshal() (dAtA []byte, err error) {
  5629  	size := m.Size()
  5630  	dAtA = make([]byte, size)
  5631  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5632  	if err != nil {
  5633  		return nil, err
  5634  	}
  5635  	return dAtA[:n], nil
  5636  }
  5637  
  5638  func (m *SetGroupsForUserResponse) MarshalTo(dAtA []byte) (int, error) {
  5639  	size := m.Size()
  5640  	return m.MarshalToSizedBuffer(dAtA[:size])
  5641  }
  5642  
  5643  func (m *SetGroupsForUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5644  	i := len(dAtA)
  5645  	_ = i
  5646  	var l int
  5647  	_ = l
  5648  	if m.XXX_unrecognized != nil {
  5649  		i -= len(m.XXX_unrecognized)
  5650  		copy(dAtA[i:], m.XXX_unrecognized)
  5651  	}
  5652  	return len(dAtA) - i, nil
  5653  }
  5654  
  5655  func (m *ModifyMembersRequest) Marshal() (dAtA []byte, err error) {
  5656  	size := m.Size()
  5657  	dAtA = make([]byte, size)
  5658  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5659  	if err != nil {
  5660  		return nil, err
  5661  	}
  5662  	return dAtA[:n], nil
  5663  }
  5664  
  5665  func (m *ModifyMembersRequest) MarshalTo(dAtA []byte) (int, error) {
  5666  	size := m.Size()
  5667  	return m.MarshalToSizedBuffer(dAtA[:size])
  5668  }
  5669  
  5670  func (m *ModifyMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5671  	i := len(dAtA)
  5672  	_ = i
  5673  	var l int
  5674  	_ = l
  5675  	if m.XXX_unrecognized != nil {
  5676  		i -= len(m.XXX_unrecognized)
  5677  		copy(dAtA[i:], m.XXX_unrecognized)
  5678  	}
  5679  	if len(m.Remove) > 0 {
  5680  		for iNdEx := len(m.Remove) - 1; iNdEx >= 0; iNdEx-- {
  5681  			i -= len(m.Remove[iNdEx])
  5682  			copy(dAtA[i:], m.Remove[iNdEx])
  5683  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Remove[iNdEx])))
  5684  			i--
  5685  			dAtA[i] = 0x1a
  5686  		}
  5687  	}
  5688  	if len(m.Add) > 0 {
  5689  		for iNdEx := len(m.Add) - 1; iNdEx >= 0; iNdEx-- {
  5690  			i -= len(m.Add[iNdEx])
  5691  			copy(dAtA[i:], m.Add[iNdEx])
  5692  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Add[iNdEx])))
  5693  			i--
  5694  			dAtA[i] = 0x12
  5695  		}
  5696  	}
  5697  	if len(m.Group) > 0 {
  5698  		i -= len(m.Group)
  5699  		copy(dAtA[i:], m.Group)
  5700  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Group)))
  5701  		i--
  5702  		dAtA[i] = 0xa
  5703  	}
  5704  	return len(dAtA) - i, nil
  5705  }
  5706  
  5707  func (m *ModifyMembersResponse) Marshal() (dAtA []byte, err error) {
  5708  	size := m.Size()
  5709  	dAtA = make([]byte, size)
  5710  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5711  	if err != nil {
  5712  		return nil, err
  5713  	}
  5714  	return dAtA[:n], nil
  5715  }
  5716  
  5717  func (m *ModifyMembersResponse) MarshalTo(dAtA []byte) (int, error) {
  5718  	size := m.Size()
  5719  	return m.MarshalToSizedBuffer(dAtA[:size])
  5720  }
  5721  
  5722  func (m *ModifyMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5723  	i := len(dAtA)
  5724  	_ = i
  5725  	var l int
  5726  	_ = l
  5727  	if m.XXX_unrecognized != nil {
  5728  		i -= len(m.XXX_unrecognized)
  5729  		copy(dAtA[i:], m.XXX_unrecognized)
  5730  	}
  5731  	return len(dAtA) - i, nil
  5732  }
  5733  
  5734  func (m *GetGroupsRequest) Marshal() (dAtA []byte, err error) {
  5735  	size := m.Size()
  5736  	dAtA = make([]byte, size)
  5737  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5738  	if err != nil {
  5739  		return nil, err
  5740  	}
  5741  	return dAtA[:n], nil
  5742  }
  5743  
  5744  func (m *GetGroupsRequest) MarshalTo(dAtA []byte) (int, error) {
  5745  	size := m.Size()
  5746  	return m.MarshalToSizedBuffer(dAtA[:size])
  5747  }
  5748  
  5749  func (m *GetGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5750  	i := len(dAtA)
  5751  	_ = i
  5752  	var l int
  5753  	_ = l
  5754  	if m.XXX_unrecognized != nil {
  5755  		i -= len(m.XXX_unrecognized)
  5756  		copy(dAtA[i:], m.XXX_unrecognized)
  5757  	}
  5758  	if len(m.Username) > 0 {
  5759  		i -= len(m.Username)
  5760  		copy(dAtA[i:], m.Username)
  5761  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Username)))
  5762  		i--
  5763  		dAtA[i] = 0xa
  5764  	}
  5765  	return len(dAtA) - i, nil
  5766  }
  5767  
  5768  func (m *GetGroupsResponse) Marshal() (dAtA []byte, err error) {
  5769  	size := m.Size()
  5770  	dAtA = make([]byte, size)
  5771  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5772  	if err != nil {
  5773  		return nil, err
  5774  	}
  5775  	return dAtA[:n], nil
  5776  }
  5777  
  5778  func (m *GetGroupsResponse) MarshalTo(dAtA []byte) (int, error) {
  5779  	size := m.Size()
  5780  	return m.MarshalToSizedBuffer(dAtA[:size])
  5781  }
  5782  
  5783  func (m *GetGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5784  	i := len(dAtA)
  5785  	_ = i
  5786  	var l int
  5787  	_ = l
  5788  	if m.XXX_unrecognized != nil {
  5789  		i -= len(m.XXX_unrecognized)
  5790  		copy(dAtA[i:], m.XXX_unrecognized)
  5791  	}
  5792  	if len(m.Groups) > 0 {
  5793  		for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- {
  5794  			i -= len(m.Groups[iNdEx])
  5795  			copy(dAtA[i:], m.Groups[iNdEx])
  5796  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Groups[iNdEx])))
  5797  			i--
  5798  			dAtA[i] = 0xa
  5799  		}
  5800  	}
  5801  	return len(dAtA) - i, nil
  5802  }
  5803  
  5804  func (m *GetUsersRequest) Marshal() (dAtA []byte, err error) {
  5805  	size := m.Size()
  5806  	dAtA = make([]byte, size)
  5807  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5808  	if err != nil {
  5809  		return nil, err
  5810  	}
  5811  	return dAtA[:n], nil
  5812  }
  5813  
  5814  func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error) {
  5815  	size := m.Size()
  5816  	return m.MarshalToSizedBuffer(dAtA[:size])
  5817  }
  5818  
  5819  func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5820  	i := len(dAtA)
  5821  	_ = i
  5822  	var l int
  5823  	_ = l
  5824  	if m.XXX_unrecognized != nil {
  5825  		i -= len(m.XXX_unrecognized)
  5826  		copy(dAtA[i:], m.XXX_unrecognized)
  5827  	}
  5828  	if len(m.Group) > 0 {
  5829  		i -= len(m.Group)
  5830  		copy(dAtA[i:], m.Group)
  5831  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Group)))
  5832  		i--
  5833  		dAtA[i] = 0xa
  5834  	}
  5835  	return len(dAtA) - i, nil
  5836  }
  5837  
  5838  func (m *GetUsersResponse) Marshal() (dAtA []byte, err error) {
  5839  	size := m.Size()
  5840  	dAtA = make([]byte, size)
  5841  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5842  	if err != nil {
  5843  		return nil, err
  5844  	}
  5845  	return dAtA[:n], nil
  5846  }
  5847  
  5848  func (m *GetUsersResponse) MarshalTo(dAtA []byte) (int, error) {
  5849  	size := m.Size()
  5850  	return m.MarshalToSizedBuffer(dAtA[:size])
  5851  }
  5852  
  5853  func (m *GetUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5854  	i := len(dAtA)
  5855  	_ = i
  5856  	var l int
  5857  	_ = l
  5858  	if m.XXX_unrecognized != nil {
  5859  		i -= len(m.XXX_unrecognized)
  5860  		copy(dAtA[i:], m.XXX_unrecognized)
  5861  	}
  5862  	if len(m.Usernames) > 0 {
  5863  		for iNdEx := len(m.Usernames) - 1; iNdEx >= 0; iNdEx-- {
  5864  			i -= len(m.Usernames[iNdEx])
  5865  			copy(dAtA[i:], m.Usernames[iNdEx])
  5866  			i = encodeVarintAuth(dAtA, i, uint64(len(m.Usernames[iNdEx])))
  5867  			i--
  5868  			dAtA[i] = 0xa
  5869  		}
  5870  	}
  5871  	return len(dAtA) - i, nil
  5872  }
  5873  
  5874  func (m *GetOneTimePasswordRequest) Marshal() (dAtA []byte, err error) {
  5875  	size := m.Size()
  5876  	dAtA = make([]byte, size)
  5877  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5878  	if err != nil {
  5879  		return nil, err
  5880  	}
  5881  	return dAtA[:n], nil
  5882  }
  5883  
  5884  func (m *GetOneTimePasswordRequest) MarshalTo(dAtA []byte) (int, error) {
  5885  	size := m.Size()
  5886  	return m.MarshalToSizedBuffer(dAtA[:size])
  5887  }
  5888  
  5889  func (m *GetOneTimePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5890  	i := len(dAtA)
  5891  	_ = i
  5892  	var l int
  5893  	_ = l
  5894  	if m.XXX_unrecognized != nil {
  5895  		i -= len(m.XXX_unrecognized)
  5896  		copy(dAtA[i:], m.XXX_unrecognized)
  5897  	}
  5898  	if m.TTL != 0 {
  5899  		i = encodeVarintAuth(dAtA, i, uint64(m.TTL))
  5900  		i--
  5901  		dAtA[i] = 0x10
  5902  	}
  5903  	if len(m.Subject) > 0 {
  5904  		i -= len(m.Subject)
  5905  		copy(dAtA[i:], m.Subject)
  5906  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Subject)))
  5907  		i--
  5908  		dAtA[i] = 0xa
  5909  	}
  5910  	return len(dAtA) - i, nil
  5911  }
  5912  
  5913  func (m *GetOneTimePasswordResponse) Marshal() (dAtA []byte, err error) {
  5914  	size := m.Size()
  5915  	dAtA = make([]byte, size)
  5916  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5917  	if err != nil {
  5918  		return nil, err
  5919  	}
  5920  	return dAtA[:n], nil
  5921  }
  5922  
  5923  func (m *GetOneTimePasswordResponse) MarshalTo(dAtA []byte) (int, error) {
  5924  	size := m.Size()
  5925  	return m.MarshalToSizedBuffer(dAtA[:size])
  5926  }
  5927  
  5928  func (m *GetOneTimePasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5929  	i := len(dAtA)
  5930  	_ = i
  5931  	var l int
  5932  	_ = l
  5933  	if m.XXX_unrecognized != nil {
  5934  		i -= len(m.XXX_unrecognized)
  5935  		copy(dAtA[i:], m.XXX_unrecognized)
  5936  	}
  5937  	if m.OTPExpiration != nil {
  5938  		{
  5939  			size, err := m.OTPExpiration.MarshalToSizedBuffer(dAtA[:i])
  5940  			if err != nil {
  5941  				return 0, err
  5942  			}
  5943  			i -= size
  5944  			i = encodeVarintAuth(dAtA, i, uint64(size))
  5945  		}
  5946  		i--
  5947  		dAtA[i] = 0x12
  5948  	}
  5949  	if len(m.Code) > 0 {
  5950  		i -= len(m.Code)
  5951  		copy(dAtA[i:], m.Code)
  5952  		i = encodeVarintAuth(dAtA, i, uint64(len(m.Code)))
  5953  		i--
  5954  		dAtA[i] = 0xa
  5955  	}
  5956  	return len(dAtA) - i, nil
  5957  }
  5958  
  5959  func encodeVarintAuth(dAtA []byte, offset int, v uint64) int {
  5960  	offset -= sovAuth(v)
  5961  	base := offset
  5962  	for v >= 1<<7 {
  5963  		dAtA[offset] = uint8(v&0x7f | 0x80)
  5964  		v >>= 7
  5965  		offset++
  5966  	}
  5967  	dAtA[offset] = uint8(v)
  5968  	return base
  5969  }
  5970  func (m *ActivateRequest) Size() (n int) {
  5971  	if m == nil {
  5972  		return 0
  5973  	}
  5974  	var l int
  5975  	_ = l
  5976  	l = len(m.GitHubToken)
  5977  	if l > 0 {
  5978  		n += 1 + l + sovAuth(uint64(l))
  5979  	}
  5980  	l = len(m.Subject)
  5981  	if l > 0 {
  5982  		n += 1 + l + sovAuth(uint64(l))
  5983  	}
  5984  	if m.XXX_unrecognized != nil {
  5985  		n += len(m.XXX_unrecognized)
  5986  	}
  5987  	return n
  5988  }
  5989  
  5990  func (m *ActivateResponse) Size() (n int) {
  5991  	if m == nil {
  5992  		return 0
  5993  	}
  5994  	var l int
  5995  	_ = l
  5996  	l = len(m.PachToken)
  5997  	if l > 0 {
  5998  		n += 1 + l + sovAuth(uint64(l))
  5999  	}
  6000  	if m.XXX_unrecognized != nil {
  6001  		n += len(m.XXX_unrecognized)
  6002  	}
  6003  	return n
  6004  }
  6005  
  6006  func (m *DeactivateRequest) Size() (n int) {
  6007  	if m == nil {
  6008  		return 0
  6009  	}
  6010  	var l int
  6011  	_ = l
  6012  	if m.XXX_unrecognized != nil {
  6013  		n += len(m.XXX_unrecognized)
  6014  	}
  6015  	return n
  6016  }
  6017  
  6018  func (m *DeactivateResponse) Size() (n int) {
  6019  	if m == nil {
  6020  		return 0
  6021  	}
  6022  	var l int
  6023  	_ = l
  6024  	if m.XXX_unrecognized != nil {
  6025  		n += len(m.XXX_unrecognized)
  6026  	}
  6027  	return n
  6028  }
  6029  
  6030  func (m *IDProvider) Size() (n int) {
  6031  	if m == nil {
  6032  		return 0
  6033  	}
  6034  	var l int
  6035  	_ = l
  6036  	l = len(m.Name)
  6037  	if l > 0 {
  6038  		n += 1 + l + sovAuth(uint64(l))
  6039  	}
  6040  	l = len(m.Description)
  6041  	if l > 0 {
  6042  		n += 1 + l + sovAuth(uint64(l))
  6043  	}
  6044  	if m.SAML != nil {
  6045  		l = m.SAML.Size()
  6046  		n += 1 + l + sovAuth(uint64(l))
  6047  	}
  6048  	if m.GitHub != nil {
  6049  		l = m.GitHub.Size()
  6050  		n += 1 + l + sovAuth(uint64(l))
  6051  	}
  6052  	if m.XXX_unrecognized != nil {
  6053  		n += len(m.XXX_unrecognized)
  6054  	}
  6055  	return n
  6056  }
  6057  
  6058  func (m *IDProvider_SAMLOptions) Size() (n int) {
  6059  	if m == nil {
  6060  		return 0
  6061  	}
  6062  	var l int
  6063  	_ = l
  6064  	l = len(m.MetadataURL)
  6065  	if l > 0 {
  6066  		n += 1 + l + sovAuth(uint64(l))
  6067  	}
  6068  	l = len(m.MetadataXML)
  6069  	if l > 0 {
  6070  		n += 1 + l + sovAuth(uint64(l))
  6071  	}
  6072  	l = len(m.GroupAttribute)
  6073  	if l > 0 {
  6074  		n += 1 + l + sovAuth(uint64(l))
  6075  	}
  6076  	if m.XXX_unrecognized != nil {
  6077  		n += len(m.XXX_unrecognized)
  6078  	}
  6079  	return n
  6080  }
  6081  
  6082  func (m *IDProvider_GitHubOptions) Size() (n int) {
  6083  	if m == nil {
  6084  		return 0
  6085  	}
  6086  	var l int
  6087  	_ = l
  6088  	if m.XXX_unrecognized != nil {
  6089  		n += len(m.XXX_unrecognized)
  6090  	}
  6091  	return n
  6092  }
  6093  
  6094  func (m *AuthConfig) Size() (n int) {
  6095  	if m == nil {
  6096  		return 0
  6097  	}
  6098  	var l int
  6099  	_ = l
  6100  	if m.LiveConfigVersion != 0 {
  6101  		n += 1 + sovAuth(uint64(m.LiveConfigVersion))
  6102  	}
  6103  	if len(m.IDProviders) > 0 {
  6104  		for _, e := range m.IDProviders {
  6105  			l = e.Size()
  6106  			n += 1 + l + sovAuth(uint64(l))
  6107  		}
  6108  	}
  6109  	if m.SAMLServiceOptions != nil {
  6110  		l = m.SAMLServiceOptions.Size()
  6111  		n += 1 + l + sovAuth(uint64(l))
  6112  	}
  6113  	if m.XXX_unrecognized != nil {
  6114  		n += len(m.XXX_unrecognized)
  6115  	}
  6116  	return n
  6117  }
  6118  
  6119  func (m *AuthConfig_SAMLServiceOptions) Size() (n int) {
  6120  	if m == nil {
  6121  		return 0
  6122  	}
  6123  	var l int
  6124  	_ = l
  6125  	l = len(m.ACSURL)
  6126  	if l > 0 {
  6127  		n += 1 + l + sovAuth(uint64(l))
  6128  	}
  6129  	l = len(m.MetadataURL)
  6130  	if l > 0 {
  6131  		n += 1 + l + sovAuth(uint64(l))
  6132  	}
  6133  	l = len(m.DashURL)
  6134  	if l > 0 {
  6135  		n += 1 + l + sovAuth(uint64(l))
  6136  	}
  6137  	l = len(m.SessionDuration)
  6138  	if l > 0 {
  6139  		n += 1 + l + sovAuth(uint64(l))
  6140  	}
  6141  	if m.DebugLogging {
  6142  		n += 2
  6143  	}
  6144  	if m.XXX_unrecognized != nil {
  6145  		n += len(m.XXX_unrecognized)
  6146  	}
  6147  	return n
  6148  }
  6149  
  6150  func (m *GetConfigurationRequest) Size() (n int) {
  6151  	if m == nil {
  6152  		return 0
  6153  	}
  6154  	var l int
  6155  	_ = l
  6156  	if m.XXX_unrecognized != nil {
  6157  		n += len(m.XXX_unrecognized)
  6158  	}
  6159  	return n
  6160  }
  6161  
  6162  func (m *GetConfigurationResponse) Size() (n int) {
  6163  	if m == nil {
  6164  		return 0
  6165  	}
  6166  	var l int
  6167  	_ = l
  6168  	if m.Configuration != nil {
  6169  		l = m.Configuration.Size()
  6170  		n += 1 + l + sovAuth(uint64(l))
  6171  	}
  6172  	if m.XXX_unrecognized != nil {
  6173  		n += len(m.XXX_unrecognized)
  6174  	}
  6175  	return n
  6176  }
  6177  
  6178  func (m *SetConfigurationRequest) Size() (n int) {
  6179  	if m == nil {
  6180  		return 0
  6181  	}
  6182  	var l int
  6183  	_ = l
  6184  	if m.Configuration != nil {
  6185  		l = m.Configuration.Size()
  6186  		n += 1 + l + sovAuth(uint64(l))
  6187  	}
  6188  	if m.XXX_unrecognized != nil {
  6189  		n += len(m.XXX_unrecognized)
  6190  	}
  6191  	return n
  6192  }
  6193  
  6194  func (m *SetConfigurationResponse) Size() (n int) {
  6195  	if m == nil {
  6196  		return 0
  6197  	}
  6198  	var l int
  6199  	_ = l
  6200  	if m.XXX_unrecognized != nil {
  6201  		n += len(m.XXX_unrecognized)
  6202  	}
  6203  	return n
  6204  }
  6205  
  6206  func (m *GetAdminsRequest) Size() (n int) {
  6207  	if m == nil {
  6208  		return 0
  6209  	}
  6210  	var l int
  6211  	_ = l
  6212  	if m.XXX_unrecognized != nil {
  6213  		n += len(m.XXX_unrecognized)
  6214  	}
  6215  	return n
  6216  }
  6217  
  6218  func (m *GetAdminsResponse) Size() (n int) {
  6219  	if m == nil {
  6220  		return 0
  6221  	}
  6222  	var l int
  6223  	_ = l
  6224  	if len(m.Admins) > 0 {
  6225  		for _, s := range m.Admins {
  6226  			l = len(s)
  6227  			n += 1 + l + sovAuth(uint64(l))
  6228  		}
  6229  	}
  6230  	if m.XXX_unrecognized != nil {
  6231  		n += len(m.XXX_unrecognized)
  6232  	}
  6233  	return n
  6234  }
  6235  
  6236  func (m *ModifyAdminsRequest) Size() (n int) {
  6237  	if m == nil {
  6238  		return 0
  6239  	}
  6240  	var l int
  6241  	_ = l
  6242  	if len(m.Add) > 0 {
  6243  		for _, s := range m.Add {
  6244  			l = len(s)
  6245  			n += 1 + l + sovAuth(uint64(l))
  6246  		}
  6247  	}
  6248  	if len(m.Remove) > 0 {
  6249  		for _, s := range m.Remove {
  6250  			l = len(s)
  6251  			n += 1 + l + sovAuth(uint64(l))
  6252  		}
  6253  	}
  6254  	if m.XXX_unrecognized != nil {
  6255  		n += len(m.XXX_unrecognized)
  6256  	}
  6257  	return n
  6258  }
  6259  
  6260  func (m *ModifyAdminsResponse) Size() (n int) {
  6261  	if m == nil {
  6262  		return 0
  6263  	}
  6264  	var l int
  6265  	_ = l
  6266  	if m.XXX_unrecognized != nil {
  6267  		n += len(m.XXX_unrecognized)
  6268  	}
  6269  	return n
  6270  }
  6271  
  6272  func (m *OTPInfo) Size() (n int) {
  6273  	if m == nil {
  6274  		return 0
  6275  	}
  6276  	var l int
  6277  	_ = l
  6278  	l = len(m.Subject)
  6279  	if l > 0 {
  6280  		n += 1 + l + sovAuth(uint64(l))
  6281  	}
  6282  	if m.SessionExpiration != nil {
  6283  		l = m.SessionExpiration.Size()
  6284  		n += 1 + l + sovAuth(uint64(l))
  6285  	}
  6286  	if m.XXX_unrecognized != nil {
  6287  		n += len(m.XXX_unrecognized)
  6288  	}
  6289  	return n
  6290  }
  6291  
  6292  func (m *TokenInfo) Size() (n int) {
  6293  	if m == nil {
  6294  		return 0
  6295  	}
  6296  	var l int
  6297  	_ = l
  6298  	l = len(m.Subject)
  6299  	if l > 0 {
  6300  		n += 1 + l + sovAuth(uint64(l))
  6301  	}
  6302  	if m.Source != 0 {
  6303  		n += 1 + sovAuth(uint64(m.Source))
  6304  	}
  6305  	if m.XXX_unrecognized != nil {
  6306  		n += len(m.XXX_unrecognized)
  6307  	}
  6308  	return n
  6309  }
  6310  
  6311  func (m *AuthenticateRequest) Size() (n int) {
  6312  	if m == nil {
  6313  		return 0
  6314  	}
  6315  	var l int
  6316  	_ = l
  6317  	l = len(m.GitHubToken)
  6318  	if l > 0 {
  6319  		n += 1 + l + sovAuth(uint64(l))
  6320  	}
  6321  	l = len(m.OneTimePassword)
  6322  	if l > 0 {
  6323  		n += 1 + l + sovAuth(uint64(l))
  6324  	}
  6325  	if m.XXX_unrecognized != nil {
  6326  		n += len(m.XXX_unrecognized)
  6327  	}
  6328  	return n
  6329  }
  6330  
  6331  func (m *AuthenticateResponse) Size() (n int) {
  6332  	if m == nil {
  6333  		return 0
  6334  	}
  6335  	var l int
  6336  	_ = l
  6337  	l = len(m.PachToken)
  6338  	if l > 0 {
  6339  		n += 1 + l + sovAuth(uint64(l))
  6340  	}
  6341  	if m.XXX_unrecognized != nil {
  6342  		n += len(m.XXX_unrecognized)
  6343  	}
  6344  	return n
  6345  }
  6346  
  6347  func (m *WhoAmIRequest) Size() (n int) {
  6348  	if m == nil {
  6349  		return 0
  6350  	}
  6351  	var l int
  6352  	_ = l
  6353  	if m.XXX_unrecognized != nil {
  6354  		n += len(m.XXX_unrecognized)
  6355  	}
  6356  	return n
  6357  }
  6358  
  6359  func (m *WhoAmIResponse) Size() (n int) {
  6360  	if m == nil {
  6361  		return 0
  6362  	}
  6363  	var l int
  6364  	_ = l
  6365  	l = len(m.Username)
  6366  	if l > 0 {
  6367  		n += 1 + l + sovAuth(uint64(l))
  6368  	}
  6369  	if m.IsAdmin {
  6370  		n += 2
  6371  	}
  6372  	if m.TTL != 0 {
  6373  		n += 1 + sovAuth(uint64(m.TTL))
  6374  	}
  6375  	if m.XXX_unrecognized != nil {
  6376  		n += len(m.XXX_unrecognized)
  6377  	}
  6378  	return n
  6379  }
  6380  
  6381  func (m *ACL) Size() (n int) {
  6382  	if m == nil {
  6383  		return 0
  6384  	}
  6385  	var l int
  6386  	_ = l
  6387  	if len(m.Entries) > 0 {
  6388  		for k, v := range m.Entries {
  6389  			_ = k
  6390  			_ = v
  6391  			mapEntrySize := 1 + len(k) + sovAuth(uint64(len(k))) + 1 + sovAuth(uint64(v))
  6392  			n += mapEntrySize + 1 + sovAuth(uint64(mapEntrySize))
  6393  		}
  6394  	}
  6395  	if m.XXX_unrecognized != nil {
  6396  		n += len(m.XXX_unrecognized)
  6397  	}
  6398  	return n
  6399  }
  6400  
  6401  func (m *Users) Size() (n int) {
  6402  	if m == nil {
  6403  		return 0
  6404  	}
  6405  	var l int
  6406  	_ = l
  6407  	if len(m.Usernames) > 0 {
  6408  		for k, v := range m.Usernames {
  6409  			_ = k
  6410  			_ = v
  6411  			mapEntrySize := 1 + len(k) + sovAuth(uint64(len(k))) + 1 + 1
  6412  			n += mapEntrySize + 1 + sovAuth(uint64(mapEntrySize))
  6413  		}
  6414  	}
  6415  	if m.XXX_unrecognized != nil {
  6416  		n += len(m.XXX_unrecognized)
  6417  	}
  6418  	return n
  6419  }
  6420  
  6421  func (m *Groups) Size() (n int) {
  6422  	if m == nil {
  6423  		return 0
  6424  	}
  6425  	var l int
  6426  	_ = l
  6427  	if len(m.Groups) > 0 {
  6428  		for k, v := range m.Groups {
  6429  			_ = k
  6430  			_ = v
  6431  			mapEntrySize := 1 + len(k) + sovAuth(uint64(len(k))) + 1 + 1
  6432  			n += mapEntrySize + 1 + sovAuth(uint64(mapEntrySize))
  6433  		}
  6434  	}
  6435  	if m.XXX_unrecognized != nil {
  6436  		n += len(m.XXX_unrecognized)
  6437  	}
  6438  	return n
  6439  }
  6440  
  6441  func (m *AuthorizeRequest) Size() (n int) {
  6442  	if m == nil {
  6443  		return 0
  6444  	}
  6445  	var l int
  6446  	_ = l
  6447  	l = len(m.Repo)
  6448  	if l > 0 {
  6449  		n += 1 + l + sovAuth(uint64(l))
  6450  	}
  6451  	if m.Scope != 0 {
  6452  		n += 1 + sovAuth(uint64(m.Scope))
  6453  	}
  6454  	if m.XXX_unrecognized != nil {
  6455  		n += len(m.XXX_unrecognized)
  6456  	}
  6457  	return n
  6458  }
  6459  
  6460  func (m *AuthorizeResponse) Size() (n int) {
  6461  	if m == nil {
  6462  		return 0
  6463  	}
  6464  	var l int
  6465  	_ = l
  6466  	if m.Authorized {
  6467  		n += 2
  6468  	}
  6469  	if m.XXX_unrecognized != nil {
  6470  		n += len(m.XXX_unrecognized)
  6471  	}
  6472  	return n
  6473  }
  6474  
  6475  func (m *GetScopeRequest) Size() (n int) {
  6476  	if m == nil {
  6477  		return 0
  6478  	}
  6479  	var l int
  6480  	_ = l
  6481  	l = len(m.Username)
  6482  	if l > 0 {
  6483  		n += 1 + l + sovAuth(uint64(l))
  6484  	}
  6485  	if len(m.Repos) > 0 {
  6486  		for _, s := range m.Repos {
  6487  			l = len(s)
  6488  			n += 1 + l + sovAuth(uint64(l))
  6489  		}
  6490  	}
  6491  	if m.XXX_unrecognized != nil {
  6492  		n += len(m.XXX_unrecognized)
  6493  	}
  6494  	return n
  6495  }
  6496  
  6497  func (m *GetScopeResponse) Size() (n int) {
  6498  	if m == nil {
  6499  		return 0
  6500  	}
  6501  	var l int
  6502  	_ = l
  6503  	if len(m.Scopes) > 0 {
  6504  		l = 0
  6505  		for _, e := range m.Scopes {
  6506  			l += sovAuth(uint64(e))
  6507  		}
  6508  		n += 1 + sovAuth(uint64(l)) + l
  6509  	}
  6510  	if m.XXX_unrecognized != nil {
  6511  		n += len(m.XXX_unrecognized)
  6512  	}
  6513  	return n
  6514  }
  6515  
  6516  func (m *SetScopeRequest) Size() (n int) {
  6517  	if m == nil {
  6518  		return 0
  6519  	}
  6520  	var l int
  6521  	_ = l
  6522  	l = len(m.Username)
  6523  	if l > 0 {
  6524  		n += 1 + l + sovAuth(uint64(l))
  6525  	}
  6526  	l = len(m.Repo)
  6527  	if l > 0 {
  6528  		n += 1 + l + sovAuth(uint64(l))
  6529  	}
  6530  	if m.Scope != 0 {
  6531  		n += 1 + sovAuth(uint64(m.Scope))
  6532  	}
  6533  	if m.XXX_unrecognized != nil {
  6534  		n += len(m.XXX_unrecognized)
  6535  	}
  6536  	return n
  6537  }
  6538  
  6539  func (m *SetScopeResponse) Size() (n int) {
  6540  	if m == nil {
  6541  		return 0
  6542  	}
  6543  	var l int
  6544  	_ = l
  6545  	if m.XXX_unrecognized != nil {
  6546  		n += len(m.XXX_unrecognized)
  6547  	}
  6548  	return n
  6549  }
  6550  
  6551  func (m *GetACLRequest) Size() (n int) {
  6552  	if m == nil {
  6553  		return 0
  6554  	}
  6555  	var l int
  6556  	_ = l
  6557  	l = len(m.Repo)
  6558  	if l > 0 {
  6559  		n += 1 + l + sovAuth(uint64(l))
  6560  	}
  6561  	if m.XXX_unrecognized != nil {
  6562  		n += len(m.XXX_unrecognized)
  6563  	}
  6564  	return n
  6565  }
  6566  
  6567  func (m *ACLEntry) Size() (n int) {
  6568  	if m == nil {
  6569  		return 0
  6570  	}
  6571  	var l int
  6572  	_ = l
  6573  	l = len(m.Username)
  6574  	if l > 0 {
  6575  		n += 1 + l + sovAuth(uint64(l))
  6576  	}
  6577  	if m.Scope != 0 {
  6578  		n += 1 + sovAuth(uint64(m.Scope))
  6579  	}
  6580  	if m.XXX_unrecognized != nil {
  6581  		n += len(m.XXX_unrecognized)
  6582  	}
  6583  	return n
  6584  }
  6585  
  6586  func (m *GetACLResponse) Size() (n int) {
  6587  	if m == nil {
  6588  		return 0
  6589  	}
  6590  	var l int
  6591  	_ = l
  6592  	if len(m.Entries) > 0 {
  6593  		for _, e := range m.Entries {
  6594  			l = e.Size()
  6595  			n += 1 + l + sovAuth(uint64(l))
  6596  		}
  6597  	}
  6598  	if len(m.RobotEntries) > 0 {
  6599  		for _, e := range m.RobotEntries {
  6600  			l = e.Size()
  6601  			n += 1 + l + sovAuth(uint64(l))
  6602  		}
  6603  	}
  6604  	if m.XXX_unrecognized != nil {
  6605  		n += len(m.XXX_unrecognized)
  6606  	}
  6607  	return n
  6608  }
  6609  
  6610  func (m *SetACLRequest) Size() (n int) {
  6611  	if m == nil {
  6612  		return 0
  6613  	}
  6614  	var l int
  6615  	_ = l
  6616  	l = len(m.Repo)
  6617  	if l > 0 {
  6618  		n += 1 + l + sovAuth(uint64(l))
  6619  	}
  6620  	if len(m.Entries) > 0 {
  6621  		for _, e := range m.Entries {
  6622  			l = e.Size()
  6623  			n += 1 + l + sovAuth(uint64(l))
  6624  		}
  6625  	}
  6626  	if m.XXX_unrecognized != nil {
  6627  		n += len(m.XXX_unrecognized)
  6628  	}
  6629  	return n
  6630  }
  6631  
  6632  func (m *SetACLResponse) Size() (n int) {
  6633  	if m == nil {
  6634  		return 0
  6635  	}
  6636  	var l int
  6637  	_ = l
  6638  	if m.XXX_unrecognized != nil {
  6639  		n += len(m.XXX_unrecognized)
  6640  	}
  6641  	return n
  6642  }
  6643  
  6644  func (m *GetAuthTokenRequest) Size() (n int) {
  6645  	if m == nil {
  6646  		return 0
  6647  	}
  6648  	var l int
  6649  	_ = l
  6650  	l = len(m.Subject)
  6651  	if l > 0 {
  6652  		n += 1 + l + sovAuth(uint64(l))
  6653  	}
  6654  	if m.TTL != 0 {
  6655  		n += 1 + sovAuth(uint64(m.TTL))
  6656  	}
  6657  	if m.XXX_unrecognized != nil {
  6658  		n += len(m.XXX_unrecognized)
  6659  	}
  6660  	return n
  6661  }
  6662  
  6663  func (m *GetAuthTokenResponse) Size() (n int) {
  6664  	if m == nil {
  6665  		return 0
  6666  	}
  6667  	var l int
  6668  	_ = l
  6669  	l = len(m.Token)
  6670  	if l > 0 {
  6671  		n += 1 + l + sovAuth(uint64(l))
  6672  	}
  6673  	l = len(m.Subject)
  6674  	if l > 0 {
  6675  		n += 1 + l + sovAuth(uint64(l))
  6676  	}
  6677  	if m.XXX_unrecognized != nil {
  6678  		n += len(m.XXX_unrecognized)
  6679  	}
  6680  	return n
  6681  }
  6682  
  6683  func (m *ExtendAuthTokenRequest) Size() (n int) {
  6684  	if m == nil {
  6685  		return 0
  6686  	}
  6687  	var l int
  6688  	_ = l
  6689  	l = len(m.Token)
  6690  	if l > 0 {
  6691  		n += 1 + l + sovAuth(uint64(l))
  6692  	}
  6693  	if m.TTL != 0 {
  6694  		n += 1 + sovAuth(uint64(m.TTL))
  6695  	}
  6696  	if m.XXX_unrecognized != nil {
  6697  		n += len(m.XXX_unrecognized)
  6698  	}
  6699  	return n
  6700  }
  6701  
  6702  func (m *ExtendAuthTokenResponse) Size() (n int) {
  6703  	if m == nil {
  6704  		return 0
  6705  	}
  6706  	var l int
  6707  	_ = l
  6708  	if m.XXX_unrecognized != nil {
  6709  		n += len(m.XXX_unrecognized)
  6710  	}
  6711  	return n
  6712  }
  6713  
  6714  func (m *RevokeAuthTokenRequest) Size() (n int) {
  6715  	if m == nil {
  6716  		return 0
  6717  	}
  6718  	var l int
  6719  	_ = l
  6720  	l = len(m.Token)
  6721  	if l > 0 {
  6722  		n += 1 + l + sovAuth(uint64(l))
  6723  	}
  6724  	if m.XXX_unrecognized != nil {
  6725  		n += len(m.XXX_unrecognized)
  6726  	}
  6727  	return n
  6728  }
  6729  
  6730  func (m *RevokeAuthTokenResponse) Size() (n int) {
  6731  	if m == nil {
  6732  		return 0
  6733  	}
  6734  	var l int
  6735  	_ = l
  6736  	if m.XXX_unrecognized != nil {
  6737  		n += len(m.XXX_unrecognized)
  6738  	}
  6739  	return n
  6740  }
  6741  
  6742  func (m *SetGroupsForUserRequest) Size() (n int) {
  6743  	if m == nil {
  6744  		return 0
  6745  	}
  6746  	var l int
  6747  	_ = l
  6748  	l = len(m.Username)
  6749  	if l > 0 {
  6750  		n += 1 + l + sovAuth(uint64(l))
  6751  	}
  6752  	if len(m.Groups) > 0 {
  6753  		for _, s := range m.Groups {
  6754  			l = len(s)
  6755  			n += 1 + l + sovAuth(uint64(l))
  6756  		}
  6757  	}
  6758  	if m.XXX_unrecognized != nil {
  6759  		n += len(m.XXX_unrecognized)
  6760  	}
  6761  	return n
  6762  }
  6763  
  6764  func (m *SetGroupsForUserResponse) Size() (n int) {
  6765  	if m == nil {
  6766  		return 0
  6767  	}
  6768  	var l int
  6769  	_ = l
  6770  	if m.XXX_unrecognized != nil {
  6771  		n += len(m.XXX_unrecognized)
  6772  	}
  6773  	return n
  6774  }
  6775  
  6776  func (m *ModifyMembersRequest) Size() (n int) {
  6777  	if m == nil {
  6778  		return 0
  6779  	}
  6780  	var l int
  6781  	_ = l
  6782  	l = len(m.Group)
  6783  	if l > 0 {
  6784  		n += 1 + l + sovAuth(uint64(l))
  6785  	}
  6786  	if len(m.Add) > 0 {
  6787  		for _, s := range m.Add {
  6788  			l = len(s)
  6789  			n += 1 + l + sovAuth(uint64(l))
  6790  		}
  6791  	}
  6792  	if len(m.Remove) > 0 {
  6793  		for _, s := range m.Remove {
  6794  			l = len(s)
  6795  			n += 1 + l + sovAuth(uint64(l))
  6796  		}
  6797  	}
  6798  	if m.XXX_unrecognized != nil {
  6799  		n += len(m.XXX_unrecognized)
  6800  	}
  6801  	return n
  6802  }
  6803  
  6804  func (m *ModifyMembersResponse) Size() (n int) {
  6805  	if m == nil {
  6806  		return 0
  6807  	}
  6808  	var l int
  6809  	_ = l
  6810  	if m.XXX_unrecognized != nil {
  6811  		n += len(m.XXX_unrecognized)
  6812  	}
  6813  	return n
  6814  }
  6815  
  6816  func (m *GetGroupsRequest) Size() (n int) {
  6817  	if m == nil {
  6818  		return 0
  6819  	}
  6820  	var l int
  6821  	_ = l
  6822  	l = len(m.Username)
  6823  	if l > 0 {
  6824  		n += 1 + l + sovAuth(uint64(l))
  6825  	}
  6826  	if m.XXX_unrecognized != nil {
  6827  		n += len(m.XXX_unrecognized)
  6828  	}
  6829  	return n
  6830  }
  6831  
  6832  func (m *GetGroupsResponse) Size() (n int) {
  6833  	if m == nil {
  6834  		return 0
  6835  	}
  6836  	var l int
  6837  	_ = l
  6838  	if len(m.Groups) > 0 {
  6839  		for _, s := range m.Groups {
  6840  			l = len(s)
  6841  			n += 1 + l + sovAuth(uint64(l))
  6842  		}
  6843  	}
  6844  	if m.XXX_unrecognized != nil {
  6845  		n += len(m.XXX_unrecognized)
  6846  	}
  6847  	return n
  6848  }
  6849  
  6850  func (m *GetUsersRequest) Size() (n int) {
  6851  	if m == nil {
  6852  		return 0
  6853  	}
  6854  	var l int
  6855  	_ = l
  6856  	l = len(m.Group)
  6857  	if l > 0 {
  6858  		n += 1 + l + sovAuth(uint64(l))
  6859  	}
  6860  	if m.XXX_unrecognized != nil {
  6861  		n += len(m.XXX_unrecognized)
  6862  	}
  6863  	return n
  6864  }
  6865  
  6866  func (m *GetUsersResponse) Size() (n int) {
  6867  	if m == nil {
  6868  		return 0
  6869  	}
  6870  	var l int
  6871  	_ = l
  6872  	if len(m.Usernames) > 0 {
  6873  		for _, s := range m.Usernames {
  6874  			l = len(s)
  6875  			n += 1 + l + sovAuth(uint64(l))
  6876  		}
  6877  	}
  6878  	if m.XXX_unrecognized != nil {
  6879  		n += len(m.XXX_unrecognized)
  6880  	}
  6881  	return n
  6882  }
  6883  
  6884  func (m *GetOneTimePasswordRequest) Size() (n int) {
  6885  	if m == nil {
  6886  		return 0
  6887  	}
  6888  	var l int
  6889  	_ = l
  6890  	l = len(m.Subject)
  6891  	if l > 0 {
  6892  		n += 1 + l + sovAuth(uint64(l))
  6893  	}
  6894  	if m.TTL != 0 {
  6895  		n += 1 + sovAuth(uint64(m.TTL))
  6896  	}
  6897  	if m.XXX_unrecognized != nil {
  6898  		n += len(m.XXX_unrecognized)
  6899  	}
  6900  	return n
  6901  }
  6902  
  6903  func (m *GetOneTimePasswordResponse) Size() (n int) {
  6904  	if m == nil {
  6905  		return 0
  6906  	}
  6907  	var l int
  6908  	_ = l
  6909  	l = len(m.Code)
  6910  	if l > 0 {
  6911  		n += 1 + l + sovAuth(uint64(l))
  6912  	}
  6913  	if m.OTPExpiration != nil {
  6914  		l = m.OTPExpiration.Size()
  6915  		n += 1 + l + sovAuth(uint64(l))
  6916  	}
  6917  	if m.XXX_unrecognized != nil {
  6918  		n += len(m.XXX_unrecognized)
  6919  	}
  6920  	return n
  6921  }
  6922  
  6923  func sovAuth(x uint64) (n int) {
  6924  	return (math_bits.Len64(x|1) + 6) / 7
  6925  }
  6926  func sozAuth(x uint64) (n int) {
  6927  	return sovAuth(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  6928  }
  6929  func (m *ActivateRequest) Unmarshal(dAtA []byte) error {
  6930  	l := len(dAtA)
  6931  	iNdEx := 0
  6932  	for iNdEx < l {
  6933  		preIndex := iNdEx
  6934  		var wire uint64
  6935  		for shift := uint(0); ; shift += 7 {
  6936  			if shift >= 64 {
  6937  				return ErrIntOverflowAuth
  6938  			}
  6939  			if iNdEx >= l {
  6940  				return io.ErrUnexpectedEOF
  6941  			}
  6942  			b := dAtA[iNdEx]
  6943  			iNdEx++
  6944  			wire |= uint64(b&0x7F) << shift
  6945  			if b < 0x80 {
  6946  				break
  6947  			}
  6948  		}
  6949  		fieldNum := int32(wire >> 3)
  6950  		wireType := int(wire & 0x7)
  6951  		if wireType == 4 {
  6952  			return fmt.Errorf("proto: ActivateRequest: wiretype end group for non-group")
  6953  		}
  6954  		if fieldNum <= 0 {
  6955  			return fmt.Errorf("proto: ActivateRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  6956  		}
  6957  		switch fieldNum {
  6958  		case 1:
  6959  			if wireType != 2 {
  6960  				return fmt.Errorf("proto: wrong wireType = %d for field GitHubToken", wireType)
  6961  			}
  6962  			var stringLen uint64
  6963  			for shift := uint(0); ; shift += 7 {
  6964  				if shift >= 64 {
  6965  					return ErrIntOverflowAuth
  6966  				}
  6967  				if iNdEx >= l {
  6968  					return io.ErrUnexpectedEOF
  6969  				}
  6970  				b := dAtA[iNdEx]
  6971  				iNdEx++
  6972  				stringLen |= uint64(b&0x7F) << shift
  6973  				if b < 0x80 {
  6974  					break
  6975  				}
  6976  			}
  6977  			intStringLen := int(stringLen)
  6978  			if intStringLen < 0 {
  6979  				return ErrInvalidLengthAuth
  6980  			}
  6981  			postIndex := iNdEx + intStringLen
  6982  			if postIndex < 0 {
  6983  				return ErrInvalidLengthAuth
  6984  			}
  6985  			if postIndex > l {
  6986  				return io.ErrUnexpectedEOF
  6987  			}
  6988  			m.GitHubToken = string(dAtA[iNdEx:postIndex])
  6989  			iNdEx = postIndex
  6990  		case 2:
  6991  			if wireType != 2 {
  6992  				return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
  6993  			}
  6994  			var stringLen uint64
  6995  			for shift := uint(0); ; shift += 7 {
  6996  				if shift >= 64 {
  6997  					return ErrIntOverflowAuth
  6998  				}
  6999  				if iNdEx >= l {
  7000  					return io.ErrUnexpectedEOF
  7001  				}
  7002  				b := dAtA[iNdEx]
  7003  				iNdEx++
  7004  				stringLen |= uint64(b&0x7F) << shift
  7005  				if b < 0x80 {
  7006  					break
  7007  				}
  7008  			}
  7009  			intStringLen := int(stringLen)
  7010  			if intStringLen < 0 {
  7011  				return ErrInvalidLengthAuth
  7012  			}
  7013  			postIndex := iNdEx + intStringLen
  7014  			if postIndex < 0 {
  7015  				return ErrInvalidLengthAuth
  7016  			}
  7017  			if postIndex > l {
  7018  				return io.ErrUnexpectedEOF
  7019  			}
  7020  			m.Subject = string(dAtA[iNdEx:postIndex])
  7021  			iNdEx = postIndex
  7022  		default:
  7023  			iNdEx = preIndex
  7024  			skippy, err := skipAuth(dAtA[iNdEx:])
  7025  			if err != nil {
  7026  				return err
  7027  			}
  7028  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7029  				return ErrInvalidLengthAuth
  7030  			}
  7031  			if (iNdEx + skippy) > l {
  7032  				return io.ErrUnexpectedEOF
  7033  			}
  7034  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7035  			iNdEx += skippy
  7036  		}
  7037  	}
  7038  
  7039  	if iNdEx > l {
  7040  		return io.ErrUnexpectedEOF
  7041  	}
  7042  	return nil
  7043  }
  7044  func (m *ActivateResponse) Unmarshal(dAtA []byte) error {
  7045  	l := len(dAtA)
  7046  	iNdEx := 0
  7047  	for iNdEx < l {
  7048  		preIndex := iNdEx
  7049  		var wire uint64
  7050  		for shift := uint(0); ; shift += 7 {
  7051  			if shift >= 64 {
  7052  				return ErrIntOverflowAuth
  7053  			}
  7054  			if iNdEx >= l {
  7055  				return io.ErrUnexpectedEOF
  7056  			}
  7057  			b := dAtA[iNdEx]
  7058  			iNdEx++
  7059  			wire |= uint64(b&0x7F) << shift
  7060  			if b < 0x80 {
  7061  				break
  7062  			}
  7063  		}
  7064  		fieldNum := int32(wire >> 3)
  7065  		wireType := int(wire & 0x7)
  7066  		if wireType == 4 {
  7067  			return fmt.Errorf("proto: ActivateResponse: wiretype end group for non-group")
  7068  		}
  7069  		if fieldNum <= 0 {
  7070  			return fmt.Errorf("proto: ActivateResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7071  		}
  7072  		switch fieldNum {
  7073  		case 1:
  7074  			if wireType != 2 {
  7075  				return fmt.Errorf("proto: wrong wireType = %d for field PachToken", wireType)
  7076  			}
  7077  			var stringLen uint64
  7078  			for shift := uint(0); ; shift += 7 {
  7079  				if shift >= 64 {
  7080  					return ErrIntOverflowAuth
  7081  				}
  7082  				if iNdEx >= l {
  7083  					return io.ErrUnexpectedEOF
  7084  				}
  7085  				b := dAtA[iNdEx]
  7086  				iNdEx++
  7087  				stringLen |= uint64(b&0x7F) << shift
  7088  				if b < 0x80 {
  7089  					break
  7090  				}
  7091  			}
  7092  			intStringLen := int(stringLen)
  7093  			if intStringLen < 0 {
  7094  				return ErrInvalidLengthAuth
  7095  			}
  7096  			postIndex := iNdEx + intStringLen
  7097  			if postIndex < 0 {
  7098  				return ErrInvalidLengthAuth
  7099  			}
  7100  			if postIndex > l {
  7101  				return io.ErrUnexpectedEOF
  7102  			}
  7103  			m.PachToken = string(dAtA[iNdEx:postIndex])
  7104  			iNdEx = postIndex
  7105  		default:
  7106  			iNdEx = preIndex
  7107  			skippy, err := skipAuth(dAtA[iNdEx:])
  7108  			if err != nil {
  7109  				return err
  7110  			}
  7111  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7112  				return ErrInvalidLengthAuth
  7113  			}
  7114  			if (iNdEx + skippy) > l {
  7115  				return io.ErrUnexpectedEOF
  7116  			}
  7117  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7118  			iNdEx += skippy
  7119  		}
  7120  	}
  7121  
  7122  	if iNdEx > l {
  7123  		return io.ErrUnexpectedEOF
  7124  	}
  7125  	return nil
  7126  }
  7127  func (m *DeactivateRequest) Unmarshal(dAtA []byte) error {
  7128  	l := len(dAtA)
  7129  	iNdEx := 0
  7130  	for iNdEx < l {
  7131  		preIndex := iNdEx
  7132  		var wire uint64
  7133  		for shift := uint(0); ; shift += 7 {
  7134  			if shift >= 64 {
  7135  				return ErrIntOverflowAuth
  7136  			}
  7137  			if iNdEx >= l {
  7138  				return io.ErrUnexpectedEOF
  7139  			}
  7140  			b := dAtA[iNdEx]
  7141  			iNdEx++
  7142  			wire |= uint64(b&0x7F) << shift
  7143  			if b < 0x80 {
  7144  				break
  7145  			}
  7146  		}
  7147  		fieldNum := int32(wire >> 3)
  7148  		wireType := int(wire & 0x7)
  7149  		if wireType == 4 {
  7150  			return fmt.Errorf("proto: DeactivateRequest: wiretype end group for non-group")
  7151  		}
  7152  		if fieldNum <= 0 {
  7153  			return fmt.Errorf("proto: DeactivateRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7154  		}
  7155  		switch fieldNum {
  7156  		default:
  7157  			iNdEx = preIndex
  7158  			skippy, err := skipAuth(dAtA[iNdEx:])
  7159  			if err != nil {
  7160  				return err
  7161  			}
  7162  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7163  				return ErrInvalidLengthAuth
  7164  			}
  7165  			if (iNdEx + skippy) > l {
  7166  				return io.ErrUnexpectedEOF
  7167  			}
  7168  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7169  			iNdEx += skippy
  7170  		}
  7171  	}
  7172  
  7173  	if iNdEx > l {
  7174  		return io.ErrUnexpectedEOF
  7175  	}
  7176  	return nil
  7177  }
  7178  func (m *DeactivateResponse) Unmarshal(dAtA []byte) error {
  7179  	l := len(dAtA)
  7180  	iNdEx := 0
  7181  	for iNdEx < l {
  7182  		preIndex := iNdEx
  7183  		var wire uint64
  7184  		for shift := uint(0); ; shift += 7 {
  7185  			if shift >= 64 {
  7186  				return ErrIntOverflowAuth
  7187  			}
  7188  			if iNdEx >= l {
  7189  				return io.ErrUnexpectedEOF
  7190  			}
  7191  			b := dAtA[iNdEx]
  7192  			iNdEx++
  7193  			wire |= uint64(b&0x7F) << shift
  7194  			if b < 0x80 {
  7195  				break
  7196  			}
  7197  		}
  7198  		fieldNum := int32(wire >> 3)
  7199  		wireType := int(wire & 0x7)
  7200  		if wireType == 4 {
  7201  			return fmt.Errorf("proto: DeactivateResponse: wiretype end group for non-group")
  7202  		}
  7203  		if fieldNum <= 0 {
  7204  			return fmt.Errorf("proto: DeactivateResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  7205  		}
  7206  		switch fieldNum {
  7207  		default:
  7208  			iNdEx = preIndex
  7209  			skippy, err := skipAuth(dAtA[iNdEx:])
  7210  			if err != nil {
  7211  				return err
  7212  			}
  7213  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7214  				return ErrInvalidLengthAuth
  7215  			}
  7216  			if (iNdEx + skippy) > l {
  7217  				return io.ErrUnexpectedEOF
  7218  			}
  7219  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7220  			iNdEx += skippy
  7221  		}
  7222  	}
  7223  
  7224  	if iNdEx > l {
  7225  		return io.ErrUnexpectedEOF
  7226  	}
  7227  	return nil
  7228  }
  7229  func (m *IDProvider) Unmarshal(dAtA []byte) error {
  7230  	l := len(dAtA)
  7231  	iNdEx := 0
  7232  	for iNdEx < l {
  7233  		preIndex := iNdEx
  7234  		var wire uint64
  7235  		for shift := uint(0); ; shift += 7 {
  7236  			if shift >= 64 {
  7237  				return ErrIntOverflowAuth
  7238  			}
  7239  			if iNdEx >= l {
  7240  				return io.ErrUnexpectedEOF
  7241  			}
  7242  			b := dAtA[iNdEx]
  7243  			iNdEx++
  7244  			wire |= uint64(b&0x7F) << shift
  7245  			if b < 0x80 {
  7246  				break
  7247  			}
  7248  		}
  7249  		fieldNum := int32(wire >> 3)
  7250  		wireType := int(wire & 0x7)
  7251  		if wireType == 4 {
  7252  			return fmt.Errorf("proto: IDProvider: wiretype end group for non-group")
  7253  		}
  7254  		if fieldNum <= 0 {
  7255  			return fmt.Errorf("proto: IDProvider: illegal tag %d (wire type %d)", fieldNum, wire)
  7256  		}
  7257  		switch fieldNum {
  7258  		case 1:
  7259  			if wireType != 2 {
  7260  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  7261  			}
  7262  			var stringLen uint64
  7263  			for shift := uint(0); ; shift += 7 {
  7264  				if shift >= 64 {
  7265  					return ErrIntOverflowAuth
  7266  				}
  7267  				if iNdEx >= l {
  7268  					return io.ErrUnexpectedEOF
  7269  				}
  7270  				b := dAtA[iNdEx]
  7271  				iNdEx++
  7272  				stringLen |= uint64(b&0x7F) << shift
  7273  				if b < 0x80 {
  7274  					break
  7275  				}
  7276  			}
  7277  			intStringLen := int(stringLen)
  7278  			if intStringLen < 0 {
  7279  				return ErrInvalidLengthAuth
  7280  			}
  7281  			postIndex := iNdEx + intStringLen
  7282  			if postIndex < 0 {
  7283  				return ErrInvalidLengthAuth
  7284  			}
  7285  			if postIndex > l {
  7286  				return io.ErrUnexpectedEOF
  7287  			}
  7288  			m.Name = string(dAtA[iNdEx:postIndex])
  7289  			iNdEx = postIndex
  7290  		case 2:
  7291  			if wireType != 2 {
  7292  				return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  7293  			}
  7294  			var stringLen uint64
  7295  			for shift := uint(0); ; shift += 7 {
  7296  				if shift >= 64 {
  7297  					return ErrIntOverflowAuth
  7298  				}
  7299  				if iNdEx >= l {
  7300  					return io.ErrUnexpectedEOF
  7301  				}
  7302  				b := dAtA[iNdEx]
  7303  				iNdEx++
  7304  				stringLen |= uint64(b&0x7F) << shift
  7305  				if b < 0x80 {
  7306  					break
  7307  				}
  7308  			}
  7309  			intStringLen := int(stringLen)
  7310  			if intStringLen < 0 {
  7311  				return ErrInvalidLengthAuth
  7312  			}
  7313  			postIndex := iNdEx + intStringLen
  7314  			if postIndex < 0 {
  7315  				return ErrInvalidLengthAuth
  7316  			}
  7317  			if postIndex > l {
  7318  				return io.ErrUnexpectedEOF
  7319  			}
  7320  			m.Description = string(dAtA[iNdEx:postIndex])
  7321  			iNdEx = postIndex
  7322  		case 3:
  7323  			if wireType != 2 {
  7324  				return fmt.Errorf("proto: wrong wireType = %d for field SAML", wireType)
  7325  			}
  7326  			var msglen int
  7327  			for shift := uint(0); ; shift += 7 {
  7328  				if shift >= 64 {
  7329  					return ErrIntOverflowAuth
  7330  				}
  7331  				if iNdEx >= l {
  7332  					return io.ErrUnexpectedEOF
  7333  				}
  7334  				b := dAtA[iNdEx]
  7335  				iNdEx++
  7336  				msglen |= int(b&0x7F) << shift
  7337  				if b < 0x80 {
  7338  					break
  7339  				}
  7340  			}
  7341  			if msglen < 0 {
  7342  				return ErrInvalidLengthAuth
  7343  			}
  7344  			postIndex := iNdEx + msglen
  7345  			if postIndex < 0 {
  7346  				return ErrInvalidLengthAuth
  7347  			}
  7348  			if postIndex > l {
  7349  				return io.ErrUnexpectedEOF
  7350  			}
  7351  			if m.SAML == nil {
  7352  				m.SAML = &IDProvider_SAMLOptions{}
  7353  			}
  7354  			if err := m.SAML.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7355  				return err
  7356  			}
  7357  			iNdEx = postIndex
  7358  		case 4:
  7359  			if wireType != 2 {
  7360  				return fmt.Errorf("proto: wrong wireType = %d for field GitHub", wireType)
  7361  			}
  7362  			var msglen int
  7363  			for shift := uint(0); ; shift += 7 {
  7364  				if shift >= 64 {
  7365  					return ErrIntOverflowAuth
  7366  				}
  7367  				if iNdEx >= l {
  7368  					return io.ErrUnexpectedEOF
  7369  				}
  7370  				b := dAtA[iNdEx]
  7371  				iNdEx++
  7372  				msglen |= int(b&0x7F) << shift
  7373  				if b < 0x80 {
  7374  					break
  7375  				}
  7376  			}
  7377  			if msglen < 0 {
  7378  				return ErrInvalidLengthAuth
  7379  			}
  7380  			postIndex := iNdEx + msglen
  7381  			if postIndex < 0 {
  7382  				return ErrInvalidLengthAuth
  7383  			}
  7384  			if postIndex > l {
  7385  				return io.ErrUnexpectedEOF
  7386  			}
  7387  			if m.GitHub == nil {
  7388  				m.GitHub = &IDProvider_GitHubOptions{}
  7389  			}
  7390  			if err := m.GitHub.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7391  				return err
  7392  			}
  7393  			iNdEx = postIndex
  7394  		default:
  7395  			iNdEx = preIndex
  7396  			skippy, err := skipAuth(dAtA[iNdEx:])
  7397  			if err != nil {
  7398  				return err
  7399  			}
  7400  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7401  				return ErrInvalidLengthAuth
  7402  			}
  7403  			if (iNdEx + skippy) > l {
  7404  				return io.ErrUnexpectedEOF
  7405  			}
  7406  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7407  			iNdEx += skippy
  7408  		}
  7409  	}
  7410  
  7411  	if iNdEx > l {
  7412  		return io.ErrUnexpectedEOF
  7413  	}
  7414  	return nil
  7415  }
  7416  func (m *IDProvider_SAMLOptions) Unmarshal(dAtA []byte) error {
  7417  	l := len(dAtA)
  7418  	iNdEx := 0
  7419  	for iNdEx < l {
  7420  		preIndex := iNdEx
  7421  		var wire uint64
  7422  		for shift := uint(0); ; shift += 7 {
  7423  			if shift >= 64 {
  7424  				return ErrIntOverflowAuth
  7425  			}
  7426  			if iNdEx >= l {
  7427  				return io.ErrUnexpectedEOF
  7428  			}
  7429  			b := dAtA[iNdEx]
  7430  			iNdEx++
  7431  			wire |= uint64(b&0x7F) << shift
  7432  			if b < 0x80 {
  7433  				break
  7434  			}
  7435  		}
  7436  		fieldNum := int32(wire >> 3)
  7437  		wireType := int(wire & 0x7)
  7438  		if wireType == 4 {
  7439  			return fmt.Errorf("proto: SAMLOptions: wiretype end group for non-group")
  7440  		}
  7441  		if fieldNum <= 0 {
  7442  			return fmt.Errorf("proto: SAMLOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  7443  		}
  7444  		switch fieldNum {
  7445  		case 1:
  7446  			if wireType != 2 {
  7447  				return fmt.Errorf("proto: wrong wireType = %d for field MetadataURL", wireType)
  7448  			}
  7449  			var stringLen uint64
  7450  			for shift := uint(0); ; shift += 7 {
  7451  				if shift >= 64 {
  7452  					return ErrIntOverflowAuth
  7453  				}
  7454  				if iNdEx >= l {
  7455  					return io.ErrUnexpectedEOF
  7456  				}
  7457  				b := dAtA[iNdEx]
  7458  				iNdEx++
  7459  				stringLen |= uint64(b&0x7F) << shift
  7460  				if b < 0x80 {
  7461  					break
  7462  				}
  7463  			}
  7464  			intStringLen := int(stringLen)
  7465  			if intStringLen < 0 {
  7466  				return ErrInvalidLengthAuth
  7467  			}
  7468  			postIndex := iNdEx + intStringLen
  7469  			if postIndex < 0 {
  7470  				return ErrInvalidLengthAuth
  7471  			}
  7472  			if postIndex > l {
  7473  				return io.ErrUnexpectedEOF
  7474  			}
  7475  			m.MetadataURL = string(dAtA[iNdEx:postIndex])
  7476  			iNdEx = postIndex
  7477  		case 2:
  7478  			if wireType != 2 {
  7479  				return fmt.Errorf("proto: wrong wireType = %d for field MetadataXML", wireType)
  7480  			}
  7481  			var byteLen int
  7482  			for shift := uint(0); ; shift += 7 {
  7483  				if shift >= 64 {
  7484  					return ErrIntOverflowAuth
  7485  				}
  7486  				if iNdEx >= l {
  7487  					return io.ErrUnexpectedEOF
  7488  				}
  7489  				b := dAtA[iNdEx]
  7490  				iNdEx++
  7491  				byteLen |= int(b&0x7F) << shift
  7492  				if b < 0x80 {
  7493  					break
  7494  				}
  7495  			}
  7496  			if byteLen < 0 {
  7497  				return ErrInvalidLengthAuth
  7498  			}
  7499  			postIndex := iNdEx + byteLen
  7500  			if postIndex < 0 {
  7501  				return ErrInvalidLengthAuth
  7502  			}
  7503  			if postIndex > l {
  7504  				return io.ErrUnexpectedEOF
  7505  			}
  7506  			m.MetadataXML = append(m.MetadataXML[:0], dAtA[iNdEx:postIndex]...)
  7507  			if m.MetadataXML == nil {
  7508  				m.MetadataXML = []byte{}
  7509  			}
  7510  			iNdEx = postIndex
  7511  		case 3:
  7512  			if wireType != 2 {
  7513  				return fmt.Errorf("proto: wrong wireType = %d for field GroupAttribute", wireType)
  7514  			}
  7515  			var stringLen uint64
  7516  			for shift := uint(0); ; shift += 7 {
  7517  				if shift >= 64 {
  7518  					return ErrIntOverflowAuth
  7519  				}
  7520  				if iNdEx >= l {
  7521  					return io.ErrUnexpectedEOF
  7522  				}
  7523  				b := dAtA[iNdEx]
  7524  				iNdEx++
  7525  				stringLen |= uint64(b&0x7F) << shift
  7526  				if b < 0x80 {
  7527  					break
  7528  				}
  7529  			}
  7530  			intStringLen := int(stringLen)
  7531  			if intStringLen < 0 {
  7532  				return ErrInvalidLengthAuth
  7533  			}
  7534  			postIndex := iNdEx + intStringLen
  7535  			if postIndex < 0 {
  7536  				return ErrInvalidLengthAuth
  7537  			}
  7538  			if postIndex > l {
  7539  				return io.ErrUnexpectedEOF
  7540  			}
  7541  			m.GroupAttribute = string(dAtA[iNdEx:postIndex])
  7542  			iNdEx = postIndex
  7543  		default:
  7544  			iNdEx = preIndex
  7545  			skippy, err := skipAuth(dAtA[iNdEx:])
  7546  			if err != nil {
  7547  				return err
  7548  			}
  7549  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7550  				return ErrInvalidLengthAuth
  7551  			}
  7552  			if (iNdEx + skippy) > l {
  7553  				return io.ErrUnexpectedEOF
  7554  			}
  7555  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7556  			iNdEx += skippy
  7557  		}
  7558  	}
  7559  
  7560  	if iNdEx > l {
  7561  		return io.ErrUnexpectedEOF
  7562  	}
  7563  	return nil
  7564  }
  7565  func (m *IDProvider_GitHubOptions) Unmarshal(dAtA []byte) error {
  7566  	l := len(dAtA)
  7567  	iNdEx := 0
  7568  	for iNdEx < l {
  7569  		preIndex := iNdEx
  7570  		var wire uint64
  7571  		for shift := uint(0); ; shift += 7 {
  7572  			if shift >= 64 {
  7573  				return ErrIntOverflowAuth
  7574  			}
  7575  			if iNdEx >= l {
  7576  				return io.ErrUnexpectedEOF
  7577  			}
  7578  			b := dAtA[iNdEx]
  7579  			iNdEx++
  7580  			wire |= uint64(b&0x7F) << shift
  7581  			if b < 0x80 {
  7582  				break
  7583  			}
  7584  		}
  7585  		fieldNum := int32(wire >> 3)
  7586  		wireType := int(wire & 0x7)
  7587  		if wireType == 4 {
  7588  			return fmt.Errorf("proto: GitHubOptions: wiretype end group for non-group")
  7589  		}
  7590  		if fieldNum <= 0 {
  7591  			return fmt.Errorf("proto: GitHubOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  7592  		}
  7593  		switch fieldNum {
  7594  		default:
  7595  			iNdEx = preIndex
  7596  			skippy, err := skipAuth(dAtA[iNdEx:])
  7597  			if err != nil {
  7598  				return err
  7599  			}
  7600  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7601  				return ErrInvalidLengthAuth
  7602  			}
  7603  			if (iNdEx + skippy) > l {
  7604  				return io.ErrUnexpectedEOF
  7605  			}
  7606  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7607  			iNdEx += skippy
  7608  		}
  7609  	}
  7610  
  7611  	if iNdEx > l {
  7612  		return io.ErrUnexpectedEOF
  7613  	}
  7614  	return nil
  7615  }
  7616  func (m *AuthConfig) Unmarshal(dAtA []byte) error {
  7617  	l := len(dAtA)
  7618  	iNdEx := 0
  7619  	for iNdEx < l {
  7620  		preIndex := iNdEx
  7621  		var wire uint64
  7622  		for shift := uint(0); ; shift += 7 {
  7623  			if shift >= 64 {
  7624  				return ErrIntOverflowAuth
  7625  			}
  7626  			if iNdEx >= l {
  7627  				return io.ErrUnexpectedEOF
  7628  			}
  7629  			b := dAtA[iNdEx]
  7630  			iNdEx++
  7631  			wire |= uint64(b&0x7F) << shift
  7632  			if b < 0x80 {
  7633  				break
  7634  			}
  7635  		}
  7636  		fieldNum := int32(wire >> 3)
  7637  		wireType := int(wire & 0x7)
  7638  		if wireType == 4 {
  7639  			return fmt.Errorf("proto: AuthConfig: wiretype end group for non-group")
  7640  		}
  7641  		if fieldNum <= 0 {
  7642  			return fmt.Errorf("proto: AuthConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  7643  		}
  7644  		switch fieldNum {
  7645  		case 1:
  7646  			if wireType != 0 {
  7647  				return fmt.Errorf("proto: wrong wireType = %d for field LiveConfigVersion", wireType)
  7648  			}
  7649  			m.LiveConfigVersion = 0
  7650  			for shift := uint(0); ; shift += 7 {
  7651  				if shift >= 64 {
  7652  					return ErrIntOverflowAuth
  7653  				}
  7654  				if iNdEx >= l {
  7655  					return io.ErrUnexpectedEOF
  7656  				}
  7657  				b := dAtA[iNdEx]
  7658  				iNdEx++
  7659  				m.LiveConfigVersion |= int64(b&0x7F) << shift
  7660  				if b < 0x80 {
  7661  					break
  7662  				}
  7663  			}
  7664  		case 2:
  7665  			if wireType != 2 {
  7666  				return fmt.Errorf("proto: wrong wireType = %d for field IDProviders", wireType)
  7667  			}
  7668  			var msglen int
  7669  			for shift := uint(0); ; shift += 7 {
  7670  				if shift >= 64 {
  7671  					return ErrIntOverflowAuth
  7672  				}
  7673  				if iNdEx >= l {
  7674  					return io.ErrUnexpectedEOF
  7675  				}
  7676  				b := dAtA[iNdEx]
  7677  				iNdEx++
  7678  				msglen |= int(b&0x7F) << shift
  7679  				if b < 0x80 {
  7680  					break
  7681  				}
  7682  			}
  7683  			if msglen < 0 {
  7684  				return ErrInvalidLengthAuth
  7685  			}
  7686  			postIndex := iNdEx + msglen
  7687  			if postIndex < 0 {
  7688  				return ErrInvalidLengthAuth
  7689  			}
  7690  			if postIndex > l {
  7691  				return io.ErrUnexpectedEOF
  7692  			}
  7693  			m.IDProviders = append(m.IDProviders, &IDProvider{})
  7694  			if err := m.IDProviders[len(m.IDProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7695  				return err
  7696  			}
  7697  			iNdEx = postIndex
  7698  		case 3:
  7699  			if wireType != 2 {
  7700  				return fmt.Errorf("proto: wrong wireType = %d for field SAMLServiceOptions", wireType)
  7701  			}
  7702  			var msglen int
  7703  			for shift := uint(0); ; shift += 7 {
  7704  				if shift >= 64 {
  7705  					return ErrIntOverflowAuth
  7706  				}
  7707  				if iNdEx >= l {
  7708  					return io.ErrUnexpectedEOF
  7709  				}
  7710  				b := dAtA[iNdEx]
  7711  				iNdEx++
  7712  				msglen |= int(b&0x7F) << shift
  7713  				if b < 0x80 {
  7714  					break
  7715  				}
  7716  			}
  7717  			if msglen < 0 {
  7718  				return ErrInvalidLengthAuth
  7719  			}
  7720  			postIndex := iNdEx + msglen
  7721  			if postIndex < 0 {
  7722  				return ErrInvalidLengthAuth
  7723  			}
  7724  			if postIndex > l {
  7725  				return io.ErrUnexpectedEOF
  7726  			}
  7727  			if m.SAMLServiceOptions == nil {
  7728  				m.SAMLServiceOptions = &AuthConfig_SAMLServiceOptions{}
  7729  			}
  7730  			if err := m.SAMLServiceOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7731  				return err
  7732  			}
  7733  			iNdEx = postIndex
  7734  		default:
  7735  			iNdEx = preIndex
  7736  			skippy, err := skipAuth(dAtA[iNdEx:])
  7737  			if err != nil {
  7738  				return err
  7739  			}
  7740  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7741  				return ErrInvalidLengthAuth
  7742  			}
  7743  			if (iNdEx + skippy) > l {
  7744  				return io.ErrUnexpectedEOF
  7745  			}
  7746  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7747  			iNdEx += skippy
  7748  		}
  7749  	}
  7750  
  7751  	if iNdEx > l {
  7752  		return io.ErrUnexpectedEOF
  7753  	}
  7754  	return nil
  7755  }
  7756  func (m *AuthConfig_SAMLServiceOptions) Unmarshal(dAtA []byte) error {
  7757  	l := len(dAtA)
  7758  	iNdEx := 0
  7759  	for iNdEx < l {
  7760  		preIndex := iNdEx
  7761  		var wire uint64
  7762  		for shift := uint(0); ; shift += 7 {
  7763  			if shift >= 64 {
  7764  				return ErrIntOverflowAuth
  7765  			}
  7766  			if iNdEx >= l {
  7767  				return io.ErrUnexpectedEOF
  7768  			}
  7769  			b := dAtA[iNdEx]
  7770  			iNdEx++
  7771  			wire |= uint64(b&0x7F) << shift
  7772  			if b < 0x80 {
  7773  				break
  7774  			}
  7775  		}
  7776  		fieldNum := int32(wire >> 3)
  7777  		wireType := int(wire & 0x7)
  7778  		if wireType == 4 {
  7779  			return fmt.Errorf("proto: SAMLServiceOptions: wiretype end group for non-group")
  7780  		}
  7781  		if fieldNum <= 0 {
  7782  			return fmt.Errorf("proto: SAMLServiceOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  7783  		}
  7784  		switch fieldNum {
  7785  		case 1:
  7786  			if wireType != 2 {
  7787  				return fmt.Errorf("proto: wrong wireType = %d for field ACSURL", wireType)
  7788  			}
  7789  			var stringLen uint64
  7790  			for shift := uint(0); ; shift += 7 {
  7791  				if shift >= 64 {
  7792  					return ErrIntOverflowAuth
  7793  				}
  7794  				if iNdEx >= l {
  7795  					return io.ErrUnexpectedEOF
  7796  				}
  7797  				b := dAtA[iNdEx]
  7798  				iNdEx++
  7799  				stringLen |= uint64(b&0x7F) << shift
  7800  				if b < 0x80 {
  7801  					break
  7802  				}
  7803  			}
  7804  			intStringLen := int(stringLen)
  7805  			if intStringLen < 0 {
  7806  				return ErrInvalidLengthAuth
  7807  			}
  7808  			postIndex := iNdEx + intStringLen
  7809  			if postIndex < 0 {
  7810  				return ErrInvalidLengthAuth
  7811  			}
  7812  			if postIndex > l {
  7813  				return io.ErrUnexpectedEOF
  7814  			}
  7815  			m.ACSURL = string(dAtA[iNdEx:postIndex])
  7816  			iNdEx = postIndex
  7817  		case 2:
  7818  			if wireType != 2 {
  7819  				return fmt.Errorf("proto: wrong wireType = %d for field MetadataURL", wireType)
  7820  			}
  7821  			var stringLen uint64
  7822  			for shift := uint(0); ; shift += 7 {
  7823  				if shift >= 64 {
  7824  					return ErrIntOverflowAuth
  7825  				}
  7826  				if iNdEx >= l {
  7827  					return io.ErrUnexpectedEOF
  7828  				}
  7829  				b := dAtA[iNdEx]
  7830  				iNdEx++
  7831  				stringLen |= uint64(b&0x7F) << shift
  7832  				if b < 0x80 {
  7833  					break
  7834  				}
  7835  			}
  7836  			intStringLen := int(stringLen)
  7837  			if intStringLen < 0 {
  7838  				return ErrInvalidLengthAuth
  7839  			}
  7840  			postIndex := iNdEx + intStringLen
  7841  			if postIndex < 0 {
  7842  				return ErrInvalidLengthAuth
  7843  			}
  7844  			if postIndex > l {
  7845  				return io.ErrUnexpectedEOF
  7846  			}
  7847  			m.MetadataURL = string(dAtA[iNdEx:postIndex])
  7848  			iNdEx = postIndex
  7849  		case 3:
  7850  			if wireType != 2 {
  7851  				return fmt.Errorf("proto: wrong wireType = %d for field DashURL", wireType)
  7852  			}
  7853  			var stringLen uint64
  7854  			for shift := uint(0); ; shift += 7 {
  7855  				if shift >= 64 {
  7856  					return ErrIntOverflowAuth
  7857  				}
  7858  				if iNdEx >= l {
  7859  					return io.ErrUnexpectedEOF
  7860  				}
  7861  				b := dAtA[iNdEx]
  7862  				iNdEx++
  7863  				stringLen |= uint64(b&0x7F) << shift
  7864  				if b < 0x80 {
  7865  					break
  7866  				}
  7867  			}
  7868  			intStringLen := int(stringLen)
  7869  			if intStringLen < 0 {
  7870  				return ErrInvalidLengthAuth
  7871  			}
  7872  			postIndex := iNdEx + intStringLen
  7873  			if postIndex < 0 {
  7874  				return ErrInvalidLengthAuth
  7875  			}
  7876  			if postIndex > l {
  7877  				return io.ErrUnexpectedEOF
  7878  			}
  7879  			m.DashURL = string(dAtA[iNdEx:postIndex])
  7880  			iNdEx = postIndex
  7881  		case 4:
  7882  			if wireType != 2 {
  7883  				return fmt.Errorf("proto: wrong wireType = %d for field SessionDuration", wireType)
  7884  			}
  7885  			var stringLen uint64
  7886  			for shift := uint(0); ; shift += 7 {
  7887  				if shift >= 64 {
  7888  					return ErrIntOverflowAuth
  7889  				}
  7890  				if iNdEx >= l {
  7891  					return io.ErrUnexpectedEOF
  7892  				}
  7893  				b := dAtA[iNdEx]
  7894  				iNdEx++
  7895  				stringLen |= uint64(b&0x7F) << shift
  7896  				if b < 0x80 {
  7897  					break
  7898  				}
  7899  			}
  7900  			intStringLen := int(stringLen)
  7901  			if intStringLen < 0 {
  7902  				return ErrInvalidLengthAuth
  7903  			}
  7904  			postIndex := iNdEx + intStringLen
  7905  			if postIndex < 0 {
  7906  				return ErrInvalidLengthAuth
  7907  			}
  7908  			if postIndex > l {
  7909  				return io.ErrUnexpectedEOF
  7910  			}
  7911  			m.SessionDuration = string(dAtA[iNdEx:postIndex])
  7912  			iNdEx = postIndex
  7913  		case 5:
  7914  			if wireType != 0 {
  7915  				return fmt.Errorf("proto: wrong wireType = %d for field DebugLogging", wireType)
  7916  			}
  7917  			var v int
  7918  			for shift := uint(0); ; shift += 7 {
  7919  				if shift >= 64 {
  7920  					return ErrIntOverflowAuth
  7921  				}
  7922  				if iNdEx >= l {
  7923  					return io.ErrUnexpectedEOF
  7924  				}
  7925  				b := dAtA[iNdEx]
  7926  				iNdEx++
  7927  				v |= int(b&0x7F) << shift
  7928  				if b < 0x80 {
  7929  					break
  7930  				}
  7931  			}
  7932  			m.DebugLogging = bool(v != 0)
  7933  		default:
  7934  			iNdEx = preIndex
  7935  			skippy, err := skipAuth(dAtA[iNdEx:])
  7936  			if err != nil {
  7937  				return err
  7938  			}
  7939  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7940  				return ErrInvalidLengthAuth
  7941  			}
  7942  			if (iNdEx + skippy) > l {
  7943  				return io.ErrUnexpectedEOF
  7944  			}
  7945  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7946  			iNdEx += skippy
  7947  		}
  7948  	}
  7949  
  7950  	if iNdEx > l {
  7951  		return io.ErrUnexpectedEOF
  7952  	}
  7953  	return nil
  7954  }
  7955  func (m *GetConfigurationRequest) Unmarshal(dAtA []byte) error {
  7956  	l := len(dAtA)
  7957  	iNdEx := 0
  7958  	for iNdEx < l {
  7959  		preIndex := iNdEx
  7960  		var wire uint64
  7961  		for shift := uint(0); ; shift += 7 {
  7962  			if shift >= 64 {
  7963  				return ErrIntOverflowAuth
  7964  			}
  7965  			if iNdEx >= l {
  7966  				return io.ErrUnexpectedEOF
  7967  			}
  7968  			b := dAtA[iNdEx]
  7969  			iNdEx++
  7970  			wire |= uint64(b&0x7F) << shift
  7971  			if b < 0x80 {
  7972  				break
  7973  			}
  7974  		}
  7975  		fieldNum := int32(wire >> 3)
  7976  		wireType := int(wire & 0x7)
  7977  		if wireType == 4 {
  7978  			return fmt.Errorf("proto: GetConfigurationRequest: wiretype end group for non-group")
  7979  		}
  7980  		if fieldNum <= 0 {
  7981  			return fmt.Errorf("proto: GetConfigurationRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  7982  		}
  7983  		switch fieldNum {
  7984  		default:
  7985  			iNdEx = preIndex
  7986  			skippy, err := skipAuth(dAtA[iNdEx:])
  7987  			if err != nil {
  7988  				return err
  7989  			}
  7990  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  7991  				return ErrInvalidLengthAuth
  7992  			}
  7993  			if (iNdEx + skippy) > l {
  7994  				return io.ErrUnexpectedEOF
  7995  			}
  7996  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7997  			iNdEx += skippy
  7998  		}
  7999  	}
  8000  
  8001  	if iNdEx > l {
  8002  		return io.ErrUnexpectedEOF
  8003  	}
  8004  	return nil
  8005  }
  8006  func (m *GetConfigurationResponse) Unmarshal(dAtA []byte) error {
  8007  	l := len(dAtA)
  8008  	iNdEx := 0
  8009  	for iNdEx < l {
  8010  		preIndex := iNdEx
  8011  		var wire uint64
  8012  		for shift := uint(0); ; shift += 7 {
  8013  			if shift >= 64 {
  8014  				return ErrIntOverflowAuth
  8015  			}
  8016  			if iNdEx >= l {
  8017  				return io.ErrUnexpectedEOF
  8018  			}
  8019  			b := dAtA[iNdEx]
  8020  			iNdEx++
  8021  			wire |= uint64(b&0x7F) << shift
  8022  			if b < 0x80 {
  8023  				break
  8024  			}
  8025  		}
  8026  		fieldNum := int32(wire >> 3)
  8027  		wireType := int(wire & 0x7)
  8028  		if wireType == 4 {
  8029  			return fmt.Errorf("proto: GetConfigurationResponse: wiretype end group for non-group")
  8030  		}
  8031  		if fieldNum <= 0 {
  8032  			return fmt.Errorf("proto: GetConfigurationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8033  		}
  8034  		switch fieldNum {
  8035  		case 1:
  8036  			if wireType != 2 {
  8037  				return fmt.Errorf("proto: wrong wireType = %d for field Configuration", wireType)
  8038  			}
  8039  			var msglen int
  8040  			for shift := uint(0); ; shift += 7 {
  8041  				if shift >= 64 {
  8042  					return ErrIntOverflowAuth
  8043  				}
  8044  				if iNdEx >= l {
  8045  					return io.ErrUnexpectedEOF
  8046  				}
  8047  				b := dAtA[iNdEx]
  8048  				iNdEx++
  8049  				msglen |= int(b&0x7F) << shift
  8050  				if b < 0x80 {
  8051  					break
  8052  				}
  8053  			}
  8054  			if msglen < 0 {
  8055  				return ErrInvalidLengthAuth
  8056  			}
  8057  			postIndex := iNdEx + msglen
  8058  			if postIndex < 0 {
  8059  				return ErrInvalidLengthAuth
  8060  			}
  8061  			if postIndex > l {
  8062  				return io.ErrUnexpectedEOF
  8063  			}
  8064  			if m.Configuration == nil {
  8065  				m.Configuration = &AuthConfig{}
  8066  			}
  8067  			if err := m.Configuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8068  				return err
  8069  			}
  8070  			iNdEx = postIndex
  8071  		default:
  8072  			iNdEx = preIndex
  8073  			skippy, err := skipAuth(dAtA[iNdEx:])
  8074  			if err != nil {
  8075  				return err
  8076  			}
  8077  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8078  				return ErrInvalidLengthAuth
  8079  			}
  8080  			if (iNdEx + skippy) > l {
  8081  				return io.ErrUnexpectedEOF
  8082  			}
  8083  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8084  			iNdEx += skippy
  8085  		}
  8086  	}
  8087  
  8088  	if iNdEx > l {
  8089  		return io.ErrUnexpectedEOF
  8090  	}
  8091  	return nil
  8092  }
  8093  func (m *SetConfigurationRequest) Unmarshal(dAtA []byte) error {
  8094  	l := len(dAtA)
  8095  	iNdEx := 0
  8096  	for iNdEx < l {
  8097  		preIndex := iNdEx
  8098  		var wire uint64
  8099  		for shift := uint(0); ; shift += 7 {
  8100  			if shift >= 64 {
  8101  				return ErrIntOverflowAuth
  8102  			}
  8103  			if iNdEx >= l {
  8104  				return io.ErrUnexpectedEOF
  8105  			}
  8106  			b := dAtA[iNdEx]
  8107  			iNdEx++
  8108  			wire |= uint64(b&0x7F) << shift
  8109  			if b < 0x80 {
  8110  				break
  8111  			}
  8112  		}
  8113  		fieldNum := int32(wire >> 3)
  8114  		wireType := int(wire & 0x7)
  8115  		if wireType == 4 {
  8116  			return fmt.Errorf("proto: SetConfigurationRequest: wiretype end group for non-group")
  8117  		}
  8118  		if fieldNum <= 0 {
  8119  			return fmt.Errorf("proto: SetConfigurationRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  8120  		}
  8121  		switch fieldNum {
  8122  		case 1:
  8123  			if wireType != 2 {
  8124  				return fmt.Errorf("proto: wrong wireType = %d for field Configuration", wireType)
  8125  			}
  8126  			var msglen int
  8127  			for shift := uint(0); ; shift += 7 {
  8128  				if shift >= 64 {
  8129  					return ErrIntOverflowAuth
  8130  				}
  8131  				if iNdEx >= l {
  8132  					return io.ErrUnexpectedEOF
  8133  				}
  8134  				b := dAtA[iNdEx]
  8135  				iNdEx++
  8136  				msglen |= int(b&0x7F) << shift
  8137  				if b < 0x80 {
  8138  					break
  8139  				}
  8140  			}
  8141  			if msglen < 0 {
  8142  				return ErrInvalidLengthAuth
  8143  			}
  8144  			postIndex := iNdEx + msglen
  8145  			if postIndex < 0 {
  8146  				return ErrInvalidLengthAuth
  8147  			}
  8148  			if postIndex > l {
  8149  				return io.ErrUnexpectedEOF
  8150  			}
  8151  			if m.Configuration == nil {
  8152  				m.Configuration = &AuthConfig{}
  8153  			}
  8154  			if err := m.Configuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8155  				return err
  8156  			}
  8157  			iNdEx = postIndex
  8158  		default:
  8159  			iNdEx = preIndex
  8160  			skippy, err := skipAuth(dAtA[iNdEx:])
  8161  			if err != nil {
  8162  				return err
  8163  			}
  8164  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8165  				return ErrInvalidLengthAuth
  8166  			}
  8167  			if (iNdEx + skippy) > l {
  8168  				return io.ErrUnexpectedEOF
  8169  			}
  8170  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8171  			iNdEx += skippy
  8172  		}
  8173  	}
  8174  
  8175  	if iNdEx > l {
  8176  		return io.ErrUnexpectedEOF
  8177  	}
  8178  	return nil
  8179  }
  8180  func (m *SetConfigurationResponse) Unmarshal(dAtA []byte) error {
  8181  	l := len(dAtA)
  8182  	iNdEx := 0
  8183  	for iNdEx < l {
  8184  		preIndex := iNdEx
  8185  		var wire uint64
  8186  		for shift := uint(0); ; shift += 7 {
  8187  			if shift >= 64 {
  8188  				return ErrIntOverflowAuth
  8189  			}
  8190  			if iNdEx >= l {
  8191  				return io.ErrUnexpectedEOF
  8192  			}
  8193  			b := dAtA[iNdEx]
  8194  			iNdEx++
  8195  			wire |= uint64(b&0x7F) << shift
  8196  			if b < 0x80 {
  8197  				break
  8198  			}
  8199  		}
  8200  		fieldNum := int32(wire >> 3)
  8201  		wireType := int(wire & 0x7)
  8202  		if wireType == 4 {
  8203  			return fmt.Errorf("proto: SetConfigurationResponse: wiretype end group for non-group")
  8204  		}
  8205  		if fieldNum <= 0 {
  8206  			return fmt.Errorf("proto: SetConfigurationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8207  		}
  8208  		switch fieldNum {
  8209  		default:
  8210  			iNdEx = preIndex
  8211  			skippy, err := skipAuth(dAtA[iNdEx:])
  8212  			if err != nil {
  8213  				return err
  8214  			}
  8215  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8216  				return ErrInvalidLengthAuth
  8217  			}
  8218  			if (iNdEx + skippy) > l {
  8219  				return io.ErrUnexpectedEOF
  8220  			}
  8221  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8222  			iNdEx += skippy
  8223  		}
  8224  	}
  8225  
  8226  	if iNdEx > l {
  8227  		return io.ErrUnexpectedEOF
  8228  	}
  8229  	return nil
  8230  }
  8231  func (m *GetAdminsRequest) Unmarshal(dAtA []byte) error {
  8232  	l := len(dAtA)
  8233  	iNdEx := 0
  8234  	for iNdEx < l {
  8235  		preIndex := iNdEx
  8236  		var wire uint64
  8237  		for shift := uint(0); ; shift += 7 {
  8238  			if shift >= 64 {
  8239  				return ErrIntOverflowAuth
  8240  			}
  8241  			if iNdEx >= l {
  8242  				return io.ErrUnexpectedEOF
  8243  			}
  8244  			b := dAtA[iNdEx]
  8245  			iNdEx++
  8246  			wire |= uint64(b&0x7F) << shift
  8247  			if b < 0x80 {
  8248  				break
  8249  			}
  8250  		}
  8251  		fieldNum := int32(wire >> 3)
  8252  		wireType := int(wire & 0x7)
  8253  		if wireType == 4 {
  8254  			return fmt.Errorf("proto: GetAdminsRequest: wiretype end group for non-group")
  8255  		}
  8256  		if fieldNum <= 0 {
  8257  			return fmt.Errorf("proto: GetAdminsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  8258  		}
  8259  		switch fieldNum {
  8260  		default:
  8261  			iNdEx = preIndex
  8262  			skippy, err := skipAuth(dAtA[iNdEx:])
  8263  			if err != nil {
  8264  				return err
  8265  			}
  8266  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8267  				return ErrInvalidLengthAuth
  8268  			}
  8269  			if (iNdEx + skippy) > l {
  8270  				return io.ErrUnexpectedEOF
  8271  			}
  8272  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8273  			iNdEx += skippy
  8274  		}
  8275  	}
  8276  
  8277  	if iNdEx > l {
  8278  		return io.ErrUnexpectedEOF
  8279  	}
  8280  	return nil
  8281  }
  8282  func (m *GetAdminsResponse) Unmarshal(dAtA []byte) error {
  8283  	l := len(dAtA)
  8284  	iNdEx := 0
  8285  	for iNdEx < l {
  8286  		preIndex := iNdEx
  8287  		var wire uint64
  8288  		for shift := uint(0); ; shift += 7 {
  8289  			if shift >= 64 {
  8290  				return ErrIntOverflowAuth
  8291  			}
  8292  			if iNdEx >= l {
  8293  				return io.ErrUnexpectedEOF
  8294  			}
  8295  			b := dAtA[iNdEx]
  8296  			iNdEx++
  8297  			wire |= uint64(b&0x7F) << shift
  8298  			if b < 0x80 {
  8299  				break
  8300  			}
  8301  		}
  8302  		fieldNum := int32(wire >> 3)
  8303  		wireType := int(wire & 0x7)
  8304  		if wireType == 4 {
  8305  			return fmt.Errorf("proto: GetAdminsResponse: wiretype end group for non-group")
  8306  		}
  8307  		if fieldNum <= 0 {
  8308  			return fmt.Errorf("proto: GetAdminsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8309  		}
  8310  		switch fieldNum {
  8311  		case 1:
  8312  			if wireType != 2 {
  8313  				return fmt.Errorf("proto: wrong wireType = %d for field Admins", wireType)
  8314  			}
  8315  			var stringLen uint64
  8316  			for shift := uint(0); ; shift += 7 {
  8317  				if shift >= 64 {
  8318  					return ErrIntOverflowAuth
  8319  				}
  8320  				if iNdEx >= l {
  8321  					return io.ErrUnexpectedEOF
  8322  				}
  8323  				b := dAtA[iNdEx]
  8324  				iNdEx++
  8325  				stringLen |= uint64(b&0x7F) << shift
  8326  				if b < 0x80 {
  8327  					break
  8328  				}
  8329  			}
  8330  			intStringLen := int(stringLen)
  8331  			if intStringLen < 0 {
  8332  				return ErrInvalidLengthAuth
  8333  			}
  8334  			postIndex := iNdEx + intStringLen
  8335  			if postIndex < 0 {
  8336  				return ErrInvalidLengthAuth
  8337  			}
  8338  			if postIndex > l {
  8339  				return io.ErrUnexpectedEOF
  8340  			}
  8341  			m.Admins = append(m.Admins, string(dAtA[iNdEx:postIndex]))
  8342  			iNdEx = postIndex
  8343  		default:
  8344  			iNdEx = preIndex
  8345  			skippy, err := skipAuth(dAtA[iNdEx:])
  8346  			if err != nil {
  8347  				return err
  8348  			}
  8349  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8350  				return ErrInvalidLengthAuth
  8351  			}
  8352  			if (iNdEx + skippy) > l {
  8353  				return io.ErrUnexpectedEOF
  8354  			}
  8355  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8356  			iNdEx += skippy
  8357  		}
  8358  	}
  8359  
  8360  	if iNdEx > l {
  8361  		return io.ErrUnexpectedEOF
  8362  	}
  8363  	return nil
  8364  }
  8365  func (m *ModifyAdminsRequest) Unmarshal(dAtA []byte) error {
  8366  	l := len(dAtA)
  8367  	iNdEx := 0
  8368  	for iNdEx < l {
  8369  		preIndex := iNdEx
  8370  		var wire uint64
  8371  		for shift := uint(0); ; shift += 7 {
  8372  			if shift >= 64 {
  8373  				return ErrIntOverflowAuth
  8374  			}
  8375  			if iNdEx >= l {
  8376  				return io.ErrUnexpectedEOF
  8377  			}
  8378  			b := dAtA[iNdEx]
  8379  			iNdEx++
  8380  			wire |= uint64(b&0x7F) << shift
  8381  			if b < 0x80 {
  8382  				break
  8383  			}
  8384  		}
  8385  		fieldNum := int32(wire >> 3)
  8386  		wireType := int(wire & 0x7)
  8387  		if wireType == 4 {
  8388  			return fmt.Errorf("proto: ModifyAdminsRequest: wiretype end group for non-group")
  8389  		}
  8390  		if fieldNum <= 0 {
  8391  			return fmt.Errorf("proto: ModifyAdminsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  8392  		}
  8393  		switch fieldNum {
  8394  		case 1:
  8395  			if wireType != 2 {
  8396  				return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
  8397  			}
  8398  			var stringLen uint64
  8399  			for shift := uint(0); ; shift += 7 {
  8400  				if shift >= 64 {
  8401  					return ErrIntOverflowAuth
  8402  				}
  8403  				if iNdEx >= l {
  8404  					return io.ErrUnexpectedEOF
  8405  				}
  8406  				b := dAtA[iNdEx]
  8407  				iNdEx++
  8408  				stringLen |= uint64(b&0x7F) << shift
  8409  				if b < 0x80 {
  8410  					break
  8411  				}
  8412  			}
  8413  			intStringLen := int(stringLen)
  8414  			if intStringLen < 0 {
  8415  				return ErrInvalidLengthAuth
  8416  			}
  8417  			postIndex := iNdEx + intStringLen
  8418  			if postIndex < 0 {
  8419  				return ErrInvalidLengthAuth
  8420  			}
  8421  			if postIndex > l {
  8422  				return io.ErrUnexpectedEOF
  8423  			}
  8424  			m.Add = append(m.Add, string(dAtA[iNdEx:postIndex]))
  8425  			iNdEx = postIndex
  8426  		case 2:
  8427  			if wireType != 2 {
  8428  				return fmt.Errorf("proto: wrong wireType = %d for field Remove", wireType)
  8429  			}
  8430  			var stringLen uint64
  8431  			for shift := uint(0); ; shift += 7 {
  8432  				if shift >= 64 {
  8433  					return ErrIntOverflowAuth
  8434  				}
  8435  				if iNdEx >= l {
  8436  					return io.ErrUnexpectedEOF
  8437  				}
  8438  				b := dAtA[iNdEx]
  8439  				iNdEx++
  8440  				stringLen |= uint64(b&0x7F) << shift
  8441  				if b < 0x80 {
  8442  					break
  8443  				}
  8444  			}
  8445  			intStringLen := int(stringLen)
  8446  			if intStringLen < 0 {
  8447  				return ErrInvalidLengthAuth
  8448  			}
  8449  			postIndex := iNdEx + intStringLen
  8450  			if postIndex < 0 {
  8451  				return ErrInvalidLengthAuth
  8452  			}
  8453  			if postIndex > l {
  8454  				return io.ErrUnexpectedEOF
  8455  			}
  8456  			m.Remove = append(m.Remove, string(dAtA[iNdEx:postIndex]))
  8457  			iNdEx = postIndex
  8458  		default:
  8459  			iNdEx = preIndex
  8460  			skippy, err := skipAuth(dAtA[iNdEx:])
  8461  			if err != nil {
  8462  				return err
  8463  			}
  8464  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8465  				return ErrInvalidLengthAuth
  8466  			}
  8467  			if (iNdEx + skippy) > l {
  8468  				return io.ErrUnexpectedEOF
  8469  			}
  8470  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8471  			iNdEx += skippy
  8472  		}
  8473  	}
  8474  
  8475  	if iNdEx > l {
  8476  		return io.ErrUnexpectedEOF
  8477  	}
  8478  	return nil
  8479  }
  8480  func (m *ModifyAdminsResponse) Unmarshal(dAtA []byte) error {
  8481  	l := len(dAtA)
  8482  	iNdEx := 0
  8483  	for iNdEx < l {
  8484  		preIndex := iNdEx
  8485  		var wire uint64
  8486  		for shift := uint(0); ; shift += 7 {
  8487  			if shift >= 64 {
  8488  				return ErrIntOverflowAuth
  8489  			}
  8490  			if iNdEx >= l {
  8491  				return io.ErrUnexpectedEOF
  8492  			}
  8493  			b := dAtA[iNdEx]
  8494  			iNdEx++
  8495  			wire |= uint64(b&0x7F) << shift
  8496  			if b < 0x80 {
  8497  				break
  8498  			}
  8499  		}
  8500  		fieldNum := int32(wire >> 3)
  8501  		wireType := int(wire & 0x7)
  8502  		if wireType == 4 {
  8503  			return fmt.Errorf("proto: ModifyAdminsResponse: wiretype end group for non-group")
  8504  		}
  8505  		if fieldNum <= 0 {
  8506  			return fmt.Errorf("proto: ModifyAdminsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8507  		}
  8508  		switch fieldNum {
  8509  		default:
  8510  			iNdEx = preIndex
  8511  			skippy, err := skipAuth(dAtA[iNdEx:])
  8512  			if err != nil {
  8513  				return err
  8514  			}
  8515  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8516  				return ErrInvalidLengthAuth
  8517  			}
  8518  			if (iNdEx + skippy) > l {
  8519  				return io.ErrUnexpectedEOF
  8520  			}
  8521  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8522  			iNdEx += skippy
  8523  		}
  8524  	}
  8525  
  8526  	if iNdEx > l {
  8527  		return io.ErrUnexpectedEOF
  8528  	}
  8529  	return nil
  8530  }
  8531  func (m *OTPInfo) Unmarshal(dAtA []byte) error {
  8532  	l := len(dAtA)
  8533  	iNdEx := 0
  8534  	for iNdEx < l {
  8535  		preIndex := iNdEx
  8536  		var wire uint64
  8537  		for shift := uint(0); ; shift += 7 {
  8538  			if shift >= 64 {
  8539  				return ErrIntOverflowAuth
  8540  			}
  8541  			if iNdEx >= l {
  8542  				return io.ErrUnexpectedEOF
  8543  			}
  8544  			b := dAtA[iNdEx]
  8545  			iNdEx++
  8546  			wire |= uint64(b&0x7F) << shift
  8547  			if b < 0x80 {
  8548  				break
  8549  			}
  8550  		}
  8551  		fieldNum := int32(wire >> 3)
  8552  		wireType := int(wire & 0x7)
  8553  		if wireType == 4 {
  8554  			return fmt.Errorf("proto: OTPInfo: wiretype end group for non-group")
  8555  		}
  8556  		if fieldNum <= 0 {
  8557  			return fmt.Errorf("proto: OTPInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  8558  		}
  8559  		switch fieldNum {
  8560  		case 1:
  8561  			if wireType != 2 {
  8562  				return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
  8563  			}
  8564  			var stringLen uint64
  8565  			for shift := uint(0); ; shift += 7 {
  8566  				if shift >= 64 {
  8567  					return ErrIntOverflowAuth
  8568  				}
  8569  				if iNdEx >= l {
  8570  					return io.ErrUnexpectedEOF
  8571  				}
  8572  				b := dAtA[iNdEx]
  8573  				iNdEx++
  8574  				stringLen |= uint64(b&0x7F) << shift
  8575  				if b < 0x80 {
  8576  					break
  8577  				}
  8578  			}
  8579  			intStringLen := int(stringLen)
  8580  			if intStringLen < 0 {
  8581  				return ErrInvalidLengthAuth
  8582  			}
  8583  			postIndex := iNdEx + intStringLen
  8584  			if postIndex < 0 {
  8585  				return ErrInvalidLengthAuth
  8586  			}
  8587  			if postIndex > l {
  8588  				return io.ErrUnexpectedEOF
  8589  			}
  8590  			m.Subject = string(dAtA[iNdEx:postIndex])
  8591  			iNdEx = postIndex
  8592  		case 2:
  8593  			if wireType != 2 {
  8594  				return fmt.Errorf("proto: wrong wireType = %d for field SessionExpiration", wireType)
  8595  			}
  8596  			var msglen int
  8597  			for shift := uint(0); ; shift += 7 {
  8598  				if shift >= 64 {
  8599  					return ErrIntOverflowAuth
  8600  				}
  8601  				if iNdEx >= l {
  8602  					return io.ErrUnexpectedEOF
  8603  				}
  8604  				b := dAtA[iNdEx]
  8605  				iNdEx++
  8606  				msglen |= int(b&0x7F) << shift
  8607  				if b < 0x80 {
  8608  					break
  8609  				}
  8610  			}
  8611  			if msglen < 0 {
  8612  				return ErrInvalidLengthAuth
  8613  			}
  8614  			postIndex := iNdEx + msglen
  8615  			if postIndex < 0 {
  8616  				return ErrInvalidLengthAuth
  8617  			}
  8618  			if postIndex > l {
  8619  				return io.ErrUnexpectedEOF
  8620  			}
  8621  			if m.SessionExpiration == nil {
  8622  				m.SessionExpiration = &types.Timestamp{}
  8623  			}
  8624  			if err := m.SessionExpiration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8625  				return err
  8626  			}
  8627  			iNdEx = postIndex
  8628  		default:
  8629  			iNdEx = preIndex
  8630  			skippy, err := skipAuth(dAtA[iNdEx:])
  8631  			if err != nil {
  8632  				return err
  8633  			}
  8634  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8635  				return ErrInvalidLengthAuth
  8636  			}
  8637  			if (iNdEx + skippy) > l {
  8638  				return io.ErrUnexpectedEOF
  8639  			}
  8640  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8641  			iNdEx += skippy
  8642  		}
  8643  	}
  8644  
  8645  	if iNdEx > l {
  8646  		return io.ErrUnexpectedEOF
  8647  	}
  8648  	return nil
  8649  }
  8650  func (m *TokenInfo) Unmarshal(dAtA []byte) error {
  8651  	l := len(dAtA)
  8652  	iNdEx := 0
  8653  	for iNdEx < l {
  8654  		preIndex := iNdEx
  8655  		var wire uint64
  8656  		for shift := uint(0); ; shift += 7 {
  8657  			if shift >= 64 {
  8658  				return ErrIntOverflowAuth
  8659  			}
  8660  			if iNdEx >= l {
  8661  				return io.ErrUnexpectedEOF
  8662  			}
  8663  			b := dAtA[iNdEx]
  8664  			iNdEx++
  8665  			wire |= uint64(b&0x7F) << shift
  8666  			if b < 0x80 {
  8667  				break
  8668  			}
  8669  		}
  8670  		fieldNum := int32(wire >> 3)
  8671  		wireType := int(wire & 0x7)
  8672  		if wireType == 4 {
  8673  			return fmt.Errorf("proto: TokenInfo: wiretype end group for non-group")
  8674  		}
  8675  		if fieldNum <= 0 {
  8676  			return fmt.Errorf("proto: TokenInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  8677  		}
  8678  		switch fieldNum {
  8679  		case 1:
  8680  			if wireType != 2 {
  8681  				return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
  8682  			}
  8683  			var stringLen uint64
  8684  			for shift := uint(0); ; shift += 7 {
  8685  				if shift >= 64 {
  8686  					return ErrIntOverflowAuth
  8687  				}
  8688  				if iNdEx >= l {
  8689  					return io.ErrUnexpectedEOF
  8690  				}
  8691  				b := dAtA[iNdEx]
  8692  				iNdEx++
  8693  				stringLen |= uint64(b&0x7F) << shift
  8694  				if b < 0x80 {
  8695  					break
  8696  				}
  8697  			}
  8698  			intStringLen := int(stringLen)
  8699  			if intStringLen < 0 {
  8700  				return ErrInvalidLengthAuth
  8701  			}
  8702  			postIndex := iNdEx + intStringLen
  8703  			if postIndex < 0 {
  8704  				return ErrInvalidLengthAuth
  8705  			}
  8706  			if postIndex > l {
  8707  				return io.ErrUnexpectedEOF
  8708  			}
  8709  			m.Subject = string(dAtA[iNdEx:postIndex])
  8710  			iNdEx = postIndex
  8711  		case 2:
  8712  			if wireType != 0 {
  8713  				return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  8714  			}
  8715  			m.Source = 0
  8716  			for shift := uint(0); ; shift += 7 {
  8717  				if shift >= 64 {
  8718  					return ErrIntOverflowAuth
  8719  				}
  8720  				if iNdEx >= l {
  8721  					return io.ErrUnexpectedEOF
  8722  				}
  8723  				b := dAtA[iNdEx]
  8724  				iNdEx++
  8725  				m.Source |= TokenInfo_TokenSource(b&0x7F) << shift
  8726  				if b < 0x80 {
  8727  					break
  8728  				}
  8729  			}
  8730  		default:
  8731  			iNdEx = preIndex
  8732  			skippy, err := skipAuth(dAtA[iNdEx:])
  8733  			if err != nil {
  8734  				return err
  8735  			}
  8736  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8737  				return ErrInvalidLengthAuth
  8738  			}
  8739  			if (iNdEx + skippy) > l {
  8740  				return io.ErrUnexpectedEOF
  8741  			}
  8742  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8743  			iNdEx += skippy
  8744  		}
  8745  	}
  8746  
  8747  	if iNdEx > l {
  8748  		return io.ErrUnexpectedEOF
  8749  	}
  8750  	return nil
  8751  }
  8752  func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error {
  8753  	l := len(dAtA)
  8754  	iNdEx := 0
  8755  	for iNdEx < l {
  8756  		preIndex := iNdEx
  8757  		var wire uint64
  8758  		for shift := uint(0); ; shift += 7 {
  8759  			if shift >= 64 {
  8760  				return ErrIntOverflowAuth
  8761  			}
  8762  			if iNdEx >= l {
  8763  				return io.ErrUnexpectedEOF
  8764  			}
  8765  			b := dAtA[iNdEx]
  8766  			iNdEx++
  8767  			wire |= uint64(b&0x7F) << shift
  8768  			if b < 0x80 {
  8769  				break
  8770  			}
  8771  		}
  8772  		fieldNum := int32(wire >> 3)
  8773  		wireType := int(wire & 0x7)
  8774  		if wireType == 4 {
  8775  			return fmt.Errorf("proto: AuthenticateRequest: wiretype end group for non-group")
  8776  		}
  8777  		if fieldNum <= 0 {
  8778  			return fmt.Errorf("proto: AuthenticateRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  8779  		}
  8780  		switch fieldNum {
  8781  		case 1:
  8782  			if wireType != 2 {
  8783  				return fmt.Errorf("proto: wrong wireType = %d for field GitHubToken", wireType)
  8784  			}
  8785  			var stringLen uint64
  8786  			for shift := uint(0); ; shift += 7 {
  8787  				if shift >= 64 {
  8788  					return ErrIntOverflowAuth
  8789  				}
  8790  				if iNdEx >= l {
  8791  					return io.ErrUnexpectedEOF
  8792  				}
  8793  				b := dAtA[iNdEx]
  8794  				iNdEx++
  8795  				stringLen |= uint64(b&0x7F) << shift
  8796  				if b < 0x80 {
  8797  					break
  8798  				}
  8799  			}
  8800  			intStringLen := int(stringLen)
  8801  			if intStringLen < 0 {
  8802  				return ErrInvalidLengthAuth
  8803  			}
  8804  			postIndex := iNdEx + intStringLen
  8805  			if postIndex < 0 {
  8806  				return ErrInvalidLengthAuth
  8807  			}
  8808  			if postIndex > l {
  8809  				return io.ErrUnexpectedEOF
  8810  			}
  8811  			m.GitHubToken = string(dAtA[iNdEx:postIndex])
  8812  			iNdEx = postIndex
  8813  		case 2:
  8814  			if wireType != 2 {
  8815  				return fmt.Errorf("proto: wrong wireType = %d for field OneTimePassword", wireType)
  8816  			}
  8817  			var stringLen uint64
  8818  			for shift := uint(0); ; shift += 7 {
  8819  				if shift >= 64 {
  8820  					return ErrIntOverflowAuth
  8821  				}
  8822  				if iNdEx >= l {
  8823  					return io.ErrUnexpectedEOF
  8824  				}
  8825  				b := dAtA[iNdEx]
  8826  				iNdEx++
  8827  				stringLen |= uint64(b&0x7F) << shift
  8828  				if b < 0x80 {
  8829  					break
  8830  				}
  8831  			}
  8832  			intStringLen := int(stringLen)
  8833  			if intStringLen < 0 {
  8834  				return ErrInvalidLengthAuth
  8835  			}
  8836  			postIndex := iNdEx + intStringLen
  8837  			if postIndex < 0 {
  8838  				return ErrInvalidLengthAuth
  8839  			}
  8840  			if postIndex > l {
  8841  				return io.ErrUnexpectedEOF
  8842  			}
  8843  			m.OneTimePassword = string(dAtA[iNdEx:postIndex])
  8844  			iNdEx = postIndex
  8845  		default:
  8846  			iNdEx = preIndex
  8847  			skippy, err := skipAuth(dAtA[iNdEx:])
  8848  			if err != nil {
  8849  				return err
  8850  			}
  8851  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8852  				return ErrInvalidLengthAuth
  8853  			}
  8854  			if (iNdEx + skippy) > l {
  8855  				return io.ErrUnexpectedEOF
  8856  			}
  8857  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8858  			iNdEx += skippy
  8859  		}
  8860  	}
  8861  
  8862  	if iNdEx > l {
  8863  		return io.ErrUnexpectedEOF
  8864  	}
  8865  	return nil
  8866  }
  8867  func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error {
  8868  	l := len(dAtA)
  8869  	iNdEx := 0
  8870  	for iNdEx < l {
  8871  		preIndex := iNdEx
  8872  		var wire uint64
  8873  		for shift := uint(0); ; shift += 7 {
  8874  			if shift >= 64 {
  8875  				return ErrIntOverflowAuth
  8876  			}
  8877  			if iNdEx >= l {
  8878  				return io.ErrUnexpectedEOF
  8879  			}
  8880  			b := dAtA[iNdEx]
  8881  			iNdEx++
  8882  			wire |= uint64(b&0x7F) << shift
  8883  			if b < 0x80 {
  8884  				break
  8885  			}
  8886  		}
  8887  		fieldNum := int32(wire >> 3)
  8888  		wireType := int(wire & 0x7)
  8889  		if wireType == 4 {
  8890  			return fmt.Errorf("proto: AuthenticateResponse: wiretype end group for non-group")
  8891  		}
  8892  		if fieldNum <= 0 {
  8893  			return fmt.Errorf("proto: AuthenticateResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  8894  		}
  8895  		switch fieldNum {
  8896  		case 1:
  8897  			if wireType != 2 {
  8898  				return fmt.Errorf("proto: wrong wireType = %d for field PachToken", wireType)
  8899  			}
  8900  			var stringLen uint64
  8901  			for shift := uint(0); ; shift += 7 {
  8902  				if shift >= 64 {
  8903  					return ErrIntOverflowAuth
  8904  				}
  8905  				if iNdEx >= l {
  8906  					return io.ErrUnexpectedEOF
  8907  				}
  8908  				b := dAtA[iNdEx]
  8909  				iNdEx++
  8910  				stringLen |= uint64(b&0x7F) << shift
  8911  				if b < 0x80 {
  8912  					break
  8913  				}
  8914  			}
  8915  			intStringLen := int(stringLen)
  8916  			if intStringLen < 0 {
  8917  				return ErrInvalidLengthAuth
  8918  			}
  8919  			postIndex := iNdEx + intStringLen
  8920  			if postIndex < 0 {
  8921  				return ErrInvalidLengthAuth
  8922  			}
  8923  			if postIndex > l {
  8924  				return io.ErrUnexpectedEOF
  8925  			}
  8926  			m.PachToken = string(dAtA[iNdEx:postIndex])
  8927  			iNdEx = postIndex
  8928  		default:
  8929  			iNdEx = preIndex
  8930  			skippy, err := skipAuth(dAtA[iNdEx:])
  8931  			if err != nil {
  8932  				return err
  8933  			}
  8934  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8935  				return ErrInvalidLengthAuth
  8936  			}
  8937  			if (iNdEx + skippy) > l {
  8938  				return io.ErrUnexpectedEOF
  8939  			}
  8940  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8941  			iNdEx += skippy
  8942  		}
  8943  	}
  8944  
  8945  	if iNdEx > l {
  8946  		return io.ErrUnexpectedEOF
  8947  	}
  8948  	return nil
  8949  }
  8950  func (m *WhoAmIRequest) Unmarshal(dAtA []byte) error {
  8951  	l := len(dAtA)
  8952  	iNdEx := 0
  8953  	for iNdEx < l {
  8954  		preIndex := iNdEx
  8955  		var wire uint64
  8956  		for shift := uint(0); ; shift += 7 {
  8957  			if shift >= 64 {
  8958  				return ErrIntOverflowAuth
  8959  			}
  8960  			if iNdEx >= l {
  8961  				return io.ErrUnexpectedEOF
  8962  			}
  8963  			b := dAtA[iNdEx]
  8964  			iNdEx++
  8965  			wire |= uint64(b&0x7F) << shift
  8966  			if b < 0x80 {
  8967  				break
  8968  			}
  8969  		}
  8970  		fieldNum := int32(wire >> 3)
  8971  		wireType := int(wire & 0x7)
  8972  		if wireType == 4 {
  8973  			return fmt.Errorf("proto: WhoAmIRequest: wiretype end group for non-group")
  8974  		}
  8975  		if fieldNum <= 0 {
  8976  			return fmt.Errorf("proto: WhoAmIRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  8977  		}
  8978  		switch fieldNum {
  8979  		default:
  8980  			iNdEx = preIndex
  8981  			skippy, err := skipAuth(dAtA[iNdEx:])
  8982  			if err != nil {
  8983  				return err
  8984  			}
  8985  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8986  				return ErrInvalidLengthAuth
  8987  			}
  8988  			if (iNdEx + skippy) > l {
  8989  				return io.ErrUnexpectedEOF
  8990  			}
  8991  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8992  			iNdEx += skippy
  8993  		}
  8994  	}
  8995  
  8996  	if iNdEx > l {
  8997  		return io.ErrUnexpectedEOF
  8998  	}
  8999  	return nil
  9000  }
  9001  func (m *WhoAmIResponse) Unmarshal(dAtA []byte) error {
  9002  	l := len(dAtA)
  9003  	iNdEx := 0
  9004  	for iNdEx < l {
  9005  		preIndex := iNdEx
  9006  		var wire uint64
  9007  		for shift := uint(0); ; shift += 7 {
  9008  			if shift >= 64 {
  9009  				return ErrIntOverflowAuth
  9010  			}
  9011  			if iNdEx >= l {
  9012  				return io.ErrUnexpectedEOF
  9013  			}
  9014  			b := dAtA[iNdEx]
  9015  			iNdEx++
  9016  			wire |= uint64(b&0x7F) << shift
  9017  			if b < 0x80 {
  9018  				break
  9019  			}
  9020  		}
  9021  		fieldNum := int32(wire >> 3)
  9022  		wireType := int(wire & 0x7)
  9023  		if wireType == 4 {
  9024  			return fmt.Errorf("proto: WhoAmIResponse: wiretype end group for non-group")
  9025  		}
  9026  		if fieldNum <= 0 {
  9027  			return fmt.Errorf("proto: WhoAmIResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  9028  		}
  9029  		switch fieldNum {
  9030  		case 1:
  9031  			if wireType != 2 {
  9032  				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
  9033  			}
  9034  			var stringLen uint64
  9035  			for shift := uint(0); ; shift += 7 {
  9036  				if shift >= 64 {
  9037  					return ErrIntOverflowAuth
  9038  				}
  9039  				if iNdEx >= l {
  9040  					return io.ErrUnexpectedEOF
  9041  				}
  9042  				b := dAtA[iNdEx]
  9043  				iNdEx++
  9044  				stringLen |= uint64(b&0x7F) << shift
  9045  				if b < 0x80 {
  9046  					break
  9047  				}
  9048  			}
  9049  			intStringLen := int(stringLen)
  9050  			if intStringLen < 0 {
  9051  				return ErrInvalidLengthAuth
  9052  			}
  9053  			postIndex := iNdEx + intStringLen
  9054  			if postIndex < 0 {
  9055  				return ErrInvalidLengthAuth
  9056  			}
  9057  			if postIndex > l {
  9058  				return io.ErrUnexpectedEOF
  9059  			}
  9060  			m.Username = string(dAtA[iNdEx:postIndex])
  9061  			iNdEx = postIndex
  9062  		case 2:
  9063  			if wireType != 0 {
  9064  				return fmt.Errorf("proto: wrong wireType = %d for field IsAdmin", wireType)
  9065  			}
  9066  			var v int
  9067  			for shift := uint(0); ; shift += 7 {
  9068  				if shift >= 64 {
  9069  					return ErrIntOverflowAuth
  9070  				}
  9071  				if iNdEx >= l {
  9072  					return io.ErrUnexpectedEOF
  9073  				}
  9074  				b := dAtA[iNdEx]
  9075  				iNdEx++
  9076  				v |= int(b&0x7F) << shift
  9077  				if b < 0x80 {
  9078  					break
  9079  				}
  9080  			}
  9081  			m.IsAdmin = bool(v != 0)
  9082  		case 3:
  9083  			if wireType != 0 {
  9084  				return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType)
  9085  			}
  9086  			m.TTL = 0
  9087  			for shift := uint(0); ; shift += 7 {
  9088  				if shift >= 64 {
  9089  					return ErrIntOverflowAuth
  9090  				}
  9091  				if iNdEx >= l {
  9092  					return io.ErrUnexpectedEOF
  9093  				}
  9094  				b := dAtA[iNdEx]
  9095  				iNdEx++
  9096  				m.TTL |= int64(b&0x7F) << shift
  9097  				if b < 0x80 {
  9098  					break
  9099  				}
  9100  			}
  9101  		default:
  9102  			iNdEx = preIndex
  9103  			skippy, err := skipAuth(dAtA[iNdEx:])
  9104  			if err != nil {
  9105  				return err
  9106  			}
  9107  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9108  				return ErrInvalidLengthAuth
  9109  			}
  9110  			if (iNdEx + skippy) > l {
  9111  				return io.ErrUnexpectedEOF
  9112  			}
  9113  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9114  			iNdEx += skippy
  9115  		}
  9116  	}
  9117  
  9118  	if iNdEx > l {
  9119  		return io.ErrUnexpectedEOF
  9120  	}
  9121  	return nil
  9122  }
  9123  func (m *ACL) Unmarshal(dAtA []byte) error {
  9124  	l := len(dAtA)
  9125  	iNdEx := 0
  9126  	for iNdEx < l {
  9127  		preIndex := iNdEx
  9128  		var wire uint64
  9129  		for shift := uint(0); ; shift += 7 {
  9130  			if shift >= 64 {
  9131  				return ErrIntOverflowAuth
  9132  			}
  9133  			if iNdEx >= l {
  9134  				return io.ErrUnexpectedEOF
  9135  			}
  9136  			b := dAtA[iNdEx]
  9137  			iNdEx++
  9138  			wire |= uint64(b&0x7F) << shift
  9139  			if b < 0x80 {
  9140  				break
  9141  			}
  9142  		}
  9143  		fieldNum := int32(wire >> 3)
  9144  		wireType := int(wire & 0x7)
  9145  		if wireType == 4 {
  9146  			return fmt.Errorf("proto: ACL: wiretype end group for non-group")
  9147  		}
  9148  		if fieldNum <= 0 {
  9149  			return fmt.Errorf("proto: ACL: illegal tag %d (wire type %d)", fieldNum, wire)
  9150  		}
  9151  		switch fieldNum {
  9152  		case 1:
  9153  			if wireType != 2 {
  9154  				return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType)
  9155  			}
  9156  			var msglen int
  9157  			for shift := uint(0); ; shift += 7 {
  9158  				if shift >= 64 {
  9159  					return ErrIntOverflowAuth
  9160  				}
  9161  				if iNdEx >= l {
  9162  					return io.ErrUnexpectedEOF
  9163  				}
  9164  				b := dAtA[iNdEx]
  9165  				iNdEx++
  9166  				msglen |= int(b&0x7F) << shift
  9167  				if b < 0x80 {
  9168  					break
  9169  				}
  9170  			}
  9171  			if msglen < 0 {
  9172  				return ErrInvalidLengthAuth
  9173  			}
  9174  			postIndex := iNdEx + msglen
  9175  			if postIndex < 0 {
  9176  				return ErrInvalidLengthAuth
  9177  			}
  9178  			if postIndex > l {
  9179  				return io.ErrUnexpectedEOF
  9180  			}
  9181  			if m.Entries == nil {
  9182  				m.Entries = make(map[string]Scope)
  9183  			}
  9184  			var mapkey string
  9185  			var mapvalue Scope
  9186  			for iNdEx < postIndex {
  9187  				entryPreIndex := iNdEx
  9188  				var wire uint64
  9189  				for shift := uint(0); ; shift += 7 {
  9190  					if shift >= 64 {
  9191  						return ErrIntOverflowAuth
  9192  					}
  9193  					if iNdEx >= l {
  9194  						return io.ErrUnexpectedEOF
  9195  					}
  9196  					b := dAtA[iNdEx]
  9197  					iNdEx++
  9198  					wire |= uint64(b&0x7F) << shift
  9199  					if b < 0x80 {
  9200  						break
  9201  					}
  9202  				}
  9203  				fieldNum := int32(wire >> 3)
  9204  				if fieldNum == 1 {
  9205  					var stringLenmapkey uint64
  9206  					for shift := uint(0); ; shift += 7 {
  9207  						if shift >= 64 {
  9208  							return ErrIntOverflowAuth
  9209  						}
  9210  						if iNdEx >= l {
  9211  							return io.ErrUnexpectedEOF
  9212  						}
  9213  						b := dAtA[iNdEx]
  9214  						iNdEx++
  9215  						stringLenmapkey |= uint64(b&0x7F) << shift
  9216  						if b < 0x80 {
  9217  							break
  9218  						}
  9219  					}
  9220  					intStringLenmapkey := int(stringLenmapkey)
  9221  					if intStringLenmapkey < 0 {
  9222  						return ErrInvalidLengthAuth
  9223  					}
  9224  					postStringIndexmapkey := iNdEx + intStringLenmapkey
  9225  					if postStringIndexmapkey < 0 {
  9226  						return ErrInvalidLengthAuth
  9227  					}
  9228  					if postStringIndexmapkey > l {
  9229  						return io.ErrUnexpectedEOF
  9230  					}
  9231  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  9232  					iNdEx = postStringIndexmapkey
  9233  				} else if fieldNum == 2 {
  9234  					for shift := uint(0); ; shift += 7 {
  9235  						if shift >= 64 {
  9236  							return ErrIntOverflowAuth
  9237  						}
  9238  						if iNdEx >= l {
  9239  							return io.ErrUnexpectedEOF
  9240  						}
  9241  						b := dAtA[iNdEx]
  9242  						iNdEx++
  9243  						mapvalue |= Scope(b&0x7F) << shift
  9244  						if b < 0x80 {
  9245  							break
  9246  						}
  9247  					}
  9248  				} else {
  9249  					iNdEx = entryPreIndex
  9250  					skippy, err := skipAuth(dAtA[iNdEx:])
  9251  					if err != nil {
  9252  						return err
  9253  					}
  9254  					if (skippy < 0) || (iNdEx+skippy) < 0 {
  9255  						return ErrInvalidLengthAuth
  9256  					}
  9257  					if (iNdEx + skippy) > postIndex {
  9258  						return io.ErrUnexpectedEOF
  9259  					}
  9260  					iNdEx += skippy
  9261  				}
  9262  			}
  9263  			m.Entries[mapkey] = mapvalue
  9264  			iNdEx = postIndex
  9265  		default:
  9266  			iNdEx = preIndex
  9267  			skippy, err := skipAuth(dAtA[iNdEx:])
  9268  			if err != nil {
  9269  				return err
  9270  			}
  9271  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9272  				return ErrInvalidLengthAuth
  9273  			}
  9274  			if (iNdEx + skippy) > l {
  9275  				return io.ErrUnexpectedEOF
  9276  			}
  9277  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9278  			iNdEx += skippy
  9279  		}
  9280  	}
  9281  
  9282  	if iNdEx > l {
  9283  		return io.ErrUnexpectedEOF
  9284  	}
  9285  	return nil
  9286  }
  9287  func (m *Users) Unmarshal(dAtA []byte) error {
  9288  	l := len(dAtA)
  9289  	iNdEx := 0
  9290  	for iNdEx < l {
  9291  		preIndex := iNdEx
  9292  		var wire uint64
  9293  		for shift := uint(0); ; shift += 7 {
  9294  			if shift >= 64 {
  9295  				return ErrIntOverflowAuth
  9296  			}
  9297  			if iNdEx >= l {
  9298  				return io.ErrUnexpectedEOF
  9299  			}
  9300  			b := dAtA[iNdEx]
  9301  			iNdEx++
  9302  			wire |= uint64(b&0x7F) << shift
  9303  			if b < 0x80 {
  9304  				break
  9305  			}
  9306  		}
  9307  		fieldNum := int32(wire >> 3)
  9308  		wireType := int(wire & 0x7)
  9309  		if wireType == 4 {
  9310  			return fmt.Errorf("proto: Users: wiretype end group for non-group")
  9311  		}
  9312  		if fieldNum <= 0 {
  9313  			return fmt.Errorf("proto: Users: illegal tag %d (wire type %d)", fieldNum, wire)
  9314  		}
  9315  		switch fieldNum {
  9316  		case 1:
  9317  			if wireType != 2 {
  9318  				return fmt.Errorf("proto: wrong wireType = %d for field Usernames", wireType)
  9319  			}
  9320  			var msglen int
  9321  			for shift := uint(0); ; shift += 7 {
  9322  				if shift >= 64 {
  9323  					return ErrIntOverflowAuth
  9324  				}
  9325  				if iNdEx >= l {
  9326  					return io.ErrUnexpectedEOF
  9327  				}
  9328  				b := dAtA[iNdEx]
  9329  				iNdEx++
  9330  				msglen |= int(b&0x7F) << shift
  9331  				if b < 0x80 {
  9332  					break
  9333  				}
  9334  			}
  9335  			if msglen < 0 {
  9336  				return ErrInvalidLengthAuth
  9337  			}
  9338  			postIndex := iNdEx + msglen
  9339  			if postIndex < 0 {
  9340  				return ErrInvalidLengthAuth
  9341  			}
  9342  			if postIndex > l {
  9343  				return io.ErrUnexpectedEOF
  9344  			}
  9345  			if m.Usernames == nil {
  9346  				m.Usernames = make(map[string]bool)
  9347  			}
  9348  			var mapkey string
  9349  			var mapvalue bool
  9350  			for iNdEx < postIndex {
  9351  				entryPreIndex := iNdEx
  9352  				var wire uint64
  9353  				for shift := uint(0); ; shift += 7 {
  9354  					if shift >= 64 {
  9355  						return ErrIntOverflowAuth
  9356  					}
  9357  					if iNdEx >= l {
  9358  						return io.ErrUnexpectedEOF
  9359  					}
  9360  					b := dAtA[iNdEx]
  9361  					iNdEx++
  9362  					wire |= uint64(b&0x7F) << shift
  9363  					if b < 0x80 {
  9364  						break
  9365  					}
  9366  				}
  9367  				fieldNum := int32(wire >> 3)
  9368  				if fieldNum == 1 {
  9369  					var stringLenmapkey uint64
  9370  					for shift := uint(0); ; shift += 7 {
  9371  						if shift >= 64 {
  9372  							return ErrIntOverflowAuth
  9373  						}
  9374  						if iNdEx >= l {
  9375  							return io.ErrUnexpectedEOF
  9376  						}
  9377  						b := dAtA[iNdEx]
  9378  						iNdEx++
  9379  						stringLenmapkey |= uint64(b&0x7F) << shift
  9380  						if b < 0x80 {
  9381  							break
  9382  						}
  9383  					}
  9384  					intStringLenmapkey := int(stringLenmapkey)
  9385  					if intStringLenmapkey < 0 {
  9386  						return ErrInvalidLengthAuth
  9387  					}
  9388  					postStringIndexmapkey := iNdEx + intStringLenmapkey
  9389  					if postStringIndexmapkey < 0 {
  9390  						return ErrInvalidLengthAuth
  9391  					}
  9392  					if postStringIndexmapkey > l {
  9393  						return io.ErrUnexpectedEOF
  9394  					}
  9395  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  9396  					iNdEx = postStringIndexmapkey
  9397  				} else if fieldNum == 2 {
  9398  					var mapvaluetemp int
  9399  					for shift := uint(0); ; shift += 7 {
  9400  						if shift >= 64 {
  9401  							return ErrIntOverflowAuth
  9402  						}
  9403  						if iNdEx >= l {
  9404  							return io.ErrUnexpectedEOF
  9405  						}
  9406  						b := dAtA[iNdEx]
  9407  						iNdEx++
  9408  						mapvaluetemp |= int(b&0x7F) << shift
  9409  						if b < 0x80 {
  9410  							break
  9411  						}
  9412  					}
  9413  					mapvalue = bool(mapvaluetemp != 0)
  9414  				} else {
  9415  					iNdEx = entryPreIndex
  9416  					skippy, err := skipAuth(dAtA[iNdEx:])
  9417  					if err != nil {
  9418  						return err
  9419  					}
  9420  					if (skippy < 0) || (iNdEx+skippy) < 0 {
  9421  						return ErrInvalidLengthAuth
  9422  					}
  9423  					if (iNdEx + skippy) > postIndex {
  9424  						return io.ErrUnexpectedEOF
  9425  					}
  9426  					iNdEx += skippy
  9427  				}
  9428  			}
  9429  			m.Usernames[mapkey] = mapvalue
  9430  			iNdEx = postIndex
  9431  		default:
  9432  			iNdEx = preIndex
  9433  			skippy, err := skipAuth(dAtA[iNdEx:])
  9434  			if err != nil {
  9435  				return err
  9436  			}
  9437  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9438  				return ErrInvalidLengthAuth
  9439  			}
  9440  			if (iNdEx + skippy) > l {
  9441  				return io.ErrUnexpectedEOF
  9442  			}
  9443  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9444  			iNdEx += skippy
  9445  		}
  9446  	}
  9447  
  9448  	if iNdEx > l {
  9449  		return io.ErrUnexpectedEOF
  9450  	}
  9451  	return nil
  9452  }
  9453  func (m *Groups) Unmarshal(dAtA []byte) error {
  9454  	l := len(dAtA)
  9455  	iNdEx := 0
  9456  	for iNdEx < l {
  9457  		preIndex := iNdEx
  9458  		var wire uint64
  9459  		for shift := uint(0); ; shift += 7 {
  9460  			if shift >= 64 {
  9461  				return ErrIntOverflowAuth
  9462  			}
  9463  			if iNdEx >= l {
  9464  				return io.ErrUnexpectedEOF
  9465  			}
  9466  			b := dAtA[iNdEx]
  9467  			iNdEx++
  9468  			wire |= uint64(b&0x7F) << shift
  9469  			if b < 0x80 {
  9470  				break
  9471  			}
  9472  		}
  9473  		fieldNum := int32(wire >> 3)
  9474  		wireType := int(wire & 0x7)
  9475  		if wireType == 4 {
  9476  			return fmt.Errorf("proto: Groups: wiretype end group for non-group")
  9477  		}
  9478  		if fieldNum <= 0 {
  9479  			return fmt.Errorf("proto: Groups: illegal tag %d (wire type %d)", fieldNum, wire)
  9480  		}
  9481  		switch fieldNum {
  9482  		case 1:
  9483  			if wireType != 2 {
  9484  				return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
  9485  			}
  9486  			var msglen int
  9487  			for shift := uint(0); ; shift += 7 {
  9488  				if shift >= 64 {
  9489  					return ErrIntOverflowAuth
  9490  				}
  9491  				if iNdEx >= l {
  9492  					return io.ErrUnexpectedEOF
  9493  				}
  9494  				b := dAtA[iNdEx]
  9495  				iNdEx++
  9496  				msglen |= int(b&0x7F) << shift
  9497  				if b < 0x80 {
  9498  					break
  9499  				}
  9500  			}
  9501  			if msglen < 0 {
  9502  				return ErrInvalidLengthAuth
  9503  			}
  9504  			postIndex := iNdEx + msglen
  9505  			if postIndex < 0 {
  9506  				return ErrInvalidLengthAuth
  9507  			}
  9508  			if postIndex > l {
  9509  				return io.ErrUnexpectedEOF
  9510  			}
  9511  			if m.Groups == nil {
  9512  				m.Groups = make(map[string]bool)
  9513  			}
  9514  			var mapkey string
  9515  			var mapvalue bool
  9516  			for iNdEx < postIndex {
  9517  				entryPreIndex := iNdEx
  9518  				var wire uint64
  9519  				for shift := uint(0); ; shift += 7 {
  9520  					if shift >= 64 {
  9521  						return ErrIntOverflowAuth
  9522  					}
  9523  					if iNdEx >= l {
  9524  						return io.ErrUnexpectedEOF
  9525  					}
  9526  					b := dAtA[iNdEx]
  9527  					iNdEx++
  9528  					wire |= uint64(b&0x7F) << shift
  9529  					if b < 0x80 {
  9530  						break
  9531  					}
  9532  				}
  9533  				fieldNum := int32(wire >> 3)
  9534  				if fieldNum == 1 {
  9535  					var stringLenmapkey uint64
  9536  					for shift := uint(0); ; shift += 7 {
  9537  						if shift >= 64 {
  9538  							return ErrIntOverflowAuth
  9539  						}
  9540  						if iNdEx >= l {
  9541  							return io.ErrUnexpectedEOF
  9542  						}
  9543  						b := dAtA[iNdEx]
  9544  						iNdEx++
  9545  						stringLenmapkey |= uint64(b&0x7F) << shift
  9546  						if b < 0x80 {
  9547  							break
  9548  						}
  9549  					}
  9550  					intStringLenmapkey := int(stringLenmapkey)
  9551  					if intStringLenmapkey < 0 {
  9552  						return ErrInvalidLengthAuth
  9553  					}
  9554  					postStringIndexmapkey := iNdEx + intStringLenmapkey
  9555  					if postStringIndexmapkey < 0 {
  9556  						return ErrInvalidLengthAuth
  9557  					}
  9558  					if postStringIndexmapkey > l {
  9559  						return io.ErrUnexpectedEOF
  9560  					}
  9561  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  9562  					iNdEx = postStringIndexmapkey
  9563  				} else if fieldNum == 2 {
  9564  					var mapvaluetemp int
  9565  					for shift := uint(0); ; shift += 7 {
  9566  						if shift >= 64 {
  9567  							return ErrIntOverflowAuth
  9568  						}
  9569  						if iNdEx >= l {
  9570  							return io.ErrUnexpectedEOF
  9571  						}
  9572  						b := dAtA[iNdEx]
  9573  						iNdEx++
  9574  						mapvaluetemp |= int(b&0x7F) << shift
  9575  						if b < 0x80 {
  9576  							break
  9577  						}
  9578  					}
  9579  					mapvalue = bool(mapvaluetemp != 0)
  9580  				} else {
  9581  					iNdEx = entryPreIndex
  9582  					skippy, err := skipAuth(dAtA[iNdEx:])
  9583  					if err != nil {
  9584  						return err
  9585  					}
  9586  					if (skippy < 0) || (iNdEx+skippy) < 0 {
  9587  						return ErrInvalidLengthAuth
  9588  					}
  9589  					if (iNdEx + skippy) > postIndex {
  9590  						return io.ErrUnexpectedEOF
  9591  					}
  9592  					iNdEx += skippy
  9593  				}
  9594  			}
  9595  			m.Groups[mapkey] = mapvalue
  9596  			iNdEx = postIndex
  9597  		default:
  9598  			iNdEx = preIndex
  9599  			skippy, err := skipAuth(dAtA[iNdEx:])
  9600  			if err != nil {
  9601  				return err
  9602  			}
  9603  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9604  				return ErrInvalidLengthAuth
  9605  			}
  9606  			if (iNdEx + skippy) > l {
  9607  				return io.ErrUnexpectedEOF
  9608  			}
  9609  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9610  			iNdEx += skippy
  9611  		}
  9612  	}
  9613  
  9614  	if iNdEx > l {
  9615  		return io.ErrUnexpectedEOF
  9616  	}
  9617  	return nil
  9618  }
  9619  func (m *AuthorizeRequest) Unmarshal(dAtA []byte) error {
  9620  	l := len(dAtA)
  9621  	iNdEx := 0
  9622  	for iNdEx < l {
  9623  		preIndex := iNdEx
  9624  		var wire uint64
  9625  		for shift := uint(0); ; shift += 7 {
  9626  			if shift >= 64 {
  9627  				return ErrIntOverflowAuth
  9628  			}
  9629  			if iNdEx >= l {
  9630  				return io.ErrUnexpectedEOF
  9631  			}
  9632  			b := dAtA[iNdEx]
  9633  			iNdEx++
  9634  			wire |= uint64(b&0x7F) << shift
  9635  			if b < 0x80 {
  9636  				break
  9637  			}
  9638  		}
  9639  		fieldNum := int32(wire >> 3)
  9640  		wireType := int(wire & 0x7)
  9641  		if wireType == 4 {
  9642  			return fmt.Errorf("proto: AuthorizeRequest: wiretype end group for non-group")
  9643  		}
  9644  		if fieldNum <= 0 {
  9645  			return fmt.Errorf("proto: AuthorizeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  9646  		}
  9647  		switch fieldNum {
  9648  		case 1:
  9649  			if wireType != 2 {
  9650  				return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
  9651  			}
  9652  			var stringLen uint64
  9653  			for shift := uint(0); ; shift += 7 {
  9654  				if shift >= 64 {
  9655  					return ErrIntOverflowAuth
  9656  				}
  9657  				if iNdEx >= l {
  9658  					return io.ErrUnexpectedEOF
  9659  				}
  9660  				b := dAtA[iNdEx]
  9661  				iNdEx++
  9662  				stringLen |= uint64(b&0x7F) << shift
  9663  				if b < 0x80 {
  9664  					break
  9665  				}
  9666  			}
  9667  			intStringLen := int(stringLen)
  9668  			if intStringLen < 0 {
  9669  				return ErrInvalidLengthAuth
  9670  			}
  9671  			postIndex := iNdEx + intStringLen
  9672  			if postIndex < 0 {
  9673  				return ErrInvalidLengthAuth
  9674  			}
  9675  			if postIndex > l {
  9676  				return io.ErrUnexpectedEOF
  9677  			}
  9678  			m.Repo = string(dAtA[iNdEx:postIndex])
  9679  			iNdEx = postIndex
  9680  		case 2:
  9681  			if wireType != 0 {
  9682  				return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType)
  9683  			}
  9684  			m.Scope = 0
  9685  			for shift := uint(0); ; shift += 7 {
  9686  				if shift >= 64 {
  9687  					return ErrIntOverflowAuth
  9688  				}
  9689  				if iNdEx >= l {
  9690  					return io.ErrUnexpectedEOF
  9691  				}
  9692  				b := dAtA[iNdEx]
  9693  				iNdEx++
  9694  				m.Scope |= Scope(b&0x7F) << shift
  9695  				if b < 0x80 {
  9696  					break
  9697  				}
  9698  			}
  9699  		default:
  9700  			iNdEx = preIndex
  9701  			skippy, err := skipAuth(dAtA[iNdEx:])
  9702  			if err != nil {
  9703  				return err
  9704  			}
  9705  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9706  				return ErrInvalidLengthAuth
  9707  			}
  9708  			if (iNdEx + skippy) > l {
  9709  				return io.ErrUnexpectedEOF
  9710  			}
  9711  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9712  			iNdEx += skippy
  9713  		}
  9714  	}
  9715  
  9716  	if iNdEx > l {
  9717  		return io.ErrUnexpectedEOF
  9718  	}
  9719  	return nil
  9720  }
  9721  func (m *AuthorizeResponse) Unmarshal(dAtA []byte) error {
  9722  	l := len(dAtA)
  9723  	iNdEx := 0
  9724  	for iNdEx < l {
  9725  		preIndex := iNdEx
  9726  		var wire uint64
  9727  		for shift := uint(0); ; shift += 7 {
  9728  			if shift >= 64 {
  9729  				return ErrIntOverflowAuth
  9730  			}
  9731  			if iNdEx >= l {
  9732  				return io.ErrUnexpectedEOF
  9733  			}
  9734  			b := dAtA[iNdEx]
  9735  			iNdEx++
  9736  			wire |= uint64(b&0x7F) << shift
  9737  			if b < 0x80 {
  9738  				break
  9739  			}
  9740  		}
  9741  		fieldNum := int32(wire >> 3)
  9742  		wireType := int(wire & 0x7)
  9743  		if wireType == 4 {
  9744  			return fmt.Errorf("proto: AuthorizeResponse: wiretype end group for non-group")
  9745  		}
  9746  		if fieldNum <= 0 {
  9747  			return fmt.Errorf("proto: AuthorizeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  9748  		}
  9749  		switch fieldNum {
  9750  		case 1:
  9751  			if wireType != 0 {
  9752  				return fmt.Errorf("proto: wrong wireType = %d for field Authorized", wireType)
  9753  			}
  9754  			var v int
  9755  			for shift := uint(0); ; shift += 7 {
  9756  				if shift >= 64 {
  9757  					return ErrIntOverflowAuth
  9758  				}
  9759  				if iNdEx >= l {
  9760  					return io.ErrUnexpectedEOF
  9761  				}
  9762  				b := dAtA[iNdEx]
  9763  				iNdEx++
  9764  				v |= int(b&0x7F) << shift
  9765  				if b < 0x80 {
  9766  					break
  9767  				}
  9768  			}
  9769  			m.Authorized = bool(v != 0)
  9770  		default:
  9771  			iNdEx = preIndex
  9772  			skippy, err := skipAuth(dAtA[iNdEx:])
  9773  			if err != nil {
  9774  				return err
  9775  			}
  9776  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9777  				return ErrInvalidLengthAuth
  9778  			}
  9779  			if (iNdEx + skippy) > l {
  9780  				return io.ErrUnexpectedEOF
  9781  			}
  9782  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9783  			iNdEx += skippy
  9784  		}
  9785  	}
  9786  
  9787  	if iNdEx > l {
  9788  		return io.ErrUnexpectedEOF
  9789  	}
  9790  	return nil
  9791  }
  9792  func (m *GetScopeRequest) Unmarshal(dAtA []byte) error {
  9793  	l := len(dAtA)
  9794  	iNdEx := 0
  9795  	for iNdEx < l {
  9796  		preIndex := iNdEx
  9797  		var wire uint64
  9798  		for shift := uint(0); ; shift += 7 {
  9799  			if shift >= 64 {
  9800  				return ErrIntOverflowAuth
  9801  			}
  9802  			if iNdEx >= l {
  9803  				return io.ErrUnexpectedEOF
  9804  			}
  9805  			b := dAtA[iNdEx]
  9806  			iNdEx++
  9807  			wire |= uint64(b&0x7F) << shift
  9808  			if b < 0x80 {
  9809  				break
  9810  			}
  9811  		}
  9812  		fieldNum := int32(wire >> 3)
  9813  		wireType := int(wire & 0x7)
  9814  		if wireType == 4 {
  9815  			return fmt.Errorf("proto: GetScopeRequest: wiretype end group for non-group")
  9816  		}
  9817  		if fieldNum <= 0 {
  9818  			return fmt.Errorf("proto: GetScopeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  9819  		}
  9820  		switch fieldNum {
  9821  		case 1:
  9822  			if wireType != 2 {
  9823  				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
  9824  			}
  9825  			var stringLen uint64
  9826  			for shift := uint(0); ; shift += 7 {
  9827  				if shift >= 64 {
  9828  					return ErrIntOverflowAuth
  9829  				}
  9830  				if iNdEx >= l {
  9831  					return io.ErrUnexpectedEOF
  9832  				}
  9833  				b := dAtA[iNdEx]
  9834  				iNdEx++
  9835  				stringLen |= uint64(b&0x7F) << shift
  9836  				if b < 0x80 {
  9837  					break
  9838  				}
  9839  			}
  9840  			intStringLen := int(stringLen)
  9841  			if intStringLen < 0 {
  9842  				return ErrInvalidLengthAuth
  9843  			}
  9844  			postIndex := iNdEx + intStringLen
  9845  			if postIndex < 0 {
  9846  				return ErrInvalidLengthAuth
  9847  			}
  9848  			if postIndex > l {
  9849  				return io.ErrUnexpectedEOF
  9850  			}
  9851  			m.Username = string(dAtA[iNdEx:postIndex])
  9852  			iNdEx = postIndex
  9853  		case 2:
  9854  			if wireType != 2 {
  9855  				return fmt.Errorf("proto: wrong wireType = %d for field Repos", wireType)
  9856  			}
  9857  			var stringLen uint64
  9858  			for shift := uint(0); ; shift += 7 {
  9859  				if shift >= 64 {
  9860  					return ErrIntOverflowAuth
  9861  				}
  9862  				if iNdEx >= l {
  9863  					return io.ErrUnexpectedEOF
  9864  				}
  9865  				b := dAtA[iNdEx]
  9866  				iNdEx++
  9867  				stringLen |= uint64(b&0x7F) << shift
  9868  				if b < 0x80 {
  9869  					break
  9870  				}
  9871  			}
  9872  			intStringLen := int(stringLen)
  9873  			if intStringLen < 0 {
  9874  				return ErrInvalidLengthAuth
  9875  			}
  9876  			postIndex := iNdEx + intStringLen
  9877  			if postIndex < 0 {
  9878  				return ErrInvalidLengthAuth
  9879  			}
  9880  			if postIndex > l {
  9881  				return io.ErrUnexpectedEOF
  9882  			}
  9883  			m.Repos = append(m.Repos, string(dAtA[iNdEx:postIndex]))
  9884  			iNdEx = postIndex
  9885  		default:
  9886  			iNdEx = preIndex
  9887  			skippy, err := skipAuth(dAtA[iNdEx:])
  9888  			if err != nil {
  9889  				return err
  9890  			}
  9891  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9892  				return ErrInvalidLengthAuth
  9893  			}
  9894  			if (iNdEx + skippy) > l {
  9895  				return io.ErrUnexpectedEOF
  9896  			}
  9897  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  9898  			iNdEx += skippy
  9899  		}
  9900  	}
  9901  
  9902  	if iNdEx > l {
  9903  		return io.ErrUnexpectedEOF
  9904  	}
  9905  	return nil
  9906  }
  9907  func (m *GetScopeResponse) Unmarshal(dAtA []byte) error {
  9908  	l := len(dAtA)
  9909  	iNdEx := 0
  9910  	for iNdEx < l {
  9911  		preIndex := iNdEx
  9912  		var wire uint64
  9913  		for shift := uint(0); ; shift += 7 {
  9914  			if shift >= 64 {
  9915  				return ErrIntOverflowAuth
  9916  			}
  9917  			if iNdEx >= l {
  9918  				return io.ErrUnexpectedEOF
  9919  			}
  9920  			b := dAtA[iNdEx]
  9921  			iNdEx++
  9922  			wire |= uint64(b&0x7F) << shift
  9923  			if b < 0x80 {
  9924  				break
  9925  			}
  9926  		}
  9927  		fieldNum := int32(wire >> 3)
  9928  		wireType := int(wire & 0x7)
  9929  		if wireType == 4 {
  9930  			return fmt.Errorf("proto: GetScopeResponse: wiretype end group for non-group")
  9931  		}
  9932  		if fieldNum <= 0 {
  9933  			return fmt.Errorf("proto: GetScopeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  9934  		}
  9935  		switch fieldNum {
  9936  		case 1:
  9937  			if wireType == 0 {
  9938  				var v Scope
  9939  				for shift := uint(0); ; shift += 7 {
  9940  					if shift >= 64 {
  9941  						return ErrIntOverflowAuth
  9942  					}
  9943  					if iNdEx >= l {
  9944  						return io.ErrUnexpectedEOF
  9945  					}
  9946  					b := dAtA[iNdEx]
  9947  					iNdEx++
  9948  					v |= Scope(b&0x7F) << shift
  9949  					if b < 0x80 {
  9950  						break
  9951  					}
  9952  				}
  9953  				m.Scopes = append(m.Scopes, v)
  9954  			} else if wireType == 2 {
  9955  				var packedLen int
  9956  				for shift := uint(0); ; shift += 7 {
  9957  					if shift >= 64 {
  9958  						return ErrIntOverflowAuth
  9959  					}
  9960  					if iNdEx >= l {
  9961  						return io.ErrUnexpectedEOF
  9962  					}
  9963  					b := dAtA[iNdEx]
  9964  					iNdEx++
  9965  					packedLen |= int(b&0x7F) << shift
  9966  					if b < 0x80 {
  9967  						break
  9968  					}
  9969  				}
  9970  				if packedLen < 0 {
  9971  					return ErrInvalidLengthAuth
  9972  				}
  9973  				postIndex := iNdEx + packedLen
  9974  				if postIndex < 0 {
  9975  					return ErrInvalidLengthAuth
  9976  				}
  9977  				if postIndex > l {
  9978  					return io.ErrUnexpectedEOF
  9979  				}
  9980  				var elementCount int
  9981  				if elementCount != 0 && len(m.Scopes) == 0 {
  9982  					m.Scopes = make([]Scope, 0, elementCount)
  9983  				}
  9984  				for iNdEx < postIndex {
  9985  					var v Scope
  9986  					for shift := uint(0); ; shift += 7 {
  9987  						if shift >= 64 {
  9988  							return ErrIntOverflowAuth
  9989  						}
  9990  						if iNdEx >= l {
  9991  							return io.ErrUnexpectedEOF
  9992  						}
  9993  						b := dAtA[iNdEx]
  9994  						iNdEx++
  9995  						v |= Scope(b&0x7F) << shift
  9996  						if b < 0x80 {
  9997  							break
  9998  						}
  9999  					}
 10000  					m.Scopes = append(m.Scopes, v)
 10001  				}
 10002  			} else {
 10003  				return fmt.Errorf("proto: wrong wireType = %d for field Scopes", wireType)
 10004  			}
 10005  		default:
 10006  			iNdEx = preIndex
 10007  			skippy, err := skipAuth(dAtA[iNdEx:])
 10008  			if err != nil {
 10009  				return err
 10010  			}
 10011  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10012  				return ErrInvalidLengthAuth
 10013  			}
 10014  			if (iNdEx + skippy) > l {
 10015  				return io.ErrUnexpectedEOF
 10016  			}
 10017  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10018  			iNdEx += skippy
 10019  		}
 10020  	}
 10021  
 10022  	if iNdEx > l {
 10023  		return io.ErrUnexpectedEOF
 10024  	}
 10025  	return nil
 10026  }
 10027  func (m *SetScopeRequest) Unmarshal(dAtA []byte) error {
 10028  	l := len(dAtA)
 10029  	iNdEx := 0
 10030  	for iNdEx < l {
 10031  		preIndex := iNdEx
 10032  		var wire uint64
 10033  		for shift := uint(0); ; shift += 7 {
 10034  			if shift >= 64 {
 10035  				return ErrIntOverflowAuth
 10036  			}
 10037  			if iNdEx >= l {
 10038  				return io.ErrUnexpectedEOF
 10039  			}
 10040  			b := dAtA[iNdEx]
 10041  			iNdEx++
 10042  			wire |= uint64(b&0x7F) << shift
 10043  			if b < 0x80 {
 10044  				break
 10045  			}
 10046  		}
 10047  		fieldNum := int32(wire >> 3)
 10048  		wireType := int(wire & 0x7)
 10049  		if wireType == 4 {
 10050  			return fmt.Errorf("proto: SetScopeRequest: wiretype end group for non-group")
 10051  		}
 10052  		if fieldNum <= 0 {
 10053  			return fmt.Errorf("proto: SetScopeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10054  		}
 10055  		switch fieldNum {
 10056  		case 1:
 10057  			if wireType != 2 {
 10058  				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
 10059  			}
 10060  			var stringLen uint64
 10061  			for shift := uint(0); ; shift += 7 {
 10062  				if shift >= 64 {
 10063  					return ErrIntOverflowAuth
 10064  				}
 10065  				if iNdEx >= l {
 10066  					return io.ErrUnexpectedEOF
 10067  				}
 10068  				b := dAtA[iNdEx]
 10069  				iNdEx++
 10070  				stringLen |= uint64(b&0x7F) << shift
 10071  				if b < 0x80 {
 10072  					break
 10073  				}
 10074  			}
 10075  			intStringLen := int(stringLen)
 10076  			if intStringLen < 0 {
 10077  				return ErrInvalidLengthAuth
 10078  			}
 10079  			postIndex := iNdEx + intStringLen
 10080  			if postIndex < 0 {
 10081  				return ErrInvalidLengthAuth
 10082  			}
 10083  			if postIndex > l {
 10084  				return io.ErrUnexpectedEOF
 10085  			}
 10086  			m.Username = string(dAtA[iNdEx:postIndex])
 10087  			iNdEx = postIndex
 10088  		case 2:
 10089  			if wireType != 2 {
 10090  				return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
 10091  			}
 10092  			var stringLen uint64
 10093  			for shift := uint(0); ; shift += 7 {
 10094  				if shift >= 64 {
 10095  					return ErrIntOverflowAuth
 10096  				}
 10097  				if iNdEx >= l {
 10098  					return io.ErrUnexpectedEOF
 10099  				}
 10100  				b := dAtA[iNdEx]
 10101  				iNdEx++
 10102  				stringLen |= uint64(b&0x7F) << shift
 10103  				if b < 0x80 {
 10104  					break
 10105  				}
 10106  			}
 10107  			intStringLen := int(stringLen)
 10108  			if intStringLen < 0 {
 10109  				return ErrInvalidLengthAuth
 10110  			}
 10111  			postIndex := iNdEx + intStringLen
 10112  			if postIndex < 0 {
 10113  				return ErrInvalidLengthAuth
 10114  			}
 10115  			if postIndex > l {
 10116  				return io.ErrUnexpectedEOF
 10117  			}
 10118  			m.Repo = string(dAtA[iNdEx:postIndex])
 10119  			iNdEx = postIndex
 10120  		case 3:
 10121  			if wireType != 0 {
 10122  				return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType)
 10123  			}
 10124  			m.Scope = 0
 10125  			for shift := uint(0); ; shift += 7 {
 10126  				if shift >= 64 {
 10127  					return ErrIntOverflowAuth
 10128  				}
 10129  				if iNdEx >= l {
 10130  					return io.ErrUnexpectedEOF
 10131  				}
 10132  				b := dAtA[iNdEx]
 10133  				iNdEx++
 10134  				m.Scope |= Scope(b&0x7F) << shift
 10135  				if b < 0x80 {
 10136  					break
 10137  				}
 10138  			}
 10139  		default:
 10140  			iNdEx = preIndex
 10141  			skippy, err := skipAuth(dAtA[iNdEx:])
 10142  			if err != nil {
 10143  				return err
 10144  			}
 10145  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10146  				return ErrInvalidLengthAuth
 10147  			}
 10148  			if (iNdEx + skippy) > l {
 10149  				return io.ErrUnexpectedEOF
 10150  			}
 10151  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10152  			iNdEx += skippy
 10153  		}
 10154  	}
 10155  
 10156  	if iNdEx > l {
 10157  		return io.ErrUnexpectedEOF
 10158  	}
 10159  	return nil
 10160  }
 10161  func (m *SetScopeResponse) Unmarshal(dAtA []byte) error {
 10162  	l := len(dAtA)
 10163  	iNdEx := 0
 10164  	for iNdEx < l {
 10165  		preIndex := iNdEx
 10166  		var wire uint64
 10167  		for shift := uint(0); ; shift += 7 {
 10168  			if shift >= 64 {
 10169  				return ErrIntOverflowAuth
 10170  			}
 10171  			if iNdEx >= l {
 10172  				return io.ErrUnexpectedEOF
 10173  			}
 10174  			b := dAtA[iNdEx]
 10175  			iNdEx++
 10176  			wire |= uint64(b&0x7F) << shift
 10177  			if b < 0x80 {
 10178  				break
 10179  			}
 10180  		}
 10181  		fieldNum := int32(wire >> 3)
 10182  		wireType := int(wire & 0x7)
 10183  		if wireType == 4 {
 10184  			return fmt.Errorf("proto: SetScopeResponse: wiretype end group for non-group")
 10185  		}
 10186  		if fieldNum <= 0 {
 10187  			return fmt.Errorf("proto: SetScopeResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10188  		}
 10189  		switch fieldNum {
 10190  		default:
 10191  			iNdEx = preIndex
 10192  			skippy, err := skipAuth(dAtA[iNdEx:])
 10193  			if err != nil {
 10194  				return err
 10195  			}
 10196  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10197  				return ErrInvalidLengthAuth
 10198  			}
 10199  			if (iNdEx + skippy) > l {
 10200  				return io.ErrUnexpectedEOF
 10201  			}
 10202  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10203  			iNdEx += skippy
 10204  		}
 10205  	}
 10206  
 10207  	if iNdEx > l {
 10208  		return io.ErrUnexpectedEOF
 10209  	}
 10210  	return nil
 10211  }
 10212  func (m *GetACLRequest) Unmarshal(dAtA []byte) error {
 10213  	l := len(dAtA)
 10214  	iNdEx := 0
 10215  	for iNdEx < l {
 10216  		preIndex := iNdEx
 10217  		var wire uint64
 10218  		for shift := uint(0); ; shift += 7 {
 10219  			if shift >= 64 {
 10220  				return ErrIntOverflowAuth
 10221  			}
 10222  			if iNdEx >= l {
 10223  				return io.ErrUnexpectedEOF
 10224  			}
 10225  			b := dAtA[iNdEx]
 10226  			iNdEx++
 10227  			wire |= uint64(b&0x7F) << shift
 10228  			if b < 0x80 {
 10229  				break
 10230  			}
 10231  		}
 10232  		fieldNum := int32(wire >> 3)
 10233  		wireType := int(wire & 0x7)
 10234  		if wireType == 4 {
 10235  			return fmt.Errorf("proto: GetACLRequest: wiretype end group for non-group")
 10236  		}
 10237  		if fieldNum <= 0 {
 10238  			return fmt.Errorf("proto: GetACLRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10239  		}
 10240  		switch fieldNum {
 10241  		case 1:
 10242  			if wireType != 2 {
 10243  				return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
 10244  			}
 10245  			var stringLen uint64
 10246  			for shift := uint(0); ; shift += 7 {
 10247  				if shift >= 64 {
 10248  					return ErrIntOverflowAuth
 10249  				}
 10250  				if iNdEx >= l {
 10251  					return io.ErrUnexpectedEOF
 10252  				}
 10253  				b := dAtA[iNdEx]
 10254  				iNdEx++
 10255  				stringLen |= uint64(b&0x7F) << shift
 10256  				if b < 0x80 {
 10257  					break
 10258  				}
 10259  			}
 10260  			intStringLen := int(stringLen)
 10261  			if intStringLen < 0 {
 10262  				return ErrInvalidLengthAuth
 10263  			}
 10264  			postIndex := iNdEx + intStringLen
 10265  			if postIndex < 0 {
 10266  				return ErrInvalidLengthAuth
 10267  			}
 10268  			if postIndex > l {
 10269  				return io.ErrUnexpectedEOF
 10270  			}
 10271  			m.Repo = string(dAtA[iNdEx:postIndex])
 10272  			iNdEx = postIndex
 10273  		default:
 10274  			iNdEx = preIndex
 10275  			skippy, err := skipAuth(dAtA[iNdEx:])
 10276  			if err != nil {
 10277  				return err
 10278  			}
 10279  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10280  				return ErrInvalidLengthAuth
 10281  			}
 10282  			if (iNdEx + skippy) > l {
 10283  				return io.ErrUnexpectedEOF
 10284  			}
 10285  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10286  			iNdEx += skippy
 10287  		}
 10288  	}
 10289  
 10290  	if iNdEx > l {
 10291  		return io.ErrUnexpectedEOF
 10292  	}
 10293  	return nil
 10294  }
 10295  func (m *ACLEntry) Unmarshal(dAtA []byte) error {
 10296  	l := len(dAtA)
 10297  	iNdEx := 0
 10298  	for iNdEx < l {
 10299  		preIndex := iNdEx
 10300  		var wire uint64
 10301  		for shift := uint(0); ; shift += 7 {
 10302  			if shift >= 64 {
 10303  				return ErrIntOverflowAuth
 10304  			}
 10305  			if iNdEx >= l {
 10306  				return io.ErrUnexpectedEOF
 10307  			}
 10308  			b := dAtA[iNdEx]
 10309  			iNdEx++
 10310  			wire |= uint64(b&0x7F) << shift
 10311  			if b < 0x80 {
 10312  				break
 10313  			}
 10314  		}
 10315  		fieldNum := int32(wire >> 3)
 10316  		wireType := int(wire & 0x7)
 10317  		if wireType == 4 {
 10318  			return fmt.Errorf("proto: ACLEntry: wiretype end group for non-group")
 10319  		}
 10320  		if fieldNum <= 0 {
 10321  			return fmt.Errorf("proto: ACLEntry: illegal tag %d (wire type %d)", fieldNum, wire)
 10322  		}
 10323  		switch fieldNum {
 10324  		case 1:
 10325  			if wireType != 2 {
 10326  				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
 10327  			}
 10328  			var stringLen uint64
 10329  			for shift := uint(0); ; shift += 7 {
 10330  				if shift >= 64 {
 10331  					return ErrIntOverflowAuth
 10332  				}
 10333  				if iNdEx >= l {
 10334  					return io.ErrUnexpectedEOF
 10335  				}
 10336  				b := dAtA[iNdEx]
 10337  				iNdEx++
 10338  				stringLen |= uint64(b&0x7F) << shift
 10339  				if b < 0x80 {
 10340  					break
 10341  				}
 10342  			}
 10343  			intStringLen := int(stringLen)
 10344  			if intStringLen < 0 {
 10345  				return ErrInvalidLengthAuth
 10346  			}
 10347  			postIndex := iNdEx + intStringLen
 10348  			if postIndex < 0 {
 10349  				return ErrInvalidLengthAuth
 10350  			}
 10351  			if postIndex > l {
 10352  				return io.ErrUnexpectedEOF
 10353  			}
 10354  			m.Username = string(dAtA[iNdEx:postIndex])
 10355  			iNdEx = postIndex
 10356  		case 2:
 10357  			if wireType != 0 {
 10358  				return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType)
 10359  			}
 10360  			m.Scope = 0
 10361  			for shift := uint(0); ; shift += 7 {
 10362  				if shift >= 64 {
 10363  					return ErrIntOverflowAuth
 10364  				}
 10365  				if iNdEx >= l {
 10366  					return io.ErrUnexpectedEOF
 10367  				}
 10368  				b := dAtA[iNdEx]
 10369  				iNdEx++
 10370  				m.Scope |= Scope(b&0x7F) << shift
 10371  				if b < 0x80 {
 10372  					break
 10373  				}
 10374  			}
 10375  		default:
 10376  			iNdEx = preIndex
 10377  			skippy, err := skipAuth(dAtA[iNdEx:])
 10378  			if err != nil {
 10379  				return err
 10380  			}
 10381  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10382  				return ErrInvalidLengthAuth
 10383  			}
 10384  			if (iNdEx + skippy) > l {
 10385  				return io.ErrUnexpectedEOF
 10386  			}
 10387  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10388  			iNdEx += skippy
 10389  		}
 10390  	}
 10391  
 10392  	if iNdEx > l {
 10393  		return io.ErrUnexpectedEOF
 10394  	}
 10395  	return nil
 10396  }
 10397  func (m *GetACLResponse) Unmarshal(dAtA []byte) error {
 10398  	l := len(dAtA)
 10399  	iNdEx := 0
 10400  	for iNdEx < l {
 10401  		preIndex := iNdEx
 10402  		var wire uint64
 10403  		for shift := uint(0); ; shift += 7 {
 10404  			if shift >= 64 {
 10405  				return ErrIntOverflowAuth
 10406  			}
 10407  			if iNdEx >= l {
 10408  				return io.ErrUnexpectedEOF
 10409  			}
 10410  			b := dAtA[iNdEx]
 10411  			iNdEx++
 10412  			wire |= uint64(b&0x7F) << shift
 10413  			if b < 0x80 {
 10414  				break
 10415  			}
 10416  		}
 10417  		fieldNum := int32(wire >> 3)
 10418  		wireType := int(wire & 0x7)
 10419  		if wireType == 4 {
 10420  			return fmt.Errorf("proto: GetACLResponse: wiretype end group for non-group")
 10421  		}
 10422  		if fieldNum <= 0 {
 10423  			return fmt.Errorf("proto: GetACLResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10424  		}
 10425  		switch fieldNum {
 10426  		case 1:
 10427  			if wireType != 2 {
 10428  				return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType)
 10429  			}
 10430  			var msglen int
 10431  			for shift := uint(0); ; shift += 7 {
 10432  				if shift >= 64 {
 10433  					return ErrIntOverflowAuth
 10434  				}
 10435  				if iNdEx >= l {
 10436  					return io.ErrUnexpectedEOF
 10437  				}
 10438  				b := dAtA[iNdEx]
 10439  				iNdEx++
 10440  				msglen |= int(b&0x7F) << shift
 10441  				if b < 0x80 {
 10442  					break
 10443  				}
 10444  			}
 10445  			if msglen < 0 {
 10446  				return ErrInvalidLengthAuth
 10447  			}
 10448  			postIndex := iNdEx + msglen
 10449  			if postIndex < 0 {
 10450  				return ErrInvalidLengthAuth
 10451  			}
 10452  			if postIndex > l {
 10453  				return io.ErrUnexpectedEOF
 10454  			}
 10455  			m.Entries = append(m.Entries, &ACLEntry{})
 10456  			if err := m.Entries[len(m.Entries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10457  				return err
 10458  			}
 10459  			iNdEx = postIndex
 10460  		case 2:
 10461  			if wireType != 2 {
 10462  				return fmt.Errorf("proto: wrong wireType = %d for field RobotEntries", wireType)
 10463  			}
 10464  			var msglen int
 10465  			for shift := uint(0); ; shift += 7 {
 10466  				if shift >= 64 {
 10467  					return ErrIntOverflowAuth
 10468  				}
 10469  				if iNdEx >= l {
 10470  					return io.ErrUnexpectedEOF
 10471  				}
 10472  				b := dAtA[iNdEx]
 10473  				iNdEx++
 10474  				msglen |= int(b&0x7F) << shift
 10475  				if b < 0x80 {
 10476  					break
 10477  				}
 10478  			}
 10479  			if msglen < 0 {
 10480  				return ErrInvalidLengthAuth
 10481  			}
 10482  			postIndex := iNdEx + msglen
 10483  			if postIndex < 0 {
 10484  				return ErrInvalidLengthAuth
 10485  			}
 10486  			if postIndex > l {
 10487  				return io.ErrUnexpectedEOF
 10488  			}
 10489  			m.RobotEntries = append(m.RobotEntries, &ACLEntry{})
 10490  			if err := m.RobotEntries[len(m.RobotEntries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10491  				return err
 10492  			}
 10493  			iNdEx = postIndex
 10494  		default:
 10495  			iNdEx = preIndex
 10496  			skippy, err := skipAuth(dAtA[iNdEx:])
 10497  			if err != nil {
 10498  				return err
 10499  			}
 10500  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10501  				return ErrInvalidLengthAuth
 10502  			}
 10503  			if (iNdEx + skippy) > l {
 10504  				return io.ErrUnexpectedEOF
 10505  			}
 10506  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10507  			iNdEx += skippy
 10508  		}
 10509  	}
 10510  
 10511  	if iNdEx > l {
 10512  		return io.ErrUnexpectedEOF
 10513  	}
 10514  	return nil
 10515  }
 10516  func (m *SetACLRequest) Unmarshal(dAtA []byte) error {
 10517  	l := len(dAtA)
 10518  	iNdEx := 0
 10519  	for iNdEx < l {
 10520  		preIndex := iNdEx
 10521  		var wire uint64
 10522  		for shift := uint(0); ; shift += 7 {
 10523  			if shift >= 64 {
 10524  				return ErrIntOverflowAuth
 10525  			}
 10526  			if iNdEx >= l {
 10527  				return io.ErrUnexpectedEOF
 10528  			}
 10529  			b := dAtA[iNdEx]
 10530  			iNdEx++
 10531  			wire |= uint64(b&0x7F) << shift
 10532  			if b < 0x80 {
 10533  				break
 10534  			}
 10535  		}
 10536  		fieldNum := int32(wire >> 3)
 10537  		wireType := int(wire & 0x7)
 10538  		if wireType == 4 {
 10539  			return fmt.Errorf("proto: SetACLRequest: wiretype end group for non-group")
 10540  		}
 10541  		if fieldNum <= 0 {
 10542  			return fmt.Errorf("proto: SetACLRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10543  		}
 10544  		switch fieldNum {
 10545  		case 1:
 10546  			if wireType != 2 {
 10547  				return fmt.Errorf("proto: wrong wireType = %d for field Repo", wireType)
 10548  			}
 10549  			var stringLen uint64
 10550  			for shift := uint(0); ; shift += 7 {
 10551  				if shift >= 64 {
 10552  					return ErrIntOverflowAuth
 10553  				}
 10554  				if iNdEx >= l {
 10555  					return io.ErrUnexpectedEOF
 10556  				}
 10557  				b := dAtA[iNdEx]
 10558  				iNdEx++
 10559  				stringLen |= uint64(b&0x7F) << shift
 10560  				if b < 0x80 {
 10561  					break
 10562  				}
 10563  			}
 10564  			intStringLen := int(stringLen)
 10565  			if intStringLen < 0 {
 10566  				return ErrInvalidLengthAuth
 10567  			}
 10568  			postIndex := iNdEx + intStringLen
 10569  			if postIndex < 0 {
 10570  				return ErrInvalidLengthAuth
 10571  			}
 10572  			if postIndex > l {
 10573  				return io.ErrUnexpectedEOF
 10574  			}
 10575  			m.Repo = string(dAtA[iNdEx:postIndex])
 10576  			iNdEx = postIndex
 10577  		case 2:
 10578  			if wireType != 2 {
 10579  				return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType)
 10580  			}
 10581  			var msglen int
 10582  			for shift := uint(0); ; shift += 7 {
 10583  				if shift >= 64 {
 10584  					return ErrIntOverflowAuth
 10585  				}
 10586  				if iNdEx >= l {
 10587  					return io.ErrUnexpectedEOF
 10588  				}
 10589  				b := dAtA[iNdEx]
 10590  				iNdEx++
 10591  				msglen |= int(b&0x7F) << shift
 10592  				if b < 0x80 {
 10593  					break
 10594  				}
 10595  			}
 10596  			if msglen < 0 {
 10597  				return ErrInvalidLengthAuth
 10598  			}
 10599  			postIndex := iNdEx + msglen
 10600  			if postIndex < 0 {
 10601  				return ErrInvalidLengthAuth
 10602  			}
 10603  			if postIndex > l {
 10604  				return io.ErrUnexpectedEOF
 10605  			}
 10606  			m.Entries = append(m.Entries, &ACLEntry{})
 10607  			if err := m.Entries[len(m.Entries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10608  				return err
 10609  			}
 10610  			iNdEx = postIndex
 10611  		default:
 10612  			iNdEx = preIndex
 10613  			skippy, err := skipAuth(dAtA[iNdEx:])
 10614  			if err != nil {
 10615  				return err
 10616  			}
 10617  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10618  				return ErrInvalidLengthAuth
 10619  			}
 10620  			if (iNdEx + skippy) > l {
 10621  				return io.ErrUnexpectedEOF
 10622  			}
 10623  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10624  			iNdEx += skippy
 10625  		}
 10626  	}
 10627  
 10628  	if iNdEx > l {
 10629  		return io.ErrUnexpectedEOF
 10630  	}
 10631  	return nil
 10632  }
 10633  func (m *SetACLResponse) Unmarshal(dAtA []byte) error {
 10634  	l := len(dAtA)
 10635  	iNdEx := 0
 10636  	for iNdEx < l {
 10637  		preIndex := iNdEx
 10638  		var wire uint64
 10639  		for shift := uint(0); ; shift += 7 {
 10640  			if shift >= 64 {
 10641  				return ErrIntOverflowAuth
 10642  			}
 10643  			if iNdEx >= l {
 10644  				return io.ErrUnexpectedEOF
 10645  			}
 10646  			b := dAtA[iNdEx]
 10647  			iNdEx++
 10648  			wire |= uint64(b&0x7F) << shift
 10649  			if b < 0x80 {
 10650  				break
 10651  			}
 10652  		}
 10653  		fieldNum := int32(wire >> 3)
 10654  		wireType := int(wire & 0x7)
 10655  		if wireType == 4 {
 10656  			return fmt.Errorf("proto: SetACLResponse: wiretype end group for non-group")
 10657  		}
 10658  		if fieldNum <= 0 {
 10659  			return fmt.Errorf("proto: SetACLResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10660  		}
 10661  		switch fieldNum {
 10662  		default:
 10663  			iNdEx = preIndex
 10664  			skippy, err := skipAuth(dAtA[iNdEx:])
 10665  			if err != nil {
 10666  				return err
 10667  			}
 10668  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10669  				return ErrInvalidLengthAuth
 10670  			}
 10671  			if (iNdEx + skippy) > l {
 10672  				return io.ErrUnexpectedEOF
 10673  			}
 10674  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10675  			iNdEx += skippy
 10676  		}
 10677  	}
 10678  
 10679  	if iNdEx > l {
 10680  		return io.ErrUnexpectedEOF
 10681  	}
 10682  	return nil
 10683  }
 10684  func (m *GetAuthTokenRequest) Unmarshal(dAtA []byte) error {
 10685  	l := len(dAtA)
 10686  	iNdEx := 0
 10687  	for iNdEx < l {
 10688  		preIndex := iNdEx
 10689  		var wire uint64
 10690  		for shift := uint(0); ; shift += 7 {
 10691  			if shift >= 64 {
 10692  				return ErrIntOverflowAuth
 10693  			}
 10694  			if iNdEx >= l {
 10695  				return io.ErrUnexpectedEOF
 10696  			}
 10697  			b := dAtA[iNdEx]
 10698  			iNdEx++
 10699  			wire |= uint64(b&0x7F) << shift
 10700  			if b < 0x80 {
 10701  				break
 10702  			}
 10703  		}
 10704  		fieldNum := int32(wire >> 3)
 10705  		wireType := int(wire & 0x7)
 10706  		if wireType == 4 {
 10707  			return fmt.Errorf("proto: GetAuthTokenRequest: wiretype end group for non-group")
 10708  		}
 10709  		if fieldNum <= 0 {
 10710  			return fmt.Errorf("proto: GetAuthTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10711  		}
 10712  		switch fieldNum {
 10713  		case 1:
 10714  			if wireType != 2 {
 10715  				return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
 10716  			}
 10717  			var stringLen uint64
 10718  			for shift := uint(0); ; shift += 7 {
 10719  				if shift >= 64 {
 10720  					return ErrIntOverflowAuth
 10721  				}
 10722  				if iNdEx >= l {
 10723  					return io.ErrUnexpectedEOF
 10724  				}
 10725  				b := dAtA[iNdEx]
 10726  				iNdEx++
 10727  				stringLen |= uint64(b&0x7F) << shift
 10728  				if b < 0x80 {
 10729  					break
 10730  				}
 10731  			}
 10732  			intStringLen := int(stringLen)
 10733  			if intStringLen < 0 {
 10734  				return ErrInvalidLengthAuth
 10735  			}
 10736  			postIndex := iNdEx + intStringLen
 10737  			if postIndex < 0 {
 10738  				return ErrInvalidLengthAuth
 10739  			}
 10740  			if postIndex > l {
 10741  				return io.ErrUnexpectedEOF
 10742  			}
 10743  			m.Subject = string(dAtA[iNdEx:postIndex])
 10744  			iNdEx = postIndex
 10745  		case 2:
 10746  			if wireType != 0 {
 10747  				return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType)
 10748  			}
 10749  			m.TTL = 0
 10750  			for shift := uint(0); ; shift += 7 {
 10751  				if shift >= 64 {
 10752  					return ErrIntOverflowAuth
 10753  				}
 10754  				if iNdEx >= l {
 10755  					return io.ErrUnexpectedEOF
 10756  				}
 10757  				b := dAtA[iNdEx]
 10758  				iNdEx++
 10759  				m.TTL |= int64(b&0x7F) << shift
 10760  				if b < 0x80 {
 10761  					break
 10762  				}
 10763  			}
 10764  		default:
 10765  			iNdEx = preIndex
 10766  			skippy, err := skipAuth(dAtA[iNdEx:])
 10767  			if err != nil {
 10768  				return err
 10769  			}
 10770  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10771  				return ErrInvalidLengthAuth
 10772  			}
 10773  			if (iNdEx + skippy) > l {
 10774  				return io.ErrUnexpectedEOF
 10775  			}
 10776  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10777  			iNdEx += skippy
 10778  		}
 10779  	}
 10780  
 10781  	if iNdEx > l {
 10782  		return io.ErrUnexpectedEOF
 10783  	}
 10784  	return nil
 10785  }
 10786  func (m *GetAuthTokenResponse) Unmarshal(dAtA []byte) error {
 10787  	l := len(dAtA)
 10788  	iNdEx := 0
 10789  	for iNdEx < l {
 10790  		preIndex := iNdEx
 10791  		var wire uint64
 10792  		for shift := uint(0); ; shift += 7 {
 10793  			if shift >= 64 {
 10794  				return ErrIntOverflowAuth
 10795  			}
 10796  			if iNdEx >= l {
 10797  				return io.ErrUnexpectedEOF
 10798  			}
 10799  			b := dAtA[iNdEx]
 10800  			iNdEx++
 10801  			wire |= uint64(b&0x7F) << shift
 10802  			if b < 0x80 {
 10803  				break
 10804  			}
 10805  		}
 10806  		fieldNum := int32(wire >> 3)
 10807  		wireType := int(wire & 0x7)
 10808  		if wireType == 4 {
 10809  			return fmt.Errorf("proto: GetAuthTokenResponse: wiretype end group for non-group")
 10810  		}
 10811  		if fieldNum <= 0 {
 10812  			return fmt.Errorf("proto: GetAuthTokenResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10813  		}
 10814  		switch fieldNum {
 10815  		case 1:
 10816  			if wireType != 2 {
 10817  				return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
 10818  			}
 10819  			var stringLen uint64
 10820  			for shift := uint(0); ; shift += 7 {
 10821  				if shift >= 64 {
 10822  					return ErrIntOverflowAuth
 10823  				}
 10824  				if iNdEx >= l {
 10825  					return io.ErrUnexpectedEOF
 10826  				}
 10827  				b := dAtA[iNdEx]
 10828  				iNdEx++
 10829  				stringLen |= uint64(b&0x7F) << shift
 10830  				if b < 0x80 {
 10831  					break
 10832  				}
 10833  			}
 10834  			intStringLen := int(stringLen)
 10835  			if intStringLen < 0 {
 10836  				return ErrInvalidLengthAuth
 10837  			}
 10838  			postIndex := iNdEx + intStringLen
 10839  			if postIndex < 0 {
 10840  				return ErrInvalidLengthAuth
 10841  			}
 10842  			if postIndex > l {
 10843  				return io.ErrUnexpectedEOF
 10844  			}
 10845  			m.Token = string(dAtA[iNdEx:postIndex])
 10846  			iNdEx = postIndex
 10847  		case 2:
 10848  			if wireType != 2 {
 10849  				return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
 10850  			}
 10851  			var stringLen uint64
 10852  			for shift := uint(0); ; shift += 7 {
 10853  				if shift >= 64 {
 10854  					return ErrIntOverflowAuth
 10855  				}
 10856  				if iNdEx >= l {
 10857  					return io.ErrUnexpectedEOF
 10858  				}
 10859  				b := dAtA[iNdEx]
 10860  				iNdEx++
 10861  				stringLen |= uint64(b&0x7F) << shift
 10862  				if b < 0x80 {
 10863  					break
 10864  				}
 10865  			}
 10866  			intStringLen := int(stringLen)
 10867  			if intStringLen < 0 {
 10868  				return ErrInvalidLengthAuth
 10869  			}
 10870  			postIndex := iNdEx + intStringLen
 10871  			if postIndex < 0 {
 10872  				return ErrInvalidLengthAuth
 10873  			}
 10874  			if postIndex > l {
 10875  				return io.ErrUnexpectedEOF
 10876  			}
 10877  			m.Subject = string(dAtA[iNdEx:postIndex])
 10878  			iNdEx = postIndex
 10879  		default:
 10880  			iNdEx = preIndex
 10881  			skippy, err := skipAuth(dAtA[iNdEx:])
 10882  			if err != nil {
 10883  				return err
 10884  			}
 10885  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10886  				return ErrInvalidLengthAuth
 10887  			}
 10888  			if (iNdEx + skippy) > l {
 10889  				return io.ErrUnexpectedEOF
 10890  			}
 10891  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10892  			iNdEx += skippy
 10893  		}
 10894  	}
 10895  
 10896  	if iNdEx > l {
 10897  		return io.ErrUnexpectedEOF
 10898  	}
 10899  	return nil
 10900  }
 10901  func (m *ExtendAuthTokenRequest) Unmarshal(dAtA []byte) error {
 10902  	l := len(dAtA)
 10903  	iNdEx := 0
 10904  	for iNdEx < l {
 10905  		preIndex := iNdEx
 10906  		var wire uint64
 10907  		for shift := uint(0); ; shift += 7 {
 10908  			if shift >= 64 {
 10909  				return ErrIntOverflowAuth
 10910  			}
 10911  			if iNdEx >= l {
 10912  				return io.ErrUnexpectedEOF
 10913  			}
 10914  			b := dAtA[iNdEx]
 10915  			iNdEx++
 10916  			wire |= uint64(b&0x7F) << shift
 10917  			if b < 0x80 {
 10918  				break
 10919  			}
 10920  		}
 10921  		fieldNum := int32(wire >> 3)
 10922  		wireType := int(wire & 0x7)
 10923  		if wireType == 4 {
 10924  			return fmt.Errorf("proto: ExtendAuthTokenRequest: wiretype end group for non-group")
 10925  		}
 10926  		if fieldNum <= 0 {
 10927  			return fmt.Errorf("proto: ExtendAuthTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 10928  		}
 10929  		switch fieldNum {
 10930  		case 1:
 10931  			if wireType != 2 {
 10932  				return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
 10933  			}
 10934  			var stringLen uint64
 10935  			for shift := uint(0); ; shift += 7 {
 10936  				if shift >= 64 {
 10937  					return ErrIntOverflowAuth
 10938  				}
 10939  				if iNdEx >= l {
 10940  					return io.ErrUnexpectedEOF
 10941  				}
 10942  				b := dAtA[iNdEx]
 10943  				iNdEx++
 10944  				stringLen |= uint64(b&0x7F) << shift
 10945  				if b < 0x80 {
 10946  					break
 10947  				}
 10948  			}
 10949  			intStringLen := int(stringLen)
 10950  			if intStringLen < 0 {
 10951  				return ErrInvalidLengthAuth
 10952  			}
 10953  			postIndex := iNdEx + intStringLen
 10954  			if postIndex < 0 {
 10955  				return ErrInvalidLengthAuth
 10956  			}
 10957  			if postIndex > l {
 10958  				return io.ErrUnexpectedEOF
 10959  			}
 10960  			m.Token = string(dAtA[iNdEx:postIndex])
 10961  			iNdEx = postIndex
 10962  		case 2:
 10963  			if wireType != 0 {
 10964  				return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType)
 10965  			}
 10966  			m.TTL = 0
 10967  			for shift := uint(0); ; shift += 7 {
 10968  				if shift >= 64 {
 10969  					return ErrIntOverflowAuth
 10970  				}
 10971  				if iNdEx >= l {
 10972  					return io.ErrUnexpectedEOF
 10973  				}
 10974  				b := dAtA[iNdEx]
 10975  				iNdEx++
 10976  				m.TTL |= int64(b&0x7F) << shift
 10977  				if b < 0x80 {
 10978  					break
 10979  				}
 10980  			}
 10981  		default:
 10982  			iNdEx = preIndex
 10983  			skippy, err := skipAuth(dAtA[iNdEx:])
 10984  			if err != nil {
 10985  				return err
 10986  			}
 10987  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10988  				return ErrInvalidLengthAuth
 10989  			}
 10990  			if (iNdEx + skippy) > l {
 10991  				return io.ErrUnexpectedEOF
 10992  			}
 10993  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 10994  			iNdEx += skippy
 10995  		}
 10996  	}
 10997  
 10998  	if iNdEx > l {
 10999  		return io.ErrUnexpectedEOF
 11000  	}
 11001  	return nil
 11002  }
 11003  func (m *ExtendAuthTokenResponse) Unmarshal(dAtA []byte) error {
 11004  	l := len(dAtA)
 11005  	iNdEx := 0
 11006  	for iNdEx < l {
 11007  		preIndex := iNdEx
 11008  		var wire uint64
 11009  		for shift := uint(0); ; shift += 7 {
 11010  			if shift >= 64 {
 11011  				return ErrIntOverflowAuth
 11012  			}
 11013  			if iNdEx >= l {
 11014  				return io.ErrUnexpectedEOF
 11015  			}
 11016  			b := dAtA[iNdEx]
 11017  			iNdEx++
 11018  			wire |= uint64(b&0x7F) << shift
 11019  			if b < 0x80 {
 11020  				break
 11021  			}
 11022  		}
 11023  		fieldNum := int32(wire >> 3)
 11024  		wireType := int(wire & 0x7)
 11025  		if wireType == 4 {
 11026  			return fmt.Errorf("proto: ExtendAuthTokenResponse: wiretype end group for non-group")
 11027  		}
 11028  		if fieldNum <= 0 {
 11029  			return fmt.Errorf("proto: ExtendAuthTokenResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11030  		}
 11031  		switch fieldNum {
 11032  		default:
 11033  			iNdEx = preIndex
 11034  			skippy, err := skipAuth(dAtA[iNdEx:])
 11035  			if err != nil {
 11036  				return err
 11037  			}
 11038  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11039  				return ErrInvalidLengthAuth
 11040  			}
 11041  			if (iNdEx + skippy) > l {
 11042  				return io.ErrUnexpectedEOF
 11043  			}
 11044  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11045  			iNdEx += skippy
 11046  		}
 11047  	}
 11048  
 11049  	if iNdEx > l {
 11050  		return io.ErrUnexpectedEOF
 11051  	}
 11052  	return nil
 11053  }
 11054  func (m *RevokeAuthTokenRequest) Unmarshal(dAtA []byte) error {
 11055  	l := len(dAtA)
 11056  	iNdEx := 0
 11057  	for iNdEx < l {
 11058  		preIndex := iNdEx
 11059  		var wire uint64
 11060  		for shift := uint(0); ; shift += 7 {
 11061  			if shift >= 64 {
 11062  				return ErrIntOverflowAuth
 11063  			}
 11064  			if iNdEx >= l {
 11065  				return io.ErrUnexpectedEOF
 11066  			}
 11067  			b := dAtA[iNdEx]
 11068  			iNdEx++
 11069  			wire |= uint64(b&0x7F) << shift
 11070  			if b < 0x80 {
 11071  				break
 11072  			}
 11073  		}
 11074  		fieldNum := int32(wire >> 3)
 11075  		wireType := int(wire & 0x7)
 11076  		if wireType == 4 {
 11077  			return fmt.Errorf("proto: RevokeAuthTokenRequest: wiretype end group for non-group")
 11078  		}
 11079  		if fieldNum <= 0 {
 11080  			return fmt.Errorf("proto: RevokeAuthTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11081  		}
 11082  		switch fieldNum {
 11083  		case 1:
 11084  			if wireType != 2 {
 11085  				return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
 11086  			}
 11087  			var stringLen uint64
 11088  			for shift := uint(0); ; shift += 7 {
 11089  				if shift >= 64 {
 11090  					return ErrIntOverflowAuth
 11091  				}
 11092  				if iNdEx >= l {
 11093  					return io.ErrUnexpectedEOF
 11094  				}
 11095  				b := dAtA[iNdEx]
 11096  				iNdEx++
 11097  				stringLen |= uint64(b&0x7F) << shift
 11098  				if b < 0x80 {
 11099  					break
 11100  				}
 11101  			}
 11102  			intStringLen := int(stringLen)
 11103  			if intStringLen < 0 {
 11104  				return ErrInvalidLengthAuth
 11105  			}
 11106  			postIndex := iNdEx + intStringLen
 11107  			if postIndex < 0 {
 11108  				return ErrInvalidLengthAuth
 11109  			}
 11110  			if postIndex > l {
 11111  				return io.ErrUnexpectedEOF
 11112  			}
 11113  			m.Token = string(dAtA[iNdEx:postIndex])
 11114  			iNdEx = postIndex
 11115  		default:
 11116  			iNdEx = preIndex
 11117  			skippy, err := skipAuth(dAtA[iNdEx:])
 11118  			if err != nil {
 11119  				return err
 11120  			}
 11121  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11122  				return ErrInvalidLengthAuth
 11123  			}
 11124  			if (iNdEx + skippy) > l {
 11125  				return io.ErrUnexpectedEOF
 11126  			}
 11127  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11128  			iNdEx += skippy
 11129  		}
 11130  	}
 11131  
 11132  	if iNdEx > l {
 11133  		return io.ErrUnexpectedEOF
 11134  	}
 11135  	return nil
 11136  }
 11137  func (m *RevokeAuthTokenResponse) Unmarshal(dAtA []byte) error {
 11138  	l := len(dAtA)
 11139  	iNdEx := 0
 11140  	for iNdEx < l {
 11141  		preIndex := iNdEx
 11142  		var wire uint64
 11143  		for shift := uint(0); ; shift += 7 {
 11144  			if shift >= 64 {
 11145  				return ErrIntOverflowAuth
 11146  			}
 11147  			if iNdEx >= l {
 11148  				return io.ErrUnexpectedEOF
 11149  			}
 11150  			b := dAtA[iNdEx]
 11151  			iNdEx++
 11152  			wire |= uint64(b&0x7F) << shift
 11153  			if b < 0x80 {
 11154  				break
 11155  			}
 11156  		}
 11157  		fieldNum := int32(wire >> 3)
 11158  		wireType := int(wire & 0x7)
 11159  		if wireType == 4 {
 11160  			return fmt.Errorf("proto: RevokeAuthTokenResponse: wiretype end group for non-group")
 11161  		}
 11162  		if fieldNum <= 0 {
 11163  			return fmt.Errorf("proto: RevokeAuthTokenResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11164  		}
 11165  		switch fieldNum {
 11166  		default:
 11167  			iNdEx = preIndex
 11168  			skippy, err := skipAuth(dAtA[iNdEx:])
 11169  			if err != nil {
 11170  				return err
 11171  			}
 11172  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11173  				return ErrInvalidLengthAuth
 11174  			}
 11175  			if (iNdEx + skippy) > l {
 11176  				return io.ErrUnexpectedEOF
 11177  			}
 11178  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11179  			iNdEx += skippy
 11180  		}
 11181  	}
 11182  
 11183  	if iNdEx > l {
 11184  		return io.ErrUnexpectedEOF
 11185  	}
 11186  	return nil
 11187  }
 11188  func (m *SetGroupsForUserRequest) Unmarshal(dAtA []byte) error {
 11189  	l := len(dAtA)
 11190  	iNdEx := 0
 11191  	for iNdEx < l {
 11192  		preIndex := iNdEx
 11193  		var wire uint64
 11194  		for shift := uint(0); ; shift += 7 {
 11195  			if shift >= 64 {
 11196  				return ErrIntOverflowAuth
 11197  			}
 11198  			if iNdEx >= l {
 11199  				return io.ErrUnexpectedEOF
 11200  			}
 11201  			b := dAtA[iNdEx]
 11202  			iNdEx++
 11203  			wire |= uint64(b&0x7F) << shift
 11204  			if b < 0x80 {
 11205  				break
 11206  			}
 11207  		}
 11208  		fieldNum := int32(wire >> 3)
 11209  		wireType := int(wire & 0x7)
 11210  		if wireType == 4 {
 11211  			return fmt.Errorf("proto: SetGroupsForUserRequest: wiretype end group for non-group")
 11212  		}
 11213  		if fieldNum <= 0 {
 11214  			return fmt.Errorf("proto: SetGroupsForUserRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11215  		}
 11216  		switch fieldNum {
 11217  		case 1:
 11218  			if wireType != 2 {
 11219  				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
 11220  			}
 11221  			var stringLen uint64
 11222  			for shift := uint(0); ; shift += 7 {
 11223  				if shift >= 64 {
 11224  					return ErrIntOverflowAuth
 11225  				}
 11226  				if iNdEx >= l {
 11227  					return io.ErrUnexpectedEOF
 11228  				}
 11229  				b := dAtA[iNdEx]
 11230  				iNdEx++
 11231  				stringLen |= uint64(b&0x7F) << shift
 11232  				if b < 0x80 {
 11233  					break
 11234  				}
 11235  			}
 11236  			intStringLen := int(stringLen)
 11237  			if intStringLen < 0 {
 11238  				return ErrInvalidLengthAuth
 11239  			}
 11240  			postIndex := iNdEx + intStringLen
 11241  			if postIndex < 0 {
 11242  				return ErrInvalidLengthAuth
 11243  			}
 11244  			if postIndex > l {
 11245  				return io.ErrUnexpectedEOF
 11246  			}
 11247  			m.Username = string(dAtA[iNdEx:postIndex])
 11248  			iNdEx = postIndex
 11249  		case 2:
 11250  			if wireType != 2 {
 11251  				return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
 11252  			}
 11253  			var stringLen uint64
 11254  			for shift := uint(0); ; shift += 7 {
 11255  				if shift >= 64 {
 11256  					return ErrIntOverflowAuth
 11257  				}
 11258  				if iNdEx >= l {
 11259  					return io.ErrUnexpectedEOF
 11260  				}
 11261  				b := dAtA[iNdEx]
 11262  				iNdEx++
 11263  				stringLen |= uint64(b&0x7F) << shift
 11264  				if b < 0x80 {
 11265  					break
 11266  				}
 11267  			}
 11268  			intStringLen := int(stringLen)
 11269  			if intStringLen < 0 {
 11270  				return ErrInvalidLengthAuth
 11271  			}
 11272  			postIndex := iNdEx + intStringLen
 11273  			if postIndex < 0 {
 11274  				return ErrInvalidLengthAuth
 11275  			}
 11276  			if postIndex > l {
 11277  				return io.ErrUnexpectedEOF
 11278  			}
 11279  			m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex]))
 11280  			iNdEx = postIndex
 11281  		default:
 11282  			iNdEx = preIndex
 11283  			skippy, err := skipAuth(dAtA[iNdEx:])
 11284  			if err != nil {
 11285  				return err
 11286  			}
 11287  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11288  				return ErrInvalidLengthAuth
 11289  			}
 11290  			if (iNdEx + skippy) > l {
 11291  				return io.ErrUnexpectedEOF
 11292  			}
 11293  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11294  			iNdEx += skippy
 11295  		}
 11296  	}
 11297  
 11298  	if iNdEx > l {
 11299  		return io.ErrUnexpectedEOF
 11300  	}
 11301  	return nil
 11302  }
 11303  func (m *SetGroupsForUserResponse) Unmarshal(dAtA []byte) error {
 11304  	l := len(dAtA)
 11305  	iNdEx := 0
 11306  	for iNdEx < l {
 11307  		preIndex := iNdEx
 11308  		var wire uint64
 11309  		for shift := uint(0); ; shift += 7 {
 11310  			if shift >= 64 {
 11311  				return ErrIntOverflowAuth
 11312  			}
 11313  			if iNdEx >= l {
 11314  				return io.ErrUnexpectedEOF
 11315  			}
 11316  			b := dAtA[iNdEx]
 11317  			iNdEx++
 11318  			wire |= uint64(b&0x7F) << shift
 11319  			if b < 0x80 {
 11320  				break
 11321  			}
 11322  		}
 11323  		fieldNum := int32(wire >> 3)
 11324  		wireType := int(wire & 0x7)
 11325  		if wireType == 4 {
 11326  			return fmt.Errorf("proto: SetGroupsForUserResponse: wiretype end group for non-group")
 11327  		}
 11328  		if fieldNum <= 0 {
 11329  			return fmt.Errorf("proto: SetGroupsForUserResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11330  		}
 11331  		switch fieldNum {
 11332  		default:
 11333  			iNdEx = preIndex
 11334  			skippy, err := skipAuth(dAtA[iNdEx:])
 11335  			if err != nil {
 11336  				return err
 11337  			}
 11338  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11339  				return ErrInvalidLengthAuth
 11340  			}
 11341  			if (iNdEx + skippy) > l {
 11342  				return io.ErrUnexpectedEOF
 11343  			}
 11344  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11345  			iNdEx += skippy
 11346  		}
 11347  	}
 11348  
 11349  	if iNdEx > l {
 11350  		return io.ErrUnexpectedEOF
 11351  	}
 11352  	return nil
 11353  }
 11354  func (m *ModifyMembersRequest) Unmarshal(dAtA []byte) error {
 11355  	l := len(dAtA)
 11356  	iNdEx := 0
 11357  	for iNdEx < l {
 11358  		preIndex := iNdEx
 11359  		var wire uint64
 11360  		for shift := uint(0); ; shift += 7 {
 11361  			if shift >= 64 {
 11362  				return ErrIntOverflowAuth
 11363  			}
 11364  			if iNdEx >= l {
 11365  				return io.ErrUnexpectedEOF
 11366  			}
 11367  			b := dAtA[iNdEx]
 11368  			iNdEx++
 11369  			wire |= uint64(b&0x7F) << shift
 11370  			if b < 0x80 {
 11371  				break
 11372  			}
 11373  		}
 11374  		fieldNum := int32(wire >> 3)
 11375  		wireType := int(wire & 0x7)
 11376  		if wireType == 4 {
 11377  			return fmt.Errorf("proto: ModifyMembersRequest: wiretype end group for non-group")
 11378  		}
 11379  		if fieldNum <= 0 {
 11380  			return fmt.Errorf("proto: ModifyMembersRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11381  		}
 11382  		switch fieldNum {
 11383  		case 1:
 11384  			if wireType != 2 {
 11385  				return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
 11386  			}
 11387  			var stringLen uint64
 11388  			for shift := uint(0); ; shift += 7 {
 11389  				if shift >= 64 {
 11390  					return ErrIntOverflowAuth
 11391  				}
 11392  				if iNdEx >= l {
 11393  					return io.ErrUnexpectedEOF
 11394  				}
 11395  				b := dAtA[iNdEx]
 11396  				iNdEx++
 11397  				stringLen |= uint64(b&0x7F) << shift
 11398  				if b < 0x80 {
 11399  					break
 11400  				}
 11401  			}
 11402  			intStringLen := int(stringLen)
 11403  			if intStringLen < 0 {
 11404  				return ErrInvalidLengthAuth
 11405  			}
 11406  			postIndex := iNdEx + intStringLen
 11407  			if postIndex < 0 {
 11408  				return ErrInvalidLengthAuth
 11409  			}
 11410  			if postIndex > l {
 11411  				return io.ErrUnexpectedEOF
 11412  			}
 11413  			m.Group = string(dAtA[iNdEx:postIndex])
 11414  			iNdEx = postIndex
 11415  		case 2:
 11416  			if wireType != 2 {
 11417  				return fmt.Errorf("proto: wrong wireType = %d for field Add", wireType)
 11418  			}
 11419  			var stringLen uint64
 11420  			for shift := uint(0); ; shift += 7 {
 11421  				if shift >= 64 {
 11422  					return ErrIntOverflowAuth
 11423  				}
 11424  				if iNdEx >= l {
 11425  					return io.ErrUnexpectedEOF
 11426  				}
 11427  				b := dAtA[iNdEx]
 11428  				iNdEx++
 11429  				stringLen |= uint64(b&0x7F) << shift
 11430  				if b < 0x80 {
 11431  					break
 11432  				}
 11433  			}
 11434  			intStringLen := int(stringLen)
 11435  			if intStringLen < 0 {
 11436  				return ErrInvalidLengthAuth
 11437  			}
 11438  			postIndex := iNdEx + intStringLen
 11439  			if postIndex < 0 {
 11440  				return ErrInvalidLengthAuth
 11441  			}
 11442  			if postIndex > l {
 11443  				return io.ErrUnexpectedEOF
 11444  			}
 11445  			m.Add = append(m.Add, string(dAtA[iNdEx:postIndex]))
 11446  			iNdEx = postIndex
 11447  		case 3:
 11448  			if wireType != 2 {
 11449  				return fmt.Errorf("proto: wrong wireType = %d for field Remove", wireType)
 11450  			}
 11451  			var stringLen uint64
 11452  			for shift := uint(0); ; shift += 7 {
 11453  				if shift >= 64 {
 11454  					return ErrIntOverflowAuth
 11455  				}
 11456  				if iNdEx >= l {
 11457  					return io.ErrUnexpectedEOF
 11458  				}
 11459  				b := dAtA[iNdEx]
 11460  				iNdEx++
 11461  				stringLen |= uint64(b&0x7F) << shift
 11462  				if b < 0x80 {
 11463  					break
 11464  				}
 11465  			}
 11466  			intStringLen := int(stringLen)
 11467  			if intStringLen < 0 {
 11468  				return ErrInvalidLengthAuth
 11469  			}
 11470  			postIndex := iNdEx + intStringLen
 11471  			if postIndex < 0 {
 11472  				return ErrInvalidLengthAuth
 11473  			}
 11474  			if postIndex > l {
 11475  				return io.ErrUnexpectedEOF
 11476  			}
 11477  			m.Remove = append(m.Remove, string(dAtA[iNdEx:postIndex]))
 11478  			iNdEx = postIndex
 11479  		default:
 11480  			iNdEx = preIndex
 11481  			skippy, err := skipAuth(dAtA[iNdEx:])
 11482  			if err != nil {
 11483  				return err
 11484  			}
 11485  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11486  				return ErrInvalidLengthAuth
 11487  			}
 11488  			if (iNdEx + skippy) > l {
 11489  				return io.ErrUnexpectedEOF
 11490  			}
 11491  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11492  			iNdEx += skippy
 11493  		}
 11494  	}
 11495  
 11496  	if iNdEx > l {
 11497  		return io.ErrUnexpectedEOF
 11498  	}
 11499  	return nil
 11500  }
 11501  func (m *ModifyMembersResponse) Unmarshal(dAtA []byte) error {
 11502  	l := len(dAtA)
 11503  	iNdEx := 0
 11504  	for iNdEx < l {
 11505  		preIndex := iNdEx
 11506  		var wire uint64
 11507  		for shift := uint(0); ; shift += 7 {
 11508  			if shift >= 64 {
 11509  				return ErrIntOverflowAuth
 11510  			}
 11511  			if iNdEx >= l {
 11512  				return io.ErrUnexpectedEOF
 11513  			}
 11514  			b := dAtA[iNdEx]
 11515  			iNdEx++
 11516  			wire |= uint64(b&0x7F) << shift
 11517  			if b < 0x80 {
 11518  				break
 11519  			}
 11520  		}
 11521  		fieldNum := int32(wire >> 3)
 11522  		wireType := int(wire & 0x7)
 11523  		if wireType == 4 {
 11524  			return fmt.Errorf("proto: ModifyMembersResponse: wiretype end group for non-group")
 11525  		}
 11526  		if fieldNum <= 0 {
 11527  			return fmt.Errorf("proto: ModifyMembersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11528  		}
 11529  		switch fieldNum {
 11530  		default:
 11531  			iNdEx = preIndex
 11532  			skippy, err := skipAuth(dAtA[iNdEx:])
 11533  			if err != nil {
 11534  				return err
 11535  			}
 11536  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11537  				return ErrInvalidLengthAuth
 11538  			}
 11539  			if (iNdEx + skippy) > l {
 11540  				return io.ErrUnexpectedEOF
 11541  			}
 11542  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11543  			iNdEx += skippy
 11544  		}
 11545  	}
 11546  
 11547  	if iNdEx > l {
 11548  		return io.ErrUnexpectedEOF
 11549  	}
 11550  	return nil
 11551  }
 11552  func (m *GetGroupsRequest) Unmarshal(dAtA []byte) error {
 11553  	l := len(dAtA)
 11554  	iNdEx := 0
 11555  	for iNdEx < l {
 11556  		preIndex := iNdEx
 11557  		var wire uint64
 11558  		for shift := uint(0); ; shift += 7 {
 11559  			if shift >= 64 {
 11560  				return ErrIntOverflowAuth
 11561  			}
 11562  			if iNdEx >= l {
 11563  				return io.ErrUnexpectedEOF
 11564  			}
 11565  			b := dAtA[iNdEx]
 11566  			iNdEx++
 11567  			wire |= uint64(b&0x7F) << shift
 11568  			if b < 0x80 {
 11569  				break
 11570  			}
 11571  		}
 11572  		fieldNum := int32(wire >> 3)
 11573  		wireType := int(wire & 0x7)
 11574  		if wireType == 4 {
 11575  			return fmt.Errorf("proto: GetGroupsRequest: wiretype end group for non-group")
 11576  		}
 11577  		if fieldNum <= 0 {
 11578  			return fmt.Errorf("proto: GetGroupsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11579  		}
 11580  		switch fieldNum {
 11581  		case 1:
 11582  			if wireType != 2 {
 11583  				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
 11584  			}
 11585  			var stringLen uint64
 11586  			for shift := uint(0); ; shift += 7 {
 11587  				if shift >= 64 {
 11588  					return ErrIntOverflowAuth
 11589  				}
 11590  				if iNdEx >= l {
 11591  					return io.ErrUnexpectedEOF
 11592  				}
 11593  				b := dAtA[iNdEx]
 11594  				iNdEx++
 11595  				stringLen |= uint64(b&0x7F) << shift
 11596  				if b < 0x80 {
 11597  					break
 11598  				}
 11599  			}
 11600  			intStringLen := int(stringLen)
 11601  			if intStringLen < 0 {
 11602  				return ErrInvalidLengthAuth
 11603  			}
 11604  			postIndex := iNdEx + intStringLen
 11605  			if postIndex < 0 {
 11606  				return ErrInvalidLengthAuth
 11607  			}
 11608  			if postIndex > l {
 11609  				return io.ErrUnexpectedEOF
 11610  			}
 11611  			m.Username = string(dAtA[iNdEx:postIndex])
 11612  			iNdEx = postIndex
 11613  		default:
 11614  			iNdEx = preIndex
 11615  			skippy, err := skipAuth(dAtA[iNdEx:])
 11616  			if err != nil {
 11617  				return err
 11618  			}
 11619  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11620  				return ErrInvalidLengthAuth
 11621  			}
 11622  			if (iNdEx + skippy) > l {
 11623  				return io.ErrUnexpectedEOF
 11624  			}
 11625  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11626  			iNdEx += skippy
 11627  		}
 11628  	}
 11629  
 11630  	if iNdEx > l {
 11631  		return io.ErrUnexpectedEOF
 11632  	}
 11633  	return nil
 11634  }
 11635  func (m *GetGroupsResponse) Unmarshal(dAtA []byte) error {
 11636  	l := len(dAtA)
 11637  	iNdEx := 0
 11638  	for iNdEx < l {
 11639  		preIndex := iNdEx
 11640  		var wire uint64
 11641  		for shift := uint(0); ; shift += 7 {
 11642  			if shift >= 64 {
 11643  				return ErrIntOverflowAuth
 11644  			}
 11645  			if iNdEx >= l {
 11646  				return io.ErrUnexpectedEOF
 11647  			}
 11648  			b := dAtA[iNdEx]
 11649  			iNdEx++
 11650  			wire |= uint64(b&0x7F) << shift
 11651  			if b < 0x80 {
 11652  				break
 11653  			}
 11654  		}
 11655  		fieldNum := int32(wire >> 3)
 11656  		wireType := int(wire & 0x7)
 11657  		if wireType == 4 {
 11658  			return fmt.Errorf("proto: GetGroupsResponse: wiretype end group for non-group")
 11659  		}
 11660  		if fieldNum <= 0 {
 11661  			return fmt.Errorf("proto: GetGroupsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11662  		}
 11663  		switch fieldNum {
 11664  		case 1:
 11665  			if wireType != 2 {
 11666  				return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
 11667  			}
 11668  			var stringLen uint64
 11669  			for shift := uint(0); ; shift += 7 {
 11670  				if shift >= 64 {
 11671  					return ErrIntOverflowAuth
 11672  				}
 11673  				if iNdEx >= l {
 11674  					return io.ErrUnexpectedEOF
 11675  				}
 11676  				b := dAtA[iNdEx]
 11677  				iNdEx++
 11678  				stringLen |= uint64(b&0x7F) << shift
 11679  				if b < 0x80 {
 11680  					break
 11681  				}
 11682  			}
 11683  			intStringLen := int(stringLen)
 11684  			if intStringLen < 0 {
 11685  				return ErrInvalidLengthAuth
 11686  			}
 11687  			postIndex := iNdEx + intStringLen
 11688  			if postIndex < 0 {
 11689  				return ErrInvalidLengthAuth
 11690  			}
 11691  			if postIndex > l {
 11692  				return io.ErrUnexpectedEOF
 11693  			}
 11694  			m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex]))
 11695  			iNdEx = postIndex
 11696  		default:
 11697  			iNdEx = preIndex
 11698  			skippy, err := skipAuth(dAtA[iNdEx:])
 11699  			if err != nil {
 11700  				return err
 11701  			}
 11702  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11703  				return ErrInvalidLengthAuth
 11704  			}
 11705  			if (iNdEx + skippy) > l {
 11706  				return io.ErrUnexpectedEOF
 11707  			}
 11708  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11709  			iNdEx += skippy
 11710  		}
 11711  	}
 11712  
 11713  	if iNdEx > l {
 11714  		return io.ErrUnexpectedEOF
 11715  	}
 11716  	return nil
 11717  }
 11718  func (m *GetUsersRequest) Unmarshal(dAtA []byte) error {
 11719  	l := len(dAtA)
 11720  	iNdEx := 0
 11721  	for iNdEx < l {
 11722  		preIndex := iNdEx
 11723  		var wire uint64
 11724  		for shift := uint(0); ; shift += 7 {
 11725  			if shift >= 64 {
 11726  				return ErrIntOverflowAuth
 11727  			}
 11728  			if iNdEx >= l {
 11729  				return io.ErrUnexpectedEOF
 11730  			}
 11731  			b := dAtA[iNdEx]
 11732  			iNdEx++
 11733  			wire |= uint64(b&0x7F) << shift
 11734  			if b < 0x80 {
 11735  				break
 11736  			}
 11737  		}
 11738  		fieldNum := int32(wire >> 3)
 11739  		wireType := int(wire & 0x7)
 11740  		if wireType == 4 {
 11741  			return fmt.Errorf("proto: GetUsersRequest: wiretype end group for non-group")
 11742  		}
 11743  		if fieldNum <= 0 {
 11744  			return fmt.Errorf("proto: GetUsersRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11745  		}
 11746  		switch fieldNum {
 11747  		case 1:
 11748  			if wireType != 2 {
 11749  				return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
 11750  			}
 11751  			var stringLen uint64
 11752  			for shift := uint(0); ; shift += 7 {
 11753  				if shift >= 64 {
 11754  					return ErrIntOverflowAuth
 11755  				}
 11756  				if iNdEx >= l {
 11757  					return io.ErrUnexpectedEOF
 11758  				}
 11759  				b := dAtA[iNdEx]
 11760  				iNdEx++
 11761  				stringLen |= uint64(b&0x7F) << shift
 11762  				if b < 0x80 {
 11763  					break
 11764  				}
 11765  			}
 11766  			intStringLen := int(stringLen)
 11767  			if intStringLen < 0 {
 11768  				return ErrInvalidLengthAuth
 11769  			}
 11770  			postIndex := iNdEx + intStringLen
 11771  			if postIndex < 0 {
 11772  				return ErrInvalidLengthAuth
 11773  			}
 11774  			if postIndex > l {
 11775  				return io.ErrUnexpectedEOF
 11776  			}
 11777  			m.Group = string(dAtA[iNdEx:postIndex])
 11778  			iNdEx = postIndex
 11779  		default:
 11780  			iNdEx = preIndex
 11781  			skippy, err := skipAuth(dAtA[iNdEx:])
 11782  			if err != nil {
 11783  				return err
 11784  			}
 11785  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11786  				return ErrInvalidLengthAuth
 11787  			}
 11788  			if (iNdEx + skippy) > l {
 11789  				return io.ErrUnexpectedEOF
 11790  			}
 11791  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11792  			iNdEx += skippy
 11793  		}
 11794  	}
 11795  
 11796  	if iNdEx > l {
 11797  		return io.ErrUnexpectedEOF
 11798  	}
 11799  	return nil
 11800  }
 11801  func (m *GetUsersResponse) Unmarshal(dAtA []byte) error {
 11802  	l := len(dAtA)
 11803  	iNdEx := 0
 11804  	for iNdEx < l {
 11805  		preIndex := iNdEx
 11806  		var wire uint64
 11807  		for shift := uint(0); ; shift += 7 {
 11808  			if shift >= 64 {
 11809  				return ErrIntOverflowAuth
 11810  			}
 11811  			if iNdEx >= l {
 11812  				return io.ErrUnexpectedEOF
 11813  			}
 11814  			b := dAtA[iNdEx]
 11815  			iNdEx++
 11816  			wire |= uint64(b&0x7F) << shift
 11817  			if b < 0x80 {
 11818  				break
 11819  			}
 11820  		}
 11821  		fieldNum := int32(wire >> 3)
 11822  		wireType := int(wire & 0x7)
 11823  		if wireType == 4 {
 11824  			return fmt.Errorf("proto: GetUsersResponse: wiretype end group for non-group")
 11825  		}
 11826  		if fieldNum <= 0 {
 11827  			return fmt.Errorf("proto: GetUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11828  		}
 11829  		switch fieldNum {
 11830  		case 1:
 11831  			if wireType != 2 {
 11832  				return fmt.Errorf("proto: wrong wireType = %d for field Usernames", wireType)
 11833  			}
 11834  			var stringLen uint64
 11835  			for shift := uint(0); ; shift += 7 {
 11836  				if shift >= 64 {
 11837  					return ErrIntOverflowAuth
 11838  				}
 11839  				if iNdEx >= l {
 11840  					return io.ErrUnexpectedEOF
 11841  				}
 11842  				b := dAtA[iNdEx]
 11843  				iNdEx++
 11844  				stringLen |= uint64(b&0x7F) << shift
 11845  				if b < 0x80 {
 11846  					break
 11847  				}
 11848  			}
 11849  			intStringLen := int(stringLen)
 11850  			if intStringLen < 0 {
 11851  				return ErrInvalidLengthAuth
 11852  			}
 11853  			postIndex := iNdEx + intStringLen
 11854  			if postIndex < 0 {
 11855  				return ErrInvalidLengthAuth
 11856  			}
 11857  			if postIndex > l {
 11858  				return io.ErrUnexpectedEOF
 11859  			}
 11860  			m.Usernames = append(m.Usernames, string(dAtA[iNdEx:postIndex]))
 11861  			iNdEx = postIndex
 11862  		default:
 11863  			iNdEx = preIndex
 11864  			skippy, err := skipAuth(dAtA[iNdEx:])
 11865  			if err != nil {
 11866  				return err
 11867  			}
 11868  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11869  				return ErrInvalidLengthAuth
 11870  			}
 11871  			if (iNdEx + skippy) > l {
 11872  				return io.ErrUnexpectedEOF
 11873  			}
 11874  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11875  			iNdEx += skippy
 11876  		}
 11877  	}
 11878  
 11879  	if iNdEx > l {
 11880  		return io.ErrUnexpectedEOF
 11881  	}
 11882  	return nil
 11883  }
 11884  func (m *GetOneTimePasswordRequest) Unmarshal(dAtA []byte) error {
 11885  	l := len(dAtA)
 11886  	iNdEx := 0
 11887  	for iNdEx < l {
 11888  		preIndex := iNdEx
 11889  		var wire uint64
 11890  		for shift := uint(0); ; shift += 7 {
 11891  			if shift >= 64 {
 11892  				return ErrIntOverflowAuth
 11893  			}
 11894  			if iNdEx >= l {
 11895  				return io.ErrUnexpectedEOF
 11896  			}
 11897  			b := dAtA[iNdEx]
 11898  			iNdEx++
 11899  			wire |= uint64(b&0x7F) << shift
 11900  			if b < 0x80 {
 11901  				break
 11902  			}
 11903  		}
 11904  		fieldNum := int32(wire >> 3)
 11905  		wireType := int(wire & 0x7)
 11906  		if wireType == 4 {
 11907  			return fmt.Errorf("proto: GetOneTimePasswordRequest: wiretype end group for non-group")
 11908  		}
 11909  		if fieldNum <= 0 {
 11910  			return fmt.Errorf("proto: GetOneTimePasswordRequest: illegal tag %d (wire type %d)", fieldNum, wire)
 11911  		}
 11912  		switch fieldNum {
 11913  		case 1:
 11914  			if wireType != 2 {
 11915  				return fmt.Errorf("proto: wrong wireType = %d for field Subject", wireType)
 11916  			}
 11917  			var stringLen uint64
 11918  			for shift := uint(0); ; shift += 7 {
 11919  				if shift >= 64 {
 11920  					return ErrIntOverflowAuth
 11921  				}
 11922  				if iNdEx >= l {
 11923  					return io.ErrUnexpectedEOF
 11924  				}
 11925  				b := dAtA[iNdEx]
 11926  				iNdEx++
 11927  				stringLen |= uint64(b&0x7F) << shift
 11928  				if b < 0x80 {
 11929  					break
 11930  				}
 11931  			}
 11932  			intStringLen := int(stringLen)
 11933  			if intStringLen < 0 {
 11934  				return ErrInvalidLengthAuth
 11935  			}
 11936  			postIndex := iNdEx + intStringLen
 11937  			if postIndex < 0 {
 11938  				return ErrInvalidLengthAuth
 11939  			}
 11940  			if postIndex > l {
 11941  				return io.ErrUnexpectedEOF
 11942  			}
 11943  			m.Subject = string(dAtA[iNdEx:postIndex])
 11944  			iNdEx = postIndex
 11945  		case 2:
 11946  			if wireType != 0 {
 11947  				return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType)
 11948  			}
 11949  			m.TTL = 0
 11950  			for shift := uint(0); ; shift += 7 {
 11951  				if shift >= 64 {
 11952  					return ErrIntOverflowAuth
 11953  				}
 11954  				if iNdEx >= l {
 11955  					return io.ErrUnexpectedEOF
 11956  				}
 11957  				b := dAtA[iNdEx]
 11958  				iNdEx++
 11959  				m.TTL |= int64(b&0x7F) << shift
 11960  				if b < 0x80 {
 11961  					break
 11962  				}
 11963  			}
 11964  		default:
 11965  			iNdEx = preIndex
 11966  			skippy, err := skipAuth(dAtA[iNdEx:])
 11967  			if err != nil {
 11968  				return err
 11969  			}
 11970  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11971  				return ErrInvalidLengthAuth
 11972  			}
 11973  			if (iNdEx + skippy) > l {
 11974  				return io.ErrUnexpectedEOF
 11975  			}
 11976  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 11977  			iNdEx += skippy
 11978  		}
 11979  	}
 11980  
 11981  	if iNdEx > l {
 11982  		return io.ErrUnexpectedEOF
 11983  	}
 11984  	return nil
 11985  }
 11986  func (m *GetOneTimePasswordResponse) Unmarshal(dAtA []byte) error {
 11987  	l := len(dAtA)
 11988  	iNdEx := 0
 11989  	for iNdEx < l {
 11990  		preIndex := iNdEx
 11991  		var wire uint64
 11992  		for shift := uint(0); ; shift += 7 {
 11993  			if shift >= 64 {
 11994  				return ErrIntOverflowAuth
 11995  			}
 11996  			if iNdEx >= l {
 11997  				return io.ErrUnexpectedEOF
 11998  			}
 11999  			b := dAtA[iNdEx]
 12000  			iNdEx++
 12001  			wire |= uint64(b&0x7F) << shift
 12002  			if b < 0x80 {
 12003  				break
 12004  			}
 12005  		}
 12006  		fieldNum := int32(wire >> 3)
 12007  		wireType := int(wire & 0x7)
 12008  		if wireType == 4 {
 12009  			return fmt.Errorf("proto: GetOneTimePasswordResponse: wiretype end group for non-group")
 12010  		}
 12011  		if fieldNum <= 0 {
 12012  			return fmt.Errorf("proto: GetOneTimePasswordResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 12013  		}
 12014  		switch fieldNum {
 12015  		case 1:
 12016  			if wireType != 2 {
 12017  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 12018  			}
 12019  			var stringLen uint64
 12020  			for shift := uint(0); ; shift += 7 {
 12021  				if shift >= 64 {
 12022  					return ErrIntOverflowAuth
 12023  				}
 12024  				if iNdEx >= l {
 12025  					return io.ErrUnexpectedEOF
 12026  				}
 12027  				b := dAtA[iNdEx]
 12028  				iNdEx++
 12029  				stringLen |= uint64(b&0x7F) << shift
 12030  				if b < 0x80 {
 12031  					break
 12032  				}
 12033  			}
 12034  			intStringLen := int(stringLen)
 12035  			if intStringLen < 0 {
 12036  				return ErrInvalidLengthAuth
 12037  			}
 12038  			postIndex := iNdEx + intStringLen
 12039  			if postIndex < 0 {
 12040  				return ErrInvalidLengthAuth
 12041  			}
 12042  			if postIndex > l {
 12043  				return io.ErrUnexpectedEOF
 12044  			}
 12045  			m.Code = string(dAtA[iNdEx:postIndex])
 12046  			iNdEx = postIndex
 12047  		case 2:
 12048  			if wireType != 2 {
 12049  				return fmt.Errorf("proto: wrong wireType = %d for field OTPExpiration", wireType)
 12050  			}
 12051  			var msglen int
 12052  			for shift := uint(0); ; shift += 7 {
 12053  				if shift >= 64 {
 12054  					return ErrIntOverflowAuth
 12055  				}
 12056  				if iNdEx >= l {
 12057  					return io.ErrUnexpectedEOF
 12058  				}
 12059  				b := dAtA[iNdEx]
 12060  				iNdEx++
 12061  				msglen |= int(b&0x7F) << shift
 12062  				if b < 0x80 {
 12063  					break
 12064  				}
 12065  			}
 12066  			if msglen < 0 {
 12067  				return ErrInvalidLengthAuth
 12068  			}
 12069  			postIndex := iNdEx + msglen
 12070  			if postIndex < 0 {
 12071  				return ErrInvalidLengthAuth
 12072  			}
 12073  			if postIndex > l {
 12074  				return io.ErrUnexpectedEOF
 12075  			}
 12076  			if m.OTPExpiration == nil {
 12077  				m.OTPExpiration = &types.Timestamp{}
 12078  			}
 12079  			if err := m.OTPExpiration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12080  				return err
 12081  			}
 12082  			iNdEx = postIndex
 12083  		default:
 12084  			iNdEx = preIndex
 12085  			skippy, err := skipAuth(dAtA[iNdEx:])
 12086  			if err != nil {
 12087  				return err
 12088  			}
 12089  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12090  				return ErrInvalidLengthAuth
 12091  			}
 12092  			if (iNdEx + skippy) > l {
 12093  				return io.ErrUnexpectedEOF
 12094  			}
 12095  			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
 12096  			iNdEx += skippy
 12097  		}
 12098  	}
 12099  
 12100  	if iNdEx > l {
 12101  		return io.ErrUnexpectedEOF
 12102  	}
 12103  	return nil
 12104  }
 12105  func skipAuth(dAtA []byte) (n int, err error) {
 12106  	l := len(dAtA)
 12107  	iNdEx := 0
 12108  	depth := 0
 12109  	for iNdEx < l {
 12110  		var wire uint64
 12111  		for shift := uint(0); ; shift += 7 {
 12112  			if shift >= 64 {
 12113  				return 0, ErrIntOverflowAuth
 12114  			}
 12115  			if iNdEx >= l {
 12116  				return 0, io.ErrUnexpectedEOF
 12117  			}
 12118  			b := dAtA[iNdEx]
 12119  			iNdEx++
 12120  			wire |= (uint64(b) & 0x7F) << shift
 12121  			if b < 0x80 {
 12122  				break
 12123  			}
 12124  		}
 12125  		wireType := int(wire & 0x7)
 12126  		switch wireType {
 12127  		case 0:
 12128  			for shift := uint(0); ; shift += 7 {
 12129  				if shift >= 64 {
 12130  					return 0, ErrIntOverflowAuth
 12131  				}
 12132  				if iNdEx >= l {
 12133  					return 0, io.ErrUnexpectedEOF
 12134  				}
 12135  				iNdEx++
 12136  				if dAtA[iNdEx-1] < 0x80 {
 12137  					break
 12138  				}
 12139  			}
 12140  		case 1:
 12141  			iNdEx += 8
 12142  		case 2:
 12143  			var length int
 12144  			for shift := uint(0); ; shift += 7 {
 12145  				if shift >= 64 {
 12146  					return 0, ErrIntOverflowAuth
 12147  				}
 12148  				if iNdEx >= l {
 12149  					return 0, io.ErrUnexpectedEOF
 12150  				}
 12151  				b := dAtA[iNdEx]
 12152  				iNdEx++
 12153  				length |= (int(b) & 0x7F) << shift
 12154  				if b < 0x80 {
 12155  					break
 12156  				}
 12157  			}
 12158  			if length < 0 {
 12159  				return 0, ErrInvalidLengthAuth
 12160  			}
 12161  			iNdEx += length
 12162  		case 3:
 12163  			depth++
 12164  		case 4:
 12165  			if depth == 0 {
 12166  				return 0, ErrUnexpectedEndOfGroupAuth
 12167  			}
 12168  			depth--
 12169  		case 5:
 12170  			iNdEx += 4
 12171  		default:
 12172  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 12173  		}
 12174  		if iNdEx < 0 {
 12175  			return 0, ErrInvalidLengthAuth
 12176  		}
 12177  		if depth == 0 {
 12178  			return iNdEx, nil
 12179  		}
 12180  	}
 12181  	return 0, io.ErrUnexpectedEOF
 12182  }
 12183  
 12184  var (
 12185  	ErrInvalidLengthAuth        = fmt.Errorf("proto: negative length found during unmarshaling")
 12186  	ErrIntOverflowAuth          = fmt.Errorf("proto: integer overflow")
 12187  	ErrUnexpectedEndOfGroupAuth = fmt.Errorf("proto: unexpected end of group")
 12188  )