github.com/decred/dcrlnd@v0.7.6/lnrpc/wtclientrpc/wtclient.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v3.4.0
     5  // source: wtclientrpc/wtclient.proto
     6  
     7  package wtclientrpc
     8  
     9  import (
    10  	context "context"
    11  	grpc "google.golang.org/grpc"
    12  	codes "google.golang.org/grpc/codes"
    13  	status "google.golang.org/grpc/status"
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  type PolicyType int32
    28  
    29  const (
    30  	// Selects the policy from the legacy tower client.
    31  	PolicyType_LEGACY PolicyType = 0
    32  	// Selects the policy from the anchor tower client.
    33  	PolicyType_ANCHOR PolicyType = 1
    34  )
    35  
    36  // Enum value maps for PolicyType.
    37  var (
    38  	PolicyType_name = map[int32]string{
    39  		0: "LEGACY",
    40  		1: "ANCHOR",
    41  	}
    42  	PolicyType_value = map[string]int32{
    43  		"LEGACY": 0,
    44  		"ANCHOR": 1,
    45  	}
    46  )
    47  
    48  func (x PolicyType) Enum() *PolicyType {
    49  	p := new(PolicyType)
    50  	*p = x
    51  	return p
    52  }
    53  
    54  func (x PolicyType) String() string {
    55  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    56  }
    57  
    58  func (PolicyType) Descriptor() protoreflect.EnumDescriptor {
    59  	return file_wtclientrpc_wtclient_proto_enumTypes[0].Descriptor()
    60  }
    61  
    62  func (PolicyType) Type() protoreflect.EnumType {
    63  	return &file_wtclientrpc_wtclient_proto_enumTypes[0]
    64  }
    65  
    66  func (x PolicyType) Number() protoreflect.EnumNumber {
    67  	return protoreflect.EnumNumber(x)
    68  }
    69  
    70  // Deprecated: Use PolicyType.Descriptor instead.
    71  func (PolicyType) EnumDescriptor() ([]byte, []int) {
    72  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{0}
    73  }
    74  
    75  type AddTowerRequest struct {
    76  	state         protoimpl.MessageState
    77  	sizeCache     protoimpl.SizeCache
    78  	unknownFields protoimpl.UnknownFields
    79  
    80  	// The identifying public key of the watchtower to add.
    81  	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
    82  	// A network address the watchtower is reachable over.
    83  	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
    84  }
    85  
    86  func (x *AddTowerRequest) Reset() {
    87  	*x = AddTowerRequest{}
    88  	if protoimpl.UnsafeEnabled {
    89  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[0]
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		ms.StoreMessageInfo(mi)
    92  	}
    93  }
    94  
    95  func (x *AddTowerRequest) String() string {
    96  	return protoimpl.X.MessageStringOf(x)
    97  }
    98  
    99  func (*AddTowerRequest) ProtoMessage() {}
   100  
   101  func (x *AddTowerRequest) ProtoReflect() protoreflect.Message {
   102  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[0]
   103  	if protoimpl.UnsafeEnabled && x != nil {
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		if ms.LoadMessageInfo() == nil {
   106  			ms.StoreMessageInfo(mi)
   107  		}
   108  		return ms
   109  	}
   110  	return mi.MessageOf(x)
   111  }
   112  
   113  // Deprecated: Use AddTowerRequest.ProtoReflect.Descriptor instead.
   114  func (*AddTowerRequest) Descriptor() ([]byte, []int) {
   115  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{0}
   116  }
   117  
   118  func (x *AddTowerRequest) GetPubkey() []byte {
   119  	if x != nil {
   120  		return x.Pubkey
   121  	}
   122  	return nil
   123  }
   124  
   125  func (x *AddTowerRequest) GetAddress() string {
   126  	if x != nil {
   127  		return x.Address
   128  	}
   129  	return ""
   130  }
   131  
   132  type AddTowerResponse struct {
   133  	state         protoimpl.MessageState
   134  	sizeCache     protoimpl.SizeCache
   135  	unknownFields protoimpl.UnknownFields
   136  }
   137  
   138  func (x *AddTowerResponse) Reset() {
   139  	*x = AddTowerResponse{}
   140  	if protoimpl.UnsafeEnabled {
   141  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[1]
   142  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   143  		ms.StoreMessageInfo(mi)
   144  	}
   145  }
   146  
   147  func (x *AddTowerResponse) String() string {
   148  	return protoimpl.X.MessageStringOf(x)
   149  }
   150  
   151  func (*AddTowerResponse) ProtoMessage() {}
   152  
   153  func (x *AddTowerResponse) ProtoReflect() protoreflect.Message {
   154  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[1]
   155  	if protoimpl.UnsafeEnabled && x != nil {
   156  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   157  		if ms.LoadMessageInfo() == nil {
   158  			ms.StoreMessageInfo(mi)
   159  		}
   160  		return ms
   161  	}
   162  	return mi.MessageOf(x)
   163  }
   164  
   165  // Deprecated: Use AddTowerResponse.ProtoReflect.Descriptor instead.
   166  func (*AddTowerResponse) Descriptor() ([]byte, []int) {
   167  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{1}
   168  }
   169  
   170  type RemoveTowerRequest struct {
   171  	state         protoimpl.MessageState
   172  	sizeCache     protoimpl.SizeCache
   173  	unknownFields protoimpl.UnknownFields
   174  
   175  	// The identifying public key of the watchtower to remove.
   176  	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
   177  	// If set, then the record for this address will be removed, indicating that is
   178  	// is stale. Otherwise, the watchtower will no longer be used for future
   179  	// session negotiations and backups.
   180  	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
   181  }
   182  
   183  func (x *RemoveTowerRequest) Reset() {
   184  	*x = RemoveTowerRequest{}
   185  	if protoimpl.UnsafeEnabled {
   186  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[2]
   187  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   188  		ms.StoreMessageInfo(mi)
   189  	}
   190  }
   191  
   192  func (x *RemoveTowerRequest) String() string {
   193  	return protoimpl.X.MessageStringOf(x)
   194  }
   195  
   196  func (*RemoveTowerRequest) ProtoMessage() {}
   197  
   198  func (x *RemoveTowerRequest) ProtoReflect() protoreflect.Message {
   199  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[2]
   200  	if protoimpl.UnsafeEnabled && x != nil {
   201  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   202  		if ms.LoadMessageInfo() == nil {
   203  			ms.StoreMessageInfo(mi)
   204  		}
   205  		return ms
   206  	}
   207  	return mi.MessageOf(x)
   208  }
   209  
   210  // Deprecated: Use RemoveTowerRequest.ProtoReflect.Descriptor instead.
   211  func (*RemoveTowerRequest) Descriptor() ([]byte, []int) {
   212  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{2}
   213  }
   214  
   215  func (x *RemoveTowerRequest) GetPubkey() []byte {
   216  	if x != nil {
   217  		return x.Pubkey
   218  	}
   219  	return nil
   220  }
   221  
   222  func (x *RemoveTowerRequest) GetAddress() string {
   223  	if x != nil {
   224  		return x.Address
   225  	}
   226  	return ""
   227  }
   228  
   229  type RemoveTowerResponse struct {
   230  	state         protoimpl.MessageState
   231  	sizeCache     protoimpl.SizeCache
   232  	unknownFields protoimpl.UnknownFields
   233  }
   234  
   235  func (x *RemoveTowerResponse) Reset() {
   236  	*x = RemoveTowerResponse{}
   237  	if protoimpl.UnsafeEnabled {
   238  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[3]
   239  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   240  		ms.StoreMessageInfo(mi)
   241  	}
   242  }
   243  
   244  func (x *RemoveTowerResponse) String() string {
   245  	return protoimpl.X.MessageStringOf(x)
   246  }
   247  
   248  func (*RemoveTowerResponse) ProtoMessage() {}
   249  
   250  func (x *RemoveTowerResponse) ProtoReflect() protoreflect.Message {
   251  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[3]
   252  	if protoimpl.UnsafeEnabled && x != nil {
   253  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   254  		if ms.LoadMessageInfo() == nil {
   255  			ms.StoreMessageInfo(mi)
   256  		}
   257  		return ms
   258  	}
   259  	return mi.MessageOf(x)
   260  }
   261  
   262  // Deprecated: Use RemoveTowerResponse.ProtoReflect.Descriptor instead.
   263  func (*RemoveTowerResponse) Descriptor() ([]byte, []int) {
   264  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{3}
   265  }
   266  
   267  type GetTowerInfoRequest struct {
   268  	state         protoimpl.MessageState
   269  	sizeCache     protoimpl.SizeCache
   270  	unknownFields protoimpl.UnknownFields
   271  
   272  	// The identifying public key of the watchtower to retrieve information for.
   273  	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
   274  	// Whether we should include sessions with the watchtower in the response.
   275  	IncludeSessions bool `protobuf:"varint,2,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
   276  }
   277  
   278  func (x *GetTowerInfoRequest) Reset() {
   279  	*x = GetTowerInfoRequest{}
   280  	if protoimpl.UnsafeEnabled {
   281  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[4]
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		ms.StoreMessageInfo(mi)
   284  	}
   285  }
   286  
   287  func (x *GetTowerInfoRequest) String() string {
   288  	return protoimpl.X.MessageStringOf(x)
   289  }
   290  
   291  func (*GetTowerInfoRequest) ProtoMessage() {}
   292  
   293  func (x *GetTowerInfoRequest) ProtoReflect() protoreflect.Message {
   294  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[4]
   295  	if protoimpl.UnsafeEnabled && x != nil {
   296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   297  		if ms.LoadMessageInfo() == nil {
   298  			ms.StoreMessageInfo(mi)
   299  		}
   300  		return ms
   301  	}
   302  	return mi.MessageOf(x)
   303  }
   304  
   305  // Deprecated: Use GetTowerInfoRequest.ProtoReflect.Descriptor instead.
   306  func (*GetTowerInfoRequest) Descriptor() ([]byte, []int) {
   307  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{4}
   308  }
   309  
   310  func (x *GetTowerInfoRequest) GetPubkey() []byte {
   311  	if x != nil {
   312  		return x.Pubkey
   313  	}
   314  	return nil
   315  }
   316  
   317  func (x *GetTowerInfoRequest) GetIncludeSessions() bool {
   318  	if x != nil {
   319  		return x.IncludeSessions
   320  	}
   321  	return false
   322  }
   323  
   324  type TowerSession struct {
   325  	state         protoimpl.MessageState
   326  	sizeCache     protoimpl.SizeCache
   327  	unknownFields protoimpl.UnknownFields
   328  
   329  	// The total number of successful backups that have been made to the
   330  	// watchtower session.
   331  	NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,json=numBackups,proto3" json:"num_backups,omitempty"`
   332  	// The total number of backups in the session that are currently pending to be
   333  	// acknowledged by the watchtower.
   334  	NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,json=numPendingBackups,proto3" json:"num_pending_backups,omitempty"`
   335  	// The maximum number of backups allowed by the watchtower session.
   336  	MaxBackups uint32 `protobuf:"varint,3,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"`
   337  	// The fee rate, in satoshis per vbyte, that will be used by the watchtower for
   338  	// the justice transaction in the event of a channel breach.
   339  	SweepAtomsPerByte uint32 `protobuf:"varint,4,opt,name=sweep_atoms_per_byte,json=sweepAtomsPerByte,proto3" json:"sweep_atoms_per_byte,omitempty"`
   340  }
   341  
   342  func (x *TowerSession) Reset() {
   343  	*x = TowerSession{}
   344  	if protoimpl.UnsafeEnabled {
   345  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[5]
   346  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   347  		ms.StoreMessageInfo(mi)
   348  	}
   349  }
   350  
   351  func (x *TowerSession) String() string {
   352  	return protoimpl.X.MessageStringOf(x)
   353  }
   354  
   355  func (*TowerSession) ProtoMessage() {}
   356  
   357  func (x *TowerSession) ProtoReflect() protoreflect.Message {
   358  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[5]
   359  	if protoimpl.UnsafeEnabled && x != nil {
   360  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   361  		if ms.LoadMessageInfo() == nil {
   362  			ms.StoreMessageInfo(mi)
   363  		}
   364  		return ms
   365  	}
   366  	return mi.MessageOf(x)
   367  }
   368  
   369  // Deprecated: Use TowerSession.ProtoReflect.Descriptor instead.
   370  func (*TowerSession) Descriptor() ([]byte, []int) {
   371  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{5}
   372  }
   373  
   374  func (x *TowerSession) GetNumBackups() uint32 {
   375  	if x != nil {
   376  		return x.NumBackups
   377  	}
   378  	return 0
   379  }
   380  
   381  func (x *TowerSession) GetNumPendingBackups() uint32 {
   382  	if x != nil {
   383  		return x.NumPendingBackups
   384  	}
   385  	return 0
   386  }
   387  
   388  func (x *TowerSession) GetMaxBackups() uint32 {
   389  	if x != nil {
   390  		return x.MaxBackups
   391  	}
   392  	return 0
   393  }
   394  
   395  func (x *TowerSession) GetSweepAtomsPerByte() uint32 {
   396  	if x != nil {
   397  		return x.SweepAtomsPerByte
   398  	}
   399  	return 0
   400  }
   401  
   402  type Tower struct {
   403  	state         protoimpl.MessageState
   404  	sizeCache     protoimpl.SizeCache
   405  	unknownFields protoimpl.UnknownFields
   406  
   407  	// The identifying public key of the watchtower.
   408  	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
   409  	// The list of addresses the watchtower is reachable over.
   410  	Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
   411  	// Whether the watchtower is currently a candidate for new sessions.
   412  	ActiveSessionCandidate bool `protobuf:"varint,3,opt,name=active_session_candidate,json=activeSessionCandidate,proto3" json:"active_session_candidate,omitempty"`
   413  	// The number of sessions that have been negotiated with the watchtower.
   414  	NumSessions uint32 `protobuf:"varint,4,opt,name=num_sessions,json=numSessions,proto3" json:"num_sessions,omitempty"`
   415  	// The list of sessions that have been negotiated with the watchtower.
   416  	Sessions []*TowerSession `protobuf:"bytes,5,rep,name=sessions,proto3" json:"sessions,omitempty"`
   417  }
   418  
   419  func (x *Tower) Reset() {
   420  	*x = Tower{}
   421  	if protoimpl.UnsafeEnabled {
   422  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[6]
   423  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   424  		ms.StoreMessageInfo(mi)
   425  	}
   426  }
   427  
   428  func (x *Tower) String() string {
   429  	return protoimpl.X.MessageStringOf(x)
   430  }
   431  
   432  func (*Tower) ProtoMessage() {}
   433  
   434  func (x *Tower) ProtoReflect() protoreflect.Message {
   435  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[6]
   436  	if protoimpl.UnsafeEnabled && x != nil {
   437  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   438  		if ms.LoadMessageInfo() == nil {
   439  			ms.StoreMessageInfo(mi)
   440  		}
   441  		return ms
   442  	}
   443  	return mi.MessageOf(x)
   444  }
   445  
   446  // Deprecated: Use Tower.ProtoReflect.Descriptor instead.
   447  func (*Tower) Descriptor() ([]byte, []int) {
   448  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{6}
   449  }
   450  
   451  func (x *Tower) GetPubkey() []byte {
   452  	if x != nil {
   453  		return x.Pubkey
   454  	}
   455  	return nil
   456  }
   457  
   458  func (x *Tower) GetAddresses() []string {
   459  	if x != nil {
   460  		return x.Addresses
   461  	}
   462  	return nil
   463  }
   464  
   465  func (x *Tower) GetActiveSessionCandidate() bool {
   466  	if x != nil {
   467  		return x.ActiveSessionCandidate
   468  	}
   469  	return false
   470  }
   471  
   472  func (x *Tower) GetNumSessions() uint32 {
   473  	if x != nil {
   474  		return x.NumSessions
   475  	}
   476  	return 0
   477  }
   478  
   479  func (x *Tower) GetSessions() []*TowerSession {
   480  	if x != nil {
   481  		return x.Sessions
   482  	}
   483  	return nil
   484  }
   485  
   486  type ListTowersRequest struct {
   487  	state         protoimpl.MessageState
   488  	sizeCache     protoimpl.SizeCache
   489  	unknownFields protoimpl.UnknownFields
   490  
   491  	// Whether we should include sessions with the watchtower in the response.
   492  	IncludeSessions bool `protobuf:"varint,1,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"`
   493  }
   494  
   495  func (x *ListTowersRequest) Reset() {
   496  	*x = ListTowersRequest{}
   497  	if protoimpl.UnsafeEnabled {
   498  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[7]
   499  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   500  		ms.StoreMessageInfo(mi)
   501  	}
   502  }
   503  
   504  func (x *ListTowersRequest) String() string {
   505  	return protoimpl.X.MessageStringOf(x)
   506  }
   507  
   508  func (*ListTowersRequest) ProtoMessage() {}
   509  
   510  func (x *ListTowersRequest) ProtoReflect() protoreflect.Message {
   511  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[7]
   512  	if protoimpl.UnsafeEnabled && x != nil {
   513  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   514  		if ms.LoadMessageInfo() == nil {
   515  			ms.StoreMessageInfo(mi)
   516  		}
   517  		return ms
   518  	}
   519  	return mi.MessageOf(x)
   520  }
   521  
   522  // Deprecated: Use ListTowersRequest.ProtoReflect.Descriptor instead.
   523  func (*ListTowersRequest) Descriptor() ([]byte, []int) {
   524  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{7}
   525  }
   526  
   527  func (x *ListTowersRequest) GetIncludeSessions() bool {
   528  	if x != nil {
   529  		return x.IncludeSessions
   530  	}
   531  	return false
   532  }
   533  
   534  type ListTowersResponse struct {
   535  	state         protoimpl.MessageState
   536  	sizeCache     protoimpl.SizeCache
   537  	unknownFields protoimpl.UnknownFields
   538  
   539  	// The list of watchtowers available for new backups.
   540  	Towers []*Tower `protobuf:"bytes,1,rep,name=towers,proto3" json:"towers,omitempty"`
   541  }
   542  
   543  func (x *ListTowersResponse) Reset() {
   544  	*x = ListTowersResponse{}
   545  	if protoimpl.UnsafeEnabled {
   546  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[8]
   547  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   548  		ms.StoreMessageInfo(mi)
   549  	}
   550  }
   551  
   552  func (x *ListTowersResponse) String() string {
   553  	return protoimpl.X.MessageStringOf(x)
   554  }
   555  
   556  func (*ListTowersResponse) ProtoMessage() {}
   557  
   558  func (x *ListTowersResponse) ProtoReflect() protoreflect.Message {
   559  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[8]
   560  	if protoimpl.UnsafeEnabled && x != nil {
   561  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   562  		if ms.LoadMessageInfo() == nil {
   563  			ms.StoreMessageInfo(mi)
   564  		}
   565  		return ms
   566  	}
   567  	return mi.MessageOf(x)
   568  }
   569  
   570  // Deprecated: Use ListTowersResponse.ProtoReflect.Descriptor instead.
   571  func (*ListTowersResponse) Descriptor() ([]byte, []int) {
   572  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{8}
   573  }
   574  
   575  func (x *ListTowersResponse) GetTowers() []*Tower {
   576  	if x != nil {
   577  		return x.Towers
   578  	}
   579  	return nil
   580  }
   581  
   582  type StatsRequest struct {
   583  	state         protoimpl.MessageState
   584  	sizeCache     protoimpl.SizeCache
   585  	unknownFields protoimpl.UnknownFields
   586  }
   587  
   588  func (x *StatsRequest) Reset() {
   589  	*x = StatsRequest{}
   590  	if protoimpl.UnsafeEnabled {
   591  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[9]
   592  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   593  		ms.StoreMessageInfo(mi)
   594  	}
   595  }
   596  
   597  func (x *StatsRequest) String() string {
   598  	return protoimpl.X.MessageStringOf(x)
   599  }
   600  
   601  func (*StatsRequest) ProtoMessage() {}
   602  
   603  func (x *StatsRequest) ProtoReflect() protoreflect.Message {
   604  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[9]
   605  	if protoimpl.UnsafeEnabled && x != nil {
   606  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   607  		if ms.LoadMessageInfo() == nil {
   608  			ms.StoreMessageInfo(mi)
   609  		}
   610  		return ms
   611  	}
   612  	return mi.MessageOf(x)
   613  }
   614  
   615  // Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.
   616  func (*StatsRequest) Descriptor() ([]byte, []int) {
   617  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{9}
   618  }
   619  
   620  type StatsResponse struct {
   621  	state         protoimpl.MessageState
   622  	sizeCache     protoimpl.SizeCache
   623  	unknownFields protoimpl.UnknownFields
   624  
   625  	// The total number of backups made to all active and exhausted watchtower
   626  	// sessions.
   627  	NumBackups uint32 `protobuf:"varint,1,opt,name=num_backups,json=numBackups,proto3" json:"num_backups,omitempty"`
   628  	// The total number of backups that are pending to be acknowledged by all
   629  	// active and exhausted watchtower sessions.
   630  	NumPendingBackups uint32 `protobuf:"varint,2,opt,name=num_pending_backups,json=numPendingBackups,proto3" json:"num_pending_backups,omitempty"`
   631  	// The total number of backups that all active and exhausted watchtower
   632  	// sessions have failed to acknowledge.
   633  	NumFailedBackups uint32 `protobuf:"varint,3,opt,name=num_failed_backups,json=numFailedBackups,proto3" json:"num_failed_backups,omitempty"`
   634  	// The total number of new sessions made to watchtowers.
   635  	NumSessionsAcquired uint32 `protobuf:"varint,4,opt,name=num_sessions_acquired,json=numSessionsAcquired,proto3" json:"num_sessions_acquired,omitempty"`
   636  	// The total number of watchtower sessions that have been exhausted.
   637  	NumSessionsExhausted uint32 `protobuf:"varint,5,opt,name=num_sessions_exhausted,json=numSessionsExhausted,proto3" json:"num_sessions_exhausted,omitempty"`
   638  }
   639  
   640  func (x *StatsResponse) Reset() {
   641  	*x = StatsResponse{}
   642  	if protoimpl.UnsafeEnabled {
   643  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[10]
   644  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   645  		ms.StoreMessageInfo(mi)
   646  	}
   647  }
   648  
   649  func (x *StatsResponse) String() string {
   650  	return protoimpl.X.MessageStringOf(x)
   651  }
   652  
   653  func (*StatsResponse) ProtoMessage() {}
   654  
   655  func (x *StatsResponse) ProtoReflect() protoreflect.Message {
   656  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[10]
   657  	if protoimpl.UnsafeEnabled && x != nil {
   658  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   659  		if ms.LoadMessageInfo() == nil {
   660  			ms.StoreMessageInfo(mi)
   661  		}
   662  		return ms
   663  	}
   664  	return mi.MessageOf(x)
   665  }
   666  
   667  // Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
   668  func (*StatsResponse) Descriptor() ([]byte, []int) {
   669  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{10}
   670  }
   671  
   672  func (x *StatsResponse) GetNumBackups() uint32 {
   673  	if x != nil {
   674  		return x.NumBackups
   675  	}
   676  	return 0
   677  }
   678  
   679  func (x *StatsResponse) GetNumPendingBackups() uint32 {
   680  	if x != nil {
   681  		return x.NumPendingBackups
   682  	}
   683  	return 0
   684  }
   685  
   686  func (x *StatsResponse) GetNumFailedBackups() uint32 {
   687  	if x != nil {
   688  		return x.NumFailedBackups
   689  	}
   690  	return 0
   691  }
   692  
   693  func (x *StatsResponse) GetNumSessionsAcquired() uint32 {
   694  	if x != nil {
   695  		return x.NumSessionsAcquired
   696  	}
   697  	return 0
   698  }
   699  
   700  func (x *StatsResponse) GetNumSessionsExhausted() uint32 {
   701  	if x != nil {
   702  		return x.NumSessionsExhausted
   703  	}
   704  	return 0
   705  }
   706  
   707  type PolicyRequest struct {
   708  	state         protoimpl.MessageState
   709  	sizeCache     protoimpl.SizeCache
   710  	unknownFields protoimpl.UnknownFields
   711  
   712  	// The client type from which to retrieve the active offering policy.
   713  	PolicyType PolicyType `protobuf:"varint,1,opt,name=policy_type,json=policyType,proto3,enum=wtclientrpc.PolicyType" json:"policy_type,omitempty"`
   714  }
   715  
   716  func (x *PolicyRequest) Reset() {
   717  	*x = PolicyRequest{}
   718  	if protoimpl.UnsafeEnabled {
   719  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[11]
   720  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   721  		ms.StoreMessageInfo(mi)
   722  	}
   723  }
   724  
   725  func (x *PolicyRequest) String() string {
   726  	return protoimpl.X.MessageStringOf(x)
   727  }
   728  
   729  func (*PolicyRequest) ProtoMessage() {}
   730  
   731  func (x *PolicyRequest) ProtoReflect() protoreflect.Message {
   732  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[11]
   733  	if protoimpl.UnsafeEnabled && x != nil {
   734  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   735  		if ms.LoadMessageInfo() == nil {
   736  			ms.StoreMessageInfo(mi)
   737  		}
   738  		return ms
   739  	}
   740  	return mi.MessageOf(x)
   741  }
   742  
   743  // Deprecated: Use PolicyRequest.ProtoReflect.Descriptor instead.
   744  func (*PolicyRequest) Descriptor() ([]byte, []int) {
   745  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{11}
   746  }
   747  
   748  func (x *PolicyRequest) GetPolicyType() PolicyType {
   749  	if x != nil {
   750  		return x.PolicyType
   751  	}
   752  	return PolicyType_LEGACY
   753  }
   754  
   755  type PolicyResponse struct {
   756  	state         protoimpl.MessageState
   757  	sizeCache     protoimpl.SizeCache
   758  	unknownFields protoimpl.UnknownFields
   759  
   760  	// The maximum number of updates each session we negotiate with watchtowers
   761  	// should allow.
   762  	MaxUpdates uint32 `protobuf:"varint,1,opt,name=max_updates,json=maxUpdates,proto3" json:"max_updates,omitempty"`
   763  	// The fee rate, in satoshis per vbyte, that will be used by watchtowers for
   764  	// justice transactions in response to channel breaches.
   765  	SweepAtomsPerByte uint32 `protobuf:"varint,2,opt,name=sweep_atoms_per_byte,json=sweepAtomsPerByte,proto3" json:"sweep_atoms_per_byte,omitempty"`
   766  }
   767  
   768  func (x *PolicyResponse) Reset() {
   769  	*x = PolicyResponse{}
   770  	if protoimpl.UnsafeEnabled {
   771  		mi := &file_wtclientrpc_wtclient_proto_msgTypes[12]
   772  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   773  		ms.StoreMessageInfo(mi)
   774  	}
   775  }
   776  
   777  func (x *PolicyResponse) String() string {
   778  	return protoimpl.X.MessageStringOf(x)
   779  }
   780  
   781  func (*PolicyResponse) ProtoMessage() {}
   782  
   783  func (x *PolicyResponse) ProtoReflect() protoreflect.Message {
   784  	mi := &file_wtclientrpc_wtclient_proto_msgTypes[12]
   785  	if protoimpl.UnsafeEnabled && x != nil {
   786  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   787  		if ms.LoadMessageInfo() == nil {
   788  			ms.StoreMessageInfo(mi)
   789  		}
   790  		return ms
   791  	}
   792  	return mi.MessageOf(x)
   793  }
   794  
   795  // Deprecated: Use PolicyResponse.ProtoReflect.Descriptor instead.
   796  func (*PolicyResponse) Descriptor() ([]byte, []int) {
   797  	return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{12}
   798  }
   799  
   800  func (x *PolicyResponse) GetMaxUpdates() uint32 {
   801  	if x != nil {
   802  		return x.MaxUpdates
   803  	}
   804  	return 0
   805  }
   806  
   807  func (x *PolicyResponse) GetSweepAtomsPerByte() uint32 {
   808  	if x != nil {
   809  		return x.SweepAtomsPerByte
   810  	}
   811  	return 0
   812  }
   813  
   814  var File_wtclientrpc_wtclient_proto protoreflect.FileDescriptor
   815  
   816  var file_wtclientrpc_wtclient_proto_rawDesc = []byte{
   817  	0x0a, 0x1a, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x74,
   818  	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x77, 0x74,
   819  	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x22, 0x43, 0x0a, 0x0f, 0x41, 0x64, 0x64,
   820  	0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
   821  	0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75,
   822  	0x62, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
   823  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x12,
   824  	0x0a, 0x10, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
   825  	0x73, 0x65, 0x22, 0x46, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65,
   826  	0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b,
   827  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79,
   828  	0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
   829  	0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65,
   830  	0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   831  	0x65, 0x22, 0x58, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66,
   832  	0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b,
   833  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79,
   834  	0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73,
   835  	0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c,
   836  	0x75, 0x64, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x01, 0x0a, 0x0c,
   837  	0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b,
   838  	0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
   839  	0x0d, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2e, 0x0a,
   840  	0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61, 0x63,
   841  	0x6b, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75, 0x6d, 0x50,
   842  	0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x1f, 0x0a,
   843  	0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01,
   844  	0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2f,
   845  	0x0a, 0x14, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x74, 0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65,
   846  	0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x73, 0x77,
   847  	0x65, 0x65, 0x70, 0x41, 0x74, 0x6f, 0x6d, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x4a,
   848  	0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xd1, 0x01, 0x0a, 0x05, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12,
   849  	0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
   850  	0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65,
   851  	0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72,
   852  	0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
   853  	0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74,
   854  	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53,
   855  	0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12,
   856  	0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
   857  	0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
   858  	0x6e, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
   859  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72,
   860  	0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
   861  	0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x11, 0x4c, 0x69, 0x73,
   862  	0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29,
   863  	0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
   864  	0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
   865  	0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73,
   866  	0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
   867  	0x2a, 0x0a, 0x06, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
   868  	0x12, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f,
   869  	0x77, 0x65, 0x72, 0x52, 0x06, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x53,
   870  	0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf8, 0x01, 0x0a, 0x0d,
   871  	0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a,
   872  	0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01,
   873  	0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2e,
   874  	0x0a, 0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61,
   875  	0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75, 0x6d,
   876  	0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2c,
   877  	0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63,
   878  	0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x46,
   879  	0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x15,
   880  	0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x63, 0x71,
   881  	0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x75, 0x6d,
   882  	0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
   883  	0x12, 0x34, 0x0a, 0x16, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
   884  	0x5f, 0x65, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
   885  	0x52, 0x14, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x78, 0x68,
   886  	0x61, 0x75, 0x73, 0x74, 0x65, 0x64, 0x22, 0x49, 0x0a, 0x0d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   887  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   888  	0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x77,
   889  	0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   890  	0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70,
   891  	0x65, 0x22, 0x68, 0x0a, 0x0e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
   892  	0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,
   893  	0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x55, 0x70, 0x64,
   894  	0x61, 0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x74,
   895  	0x6f, 0x6d, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
   896  	0x28, 0x0d, 0x52, 0x11, 0x73, 0x77, 0x65, 0x65, 0x70, 0x41, 0x74, 0x6f, 0x6d, 0x73, 0x50, 0x65,
   897  	0x72, 0x42, 0x79, 0x74, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x2a, 0x24, 0x0a, 0x0a, 0x50,
   898  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x45, 0x47,
   899  	0x41, 0x43, 0x59, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x10,
   900  	0x01, 0x32, 0xc5, 0x03, 0x0a, 0x10, 0x57, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72,
   901  	0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77,
   902  	0x65, 0x72, 0x12, 0x1c, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63,
   903  	0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   904  	0x1a, 0x1d, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41,
   905  	0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
   906  	0x50, 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1f,
   907  	0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6d,
   908  	0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
   909  	0x20, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65,
   910  	0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   911  	0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12,
   912  	0x1e, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
   913  	0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
   914  	0x1f, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
   915  	0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   916  	0x12, 0x44, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
   917  	0x12, 0x20, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x47,
   918  	0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
   919  	0x73, 0x74, 0x1a, 0x12, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63,
   920  	0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
   921  	0x19, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
   922  	0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x77, 0x74, 0x63,
   923  	0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
   924  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   925  	0x12, 0x1a, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50,
   926  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x77,
   927  	0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   928  	0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74,
   929  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x65, 0x63, 0x72, 0x65, 0x64, 0x2f, 0x64,
   930  	0x63, 0x72, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x74, 0x63, 0x6c,
   931  	0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   932  }
   933  
   934  var (
   935  	file_wtclientrpc_wtclient_proto_rawDescOnce sync.Once
   936  	file_wtclientrpc_wtclient_proto_rawDescData = file_wtclientrpc_wtclient_proto_rawDesc
   937  )
   938  
   939  func file_wtclientrpc_wtclient_proto_rawDescGZIP() []byte {
   940  	file_wtclientrpc_wtclient_proto_rawDescOnce.Do(func() {
   941  		file_wtclientrpc_wtclient_proto_rawDescData = protoimpl.X.CompressGZIP(file_wtclientrpc_wtclient_proto_rawDescData)
   942  	})
   943  	return file_wtclientrpc_wtclient_proto_rawDescData
   944  }
   945  
   946  var file_wtclientrpc_wtclient_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   947  var file_wtclientrpc_wtclient_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
   948  var file_wtclientrpc_wtclient_proto_goTypes = []interface{}{
   949  	(PolicyType)(0),             // 0: wtclientrpc.PolicyType
   950  	(*AddTowerRequest)(nil),     // 1: wtclientrpc.AddTowerRequest
   951  	(*AddTowerResponse)(nil),    // 2: wtclientrpc.AddTowerResponse
   952  	(*RemoveTowerRequest)(nil),  // 3: wtclientrpc.RemoveTowerRequest
   953  	(*RemoveTowerResponse)(nil), // 4: wtclientrpc.RemoveTowerResponse
   954  	(*GetTowerInfoRequest)(nil), // 5: wtclientrpc.GetTowerInfoRequest
   955  	(*TowerSession)(nil),        // 6: wtclientrpc.TowerSession
   956  	(*Tower)(nil),               // 7: wtclientrpc.Tower
   957  	(*ListTowersRequest)(nil),   // 8: wtclientrpc.ListTowersRequest
   958  	(*ListTowersResponse)(nil),  // 9: wtclientrpc.ListTowersResponse
   959  	(*StatsRequest)(nil),        // 10: wtclientrpc.StatsRequest
   960  	(*StatsResponse)(nil),       // 11: wtclientrpc.StatsResponse
   961  	(*PolicyRequest)(nil),       // 12: wtclientrpc.PolicyRequest
   962  	(*PolicyResponse)(nil),      // 13: wtclientrpc.PolicyResponse
   963  }
   964  var file_wtclientrpc_wtclient_proto_depIdxs = []int32{
   965  	6,  // 0: wtclientrpc.Tower.sessions:type_name -> wtclientrpc.TowerSession
   966  	7,  // 1: wtclientrpc.ListTowersResponse.towers:type_name -> wtclientrpc.Tower
   967  	0,  // 2: wtclientrpc.PolicyRequest.policy_type:type_name -> wtclientrpc.PolicyType
   968  	1,  // 3: wtclientrpc.WatchtowerClient.AddTower:input_type -> wtclientrpc.AddTowerRequest
   969  	3,  // 4: wtclientrpc.WatchtowerClient.RemoveTower:input_type -> wtclientrpc.RemoveTowerRequest
   970  	8,  // 5: wtclientrpc.WatchtowerClient.ListTowers:input_type -> wtclientrpc.ListTowersRequest
   971  	5,  // 6: wtclientrpc.WatchtowerClient.GetTowerInfo:input_type -> wtclientrpc.GetTowerInfoRequest
   972  	10, // 7: wtclientrpc.WatchtowerClient.Stats:input_type -> wtclientrpc.StatsRequest
   973  	12, // 8: wtclientrpc.WatchtowerClient.Policy:input_type -> wtclientrpc.PolicyRequest
   974  	2,  // 9: wtclientrpc.WatchtowerClient.AddTower:output_type -> wtclientrpc.AddTowerResponse
   975  	4,  // 10: wtclientrpc.WatchtowerClient.RemoveTower:output_type -> wtclientrpc.RemoveTowerResponse
   976  	9,  // 11: wtclientrpc.WatchtowerClient.ListTowers:output_type -> wtclientrpc.ListTowersResponse
   977  	7,  // 12: wtclientrpc.WatchtowerClient.GetTowerInfo:output_type -> wtclientrpc.Tower
   978  	11, // 13: wtclientrpc.WatchtowerClient.Stats:output_type -> wtclientrpc.StatsResponse
   979  	13, // 14: wtclientrpc.WatchtowerClient.Policy:output_type -> wtclientrpc.PolicyResponse
   980  	9,  // [9:15] is the sub-list for method output_type
   981  	3,  // [3:9] is the sub-list for method input_type
   982  	3,  // [3:3] is the sub-list for extension type_name
   983  	3,  // [3:3] is the sub-list for extension extendee
   984  	0,  // [0:3] is the sub-list for field type_name
   985  }
   986  
   987  func init() { file_wtclientrpc_wtclient_proto_init() }
   988  func file_wtclientrpc_wtclient_proto_init() {
   989  	if File_wtclientrpc_wtclient_proto != nil {
   990  		return
   991  	}
   992  	if !protoimpl.UnsafeEnabled {
   993  		file_wtclientrpc_wtclient_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   994  			switch v := v.(*AddTowerRequest); i {
   995  			case 0:
   996  				return &v.state
   997  			case 1:
   998  				return &v.sizeCache
   999  			case 2:
  1000  				return &v.unknownFields
  1001  			default:
  1002  				return nil
  1003  			}
  1004  		}
  1005  		file_wtclientrpc_wtclient_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1006  			switch v := v.(*AddTowerResponse); i {
  1007  			case 0:
  1008  				return &v.state
  1009  			case 1:
  1010  				return &v.sizeCache
  1011  			case 2:
  1012  				return &v.unknownFields
  1013  			default:
  1014  				return nil
  1015  			}
  1016  		}
  1017  		file_wtclientrpc_wtclient_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1018  			switch v := v.(*RemoveTowerRequest); i {
  1019  			case 0:
  1020  				return &v.state
  1021  			case 1:
  1022  				return &v.sizeCache
  1023  			case 2:
  1024  				return &v.unknownFields
  1025  			default:
  1026  				return nil
  1027  			}
  1028  		}
  1029  		file_wtclientrpc_wtclient_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1030  			switch v := v.(*RemoveTowerResponse); i {
  1031  			case 0:
  1032  				return &v.state
  1033  			case 1:
  1034  				return &v.sizeCache
  1035  			case 2:
  1036  				return &v.unknownFields
  1037  			default:
  1038  				return nil
  1039  			}
  1040  		}
  1041  		file_wtclientrpc_wtclient_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1042  			switch v := v.(*GetTowerInfoRequest); i {
  1043  			case 0:
  1044  				return &v.state
  1045  			case 1:
  1046  				return &v.sizeCache
  1047  			case 2:
  1048  				return &v.unknownFields
  1049  			default:
  1050  				return nil
  1051  			}
  1052  		}
  1053  		file_wtclientrpc_wtclient_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1054  			switch v := v.(*TowerSession); i {
  1055  			case 0:
  1056  				return &v.state
  1057  			case 1:
  1058  				return &v.sizeCache
  1059  			case 2:
  1060  				return &v.unknownFields
  1061  			default:
  1062  				return nil
  1063  			}
  1064  		}
  1065  		file_wtclientrpc_wtclient_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1066  			switch v := v.(*Tower); i {
  1067  			case 0:
  1068  				return &v.state
  1069  			case 1:
  1070  				return &v.sizeCache
  1071  			case 2:
  1072  				return &v.unknownFields
  1073  			default:
  1074  				return nil
  1075  			}
  1076  		}
  1077  		file_wtclientrpc_wtclient_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1078  			switch v := v.(*ListTowersRequest); i {
  1079  			case 0:
  1080  				return &v.state
  1081  			case 1:
  1082  				return &v.sizeCache
  1083  			case 2:
  1084  				return &v.unknownFields
  1085  			default:
  1086  				return nil
  1087  			}
  1088  		}
  1089  		file_wtclientrpc_wtclient_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1090  			switch v := v.(*ListTowersResponse); i {
  1091  			case 0:
  1092  				return &v.state
  1093  			case 1:
  1094  				return &v.sizeCache
  1095  			case 2:
  1096  				return &v.unknownFields
  1097  			default:
  1098  				return nil
  1099  			}
  1100  		}
  1101  		file_wtclientrpc_wtclient_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1102  			switch v := v.(*StatsRequest); i {
  1103  			case 0:
  1104  				return &v.state
  1105  			case 1:
  1106  				return &v.sizeCache
  1107  			case 2:
  1108  				return &v.unknownFields
  1109  			default:
  1110  				return nil
  1111  			}
  1112  		}
  1113  		file_wtclientrpc_wtclient_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1114  			switch v := v.(*StatsResponse); i {
  1115  			case 0:
  1116  				return &v.state
  1117  			case 1:
  1118  				return &v.sizeCache
  1119  			case 2:
  1120  				return &v.unknownFields
  1121  			default:
  1122  				return nil
  1123  			}
  1124  		}
  1125  		file_wtclientrpc_wtclient_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1126  			switch v := v.(*PolicyRequest); i {
  1127  			case 0:
  1128  				return &v.state
  1129  			case 1:
  1130  				return &v.sizeCache
  1131  			case 2:
  1132  				return &v.unknownFields
  1133  			default:
  1134  				return nil
  1135  			}
  1136  		}
  1137  		file_wtclientrpc_wtclient_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1138  			switch v := v.(*PolicyResponse); i {
  1139  			case 0:
  1140  				return &v.state
  1141  			case 1:
  1142  				return &v.sizeCache
  1143  			case 2:
  1144  				return &v.unknownFields
  1145  			default:
  1146  				return nil
  1147  			}
  1148  		}
  1149  	}
  1150  	type x struct{}
  1151  	out := protoimpl.TypeBuilder{
  1152  		File: protoimpl.DescBuilder{
  1153  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1154  			RawDescriptor: file_wtclientrpc_wtclient_proto_rawDesc,
  1155  			NumEnums:      1,
  1156  			NumMessages:   13,
  1157  			NumExtensions: 0,
  1158  			NumServices:   1,
  1159  		},
  1160  		GoTypes:           file_wtclientrpc_wtclient_proto_goTypes,
  1161  		DependencyIndexes: file_wtclientrpc_wtclient_proto_depIdxs,
  1162  		EnumInfos:         file_wtclientrpc_wtclient_proto_enumTypes,
  1163  		MessageInfos:      file_wtclientrpc_wtclient_proto_msgTypes,
  1164  	}.Build()
  1165  	File_wtclientrpc_wtclient_proto = out.File
  1166  	file_wtclientrpc_wtclient_proto_rawDesc = nil
  1167  	file_wtclientrpc_wtclient_proto_goTypes = nil
  1168  	file_wtclientrpc_wtclient_proto_depIdxs = nil
  1169  }
  1170  
  1171  // Reference imports to suppress errors if they are not otherwise used.
  1172  var _ context.Context
  1173  var _ grpc.ClientConnInterface
  1174  
  1175  // This is a compile-time assertion to ensure that this generated file
  1176  // is compatible with the grpc package it is being compiled against.
  1177  const _ = grpc.SupportPackageIsVersion6
  1178  
  1179  // WatchtowerClientClient is the client API for WatchtowerClient service.
  1180  //
  1181  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1182  type WatchtowerClientClient interface {
  1183  	// AddTower adds a new watchtower reachable at the given address and
  1184  	// considers it for new sessions. If the watchtower already exists, then
  1185  	// any new addresses included will be considered when dialing it for
  1186  	// session negotiations and backups.
  1187  	AddTower(ctx context.Context, in *AddTowerRequest, opts ...grpc.CallOption) (*AddTowerResponse, error)
  1188  	// RemoveTower removes a watchtower from being considered for future session
  1189  	// negotiations and from being used for any subsequent backups until it's added
  1190  	// again. If an address is provided, then this RPC only serves as a way of
  1191  	// removing the address from the watchtower instead.
  1192  	RemoveTower(ctx context.Context, in *RemoveTowerRequest, opts ...grpc.CallOption) (*RemoveTowerResponse, error)
  1193  	// ListTowers returns the list of watchtowers registered with the client.
  1194  	ListTowers(ctx context.Context, in *ListTowersRequest, opts ...grpc.CallOption) (*ListTowersResponse, error)
  1195  	// GetTowerInfo retrieves information for a registered watchtower.
  1196  	GetTowerInfo(ctx context.Context, in *GetTowerInfoRequest, opts ...grpc.CallOption) (*Tower, error)
  1197  	// Stats returns the in-memory statistics of the client since startup.
  1198  	Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error)
  1199  	// Policy returns the active watchtower client policy configuration.
  1200  	Policy(ctx context.Context, in *PolicyRequest, opts ...grpc.CallOption) (*PolicyResponse, error)
  1201  }
  1202  
  1203  type watchtowerClientClient struct {
  1204  	cc grpc.ClientConnInterface
  1205  }
  1206  
  1207  func NewWatchtowerClientClient(cc grpc.ClientConnInterface) WatchtowerClientClient {
  1208  	return &watchtowerClientClient{cc}
  1209  }
  1210  
  1211  func (c *watchtowerClientClient) AddTower(ctx context.Context, in *AddTowerRequest, opts ...grpc.CallOption) (*AddTowerResponse, error) {
  1212  	out := new(AddTowerResponse)
  1213  	err := c.cc.Invoke(ctx, "/wtclientrpc.WatchtowerClient/AddTower", in, out, opts...)
  1214  	if err != nil {
  1215  		return nil, err
  1216  	}
  1217  	return out, nil
  1218  }
  1219  
  1220  func (c *watchtowerClientClient) RemoveTower(ctx context.Context, in *RemoveTowerRequest, opts ...grpc.CallOption) (*RemoveTowerResponse, error) {
  1221  	out := new(RemoveTowerResponse)
  1222  	err := c.cc.Invoke(ctx, "/wtclientrpc.WatchtowerClient/RemoveTower", in, out, opts...)
  1223  	if err != nil {
  1224  		return nil, err
  1225  	}
  1226  	return out, nil
  1227  }
  1228  
  1229  func (c *watchtowerClientClient) ListTowers(ctx context.Context, in *ListTowersRequest, opts ...grpc.CallOption) (*ListTowersResponse, error) {
  1230  	out := new(ListTowersResponse)
  1231  	err := c.cc.Invoke(ctx, "/wtclientrpc.WatchtowerClient/ListTowers", in, out, opts...)
  1232  	if err != nil {
  1233  		return nil, err
  1234  	}
  1235  	return out, nil
  1236  }
  1237  
  1238  func (c *watchtowerClientClient) GetTowerInfo(ctx context.Context, in *GetTowerInfoRequest, opts ...grpc.CallOption) (*Tower, error) {
  1239  	out := new(Tower)
  1240  	err := c.cc.Invoke(ctx, "/wtclientrpc.WatchtowerClient/GetTowerInfo", in, out, opts...)
  1241  	if err != nil {
  1242  		return nil, err
  1243  	}
  1244  	return out, nil
  1245  }
  1246  
  1247  func (c *watchtowerClientClient) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) {
  1248  	out := new(StatsResponse)
  1249  	err := c.cc.Invoke(ctx, "/wtclientrpc.WatchtowerClient/Stats", in, out, opts...)
  1250  	if err != nil {
  1251  		return nil, err
  1252  	}
  1253  	return out, nil
  1254  }
  1255  
  1256  func (c *watchtowerClientClient) Policy(ctx context.Context, in *PolicyRequest, opts ...grpc.CallOption) (*PolicyResponse, error) {
  1257  	out := new(PolicyResponse)
  1258  	err := c.cc.Invoke(ctx, "/wtclientrpc.WatchtowerClient/Policy", in, out, opts...)
  1259  	if err != nil {
  1260  		return nil, err
  1261  	}
  1262  	return out, nil
  1263  }
  1264  
  1265  // WatchtowerClientServer is the server API for WatchtowerClient service.
  1266  type WatchtowerClientServer interface {
  1267  	// AddTower adds a new watchtower reachable at the given address and
  1268  	// considers it for new sessions. If the watchtower already exists, then
  1269  	// any new addresses included will be considered when dialing it for
  1270  	// session negotiations and backups.
  1271  	AddTower(context.Context, *AddTowerRequest) (*AddTowerResponse, error)
  1272  	// RemoveTower removes a watchtower from being considered for future session
  1273  	// negotiations and from being used for any subsequent backups until it's added
  1274  	// again. If an address is provided, then this RPC only serves as a way of
  1275  	// removing the address from the watchtower instead.
  1276  	RemoveTower(context.Context, *RemoveTowerRequest) (*RemoveTowerResponse, error)
  1277  	// ListTowers returns the list of watchtowers registered with the client.
  1278  	ListTowers(context.Context, *ListTowersRequest) (*ListTowersResponse, error)
  1279  	// GetTowerInfo retrieves information for a registered watchtower.
  1280  	GetTowerInfo(context.Context, *GetTowerInfoRequest) (*Tower, error)
  1281  	// Stats returns the in-memory statistics of the client since startup.
  1282  	Stats(context.Context, *StatsRequest) (*StatsResponse, error)
  1283  	// Policy returns the active watchtower client policy configuration.
  1284  	Policy(context.Context, *PolicyRequest) (*PolicyResponse, error)
  1285  }
  1286  
  1287  // UnimplementedWatchtowerClientServer can be embedded to have forward compatible implementations.
  1288  type UnimplementedWatchtowerClientServer struct {
  1289  }
  1290  
  1291  func (*UnimplementedWatchtowerClientServer) AddTower(context.Context, *AddTowerRequest) (*AddTowerResponse, error) {
  1292  	return nil, status.Errorf(codes.Unimplemented, "method AddTower not implemented")
  1293  }
  1294  func (*UnimplementedWatchtowerClientServer) RemoveTower(context.Context, *RemoveTowerRequest) (*RemoveTowerResponse, error) {
  1295  	return nil, status.Errorf(codes.Unimplemented, "method RemoveTower not implemented")
  1296  }
  1297  func (*UnimplementedWatchtowerClientServer) ListTowers(context.Context, *ListTowersRequest) (*ListTowersResponse, error) {
  1298  	return nil, status.Errorf(codes.Unimplemented, "method ListTowers not implemented")
  1299  }
  1300  func (*UnimplementedWatchtowerClientServer) GetTowerInfo(context.Context, *GetTowerInfoRequest) (*Tower, error) {
  1301  	return nil, status.Errorf(codes.Unimplemented, "method GetTowerInfo not implemented")
  1302  }
  1303  func (*UnimplementedWatchtowerClientServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error) {
  1304  	return nil, status.Errorf(codes.Unimplemented, "method Stats not implemented")
  1305  }
  1306  func (*UnimplementedWatchtowerClientServer) Policy(context.Context, *PolicyRequest) (*PolicyResponse, error) {
  1307  	return nil, status.Errorf(codes.Unimplemented, "method Policy not implemented")
  1308  }
  1309  
  1310  func RegisterWatchtowerClientServer(s *grpc.Server, srv WatchtowerClientServer) {
  1311  	s.RegisterService(&_WatchtowerClient_serviceDesc, srv)
  1312  }
  1313  
  1314  func _WatchtowerClient_AddTower_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1315  	in := new(AddTowerRequest)
  1316  	if err := dec(in); err != nil {
  1317  		return nil, err
  1318  	}
  1319  	if interceptor == nil {
  1320  		return srv.(WatchtowerClientServer).AddTower(ctx, in)
  1321  	}
  1322  	info := &grpc.UnaryServerInfo{
  1323  		Server:     srv,
  1324  		FullMethod: "/wtclientrpc.WatchtowerClient/AddTower",
  1325  	}
  1326  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1327  		return srv.(WatchtowerClientServer).AddTower(ctx, req.(*AddTowerRequest))
  1328  	}
  1329  	return interceptor(ctx, in, info, handler)
  1330  }
  1331  
  1332  func _WatchtowerClient_RemoveTower_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1333  	in := new(RemoveTowerRequest)
  1334  	if err := dec(in); err != nil {
  1335  		return nil, err
  1336  	}
  1337  	if interceptor == nil {
  1338  		return srv.(WatchtowerClientServer).RemoveTower(ctx, in)
  1339  	}
  1340  	info := &grpc.UnaryServerInfo{
  1341  		Server:     srv,
  1342  		FullMethod: "/wtclientrpc.WatchtowerClient/RemoveTower",
  1343  	}
  1344  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1345  		return srv.(WatchtowerClientServer).RemoveTower(ctx, req.(*RemoveTowerRequest))
  1346  	}
  1347  	return interceptor(ctx, in, info, handler)
  1348  }
  1349  
  1350  func _WatchtowerClient_ListTowers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1351  	in := new(ListTowersRequest)
  1352  	if err := dec(in); err != nil {
  1353  		return nil, err
  1354  	}
  1355  	if interceptor == nil {
  1356  		return srv.(WatchtowerClientServer).ListTowers(ctx, in)
  1357  	}
  1358  	info := &grpc.UnaryServerInfo{
  1359  		Server:     srv,
  1360  		FullMethod: "/wtclientrpc.WatchtowerClient/ListTowers",
  1361  	}
  1362  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1363  		return srv.(WatchtowerClientServer).ListTowers(ctx, req.(*ListTowersRequest))
  1364  	}
  1365  	return interceptor(ctx, in, info, handler)
  1366  }
  1367  
  1368  func _WatchtowerClient_GetTowerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1369  	in := new(GetTowerInfoRequest)
  1370  	if err := dec(in); err != nil {
  1371  		return nil, err
  1372  	}
  1373  	if interceptor == nil {
  1374  		return srv.(WatchtowerClientServer).GetTowerInfo(ctx, in)
  1375  	}
  1376  	info := &grpc.UnaryServerInfo{
  1377  		Server:     srv,
  1378  		FullMethod: "/wtclientrpc.WatchtowerClient/GetTowerInfo",
  1379  	}
  1380  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1381  		return srv.(WatchtowerClientServer).GetTowerInfo(ctx, req.(*GetTowerInfoRequest))
  1382  	}
  1383  	return interceptor(ctx, in, info, handler)
  1384  }
  1385  
  1386  func _WatchtowerClient_Stats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1387  	in := new(StatsRequest)
  1388  	if err := dec(in); err != nil {
  1389  		return nil, err
  1390  	}
  1391  	if interceptor == nil {
  1392  		return srv.(WatchtowerClientServer).Stats(ctx, in)
  1393  	}
  1394  	info := &grpc.UnaryServerInfo{
  1395  		Server:     srv,
  1396  		FullMethod: "/wtclientrpc.WatchtowerClient/Stats",
  1397  	}
  1398  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1399  		return srv.(WatchtowerClientServer).Stats(ctx, req.(*StatsRequest))
  1400  	}
  1401  	return interceptor(ctx, in, info, handler)
  1402  }
  1403  
  1404  func _WatchtowerClient_Policy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1405  	in := new(PolicyRequest)
  1406  	if err := dec(in); err != nil {
  1407  		return nil, err
  1408  	}
  1409  	if interceptor == nil {
  1410  		return srv.(WatchtowerClientServer).Policy(ctx, in)
  1411  	}
  1412  	info := &grpc.UnaryServerInfo{
  1413  		Server:     srv,
  1414  		FullMethod: "/wtclientrpc.WatchtowerClient/Policy",
  1415  	}
  1416  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1417  		return srv.(WatchtowerClientServer).Policy(ctx, req.(*PolicyRequest))
  1418  	}
  1419  	return interceptor(ctx, in, info, handler)
  1420  }
  1421  
  1422  var _WatchtowerClient_serviceDesc = grpc.ServiceDesc{
  1423  	ServiceName: "wtclientrpc.WatchtowerClient",
  1424  	HandlerType: (*WatchtowerClientServer)(nil),
  1425  	Methods: []grpc.MethodDesc{
  1426  		{
  1427  			MethodName: "AddTower",
  1428  			Handler:    _WatchtowerClient_AddTower_Handler,
  1429  		},
  1430  		{
  1431  			MethodName: "RemoveTower",
  1432  			Handler:    _WatchtowerClient_RemoveTower_Handler,
  1433  		},
  1434  		{
  1435  			MethodName: "ListTowers",
  1436  			Handler:    _WatchtowerClient_ListTowers_Handler,
  1437  		},
  1438  		{
  1439  			MethodName: "GetTowerInfo",
  1440  			Handler:    _WatchtowerClient_GetTowerInfo_Handler,
  1441  		},
  1442  		{
  1443  			MethodName: "Stats",
  1444  			Handler:    _WatchtowerClient_Stats_Handler,
  1445  		},
  1446  		{
  1447  			MethodName: "Policy",
  1448  			Handler:    _WatchtowerClient_Policy_Handler,
  1449  		},
  1450  	},
  1451  	Streams:  []grpc.StreamDesc{},
  1452  	Metadata: "wtclientrpc/wtclient.proto",
  1453  }