github.com/MetalBlockchain/metalgo@v1.11.9/proto/pb/aliasreader/aliasreader.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        (unknown)
     5  // source: aliasreader/aliasreader.proto
     6  
     7  package aliasreader
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type ID struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    29  }
    30  
    31  func (x *ID) Reset() {
    32  	*x = ID{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_aliasreader_aliasreader_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *ID) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*ID) ProtoMessage() {}
    45  
    46  func (x *ID) ProtoReflect() protoreflect.Message {
    47  	mi := &file_aliasreader_aliasreader_proto_msgTypes[0]
    48  	if protoimpl.UnsafeEnabled && x != nil {
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		if ms.LoadMessageInfo() == nil {
    51  			ms.StoreMessageInfo(mi)
    52  		}
    53  		return ms
    54  	}
    55  	return mi.MessageOf(x)
    56  }
    57  
    58  // Deprecated: Use ID.ProtoReflect.Descriptor instead.
    59  func (*ID) Descriptor() ([]byte, []int) {
    60  	return file_aliasreader_aliasreader_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  func (x *ID) GetId() []byte {
    64  	if x != nil {
    65  		return x.Id
    66  	}
    67  	return nil
    68  }
    69  
    70  type Alias struct {
    71  	state         protoimpl.MessageState
    72  	sizeCache     protoimpl.SizeCache
    73  	unknownFields protoimpl.UnknownFields
    74  
    75  	Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
    76  }
    77  
    78  func (x *Alias) Reset() {
    79  	*x = Alias{}
    80  	if protoimpl.UnsafeEnabled {
    81  		mi := &file_aliasreader_aliasreader_proto_msgTypes[1]
    82  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    83  		ms.StoreMessageInfo(mi)
    84  	}
    85  }
    86  
    87  func (x *Alias) String() string {
    88  	return protoimpl.X.MessageStringOf(x)
    89  }
    90  
    91  func (*Alias) ProtoMessage() {}
    92  
    93  func (x *Alias) ProtoReflect() protoreflect.Message {
    94  	mi := &file_aliasreader_aliasreader_proto_msgTypes[1]
    95  	if protoimpl.UnsafeEnabled && x != nil {
    96  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    97  		if ms.LoadMessageInfo() == nil {
    98  			ms.StoreMessageInfo(mi)
    99  		}
   100  		return ms
   101  	}
   102  	return mi.MessageOf(x)
   103  }
   104  
   105  // Deprecated: Use Alias.ProtoReflect.Descriptor instead.
   106  func (*Alias) Descriptor() ([]byte, []int) {
   107  	return file_aliasreader_aliasreader_proto_rawDescGZIP(), []int{1}
   108  }
   109  
   110  func (x *Alias) GetAlias() string {
   111  	if x != nil {
   112  		return x.Alias
   113  	}
   114  	return ""
   115  }
   116  
   117  type AliasList struct {
   118  	state         protoimpl.MessageState
   119  	sizeCache     protoimpl.SizeCache
   120  	unknownFields protoimpl.UnknownFields
   121  
   122  	Aliases []string `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
   123  }
   124  
   125  func (x *AliasList) Reset() {
   126  	*x = AliasList{}
   127  	if protoimpl.UnsafeEnabled {
   128  		mi := &file_aliasreader_aliasreader_proto_msgTypes[2]
   129  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   130  		ms.StoreMessageInfo(mi)
   131  	}
   132  }
   133  
   134  func (x *AliasList) String() string {
   135  	return protoimpl.X.MessageStringOf(x)
   136  }
   137  
   138  func (*AliasList) ProtoMessage() {}
   139  
   140  func (x *AliasList) ProtoReflect() protoreflect.Message {
   141  	mi := &file_aliasreader_aliasreader_proto_msgTypes[2]
   142  	if protoimpl.UnsafeEnabled && x != nil {
   143  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   144  		if ms.LoadMessageInfo() == nil {
   145  			ms.StoreMessageInfo(mi)
   146  		}
   147  		return ms
   148  	}
   149  	return mi.MessageOf(x)
   150  }
   151  
   152  // Deprecated: Use AliasList.ProtoReflect.Descriptor instead.
   153  func (*AliasList) Descriptor() ([]byte, []int) {
   154  	return file_aliasreader_aliasreader_proto_rawDescGZIP(), []int{2}
   155  }
   156  
   157  func (x *AliasList) GetAliases() []string {
   158  	if x != nil {
   159  		return x.Aliases
   160  	}
   161  	return nil
   162  }
   163  
   164  var File_aliasreader_aliasreader_proto protoreflect.FileDescriptor
   165  
   166  var file_aliasreader_aliasreader_proto_rawDesc = []byte{
   167  	0x0a, 0x1d, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2f, 0x61, 0x6c,
   168  	0x69, 0x61, 0x73, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   169  	0x0b, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x14, 0x0a, 0x02,
   170  	0x49, 0x44, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02,
   171  	0x69, 0x64, 0x22, 0x1d, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61,
   172  	0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61,
   173  	0x73, 0x22, 0x25, 0x0a, 0x09, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18,
   174  	0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
   175  	0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x32, 0xa5, 0x01, 0x0a, 0x0b, 0x41, 0x6c, 0x69,
   176  	0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x06, 0x4c, 0x6f, 0x6f, 0x6b,
   177  	0x75, 0x70, 0x12, 0x12, 0x2e, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72,
   178  	0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x1a, 0x0f, 0x2e, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x72, 0x65,
   179  	0x61, 0x64, 0x65, 0x72, 0x2e, 0x49, 0x44, 0x12, 0x33, 0x0a, 0x0c, 0x50, 0x72, 0x69, 0x6d, 0x61,
   180  	0x72, 0x79, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x72,
   181  	0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x49, 0x44, 0x1a, 0x12, 0x2e, 0x61, 0x6c, 0x69, 0x61, 0x73,
   182  	0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x32, 0x0a, 0x07,
   183  	0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x72,
   184  	0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x49, 0x44, 0x1a, 0x16, 0x2e, 0x61, 0x6c, 0x69, 0x61, 0x73,
   185  	0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4c, 0x69, 0x73, 0x74,
   186  	0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
   187  	0x76, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68,
   188  	0x65, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x2f, 0x61, 0x6c, 0x69,
   189  	0x61, 0x73, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   190  }
   191  
   192  var (
   193  	file_aliasreader_aliasreader_proto_rawDescOnce sync.Once
   194  	file_aliasreader_aliasreader_proto_rawDescData = file_aliasreader_aliasreader_proto_rawDesc
   195  )
   196  
   197  func file_aliasreader_aliasreader_proto_rawDescGZIP() []byte {
   198  	file_aliasreader_aliasreader_proto_rawDescOnce.Do(func() {
   199  		file_aliasreader_aliasreader_proto_rawDescData = protoimpl.X.CompressGZIP(file_aliasreader_aliasreader_proto_rawDescData)
   200  	})
   201  	return file_aliasreader_aliasreader_proto_rawDescData
   202  }
   203  
   204  var file_aliasreader_aliasreader_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   205  var file_aliasreader_aliasreader_proto_goTypes = []interface{}{
   206  	(*ID)(nil),        // 0: aliasreader.ID
   207  	(*Alias)(nil),     // 1: aliasreader.Alias
   208  	(*AliasList)(nil), // 2: aliasreader.AliasList
   209  }
   210  var file_aliasreader_aliasreader_proto_depIdxs = []int32{
   211  	1, // 0: aliasreader.AliasReader.Lookup:input_type -> aliasreader.Alias
   212  	0, // 1: aliasreader.AliasReader.PrimaryAlias:input_type -> aliasreader.ID
   213  	0, // 2: aliasreader.AliasReader.Aliases:input_type -> aliasreader.ID
   214  	0, // 3: aliasreader.AliasReader.Lookup:output_type -> aliasreader.ID
   215  	1, // 4: aliasreader.AliasReader.PrimaryAlias:output_type -> aliasreader.Alias
   216  	2, // 5: aliasreader.AliasReader.Aliases:output_type -> aliasreader.AliasList
   217  	3, // [3:6] is the sub-list for method output_type
   218  	0, // [0:3] is the sub-list for method input_type
   219  	0, // [0:0] is the sub-list for extension type_name
   220  	0, // [0:0] is the sub-list for extension extendee
   221  	0, // [0:0] is the sub-list for field type_name
   222  }
   223  
   224  func init() { file_aliasreader_aliasreader_proto_init() }
   225  func file_aliasreader_aliasreader_proto_init() {
   226  	if File_aliasreader_aliasreader_proto != nil {
   227  		return
   228  	}
   229  	if !protoimpl.UnsafeEnabled {
   230  		file_aliasreader_aliasreader_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   231  			switch v := v.(*ID); i {
   232  			case 0:
   233  				return &v.state
   234  			case 1:
   235  				return &v.sizeCache
   236  			case 2:
   237  				return &v.unknownFields
   238  			default:
   239  				return nil
   240  			}
   241  		}
   242  		file_aliasreader_aliasreader_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   243  			switch v := v.(*Alias); i {
   244  			case 0:
   245  				return &v.state
   246  			case 1:
   247  				return &v.sizeCache
   248  			case 2:
   249  				return &v.unknownFields
   250  			default:
   251  				return nil
   252  			}
   253  		}
   254  		file_aliasreader_aliasreader_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   255  			switch v := v.(*AliasList); i {
   256  			case 0:
   257  				return &v.state
   258  			case 1:
   259  				return &v.sizeCache
   260  			case 2:
   261  				return &v.unknownFields
   262  			default:
   263  				return nil
   264  			}
   265  		}
   266  	}
   267  	type x struct{}
   268  	out := protoimpl.TypeBuilder{
   269  		File: protoimpl.DescBuilder{
   270  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   271  			RawDescriptor: file_aliasreader_aliasreader_proto_rawDesc,
   272  			NumEnums:      0,
   273  			NumMessages:   3,
   274  			NumExtensions: 0,
   275  			NumServices:   1,
   276  		},
   277  		GoTypes:           file_aliasreader_aliasreader_proto_goTypes,
   278  		DependencyIndexes: file_aliasreader_aliasreader_proto_depIdxs,
   279  		MessageInfos:      file_aliasreader_aliasreader_proto_msgTypes,
   280  	}.Build()
   281  	File_aliasreader_aliasreader_proto = out.File
   282  	file_aliasreader_aliasreader_proto_rawDesc = nil
   283  	file_aliasreader_aliasreader_proto_goTypes = nil
   284  	file_aliasreader_aliasreader_proto_depIdxs = nil
   285  }