github.com/s7techlab/cckit@v0.10.5/examples/token/service/config_erc20/config_erc20.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        (unknown)
     5  // source: token/service/config_erc20/config_erc20.proto
     6  
     7  package config_erc20
     8  
     9  import (
    10  	context "context"
    11  	_ "google.golang.org/genproto/googleapis/api/annotations"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    16  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    17  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    18  	reflect "reflect"
    19  	sync "sync"
    20  )
    21  
    22  const (
    23  	// Verify that this generated code is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    25  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    27  )
    28  
    29  type NameResponse struct {
    30  	state         protoimpl.MessageState
    31  	sizeCache     protoimpl.SizeCache
    32  	unknownFields protoimpl.UnknownFields
    33  
    34  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    35  }
    36  
    37  func (x *NameResponse) Reset() {
    38  	*x = NameResponse{}
    39  	if protoimpl.UnsafeEnabled {
    40  		mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[0]
    41  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    42  		ms.StoreMessageInfo(mi)
    43  	}
    44  }
    45  
    46  func (x *NameResponse) String() string {
    47  	return protoimpl.X.MessageStringOf(x)
    48  }
    49  
    50  func (*NameResponse) ProtoMessage() {}
    51  
    52  func (x *NameResponse) ProtoReflect() protoreflect.Message {
    53  	mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[0]
    54  	if protoimpl.UnsafeEnabled && x != nil {
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		if ms.LoadMessageInfo() == nil {
    57  			ms.StoreMessageInfo(mi)
    58  		}
    59  		return ms
    60  	}
    61  	return mi.MessageOf(x)
    62  }
    63  
    64  // Deprecated: Use NameResponse.ProtoReflect.Descriptor instead.
    65  func (*NameResponse) Descriptor() ([]byte, []int) {
    66  	return file_token_service_config_erc20_config_erc20_proto_rawDescGZIP(), []int{0}
    67  }
    68  
    69  func (x *NameResponse) GetName() string {
    70  	if x != nil {
    71  		return x.Name
    72  	}
    73  	return ""
    74  }
    75  
    76  type SymbolResponse struct {
    77  	state         protoimpl.MessageState
    78  	sizeCache     protoimpl.SizeCache
    79  	unknownFields protoimpl.UnknownFields
    80  
    81  	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
    82  }
    83  
    84  func (x *SymbolResponse) Reset() {
    85  	*x = SymbolResponse{}
    86  	if protoimpl.UnsafeEnabled {
    87  		mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[1]
    88  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    89  		ms.StoreMessageInfo(mi)
    90  	}
    91  }
    92  
    93  func (x *SymbolResponse) String() string {
    94  	return protoimpl.X.MessageStringOf(x)
    95  }
    96  
    97  func (*SymbolResponse) ProtoMessage() {}
    98  
    99  func (x *SymbolResponse) ProtoReflect() protoreflect.Message {
   100  	mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[1]
   101  	if protoimpl.UnsafeEnabled && x != nil {
   102  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   103  		if ms.LoadMessageInfo() == nil {
   104  			ms.StoreMessageInfo(mi)
   105  		}
   106  		return ms
   107  	}
   108  	return mi.MessageOf(x)
   109  }
   110  
   111  // Deprecated: Use SymbolResponse.ProtoReflect.Descriptor instead.
   112  func (*SymbolResponse) Descriptor() ([]byte, []int) {
   113  	return file_token_service_config_erc20_config_erc20_proto_rawDescGZIP(), []int{1}
   114  }
   115  
   116  func (x *SymbolResponse) GetSymbol() string {
   117  	if x != nil {
   118  		return x.Symbol
   119  	}
   120  	return ""
   121  }
   122  
   123  type DecimalsResponse struct {
   124  	state         protoimpl.MessageState
   125  	sizeCache     protoimpl.SizeCache
   126  	unknownFields protoimpl.UnknownFields
   127  
   128  	Decimals uint32 `protobuf:"varint,1,opt,name=decimals,proto3" json:"decimals,omitempty"`
   129  }
   130  
   131  func (x *DecimalsResponse) Reset() {
   132  	*x = DecimalsResponse{}
   133  	if protoimpl.UnsafeEnabled {
   134  		mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[2]
   135  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   136  		ms.StoreMessageInfo(mi)
   137  	}
   138  }
   139  
   140  func (x *DecimalsResponse) String() string {
   141  	return protoimpl.X.MessageStringOf(x)
   142  }
   143  
   144  func (*DecimalsResponse) ProtoMessage() {}
   145  
   146  func (x *DecimalsResponse) ProtoReflect() protoreflect.Message {
   147  	mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[2]
   148  	if protoimpl.UnsafeEnabled && x != nil {
   149  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   150  		if ms.LoadMessageInfo() == nil {
   151  			ms.StoreMessageInfo(mi)
   152  		}
   153  		return ms
   154  	}
   155  	return mi.MessageOf(x)
   156  }
   157  
   158  // Deprecated: Use DecimalsResponse.ProtoReflect.Descriptor instead.
   159  func (*DecimalsResponse) Descriptor() ([]byte, []int) {
   160  	return file_token_service_config_erc20_config_erc20_proto_rawDescGZIP(), []int{2}
   161  }
   162  
   163  func (x *DecimalsResponse) GetDecimals() uint32 {
   164  	if x != nil {
   165  		return x.Decimals
   166  	}
   167  	return 0
   168  }
   169  
   170  type TotalSupplyResponse struct {
   171  	state         protoimpl.MessageState
   172  	sizeCache     protoimpl.SizeCache
   173  	unknownFields protoimpl.UnknownFields
   174  
   175  	TotalSupply uint64 `protobuf:"varint,1,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"`
   176  }
   177  
   178  func (x *TotalSupplyResponse) Reset() {
   179  	*x = TotalSupplyResponse{}
   180  	if protoimpl.UnsafeEnabled {
   181  		mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[3]
   182  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   183  		ms.StoreMessageInfo(mi)
   184  	}
   185  }
   186  
   187  func (x *TotalSupplyResponse) String() string {
   188  	return protoimpl.X.MessageStringOf(x)
   189  }
   190  
   191  func (*TotalSupplyResponse) ProtoMessage() {}
   192  
   193  func (x *TotalSupplyResponse) ProtoReflect() protoreflect.Message {
   194  	mi := &file_token_service_config_erc20_config_erc20_proto_msgTypes[3]
   195  	if protoimpl.UnsafeEnabled && x != nil {
   196  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   197  		if ms.LoadMessageInfo() == nil {
   198  			ms.StoreMessageInfo(mi)
   199  		}
   200  		return ms
   201  	}
   202  	return mi.MessageOf(x)
   203  }
   204  
   205  // Deprecated: Use TotalSupplyResponse.ProtoReflect.Descriptor instead.
   206  func (*TotalSupplyResponse) Descriptor() ([]byte, []int) {
   207  	return file_token_service_config_erc20_config_erc20_proto_rawDescGZIP(), []int{3}
   208  }
   209  
   210  func (x *TotalSupplyResponse) GetTotalSupply() uint64 {
   211  	if x != nil {
   212  		return x.TotalSupply
   213  	}
   214  	return 0
   215  }
   216  
   217  var File_token_service_config_erc20_config_erc20_proto protoreflect.FileDescriptor
   218  
   219  var file_token_service_config_erc20_config_erc20_proto_rawDesc = []byte{
   220  	0x0a, 0x2d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
   221  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x2f, 0x63, 0x6f, 0x6e,
   222  	0x66, 0x69, 0x67, 0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   223  	0x2b, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f,
   224  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
   225  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x1a, 0x1c, 0x67, 0x6f,
   226  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   227  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
   228  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74,
   229  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x0c, 0x4e, 0x61, 0x6d, 0x65, 0x52,
   230  	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   231  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x0e, 0x53,
   232  	0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a,
   233  	0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,
   234  	0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x22, 0x2e, 0x0a, 0x10, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c,
   235  	0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63,
   236  	0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63,
   237  	0x69, 0x6d, 0x61, 0x6c, 0x73, 0x22, 0x38, 0x0a, 0x13, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75,
   238  	0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c,
   239  	0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01,
   240  	0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x32,
   241  	0xf1, 0x03, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x52, 0x43, 0x32, 0x30, 0x53,
   242  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d,
   243  	0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   244  	0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x39, 0x2e, 0x65, 0x78, 0x61, 0x6d,
   245  	0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
   246  	0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   247  	0x67, 0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70,
   248  	0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x07, 0x12, 0x05, 0x2f, 0x6e,
   249  	0x61, 0x6d, 0x65, 0x12, 0x71, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c,
   250  	0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   251  	0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x3b, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70,
   252  	0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
   253  	0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   254  	0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x2e, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x52, 0x65, 0x73,
   255  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x09, 0x12, 0x07, 0x2f,
   256  	0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x77, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x65, 0x63,
   257  	0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   258  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x3d, 0x2e,
   259  	0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73,
   260  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x63,
   261  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x2e, 0x44, 0x65, 0x63, 0x69,
   262  	0x6d, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0x82, 0xd3,
   263  	0xe4, 0x93, 0x02, 0x0b, 0x12, 0x09, 0x2f, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12,
   264  	0x81, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70,
   265  	0x6c, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   266  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x40, 0x2e, 0x65, 0x78, 0x61,
   267  	0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76,
   268  	0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
   269  	0x69, 0x67, 0x5f, 0x65, 0x72, 0x63, 0x32, 0x30, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75,
   270  	0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x82, 0xd3,
   271  	0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x2d, 0x73, 0x75, 0x70,
   272  	0x70, 0x6c, 0x79, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   273  	0x6d, 0x2f, 0x73, 0x37, 0x74, 0x65, 0x63, 0x68, 0x6c, 0x61, 0x62, 0x2f, 0x63, 0x63, 0x6b, 0x69,
   274  	0x74, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
   275  	0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f,
   276  	0x65, 0x72, 0x63, 0x32, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   277  }
   278  
   279  var (
   280  	file_token_service_config_erc20_config_erc20_proto_rawDescOnce sync.Once
   281  	file_token_service_config_erc20_config_erc20_proto_rawDescData = file_token_service_config_erc20_config_erc20_proto_rawDesc
   282  )
   283  
   284  func file_token_service_config_erc20_config_erc20_proto_rawDescGZIP() []byte {
   285  	file_token_service_config_erc20_config_erc20_proto_rawDescOnce.Do(func() {
   286  		file_token_service_config_erc20_config_erc20_proto_rawDescData = protoimpl.X.CompressGZIP(file_token_service_config_erc20_config_erc20_proto_rawDescData)
   287  	})
   288  	return file_token_service_config_erc20_config_erc20_proto_rawDescData
   289  }
   290  
   291  var file_token_service_config_erc20_config_erc20_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   292  var file_token_service_config_erc20_config_erc20_proto_goTypes = []interface{}{
   293  	(*NameResponse)(nil),        // 0: examples.erc20_service.service.config_erc20.NameResponse
   294  	(*SymbolResponse)(nil),      // 1: examples.erc20_service.service.config_erc20.SymbolResponse
   295  	(*DecimalsResponse)(nil),    // 2: examples.erc20_service.service.config_erc20.DecimalsResponse
   296  	(*TotalSupplyResponse)(nil), // 3: examples.erc20_service.service.config_erc20.TotalSupplyResponse
   297  	(*emptypb.Empty)(nil),       // 4: google.protobuf.Empty
   298  }
   299  var file_token_service_config_erc20_config_erc20_proto_depIdxs = []int32{
   300  	4, // 0: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetName:input_type -> google.protobuf.Empty
   301  	4, // 1: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetSymbol:input_type -> google.protobuf.Empty
   302  	4, // 2: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetDecimals:input_type -> google.protobuf.Empty
   303  	4, // 3: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetTotalSupply:input_type -> google.protobuf.Empty
   304  	0, // 4: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetName:output_type -> examples.erc20_service.service.config_erc20.NameResponse
   305  	1, // 5: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetSymbol:output_type -> examples.erc20_service.service.config_erc20.SymbolResponse
   306  	2, // 6: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetDecimals:output_type -> examples.erc20_service.service.config_erc20.DecimalsResponse
   307  	3, // 7: examples.erc20_service.service.config_erc20.ConfigERC20Service.GetTotalSupply:output_type -> examples.erc20_service.service.config_erc20.TotalSupplyResponse
   308  	4, // [4:8] is the sub-list for method output_type
   309  	0, // [0:4] is the sub-list for method input_type
   310  	0, // [0:0] is the sub-list for extension type_name
   311  	0, // [0:0] is the sub-list for extension extendee
   312  	0, // [0:0] is the sub-list for field type_name
   313  }
   314  
   315  func init() { file_token_service_config_erc20_config_erc20_proto_init() }
   316  func file_token_service_config_erc20_config_erc20_proto_init() {
   317  	if File_token_service_config_erc20_config_erc20_proto != nil {
   318  		return
   319  	}
   320  	if !protoimpl.UnsafeEnabled {
   321  		file_token_service_config_erc20_config_erc20_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   322  			switch v := v.(*NameResponse); i {
   323  			case 0:
   324  				return &v.state
   325  			case 1:
   326  				return &v.sizeCache
   327  			case 2:
   328  				return &v.unknownFields
   329  			default:
   330  				return nil
   331  			}
   332  		}
   333  		file_token_service_config_erc20_config_erc20_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   334  			switch v := v.(*SymbolResponse); i {
   335  			case 0:
   336  				return &v.state
   337  			case 1:
   338  				return &v.sizeCache
   339  			case 2:
   340  				return &v.unknownFields
   341  			default:
   342  				return nil
   343  			}
   344  		}
   345  		file_token_service_config_erc20_config_erc20_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   346  			switch v := v.(*DecimalsResponse); i {
   347  			case 0:
   348  				return &v.state
   349  			case 1:
   350  				return &v.sizeCache
   351  			case 2:
   352  				return &v.unknownFields
   353  			default:
   354  				return nil
   355  			}
   356  		}
   357  		file_token_service_config_erc20_config_erc20_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   358  			switch v := v.(*TotalSupplyResponse); i {
   359  			case 0:
   360  				return &v.state
   361  			case 1:
   362  				return &v.sizeCache
   363  			case 2:
   364  				return &v.unknownFields
   365  			default:
   366  				return nil
   367  			}
   368  		}
   369  	}
   370  	type x struct{}
   371  	out := protoimpl.TypeBuilder{
   372  		File: protoimpl.DescBuilder{
   373  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   374  			RawDescriptor: file_token_service_config_erc20_config_erc20_proto_rawDesc,
   375  			NumEnums:      0,
   376  			NumMessages:   4,
   377  			NumExtensions: 0,
   378  			NumServices:   1,
   379  		},
   380  		GoTypes:           file_token_service_config_erc20_config_erc20_proto_goTypes,
   381  		DependencyIndexes: file_token_service_config_erc20_config_erc20_proto_depIdxs,
   382  		MessageInfos:      file_token_service_config_erc20_config_erc20_proto_msgTypes,
   383  	}.Build()
   384  	File_token_service_config_erc20_config_erc20_proto = out.File
   385  	file_token_service_config_erc20_config_erc20_proto_rawDesc = nil
   386  	file_token_service_config_erc20_config_erc20_proto_goTypes = nil
   387  	file_token_service_config_erc20_config_erc20_proto_depIdxs = nil
   388  }
   389  
   390  // Reference imports to suppress errors if they are not otherwise used.
   391  var _ context.Context
   392  var _ grpc.ClientConnInterface
   393  
   394  // This is a compile-time assertion to ensure that this generated file
   395  // is compatible with the grpc package it is being compiled against.
   396  const _ = grpc.SupportPackageIsVersion6
   397  
   398  // ConfigERC20ServiceClient is the client API for ConfigERC20Service service.
   399  //
   400  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   401  type ConfigERC20ServiceClient interface {
   402  	// Returns the name of the token.
   403  	GetName(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NameResponse, error)
   404  	// Returns the symbol of the token, usually a shorter version of the name.
   405  	GetSymbol(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SymbolResponse, error)
   406  	// Returns the number of decimals used to get its user representation.
   407  	// For example, if decimals equals 2, a balance of 505 tokens should be displayed to a user as 5,05 (505 / 10 ** 2).
   408  	GetDecimals(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DecimalsResponse, error)
   409  	// Returns the amount of tokens in existence.
   410  	GetTotalSupply(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TotalSupplyResponse, error)
   411  }
   412  
   413  type configERC20ServiceClient struct {
   414  	cc grpc.ClientConnInterface
   415  }
   416  
   417  func NewConfigERC20ServiceClient(cc grpc.ClientConnInterface) ConfigERC20ServiceClient {
   418  	return &configERC20ServiceClient{cc}
   419  }
   420  
   421  func (c *configERC20ServiceClient) GetName(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NameResponse, error) {
   422  	out := new(NameResponse)
   423  	err := c.cc.Invoke(ctx, "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetName", in, out, opts...)
   424  	if err != nil {
   425  		return nil, err
   426  	}
   427  	return out, nil
   428  }
   429  
   430  func (c *configERC20ServiceClient) GetSymbol(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SymbolResponse, error) {
   431  	out := new(SymbolResponse)
   432  	err := c.cc.Invoke(ctx, "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetSymbol", in, out, opts...)
   433  	if err != nil {
   434  		return nil, err
   435  	}
   436  	return out, nil
   437  }
   438  
   439  func (c *configERC20ServiceClient) GetDecimals(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DecimalsResponse, error) {
   440  	out := new(DecimalsResponse)
   441  	err := c.cc.Invoke(ctx, "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetDecimals", in, out, opts...)
   442  	if err != nil {
   443  		return nil, err
   444  	}
   445  	return out, nil
   446  }
   447  
   448  func (c *configERC20ServiceClient) GetTotalSupply(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TotalSupplyResponse, error) {
   449  	out := new(TotalSupplyResponse)
   450  	err := c.cc.Invoke(ctx, "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetTotalSupply", in, out, opts...)
   451  	if err != nil {
   452  		return nil, err
   453  	}
   454  	return out, nil
   455  }
   456  
   457  // ConfigERC20ServiceServer is the server API for ConfigERC20Service service.
   458  type ConfigERC20ServiceServer interface {
   459  	// Returns the name of the token.
   460  	GetName(context.Context, *emptypb.Empty) (*NameResponse, error)
   461  	// Returns the symbol of the token, usually a shorter version of the name.
   462  	GetSymbol(context.Context, *emptypb.Empty) (*SymbolResponse, error)
   463  	// Returns the number of decimals used to get its user representation.
   464  	// For example, if decimals equals 2, a balance of 505 tokens should be displayed to a user as 5,05 (505 / 10 ** 2).
   465  	GetDecimals(context.Context, *emptypb.Empty) (*DecimalsResponse, error)
   466  	// Returns the amount of tokens in existence.
   467  	GetTotalSupply(context.Context, *emptypb.Empty) (*TotalSupplyResponse, error)
   468  }
   469  
   470  // UnimplementedConfigERC20ServiceServer can be embedded to have forward compatible implementations.
   471  type UnimplementedConfigERC20ServiceServer struct {
   472  }
   473  
   474  func (*UnimplementedConfigERC20ServiceServer) GetName(context.Context, *emptypb.Empty) (*NameResponse, error) {
   475  	return nil, status.Errorf(codes.Unimplemented, "method GetName not implemented")
   476  }
   477  func (*UnimplementedConfigERC20ServiceServer) GetSymbol(context.Context, *emptypb.Empty) (*SymbolResponse, error) {
   478  	return nil, status.Errorf(codes.Unimplemented, "method GetSymbol not implemented")
   479  }
   480  func (*UnimplementedConfigERC20ServiceServer) GetDecimals(context.Context, *emptypb.Empty) (*DecimalsResponse, error) {
   481  	return nil, status.Errorf(codes.Unimplemented, "method GetDecimals not implemented")
   482  }
   483  func (*UnimplementedConfigERC20ServiceServer) GetTotalSupply(context.Context, *emptypb.Empty) (*TotalSupplyResponse, error) {
   484  	return nil, status.Errorf(codes.Unimplemented, "method GetTotalSupply not implemented")
   485  }
   486  
   487  func RegisterConfigERC20ServiceServer(s *grpc.Server, srv ConfigERC20ServiceServer) {
   488  	s.RegisterService(&_ConfigERC20Service_serviceDesc, srv)
   489  }
   490  
   491  func _ConfigERC20Service_GetName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   492  	in := new(emptypb.Empty)
   493  	if err := dec(in); err != nil {
   494  		return nil, err
   495  	}
   496  	if interceptor == nil {
   497  		return srv.(ConfigERC20ServiceServer).GetName(ctx, in)
   498  	}
   499  	info := &grpc.UnaryServerInfo{
   500  		Server:     srv,
   501  		FullMethod: "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetName",
   502  	}
   503  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   504  		return srv.(ConfigERC20ServiceServer).GetName(ctx, req.(*emptypb.Empty))
   505  	}
   506  	return interceptor(ctx, in, info, handler)
   507  }
   508  
   509  func _ConfigERC20Service_GetSymbol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   510  	in := new(emptypb.Empty)
   511  	if err := dec(in); err != nil {
   512  		return nil, err
   513  	}
   514  	if interceptor == nil {
   515  		return srv.(ConfigERC20ServiceServer).GetSymbol(ctx, in)
   516  	}
   517  	info := &grpc.UnaryServerInfo{
   518  		Server:     srv,
   519  		FullMethod: "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetSymbol",
   520  	}
   521  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   522  		return srv.(ConfigERC20ServiceServer).GetSymbol(ctx, req.(*emptypb.Empty))
   523  	}
   524  	return interceptor(ctx, in, info, handler)
   525  }
   526  
   527  func _ConfigERC20Service_GetDecimals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   528  	in := new(emptypb.Empty)
   529  	if err := dec(in); err != nil {
   530  		return nil, err
   531  	}
   532  	if interceptor == nil {
   533  		return srv.(ConfigERC20ServiceServer).GetDecimals(ctx, in)
   534  	}
   535  	info := &grpc.UnaryServerInfo{
   536  		Server:     srv,
   537  		FullMethod: "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetDecimals",
   538  	}
   539  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   540  		return srv.(ConfigERC20ServiceServer).GetDecimals(ctx, req.(*emptypb.Empty))
   541  	}
   542  	return interceptor(ctx, in, info, handler)
   543  }
   544  
   545  func _ConfigERC20Service_GetTotalSupply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   546  	in := new(emptypb.Empty)
   547  	if err := dec(in); err != nil {
   548  		return nil, err
   549  	}
   550  	if interceptor == nil {
   551  		return srv.(ConfigERC20ServiceServer).GetTotalSupply(ctx, in)
   552  	}
   553  	info := &grpc.UnaryServerInfo{
   554  		Server:     srv,
   555  		FullMethod: "/examples.erc20_service.service.config_erc20.ConfigERC20Service/GetTotalSupply",
   556  	}
   557  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   558  		return srv.(ConfigERC20ServiceServer).GetTotalSupply(ctx, req.(*emptypb.Empty))
   559  	}
   560  	return interceptor(ctx, in, info, handler)
   561  }
   562  
   563  var _ConfigERC20Service_serviceDesc = grpc.ServiceDesc{
   564  	ServiceName: "examples.erc20_service.service.config_erc20.ConfigERC20Service",
   565  	HandlerType: (*ConfigERC20ServiceServer)(nil),
   566  	Methods: []grpc.MethodDesc{
   567  		{
   568  			MethodName: "GetName",
   569  			Handler:    _ConfigERC20Service_GetName_Handler,
   570  		},
   571  		{
   572  			MethodName: "GetSymbol",
   573  			Handler:    _ConfigERC20Service_GetSymbol_Handler,
   574  		},
   575  		{
   576  			MethodName: "GetDecimals",
   577  			Handler:    _ConfigERC20Service_GetDecimals_Handler,
   578  		},
   579  		{
   580  			MethodName: "GetTotalSupply",
   581  			Handler:    _ConfigERC20Service_GetTotalSupply_Handler,
   582  		},
   583  	},
   584  	Streams:  []grpc.StreamDesc{},
   585  	Metadata: "token/service/config_erc20/config_erc20.proto",
   586  }