github.com/decred/dcrlnd@v0.7.6/lnrpc/lnclipb/lncli.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: lnclipb/lncli.proto
     6  
     7  package lnclipb
     8  
     9  import (
    10  	verrpc "github.com/decred/dcrlnd/lnrpc/verrpc"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type VersionResponse struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	// The version information for lncli.
    30  	Lncli *verrpc.Version `protobuf:"bytes,1,opt,name=lncli,proto3" json:"lncli,omitempty"`
    31  	// The version information for lnd.
    32  	Lnd *verrpc.Version `protobuf:"bytes,2,opt,name=lnd,proto3" json:"lnd,omitempty"`
    33  }
    34  
    35  func (x *VersionResponse) Reset() {
    36  	*x = VersionResponse{}
    37  	if protoimpl.UnsafeEnabled {
    38  		mi := &file_lnclipb_lncli_proto_msgTypes[0]
    39  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    40  		ms.StoreMessageInfo(mi)
    41  	}
    42  }
    43  
    44  func (x *VersionResponse) String() string {
    45  	return protoimpl.X.MessageStringOf(x)
    46  }
    47  
    48  func (*VersionResponse) ProtoMessage() {}
    49  
    50  func (x *VersionResponse) ProtoReflect() protoreflect.Message {
    51  	mi := &file_lnclipb_lncli_proto_msgTypes[0]
    52  	if protoimpl.UnsafeEnabled && x != nil {
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		if ms.LoadMessageInfo() == nil {
    55  			ms.StoreMessageInfo(mi)
    56  		}
    57  		return ms
    58  	}
    59  	return mi.MessageOf(x)
    60  }
    61  
    62  // Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
    63  func (*VersionResponse) Descriptor() ([]byte, []int) {
    64  	return file_lnclipb_lncli_proto_rawDescGZIP(), []int{0}
    65  }
    66  
    67  func (x *VersionResponse) GetLncli() *verrpc.Version {
    68  	if x != nil {
    69  		return x.Lncli
    70  	}
    71  	return nil
    72  }
    73  
    74  func (x *VersionResponse) GetLnd() *verrpc.Version {
    75  	if x != nil {
    76  		return x.Lnd
    77  	}
    78  	return nil
    79  }
    80  
    81  var File_lnclipb_lncli_proto protoreflect.FileDescriptor
    82  
    83  var file_lnclipb_lncli_proto_rawDesc = []byte{
    84  	0x0a, 0x13, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x70, 0x62, 0x2f, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x2e,
    85  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x70, 0x62, 0x1a, 0x13,
    86  	0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72,
    87  	0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
    88  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x18,
    89  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x56,
    90  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x12, 0x21, 0x0a,
    91  	0x03, 0x6c, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x65, 0x72,
    92  	0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x6c, 0x6e, 0x64,
    93  	0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64,
    94  	0x65, 0x63, 0x72, 0x65, 0x64, 0x2f, 0x64, 0x63, 0x72, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72,
    95  	0x70, 0x63, 0x2f, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
    96  	0x6f, 0x33,
    97  }
    98  
    99  var (
   100  	file_lnclipb_lncli_proto_rawDescOnce sync.Once
   101  	file_lnclipb_lncli_proto_rawDescData = file_lnclipb_lncli_proto_rawDesc
   102  )
   103  
   104  func file_lnclipb_lncli_proto_rawDescGZIP() []byte {
   105  	file_lnclipb_lncli_proto_rawDescOnce.Do(func() {
   106  		file_lnclipb_lncli_proto_rawDescData = protoimpl.X.CompressGZIP(file_lnclipb_lncli_proto_rawDescData)
   107  	})
   108  	return file_lnclipb_lncli_proto_rawDescData
   109  }
   110  
   111  var file_lnclipb_lncli_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   112  var file_lnclipb_lncli_proto_goTypes = []interface{}{
   113  	(*VersionResponse)(nil), // 0: lnclipb.VersionResponse
   114  	(*verrpc.Version)(nil),  // 1: verrpc.Version
   115  }
   116  var file_lnclipb_lncli_proto_depIdxs = []int32{
   117  	1, // 0: lnclipb.VersionResponse.lncli:type_name -> verrpc.Version
   118  	1, // 1: lnclipb.VersionResponse.lnd:type_name -> verrpc.Version
   119  	2, // [2:2] is the sub-list for method output_type
   120  	2, // [2:2] is the sub-list for method input_type
   121  	2, // [2:2] is the sub-list for extension type_name
   122  	2, // [2:2] is the sub-list for extension extendee
   123  	0, // [0:2] is the sub-list for field type_name
   124  }
   125  
   126  func init() { file_lnclipb_lncli_proto_init() }
   127  func file_lnclipb_lncli_proto_init() {
   128  	if File_lnclipb_lncli_proto != nil {
   129  		return
   130  	}
   131  	if !protoimpl.UnsafeEnabled {
   132  		file_lnclipb_lncli_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   133  			switch v := v.(*VersionResponse); i {
   134  			case 0:
   135  				return &v.state
   136  			case 1:
   137  				return &v.sizeCache
   138  			case 2:
   139  				return &v.unknownFields
   140  			default:
   141  				return nil
   142  			}
   143  		}
   144  	}
   145  	type x struct{}
   146  	out := protoimpl.TypeBuilder{
   147  		File: protoimpl.DescBuilder{
   148  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   149  			RawDescriptor: file_lnclipb_lncli_proto_rawDesc,
   150  			NumEnums:      0,
   151  			NumMessages:   1,
   152  			NumExtensions: 0,
   153  			NumServices:   0,
   154  		},
   155  		GoTypes:           file_lnclipb_lncli_proto_goTypes,
   156  		DependencyIndexes: file_lnclipb_lncli_proto_depIdxs,
   157  		MessageInfos:      file_lnclipb_lncli_proto_msgTypes,
   158  	}.Build()
   159  	File_lnclipb_lncli_proto = out.File
   160  	file_lnclipb_lncli_proto_rawDesc = nil
   161  	file_lnclipb_lncli_proto_goTypes = nil
   162  	file_lnclipb_lncli_proto_depIdxs = nil
   163  }