github.com/status-im/status-go@v1.1.0/protocol/protobuf/enums.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.20.3
     5  // source: enums.proto
     6  
     7  package protobuf
     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 MessageType int32
    24  
    25  const (
    26  	MessageType_UNKNOWN_MESSAGE_TYPE MessageType = 0
    27  	MessageType_ONE_TO_ONE           MessageType = 1
    28  	MessageType_PUBLIC_GROUP         MessageType = 2
    29  	MessageType_PRIVATE_GROUP        MessageType = 3
    30  	// Only local
    31  	MessageType_SYSTEM_MESSAGE_PRIVATE_GROUP MessageType = 4
    32  	MessageType_COMMUNITY_CHAT               MessageType = 5
    33  	// Only local
    34  	MessageType_SYSTEM_MESSAGE_GAP MessageType = 6
    35  )
    36  
    37  // Enum value maps for MessageType.
    38  var (
    39  	MessageType_name = map[int32]string{
    40  		0: "UNKNOWN_MESSAGE_TYPE",
    41  		1: "ONE_TO_ONE",
    42  		2: "PUBLIC_GROUP",
    43  		3: "PRIVATE_GROUP",
    44  		4: "SYSTEM_MESSAGE_PRIVATE_GROUP",
    45  		5: "COMMUNITY_CHAT",
    46  		6: "SYSTEM_MESSAGE_GAP",
    47  	}
    48  	MessageType_value = map[string]int32{
    49  		"UNKNOWN_MESSAGE_TYPE":         0,
    50  		"ONE_TO_ONE":                   1,
    51  		"PUBLIC_GROUP":                 2,
    52  		"PRIVATE_GROUP":                3,
    53  		"SYSTEM_MESSAGE_PRIVATE_GROUP": 4,
    54  		"COMMUNITY_CHAT":               5,
    55  		"SYSTEM_MESSAGE_GAP":           6,
    56  	}
    57  )
    58  
    59  func (x MessageType) Enum() *MessageType {
    60  	p := new(MessageType)
    61  	*p = x
    62  	return p
    63  }
    64  
    65  func (x MessageType) String() string {
    66  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    67  }
    68  
    69  func (MessageType) Descriptor() protoreflect.EnumDescriptor {
    70  	return file_enums_proto_enumTypes[0].Descriptor()
    71  }
    72  
    73  func (MessageType) Type() protoreflect.EnumType {
    74  	return &file_enums_proto_enumTypes[0]
    75  }
    76  
    77  func (x MessageType) Number() protoreflect.EnumNumber {
    78  	return protoreflect.EnumNumber(x)
    79  }
    80  
    81  // Deprecated: Use MessageType.Descriptor instead.
    82  func (MessageType) EnumDescriptor() ([]byte, []int) {
    83  	return file_enums_proto_rawDescGZIP(), []int{0}
    84  }
    85  
    86  type ImageFormat int32
    87  
    88  const (
    89  	ImageFormat_UNKNOWN_IMAGE_FORMAT ImageFormat = 0
    90  	// Raster image files is payload data that can be read as a raster image
    91  	ImageFormat_PNG  ImageFormat = 1
    92  	ImageFormat_JPEG ImageFormat = 2
    93  	ImageFormat_WEBP ImageFormat = 3
    94  	ImageFormat_GIF  ImageFormat = 4
    95  )
    96  
    97  // Enum value maps for ImageFormat.
    98  var (
    99  	ImageFormat_name = map[int32]string{
   100  		0: "UNKNOWN_IMAGE_FORMAT",
   101  		1: "PNG",
   102  		2: "JPEG",
   103  		3: "WEBP",
   104  		4: "GIF",
   105  	}
   106  	ImageFormat_value = map[string]int32{
   107  		"UNKNOWN_IMAGE_FORMAT": 0,
   108  		"PNG":                  1,
   109  		"JPEG":                 2,
   110  		"WEBP":                 3,
   111  		"GIF":                  4,
   112  	}
   113  )
   114  
   115  func (x ImageFormat) Enum() *ImageFormat {
   116  	p := new(ImageFormat)
   117  	*p = x
   118  	return p
   119  }
   120  
   121  func (x ImageFormat) String() string {
   122  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   123  }
   124  
   125  func (ImageFormat) Descriptor() protoreflect.EnumDescriptor {
   126  	return file_enums_proto_enumTypes[1].Descriptor()
   127  }
   128  
   129  func (ImageFormat) Type() protoreflect.EnumType {
   130  	return &file_enums_proto_enumTypes[1]
   131  }
   132  
   133  func (x ImageFormat) Number() protoreflect.EnumNumber {
   134  	return protoreflect.EnumNumber(x)
   135  }
   136  
   137  // Deprecated: Use ImageFormat.Descriptor instead.
   138  func (ImageFormat) EnumDescriptor() ([]byte, []int) {
   139  	return file_enums_proto_rawDescGZIP(), []int{1}
   140  }
   141  
   142  type CommunityTokenType int32
   143  
   144  const (
   145  	CommunityTokenType_UNKNOWN_TOKEN_TYPE CommunityTokenType = 0
   146  	CommunityTokenType_ERC20              CommunityTokenType = 1
   147  	CommunityTokenType_ERC721             CommunityTokenType = 2
   148  	CommunityTokenType_ENS                CommunityTokenType = 3
   149  )
   150  
   151  // Enum value maps for CommunityTokenType.
   152  var (
   153  	CommunityTokenType_name = map[int32]string{
   154  		0: "UNKNOWN_TOKEN_TYPE",
   155  		1: "ERC20",
   156  		2: "ERC721",
   157  		3: "ENS",
   158  	}
   159  	CommunityTokenType_value = map[string]int32{
   160  		"UNKNOWN_TOKEN_TYPE": 0,
   161  		"ERC20":              1,
   162  		"ERC721":             2,
   163  		"ENS":                3,
   164  	}
   165  )
   166  
   167  func (x CommunityTokenType) Enum() *CommunityTokenType {
   168  	p := new(CommunityTokenType)
   169  	*p = x
   170  	return p
   171  }
   172  
   173  func (x CommunityTokenType) String() string {
   174  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   175  }
   176  
   177  func (CommunityTokenType) Descriptor() protoreflect.EnumDescriptor {
   178  	return file_enums_proto_enumTypes[2].Descriptor()
   179  }
   180  
   181  func (CommunityTokenType) Type() protoreflect.EnumType {
   182  	return &file_enums_proto_enumTypes[2]
   183  }
   184  
   185  func (x CommunityTokenType) Number() protoreflect.EnumNumber {
   186  	return protoreflect.EnumNumber(x)
   187  }
   188  
   189  // Deprecated: Use CommunityTokenType.Descriptor instead.
   190  func (CommunityTokenType) EnumDescriptor() ([]byte, []int) {
   191  	return file_enums_proto_rawDescGZIP(), []int{2}
   192  }
   193  
   194  var File_enums_proto protoreflect.FileDescriptor
   195  
   196  var file_enums_proto_rawDesc = []byte{
   197  	0x0a, 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70,
   198  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2a, 0xaa, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73,
   199  	0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
   200  	0x57, 0x4e, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10,
   201  	0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x4e, 0x45, 0x5f, 0x54, 0x4f, 0x5f, 0x4f, 0x4e, 0x45, 0x10,
   202  	0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x47, 0x52, 0x4f, 0x55,
   203  	0x50, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x47,
   204  	0x52, 0x4f, 0x55, 0x50, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d,
   205  	0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45,
   206  	0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d,
   207  	0x55, 0x4e, 0x49, 0x54, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12,
   208  	0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x47,
   209  	0x41, 0x50, 0x10, 0x06, 0x2a, 0x4d, 0x0a, 0x0b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x6f, 0x72,
   210  	0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49,
   211  	0x4d, 0x41, 0x47, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x10, 0x00, 0x12, 0x07, 0x0a,
   212  	0x03, 0x50, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x50, 0x45, 0x47, 0x10, 0x02,
   213  	0x12, 0x08, 0x0a, 0x04, 0x57, 0x45, 0x42, 0x50, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x49,
   214  	0x46, 0x10, 0x04, 0x2a, 0x4c, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79,
   215  	0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x55, 0x4e, 0x4b,
   216  	0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10,
   217  	0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x43, 0x32, 0x30, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
   218  	0x45, 0x52, 0x43, 0x37, 0x32, 0x31, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4e, 0x53, 0x10,
   219  	0x03, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   220  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   221  }
   222  
   223  var (
   224  	file_enums_proto_rawDescOnce sync.Once
   225  	file_enums_proto_rawDescData = file_enums_proto_rawDesc
   226  )
   227  
   228  func file_enums_proto_rawDescGZIP() []byte {
   229  	file_enums_proto_rawDescOnce.Do(func() {
   230  		file_enums_proto_rawDescData = protoimpl.X.CompressGZIP(file_enums_proto_rawDescData)
   231  	})
   232  	return file_enums_proto_rawDescData
   233  }
   234  
   235  var file_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   236  var file_enums_proto_goTypes = []interface{}{
   237  	(MessageType)(0),        // 0: protobuf.MessageType
   238  	(ImageFormat)(0),        // 1: protobuf.ImageFormat
   239  	(CommunityTokenType)(0), // 2: protobuf.CommunityTokenType
   240  }
   241  var file_enums_proto_depIdxs = []int32{
   242  	0, // [0:0] is the sub-list for method output_type
   243  	0, // [0:0] is the sub-list for method input_type
   244  	0, // [0:0] is the sub-list for extension type_name
   245  	0, // [0:0] is the sub-list for extension extendee
   246  	0, // [0:0] is the sub-list for field type_name
   247  }
   248  
   249  func init() { file_enums_proto_init() }
   250  func file_enums_proto_init() {
   251  	if File_enums_proto != nil {
   252  		return
   253  	}
   254  	type x struct{}
   255  	out := protoimpl.TypeBuilder{
   256  		File: protoimpl.DescBuilder{
   257  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   258  			RawDescriptor: file_enums_proto_rawDesc,
   259  			NumEnums:      3,
   260  			NumMessages:   0,
   261  			NumExtensions: 0,
   262  			NumServices:   0,
   263  		},
   264  		GoTypes:           file_enums_proto_goTypes,
   265  		DependencyIndexes: file_enums_proto_depIdxs,
   266  		EnumInfos:         file_enums_proto_enumTypes,
   267  	}.Build()
   268  	File_enums_proto = out.File
   269  	file_enums_proto_rawDesc = nil
   270  	file_enums_proto_goTypes = nil
   271  	file_enums_proto_depIdxs = nil
   272  }