github.com/epsagon/epsagon-go@v1.39.0/protocol/timestamp.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: timestamp.proto
     3  
     4  package protocol
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    22  
    23  type Timestamp struct {
    24  	Seconds              int64    `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
    25  	Nanos                int32    `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
    26  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    27  	XXX_unrecognized     []byte   `json:"-"`
    28  	XXX_sizecache        int32    `json:"-"`
    29  }
    30  
    31  func (m *Timestamp) Reset()         { *m = Timestamp{} }
    32  func (m *Timestamp) String() string { return proto.CompactTextString(m) }
    33  func (*Timestamp) ProtoMessage()    {}
    34  func (*Timestamp) Descriptor() ([]byte, []int) {
    35  	return fileDescriptor_edac929d8ae1e24f, []int{0}
    36  }
    37  
    38  func (m *Timestamp) XXX_Unmarshal(b []byte) error {
    39  	return xxx_messageInfo_Timestamp.Unmarshal(m, b)
    40  }
    41  func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    42  	return xxx_messageInfo_Timestamp.Marshal(b, m, deterministic)
    43  }
    44  func (m *Timestamp) XXX_Merge(src proto.Message) {
    45  	xxx_messageInfo_Timestamp.Merge(m, src)
    46  }
    47  func (m *Timestamp) XXX_Size() int {
    48  	return xxx_messageInfo_Timestamp.Size(m)
    49  }
    50  func (m *Timestamp) XXX_DiscardUnknown() {
    51  	xxx_messageInfo_Timestamp.DiscardUnknown(m)
    52  }
    53  
    54  var xxx_messageInfo_Timestamp proto.InternalMessageInfo
    55  
    56  func (m *Timestamp) GetSeconds() int64 {
    57  	if m != nil {
    58  		return m.Seconds
    59  	}
    60  	return 0
    61  }
    62  
    63  func (m *Timestamp) GetNanos() int32 {
    64  	if m != nil {
    65  		return m.Nanos
    66  	}
    67  	return 0
    68  }
    69  
    70  func init() {
    71  	proto.RegisterType((*Timestamp)(nil), "protocol.Timestamp")
    72  }
    73  
    74  func init() { proto.RegisterFile("timestamp.proto", fileDescriptor_edac929d8ae1e24f) }
    75  
    76  var fileDescriptor_edac929d8ae1e24f = []byte{
    77  	// 97 bytes of a gzipped FileDescriptorProto
    78  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2f, 0xc9, 0xcc, 0x4d,
    79  	0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xc9,
    80  	0xf9, 0x39, 0x4a, 0xd6, 0x5c, 0x9c, 0x21, 0x30, 0x49, 0x21, 0x09, 0x2e, 0xf6, 0xe2, 0xd4, 0xe4,
    81  	0xfc, 0xbc, 0x94, 0x62, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x18, 0x57, 0x48, 0x84, 0x8b,
    82  	0x35, 0x2f, 0x31, 0x2f, 0xbf, 0x58, 0x82, 0x49, 0x81, 0x51, 0x83, 0x35, 0x08, 0xc2, 0x49, 0x62,
    83  	0x03, 0x1b, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x41, 0x20, 0x05, 0x1a, 0x60, 0x00, 0x00,
    84  	0x00,
    85  }