WAWebProtobufsEphemeral.pb.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v6.31.1
  5. // source: waEphemeral/WAWebProtobufsEphemeral.proto
  6. package waEphemeral
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type EphemeralSetting struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Duration *int32 `protobuf:"fixed32,1,opt,name=duration" json:"duration,omitempty"`
  23. Timestamp *int64 `protobuf:"fixed64,2,opt,name=timestamp" json:"timestamp,omitempty"`
  24. unknownFields protoimpl.UnknownFields
  25. sizeCache protoimpl.SizeCache
  26. }
  27. func (x *EphemeralSetting) Reset() {
  28. *x = EphemeralSetting{}
  29. mi := &file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *EphemeralSetting) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*EphemeralSetting) ProtoMessage() {}
  37. func (x *EphemeralSetting) ProtoReflect() protoreflect.Message {
  38. mi := &file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use EphemeralSetting.ProtoReflect.Descriptor instead.
  49. func (*EphemeralSetting) Descriptor() ([]byte, []int) {
  50. return file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *EphemeralSetting) GetDuration() int32 {
  53. if x != nil && x.Duration != nil {
  54. return *x.Duration
  55. }
  56. return 0
  57. }
  58. func (x *EphemeralSetting) GetTimestamp() int64 {
  59. if x != nil && x.Timestamp != nil {
  60. return *x.Timestamp
  61. }
  62. return 0
  63. }
  64. var File_waEphemeral_WAWebProtobufsEphemeral_proto protoreflect.FileDescriptor
  65. const file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc = "" +
  66. "\n" +
  67. ")waEphemeral/WAWebProtobufsEphemeral.proto\x12\x17WAWebProtobufsEphemeral\"L\n" +
  68. "\x10EphemeralSetting\x12\x1a\n" +
  69. "\bduration\x18\x01 \x01(\x0fR\bduration\x12\x1c\n" +
  70. "\ttimestamp\x18\x02 \x01(\x10R\ttimestampB2Z0git.bobomao.top/joey/whatsmeow/proto/waEphemeral"
  71. var (
  72. file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescOnce sync.Once
  73. file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData []byte
  74. )
  75. func file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescGZIP() []byte {
  76. file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescOnce.Do(func() {
  77. file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc), len(file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc)))
  78. })
  79. return file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData
  80. }
  81. var file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  82. var file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes = []any{
  83. (*EphemeralSetting)(nil), // 0: WAWebProtobufsEphemeral.EphemeralSetting
  84. }
  85. var file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs = []int32{
  86. 0, // [0:0] is the sub-list for method output_type
  87. 0, // [0:0] is the sub-list for method input_type
  88. 0, // [0:0] is the sub-list for extension type_name
  89. 0, // [0:0] is the sub-list for extension extendee
  90. 0, // [0:0] is the sub-list for field type_name
  91. }
  92. func init() { file_waEphemeral_WAWebProtobufsEphemeral_proto_init() }
  93. func file_waEphemeral_WAWebProtobufsEphemeral_proto_init() {
  94. if File_waEphemeral_WAWebProtobufsEphemeral_proto != nil {
  95. return
  96. }
  97. type x struct{}
  98. out := protoimpl.TypeBuilder{
  99. File: protoimpl.DescBuilder{
  100. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  101. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc), len(file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc)),
  102. NumEnums: 0,
  103. NumMessages: 1,
  104. NumExtensions: 0,
  105. NumServices: 0,
  106. },
  107. GoTypes: file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes,
  108. DependencyIndexes: file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs,
  109. MessageInfos: file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes,
  110. }.Build()
  111. File_waEphemeral_WAWebProtobufsEphemeral_proto = out.File
  112. file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes = nil
  113. file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs = nil
  114. }