This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalias.pb.go
99 lines (85 loc) · 3.66 KB
/
alias.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: alias.proto
package aliasgo
import (
cryptogo "aletheiaware.com/cryptogo"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Alias struct {
Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
PublicFormat cryptogo.PublicKeyFormat `protobuf:"varint,3,opt,name=public_format,json=publicFormat,proto3,enum=crypto.PublicKeyFormat" json:"public_format,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Alias) Reset() { *m = Alias{} }
func (m *Alias) String() string { return proto.CompactTextString(m) }
func (*Alias) ProtoMessage() {}
func (*Alias) Descriptor() ([]byte, []int) {
return fileDescriptor_e0327f1f90f50fc0, []int{0}
}
func (m *Alias) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Alias.Unmarshal(m, b)
}
func (m *Alias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Alias.Marshal(b, m, deterministic)
}
func (m *Alias) XXX_Merge(src proto.Message) {
xxx_messageInfo_Alias.Merge(m, src)
}
func (m *Alias) XXX_Size() int {
return xxx_messageInfo_Alias.Size(m)
}
func (m *Alias) XXX_DiscardUnknown() {
xxx_messageInfo_Alias.DiscardUnknown(m)
}
var xxx_messageInfo_Alias proto.InternalMessageInfo
func (m *Alias) GetAlias() string {
if m != nil {
return m.Alias
}
return ""
}
func (m *Alias) GetPublicKey() []byte {
if m != nil {
return m.PublicKey
}
return nil
}
func (m *Alias) GetPublicFormat() cryptogo.PublicKeyFormat {
if m != nil {
return m.PublicFormat
}
return cryptogo.PublicKeyFormat_UNKNOWN_PUBLIC_KEY_FORMAT
}
func init() {
proto.RegisterType((*Alias)(nil), "alias.Alias")
}
func init() { proto.RegisterFile("alias.proto", fileDescriptor_e0327f1f90f50fc0) }
var fileDescriptor_e0327f1f90f50fc0 = []byte{
// 181 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4e, 0xcc, 0xc9, 0x4c,
0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x73, 0xa4, 0x78, 0x92, 0x8b, 0x2a,
0x0b, 0x4a, 0xf2, 0x21, 0x82, 0x4a, 0x55, 0x5c, 0xac, 0x8e, 0x20, 0x61, 0x21, 0x11, 0x2e, 0x88,
0xbc, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x84, 0x23, 0x24, 0xcb, 0xc5, 0x55, 0x50, 0x9a,
0x94, 0x93, 0x99, 0x1c, 0x9f, 0x9d, 0x5a, 0x29, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x13, 0xc4, 0x09,
0x11, 0xf1, 0x4e, 0xad, 0x14, 0xb2, 0xe1, 0xe2, 0x85, 0x4a, 0xa7, 0xe5, 0x17, 0xe5, 0x26, 0x96,
0x48, 0x30, 0x2b, 0x30, 0x6a, 0xf0, 0x19, 0x89, 0xeb, 0x41, 0xed, 0x08, 0x80, 0xa9, 0x74, 0x03,
0x4b, 0x07, 0xf1, 0x40, 0x54, 0x43, 0x78, 0x4e, 0x76, 0x5c, 0x62, 0xc9, 0xf9, 0xb9, 0x7a, 0x89,
0x39, 0xa9, 0x25, 0x19, 0xa9, 0x99, 0x89, 0xe5, 0x89, 0x45, 0xa9, 0x7a, 0x60, 0x6b, 0x9d, 0xb8,
0xc0, 0x6e, 0x0a, 0x00, 0xb9, 0x30, 0x4a, 0x02, 0x45, 0x3e, 0x39, 0x3f, 0x57, 0x1f, 0xac, 0x26,
0x3d, 0x3f, 0x89, 0x0d, 0xec, 0x05, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x75, 0xe6,
0xec, 0xe6, 0x00, 0x00, 0x00,
}