github.com/Rookout/GoSDK@v0.1.48/pkg/protobuf/envelope.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.11.0
     5  // source: envelope.proto
     6  
     7  package protobuf2
     8  
     9  import (
    10  	any1 "github.com/golang/protobuf/ptypes/any"
    11  	timestamp "github.com/golang/protobuf/ptypes/timestamp"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  type Envelope struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
    31  	Msg       *any1.Any            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
    32  }
    33  
    34  func (x *Envelope) Reset() {
    35  	*x = Envelope{}
    36  	if protoimpl.UnsafeEnabled {
    37  		mi := &file_envelope_proto_msgTypes[0]
    38  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    39  		ms.StoreMessageInfo(mi)
    40  	}
    41  }
    42  
    43  func (x *Envelope) String() string {
    44  	return protoimpl.X.MessageStringOf(x)
    45  }
    46  
    47  func (*Envelope) ProtoMessage() {}
    48  
    49  func (x *Envelope) ProtoReflect() protoreflect.Message {
    50  	mi := &file_envelope_proto_msgTypes[0]
    51  	if protoimpl.UnsafeEnabled && x != nil {
    52  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    53  		if ms.LoadMessageInfo() == nil {
    54  			ms.StoreMessageInfo(mi)
    55  		}
    56  		return ms
    57  	}
    58  	return mi.MessageOf(x)
    59  }
    60  
    61  
    62  func (*Envelope) Descriptor() ([]byte, []int) {
    63  	return file_envelope_proto_rawDescGZIP(), []int{0}
    64  }
    65  
    66  func (x *Envelope) GetTimestamp() *timestamp.Timestamp {
    67  	if x != nil {
    68  		return x.Timestamp
    69  	}
    70  	return nil
    71  }
    72  
    73  func (x *Envelope) GetMsg() *any1.Any {
    74  	if x != nil {
    75  		return x.Msg
    76  	}
    77  	return nil
    78  }
    79  
    80  var File_envelope_proto protoreflect.FileDescriptor
    81  
    82  var file_envelope_proto_rawDesc = []byte{
    83  	0x0a, 0x0e, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
    84  	0x12, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x6f, 0x6f, 0x6b, 0x6f, 0x75, 0x74, 0x1a, 0x1f, 0x67,
    85  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
    86  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
    87  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
    88  	0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x08, 0x45, 0x6e, 0x76,
    89  	0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
    90  	0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
    91  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
    92  	0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,
    93  	0x26, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
    94  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
    95  	0x6e, 0x79, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x42, 0x4f, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x72,
    96  	0x6f, 0x6f, 0x6b, 0x6f, 0x75, 0x74, 0x2e, 0x72, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
    97  	0x6f, 0x62, 0x75, 0x66, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
    98  	0x2f, 0x52, 0x6f, 0x6f, 0x6b, 0x6f, 0x75, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d,
    99  	0x65, 0x6e, 0x74, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70,
   100  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   101  }
   102  
   103  var (
   104  	file_envelope_proto_rawDescOnce sync.Once
   105  	file_envelope_proto_rawDescData = file_envelope_proto_rawDesc
   106  )
   107  
   108  func file_envelope_proto_rawDescGZIP() []byte {
   109  	file_envelope_proto_rawDescOnce.Do(func() {
   110  		file_envelope_proto_rawDescData = protoimpl.X.CompressGZIP(file_envelope_proto_rawDescData)
   111  	})
   112  	return file_envelope_proto_rawDescData
   113  }
   114  
   115  var file_envelope_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   116  var file_envelope_proto_goTypes = []interface{}{
   117  	(*Envelope)(nil),            
   118  	(*timestamp.Timestamp)(nil), 
   119  	(*any1.Any)(nil),            
   120  }
   121  var file_envelope_proto_depIdxs = []int32{
   122  	1, 
   123  	2, 
   124  	2, 
   125  	2, 
   126  	2, 
   127  	2, 
   128  	0, 
   129  }
   130  
   131  func init() { file_envelope_proto_init() }
   132  func file_envelope_proto_init() {
   133  	if File_envelope_proto != nil {
   134  		return
   135  	}
   136  	if !protoimpl.UnsafeEnabled {
   137  		file_envelope_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   138  			switch v := v.(*Envelope); i {
   139  			case 0:
   140  				return &v.state
   141  			case 1:
   142  				return &v.sizeCache
   143  			case 2:
   144  				return &v.unknownFields
   145  			default:
   146  				return nil
   147  			}
   148  		}
   149  	}
   150  	type x struct{}
   151  	out := protoimpl.TypeBuilder{
   152  		File: protoimpl.DescBuilder{
   153  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   154  			RawDescriptor: file_envelope_proto_rawDesc,
   155  			NumEnums:      0,
   156  			NumMessages:   1,
   157  			NumExtensions: 0,
   158  			NumServices:   0,
   159  		},
   160  		GoTypes:           file_envelope_proto_goTypes,
   161  		DependencyIndexes: file_envelope_proto_depIdxs,
   162  		MessageInfos:      file_envelope_proto_msgTypes,
   163  	}.Build()
   164  	File_envelope_proto = out.File
   165  	file_envelope_proto_rawDesc = nil
   166  	file_envelope_proto_goTypes = nil
   167  	file_envelope_proto_depIdxs = nil
   168  }