From d3ade23665cc3ae4dca188bb1ae0f081f2cd448e Mon Sep 17 00:00:00 2001 From: IntGrah <148660026+IntGrah@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:17:32 +0100 Subject: [PATCH] Bump go.mau.fi/whatsmeow v0.0.0-20240625083845-6acab596dd8c --- bridge/whatsappmulti/handlers.go | 26 +- bridge/whatsappmulti/helpers.go | 6 +- bridge/whatsappmulti/whatsapp.go | 24 +- go.mod | 26 +- go.sum | 142 +- vendor/filippo.io/edwards25519/README.md | 2 +- vendor/filippo.io/edwards25519/doc.go | 4 +- .../filippo.io/edwards25519/edwards25519.go | 13 +- vendor/filippo.io/edwards25519/extra.go | 10 +- .../filippo.io/edwards25519/field/fe_amd64.go | 3 + .../filippo.io/edwards25519/field/fe_amd64.s | 1 + .../filippo.io/edwards25519/field/fe_arm64.s | 2 +- .../filippo.io/edwards25519/field/fe_extra.go | 2 +- .../edwards25519/field/fe_generic.go | 4 +- vendor/filippo.io/edwards25519/scalar.go | 949 +- vendor/filippo.io/edwards25519/scalar_fiat.go | 1147 + vendor/filippo.io/edwards25519/tables.go | 6 +- .../gorilla/websocket/.editorconfig | 20 - .../github.com/gorilla/websocket/.gitignore | 26 +- .../gorilla/websocket/.golangci.yml | 3 - vendor/github.com/gorilla/websocket/AUTHORS | 9 + vendor/github.com/gorilla/websocket/LICENSE | 39 +- vendor/github.com/gorilla/websocket/Makefile | 34 - vendor/github.com/gorilla/websocket/README.md | 15 +- vendor/github.com/gorilla/websocket/client.go | 26 +- .../gorilla/websocket/compression.go | 9 +- vendor/github.com/gorilla/websocket/conn.go | 75 +- vendor/github.com/gorilla/websocket/mask.go | 4 - vendor/github.com/gorilla/websocket/proxy.go | 17 +- vendor/github.com/gorilla/websocket/server.go | 38 +- .../gorilla/websocket/tls_handshake.go | 3 + .../gorilla/websocket/tls_handshake_116.go | 21 + vendor/github.com/gorilla/websocket/util.go | 4 +- .../gorilla/websocket/x_net_proxy.go | 473 + vendor/github.com/rs/zerolog/README.md | 18 +- vendor/github.com/rs/zerolog/array.go | 6 +- vendor/github.com/rs/zerolog/console.go | 91 +- vendor/github.com/rs/zerolog/context.go | 22 +- vendor/github.com/rs/zerolog/encoder.go | 12 +- vendor/github.com/rs/zerolog/event.go | 14 +- vendor/github.com/rs/zerolog/fields.go | 18 +- vendor/github.com/rs/zerolog/globals.go | 24 +- .../rs/zerolog/internal/cbor/decode_stream.go | 2 +- .../rs/zerolog/internal/cbor/time.go | 10 +- .../rs/zerolog/internal/cbor/types.go | 12 +- .../rs/zerolog/internal/json/time.go | 10 +- .../rs/zerolog/internal/json/types.go | 45 +- vendor/github.com/rs/zerolog/log.go | 2 +- vendor/github.com/rs/zerolog/sampler.go | 2 +- .../serialize/ProtoBufferSerializer.go | 2 +- vendor/go.mau.fi/whatsmeow/appstate.go | 4 +- vendor/go.mau.fi/whatsmeow/appstate/encode.go | 8 +- .../go.mau.fi/whatsmeow/armadillomessage.go | 8 +- .../whatsmeow/binary/armadillo/.gitignore | 1 - .../binary/armadillo/waCommon/WACommon.proto | 41 - .../WAConsumerApplication.proto | 234 - .../waMediaTransport/WAMediaTransport.proto | 154 - .../waMsgApplication/WAMsgApplication.proto | 87 - .../waMsgTransport/WAMsgTransport.proto | 75 - .../whatsmeow/binary/proto/def.pb.go | 34280 ---------------- .../whatsmeow/binary/proto/def.pb.raw | Bin 92065 -> 0 bytes .../whatsmeow/binary/proto/def.proto | 3175 -- .../go.mau.fi/whatsmeow/binary/proto/doc.go | 6 +- .../whatsmeow/binary/proto/generatelegacy.py | 69 + .../whatsmeow/binary/proto/generatelegacy.sh | 4 + .../whatsmeow/binary/proto/legacy.go | 1084 + .../whatsmeow/binary/proto/old-enums.txt | 631 + .../whatsmeow/binary/proto/old-types.txt | 421 + .../go.mau.fi/whatsmeow/connectionevents.go | 2 +- vendor/go.mau.fi/whatsmeow/download.go | 24 +- vendor/go.mau.fi/whatsmeow/mediaretry.go | 2 +- vendor/go.mau.fi/whatsmeow/msgsecret.go | 12 +- vendor/go.mau.fi/whatsmeow/pair.go | 2 +- vendor/go.mau.fi/whatsmeow/proto/.gitignore | 1 + .../armadilloutil/decode.go | 4 +- .../{binary/armadillo => proto}/extra.go | 8 +- .../{binary/armadillo => proto}/generate.sh | 5 +- .../armadillo => proto}/parse-proto.js | 198 +- .../whatsmeow/proto/waAdv/WAAdv.pb.go | 562 + .../whatsmeow/proto/waAdv/WAAdv.pb.raw | Bin 0 -> 1006 bytes .../whatsmeow/proto/waAdv/WAAdv.proto | 43 + .../WAArmadilloApplication.pb.go | 531 +- .../WAArmadilloApplication.pb.raw | Bin 7699 -> 7848 bytes .../WAArmadilloApplication.proto | 109 +- .../waArmadilloApplication/extra.go | 0 .../waArmadilloXMA/WAArmadilloXMA.pb.go | 238 +- .../waArmadilloXMA/WAArmadilloXMA.pb.raw | Bin 3235 -> 3369 bytes .../waArmadilloXMA/WAArmadilloXMA.proto | 67 +- .../whatsmeow/proto/waCert/WACert.pb.go | 469 + .../whatsmeow/proto/waCert/WACert.pb.raw | 23 + .../whatsmeow/proto/waCert/WACert.proto | 34 + .../WAProtobufsChatLockSettings.pb.go | 150 + .../WAProtobufsChatLockSettings.pb.raw | 7 + .../WAProtobufsChatLockSettings.proto | 10 + .../waCommon/WACommon.pb.go | 108 +- .../waCommon/WACommon.pb.raw | Bin 708 -> 680 bytes .../whatsmeow/proto/waCommon/WACommon.proto | 41 + .../whatsmeow/proto/waCommon/legacy.go | 11 + .../WAWebProtobufsCompanionReg.pb.go | 744 + .../WAWebProtobufsCompanionReg.pb.raw | Bin 0 -> 1999 bytes .../WAWebProtobufsCompanionReg.proto | 76 + .../WAConsumerApplication.pb.go | 399 +- .../WAConsumerApplication.pb.raw | Bin 7142 -> 7094 bytes .../WAConsumerApplication.proto | 233 + .../waConsumerApplication/extra.go | 4 +- .../WAProtobufsDeviceCapabilities.pb.go | 202 + .../WAProtobufsDeviceCapabilities.pb.raw | Bin 0 -> 343 bytes .../WAProtobufsDeviceCapabilities.proto | 13 + .../proto/waE2E/WAWebProtobufsE2E.pb.go | 19122 +++++++++ .../proto/waE2E/WAWebProtobufsE2E.pb.raw | Bin 0 -> 54238 bytes .../proto/waE2E/WAWebProtobufsE2E.proto | 1725 + .../go.mau.fi/whatsmeow/proto/waE2E/legacy.go | 31 + .../waEphemeral/WAWebProtobufsEphemeral.pb.go | 147 + .../WAWebProtobufsEphemeral.pb.raw | 5 + .../waEphemeral/WAWebProtobufsEphemeral.proto | 8 + .../WAWebProtobufsHistorySync.pb.go | 2226 + .../WAWebProtobufsHistorySync.pb.raw | Bin 0 -> 7072 bytes .../WAWebProtobufsHistorySync.proto | 213 + .../whatsmeow/proto/waHistorySync/legacy.go | 11 + .../waMediaTransport/WAMediaTransport.pb.go | 763 +- .../waMediaTransport/WAMediaTransport.pb.raw | Bin 3855 -> 4766 bytes .../waMediaTransport/WAMediaTransport.proto | 186 + .../proto/waMmsRetry/WAMmsRetry.pb.go | 281 + .../proto/waMmsRetry/WAMmsRetry.pb.raw | Bin 0 -> 372 bytes .../proto/waMmsRetry/WAMmsRetry.proto | 20 + .../waMsgApplication/WAMsgApplication.pb.go | 162 +- .../waMsgApplication/WAMsgApplication.pb.raw | Bin 2726 -> 2707 bytes .../waMsgApplication/WAMsgApplication.proto | 87 + .../waMsgApplication/extra.go | 8 +- .../waMsgTransport/WAMsgTransport.pb.go | 114 +- .../waMsgTransport/WAMsgTransport.pb.raw | Bin 2398 -> 2379 bytes .../proto/waMsgTransport/WAMsgTransport.proto | 75 + .../waMsgTransport/extra.go | 4 +- .../waMultiDevice/WAMultiDevice.pb.go | 48 +- .../waMultiDevice/WAMultiDevice.pb.raw | Bin 1583 -> 1564 bytes .../waMultiDevice/WAMultiDevice.proto | 24 +- .../waMultiDevice/extra.go | 0 ...WAWebProtobufsQuickPromotionSurfaces.pb.go | 543 + ...AWebProtobufsQuickPromotionSurfaces.pb.raw | 33 + ...WAWebProtobufsQuickPromotionSurfaces.proto | 40 + .../proto/waServerSync/WAServerSync.pb.go | 972 + .../proto/waServerSync/WAServerSync.pb.raw | Bin 0 -> 1538 bytes .../proto/waServerSync/WAServerSync.proto | 72 + .../whatsmeow/proto/waServerSync/legacy.go | 31 + .../proto/waSyncAction/WASyncAction.pb.go | 5384 +++ .../proto/waSyncAction/WASyncAction.pb.raw | Bin 0 -> 12002 bytes .../proto/waSyncAction/WASyncAction.proto | 442 + .../WAProtobufsUserPassword.pb.go | 453 + .../WAProtobufsUserPassword.pb.raw | Bin 0 -> 752 bytes .../WAProtobufsUserPassword.proto | 33 + .../waVnameCert/WAWebProtobufsVnameCert.pb.go | 894 + .../WAWebProtobufsVnameCert.pb.raw | Bin 0 -> 1731 bytes .../waVnameCert/WAWebProtobufsVnameCert.proto | 72 + .../proto/waWa6/WAWebProtobufsWa6.pb.go | 2131 + .../proto/waWa6/WAWebProtobufsWa6.pb.raw | Bin 0 -> 5520 bytes .../proto/waWa6/WAWebProtobufsWa6.proto | 237 + .../proto/waWeb/WAWebProtobufsWeb.pb.go | 3957 ++ .../proto/waWeb/WAWebProtobufsWeb.pb.raw | Bin 0 -> 19254 bytes .../proto/waWeb/WAWebProtobufsWeb.proto | 546 + .../go.mau.fi/whatsmeow/proto/waWeb/legacy.go | 1 + vendor/go.mau.fi/whatsmeow/retry.go | 20 +- vendor/go.mau.fi/whatsmeow/send.go | 35 +- vendor/go.mau.fi/whatsmeow/sendfb.go | 32 +- .../whatsmeow/store/clientpayload.go | 4 +- .../whatsmeow/types/events/events.go | 24 +- vendor/go.mau.fi/whatsmeow/update.go | 108 +- vendor/golang.org/x/crypto/LICENSE | 4 +- vendor/golang.org/x/crypto/acme/http.go | 21 +- .../golang.org/x/crypto/acme/version_go112.go | 27 - vendor/golang.org/x/crypto/bcrypt/bcrypt.go | 2 +- vendor/golang.org/x/crypto/blowfish/cipher.go | 2 +- .../x/crypto/curve25519/curve25519.go | 39 +- .../x/crypto/curve25519/curve25519_compat.go | 105 - .../x/crypto/curve25519/curve25519_go120.go | 46 - .../x/crypto/curve25519/internal/field/README | 7 - .../x/crypto/curve25519/internal/field/fe.go | 416 - .../curve25519/internal/field/fe_amd64.go | 15 - .../curve25519/internal/field/fe_amd64.s | 378 - .../internal/field/fe_amd64_noasm.go | 11 - .../curve25519/internal/field/fe_arm64.go | 15 - .../curve25519/internal/field/fe_arm64.s | 42 - .../internal/field/fe_arm64_noasm.go | 11 - .../curve25519/internal/field/fe_generic.go | 264 - .../curve25519/internal/field/sync.checkpoint | 1 - .../crypto/curve25519/internal/field/sync.sh | 19 - vendor/golang.org/x/crypto/hkdf/hkdf.go | 2 +- .../x/crypto/nacl/secretbox/secretbox.go | 2 +- vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go | 2 +- .../x/crypto/salsa20/salsa/hsalsa20.go | 2 +- vendor/golang.org/x/crypto/scrypt/scrypt.go | 2 +- vendor/golang.org/x/crypto/ssh/client_auth.go | 4 + vendor/golang.org/x/crypto/ssh/doc.go | 2 +- vendor/golang.org/x/crypto/ssh/keys.go | 52 +- vendor/golang.org/x/crypto/ssh/server.go | 30 + vendor/golang.org/x/exp/LICENSE | 4 +- vendor/golang.org/x/exp/slices/sort.go | 4 +- vendor/golang.org/x/net/LICENSE | 4 +- vendor/golang.org/x/net/http2/http2.go | 19 +- vendor/golang.org/x/net/http2/server.go | 94 +- vendor/golang.org/x/net/http2/testsync.go | 331 - vendor/golang.org/x/net/http2/timer.go | 20 + vendor/golang.org/x/net/http2/transport.go | 314 +- .../x/net/http2/writesched_priority.go | 4 +- vendor/golang.org/x/net/proxy/per_host.go | 8 +- vendor/golang.org/x/net/websocket/hybi.go | 5 +- .../golang.org/x/net/websocket/websocket.go | 7 +- vendor/golang.org/x/sys/LICENSE | 4 +- vendor/golang.org/x/sys/cpu/cpu.go | 2 + vendor/golang.org/x/sys/cpu/cpu_arm64.go | 12 + .../golang.org/x/sys/cpu/cpu_linux_arm64.go | 5 + vendor/golang.org/x/sys/unix/mkerrors.sh | 3 + vendor/golang.org/x/sys/unix/mremap.go | 5 + .../golang.org/x/sys/unix/syscall_darwin.go | 24 + vendor/golang.org/x/sys/unix/syscall_linux.go | 1 + .../golang.org/x/sys/unix/syscall_openbsd.go | 1 + vendor/golang.org/x/sys/unix/syscall_unix.go | 9 + .../x/sys/unix/zerrors_darwin_amd64.go | 5 + .../x/sys/unix/zerrors_darwin_arm64.go | 5 + vendor/golang.org/x/sys/unix/zerrors_linux.go | 58 +- .../x/sys/unix/zerrors_linux_386.go | 3 + .../x/sys/unix/zerrors_linux_amd64.go | 3 + .../x/sys/unix/zerrors_linux_arm.go | 2 + .../x/sys/unix/zerrors_linux_arm64.go | 3 + .../x/sys/unix/zerrors_linux_loong64.go | 2 + .../x/sys/unix/zerrors_linux_mips.go | 2 + .../x/sys/unix/zerrors_linux_mips64.go | 2 + .../x/sys/unix/zerrors_linux_mips64le.go | 2 + .../x/sys/unix/zerrors_linux_mipsle.go | 2 + .../x/sys/unix/zerrors_linux_ppc.go | 2 + .../x/sys/unix/zerrors_linux_ppc64.go | 2 + .../x/sys/unix/zerrors_linux_ppc64le.go | 2 + .../x/sys/unix/zerrors_linux_riscv64.go | 2 + .../x/sys/unix/zerrors_linux_s390x.go | 2 + .../x/sys/unix/zerrors_linux_sparc64.go | 2 + .../x/sys/unix/zsyscall_darwin_amd64.go | 81 + .../x/sys/unix/zsyscall_darwin_amd64.s | 20 + .../x/sys/unix/zsyscall_darwin_arm64.go | 81 + .../x/sys/unix/zsyscall_darwin_arm64.s | 20 + .../golang.org/x/sys/unix/zsyscall_linux.go | 16 + .../x/sys/unix/zsyscall_openbsd_386.go | 24 + .../x/sys/unix/zsyscall_openbsd_386.s | 5 + .../x/sys/unix/zsyscall_openbsd_amd64.go | 24 + .../x/sys/unix/zsyscall_openbsd_amd64.s | 5 + .../x/sys/unix/zsyscall_openbsd_arm.go | 24 + .../x/sys/unix/zsyscall_openbsd_arm.s | 5 + .../x/sys/unix/zsyscall_openbsd_arm64.go | 24 + .../x/sys/unix/zsyscall_openbsd_arm64.s | 5 + .../x/sys/unix/zsyscall_openbsd_mips64.go | 24 + .../x/sys/unix/zsyscall_openbsd_mips64.s | 5 + .../x/sys/unix/zsyscall_openbsd_ppc64.go | 24 + .../x/sys/unix/zsyscall_openbsd_ppc64.s | 6 + .../x/sys/unix/zsyscall_openbsd_riscv64.go | 24 + .../x/sys/unix/zsyscall_openbsd_riscv64.s | 5 + .../x/sys/unix/zsysnum_linux_386.go | 1 + .../x/sys/unix/zsysnum_linux_amd64.go | 1 + .../x/sys/unix/zsysnum_linux_arm.go | 1 + .../x/sys/unix/zsysnum_linux_arm64.go | 1 + .../x/sys/unix/zsysnum_linux_loong64.go | 1 + .../x/sys/unix/zsysnum_linux_mips.go | 1 + .../x/sys/unix/zsysnum_linux_mips64.go | 1 + .../x/sys/unix/zsysnum_linux_mips64le.go | 1 + .../x/sys/unix/zsysnum_linux_mipsle.go | 1 + .../x/sys/unix/zsysnum_linux_ppc.go | 1 + .../x/sys/unix/zsysnum_linux_ppc64.go | 1 + .../x/sys/unix/zsysnum_linux_ppc64le.go | 1 + .../x/sys/unix/zsysnum_linux_riscv64.go | 1 + .../x/sys/unix/zsysnum_linux_s390x.go | 1 + .../x/sys/unix/zsysnum_linux_sparc64.go | 1 + vendor/golang.org/x/sys/unix/ztypes_linux.go | 47 +- .../x/sys/windows/security_windows.go | 25 +- .../x/sys/windows/syscall_windows.go | 12 +- .../golang.org/x/sys/windows/types_windows.go | 71 +- .../x/sys/windows/zsyscall_windows.go | 51 + vendor/golang.org/x/term/LICENSE | 4 +- vendor/golang.org/x/text/LICENSE | 4 +- .../protobuf/encoding/protojson/decode.go | 4 +- .../protobuf/encoding/protojson/encode.go | 20 +- .../protobuf/encoding/prototext/decode.go | 4 +- .../protobuf/encoding/prototext/encode.go | 20 +- .../protobuf/internal/descfmt/stringer.go | 1 + .../editiondefaults/editions_defaults.binpb | Bin 63 -> 93 bytes .../internal/editionssupport/editions.go | 13 + .../protobuf/internal/encoding/json/decode.go | 2 +- .../protobuf/internal/encoding/tag/tag.go | 4 +- .../protobuf/internal/encoding/text/decode.go | 2 +- .../protobuf/internal/errors/errors.go | 21 +- .../protobuf/internal/filedesc/desc.go | 88 +- .../protobuf/internal/filedesc/desc_init.go | 43 +- .../protobuf/internal/filedesc/desc_lazy.go | 49 +- .../internal/filedesc/desc_list_gen.go | 11 + .../protobuf/internal/filedesc/editions.go | 22 +- .../protobuf/internal/filedesc/placeholder.go | 1 + .../protobuf/internal/filetype/build.go | 4 +- .../protobuf/internal/genid/descriptor_gen.go | 49 +- .../internal/genid/go_features_gen.go | 2 +- .../protobuf/internal/impl/api_export.go | 6 +- .../protobuf/internal/impl/checkinit.go | 2 +- .../protobuf/internal/impl/codec_extension.go | 22 + .../protobuf/internal/impl/codec_field.go | 64 +- .../protobuf/internal/impl/codec_map.go | 15 +- .../internal/impl/codec_messageset.go | 22 + .../protobuf/internal/impl/convert.go | 2 +- .../protobuf/internal/impl/convert_list.go | 2 +- .../protobuf/internal/impl/convert_map.go | 2 +- .../protobuf/internal/impl/encode.go | 48 +- .../protobuf/internal/impl/extension.go | 8 +- .../protobuf/internal/impl/legacy_enum.go | 3 +- .../internal/impl/legacy_extension.go | 2 +- .../protobuf/internal/impl/legacy_file.go | 4 +- .../protobuf/internal/impl/legacy_message.go | 14 +- .../protobuf/internal/impl/message.go | 8 +- .../protobuf/internal/impl/message_reflect.go | 45 +- .../internal/impl/message_reflect_gen.go | 146 +- .../protobuf/internal/impl/pointer_reflect.go | 6 +- .../protobuf/internal/impl/pointer_unsafe.go | 4 +- .../protobuf/internal/order/range.go | 4 +- .../protobuf/internal/version/version.go | 4 +- .../protobuf/proto/decode.go | 2 + .../protobuf/proto/encode.go | 44 +- .../protobuf/proto/extension.go | 17 +- .../protobuf/proto/messageset.go | 7 +- .../google.golang.org/protobuf/proto/size.go | 2 + .../protobuf/reflect/protodesc/desc.go | 13 +- .../protobuf/reflect/protodesc/desc_init.go | 49 +- .../reflect/protodesc/desc_resolve.go | 5 + .../reflect/protodesc/desc_validate.go | 73 +- .../protobuf/reflect/protodesc/editions.go | 11 +- .../protobuf/reflect/protodesc/proto.go | 22 + .../protobuf/reflect/protoreflect/proto.go | 2 +- .../reflect/protoreflect/source_gen.go | 21 + .../protobuf/reflect/protoreflect/type.go | 12 +- .../reflect/protoreflect/value_pure.go | 14 +- .../reflect/protoreflect/value_union.go | 14 +- .../protoreflect/value_unsafe_go120.go | 6 +- .../protoreflect/value_unsafe_go121.go | 8 +- .../reflect/protoregistry/registry.go | 14 +- .../types/descriptorpb/descriptor.pb.go | 1141 +- .../types/gofeaturespb/go_features.pb.go | 120 +- .../types/gofeaturespb/go_features.proto | 28 - .../protobuf/types/known/anypb/any.pb.go | 4 +- .../types/known/durationpb/duration.pb.go | 4 +- .../protobuf/types/known/emptypb/empty.pb.go | 4 +- .../types/known/timestamppb/timestamp.pb.go | 4 +- vendor/modules.txt | 74 +- 344 files changed, 51582 insertions(+), 43492 deletions(-) create mode 100644 vendor/filippo.io/edwards25519/scalar_fiat.go delete mode 100644 vendor/github.com/gorilla/websocket/.editorconfig delete mode 100644 vendor/github.com/gorilla/websocket/.golangci.yml create mode 100644 vendor/github.com/gorilla/websocket/AUTHORS delete mode 100644 vendor/github.com/gorilla/websocket/Makefile create mode 100644 vendor/github.com/gorilla/websocket/tls_handshake_116.go create mode 100644 vendor/github.com/gorilla/websocket/x_net_proxy.go delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/armadillo/.gitignore delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw delete mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/def.proto create mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.py create mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.sh create mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/legacy.go create mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/old-enums.txt create mode 100644 vendor/go.mau.fi/whatsmeow/binary/proto/old-types.txt create mode 100644 vendor/go.mau.fi/whatsmeow/proto/.gitignore rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/armadilloutil/decode.go (91%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/extra.go (80%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/generate.sh (51%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/parse-proto.js (58%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloApplication/WAArmadilloApplication.pb.go (86%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloApplication/WAArmadilloApplication.pb.raw (87%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloApplication/WAArmadilloApplication.proto (62%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloApplication/extra.go (100%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloXMA/WAArmadilloXMA.pb.go (76%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloXMA/WAArmadilloXMA.pb.raw (86%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waArmadilloXMA/WAArmadilloXMA.proto (60%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waCommon/WACommon.pb.go (81%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waCommon/WACommon.pb.raw (73%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waConsumerApplication/WAConsumerApplication.pb.go (89%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waConsumerApplication/WAConsumerApplication.pb.raw (95%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waConsumerApplication/extra.go (96%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMediaTransport/WAMediaTransport.pb.go (67%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMediaTransport/WAMediaTransport.pb.raw (74%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMsgApplication/WAMsgApplication.pb.go (87%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMsgApplication/WAMsgApplication.pb.raw (95%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMsgApplication/extra.go (86%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMsgTransport/WAMsgTransport.pb.go (89%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMsgTransport/WAMsgTransport.pb.raw (95%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMsgTransport/extra.go (81%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMultiDevice/WAMultiDevice.pb.go (96%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMultiDevice/WAMultiDevice.pb.raw (95%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMultiDevice/WAMultiDevice.proto (62%) rename vendor/go.mau.fi/whatsmeow/{binary/armadillo => proto}/waMultiDevice/extra.go (100%) create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waServerSync/legacy.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto create mode 100644 vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go delete mode 100644 vendor/golang.org/x/crypto/acme/version_go112.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/curve25519_compat.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/curve25519_go120.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/README delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint delete mode 100644 vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh delete mode 100644 vendor/golang.org/x/net/http2/testsync.go create mode 100644 vendor/golang.org/x/net/http2/timer.go create mode 100644 vendor/google.golang.org/protobuf/internal/editionssupport/editions.go delete mode 100644 vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto diff --git a/bridge/whatsappmulti/handlers.go b/bridge/whatsappmulti/handlers.go index 8791df5e..145eb85c 100644 --- a/bridge/whatsappmulti/handlers.go +++ b/bridge/whatsappmulti/handlers.go @@ -41,11 +41,11 @@ func (b *Bwhatsapp) handleGroupInfo(event *events.GroupInfo) { } func (b *Bwhatsapp) handleUserJoin(event *events.GroupInfo) { - for _, joinedJid := range event.Join { - senderName := b.getSenderNameFromJID(joinedJid) + for _, joinedJID := range event.Join { + senderName := b.getSenderNameFromJID(joinedJID) rmsg := config.Message{ - UserID: joinedJid.String(), + UserID: joinedJID.String(), Username: senderName, Channel: event.JID.String(), Account: b.Account, @@ -58,11 +58,11 @@ func (b *Bwhatsapp) handleUserJoin(event *events.GroupInfo) { } } func (b *Bwhatsapp) handleUserLeave(event *events.GroupInfo) { - for _, leftJid := range event.Leave { - senderName := b.getSenderNameFromJID(leftJid) + for _, leftJID := range event.Leave { + senderName := b.getSenderNameFromJID(leftJID) rmsg := config.Message{ - UserID: leftJid.String(), + UserID: leftJID.String(), Username: senderName, Channel: event.JID.String(), Account: b.Account, @@ -76,8 +76,8 @@ func (b *Bwhatsapp) handleUserLeave(event *events.GroupInfo) { } func (b *Bwhatsapp) handleTopicChange(event *events.GroupInfo) { msg := event.Topic - senderJid := msg.TopicSetBy - senderName := b.getSenderNameFromJID(senderJid) + senderJID := msg.TopicSetBy + senderName := b.getSenderNameFromJID(senderJID) text := msg.Topic if text == "" { @@ -85,7 +85,7 @@ func (b *Bwhatsapp) handleTopicChange(event *events.GroupInfo) { } rmsg := config.Message{ - UserID: senderJid.String(), + UserID: senderJID.String(), Username: senderName, Channel: event.JID.String(), Account: b.Account, @@ -151,9 +151,9 @@ func (b *Bwhatsapp) handleTextMessage(messageInfo types.MessageInfo, msg *proto. senderJID = types.NewJID(ci.GetParticipant(), types.DefaultUserServer) } - if ci.MentionedJid != nil { + if ci.MentionedJID != nil { // handle user mentions - for _, mentionedJID := range ci.MentionedJid { + for _, mentionedJID := range ci.MentionedJID { numberAndSuffix := strings.SplitN(mentionedJID, "@", 2) // mentions comes as telephone numbers and we don't want to expose it to other bridges @@ -441,10 +441,10 @@ func (b *Bwhatsapp) handleDelete(messageInfo *proto.ProtocolMessage) { rmsg := config.Message{ Account: b.Account, Protocol: b.Protocol, - ID: getMessageIdFormat(sender, *messageInfo.Key.Id), + ID: getMessageIdFormat(sender, *messageInfo.Key.ID), Event: config.EventMsgDelete, Text: config.EventMsgDelete, - Channel: *messageInfo.Key.RemoteJid, + Channel: *messageInfo.Key.RemoteJID, } b.Log.Debugf("<= Sending message from %s to gateway", b.Account) diff --git a/bridge/whatsappmulti/helpers.go b/bridge/whatsappmulti/helpers.go index cecbf5a9..5eac958e 100644 --- a/bridge/whatsappmulti/helpers.go +++ b/bridge/whatsappmulti/helpers.go @@ -157,7 +157,7 @@ func (b *Bwhatsapp) getNewReplyContext(parentID string) (*proto.ContextInfo, err sender := fmt.Sprintf("%s@%s", replyInfo.Sender.User, replyInfo.Sender.Server) ctx := &proto.ContextInfo{ - StanzaId: &replyInfo.MessageID, + StanzaID: &replyInfo.MessageID, Participant: &sender, QuotedMessage: &proto.Message{Conversation: goproto.String("")}, } @@ -191,11 +191,11 @@ func (b *Bwhatsapp) parseMessageID(id string) (*Replyable, error) { } func getParentIdFromCtx(ci *proto.ContextInfo) string { - if ci != nil && ci.StanzaId != nil { + if ci != nil && ci.StanzaID != nil { senderJid, err := types.ParseJID(*ci.Participant) if err == nil { - return getMessageIdFormat(senderJid, *ci.StanzaId) + return getMessageIdFormat(senderJid, *ci.StanzaID) } } diff --git a/bridge/whatsappmulti/whatsapp.go b/bridge/whatsappmulti/whatsapp.go index 99e56446..e7c0f691 100644 --- a/bridge/whatsappmulti/whatsapp.go +++ b/bridge/whatsappmulti/whatsapp.go @@ -239,10 +239,10 @@ func (b *Bwhatsapp) PostDocumentMessage(msg config.Message, filetype string) (st Mimetype: &filetype, Caption: &caption, MediaKey: resp.MediaKey, - FileEncSha256: resp.FileEncSHA256, - FileSha256: resp.FileSHA256, + FileEncSHA256: resp.FileEncSHA256, + FileSHA256: resp.FileSHA256, FileLength: goproto.Uint64(resp.FileLength), - Url: &resp.URL, + URL: &resp.URL, DirectPath: &resp.DirectPath, ContextInfo: ctx, } @@ -277,10 +277,10 @@ func (b *Bwhatsapp) PostImageMessage(msg config.Message, filetype string) (strin Mimetype: &filetype, Caption: &caption, MediaKey: resp.MediaKey, - FileEncSha256: resp.FileEncSHA256, - FileSha256: resp.FileSHA256, + FileEncSHA256: resp.FileEncSHA256, + FileSHA256: resp.FileSHA256, FileLength: goproto.Uint64(resp.FileLength), - Url: &resp.URL, + URL: &resp.URL, DirectPath: &resp.DirectPath, ContextInfo: ctx, } @@ -311,10 +311,10 @@ func (b *Bwhatsapp) PostVideoMessage(msg config.Message, filetype string) (strin Mimetype: &filetype, Caption: &caption, MediaKey: resp.MediaKey, - FileEncSha256: resp.FileEncSHA256, - FileSha256: resp.FileSHA256, + FileEncSHA256: resp.FileEncSHA256, + FileSHA256: resp.FileSHA256, FileLength: goproto.Uint64(resp.FileLength), - Url: &resp.URL, + URL: &resp.URL, DirectPath: &resp.DirectPath, ContextInfo: ctx, } @@ -344,10 +344,10 @@ func (b *Bwhatsapp) PostAudioMessage(msg config.Message, filetype string) (strin message.AudioMessage = &proto.AudioMessage{ Mimetype: &filetype, MediaKey: resp.MediaKey, - FileEncSha256: resp.FileEncSHA256, - FileSha256: resp.FileSHA256, + FileEncSHA256: resp.FileEncSHA256, + FileSHA256: resp.FileSHA256, FileLength: goproto.Uint64(resp.FileLength), - Url: &resp.URL, + URL: &resp.URL, DirectPath: &resp.DirectPath, ContextInfo: ctx, } diff --git a/go.mod b/go.mod index 9b5de0cd..f2c44ede 100644 --- a/go.mod +++ b/go.mod @@ -46,18 +46,18 @@ require ( github.com/writeas/go-strip-markdown v2.0.1+incompatible github.com/yaegashi/msgraph.go v0.1.4 github.com/zfjagann/golang-ring v0.0.0-20220330170733-19bcea1b6289 - go.mau.fi/whatsmeow v0.0.0-20240520180327-81f8f07f1dfb + go.mau.fi/whatsmeow v0.0.0-20240625083845-6acab596dd8c golang.org/x/image v0.16.0 golang.org/x/oauth2 v0.20.0 - golang.org/x/text v0.15.0 + golang.org/x/text v0.17.0 gomod.garykim.dev/nc-talk v0.3.0 - google.golang.org/protobuf v1.33.0 + google.golang.org/protobuf v1.34.2 layeh.com/gumble v0.0.0-20221205141517-d1df60a3cc14 modernc.org/sqlite v1.29.10 ) require ( - filippo.io/edwards25519 v1.0.0 // indirect + filippo.io/edwards25519 v1.1.0 // indirect github.com/Benau/go_rlottie v0.0.0-20210807002906-98c1b2421989 // indirect github.com/Jeffail/gabs v1.4.0 // indirect github.com/apex/log v1.9.0 // indirect @@ -72,7 +72,7 @@ require ( github.com/golang/protobuf v1.5.4 // indirect github.com/google/uuid v1.6.0 // indirect github.com/gopackage/ddp v0.0.3 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-hclog v1.6.2 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect @@ -106,7 +106,7 @@ require ( github.com/rickb777/date v1.12.4 // indirect github.com/rickb777/plural v1.2.0 // indirect github.com/rivo/uniseg v0.4.7 // indirect - github.com/rs/zerolog v1.32.0 // indirect + github.com/rs/zerolog v1.33.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/shazow/rateio v0.0.0-20200113175441-4461efc8bdc4 // indirect @@ -124,14 +124,14 @@ require ( github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/wiggin77/merror v1.0.5 // indirect github.com/wiggin77/srslog v1.0.1 // indirect - go.mau.fi/libsignal v0.1.0 // indirect - go.mau.fi/util v0.4.1 // indirect + go.mau.fi/libsignal v0.1.1 // indirect + go.mau.fi/util v0.7.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.23.0 // indirect - golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f // indirect - golang.org/x/net v0.25.0 // indirect - golang.org/x/sys v0.20.0 // indirect - golang.org/x/term v0.20.0 // indirect + golang.org/x/crypto v0.26.0 // indirect + golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect + golang.org/x/net v0.28.0 // indirect + golang.org/x/sys v0.24.0 // indirect + golang.org/x/term v0.23.0 // indirect golang.org/x/time v0.5.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/grpc v1.62.0 // indirect diff --git a/go.sum b/go.sum index 3d5b3c01..d8f74cb0 100644 --- a/go.sum +++ b/go.sum @@ -2,19 +2,12 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.31.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.37.0/go.mod h1:TS1dMSSfndXH133OKGwekG838Om/cQT0BUHV3HcBgoo= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= -cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= -cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -cloud.google.com/go/firestore v1.14.0/go.mod h1:96MVaHLsEhbvkBEdZgfN+AS/GIkco1LRpH9Xp9YZfzQ= -cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= -cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= -cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3/go.mod h1:Yl+fi1br7+Rr3LqpNJf1/uxUdtRUV+Tnj0o93V2B9MU= dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0/go.mod h1:JLBrvjyP0v+ecvNYvCpyZgu5/xkfAUhi6wJj28eUfSU= dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412/go.mod h1:a1inKt/atXimZ4Mv927x+r7UpyzRUf4emIoiiSC2TN4= dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D6DFvNNtx+9ybjezNCa8XF0xaYcETyp6rHWU= -filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= -filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= +filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= github.com/Baozisoftware/qrcode-terminal-go v0.0.0-20170407111555-c0650d8dff0f h1:2dk3eOnYllh+wUOuDhOoC2vUVoJF/5z478ryJ+wzEII= github.com/Baozisoftware/qrcode-terminal-go v0.0.0-20170407111555-c0650d8dff0f/go.mod h1:4a58ifQTEe2uwwsaqbh3i2un5/CBPg+At/qHpt18Tmk= @@ -23,7 +16,6 @@ github.com/Benau/go_rlottie v0.0.0-20210807002906-98c1b2421989/go.mod h1:aDWSWjs github.com/Benau/tgsconverter v0.0.0-20210809170556-99f4a4f6337f h1:aUkwZDEMJIGRcWlSDifSLoKG37UCOH/DPeG52/xwois= github.com/Benau/tgsconverter v0.0.0-20210809170556-99f4a4f6337f/go.mod h1:AQiQKKI/YIIctvDt3hI3c1S05/JXMM7v/sQcRd0paVE= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU= github.com/Jeffail/gabs v1.4.0 h1://5fYRRTq1edjfIrQGvdkcd22pkYUrHZ5YC/H2GJVAo= github.com/Jeffail/gabs v1.4.0/go.mod h1:6xMvQMK4k33lb7GUUpaAPh6nKMmemQeg5d4gn7/bOXc= github.com/Philipp15b/go-steam v1.0.1-0.20200727090957-6ae9b3c0a560 h1:ItnC9PEEMESzTbFayxrhKBbuFQOXDBI8yy7NudTcEWs= @@ -39,7 +31,6 @@ github.com/apex/log v1.9.0/go.mod h1:m82fZlWIuiWzWP04XCTXmnX0xRkYYbCdYn8jbJeLBEA github.com/apex/logs v1.0.0/go.mod h1:XzxuLZ5myVHDy9SAmYpamKKRNApGj54PfYLcFrXqDwo= github.com/aphistic/golf v0.0.0-20180712155816-02c07f170c5a/go.mod h1:3NqKYiepwy8kCu4PNA+aP7WUV72eXWJeP9/r3/K9aLE= github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3stzu0Xys= -github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/av-elier/go-decimal-to-rational v0.0.0-20191127152832-89e6aad02ecf h1:csfEAyvOG4/498Q4SyF48ysFqQC9ESj3o8ppRtg+Rog= github.com/av-elier/go-decimal-to-rational v0.0.0-20191127152832-89e6aad02ecf/go.mod h1:POPnOeaYF7U9o3PjLTb9icRfEOxjBNLRXh9BLximJGM= github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= @@ -47,7 +38,6 @@ github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g= github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= @@ -55,12 +45,7 @@ github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7 github.com/bwmarrin/discordgo v0.28.1 h1:gXsuo2GBO7NbR6uqmrrBDplPUx2T3nzu775q/Rd1aG4= github.com/bwmarrin/discordgo v0.28.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/d5/tengo/v2 v2.17.0 h1:BWUN9NoJzw48jZKiYDXDIF3QrIVZRm1uV1gTzeZ2lqM= @@ -76,9 +61,7 @@ github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+m github.com/dyatlov/go-opengraph/opengraph v0.0.0-20220524092352-606d7b1e5f8a h1:etIrTD8BQqzColk9nKRusM9um5+1q0iOEJLqfBMIK64= github.com/dyatlov/go-opengraph/opengraph v0.0.0-20220524092352-606d7b1e5f8a/go.mod h1:emQhSYTXqB0xxjLITTw4EaWZ+8IIQYw+kx9GqNUKdLg= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.12.0/go.mod h1:ZBTaoJ23lqITozF0M6G4/IragXCQKCnYbmlmtHvwRG0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= @@ -98,22 +81,16 @@ github.com/go-asn1-ber/asn1-ber v1.5.5 h1:MNHlNMBDgEKD4TcKr36vQN68BA00aDfjIt3/bD github.com/go-asn1-ber/asn1-ber v1.5.5/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-test/deep v1.0.4 h1:u2CU3YKy9I2pmu9pX0eq50wCgjfGIt539SqR7FbHiho= github.com/go-test/deep v1.0.4/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -149,55 +126,44 @@ github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXi github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd h1:gbpYu9NMq8jhDVbvlGkMFWCjLFlqqEZjEmObmhUy6Vo= github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= -github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= github.com/googleapis/gax-go/v2 v2.0.3/go.mod h1:LLvjysVCY1JZeum8Z6l8qUty8fiNwE08qbEPm1M08qg= -github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= -github.com/googleapis/google-cloud-go-testing v0.0.0-20210719221736-1c9a4c676720/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopackage/ddp v0.0.3 h1:fd0DxScoiS+ogq22ktey6DjDSDybtJPAn69geMpUtFc= github.com/gopackage/ddp v0.0.3/go.mod h1:3hUXYG6C/6JsoxKsQaK7st09+GP9RZBFPzyAlU/0SLg= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/schema v1.3.0 h1:rbciOzXAx3IB8stEFnfTwO3sYa6EWlQk79XdyustPDA= github.com/gorilla/schema v1.3.0/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= github.com/harmony-development/shibshib v0.0.0-20220101224523-c98059d09cfa h1:0EefSRfsNrdEwmoGVz4+cMG8++5M2XhvJ1tTRmmrJu8= github.com/harmony-development/shibshib v0.0.0-20220101224523-c98059d09cfa/go.mod h1:+KEOMb29OC2kRa5BajwNM2NEjHTbQA/Z3gKYARLHREI= -github.com/hashicorp/consul/api v1.25.1/go.mod h1:iiLVwR/htV7mas/sy0O+XSuEnrdBUUydemjxcUrAt4g= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v1.6.2 h1:NOtoftovWkDheyUM/8JW3QMiXyxJK3uHRK7wV04nD2I= github.com/hashicorp/go-hclog v1.6.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/serf v0.10.1/go.mod h1:yL2t6BqATOLGc5HF7qbFkTfXoPIY0WZdWHfEvMqbG+4= github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c/go.mod h1:lADxMC39cJJqL93Duh1xhAs4I2Zs8mKS89XWXFGp9cs= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod h1:E0B/fFc00Y+Rasa88328GlI/XbtyysCtTHZS8h7IrBU= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= @@ -207,9 +173,7 @@ github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgb github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kettek/apng v0.0.0-20191108220231-414630eed80f h1:dnCYnTSltLuPMfc7dMrkz2uBUcEf/OFBR8yRh3oRT98= github.com/kettek/apng v0.0.0-20191108220231-414630eed80f/go.mod h1:x78/VRQYKuCftMWS0uK5e+F5RJ7S4gSlESRWI0Prl6Q= github.com/keybase/go-keybase-chat-bot v0.0.0-20221220212439-e48d9abd2c20 h1:imPu/fy8VhpzD318SnouRyvIgJAoouEyph6+7XAZbbk= @@ -217,8 +181,6 @@ github.com/keybase/go-keybase-chat-bot v0.0.0-20221220212439-e48d9abd2c20/go.mod github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.17.7 h1:ehO88t2UGzQK66LMdE8tibEd1ErmzZjNEqWkjLAKQQg= github.com/klauspost/compress v1.17.7/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= -github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= @@ -235,10 +197,8 @@ github.com/labstack/echo/v4 v4.12.0 h1:IKpw49IMryVB2p1a4dzwlhP1O2Tf2E0Ir/450lH+k github.com/labstack/echo/v4 v4.12.0/go.mod h1:UP9Cr2DJXbOK3Kr9ONYzNowSh7HP0aG0ShAyycHSJvM= github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0= github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU= -github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lrstanley/girc v0.0.0-20240519163535-a518c5b87a79 h1:6yveo9g55i+VPr+Dinsp/Z7z/msCAq0E+Nag8lTl25k= github.com/lrstanley/girc v0.0.0-20240519163535-a518c5b87a79/go.mod h1:lgrnhcF8bg/Bd5HA5DOb4Z+uGqUqGnp4skr+J2GwVgI= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= @@ -282,7 +242,6 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D github.com/mattn/go-runewidth v0.0.8/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/mattn/godown v0.0.1 h1:39uk50ufLVQFs0eapIJVX5fCS74a1Fs2g5f1MVqIHdE= github.com/mattn/godown v0.0.1/go.mod h1:/ivCKurgV/bx6yqtP/Jtc2Xmrv3beCYBvlfAUl4X5g4= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -292,26 +251,20 @@ github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyex github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI= github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/monaco-io/request v1.0.5 h1:QAJb5m1pCPZUGv3zzTZn7GlQI3q+uJWi7fH9QxDGbm4= github.com/monaco-io/request v1.0.5/go.mod h1:EmggwHktBsbJmCgwZXqy7o0H1NNsAstQBWZrFVd3xtQ= -github.com/nats-io/nats.go v1.31.0/go.mod h1:di3Bm5MLsoB4Bx61CBTsxuarI36WbhAwOm8QrW39+i8= -github.com/nats-io/nkeys v0.4.6/go.mod h1:4DxZNzenSVd1cYQoAa8948QY3QDjrHfcfVADymtkpts= -github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo= github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= github.com/nelsonken/gomf v0.0.0-20190423072027-c65cc0469e94 h1:GRBho7BMw6le5OVegxDeFX+Ul1WPykzQs9CVrifrjik= github.com/nelsonken/gomf v0.0.0-20190423072027-c65cc0469e94/go.mod h1:UT7a3UHzG7jEEeoW/AI2/e0RuLbkntdsiY94qt6Jv7Q= -github.com/nicksnyder/go-i18n/v2 v2.4.0/go.mod h1:nxYSZE9M0bf3Y70gPQjN9ha7XNHX7gMc814+6wVyEI4= github.com/nxadm/tail v1.4.11 h1:8feyoE3OzPrcshW5/MJ4sGESc5cqmGkGCWlco4l0bqY= github.com/nxadm/tail v1.4.11/go.mod h1:OTaG3NK980DZzxbRq6lEuzgU+mug70nY11sMd4JXXHc= github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= @@ -339,11 +292,9 @@ github.com/philhofer/fwd v1.1.2/go.mod h1:qkPdfjR2SIEbspLqpe1tO4n5yICnr2DY7mqEx2 github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.13.6/go.mod h1:tz1ryNURKu77RL+GuCzmoJYxQczL3wLNNpPWagdg4Qk= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -363,26 +314,22 @@ github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZV github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= -github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= -github.com/rudderlabs/analytics-go v3.3.3+incompatible/go.mod h1:LF8/ty9kUX4PTY3l5c97K3nZZaX5Hwsvt+NBaRL/f30= +github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8= +github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= -github.com/sagikazarmark/crypt v0.17.0/go.mod h1:SMtHTvdmsZMuY/bpZoqokSoChIrcJ/epOxZN58PbZDg= github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d h1:hrujxIzL1woJ7AwssoOcM/tq5JjjG2yYOc8odClEiXA= github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d/go.mod h1:uugorj2VCxiV1x+LzaIdVa9b4S4qGAcH6cbhh4qVxOU= -github.com/segmentio/backo-go v1.0.1/go.mod h1:9/Rh6yILuLysoQnZ2oNooD2g7aBnvM7r/fNVxRNWfBc= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shazow/rateio v0.0.0-20200113175441-4461efc8bdc4 h1:zwQ1HBo5FYwn1ksMd19qBCKO8JAWE9wmHivEpkw/DvE= github.com/shazow/rateio v0.0.0-20200113175441-4461efc8bdc4/go.mod h1:vt2jWY/3Qw1bIzle5thrJWucsLuuX9iUNnp20CqCciI= github.com/shazow/ssh-chat v1.10.1 h1:ePS+ngEYqm+yUuXegDPutysqLV2WoI22XDOeRgI6CE0= github.com/shazow/ssh-chat v1.10.1/go.mod h1:0+7szsKylcre0vljkVnbuI6q7Odtc+QCDHxa+fFNV54= -github.com/shirou/gopsutil/v3 v3.23.1/go.mod h1:NN6mnm5/0k8jw4cBfCnJtr5L7ErOTg18tMNpgFkn0hA= github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4/go.mod h1:XhFIlyj5a1fBNx5aJTbKoIq0mNaPvOagO+HjB3EtxrY= github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48/go.mod h1:5u70Mqkb5O5cxEA8nxTsgrgLehJeAw6Oc4Ab1c/P1HM= github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470/go.mod h1:2dOwnU2uBioM+SGy2aZoq1f/Sd1l9OkAeAUvjSyvgU0= @@ -424,7 +371,6 @@ github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= @@ -432,7 +378,6 @@ github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMV github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= @@ -446,9 +391,6 @@ github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8 github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA= -github.com/tidwall/gjson v1.17.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= -github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tinylib/msgp v1.1.9 h1:SHf3yoO2sGA0veCJeCBYLHuttAVFHGm2RHgNodW7wQU= github.com/tinylib/msgp v1.1.9/go.mod h1:BCXGB54lDD8qUEPmiG0cQQUANC4IUQyB2ItS2UDlO/k= github.com/tj/assert v0.0.0-20171129193455-018094318fb0/go.mod h1:mZ9/Rh9oLWpLLDRpvE+3b7gP/C2YyLFYxNmcLnPTMe0= @@ -458,8 +400,6 @@ github.com/tj/go-buffer v1.1.0/go.mod h1:iyiJpfFcR2B9sXu7KvjbT9fpM4mOelRSDTbntVj github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0= github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao= github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4= -github.com/tklauser/go-sysconf v0.3.11/go.mod h1:GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI= -github.com/tklauser/numcpus v0.6.0/go.mod h1:FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ5UVIcaL4= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= @@ -480,32 +420,22 @@ github.com/writeas/go-strip-markdown v2.0.1+incompatible h1:IIqxTM5Jr7RzhigcL6Fk github.com/writeas/go-strip-markdown v2.0.1+incompatible/go.mod h1:Rsyu10ZhbEK9pXdk8V6MVnZmTzRG0alMNLMwa0J01fE= github.com/x-cray/logrus-prefixed-formatter v0.5.2 h1:00txxvfBM9muc0jiLIEAkAcIMJzfthRT6usrui8uGmg= github.com/x-cray/logrus-prefixed-formatter v0.5.2/go.mod h1:2duySbKsL6M18s5GU7VPsoEPHyzalCE06qoARUCeBBE= -github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= -github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c/go.mod h1:UrdRz5enIKZ63MEE3IF9l2/ebyx59GyGgPi+tICQdmM= github.com/yaegashi/msgraph.go v0.1.4 h1:leDXSczAbwBpYFSmmZrdByTiPoUw8dbTfNMetAjJvbw= github.com/yaegashi/msgraph.go v0.1.4/go.mod h1:vgeYhHa5skJt/3lTyjGXThTZhwbhRnGo6uUxzoJIGME= github.com/yaegashi/wtz.go v0.0.2/go.mod h1:nOLA5QXsmdkRxBkP5tljhua13ADHCKirLBrzPf4PEJc= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/zfjagann/golang-ring v0.0.0-20220330170733-19bcea1b6289 h1:dEdcEes8Aki8XrgZFyrZvtazFlW4U7eNvX9NuyFJAtQ= github.com/zfjagann/golang-ring v0.0.0-20220330170733-19bcea1b6289/go.mod h1:0MsIttMJIF/8Y7x0XjonJP7K99t3sR6bjj4m5S4JmqU= -go.etcd.io/etcd/api/v3 v3.5.10/go.mod h1:TidfmT4Uycad3NM/o25fG3J07odo4GBB9hoxaodFCtI= -go.etcd.io/etcd/client/pkg/v3 v3.5.10/go.mod h1:DYivfIviIuQ8+/lCq4vcxuseg2P2XbHygkKwFo9fc8U= -go.etcd.io/etcd/client/v2 v2.305.10/go.mod h1:m3CKZi69HzilhVqtPDcjhSGp+kA1OmbNn0qamH80xjA= -go.etcd.io/etcd/client/v3 v3.5.10/go.mod h1:RVeBnDz2PUEZqTpgqwAtUd8nAPf5kjyFyND7P1VkOKc= -go.mau.fi/libsignal v0.1.0 h1:vAKI/nJ5tMhdzke4cTK1fb0idJzz1JuEIpmjprueC+c= -go.mau.fi/libsignal v0.1.0/go.mod h1:R8ovrTezxtUNzCQE5PH30StOQWWeBskBsWE55vMfY9I= -go.mau.fi/util v0.4.1 h1:3EC9KxIXo5+h869zDGf5OOZklRd/FjeVnimTwtm3owg= -go.mau.fi/util v0.4.1/go.mod h1:GjkTEBsehYZbSh2LlE6cWEn+6ZIZTGrTMM/5DMNlmFY= -go.mau.fi/whatsmeow v0.0.0-20240520180327-81f8f07f1dfb h1:FW5W0ewNOmunylB3Pmru8PvxYkhI6ZphCJtimM2aB6o= -go.mau.fi/whatsmeow v0.0.0-20240520180327-81f8f07f1dfb/go.mod h1:0+65CYaE6r4dWzr0dN8i+UZKy0gIfJ79VuSqIl0nKRM= +go.mau.fi/libsignal v0.1.1 h1:m/0PGBh4QKP/I1MQ44ti4C0fMbLMuHb95cmDw01FIpI= +go.mau.fi/libsignal v0.1.1/go.mod h1:QLs89F/OA3ThdSL2Wz2p+o+fi8uuQUz0e1BRa6ExdBw= +go.mau.fi/util v0.7.0 h1:l31z+ivrSQw+cv/9eFebEqtQW2zhxivGypn+JT0h/ws= +go.mau.fi/util v0.7.0/go.mod h1:bWYreIoTULL/UiRbZdfddPh7uWDFW5yX4YCv5FB0eE0= +go.mau.fi/whatsmeow v0.0.0-20240625083845-6acab596dd8c h1:yiULssyKHJcFA1fae2NJkwU7QW4EHQs7QEWoIqfqilA= +go.mau.fi/whatsmeow v0.0.0-20240625083845-6acab596dd8c/go.mod h1:0+65CYaE6r4dWzr0dN8i+UZKy0gIfJ79VuSqIl0nKRM= go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE= golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d/go.mod h1:OWs+y06UdEOHN4y+MfF/py+xQ/tYqIWW03b70/CG9Rw= golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -516,11 +446,11 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f h1:3CW0unweImhOzd5FmYuRsD4Y4oQFKZIjAnKbjV4WIrw= -golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= +golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa h1:ELnwvuAXPNtPk1TJRuGkI9fDTwym6AYBu0qzT8AcHdI= +golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ= golang.org/x/image v0.16.0 h1:9kloLAKhUufZhA12l5fwnx2NZW39/we1UhBesW433jw= golang.org/x/image v0.16.0/go.mod h1:ugSZItdV4nOxyqp56HmXwH0Ry0nBCpjnZdpDaIHdoPs= golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -529,8 +459,8 @@ golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvx golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.16.0 h1:QX4fJ0Rr5cPQCF7O9lh9Se4pmwfwskqZfq5moyldzic= -golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -547,8 +477,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -564,7 +494,8 @@ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181029174526-d69651ed3497/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -587,20 +518,20 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= +golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= @@ -615,24 +546,21 @@ golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200529172331-a64b76657301/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200731060945-b5fad4ed8dd6/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.19.0 h1:tfGCXNR1OsFG+sVdLAitlpjAvD/I6dHDKnYrpEZUHkw= -golang.org/x/tools v0.19.0/go.mod h1:qoJWxmGSIBmAeriMx19ogtrEPrGtDbPK634QFIcLAhc= +golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= +golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gomod.garykim.dev/nc-talk v0.3.0 h1:MZxLc/gX2/+bdOw4xt6pi+qQFUQld1woGfw1hEJ0fbM= gomod.garykim.dev/nc-talk v0.3.0/go.mod h1:q/Adot/H7iqi+H4lANopV7/xcMf+sX3AZXUXqiITwok= google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.1.0/go.mod h1:UGEZY7KEX120AnNLIHFMKIo4obdJhkp2tPbaPlQx13Y= -google.golang.org/api v0.153.0/go.mod h1:3qNJX5eOmhiWYc67jRA/3GsDw97UFb5ivv7Y2PrriAY= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -640,8 +568,6 @@ google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898/go.mod h1:7Ep/1NZk google.golang.org/genproto v0.0.0-20190306203927-b5d61aea6440/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s= -google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA= google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -664,8 +590,8 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= @@ -694,11 +620,8 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh layeh.com/gopus v0.0.0-20161224163843-0ebf989153aa/go.mod h1:AOef7vHz0+v4sWwJnr0jSyHiX/1NgsMoaxl+rEPz/I0= layeh.com/gumble v0.0.0-20221205141517-d1df60a3cc14 h1:wY8eeq7DpM5iAugNbFrvuhdtmN8XM1iU+Ki5YZWjukg= layeh.com/gumble v0.0.0-20221205141517-d1df60a3cc14/go.mod h1:tWPVA9ZAfImNwabjcd9uDE+Mtz0Hfs7a7G3vxrnrwyc= -lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -modernc.org/cc/v3 v3.41.0/go.mod h1:Ni4zjJYJ04CDOhG7dn640WGfwBzfE0ecX8TyMB0Fv0Y= modernc.org/cc/v4 v4.20.0 h1:45Or8mQfbUqJOG9WaxvlFYOAQO0lQ5RvqBcFCXngjxk= modernc.org/cc/v4 v4.20.0/go.mod h1:HM7VJTZbUCR3rV8EYBi9wxnJ0ZBRiGE5OeGXNA0IsLQ= -modernc.org/ccgo/v3 v3.17.0/go.mod h1:Sg3fwVpmLvCUTaqEUjiBDAvshIaKDB0RXaf+zgqFu8I= modernc.org/ccgo/v4 v4.16.0 h1:ofwORa6vx2FMm0916/CkZjpFPSR70VwTjUCe2Eg5BnA= modernc.org/ccgo/v4 v4.16.0/go.mod h1:dkNyWIjFrVIZ68DTo36vHK+6/ShBn4ysU61So6PIqCI= modernc.org/fileutil v1.3.0 h1:gQ5SIzK3H9kdfai/5x41oQiKValumqNTDXMvKo62HvE= @@ -723,7 +646,6 @@ modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -rsc.io/goversion v1.2.0/go.mod h1:Eih9y/uIBS3ulggl7KNJ09xGSLcuNaLgmvvqa07sgfo= rsc.io/qr v0.2.0 h1:6vBLea5/NRMVTz8V66gipeLycZMl/+UlFmk8DvqQ6WY= rsc.io/qr v0.2.0/go.mod h1:IF+uZjkb9fqyeF/4tlBoynqmQxUoPfWEKh921coOuXs= sourcegraph.com/sourcegraph/go-diff v0.5.0/go.mod h1:kuch7UrkMzY0X+p9CRK03kfuPQ2zzQcaEFbx8wA8rck= diff --git a/vendor/filippo.io/edwards25519/README.md b/vendor/filippo.io/edwards25519/README.md index 2606f40b..24e2457d 100644 --- a/vendor/filippo.io/edwards25519/README.md +++ b/vendor/filippo.io/edwards25519/README.md @@ -9,6 +9,6 @@ Read the docs at [pkg.go.dev/filippo.io/edwards25519](https://pkg.go.dev/filippo The code is originally derived from Adam Langley's internal implementation in the Go standard library, and includes George Tankersley's [performance improvements](https://golang.org/cl/71950). It was then further developed by Henry de Valence for use in ristretto255, and was finally [merged back into the Go standard library](https://golang.org/cl/276272) as of Go 1.17. It now tracks the upstream codebase and extends it with additional functionality. -Most users don't need this package, and should instead use `crypto/ed25519` for signatures, `golang.org/x/crypto/curve25519` for Diffie-Hellman, or `github.com/gtank/ristretto255` for prime order group logic. However, for anyone currently using a fork of `crypto/ed25519/internal/edwards25519` or `github.com/agl/edwards25519`, this package should be a safer, faster, and more powerful alternative. +Most users don't need this package, and should instead use `crypto/ed25519` for signatures, `golang.org/x/crypto/curve25519` for Diffie-Hellman, or `github.com/gtank/ristretto255` for prime order group logic. However, for anyone currently using a fork of `crypto/internal/edwards25519`/`crypto/ed25519/internal/edwards25519` or `github.com/agl/edwards25519`, this package should be a safer, faster, and more powerful alternative. Since this package is meant to curb proliferation of edwards25519 implementations in the Go ecosystem, it welcomes requests for new APIs or reviewable performance improvements. diff --git a/vendor/filippo.io/edwards25519/doc.go b/vendor/filippo.io/edwards25519/doc.go index d8608b06..ab6aaebc 100644 --- a/vendor/filippo.io/edwards25519/doc.go +++ b/vendor/filippo.io/edwards25519/doc.go @@ -4,7 +4,7 @@ // Package edwards25519 implements group logic for the twisted Edwards curve // -// -x^2 + y^2 = 1 + -(121665/121666)*x^2*y^2 +// -x^2 + y^2 = 1 + -(121665/121666)*x^2*y^2 // // This is better known as the Edwards curve equivalent to Curve25519, and is // the curve used by the Ed25519 signature scheme. @@ -15,6 +15,6 @@ // // However, developers who do need to interact with low-level edwards25519 // operations can use this package, which is an extended version of -// crypto/ed25519/internal/edwards25519 from the standard library repackaged as +// crypto/internal/edwards25519 from the standard library repackaged as // an importable module. package edwards25519 diff --git a/vendor/filippo.io/edwards25519/edwards25519.go b/vendor/filippo.io/edwards25519/edwards25519.go index e22a7c2d..a744da2c 100644 --- a/vendor/filippo.io/edwards25519/edwards25519.go +++ b/vendor/filippo.io/edwards25519/edwards25519.go @@ -27,13 +27,13 @@ type projP2 struct { // // The zero value is NOT valid, and it may be used only as a receiver. type Point struct { - // The point is internally represented in extended coordinates (X, Y, Z, T) - // where x = X/Z, y = Y/Z, and xy = T/Z per https://eprint.iacr.org/2008/522. - x, y, z, t field.Element - // Make the type not comparable (i.e. used with == or as a map key), as // equivalent points can be represented by different Go values. _ incomparable + + // The point is internally represented in extended coordinates (X, Y, Z, T) + // where x = X/Z, y = Y/Z, and xy = T/Z per https://eprint.iacr.org/2008/522. + x, y, z, t field.Element } type incomparable [0]func() @@ -148,9 +148,8 @@ func (v *Point) SetBytes(x []byte) (*Point, error) { // (*field.Element).SetBytes docs) and // 2) the ones where the x-coordinate is zero and the sign bit is set. // - // This is consistent with crypto/ed25519/internal/edwards25519. Read more - // at https://hdevalence.ca/blog/2020-10-04-its-25519am, specifically the - // "Canonical A, R" section. + // Read more at https://hdevalence.ca/blog/2020-10-04-its-25519am, + // specifically the "Canonical A, R" section. y, err := new(field.Element).SetBytes(x) if err != nil { diff --git a/vendor/filippo.io/edwards25519/extra.go b/vendor/filippo.io/edwards25519/extra.go index f5e59080..d152d68f 100644 --- a/vendor/filippo.io/edwards25519/extra.go +++ b/vendor/filippo.io/edwards25519/extra.go @@ -5,7 +5,7 @@ package edwards25519 // This file contains additional functionality that is not included in the -// upstream crypto/ed25519/internal/edwards25519 package. +// upstream crypto/internal/edwards25519 package. import ( "errors" @@ -79,6 +79,12 @@ func isOnCurve(X, Y, Z, T *field.Element) bool { // Note that BytesMontgomery only encodes the u-coordinate, so v and -v encode // to the same value. If v is the identity point, BytesMontgomery returns 32 // zero bytes, analogously to the X25519 function. +// +// The lack of an inverse operation (such as SetMontgomeryBytes) is deliberate: +// while every valid edwards25519 point has a unique u-coordinate Montgomery +// encoding, X25519 accepts inputs on the quadratic twist, which don't correspond +// to any edwards25519 point, and every other X25519 input corresponds to two +// edwards25519 points. func (v *Point) BytesMontgomery() []byte { // This function is outlined to make the allocations inline in the caller // rather than happen on the heap. @@ -137,7 +143,7 @@ func (s *Scalar) Invert(t *Scalar) *Scalar { for i := 0; i < 7; i++ { table[i+1].Multiply(&table[i], &tt) } - // Now table = [t**1, t**3, t**7, t**11, t**13, t**15] + // Now table = [t**1, t**3, t**5, t**7, t**9, t**11, t**13, t**15] // so t**k = t[k/2] for odd k // To compute the sliding window digits, use the following Sage script: diff --git a/vendor/filippo.io/edwards25519/field/fe_amd64.go b/vendor/filippo.io/edwards25519/field/fe_amd64.go index 44dc8e8c..edcf163c 100644 --- a/vendor/filippo.io/edwards25519/field/fe_amd64.go +++ b/vendor/filippo.io/edwards25519/field/fe_amd64.go @@ -1,13 +1,16 @@ // Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT. +//go:build amd64 && gc && !purego // +build amd64,gc,!purego package field // feMul sets out = a * b. It works like feMulGeneric. +// //go:noescape func feMul(out *Element, a *Element, b *Element) // feSquare sets out = a * a. It works like feSquareGeneric. +// //go:noescape func feSquare(out *Element, a *Element) diff --git a/vendor/filippo.io/edwards25519/field/fe_amd64.s b/vendor/filippo.io/edwards25519/field/fe_amd64.s index 0aa1e86d..293f013c 100644 --- a/vendor/filippo.io/edwards25519/field/fe_amd64.s +++ b/vendor/filippo.io/edwards25519/field/fe_amd64.s @@ -1,5 +1,6 @@ // Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT. +//go:build amd64 && gc && !purego // +build amd64,gc,!purego #include "textflag.h" diff --git a/vendor/filippo.io/edwards25519/field/fe_arm64.s b/vendor/filippo.io/edwards25519/field/fe_arm64.s index 751ab2ad..3126a434 100644 --- a/vendor/filippo.io/edwards25519/field/fe_arm64.s +++ b/vendor/filippo.io/edwards25519/field/fe_arm64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build arm64,gc,!purego +//go:build arm64 && gc && !purego #include "textflag.h" diff --git a/vendor/filippo.io/edwards25519/field/fe_extra.go b/vendor/filippo.io/edwards25519/field/fe_extra.go index 699238e9..1ef503b9 100644 --- a/vendor/filippo.io/edwards25519/field/fe_extra.go +++ b/vendor/filippo.io/edwards25519/field/fe_extra.go @@ -7,7 +7,7 @@ package field import "errors" // This file contains additional functionality that is not included in the -// upstream crypto/ed25519/internal/edwards25519/field package. +// upstream crypto/ed25519/edwards25519/field package. // SetWideBytes sets v to x, where x is a 64-byte little-endian encoding, which // is reduced modulo the field order. If x is not of the right length, diff --git a/vendor/filippo.io/edwards25519/field/fe_generic.go b/vendor/filippo.io/edwards25519/field/fe_generic.go index d6667b27..86f5fd95 100644 --- a/vendor/filippo.io/edwards25519/field/fe_generic.go +++ b/vendor/filippo.io/edwards25519/field/fe_generic.go @@ -156,7 +156,7 @@ func feMulGeneric(v, a, b *Element) { rr4 := r4.lo&maskLow51Bits + c3 // Now all coefficients fit into 64-bit registers but are still too large to - // be passed around as a Element. We therefore do one last carry chain, + // be passed around as an Element. We therefore do one last carry chain, // where the carries will be small enough to fit in the wiggle room above 2âµÂ¹. *v = Element{rr0, rr1, rr2, rr3, rr4} v.carryPropagate() @@ -245,7 +245,7 @@ func feSquareGeneric(v, a *Element) { v.carryPropagate() } -// carryPropagate brings the limbs below 52 bits by applying the reduction +// carryPropagateGeneric brings the limbs below 52 bits by applying the reduction // identity (a * 2²âµâµ + b = a * 19 + b) to the l4 carry. func (v *Element) carryPropagateGeneric() *Element { c0 := v.l0 >> 51 diff --git a/vendor/filippo.io/edwards25519/scalar.go b/vendor/filippo.io/edwards25519/scalar.go index 3df2fb93..3fd16538 100644 --- a/vendor/filippo.io/edwards25519/scalar.go +++ b/vendor/filippo.io/edwards25519/scalar.go @@ -5,14 +5,13 @@ package edwards25519 import ( - "crypto/subtle" "encoding/binary" "errors" ) // A Scalar is an integer modulo // -// l = 2^252 + 27742317777372353535851937790883648493 +// l = 2^252 + 27742317777372353535851937790883648493 // // which is the prime order of the edwards25519 group. // @@ -21,55 +20,77 @@ import ( // // The zero value is a valid zero element. type Scalar struct { - // s is the Scalar value in little-endian. The value is always reduced - // modulo l between operations. - s [32]byte + // s is the scalar in the Montgomery domain, in the format of the + // fiat-crypto implementation. + s fiatScalarMontgomeryDomainFieldElement } -var ( - scZero = Scalar{[32]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} - - scOne = Scalar{[32]byte{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} - - scMinusOne = Scalar{[32]byte{236, 211, 245, 92, 26, 99, 18, 88, 214, 156, 247, 162, 222, 249, 222, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16}} -) +// The field implementation in scalar_fiat.go is generated by the fiat-crypto +// project (https://github.com/mit-plv/fiat-crypto) at version v0.0.9 (23d2dbc) +// from a formally verified model. +// +// fiat-crypto code comes under the following license. +// +// Copyright (c) 2015-2020 The fiat-crypto Authors. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// THIS SOFTWARE IS PROVIDED BY the fiat-crypto authors "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Berkeley Software Design, +// Inc. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// // NewScalar returns a new zero Scalar. func NewScalar() *Scalar { return &Scalar{} } -// MultiplyAdd sets s = x * y + z mod l, and returns s. +// MultiplyAdd sets s = x * y + z mod l, and returns s. It is equivalent to +// using Multiply and then Add. func (s *Scalar) MultiplyAdd(x, y, z *Scalar) *Scalar { - scMulAdd(&s.s, &x.s, &y.s, &z.s) - return s + // Make a copy of z in case it aliases s. + zCopy := new(Scalar).Set(z) + return s.Multiply(x, y).Add(s, zCopy) } // Add sets s = x + y mod l, and returns s. func (s *Scalar) Add(x, y *Scalar) *Scalar { // s = 1 * x + y mod l - scMulAdd(&s.s, &scOne.s, &x.s, &y.s) + fiatScalarAdd(&s.s, &x.s, &y.s) return s } // Subtract sets s = x - y mod l, and returns s. func (s *Scalar) Subtract(x, y *Scalar) *Scalar { // s = -1 * y + x mod l - scMulAdd(&s.s, &scMinusOne.s, &y.s, &x.s) + fiatScalarSub(&s.s, &x.s, &y.s) return s } // Negate sets s = -x mod l, and returns s. func (s *Scalar) Negate(x *Scalar) *Scalar { // s = -1 * x + 0 mod l - scMulAdd(&s.s, &scMinusOne.s, &x.s, &scZero.s) + fiatScalarOpp(&s.s, &x.s) return s } // Multiply sets s = x * y mod l, and returns s. func (s *Scalar) Multiply(x, y *Scalar) *Scalar { // s = x * y + 0 mod l - scMulAdd(&s.s, &x.s, &y.s, &scZero.s) + fiatScalarMul(&s.s, &x.s, &y.s) return s } @@ -83,18 +104,54 @@ func (s *Scalar) Set(x *Scalar) *Scalar { // If x is not of the right length, SetUniformBytes returns nil and an error, // and the receiver is unchanged. // -// SetUniformBytes can be used to set s to an uniformly distributed value given +// SetUniformBytes can be used to set s to a uniformly distributed value given // 64 uniformly distributed random bytes. func (s *Scalar) SetUniformBytes(x []byte) (*Scalar, error) { if len(x) != 64 { return nil, errors.New("edwards25519: invalid SetUniformBytes input length") } - var wideBytes [64]byte - copy(wideBytes[:], x[:]) - scReduce(&s.s, &wideBytes) + + // We have a value x of 512 bits, but our fiatScalarFromBytes function + // expects an input lower than l, which is a little over 252 bits. + // + // Instead of writing a reduction function that operates on wider inputs, we + // can interpret x as the sum of three shorter values a, b, and c. + // + // x = a + b * 2^168 + c * 2^336 mod l + // + // We then precompute 2^168 and 2^336 modulo l, and perform the reduction + // with two multiplications and two additions. + + s.setShortBytes(x[:21]) + t := new(Scalar).setShortBytes(x[21:42]) + s.Add(s, t.Multiply(t, scalarTwo168)) + t.setShortBytes(x[42:]) + s.Add(s, t.Multiply(t, scalarTwo336)) + return s, nil } +// scalarTwo168 and scalarTwo336 are 2^168 and 2^336 modulo l, encoded as a +// fiatScalarMontgomeryDomainFieldElement, which is a little-endian 4-limb value +// in the 2^256 Montgomery domain. +var scalarTwo168 = &Scalar{s: [4]uint64{0x5b8ab432eac74798, 0x38afddd6de59d5d7, + 0xa2c131b399411b7c, 0x6329a7ed9ce5a30}} +var scalarTwo336 = &Scalar{s: [4]uint64{0xbd3d108e2b35ecc5, 0x5c3a3718bdf9c90b, + 0x63aa97a331b4f2ee, 0x3d217f5be65cb5c}} + +// setShortBytes sets s = x mod l, where x is a little-endian integer shorter +// than 32 bytes. +func (s *Scalar) setShortBytes(x []byte) *Scalar { + if len(x) >= 32 { + panic("edwards25519: internal error: setShortBytes called with a long string") + } + var buf [32]byte + copy(buf[:], x) + fiatScalarFromBytes((*[4]uint64)(&s.s), &buf) + fiatScalarToMontgomery(&s.s, (*fiatScalarNonMontgomeryDomainFieldElement)(&s.s)) + return s +} + // SetCanonicalBytes sets s = x, where x is a 32-byte little-endian encoding of // s, and returns s. If x is not a canonical encoding of s, SetCanonicalBytes // returns nil and an error, and the receiver is unchanged. @@ -102,22 +159,31 @@ func (s *Scalar) SetCanonicalBytes(x []byte) (*Scalar, error) { if len(x) != 32 { return nil, errors.New("invalid scalar length") } - ss := &Scalar{} - copy(ss.s[:], x) - if !isReduced(ss) { + if !isReduced(x) { return nil, errors.New("invalid scalar encoding") } - s.s = ss.s + + fiatScalarFromBytes((*[4]uint64)(&s.s), (*[32]byte)(x)) + fiatScalarToMontgomery(&s.s, (*fiatScalarNonMontgomeryDomainFieldElement)(&s.s)) + return s, nil } -// isReduced returns whether the given scalar is reduced modulo l. -func isReduced(s *Scalar) bool { - for i := len(s.s) - 1; i >= 0; i-- { +// scalarMinusOneBytes is l - 1 in little endian. +var scalarMinusOneBytes = [32]byte{236, 211, 245, 92, 26, 99, 18, 88, 214, 156, 247, 162, 222, 249, 222, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16} + +// isReduced returns whether the given scalar in 32-byte little endian encoded +// form is reduced modulo l. +func isReduced(s []byte) bool { + if len(s) != 32 { + return false + } + + for i := len(s) - 1; i >= 0; i-- { switch { - case s.s[i] > scMinusOne.s[i]: + case s[i] > scalarMinusOneBytes[i]: return false - case s.s[i] < scMinusOne.s[i]: + case s[i] < scalarMinusOneBytes[i]: return true } } @@ -143,800 +209,45 @@ func (s *Scalar) SetBytesWithClamping(x []byte) (*Scalar, error) { if len(x) != 32 { return nil, errors.New("edwards25519: invalid SetBytesWithClamping input length") } + + // We need to use the wide reduction from SetUniformBytes, since clamping + // sets the 2^254 bit, making the value higher than the order. var wideBytes [64]byte copy(wideBytes[:], x[:]) wideBytes[0] &= 248 wideBytes[31] &= 63 wideBytes[31] |= 64 - scReduce(&s.s, &wideBytes) - return s, nil + return s.SetUniformBytes(wideBytes[:]) } // Bytes returns the canonical 32-byte little-endian encoding of s. func (s *Scalar) Bytes() []byte { - buf := make([]byte, 32) - copy(buf, s.s[:]) - return buf + // This function is outlined to make the allocations inline in the caller + // rather than happen on the heap. + var encoded [32]byte + return s.bytes(&encoded) +} + +func (s *Scalar) bytes(out *[32]byte) []byte { + var ss fiatScalarNonMontgomeryDomainFieldElement + fiatScalarFromMontgomery(&ss, &s.s) + fiatScalarToBytes(out, (*[4]uint64)(&ss)) + return out[:] } // Equal returns 1 if s and t are equal, and 0 otherwise. func (s *Scalar) Equal(t *Scalar) int { - return subtle.ConstantTimeCompare(s.s[:], t.s[:]) -} - -// scMulAdd and scReduce are ported from the public domain, “ref10†-// implementation of ed25519 from SUPERCOP. - -func load3(in []byte) int64 { - r := int64(in[0]) - r |= int64(in[1]) << 8 - r |= int64(in[2]) << 16 - return r -} - -func load4(in []byte) int64 { - r := int64(in[0]) - r |= int64(in[1]) << 8 - r |= int64(in[2]) << 16 - r |= int64(in[3]) << 24 - return r -} - -// Input: -// a[0]+256*a[1]+...+256^31*a[31] = a -// b[0]+256*b[1]+...+256^31*b[31] = b -// c[0]+256*c[1]+...+256^31*c[31] = c -// -// Output: -// s[0]+256*s[1]+...+256^31*s[31] = (ab+c) mod l -// where l = 2^252 + 27742317777372353535851937790883648493. -func scMulAdd(s, a, b, c *[32]byte) { - a0 := 2097151 & load3(a[:]) - a1 := 2097151 & (load4(a[2:]) >> 5) - a2 := 2097151 & (load3(a[5:]) >> 2) - a3 := 2097151 & (load4(a[7:]) >> 7) - a4 := 2097151 & (load4(a[10:]) >> 4) - a5 := 2097151 & (load3(a[13:]) >> 1) - a6 := 2097151 & (load4(a[15:]) >> 6) - a7 := 2097151 & (load3(a[18:]) >> 3) - a8 := 2097151 & load3(a[21:]) - a9 := 2097151 & (load4(a[23:]) >> 5) - a10 := 2097151 & (load3(a[26:]) >> 2) - a11 := (load4(a[28:]) >> 7) - b0 := 2097151 & load3(b[:]) - b1 := 2097151 & (load4(b[2:]) >> 5) - b2 := 2097151 & (load3(b[5:]) >> 2) - b3 := 2097151 & (load4(b[7:]) >> 7) - b4 := 2097151 & (load4(b[10:]) >> 4) - b5 := 2097151 & (load3(b[13:]) >> 1) - b6 := 2097151 & (load4(b[15:]) >> 6) - b7 := 2097151 & (load3(b[18:]) >> 3) - b8 := 2097151 & load3(b[21:]) - b9 := 2097151 & (load4(b[23:]) >> 5) - b10 := 2097151 & (load3(b[26:]) >> 2) - b11 := (load4(b[28:]) >> 7) - c0 := 2097151 & load3(c[:]) - c1 := 2097151 & (load4(c[2:]) >> 5) - c2 := 2097151 & (load3(c[5:]) >> 2) - c3 := 2097151 & (load4(c[7:]) >> 7) - c4 := 2097151 & (load4(c[10:]) >> 4) - c5 := 2097151 & (load3(c[13:]) >> 1) - c6 := 2097151 & (load4(c[15:]) >> 6) - c7 := 2097151 & (load3(c[18:]) >> 3) - c8 := 2097151 & load3(c[21:]) - c9 := 2097151 & (load4(c[23:]) >> 5) - c10 := 2097151 & (load3(c[26:]) >> 2) - c11 := (load4(c[28:]) >> 7) - var carry [23]int64 - - s0 := c0 + a0*b0 - s1 := c1 + a0*b1 + a1*b0 - s2 := c2 + a0*b2 + a1*b1 + a2*b0 - s3 := c3 + a0*b3 + a1*b2 + a2*b1 + a3*b0 - s4 := c4 + a0*b4 + a1*b3 + a2*b2 + a3*b1 + a4*b0 - s5 := c5 + a0*b5 + a1*b4 + a2*b3 + a3*b2 + a4*b1 + a5*b0 - s6 := c6 + a0*b6 + a1*b5 + a2*b4 + a3*b3 + a4*b2 + a5*b1 + a6*b0 - s7 := c7 + a0*b7 + a1*b6 + a2*b5 + a3*b4 + a4*b3 + a5*b2 + a6*b1 + a7*b0 - s8 := c8 + a0*b8 + a1*b7 + a2*b6 + a3*b5 + a4*b4 + a5*b3 + a6*b2 + a7*b1 + a8*b0 - s9 := c9 + a0*b9 + a1*b8 + a2*b7 + a3*b6 + a4*b5 + a5*b4 + a6*b3 + a7*b2 + a8*b1 + a9*b0 - s10 := c10 + a0*b10 + a1*b9 + a2*b8 + a3*b7 + a4*b6 + a5*b5 + a6*b4 + a7*b3 + a8*b2 + a9*b1 + a10*b0 - s11 := c11 + a0*b11 + a1*b10 + a2*b9 + a3*b8 + a4*b7 + a5*b6 + a6*b5 + a7*b4 + a8*b3 + a9*b2 + a10*b1 + a11*b0 - s12 := a1*b11 + a2*b10 + a3*b9 + a4*b8 + a5*b7 + a6*b6 + a7*b5 + a8*b4 + a9*b3 + a10*b2 + a11*b1 - s13 := a2*b11 + a3*b10 + a4*b9 + a5*b8 + a6*b7 + a7*b6 + a8*b5 + a9*b4 + a10*b3 + a11*b2 - s14 := a3*b11 + a4*b10 + a5*b9 + a6*b8 + a7*b7 + a8*b6 + a9*b5 + a10*b4 + a11*b3 - s15 := a4*b11 + a5*b10 + a6*b9 + a7*b8 + a8*b7 + a9*b6 + a10*b5 + a11*b4 - s16 := a5*b11 + a6*b10 + a7*b9 + a8*b8 + a9*b7 + a10*b6 + a11*b5 - s17 := a6*b11 + a7*b10 + a8*b9 + a9*b8 + a10*b7 + a11*b6 - s18 := a7*b11 + a8*b10 + a9*b9 + a10*b8 + a11*b7 - s19 := a8*b11 + a9*b10 + a10*b9 + a11*b8 - s20 := a9*b11 + a10*b10 + a11*b9 - s21 := a10*b11 + a11*b10 - s22 := a11 * b11 - s23 := int64(0) - - carry[0] = (s0 + (1 << 20)) >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[2] = (s2 + (1 << 20)) >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[4] = (s4 + (1 << 20)) >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[6] = (s6 + (1 << 20)) >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[8] = (s8 + (1 << 20)) >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[10] = (s10 + (1 << 20)) >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - carry[12] = (s12 + (1 << 20)) >> 21 - s13 += carry[12] - s12 -= carry[12] << 21 - carry[14] = (s14 + (1 << 20)) >> 21 - s15 += carry[14] - s14 -= carry[14] << 21 - carry[16] = (s16 + (1 << 20)) >> 21 - s17 += carry[16] - s16 -= carry[16] << 21 - carry[18] = (s18 + (1 << 20)) >> 21 - s19 += carry[18] - s18 -= carry[18] << 21 - carry[20] = (s20 + (1 << 20)) >> 21 - s21 += carry[20] - s20 -= carry[20] << 21 - carry[22] = (s22 + (1 << 20)) >> 21 - s23 += carry[22] - s22 -= carry[22] << 21 - - carry[1] = (s1 + (1 << 20)) >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[3] = (s3 + (1 << 20)) >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[5] = (s5 + (1 << 20)) >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[7] = (s7 + (1 << 20)) >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[9] = (s9 + (1 << 20)) >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[11] = (s11 + (1 << 20)) >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - carry[13] = (s13 + (1 << 20)) >> 21 - s14 += carry[13] - s13 -= carry[13] << 21 - carry[15] = (s15 + (1 << 20)) >> 21 - s16 += carry[15] - s15 -= carry[15] << 21 - carry[17] = (s17 + (1 << 20)) >> 21 - s18 += carry[17] - s17 -= carry[17] << 21 - carry[19] = (s19 + (1 << 20)) >> 21 - s20 += carry[19] - s19 -= carry[19] << 21 - carry[21] = (s21 + (1 << 20)) >> 21 - s22 += carry[21] - s21 -= carry[21] << 21 - - s11 += s23 * 666643 - s12 += s23 * 470296 - s13 += s23 * 654183 - s14 -= s23 * 997805 - s15 += s23 * 136657 - s16 -= s23 * 683901 - s23 = 0 - - s10 += s22 * 666643 - s11 += s22 * 470296 - s12 += s22 * 654183 - s13 -= s22 * 997805 - s14 += s22 * 136657 - s15 -= s22 * 683901 - s22 = 0 - - s9 += s21 * 666643 - s10 += s21 * 470296 - s11 += s21 * 654183 - s12 -= s21 * 997805 - s13 += s21 * 136657 - s14 -= s21 * 683901 - s21 = 0 - - s8 += s20 * 666643 - s9 += s20 * 470296 - s10 += s20 * 654183 - s11 -= s20 * 997805 - s12 += s20 * 136657 - s13 -= s20 * 683901 - s20 = 0 - - s7 += s19 * 666643 - s8 += s19 * 470296 - s9 += s19 * 654183 - s10 -= s19 * 997805 - s11 += s19 * 136657 - s12 -= s19 * 683901 - s19 = 0 - - s6 += s18 * 666643 - s7 += s18 * 470296 - s8 += s18 * 654183 - s9 -= s18 * 997805 - s10 += s18 * 136657 - s11 -= s18 * 683901 - s18 = 0 - - carry[6] = (s6 + (1 << 20)) >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[8] = (s8 + (1 << 20)) >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[10] = (s10 + (1 << 20)) >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - carry[12] = (s12 + (1 << 20)) >> 21 - s13 += carry[12] - s12 -= carry[12] << 21 - carry[14] = (s14 + (1 << 20)) >> 21 - s15 += carry[14] - s14 -= carry[14] << 21 - carry[16] = (s16 + (1 << 20)) >> 21 - s17 += carry[16] - s16 -= carry[16] << 21 - - carry[7] = (s7 + (1 << 20)) >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[9] = (s9 + (1 << 20)) >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[11] = (s11 + (1 << 20)) >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - carry[13] = (s13 + (1 << 20)) >> 21 - s14 += carry[13] - s13 -= carry[13] << 21 - carry[15] = (s15 + (1 << 20)) >> 21 - s16 += carry[15] - s15 -= carry[15] << 21 - - s5 += s17 * 666643 - s6 += s17 * 470296 - s7 += s17 * 654183 - s8 -= s17 * 997805 - s9 += s17 * 136657 - s10 -= s17 * 683901 - s17 = 0 - - s4 += s16 * 666643 - s5 += s16 * 470296 - s6 += s16 * 654183 - s7 -= s16 * 997805 - s8 += s16 * 136657 - s9 -= s16 * 683901 - s16 = 0 - - s3 += s15 * 666643 - s4 += s15 * 470296 - s5 += s15 * 654183 - s6 -= s15 * 997805 - s7 += s15 * 136657 - s8 -= s15 * 683901 - s15 = 0 - - s2 += s14 * 666643 - s3 += s14 * 470296 - s4 += s14 * 654183 - s5 -= s14 * 997805 - s6 += s14 * 136657 - s7 -= s14 * 683901 - s14 = 0 - - s1 += s13 * 666643 - s2 += s13 * 470296 - s3 += s13 * 654183 - s4 -= s13 * 997805 - s5 += s13 * 136657 - s6 -= s13 * 683901 - s13 = 0 - - s0 += s12 * 666643 - s1 += s12 * 470296 - s2 += s12 * 654183 - s3 -= s12 * 997805 - s4 += s12 * 136657 - s5 -= s12 * 683901 - s12 = 0 - - carry[0] = (s0 + (1 << 20)) >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[2] = (s2 + (1 << 20)) >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[4] = (s4 + (1 << 20)) >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[6] = (s6 + (1 << 20)) >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[8] = (s8 + (1 << 20)) >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[10] = (s10 + (1 << 20)) >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - - carry[1] = (s1 + (1 << 20)) >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[3] = (s3 + (1 << 20)) >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[5] = (s5 + (1 << 20)) >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[7] = (s7 + (1 << 20)) >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[9] = (s9 + (1 << 20)) >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[11] = (s11 + (1 << 20)) >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - - s0 += s12 * 666643 - s1 += s12 * 470296 - s2 += s12 * 654183 - s3 -= s12 * 997805 - s4 += s12 * 136657 - s5 -= s12 * 683901 - s12 = 0 - - carry[0] = s0 >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[1] = s1 >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[2] = s2 >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[3] = s3 >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[4] = s4 >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[5] = s5 >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[6] = s6 >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[7] = s7 >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[8] = s8 >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[9] = s9 >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[10] = s10 >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - carry[11] = s11 >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - - s0 += s12 * 666643 - s1 += s12 * 470296 - s2 += s12 * 654183 - s3 -= s12 * 997805 - s4 += s12 * 136657 - s5 -= s12 * 683901 - s12 = 0 - - carry[0] = s0 >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[1] = s1 >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[2] = s2 >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[3] = s3 >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[4] = s4 >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[5] = s5 >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[6] = s6 >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[7] = s7 >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[8] = s8 >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[9] = s9 >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[10] = s10 >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - - s[0] = byte(s0 >> 0) - s[1] = byte(s0 >> 8) - s[2] = byte((s0 >> 16) | (s1 << 5)) - s[3] = byte(s1 >> 3) - s[4] = byte(s1 >> 11) - s[5] = byte((s1 >> 19) | (s2 << 2)) - s[6] = byte(s2 >> 6) - s[7] = byte((s2 >> 14) | (s3 << 7)) - s[8] = byte(s3 >> 1) - s[9] = byte(s3 >> 9) - s[10] = byte((s3 >> 17) | (s4 << 4)) - s[11] = byte(s4 >> 4) - s[12] = byte(s4 >> 12) - s[13] = byte((s4 >> 20) | (s5 << 1)) - s[14] = byte(s5 >> 7) - s[15] = byte((s5 >> 15) | (s6 << 6)) - s[16] = byte(s6 >> 2) - s[17] = byte(s6 >> 10) - s[18] = byte((s6 >> 18) | (s7 << 3)) - s[19] = byte(s7 >> 5) - s[20] = byte(s7 >> 13) - s[21] = byte(s8 >> 0) - s[22] = byte(s8 >> 8) - s[23] = byte((s8 >> 16) | (s9 << 5)) - s[24] = byte(s9 >> 3) - s[25] = byte(s9 >> 11) - s[26] = byte((s9 >> 19) | (s10 << 2)) - s[27] = byte(s10 >> 6) - s[28] = byte((s10 >> 14) | (s11 << 7)) - s[29] = byte(s11 >> 1) - s[30] = byte(s11 >> 9) - s[31] = byte(s11 >> 17) -} - -// Input: -// s[0]+256*s[1]+...+256^63*s[63] = s -// -// Output: -// s[0]+256*s[1]+...+256^31*s[31] = s mod l -// where l = 2^252 + 27742317777372353535851937790883648493. -func scReduce(out *[32]byte, s *[64]byte) { - s0 := 2097151 & load3(s[:]) - s1 := 2097151 & (load4(s[2:]) >> 5) - s2 := 2097151 & (load3(s[5:]) >> 2) - s3 := 2097151 & (load4(s[7:]) >> 7) - s4 := 2097151 & (load4(s[10:]) >> 4) - s5 := 2097151 & (load3(s[13:]) >> 1) - s6 := 2097151 & (load4(s[15:]) >> 6) - s7 := 2097151 & (load3(s[18:]) >> 3) - s8 := 2097151 & load3(s[21:]) - s9 := 2097151 & (load4(s[23:]) >> 5) - s10 := 2097151 & (load3(s[26:]) >> 2) - s11 := 2097151 & (load4(s[28:]) >> 7) - s12 := 2097151 & (load4(s[31:]) >> 4) - s13 := 2097151 & (load3(s[34:]) >> 1) - s14 := 2097151 & (load4(s[36:]) >> 6) - s15 := 2097151 & (load3(s[39:]) >> 3) - s16 := 2097151 & load3(s[42:]) - s17 := 2097151 & (load4(s[44:]) >> 5) - s18 := 2097151 & (load3(s[47:]) >> 2) - s19 := 2097151 & (load4(s[49:]) >> 7) - s20 := 2097151 & (load4(s[52:]) >> 4) - s21 := 2097151 & (load3(s[55:]) >> 1) - s22 := 2097151 & (load4(s[57:]) >> 6) - s23 := (load4(s[60:]) >> 3) - - s11 += s23 * 666643 - s12 += s23 * 470296 - s13 += s23 * 654183 - s14 -= s23 * 997805 - s15 += s23 * 136657 - s16 -= s23 * 683901 - s23 = 0 - - s10 += s22 * 666643 - s11 += s22 * 470296 - s12 += s22 * 654183 - s13 -= s22 * 997805 - s14 += s22 * 136657 - s15 -= s22 * 683901 - s22 = 0 - - s9 += s21 * 666643 - s10 += s21 * 470296 - s11 += s21 * 654183 - s12 -= s21 * 997805 - s13 += s21 * 136657 - s14 -= s21 * 683901 - s21 = 0 - - s8 += s20 * 666643 - s9 += s20 * 470296 - s10 += s20 * 654183 - s11 -= s20 * 997805 - s12 += s20 * 136657 - s13 -= s20 * 683901 - s20 = 0 - - s7 += s19 * 666643 - s8 += s19 * 470296 - s9 += s19 * 654183 - s10 -= s19 * 997805 - s11 += s19 * 136657 - s12 -= s19 * 683901 - s19 = 0 - - s6 += s18 * 666643 - s7 += s18 * 470296 - s8 += s18 * 654183 - s9 -= s18 * 997805 - s10 += s18 * 136657 - s11 -= s18 * 683901 - s18 = 0 - - var carry [17]int64 - - carry[6] = (s6 + (1 << 20)) >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[8] = (s8 + (1 << 20)) >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[10] = (s10 + (1 << 20)) >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - carry[12] = (s12 + (1 << 20)) >> 21 - s13 += carry[12] - s12 -= carry[12] << 21 - carry[14] = (s14 + (1 << 20)) >> 21 - s15 += carry[14] - s14 -= carry[14] << 21 - carry[16] = (s16 + (1 << 20)) >> 21 - s17 += carry[16] - s16 -= carry[16] << 21 - - carry[7] = (s7 + (1 << 20)) >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[9] = (s9 + (1 << 20)) >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[11] = (s11 + (1 << 20)) >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - carry[13] = (s13 + (1 << 20)) >> 21 - s14 += carry[13] - s13 -= carry[13] << 21 - carry[15] = (s15 + (1 << 20)) >> 21 - s16 += carry[15] - s15 -= carry[15] << 21 - - s5 += s17 * 666643 - s6 += s17 * 470296 - s7 += s17 * 654183 - s8 -= s17 * 997805 - s9 += s17 * 136657 - s10 -= s17 * 683901 - s17 = 0 - - s4 += s16 * 666643 - s5 += s16 * 470296 - s6 += s16 * 654183 - s7 -= s16 * 997805 - s8 += s16 * 136657 - s9 -= s16 * 683901 - s16 = 0 - - s3 += s15 * 666643 - s4 += s15 * 470296 - s5 += s15 * 654183 - s6 -= s15 * 997805 - s7 += s15 * 136657 - s8 -= s15 * 683901 - s15 = 0 - - s2 += s14 * 666643 - s3 += s14 * 470296 - s4 += s14 * 654183 - s5 -= s14 * 997805 - s6 += s14 * 136657 - s7 -= s14 * 683901 - s14 = 0 - - s1 += s13 * 666643 - s2 += s13 * 470296 - s3 += s13 * 654183 - s4 -= s13 * 997805 - s5 += s13 * 136657 - s6 -= s13 * 683901 - s13 = 0 - - s0 += s12 * 666643 - s1 += s12 * 470296 - s2 += s12 * 654183 - s3 -= s12 * 997805 - s4 += s12 * 136657 - s5 -= s12 * 683901 - s12 = 0 - - carry[0] = (s0 + (1 << 20)) >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[2] = (s2 + (1 << 20)) >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[4] = (s4 + (1 << 20)) >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[6] = (s6 + (1 << 20)) >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[8] = (s8 + (1 << 20)) >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[10] = (s10 + (1 << 20)) >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - - carry[1] = (s1 + (1 << 20)) >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[3] = (s3 + (1 << 20)) >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[5] = (s5 + (1 << 20)) >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[7] = (s7 + (1 << 20)) >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[9] = (s9 + (1 << 20)) >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[11] = (s11 + (1 << 20)) >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - - s0 += s12 * 666643 - s1 += s12 * 470296 - s2 += s12 * 654183 - s3 -= s12 * 997805 - s4 += s12 * 136657 - s5 -= s12 * 683901 - s12 = 0 - - carry[0] = s0 >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[1] = s1 >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[2] = s2 >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[3] = s3 >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[4] = s4 >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[5] = s5 >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[6] = s6 >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[7] = s7 >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[8] = s8 >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[9] = s9 >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[10] = s10 >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - carry[11] = s11 >> 21 - s12 += carry[11] - s11 -= carry[11] << 21 - - s0 += s12 * 666643 - s1 += s12 * 470296 - s2 += s12 * 654183 - s3 -= s12 * 997805 - s4 += s12 * 136657 - s5 -= s12 * 683901 - s12 = 0 - - carry[0] = s0 >> 21 - s1 += carry[0] - s0 -= carry[0] << 21 - carry[1] = s1 >> 21 - s2 += carry[1] - s1 -= carry[1] << 21 - carry[2] = s2 >> 21 - s3 += carry[2] - s2 -= carry[2] << 21 - carry[3] = s3 >> 21 - s4 += carry[3] - s3 -= carry[3] << 21 - carry[4] = s4 >> 21 - s5 += carry[4] - s4 -= carry[4] << 21 - carry[5] = s5 >> 21 - s6 += carry[5] - s5 -= carry[5] << 21 - carry[6] = s6 >> 21 - s7 += carry[6] - s6 -= carry[6] << 21 - carry[7] = s7 >> 21 - s8 += carry[7] - s7 -= carry[7] << 21 - carry[8] = s8 >> 21 - s9 += carry[8] - s8 -= carry[8] << 21 - carry[9] = s9 >> 21 - s10 += carry[9] - s9 -= carry[9] << 21 - carry[10] = s10 >> 21 - s11 += carry[10] - s10 -= carry[10] << 21 - - out[0] = byte(s0 >> 0) - out[1] = byte(s0 >> 8) - out[2] = byte((s0 >> 16) | (s1 << 5)) - out[3] = byte(s1 >> 3) - out[4] = byte(s1 >> 11) - out[5] = byte((s1 >> 19) | (s2 << 2)) - out[6] = byte(s2 >> 6) - out[7] = byte((s2 >> 14) | (s3 << 7)) - out[8] = byte(s3 >> 1) - out[9] = byte(s3 >> 9) - out[10] = byte((s3 >> 17) | (s4 << 4)) - out[11] = byte(s4 >> 4) - out[12] = byte(s4 >> 12) - out[13] = byte((s4 >> 20) | (s5 << 1)) - out[14] = byte(s5 >> 7) - out[15] = byte((s5 >> 15) | (s6 << 6)) - out[16] = byte(s6 >> 2) - out[17] = byte(s6 >> 10) - out[18] = byte((s6 >> 18) | (s7 << 3)) - out[19] = byte(s7 >> 5) - out[20] = byte(s7 >> 13) - out[21] = byte(s8 >> 0) - out[22] = byte(s8 >> 8) - out[23] = byte((s8 >> 16) | (s9 << 5)) - out[24] = byte(s9 >> 3) - out[25] = byte(s9 >> 11) - out[26] = byte((s9 >> 19) | (s10 << 2)) - out[27] = byte(s10 >> 6) - out[28] = byte((s10 >> 14) | (s11 << 7)) - out[29] = byte(s11 >> 1) - out[30] = byte(s11 >> 9) - out[31] = byte(s11 >> 17) + var diff fiatScalarMontgomeryDomainFieldElement + fiatScalarSub(&diff, &s.s, &t.s) + var nonzero uint64 + fiatScalarNonzero(&nonzero, (*[4]uint64)(&diff)) + nonzero |= nonzero >> 32 + nonzero |= nonzero >> 16 + nonzero |= nonzero >> 8 + nonzero |= nonzero >> 4 + nonzero |= nonzero >> 2 + nonzero |= nonzero >> 1 + return int(^nonzero) & 1 } // nonAdjacentForm computes a width-w non-adjacent form for this scalar. @@ -946,7 +257,8 @@ func (s *Scalar) nonAdjacentForm(w uint) [256]int8 { // This implementation is adapted from the one // in curve25519-dalek and is documented there: // https://github.com/dalek-cryptography/curve25519-dalek/blob/f630041af28e9a405255f98a8a93adca18e4315b/src/scalar.rs#L800-L871 - if s.s[31] > 127 { + b := s.Bytes() + if b[31] > 127 { panic("scalar has high bit set illegally") } if w < 2 { @@ -959,7 +271,7 @@ func (s *Scalar) nonAdjacentForm(w uint) [256]int8 { var digits [5]uint64 for i := 0; i < 4; i++ { - digits[i] = binary.LittleEndian.Uint64(s.s[i*8:]) + digits[i] = binary.LittleEndian.Uint64(b[i*8:]) } width := uint64(1 << w) @@ -1007,7 +319,8 @@ func (s *Scalar) nonAdjacentForm(w uint) [256]int8 { } func (s *Scalar) signedRadix16() [64]int8 { - if s.s[31] > 127 { + b := s.Bytes() + if b[31] > 127 { panic("scalar has high bit set illegally") } @@ -1015,8 +328,8 @@ func (s *Scalar) signedRadix16() [64]int8 { // Compute unsigned radix-16 digits: for i := 0; i < 32; i++ { - digits[2*i] = int8(s.s[i] & 15) - digits[2*i+1] = int8((s.s[i] >> 4) & 15) + digits[2*i] = int8(b[i] & 15) + digits[2*i+1] = int8((b[i] >> 4) & 15) } // Recenter coefficients: diff --git a/vendor/filippo.io/edwards25519/scalar_fiat.go b/vendor/filippo.io/edwards25519/scalar_fiat.go new file mode 100644 index 00000000..2e5782b6 --- /dev/null +++ b/vendor/filippo.io/edwards25519/scalar_fiat.go @@ -0,0 +1,1147 @@ +// Code generated by Fiat Cryptography. DO NOT EDIT. +// +// Autogenerated: word_by_word_montgomery --lang Go --cmovznz-by-mul --relax-primitive-carry-to-bitwidth 32,64 --public-function-case camelCase --public-type-case camelCase --private-function-case camelCase --private-type-case camelCase --doc-text-before-function-name '' --doc-newline-before-package-declaration --doc-prepend-header 'Code generated by Fiat Cryptography. DO NOT EDIT.' --package-name edwards25519 Scalar 64 '2^252 + 27742317777372353535851937790883648493' mul add sub opp nonzero from_montgomery to_montgomery to_bytes from_bytes +// +// curve description: Scalar +// +// machine_wordsize = 64 (from "64") +// +// requested operations: mul, add, sub, opp, nonzero, from_montgomery, to_montgomery, to_bytes, from_bytes +// +// m = 0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed (from "2^252 + 27742317777372353535851937790883648493") +// +// +// +// NOTE: In addition to the bounds specified above each function, all +// +// functions synthesized for this Montgomery arithmetic require the +// +// input to be strictly less than the prime modulus (m), and also +// +// require the input to be in the unique saturated representation. +// +// All functions also ensure that these two properties are true of +// +// return values. +// +// +// +// Computed values: +// +// eval z = z[0] + (z[1] << 64) + (z[2] << 128) + (z[3] << 192) +// +// bytes_eval z = z[0] + (z[1] << 8) + (z[2] << 16) + (z[3] << 24) + (z[4] << 32) + (z[5] << 40) + (z[6] << 48) + (z[7] << 56) + (z[8] << 64) + (z[9] << 72) + (z[10] << 80) + (z[11] << 88) + (z[12] << 96) + (z[13] << 104) + (z[14] << 112) + (z[15] << 120) + (z[16] << 128) + (z[17] << 136) + (z[18] << 144) + (z[19] << 152) + (z[20] << 160) + (z[21] << 168) + (z[22] << 176) + (z[23] << 184) + (z[24] << 192) + (z[25] << 200) + (z[26] << 208) + (z[27] << 216) + (z[28] << 224) + (z[29] << 232) + (z[30] << 240) + (z[31] << 248) +// +// twos_complement_eval z = let x1 := z[0] + (z[1] << 64) + (z[2] << 128) + (z[3] << 192) in +// +// if x1 & (2^256-1) < 2^255 then x1 & (2^256-1) else (x1 & (2^256-1)) - 2^256 + +package edwards25519 + +import "math/bits" + +type fiatScalarUint1 uint64 // We use uint64 instead of a more narrow type for performance reasons; see https://github.com/mit-plv/fiat-crypto/pull/1006#issuecomment-892625927 +type fiatScalarInt1 int64 // We use uint64 instead of a more narrow type for performance reasons; see https://github.com/mit-plv/fiat-crypto/pull/1006#issuecomment-892625927 + +// The type fiatScalarMontgomeryDomainFieldElement is a field element in the Montgomery domain. +// +// Bounds: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] +type fiatScalarMontgomeryDomainFieldElement [4]uint64 + +// The type fiatScalarNonMontgomeryDomainFieldElement is a field element NOT in the Montgomery domain. +// +// Bounds: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] +type fiatScalarNonMontgomeryDomainFieldElement [4]uint64 + +// fiatScalarCmovznzU64 is a single-word conditional move. +// +// Postconditions: +// +// out1 = (if arg1 = 0 then arg2 else arg3) +// +// Input Bounds: +// +// arg1: [0x0 ~> 0x1] +// arg2: [0x0 ~> 0xffffffffffffffff] +// arg3: [0x0 ~> 0xffffffffffffffff] +// +// Output Bounds: +// +// out1: [0x0 ~> 0xffffffffffffffff] +func fiatScalarCmovznzU64(out1 *uint64, arg1 fiatScalarUint1, arg2 uint64, arg3 uint64) { + x1 := (uint64(arg1) * 0xffffffffffffffff) + x2 := ((x1 & arg3) | ((^x1) & arg2)) + *out1 = x2 +} + +// fiatScalarMul multiplies two field elements in the Montgomery domain. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// 0 ≤ eval arg2 < m +// +// Postconditions: +// +// eval (from_montgomery out1) mod m = (eval (from_montgomery arg1) * eval (from_montgomery arg2)) mod m +// 0 ≤ eval out1 < m +func fiatScalarMul(out1 *fiatScalarMontgomeryDomainFieldElement, arg1 *fiatScalarMontgomeryDomainFieldElement, arg2 *fiatScalarMontgomeryDomainFieldElement) { + x1 := arg1[1] + x2 := arg1[2] + x3 := arg1[3] + x4 := arg1[0] + var x5 uint64 + var x6 uint64 + x6, x5 = bits.Mul64(x4, arg2[3]) + var x7 uint64 + var x8 uint64 + x8, x7 = bits.Mul64(x4, arg2[2]) + var x9 uint64 + var x10 uint64 + x10, x9 = bits.Mul64(x4, arg2[1]) + var x11 uint64 + var x12 uint64 + x12, x11 = bits.Mul64(x4, arg2[0]) + var x13 uint64 + var x14 uint64 + x13, x14 = bits.Add64(x12, x9, uint64(0x0)) + var x15 uint64 + var x16 uint64 + x15, x16 = bits.Add64(x10, x7, uint64(fiatScalarUint1(x14))) + var x17 uint64 + var x18 uint64 + x17, x18 = bits.Add64(x8, x5, uint64(fiatScalarUint1(x16))) + x19 := (uint64(fiatScalarUint1(x18)) + x6) + var x20 uint64 + _, x20 = bits.Mul64(x11, 0xd2b51da312547e1b) + var x22 uint64 + var x23 uint64 + x23, x22 = bits.Mul64(x20, 0x1000000000000000) + var x24 uint64 + var x25 uint64 + x25, x24 = bits.Mul64(x20, 0x14def9dea2f79cd6) + var x26 uint64 + var x27 uint64 + x27, x26 = bits.Mul64(x20, 0x5812631a5cf5d3ed) + var x28 uint64 + var x29 uint64 + x28, x29 = bits.Add64(x27, x24, uint64(0x0)) + x30 := (uint64(fiatScalarUint1(x29)) + x25) + var x32 uint64 + _, x32 = bits.Add64(x11, x26, uint64(0x0)) + var x33 uint64 + var x34 uint64 + x33, x34 = bits.Add64(x13, x28, uint64(fiatScalarUint1(x32))) + var x35 uint64 + var x36 uint64 + x35, x36 = bits.Add64(x15, x30, uint64(fiatScalarUint1(x34))) + var x37 uint64 + var x38 uint64 + x37, x38 = bits.Add64(x17, x22, uint64(fiatScalarUint1(x36))) + var x39 uint64 + var x40 uint64 + x39, x40 = bits.Add64(x19, x23, uint64(fiatScalarUint1(x38))) + var x41 uint64 + var x42 uint64 + x42, x41 = bits.Mul64(x1, arg2[3]) + var x43 uint64 + var x44 uint64 + x44, x43 = bits.Mul64(x1, arg2[2]) + var x45 uint64 + var x46 uint64 + x46, x45 = bits.Mul64(x1, arg2[1]) + var x47 uint64 + var x48 uint64 + x48, x47 = bits.Mul64(x1, arg2[0]) + var x49 uint64 + var x50 uint64 + x49, x50 = bits.Add64(x48, x45, uint64(0x0)) + var x51 uint64 + var x52 uint64 + x51, x52 = bits.Add64(x46, x43, uint64(fiatScalarUint1(x50))) + var x53 uint64 + var x54 uint64 + x53, x54 = bits.Add64(x44, x41, uint64(fiatScalarUint1(x52))) + x55 := (uint64(fiatScalarUint1(x54)) + x42) + var x56 uint64 + var x57 uint64 + x56, x57 = bits.Add64(x33, x47, uint64(0x0)) + var x58 uint64 + var x59 uint64 + x58, x59 = bits.Add64(x35, x49, uint64(fiatScalarUint1(x57))) + var x60 uint64 + var x61 uint64 + x60, x61 = bits.Add64(x37, x51, uint64(fiatScalarUint1(x59))) + var x62 uint64 + var x63 uint64 + x62, x63 = bits.Add64(x39, x53, uint64(fiatScalarUint1(x61))) + var x64 uint64 + var x65 uint64 + x64, x65 = bits.Add64(uint64(fiatScalarUint1(x40)), x55, uint64(fiatScalarUint1(x63))) + var x66 uint64 + _, x66 = bits.Mul64(x56, 0xd2b51da312547e1b) + var x68 uint64 + var x69 uint64 + x69, x68 = bits.Mul64(x66, 0x1000000000000000) + var x70 uint64 + var x71 uint64 + x71, x70 = bits.Mul64(x66, 0x14def9dea2f79cd6) + var x72 uint64 + var x73 uint64 + x73, x72 = bits.Mul64(x66, 0x5812631a5cf5d3ed) + var x74 uint64 + var x75 uint64 + x74, x75 = bits.Add64(x73, x70, uint64(0x0)) + x76 := (uint64(fiatScalarUint1(x75)) + x71) + var x78 uint64 + _, x78 = bits.Add64(x56, x72, uint64(0x0)) + var x79 uint64 + var x80 uint64 + x79, x80 = bits.Add64(x58, x74, uint64(fiatScalarUint1(x78))) + var x81 uint64 + var x82 uint64 + x81, x82 = bits.Add64(x60, x76, uint64(fiatScalarUint1(x80))) + var x83 uint64 + var x84 uint64 + x83, x84 = bits.Add64(x62, x68, uint64(fiatScalarUint1(x82))) + var x85 uint64 + var x86 uint64 + x85, x86 = bits.Add64(x64, x69, uint64(fiatScalarUint1(x84))) + x87 := (uint64(fiatScalarUint1(x86)) + uint64(fiatScalarUint1(x65))) + var x88 uint64 + var x89 uint64 + x89, x88 = bits.Mul64(x2, arg2[3]) + var x90 uint64 + var x91 uint64 + x91, x90 = bits.Mul64(x2, arg2[2]) + var x92 uint64 + var x93 uint64 + x93, x92 = bits.Mul64(x2, arg2[1]) + var x94 uint64 + var x95 uint64 + x95, x94 = bits.Mul64(x2, arg2[0]) + var x96 uint64 + var x97 uint64 + x96, x97 = bits.Add64(x95, x92, uint64(0x0)) + var x98 uint64 + var x99 uint64 + x98, x99 = bits.Add64(x93, x90, uint64(fiatScalarUint1(x97))) + var x100 uint64 + var x101 uint64 + x100, x101 = bits.Add64(x91, x88, uint64(fiatScalarUint1(x99))) + x102 := (uint64(fiatScalarUint1(x101)) + x89) + var x103 uint64 + var x104 uint64 + x103, x104 = bits.Add64(x79, x94, uint64(0x0)) + var x105 uint64 + var x106 uint64 + x105, x106 = bits.Add64(x81, x96, uint64(fiatScalarUint1(x104))) + var x107 uint64 + var x108 uint64 + x107, x108 = bits.Add64(x83, x98, uint64(fiatScalarUint1(x106))) + var x109 uint64 + var x110 uint64 + x109, x110 = bits.Add64(x85, x100, uint64(fiatScalarUint1(x108))) + var x111 uint64 + var x112 uint64 + x111, x112 = bits.Add64(x87, x102, uint64(fiatScalarUint1(x110))) + var x113 uint64 + _, x113 = bits.Mul64(x103, 0xd2b51da312547e1b) + var x115 uint64 + var x116 uint64 + x116, x115 = bits.Mul64(x113, 0x1000000000000000) + var x117 uint64 + var x118 uint64 + x118, x117 = bits.Mul64(x113, 0x14def9dea2f79cd6) + var x119 uint64 + var x120 uint64 + x120, x119 = bits.Mul64(x113, 0x5812631a5cf5d3ed) + var x121 uint64 + var x122 uint64 + x121, x122 = bits.Add64(x120, x117, uint64(0x0)) + x123 := (uint64(fiatScalarUint1(x122)) + x118) + var x125 uint64 + _, x125 = bits.Add64(x103, x119, uint64(0x0)) + var x126 uint64 + var x127 uint64 + x126, x127 = bits.Add64(x105, x121, uint64(fiatScalarUint1(x125))) + var x128 uint64 + var x129 uint64 + x128, x129 = bits.Add64(x107, x123, uint64(fiatScalarUint1(x127))) + var x130 uint64 + var x131 uint64 + x130, x131 = bits.Add64(x109, x115, uint64(fiatScalarUint1(x129))) + var x132 uint64 + var x133 uint64 + x132, x133 = bits.Add64(x111, x116, uint64(fiatScalarUint1(x131))) + x134 := (uint64(fiatScalarUint1(x133)) + uint64(fiatScalarUint1(x112))) + var x135 uint64 + var x136 uint64 + x136, x135 = bits.Mul64(x3, arg2[3]) + var x137 uint64 + var x138 uint64 + x138, x137 = bits.Mul64(x3, arg2[2]) + var x139 uint64 + var x140 uint64 + x140, x139 = bits.Mul64(x3, arg2[1]) + var x141 uint64 + var x142 uint64 + x142, x141 = bits.Mul64(x3, arg2[0]) + var x143 uint64 + var x144 uint64 + x143, x144 = bits.Add64(x142, x139, uint64(0x0)) + var x145 uint64 + var x146 uint64 + x145, x146 = bits.Add64(x140, x137, uint64(fiatScalarUint1(x144))) + var x147 uint64 + var x148 uint64 + x147, x148 = bits.Add64(x138, x135, uint64(fiatScalarUint1(x146))) + x149 := (uint64(fiatScalarUint1(x148)) + x136) + var x150 uint64 + var x151 uint64 + x150, x151 = bits.Add64(x126, x141, uint64(0x0)) + var x152 uint64 + var x153 uint64 + x152, x153 = bits.Add64(x128, x143, uint64(fiatScalarUint1(x151))) + var x154 uint64 + var x155 uint64 + x154, x155 = bits.Add64(x130, x145, uint64(fiatScalarUint1(x153))) + var x156 uint64 + var x157 uint64 + x156, x157 = bits.Add64(x132, x147, uint64(fiatScalarUint1(x155))) + var x158 uint64 + var x159 uint64 + x158, x159 = bits.Add64(x134, x149, uint64(fiatScalarUint1(x157))) + var x160 uint64 + _, x160 = bits.Mul64(x150, 0xd2b51da312547e1b) + var x162 uint64 + var x163 uint64 + x163, x162 = bits.Mul64(x160, 0x1000000000000000) + var x164 uint64 + var x165 uint64 + x165, x164 = bits.Mul64(x160, 0x14def9dea2f79cd6) + var x166 uint64 + var x167 uint64 + x167, x166 = bits.Mul64(x160, 0x5812631a5cf5d3ed) + var x168 uint64 + var x169 uint64 + x168, x169 = bits.Add64(x167, x164, uint64(0x0)) + x170 := (uint64(fiatScalarUint1(x169)) + x165) + var x172 uint64 + _, x172 = bits.Add64(x150, x166, uint64(0x0)) + var x173 uint64 + var x174 uint64 + x173, x174 = bits.Add64(x152, x168, uint64(fiatScalarUint1(x172))) + var x175 uint64 + var x176 uint64 + x175, x176 = bits.Add64(x154, x170, uint64(fiatScalarUint1(x174))) + var x177 uint64 + var x178 uint64 + x177, x178 = bits.Add64(x156, x162, uint64(fiatScalarUint1(x176))) + var x179 uint64 + var x180 uint64 + x179, x180 = bits.Add64(x158, x163, uint64(fiatScalarUint1(x178))) + x181 := (uint64(fiatScalarUint1(x180)) + uint64(fiatScalarUint1(x159))) + var x182 uint64 + var x183 uint64 + x182, x183 = bits.Sub64(x173, 0x5812631a5cf5d3ed, uint64(0x0)) + var x184 uint64 + var x185 uint64 + x184, x185 = bits.Sub64(x175, 0x14def9dea2f79cd6, uint64(fiatScalarUint1(x183))) + var x186 uint64 + var x187 uint64 + x186, x187 = bits.Sub64(x177, uint64(0x0), uint64(fiatScalarUint1(x185))) + var x188 uint64 + var x189 uint64 + x188, x189 = bits.Sub64(x179, 0x1000000000000000, uint64(fiatScalarUint1(x187))) + var x191 uint64 + _, x191 = bits.Sub64(x181, uint64(0x0), uint64(fiatScalarUint1(x189))) + var x192 uint64 + fiatScalarCmovznzU64(&x192, fiatScalarUint1(x191), x182, x173) + var x193 uint64 + fiatScalarCmovznzU64(&x193, fiatScalarUint1(x191), x184, x175) + var x194 uint64 + fiatScalarCmovznzU64(&x194, fiatScalarUint1(x191), x186, x177) + var x195 uint64 + fiatScalarCmovznzU64(&x195, fiatScalarUint1(x191), x188, x179) + out1[0] = x192 + out1[1] = x193 + out1[2] = x194 + out1[3] = x195 +} + +// fiatScalarAdd adds two field elements in the Montgomery domain. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// 0 ≤ eval arg2 < m +// +// Postconditions: +// +// eval (from_montgomery out1) mod m = (eval (from_montgomery arg1) + eval (from_montgomery arg2)) mod m +// 0 ≤ eval out1 < m +func fiatScalarAdd(out1 *fiatScalarMontgomeryDomainFieldElement, arg1 *fiatScalarMontgomeryDomainFieldElement, arg2 *fiatScalarMontgomeryDomainFieldElement) { + var x1 uint64 + var x2 uint64 + x1, x2 = bits.Add64(arg1[0], arg2[0], uint64(0x0)) + var x3 uint64 + var x4 uint64 + x3, x4 = bits.Add64(arg1[1], arg2[1], uint64(fiatScalarUint1(x2))) + var x5 uint64 + var x6 uint64 + x5, x6 = bits.Add64(arg1[2], arg2[2], uint64(fiatScalarUint1(x4))) + var x7 uint64 + var x8 uint64 + x7, x8 = bits.Add64(arg1[3], arg2[3], uint64(fiatScalarUint1(x6))) + var x9 uint64 + var x10 uint64 + x9, x10 = bits.Sub64(x1, 0x5812631a5cf5d3ed, uint64(0x0)) + var x11 uint64 + var x12 uint64 + x11, x12 = bits.Sub64(x3, 0x14def9dea2f79cd6, uint64(fiatScalarUint1(x10))) + var x13 uint64 + var x14 uint64 + x13, x14 = bits.Sub64(x5, uint64(0x0), uint64(fiatScalarUint1(x12))) + var x15 uint64 + var x16 uint64 + x15, x16 = bits.Sub64(x7, 0x1000000000000000, uint64(fiatScalarUint1(x14))) + var x18 uint64 + _, x18 = bits.Sub64(uint64(fiatScalarUint1(x8)), uint64(0x0), uint64(fiatScalarUint1(x16))) + var x19 uint64 + fiatScalarCmovznzU64(&x19, fiatScalarUint1(x18), x9, x1) + var x20 uint64 + fiatScalarCmovznzU64(&x20, fiatScalarUint1(x18), x11, x3) + var x21 uint64 + fiatScalarCmovznzU64(&x21, fiatScalarUint1(x18), x13, x5) + var x22 uint64 + fiatScalarCmovznzU64(&x22, fiatScalarUint1(x18), x15, x7) + out1[0] = x19 + out1[1] = x20 + out1[2] = x21 + out1[3] = x22 +} + +// fiatScalarSub subtracts two field elements in the Montgomery domain. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// 0 ≤ eval arg2 < m +// +// Postconditions: +// +// eval (from_montgomery out1) mod m = (eval (from_montgomery arg1) - eval (from_montgomery arg2)) mod m +// 0 ≤ eval out1 < m +func fiatScalarSub(out1 *fiatScalarMontgomeryDomainFieldElement, arg1 *fiatScalarMontgomeryDomainFieldElement, arg2 *fiatScalarMontgomeryDomainFieldElement) { + var x1 uint64 + var x2 uint64 + x1, x2 = bits.Sub64(arg1[0], arg2[0], uint64(0x0)) + var x3 uint64 + var x4 uint64 + x3, x4 = bits.Sub64(arg1[1], arg2[1], uint64(fiatScalarUint1(x2))) + var x5 uint64 + var x6 uint64 + x5, x6 = bits.Sub64(arg1[2], arg2[2], uint64(fiatScalarUint1(x4))) + var x7 uint64 + var x8 uint64 + x7, x8 = bits.Sub64(arg1[3], arg2[3], uint64(fiatScalarUint1(x6))) + var x9 uint64 + fiatScalarCmovznzU64(&x9, fiatScalarUint1(x8), uint64(0x0), 0xffffffffffffffff) + var x10 uint64 + var x11 uint64 + x10, x11 = bits.Add64(x1, (x9 & 0x5812631a5cf5d3ed), uint64(0x0)) + var x12 uint64 + var x13 uint64 + x12, x13 = bits.Add64(x3, (x9 & 0x14def9dea2f79cd6), uint64(fiatScalarUint1(x11))) + var x14 uint64 + var x15 uint64 + x14, x15 = bits.Add64(x5, uint64(0x0), uint64(fiatScalarUint1(x13))) + var x16 uint64 + x16, _ = bits.Add64(x7, (x9 & 0x1000000000000000), uint64(fiatScalarUint1(x15))) + out1[0] = x10 + out1[1] = x12 + out1[2] = x14 + out1[3] = x16 +} + +// fiatScalarOpp negates a field element in the Montgomery domain. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// +// Postconditions: +// +// eval (from_montgomery out1) mod m = -eval (from_montgomery arg1) mod m +// 0 ≤ eval out1 < m +func fiatScalarOpp(out1 *fiatScalarMontgomeryDomainFieldElement, arg1 *fiatScalarMontgomeryDomainFieldElement) { + var x1 uint64 + var x2 uint64 + x1, x2 = bits.Sub64(uint64(0x0), arg1[0], uint64(0x0)) + var x3 uint64 + var x4 uint64 + x3, x4 = bits.Sub64(uint64(0x0), arg1[1], uint64(fiatScalarUint1(x2))) + var x5 uint64 + var x6 uint64 + x5, x6 = bits.Sub64(uint64(0x0), arg1[2], uint64(fiatScalarUint1(x4))) + var x7 uint64 + var x8 uint64 + x7, x8 = bits.Sub64(uint64(0x0), arg1[3], uint64(fiatScalarUint1(x6))) + var x9 uint64 + fiatScalarCmovznzU64(&x9, fiatScalarUint1(x8), uint64(0x0), 0xffffffffffffffff) + var x10 uint64 + var x11 uint64 + x10, x11 = bits.Add64(x1, (x9 & 0x5812631a5cf5d3ed), uint64(0x0)) + var x12 uint64 + var x13 uint64 + x12, x13 = bits.Add64(x3, (x9 & 0x14def9dea2f79cd6), uint64(fiatScalarUint1(x11))) + var x14 uint64 + var x15 uint64 + x14, x15 = bits.Add64(x5, uint64(0x0), uint64(fiatScalarUint1(x13))) + var x16 uint64 + x16, _ = bits.Add64(x7, (x9 & 0x1000000000000000), uint64(fiatScalarUint1(x15))) + out1[0] = x10 + out1[1] = x12 + out1[2] = x14 + out1[3] = x16 +} + +// fiatScalarNonzero outputs a single non-zero word if the input is non-zero and zero otherwise. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// +// Postconditions: +// +// out1 = 0 ↔ eval (from_montgomery arg1) mod m = 0 +// +// Input Bounds: +// +// arg1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] +// +// Output Bounds: +// +// out1: [0x0 ~> 0xffffffffffffffff] +func fiatScalarNonzero(out1 *uint64, arg1 *[4]uint64) { + x1 := (arg1[0] | (arg1[1] | (arg1[2] | arg1[3]))) + *out1 = x1 +} + +// fiatScalarFromMontgomery translates a field element out of the Montgomery domain. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// +// Postconditions: +// +// eval out1 mod m = (eval arg1 * ((2^64)â»Â¹ mod m)^4) mod m +// 0 ≤ eval out1 < m +func fiatScalarFromMontgomery(out1 *fiatScalarNonMontgomeryDomainFieldElement, arg1 *fiatScalarMontgomeryDomainFieldElement) { + x1 := arg1[0] + var x2 uint64 + _, x2 = bits.Mul64(x1, 0xd2b51da312547e1b) + var x4 uint64 + var x5 uint64 + x5, x4 = bits.Mul64(x2, 0x1000000000000000) + var x6 uint64 + var x7 uint64 + x7, x6 = bits.Mul64(x2, 0x14def9dea2f79cd6) + var x8 uint64 + var x9 uint64 + x9, x8 = bits.Mul64(x2, 0x5812631a5cf5d3ed) + var x10 uint64 + var x11 uint64 + x10, x11 = bits.Add64(x9, x6, uint64(0x0)) + var x13 uint64 + _, x13 = bits.Add64(x1, x8, uint64(0x0)) + var x14 uint64 + var x15 uint64 + x14, x15 = bits.Add64(uint64(0x0), x10, uint64(fiatScalarUint1(x13))) + var x16 uint64 + var x17 uint64 + x16, x17 = bits.Add64(x14, arg1[1], uint64(0x0)) + var x18 uint64 + _, x18 = bits.Mul64(x16, 0xd2b51da312547e1b) + var x20 uint64 + var x21 uint64 + x21, x20 = bits.Mul64(x18, 0x1000000000000000) + var x22 uint64 + var x23 uint64 + x23, x22 = bits.Mul64(x18, 0x14def9dea2f79cd6) + var x24 uint64 + var x25 uint64 + x25, x24 = bits.Mul64(x18, 0x5812631a5cf5d3ed) + var x26 uint64 + var x27 uint64 + x26, x27 = bits.Add64(x25, x22, uint64(0x0)) + var x29 uint64 + _, x29 = bits.Add64(x16, x24, uint64(0x0)) + var x30 uint64 + var x31 uint64 + x30, x31 = bits.Add64((uint64(fiatScalarUint1(x17)) + (uint64(fiatScalarUint1(x15)) + (uint64(fiatScalarUint1(x11)) + x7))), x26, uint64(fiatScalarUint1(x29))) + var x32 uint64 + var x33 uint64 + x32, x33 = bits.Add64(x4, (uint64(fiatScalarUint1(x27)) + x23), uint64(fiatScalarUint1(x31))) + var x34 uint64 + var x35 uint64 + x34, x35 = bits.Add64(x5, x20, uint64(fiatScalarUint1(x33))) + var x36 uint64 + var x37 uint64 + x36, x37 = bits.Add64(x30, arg1[2], uint64(0x0)) + var x38 uint64 + var x39 uint64 + x38, x39 = bits.Add64(x32, uint64(0x0), uint64(fiatScalarUint1(x37))) + var x40 uint64 + var x41 uint64 + x40, x41 = bits.Add64(x34, uint64(0x0), uint64(fiatScalarUint1(x39))) + var x42 uint64 + _, x42 = bits.Mul64(x36, 0xd2b51da312547e1b) + var x44 uint64 + var x45 uint64 + x45, x44 = bits.Mul64(x42, 0x1000000000000000) + var x46 uint64 + var x47 uint64 + x47, x46 = bits.Mul64(x42, 0x14def9dea2f79cd6) + var x48 uint64 + var x49 uint64 + x49, x48 = bits.Mul64(x42, 0x5812631a5cf5d3ed) + var x50 uint64 + var x51 uint64 + x50, x51 = bits.Add64(x49, x46, uint64(0x0)) + var x53 uint64 + _, x53 = bits.Add64(x36, x48, uint64(0x0)) + var x54 uint64 + var x55 uint64 + x54, x55 = bits.Add64(x38, x50, uint64(fiatScalarUint1(x53))) + var x56 uint64 + var x57 uint64 + x56, x57 = bits.Add64(x40, (uint64(fiatScalarUint1(x51)) + x47), uint64(fiatScalarUint1(x55))) + var x58 uint64 + var x59 uint64 + x58, x59 = bits.Add64((uint64(fiatScalarUint1(x41)) + (uint64(fiatScalarUint1(x35)) + x21)), x44, uint64(fiatScalarUint1(x57))) + var x60 uint64 + var x61 uint64 + x60, x61 = bits.Add64(x54, arg1[3], uint64(0x0)) + var x62 uint64 + var x63 uint64 + x62, x63 = bits.Add64(x56, uint64(0x0), uint64(fiatScalarUint1(x61))) + var x64 uint64 + var x65 uint64 + x64, x65 = bits.Add64(x58, uint64(0x0), uint64(fiatScalarUint1(x63))) + var x66 uint64 + _, x66 = bits.Mul64(x60, 0xd2b51da312547e1b) + var x68 uint64 + var x69 uint64 + x69, x68 = bits.Mul64(x66, 0x1000000000000000) + var x70 uint64 + var x71 uint64 + x71, x70 = bits.Mul64(x66, 0x14def9dea2f79cd6) + var x72 uint64 + var x73 uint64 + x73, x72 = bits.Mul64(x66, 0x5812631a5cf5d3ed) + var x74 uint64 + var x75 uint64 + x74, x75 = bits.Add64(x73, x70, uint64(0x0)) + var x77 uint64 + _, x77 = bits.Add64(x60, x72, uint64(0x0)) + var x78 uint64 + var x79 uint64 + x78, x79 = bits.Add64(x62, x74, uint64(fiatScalarUint1(x77))) + var x80 uint64 + var x81 uint64 + x80, x81 = bits.Add64(x64, (uint64(fiatScalarUint1(x75)) + x71), uint64(fiatScalarUint1(x79))) + var x82 uint64 + var x83 uint64 + x82, x83 = bits.Add64((uint64(fiatScalarUint1(x65)) + (uint64(fiatScalarUint1(x59)) + x45)), x68, uint64(fiatScalarUint1(x81))) + x84 := (uint64(fiatScalarUint1(x83)) + x69) + var x85 uint64 + var x86 uint64 + x85, x86 = bits.Sub64(x78, 0x5812631a5cf5d3ed, uint64(0x0)) + var x87 uint64 + var x88 uint64 + x87, x88 = bits.Sub64(x80, 0x14def9dea2f79cd6, uint64(fiatScalarUint1(x86))) + var x89 uint64 + var x90 uint64 + x89, x90 = bits.Sub64(x82, uint64(0x0), uint64(fiatScalarUint1(x88))) + var x91 uint64 + var x92 uint64 + x91, x92 = bits.Sub64(x84, 0x1000000000000000, uint64(fiatScalarUint1(x90))) + var x94 uint64 + _, x94 = bits.Sub64(uint64(0x0), uint64(0x0), uint64(fiatScalarUint1(x92))) + var x95 uint64 + fiatScalarCmovznzU64(&x95, fiatScalarUint1(x94), x85, x78) + var x96 uint64 + fiatScalarCmovznzU64(&x96, fiatScalarUint1(x94), x87, x80) + var x97 uint64 + fiatScalarCmovznzU64(&x97, fiatScalarUint1(x94), x89, x82) + var x98 uint64 + fiatScalarCmovznzU64(&x98, fiatScalarUint1(x94), x91, x84) + out1[0] = x95 + out1[1] = x96 + out1[2] = x97 + out1[3] = x98 +} + +// fiatScalarToMontgomery translates a field element into the Montgomery domain. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// +// Postconditions: +// +// eval (from_montgomery out1) mod m = eval arg1 mod m +// 0 ≤ eval out1 < m +func fiatScalarToMontgomery(out1 *fiatScalarMontgomeryDomainFieldElement, arg1 *fiatScalarNonMontgomeryDomainFieldElement) { + x1 := arg1[1] + x2 := arg1[2] + x3 := arg1[3] + x4 := arg1[0] + var x5 uint64 + var x6 uint64 + x6, x5 = bits.Mul64(x4, 0x399411b7c309a3d) + var x7 uint64 + var x8 uint64 + x8, x7 = bits.Mul64(x4, 0xceec73d217f5be65) + var x9 uint64 + var x10 uint64 + x10, x9 = bits.Mul64(x4, 0xd00e1ba768859347) + var x11 uint64 + var x12 uint64 + x12, x11 = bits.Mul64(x4, 0xa40611e3449c0f01) + var x13 uint64 + var x14 uint64 + x13, x14 = bits.Add64(x12, x9, uint64(0x0)) + var x15 uint64 + var x16 uint64 + x15, x16 = bits.Add64(x10, x7, uint64(fiatScalarUint1(x14))) + var x17 uint64 + var x18 uint64 + x17, x18 = bits.Add64(x8, x5, uint64(fiatScalarUint1(x16))) + var x19 uint64 + _, x19 = bits.Mul64(x11, 0xd2b51da312547e1b) + var x21 uint64 + var x22 uint64 + x22, x21 = bits.Mul64(x19, 0x1000000000000000) + var x23 uint64 + var x24 uint64 + x24, x23 = bits.Mul64(x19, 0x14def9dea2f79cd6) + var x25 uint64 + var x26 uint64 + x26, x25 = bits.Mul64(x19, 0x5812631a5cf5d3ed) + var x27 uint64 + var x28 uint64 + x27, x28 = bits.Add64(x26, x23, uint64(0x0)) + var x30 uint64 + _, x30 = bits.Add64(x11, x25, uint64(0x0)) + var x31 uint64 + var x32 uint64 + x31, x32 = bits.Add64(x13, x27, uint64(fiatScalarUint1(x30))) + var x33 uint64 + var x34 uint64 + x33, x34 = bits.Add64(x15, (uint64(fiatScalarUint1(x28)) + x24), uint64(fiatScalarUint1(x32))) + var x35 uint64 + var x36 uint64 + x35, x36 = bits.Add64(x17, x21, uint64(fiatScalarUint1(x34))) + var x37 uint64 + var x38 uint64 + x38, x37 = bits.Mul64(x1, 0x399411b7c309a3d) + var x39 uint64 + var x40 uint64 + x40, x39 = bits.Mul64(x1, 0xceec73d217f5be65) + var x41 uint64 + var x42 uint64 + x42, x41 = bits.Mul64(x1, 0xd00e1ba768859347) + var x43 uint64 + var x44 uint64 + x44, x43 = bits.Mul64(x1, 0xa40611e3449c0f01) + var x45 uint64 + var x46 uint64 + x45, x46 = bits.Add64(x44, x41, uint64(0x0)) + var x47 uint64 + var x48 uint64 + x47, x48 = bits.Add64(x42, x39, uint64(fiatScalarUint1(x46))) + var x49 uint64 + var x50 uint64 + x49, x50 = bits.Add64(x40, x37, uint64(fiatScalarUint1(x48))) + var x51 uint64 + var x52 uint64 + x51, x52 = bits.Add64(x31, x43, uint64(0x0)) + var x53 uint64 + var x54 uint64 + x53, x54 = bits.Add64(x33, x45, uint64(fiatScalarUint1(x52))) + var x55 uint64 + var x56 uint64 + x55, x56 = bits.Add64(x35, x47, uint64(fiatScalarUint1(x54))) + var x57 uint64 + var x58 uint64 + x57, x58 = bits.Add64(((uint64(fiatScalarUint1(x36)) + (uint64(fiatScalarUint1(x18)) + x6)) + x22), x49, uint64(fiatScalarUint1(x56))) + var x59 uint64 + _, x59 = bits.Mul64(x51, 0xd2b51da312547e1b) + var x61 uint64 + var x62 uint64 + x62, x61 = bits.Mul64(x59, 0x1000000000000000) + var x63 uint64 + var x64 uint64 + x64, x63 = bits.Mul64(x59, 0x14def9dea2f79cd6) + var x65 uint64 + var x66 uint64 + x66, x65 = bits.Mul64(x59, 0x5812631a5cf5d3ed) + var x67 uint64 + var x68 uint64 + x67, x68 = bits.Add64(x66, x63, uint64(0x0)) + var x70 uint64 + _, x70 = bits.Add64(x51, x65, uint64(0x0)) + var x71 uint64 + var x72 uint64 + x71, x72 = bits.Add64(x53, x67, uint64(fiatScalarUint1(x70))) + var x73 uint64 + var x74 uint64 + x73, x74 = bits.Add64(x55, (uint64(fiatScalarUint1(x68)) + x64), uint64(fiatScalarUint1(x72))) + var x75 uint64 + var x76 uint64 + x75, x76 = bits.Add64(x57, x61, uint64(fiatScalarUint1(x74))) + var x77 uint64 + var x78 uint64 + x78, x77 = bits.Mul64(x2, 0x399411b7c309a3d) + var x79 uint64 + var x80 uint64 + x80, x79 = bits.Mul64(x2, 0xceec73d217f5be65) + var x81 uint64 + var x82 uint64 + x82, x81 = bits.Mul64(x2, 0xd00e1ba768859347) + var x83 uint64 + var x84 uint64 + x84, x83 = bits.Mul64(x2, 0xa40611e3449c0f01) + var x85 uint64 + var x86 uint64 + x85, x86 = bits.Add64(x84, x81, uint64(0x0)) + var x87 uint64 + var x88 uint64 + x87, x88 = bits.Add64(x82, x79, uint64(fiatScalarUint1(x86))) + var x89 uint64 + var x90 uint64 + x89, x90 = bits.Add64(x80, x77, uint64(fiatScalarUint1(x88))) + var x91 uint64 + var x92 uint64 + x91, x92 = bits.Add64(x71, x83, uint64(0x0)) + var x93 uint64 + var x94 uint64 + x93, x94 = bits.Add64(x73, x85, uint64(fiatScalarUint1(x92))) + var x95 uint64 + var x96 uint64 + x95, x96 = bits.Add64(x75, x87, uint64(fiatScalarUint1(x94))) + var x97 uint64 + var x98 uint64 + x97, x98 = bits.Add64(((uint64(fiatScalarUint1(x76)) + (uint64(fiatScalarUint1(x58)) + (uint64(fiatScalarUint1(x50)) + x38))) + x62), x89, uint64(fiatScalarUint1(x96))) + var x99 uint64 + _, x99 = bits.Mul64(x91, 0xd2b51da312547e1b) + var x101 uint64 + var x102 uint64 + x102, x101 = bits.Mul64(x99, 0x1000000000000000) + var x103 uint64 + var x104 uint64 + x104, x103 = bits.Mul64(x99, 0x14def9dea2f79cd6) + var x105 uint64 + var x106 uint64 + x106, x105 = bits.Mul64(x99, 0x5812631a5cf5d3ed) + var x107 uint64 + var x108 uint64 + x107, x108 = bits.Add64(x106, x103, uint64(0x0)) + var x110 uint64 + _, x110 = bits.Add64(x91, x105, uint64(0x0)) + var x111 uint64 + var x112 uint64 + x111, x112 = bits.Add64(x93, x107, uint64(fiatScalarUint1(x110))) + var x113 uint64 + var x114 uint64 + x113, x114 = bits.Add64(x95, (uint64(fiatScalarUint1(x108)) + x104), uint64(fiatScalarUint1(x112))) + var x115 uint64 + var x116 uint64 + x115, x116 = bits.Add64(x97, x101, uint64(fiatScalarUint1(x114))) + var x117 uint64 + var x118 uint64 + x118, x117 = bits.Mul64(x3, 0x399411b7c309a3d) + var x119 uint64 + var x120 uint64 + x120, x119 = bits.Mul64(x3, 0xceec73d217f5be65) + var x121 uint64 + var x122 uint64 + x122, x121 = bits.Mul64(x3, 0xd00e1ba768859347) + var x123 uint64 + var x124 uint64 + x124, x123 = bits.Mul64(x3, 0xa40611e3449c0f01) + var x125 uint64 + var x126 uint64 + x125, x126 = bits.Add64(x124, x121, uint64(0x0)) + var x127 uint64 + var x128 uint64 + x127, x128 = bits.Add64(x122, x119, uint64(fiatScalarUint1(x126))) + var x129 uint64 + var x130 uint64 + x129, x130 = bits.Add64(x120, x117, uint64(fiatScalarUint1(x128))) + var x131 uint64 + var x132 uint64 + x131, x132 = bits.Add64(x111, x123, uint64(0x0)) + var x133 uint64 + var x134 uint64 + x133, x134 = bits.Add64(x113, x125, uint64(fiatScalarUint1(x132))) + var x135 uint64 + var x136 uint64 + x135, x136 = bits.Add64(x115, x127, uint64(fiatScalarUint1(x134))) + var x137 uint64 + var x138 uint64 + x137, x138 = bits.Add64(((uint64(fiatScalarUint1(x116)) + (uint64(fiatScalarUint1(x98)) + (uint64(fiatScalarUint1(x90)) + x78))) + x102), x129, uint64(fiatScalarUint1(x136))) + var x139 uint64 + _, x139 = bits.Mul64(x131, 0xd2b51da312547e1b) + var x141 uint64 + var x142 uint64 + x142, x141 = bits.Mul64(x139, 0x1000000000000000) + var x143 uint64 + var x144 uint64 + x144, x143 = bits.Mul64(x139, 0x14def9dea2f79cd6) + var x145 uint64 + var x146 uint64 + x146, x145 = bits.Mul64(x139, 0x5812631a5cf5d3ed) + var x147 uint64 + var x148 uint64 + x147, x148 = bits.Add64(x146, x143, uint64(0x0)) + var x150 uint64 + _, x150 = bits.Add64(x131, x145, uint64(0x0)) + var x151 uint64 + var x152 uint64 + x151, x152 = bits.Add64(x133, x147, uint64(fiatScalarUint1(x150))) + var x153 uint64 + var x154 uint64 + x153, x154 = bits.Add64(x135, (uint64(fiatScalarUint1(x148)) + x144), uint64(fiatScalarUint1(x152))) + var x155 uint64 + var x156 uint64 + x155, x156 = bits.Add64(x137, x141, uint64(fiatScalarUint1(x154))) + x157 := ((uint64(fiatScalarUint1(x156)) + (uint64(fiatScalarUint1(x138)) + (uint64(fiatScalarUint1(x130)) + x118))) + x142) + var x158 uint64 + var x159 uint64 + x158, x159 = bits.Sub64(x151, 0x5812631a5cf5d3ed, uint64(0x0)) + var x160 uint64 + var x161 uint64 + x160, x161 = bits.Sub64(x153, 0x14def9dea2f79cd6, uint64(fiatScalarUint1(x159))) + var x162 uint64 + var x163 uint64 + x162, x163 = bits.Sub64(x155, uint64(0x0), uint64(fiatScalarUint1(x161))) + var x164 uint64 + var x165 uint64 + x164, x165 = bits.Sub64(x157, 0x1000000000000000, uint64(fiatScalarUint1(x163))) + var x167 uint64 + _, x167 = bits.Sub64(uint64(0x0), uint64(0x0), uint64(fiatScalarUint1(x165))) + var x168 uint64 + fiatScalarCmovznzU64(&x168, fiatScalarUint1(x167), x158, x151) + var x169 uint64 + fiatScalarCmovznzU64(&x169, fiatScalarUint1(x167), x160, x153) + var x170 uint64 + fiatScalarCmovznzU64(&x170, fiatScalarUint1(x167), x162, x155) + var x171 uint64 + fiatScalarCmovznzU64(&x171, fiatScalarUint1(x167), x164, x157) + out1[0] = x168 + out1[1] = x169 + out1[2] = x170 + out1[3] = x171 +} + +// fiatScalarToBytes serializes a field element NOT in the Montgomery domain to bytes in little-endian order. +// +// Preconditions: +// +// 0 ≤ eval arg1 < m +// +// Postconditions: +// +// out1 = map (λ x, ⌊((eval arg1 mod m) mod 2^(8 * (x + 1))) / 2^(8 * x)⌋) [0..31] +// +// Input Bounds: +// +// arg1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0x1fffffffffffffff]] +// +// Output Bounds: +// +// out1: [[0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0x1f]] +func fiatScalarToBytes(out1 *[32]uint8, arg1 *[4]uint64) { + x1 := arg1[3] + x2 := arg1[2] + x3 := arg1[1] + x4 := arg1[0] + x5 := (uint8(x4) & 0xff) + x6 := (x4 >> 8) + x7 := (uint8(x6) & 0xff) + x8 := (x6 >> 8) + x9 := (uint8(x8) & 0xff) + x10 := (x8 >> 8) + x11 := (uint8(x10) & 0xff) + x12 := (x10 >> 8) + x13 := (uint8(x12) & 0xff) + x14 := (x12 >> 8) + x15 := (uint8(x14) & 0xff) + x16 := (x14 >> 8) + x17 := (uint8(x16) & 0xff) + x18 := uint8((x16 >> 8)) + x19 := (uint8(x3) & 0xff) + x20 := (x3 >> 8) + x21 := (uint8(x20) & 0xff) + x22 := (x20 >> 8) + x23 := (uint8(x22) & 0xff) + x24 := (x22 >> 8) + x25 := (uint8(x24) & 0xff) + x26 := (x24 >> 8) + x27 := (uint8(x26) & 0xff) + x28 := (x26 >> 8) + x29 := (uint8(x28) & 0xff) + x30 := (x28 >> 8) + x31 := (uint8(x30) & 0xff) + x32 := uint8((x30 >> 8)) + x33 := (uint8(x2) & 0xff) + x34 := (x2 >> 8) + x35 := (uint8(x34) & 0xff) + x36 := (x34 >> 8) + x37 := (uint8(x36) & 0xff) + x38 := (x36 >> 8) + x39 := (uint8(x38) & 0xff) + x40 := (x38 >> 8) + x41 := (uint8(x40) & 0xff) + x42 := (x40 >> 8) + x43 := (uint8(x42) & 0xff) + x44 := (x42 >> 8) + x45 := (uint8(x44) & 0xff) + x46 := uint8((x44 >> 8)) + x47 := (uint8(x1) & 0xff) + x48 := (x1 >> 8) + x49 := (uint8(x48) & 0xff) + x50 := (x48 >> 8) + x51 := (uint8(x50) & 0xff) + x52 := (x50 >> 8) + x53 := (uint8(x52) & 0xff) + x54 := (x52 >> 8) + x55 := (uint8(x54) & 0xff) + x56 := (x54 >> 8) + x57 := (uint8(x56) & 0xff) + x58 := (x56 >> 8) + x59 := (uint8(x58) & 0xff) + x60 := uint8((x58 >> 8)) + out1[0] = x5 + out1[1] = x7 + out1[2] = x9 + out1[3] = x11 + out1[4] = x13 + out1[5] = x15 + out1[6] = x17 + out1[7] = x18 + out1[8] = x19 + out1[9] = x21 + out1[10] = x23 + out1[11] = x25 + out1[12] = x27 + out1[13] = x29 + out1[14] = x31 + out1[15] = x32 + out1[16] = x33 + out1[17] = x35 + out1[18] = x37 + out1[19] = x39 + out1[20] = x41 + out1[21] = x43 + out1[22] = x45 + out1[23] = x46 + out1[24] = x47 + out1[25] = x49 + out1[26] = x51 + out1[27] = x53 + out1[28] = x55 + out1[29] = x57 + out1[30] = x59 + out1[31] = x60 +} + +// fiatScalarFromBytes deserializes a field element NOT in the Montgomery domain from bytes in little-endian order. +// +// Preconditions: +// +// 0 ≤ bytes_eval arg1 < m +// +// Postconditions: +// +// eval out1 mod m = bytes_eval arg1 mod m +// 0 ≤ eval out1 < m +// +// Input Bounds: +// +// arg1: [[0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0x1f]] +// +// Output Bounds: +// +// out1: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0x1fffffffffffffff]] +func fiatScalarFromBytes(out1 *[4]uint64, arg1 *[32]uint8) { + x1 := (uint64(arg1[31]) << 56) + x2 := (uint64(arg1[30]) << 48) + x3 := (uint64(arg1[29]) << 40) + x4 := (uint64(arg1[28]) << 32) + x5 := (uint64(arg1[27]) << 24) + x6 := (uint64(arg1[26]) << 16) + x7 := (uint64(arg1[25]) << 8) + x8 := arg1[24] + x9 := (uint64(arg1[23]) << 56) + x10 := (uint64(arg1[22]) << 48) + x11 := (uint64(arg1[21]) << 40) + x12 := (uint64(arg1[20]) << 32) + x13 := (uint64(arg1[19]) << 24) + x14 := (uint64(arg1[18]) << 16) + x15 := (uint64(arg1[17]) << 8) + x16 := arg1[16] + x17 := (uint64(arg1[15]) << 56) + x18 := (uint64(arg1[14]) << 48) + x19 := (uint64(arg1[13]) << 40) + x20 := (uint64(arg1[12]) << 32) + x21 := (uint64(arg1[11]) << 24) + x22 := (uint64(arg1[10]) << 16) + x23 := (uint64(arg1[9]) << 8) + x24 := arg1[8] + x25 := (uint64(arg1[7]) << 56) + x26 := (uint64(arg1[6]) << 48) + x27 := (uint64(arg1[5]) << 40) + x28 := (uint64(arg1[4]) << 32) + x29 := (uint64(arg1[3]) << 24) + x30 := (uint64(arg1[2]) << 16) + x31 := (uint64(arg1[1]) << 8) + x32 := arg1[0] + x33 := (x31 + uint64(x32)) + x34 := (x30 + x33) + x35 := (x29 + x34) + x36 := (x28 + x35) + x37 := (x27 + x36) + x38 := (x26 + x37) + x39 := (x25 + x38) + x40 := (x23 + uint64(x24)) + x41 := (x22 + x40) + x42 := (x21 + x41) + x43 := (x20 + x42) + x44 := (x19 + x43) + x45 := (x18 + x44) + x46 := (x17 + x45) + x47 := (x15 + uint64(x16)) + x48 := (x14 + x47) + x49 := (x13 + x48) + x50 := (x12 + x49) + x51 := (x11 + x50) + x52 := (x10 + x51) + x53 := (x9 + x52) + x54 := (x7 + uint64(x8)) + x55 := (x6 + x54) + x56 := (x5 + x55) + x57 := (x4 + x56) + x58 := (x3 + x57) + x59 := (x2 + x58) + x60 := (x1 + x59) + out1[0] = x39 + out1[1] = x46 + out1[2] = x53 + out1[3] = x60 +} diff --git a/vendor/filippo.io/edwards25519/tables.go b/vendor/filippo.io/edwards25519/tables.go index beec956b..83234bbc 100644 --- a/vendor/filippo.io/edwards25519/tables.go +++ b/vendor/filippo.io/edwards25519/tables.go @@ -38,9 +38,9 @@ func (v *projLookupTable) FromP3(q *Point) { tmpP3 := Point{} tmpP1xP1 := projP1xP1{} for i := 0; i < 7; i++ { - // Compute (i+1)*Q as Q + i*Q and convert to a ProjCached + // Compute (i+1)*Q as Q + i*Q and convert to a projCached // This is needlessly complicated because the API has explicit - // recievers instead of creating stack objects and relying on RVO + // receivers instead of creating stack objects and relying on RVO v.points[i+1].FromP3(tmpP3.fromP1xP1(tmpP1xP1.Add(q, &v.points[i]))) } } @@ -53,7 +53,7 @@ func (v *affineLookupTable) FromP3(q *Point) { tmpP3 := Point{} tmpP1xP1 := projP1xP1{} for i := 0; i < 7; i++ { - // Compute (i+1)*Q as Q + i*Q and convert to AffineCached + // Compute (i+1)*Q as Q + i*Q and convert to affineCached v.points[i+1].FromP3(tmpP3.fromP1xP1(tmpP1xP1.AddAffine(q, &v.points[i]))) } } diff --git a/vendor/github.com/gorilla/websocket/.editorconfig b/vendor/github.com/gorilla/websocket/.editorconfig deleted file mode 100644 index 2940ec92..00000000 --- a/vendor/github.com/gorilla/websocket/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -; https://editorconfig.org/ - -root = true - -[*] -insert_final_newline = true -charset = utf-8 -trim_trailing_whitespace = true -indent_style = space -indent_size = 2 - -[{Makefile,go.mod,go.sum,*.go,.gitmodules}] -indent_style = tab -indent_size = 4 - -[*.md] -indent_size = 4 -trim_trailing_whitespace = false - -eclint_indent_style = unset diff --git a/vendor/github.com/gorilla/websocket/.gitignore b/vendor/github.com/gorilla/websocket/.gitignore index 84039fec..cd3fcd1e 100644 --- a/vendor/github.com/gorilla/websocket/.gitignore +++ b/vendor/github.com/gorilla/websocket/.gitignore @@ -1 +1,25 @@ -coverage.coverprofile +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe + +.idea/ +*.iml diff --git a/vendor/github.com/gorilla/websocket/.golangci.yml b/vendor/github.com/gorilla/websocket/.golangci.yml deleted file mode 100644 index 34882139..00000000 --- a/vendor/github.com/gorilla/websocket/.golangci.yml +++ /dev/null @@ -1,3 +0,0 @@ -run: - skip-dirs: - - examples/*.go diff --git a/vendor/github.com/gorilla/websocket/AUTHORS b/vendor/github.com/gorilla/websocket/AUTHORS new file mode 100644 index 00000000..1931f400 --- /dev/null +++ b/vendor/github.com/gorilla/websocket/AUTHORS @@ -0,0 +1,9 @@ +# This is the official list of Gorilla WebSocket authors for copyright +# purposes. +# +# Please keep the list sorted. + +Gary Burd +Google LLC (https://opensource.google.com/) +Joachim Bauch + diff --git a/vendor/github.com/gorilla/websocket/LICENSE b/vendor/github.com/gorilla/websocket/LICENSE index bb9d80bc..9171c972 100644 --- a/vendor/github.com/gorilla/websocket/LICENSE +++ b/vendor/github.com/gorilla/websocket/LICENSE @@ -1,27 +1,22 @@ -Copyright (c) 2023 The Gorilla Authors. All rights reserved. +Copyright (c) 2013 The Gorilla WebSocket Authors. All rights reserved. Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: +modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/gorilla/websocket/Makefile b/vendor/github.com/gorilla/websocket/Makefile deleted file mode 100644 index 603a63f5..00000000 --- a/vendor/github.com/gorilla/websocket/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -GO_LINT=$(shell which golangci-lint 2> /dev/null || echo '') -GO_LINT_URI=github.com/golangci/golangci-lint/cmd/golangci-lint@latest - -GO_SEC=$(shell which gosec 2> /dev/null || echo '') -GO_SEC_URI=github.com/securego/gosec/v2/cmd/gosec@latest - -GO_VULNCHECK=$(shell which govulncheck 2> /dev/null || echo '') -GO_VULNCHECK_URI=golang.org/x/vuln/cmd/govulncheck@latest - -.PHONY: golangci-lint -golangci-lint: - $(if $(GO_LINT), ,go install $(GO_LINT_URI)) - @echo "##### Running golangci-lint" - golangci-lint run -v - -.PHONY: gosec -gosec: - $(if $(GO_SEC), ,go install $(GO_SEC_URI)) - @echo "##### Running gosec" - gosec -exclude-dir examples ./... - -.PHONY: govulncheck -govulncheck: - $(if $(GO_VULNCHECK), ,go install $(GO_VULNCHECK_URI)) - @echo "##### Running govulncheck" - govulncheck ./... - -.PHONY: verify -verify: golangci-lint gosec govulncheck - -.PHONY: test -test: - @echo "##### Running tests" - go test -race -cover -coverprofile=coverage.coverprofile -covermode=atomic -v ./... diff --git a/vendor/github.com/gorilla/websocket/README.md b/vendor/github.com/gorilla/websocket/README.md index 1fd5e9c4..d33ed7fd 100644 --- a/vendor/github.com/gorilla/websocket/README.md +++ b/vendor/github.com/gorilla/websocket/README.md @@ -1,13 +1,10 @@ -# gorilla/websocket +# Gorilla WebSocket -![testing](https://github.com/gorilla/websocket/actions/workflows/test.yml/badge.svg) -[![codecov](https://codecov.io/github/gorilla/websocket/branch/main/graph/badge.svg)](https://codecov.io/github/gorilla/websocket) -[![godoc](https://godoc.org/github.com/gorilla/websocket?status.svg)](https://godoc.org/github.com/gorilla/websocket) -[![sourcegraph](https://sourcegraph.com/github.com/gorilla/websocket/-/badge.svg)](https://sourcegraph.com/github.com/gorilla/websocket?badge) +[![GoDoc](https://godoc.org/github.com/gorilla/websocket?status.svg)](https://godoc.org/github.com/gorilla/websocket) +[![CircleCI](https://circleci.com/gh/gorilla/websocket.svg?style=svg)](https://circleci.com/gh/gorilla/websocket) -Gorilla WebSocket is a [Go](http://golang.org/) implementation of the [WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol. - -![Gorilla Logo](https://github.com/gorilla/.github/assets/53367916/d92caabf-98e0-473e-bfbf-ab554ba435e5) +Gorilla WebSocket is a [Go](http://golang.org/) implementation of the +[WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol. ### Documentation @@ -17,7 +14,6 @@ Gorilla WebSocket is a [Go](http://golang.org/) implementation of the [WebSocket * [Command example](https://github.com/gorilla/websocket/tree/master/examples/command) * [Client and server example](https://github.com/gorilla/websocket/tree/master/examples/echo) * [File watch example](https://github.com/gorilla/websocket/tree/master/examples/filewatch) -* [Write buffer pool example](https://github.com/gorilla/websocket/tree/master/examples/bufferpool) ### Status @@ -34,3 +30,4 @@ package API is stable. The Gorilla WebSocket package passes the server tests in the [Autobahn Test Suite](https://github.com/crossbario/autobahn-testsuite) using the application in the [examples/autobahn subdirectory](https://github.com/gorilla/websocket/tree/master/examples/autobahn). + diff --git a/vendor/github.com/gorilla/websocket/client.go b/vendor/github.com/gorilla/websocket/client.go index 815b0ca5..04fdafee 100644 --- a/vendor/github.com/gorilla/websocket/client.go +++ b/vendor/github.com/gorilla/websocket/client.go @@ -11,16 +11,13 @@ import ( "errors" "fmt" "io" - "log" - + "io/ioutil" "net" "net/http" "net/http/httptrace" "net/url" "strings" "time" - - "golang.org/x/net/proxy" ) // ErrBadHandshake is returned when the server response to opening handshake is @@ -228,7 +225,6 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h k == "Connection" || k == "Sec-Websocket-Key" || k == "Sec-Websocket-Version" || - //#nosec G101 (CWE-798): Potential HTTP request smuggling via parameter pollution k == "Sec-Websocket-Extensions" || (k == "Sec-Websocket-Protocol" && len(d.Subprotocols) > 0): return nil, nil, errors.New("websocket: duplicate header not allowed: " + k) @@ -294,9 +290,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h } err = c.SetDeadline(deadline) if err != nil { - if err := c.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } + c.Close() return nil, err } return c, nil @@ -310,7 +304,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h return nil, nil, err } if proxyURL != nil { - dialer, err := proxy.FromURL(proxyURL, netDialerFunc(netDial)) + dialer, err := proxy_FromURL(proxyURL, netDialerFunc(netDial)) if err != nil { return nil, nil, err } @@ -336,9 +330,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h defer func() { if netConn != nil { - if err := netConn.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } + netConn.Close() } }() @@ -408,7 +400,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h // debugging. buf := make([]byte, 1024) n, _ := io.ReadFull(resp.Body, buf) - resp.Body = io.NopCloser(bytes.NewReader(buf[:n])) + resp.Body = ioutil.NopCloser(bytes.NewReader(buf[:n])) return nil, resp, ErrBadHandshake } @@ -426,19 +418,17 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h break } - resp.Body = io.NopCloser(bytes.NewReader([]byte{})) + resp.Body = ioutil.NopCloser(bytes.NewReader([]byte{})) conn.subprotocol = resp.Header.Get("Sec-Websocket-Protocol") - if err := netConn.SetDeadline(time.Time{}); err != nil { - return nil, nil, err - } + netConn.SetDeadline(time.Time{}) netConn = nil // to avoid close in defer. return conn, resp, nil } func cloneTLSConfig(cfg *tls.Config) *tls.Config { if cfg == nil { - return &tls.Config{MinVersion: tls.VersionTLS12} + return &tls.Config{} } return cfg.Clone() } diff --git a/vendor/github.com/gorilla/websocket/compression.go b/vendor/github.com/gorilla/websocket/compression.go index 9fed0ef5..813ffb1e 100644 --- a/vendor/github.com/gorilla/websocket/compression.go +++ b/vendor/github.com/gorilla/websocket/compression.go @@ -8,7 +8,6 @@ import ( "compress/flate" "errors" "io" - "log" "strings" "sync" ) @@ -34,9 +33,7 @@ func decompressNoContextTakeover(r io.Reader) io.ReadCloser { "\x01\x00\x00\xff\xff" fr, _ := flateReaderPool.Get().(io.ReadCloser) - if err := fr.(flate.Resetter).Reset(io.MultiReader(r, strings.NewReader(tail)), nil); err != nil { - panic(err) - } + fr.(flate.Resetter).Reset(io.MultiReader(r, strings.NewReader(tail)), nil) return &flateReadWrapper{fr} } @@ -135,9 +132,7 @@ func (r *flateReadWrapper) Read(p []byte) (int, error) { // Preemptively place the reader back in the pool. This helps with // scenarios where the application does not call NextReader() soon after // this final read. - if err := r.Close(); err != nil { - log.Printf("websocket: flateReadWrapper.Close() returned error: %v", err) - } + r.Close() } return n, err } diff --git a/vendor/github.com/gorilla/websocket/conn.go b/vendor/github.com/gorilla/websocket/conn.go index 221e6cf7..5161ef81 100644 --- a/vendor/github.com/gorilla/websocket/conn.go +++ b/vendor/github.com/gorilla/websocket/conn.go @@ -6,11 +6,11 @@ package websocket import ( "bufio" - "crypto/rand" "encoding/binary" "errors" "io" - "log" + "io/ioutil" + "math/rand" "net" "strconv" "strings" @@ -181,20 +181,13 @@ var ( errInvalidControlFrame = errors.New("websocket: invalid control frame") ) -// maskRand is an io.Reader for generating mask bytes. The reader is initialized -// to crypto/rand Reader. Tests swap the reader to a math/rand reader for -// reproducible results. -var maskRand = rand.Reader - -// newMaskKey returns a new 32 bit value for masking client frames. func newMaskKey() [4]byte { - var k [4]byte - _, _ = io.ReadFull(maskRand, k[:]) - return k + n := rand.Uint32() + return [4]byte{byte(n), byte(n >> 8), byte(n >> 16), byte(n >> 24)} } func hideTempErr(err error) error { - if e, ok := err.(net.Error); ok { + if e, ok := err.(net.Error); ok && e.Temporary() { err = &netError{msg: e.Error(), timeout: e.Timeout()} } return err @@ -379,9 +372,7 @@ func (c *Conn) read(n int) ([]byte, error) { if err == io.EOF { err = errUnexpectedEOF } - if _, err := c.br.Discard(len(p)); err != nil { - return p, err - } + c.br.Discard(len(p)) return p, err } @@ -396,9 +387,7 @@ func (c *Conn) write(frameType int, deadline time.Time, buf0, buf1 []byte) error return err } - if err := c.conn.SetWriteDeadline(deadline); err != nil { - return c.writeFatal(err) - } + c.conn.SetWriteDeadline(deadline) if len(buf1) == 0 { _, err = c.conn.Write(buf0) } else { @@ -408,7 +397,7 @@ func (c *Conn) write(frameType int, deadline time.Time, buf0, buf1 []byte) error return c.writeFatal(err) } if frameType == CloseMessage { - _ = c.writeFatal(ErrCloseSent) + c.writeFatal(ErrCloseSent) } return nil } @@ -449,7 +438,7 @@ func (c *Conn) WriteControl(messageType int, data []byte, deadline time.Time) er d := 1000 * time.Hour if !deadline.IsZero() { - d = time.Until(deadline) + d = deadline.Sub(time.Now()) if d < 0 { return errWriteTimeout } @@ -471,15 +460,13 @@ func (c *Conn) WriteControl(messageType int, data []byte, deadline time.Time) er return err } - if err := c.conn.SetWriteDeadline(deadline); err != nil { - return c.writeFatal(err) - } + c.conn.SetWriteDeadline(deadline) _, err = c.conn.Write(buf) if err != nil { return c.writeFatal(err) } if messageType == CloseMessage { - _ = c.writeFatal(ErrCloseSent) + c.writeFatal(ErrCloseSent) } return err } @@ -490,9 +477,7 @@ func (c *Conn) beginMessage(mw *messageWriter, messageType int) error { // probably better to return an error in this situation, but we cannot // change this without breaking existing applications. if c.writer != nil { - if err := c.writer.Close(); err != nil { - log.Printf("websocket: discarding writer close error: %v", err) - } + c.writer.Close() c.writer = nil } @@ -645,7 +630,7 @@ func (w *messageWriter) flushFrame(final bool, extra []byte) error { } if final { - _ = w.endMessage(errWriteClosed) + w.endMessage(errWriteClosed) return nil } @@ -810,7 +795,7 @@ func (c *Conn) advanceFrame() (int, error) { // 1. Skip remainder of previous frame. if c.readRemaining > 0 { - if _, err := io.CopyN(io.Discard, c.br, c.readRemaining); err != nil { + if _, err := io.CopyN(ioutil.Discard, c.br, c.readRemaining); err != nil { return noFrame, err } } @@ -832,9 +817,7 @@ func (c *Conn) advanceFrame() (int, error) { rsv2 := p[0]&rsv2Bit != 0 rsv3 := p[0]&rsv3Bit != 0 mask := p[1]&maskBit != 0 - if err := c.setReadRemaining(int64(p[1] & 0x7f)); err != nil { - return noFrame, err - } + c.setReadRemaining(int64(p[1] & 0x7f)) c.readDecompress = false if rsv1 { @@ -939,9 +922,7 @@ func (c *Conn) advanceFrame() (int, error) { } if c.readLimit > 0 && c.readLength > c.readLimit { - if err := c.WriteControl(CloseMessage, FormatCloseMessage(CloseMessageTooBig, ""), time.Now().Add(writeWait)); err != nil { - return noFrame, err - } + c.WriteControl(CloseMessage, FormatCloseMessage(CloseMessageTooBig, ""), time.Now().Add(writeWait)) return noFrame, ErrReadLimit } @@ -953,9 +934,7 @@ func (c *Conn) advanceFrame() (int, error) { var payload []byte if c.readRemaining > 0 { payload, err = c.read(int(c.readRemaining)) - if err := c.setReadRemaining(0); err != nil { - return noFrame, err - } + c.setReadRemaining(0) if err != nil { return noFrame, err } @@ -1002,9 +981,7 @@ func (c *Conn) handleProtocolError(message string) error { if len(data) > maxControlFramePayloadSize { data = data[:maxControlFramePayloadSize] } - if err := c.WriteControl(CloseMessage, data, time.Now().Add(writeWait)); err != nil { - return err - } + c.WriteControl(CloseMessage, data, time.Now().Add(writeWait)) return errors.New("websocket: " + message) } @@ -1021,9 +998,7 @@ func (c *Conn) handleProtocolError(message string) error { func (c *Conn) NextReader() (messageType int, r io.Reader, err error) { // Close previous reader, only relevant for decompression. if c.reader != nil { - if err := c.reader.Close(); err != nil { - log.Printf("websocket: discarding reader close error: %v", err) - } + c.reader.Close() c.reader = nil } @@ -1079,9 +1054,7 @@ func (r *messageReader) Read(b []byte) (int, error) { } rem := c.readRemaining rem -= int64(n) - if err := c.setReadRemaining(rem); err != nil { - return 0, err - } + c.setReadRemaining(rem) if c.readRemaining > 0 && c.readErr == io.EOF { c.readErr = errUnexpectedEOF } @@ -1121,7 +1094,7 @@ func (c *Conn) ReadMessage() (messageType int, p []byte, err error) { if err != nil { return messageType, nil, err } - p, err = io.ReadAll(r) + p, err = ioutil.ReadAll(r) return messageType, p, err } @@ -1163,9 +1136,7 @@ func (c *Conn) SetCloseHandler(h func(code int, text string) error) { if h == nil { h = func(code int, text string) error { message := FormatCloseMessage(code, "") - if err := c.WriteControl(CloseMessage, message, time.Now().Add(writeWait)); err != nil { - return err - } + c.WriteControl(CloseMessage, message, time.Now().Add(writeWait)) return nil } } @@ -1190,7 +1161,7 @@ func (c *Conn) SetPingHandler(h func(appData string) error) { err := c.WriteControl(PongMessage, []byte(message), time.Now().Add(writeWait)) if err == ErrCloseSent { return nil - } else if _, ok := err.(net.Error); ok { + } else if e, ok := err.(net.Error); ok && e.Temporary() { return nil } return err diff --git a/vendor/github.com/gorilla/websocket/mask.go b/vendor/github.com/gorilla/websocket/mask.go index 67d0968b..d0742bf2 100644 --- a/vendor/github.com/gorilla/websocket/mask.go +++ b/vendor/github.com/gorilla/websocket/mask.go @@ -9,7 +9,6 @@ package websocket import "unsafe" -// #nosec G103 -- (CWE-242) Has been audited const wordSize = int(unsafe.Sizeof(uintptr(0))) func maskBytes(key [4]byte, pos int, b []byte) int { @@ -23,7 +22,6 @@ func maskBytes(key [4]byte, pos int, b []byte) int { } // Mask one byte at a time to word boundary. - //#nosec G103 -- (CWE-242) Has been audited if n := int(uintptr(unsafe.Pointer(&b[0]))) % wordSize; n != 0 { n = wordSize - n for i := range b[:n] { @@ -38,13 +36,11 @@ func maskBytes(key [4]byte, pos int, b []byte) int { for i := range k { k[i] = key[(pos+i)&3] } - //#nosec G103 -- (CWE-242) Has been audited kw := *(*uintptr)(unsafe.Pointer(&k)) // Mask one word at a time. n := (len(b) / wordSize) * wordSize for i := 0; i < n; i += wordSize { - //#nosec G103 -- (CWE-242) Has been audited *(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&b[0])) + uintptr(i))) ^= kw } diff --git a/vendor/github.com/gorilla/websocket/proxy.go b/vendor/github.com/gorilla/websocket/proxy.go index 80f55d1e..e0f466b7 100644 --- a/vendor/github.com/gorilla/websocket/proxy.go +++ b/vendor/github.com/gorilla/websocket/proxy.go @@ -8,13 +8,10 @@ import ( "bufio" "encoding/base64" "errors" - "log" "net" "net/http" "net/url" "strings" - - "golang.org/x/net/proxy" ) type netDialerFunc func(network, addr string) (net.Conn, error) @@ -24,7 +21,7 @@ func (fn netDialerFunc) Dial(network, addr string) (net.Conn, error) { } func init() { - proxy.RegisterDialerType("http", func(proxyURL *url.URL, forwardDialer proxy.Dialer) (proxy.Dialer, error) { + proxy_RegisterDialerType("http", func(proxyURL *url.URL, forwardDialer proxy_Dialer) (proxy_Dialer, error) { return &httpProxyDialer{proxyURL: proxyURL, forwardDial: forwardDialer.Dial}, nil }) } @@ -58,9 +55,7 @@ func (hpd *httpProxyDialer) Dial(network string, addr string) (net.Conn, error) } if err := connectReq.Write(conn); err != nil { - if err := conn.Close(); err != nil { - log.Printf("httpProxyDialer: failed to close connection: %v", err) - } + conn.Close() return nil, err } @@ -69,16 +64,12 @@ func (hpd *httpProxyDialer) Dial(network string, addr string) (net.Conn, error) br := bufio.NewReader(conn) resp, err := http.ReadResponse(br, connectReq) if err != nil { - if err := conn.Close(); err != nil { - log.Printf("httpProxyDialer: failed to close connection: %v", err) - } + conn.Close() return nil, err } if resp.StatusCode != 200 { - if err := conn.Close(); err != nil { - log.Printf("httpProxyDialer: failed to close connection: %v", err) - } + conn.Close() f := strings.SplitN(resp.Status, " ", 2) return nil, errors.New(f[1]) } diff --git a/vendor/github.com/gorilla/websocket/server.go b/vendor/github.com/gorilla/websocket/server.go index 1e720e1d..bb335974 100644 --- a/vendor/github.com/gorilla/websocket/server.go +++ b/vendor/github.com/gorilla/websocket/server.go @@ -8,7 +8,6 @@ import ( "bufio" "errors" "io" - "log" "net/http" "net/url" "strings" @@ -184,9 +183,7 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade } if brw.Reader.Buffered() > 0 { - if err := netConn.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } + netConn.Close() return nil, errors.New("websocket: client sent data before handshake is complete") } @@ -251,34 +248,17 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade p = append(p, "\r\n"...) // Clear deadlines set by HTTP server. - if err := netConn.SetDeadline(time.Time{}); err != nil { - if err := netConn.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } - return nil, err - } + netConn.SetDeadline(time.Time{}) if u.HandshakeTimeout > 0 { - if err := netConn.SetWriteDeadline(time.Now().Add(u.HandshakeTimeout)); err != nil { - if err := netConn.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } - return nil, err - } + netConn.SetWriteDeadline(time.Now().Add(u.HandshakeTimeout)) } if _, err = netConn.Write(p); err != nil { - if err := netConn.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } + netConn.Close() return nil, err } if u.HandshakeTimeout > 0 { - if err := netConn.SetWriteDeadline(time.Time{}); err != nil { - if err := netConn.Close(); err != nil { - log.Printf("websocket: failed to close network connection: %v", err) - } - return nil, err - } + netConn.SetWriteDeadline(time.Time{}) } return c, nil @@ -376,12 +356,8 @@ func bufioWriterBuffer(originalWriter io.Writer, bw *bufio.Writer) []byte { // bufio.Writer's underlying writer. var wh writeHook bw.Reset(&wh) - if err := bw.WriteByte(0); err != nil { - panic(err) - } - if err := bw.Flush(); err != nil { - log.Printf("websocket: bufioWriterBuffer: Flush: %v", err) - } + bw.WriteByte(0) + bw.Flush() bw.Reset(originalWriter) diff --git a/vendor/github.com/gorilla/websocket/tls_handshake.go b/vendor/github.com/gorilla/websocket/tls_handshake.go index 7f386453..a62b68cc 100644 --- a/vendor/github.com/gorilla/websocket/tls_handshake.go +++ b/vendor/github.com/gorilla/websocket/tls_handshake.go @@ -1,3 +1,6 @@ +//go:build go1.17 +// +build go1.17 + package websocket import ( diff --git a/vendor/github.com/gorilla/websocket/tls_handshake_116.go b/vendor/github.com/gorilla/websocket/tls_handshake_116.go new file mode 100644 index 00000000..e1b2b44f --- /dev/null +++ b/vendor/github.com/gorilla/websocket/tls_handshake_116.go @@ -0,0 +1,21 @@ +//go:build !go1.17 +// +build !go1.17 + +package websocket + +import ( + "context" + "crypto/tls" +) + +func doHandshake(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config) error { + if err := tlsConn.Handshake(); err != nil { + return err + } + if !cfg.InsecureSkipVerify { + if err := tlsConn.VerifyHostname(cfg.ServerName); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/gorilla/websocket/util.go b/vendor/github.com/gorilla/websocket/util.go index 9b1a629b..31a5dee6 100644 --- a/vendor/github.com/gorilla/websocket/util.go +++ b/vendor/github.com/gorilla/websocket/util.go @@ -6,7 +6,7 @@ package websocket import ( "crypto/rand" - "crypto/sha1" //#nosec G505 -- (CWE-327) https://datatracker.ietf.org/doc/html/rfc6455#page-54 + "crypto/sha1" "encoding/base64" "io" "net/http" @@ -17,7 +17,7 @@ import ( var keyGUID = []byte("258EAFA5-E914-47DA-95CA-C5AB0DC85B11") func computeAcceptKey(challengeKey string) string { - h := sha1.New() //#nosec G401 -- (CWE-326) https://datatracker.ietf.org/doc/html/rfc6455#page-54 + h := sha1.New() h.Write([]byte(challengeKey)) h.Write(keyGUID) return base64.StdEncoding.EncodeToString(h.Sum(nil)) diff --git a/vendor/github.com/gorilla/websocket/x_net_proxy.go b/vendor/github.com/gorilla/websocket/x_net_proxy.go new file mode 100644 index 00000000..2e668f6b --- /dev/null +++ b/vendor/github.com/gorilla/websocket/x_net_proxy.go @@ -0,0 +1,473 @@ +// Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT. +//go:generate bundle -o x_net_proxy.go golang.org/x/net/proxy + +// Package proxy provides support for a variety of protocols to proxy network +// data. +// + +package websocket + +import ( + "errors" + "io" + "net" + "net/url" + "os" + "strconv" + "strings" + "sync" +) + +type proxy_direct struct{} + +// Direct is a direct proxy: one that makes network connections directly. +var proxy_Direct = proxy_direct{} + +func (proxy_direct) Dial(network, addr string) (net.Conn, error) { + return net.Dial(network, addr) +} + +// A PerHost directs connections to a default Dialer unless the host name +// requested matches one of a number of exceptions. +type proxy_PerHost struct { + def, bypass proxy_Dialer + + bypassNetworks []*net.IPNet + bypassIPs []net.IP + bypassZones []string + bypassHosts []string +} + +// NewPerHost returns a PerHost Dialer that directs connections to either +// defaultDialer or bypass, depending on whether the connection matches one of +// the configured rules. +func proxy_NewPerHost(defaultDialer, bypass proxy_Dialer) *proxy_PerHost { + return &proxy_PerHost{ + def: defaultDialer, + bypass: bypass, + } +} + +// Dial connects to the address addr on the given network through either +// defaultDialer or bypass. +func (p *proxy_PerHost) Dial(network, addr string) (c net.Conn, err error) { + host, _, err := net.SplitHostPort(addr) + if err != nil { + return nil, err + } + + return p.dialerForRequest(host).Dial(network, addr) +} + +func (p *proxy_PerHost) dialerForRequest(host string) proxy_Dialer { + if ip := net.ParseIP(host); ip != nil { + for _, net := range p.bypassNetworks { + if net.Contains(ip) { + return p.bypass + } + } + for _, bypassIP := range p.bypassIPs { + if bypassIP.Equal(ip) { + return p.bypass + } + } + return p.def + } + + for _, zone := range p.bypassZones { + if strings.HasSuffix(host, zone) { + return p.bypass + } + if host == zone[1:] { + // For a zone ".example.com", we match "example.com" + // too. + return p.bypass + } + } + for _, bypassHost := range p.bypassHosts { + if bypassHost == host { + return p.bypass + } + } + return p.def +} + +// AddFromString parses a string that contains comma-separated values +// specifying hosts that should use the bypass proxy. Each value is either an +// IP address, a CIDR range, a zone (*.example.com) or a host name +// (localhost). A best effort is made to parse the string and errors are +// ignored. +func (p *proxy_PerHost) AddFromString(s string) { + hosts := strings.Split(s, ",") + for _, host := range hosts { + host = strings.TrimSpace(host) + if len(host) == 0 { + continue + } + if strings.Contains(host, "/") { + // We assume that it's a CIDR address like 127.0.0.0/8 + if _, net, err := net.ParseCIDR(host); err == nil { + p.AddNetwork(net) + } + continue + } + if ip := net.ParseIP(host); ip != nil { + p.AddIP(ip) + continue + } + if strings.HasPrefix(host, "*.") { + p.AddZone(host[1:]) + continue + } + p.AddHost(host) + } +} + +// AddIP specifies an IP address that will use the bypass proxy. Note that +// this will only take effect if a literal IP address is dialed. A connection +// to a named host will never match an IP. +func (p *proxy_PerHost) AddIP(ip net.IP) { + p.bypassIPs = append(p.bypassIPs, ip) +} + +// AddNetwork specifies an IP range that will use the bypass proxy. Note that +// this will only take effect if a literal IP address is dialed. A connection +// to a named host will never match. +func (p *proxy_PerHost) AddNetwork(net *net.IPNet) { + p.bypassNetworks = append(p.bypassNetworks, net) +} + +// AddZone specifies a DNS suffix that will use the bypass proxy. A zone of +// "example.com" matches "example.com" and all of its subdomains. +func (p *proxy_PerHost) AddZone(zone string) { + if strings.HasSuffix(zone, ".") { + zone = zone[:len(zone)-1] + } + if !strings.HasPrefix(zone, ".") { + zone = "." + zone + } + p.bypassZones = append(p.bypassZones, zone) +} + +// AddHost specifies a host name that will use the bypass proxy. +func (p *proxy_PerHost) AddHost(host string) { + if strings.HasSuffix(host, ".") { + host = host[:len(host)-1] + } + p.bypassHosts = append(p.bypassHosts, host) +} + +// A Dialer is a means to establish a connection. +type proxy_Dialer interface { + // Dial connects to the given address via the proxy. + Dial(network, addr string) (c net.Conn, err error) +} + +// Auth contains authentication parameters that specific Dialers may require. +type proxy_Auth struct { + User, Password string +} + +// FromEnvironment returns the dialer specified by the proxy related variables in +// the environment. +func proxy_FromEnvironment() proxy_Dialer { + allProxy := proxy_allProxyEnv.Get() + if len(allProxy) == 0 { + return proxy_Direct + } + + proxyURL, err := url.Parse(allProxy) + if err != nil { + return proxy_Direct + } + proxy, err := proxy_FromURL(proxyURL, proxy_Direct) + if err != nil { + return proxy_Direct + } + + noProxy := proxy_noProxyEnv.Get() + if len(noProxy) == 0 { + return proxy + } + + perHost := proxy_NewPerHost(proxy, proxy_Direct) + perHost.AddFromString(noProxy) + return perHost +} + +// proxySchemes is a map from URL schemes to a function that creates a Dialer +// from a URL with such a scheme. +var proxy_proxySchemes map[string]func(*url.URL, proxy_Dialer) (proxy_Dialer, error) + +// RegisterDialerType takes a URL scheme and a function to generate Dialers from +// a URL with that scheme and a forwarding Dialer. Registered schemes are used +// by FromURL. +func proxy_RegisterDialerType(scheme string, f func(*url.URL, proxy_Dialer) (proxy_Dialer, error)) { + if proxy_proxySchemes == nil { + proxy_proxySchemes = make(map[string]func(*url.URL, proxy_Dialer) (proxy_Dialer, error)) + } + proxy_proxySchemes[scheme] = f +} + +// FromURL returns a Dialer given a URL specification and an underlying +// Dialer for it to make network requests. +func proxy_FromURL(u *url.URL, forward proxy_Dialer) (proxy_Dialer, error) { + var auth *proxy_Auth + if u.User != nil { + auth = new(proxy_Auth) + auth.User = u.User.Username() + if p, ok := u.User.Password(); ok { + auth.Password = p + } + } + + switch u.Scheme { + case "socks5": + return proxy_SOCKS5("tcp", u.Host, auth, forward) + } + + // If the scheme doesn't match any of the built-in schemes, see if it + // was registered by another package. + if proxy_proxySchemes != nil { + if f, ok := proxy_proxySchemes[u.Scheme]; ok { + return f(u, forward) + } + } + + return nil, errors.New("proxy: unknown scheme: " + u.Scheme) +} + +var ( + proxy_allProxyEnv = &proxy_envOnce{ + names: []string{"ALL_PROXY", "all_proxy"}, + } + proxy_noProxyEnv = &proxy_envOnce{ + names: []string{"NO_PROXY", "no_proxy"}, + } +) + +// envOnce looks up an environment variable (optionally by multiple +// names) once. It mitigates expensive lookups on some platforms +// (e.g. Windows). +// (Borrowed from net/http/transport.go) +type proxy_envOnce struct { + names []string + once sync.Once + val string +} + +func (e *proxy_envOnce) Get() string { + e.once.Do(e.init) + return e.val +} + +func (e *proxy_envOnce) init() { + for _, n := range e.names { + e.val = os.Getenv(n) + if e.val != "" { + return + } + } +} + +// SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address +// with an optional username and password. See RFC 1928 and RFC 1929. +func proxy_SOCKS5(network, addr string, auth *proxy_Auth, forward proxy_Dialer) (proxy_Dialer, error) { + s := &proxy_socks5{ + network: network, + addr: addr, + forward: forward, + } + if auth != nil { + s.user = auth.User + s.password = auth.Password + } + + return s, nil +} + +type proxy_socks5 struct { + user, password string + network, addr string + forward proxy_Dialer +} + +const proxy_socks5Version = 5 + +const ( + proxy_socks5AuthNone = 0 + proxy_socks5AuthPassword = 2 +) + +const proxy_socks5Connect = 1 + +const ( + proxy_socks5IP4 = 1 + proxy_socks5Domain = 3 + proxy_socks5IP6 = 4 +) + +var proxy_socks5Errors = []string{ + "", + "general failure", + "connection forbidden", + "network unreachable", + "host unreachable", + "connection refused", + "TTL expired", + "command not supported", + "address type not supported", +} + +// Dial connects to the address addr on the given network via the SOCKS5 proxy. +func (s *proxy_socks5) Dial(network, addr string) (net.Conn, error) { + switch network { + case "tcp", "tcp6", "tcp4": + default: + return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network) + } + + conn, err := s.forward.Dial(s.network, s.addr) + if err != nil { + return nil, err + } + if err := s.connect(conn, addr); err != nil { + conn.Close() + return nil, err + } + return conn, nil +} + +// connect takes an existing connection to a socks5 proxy server, +// and commands the server to extend that connection to target, +// which must be a canonical address with a host and port. +func (s *proxy_socks5) connect(conn net.Conn, target string) error { + host, portStr, err := net.SplitHostPort(target) + if err != nil { + return err + } + + port, err := strconv.Atoi(portStr) + if err != nil { + return errors.New("proxy: failed to parse port number: " + portStr) + } + if port < 1 || port > 0xffff { + return errors.New("proxy: port number out of range: " + portStr) + } + + // the size here is just an estimate + buf := make([]byte, 0, 6+len(host)) + + buf = append(buf, proxy_socks5Version) + if len(s.user) > 0 && len(s.user) < 256 && len(s.password) < 256 { + buf = append(buf, 2 /* num auth methods */, proxy_socks5AuthNone, proxy_socks5AuthPassword) + } else { + buf = append(buf, 1 /* num auth methods */, proxy_socks5AuthNone) + } + + if _, err := conn.Write(buf); err != nil { + return errors.New("proxy: failed to write greeting to SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + if _, err := io.ReadFull(conn, buf[:2]); err != nil { + return errors.New("proxy: failed to read greeting from SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + if buf[0] != 5 { + return errors.New("proxy: SOCKS5 proxy at " + s.addr + " has unexpected version " + strconv.Itoa(int(buf[0]))) + } + if buf[1] == 0xff { + return errors.New("proxy: SOCKS5 proxy at " + s.addr + " requires authentication") + } + + // See RFC 1929 + if buf[1] == proxy_socks5AuthPassword { + buf = buf[:0] + buf = append(buf, 1 /* password protocol version */) + buf = append(buf, uint8(len(s.user))) + buf = append(buf, s.user...) + buf = append(buf, uint8(len(s.password))) + buf = append(buf, s.password...) + + if _, err := conn.Write(buf); err != nil { + return errors.New("proxy: failed to write authentication request to SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + if _, err := io.ReadFull(conn, buf[:2]); err != nil { + return errors.New("proxy: failed to read authentication reply from SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + if buf[1] != 0 { + return errors.New("proxy: SOCKS5 proxy at " + s.addr + " rejected username/password") + } + } + + buf = buf[:0] + buf = append(buf, proxy_socks5Version, proxy_socks5Connect, 0 /* reserved */) + + if ip := net.ParseIP(host); ip != nil { + if ip4 := ip.To4(); ip4 != nil { + buf = append(buf, proxy_socks5IP4) + ip = ip4 + } else { + buf = append(buf, proxy_socks5IP6) + } + buf = append(buf, ip...) + } else { + if len(host) > 255 { + return errors.New("proxy: destination host name too long: " + host) + } + buf = append(buf, proxy_socks5Domain) + buf = append(buf, byte(len(host))) + buf = append(buf, host...) + } + buf = append(buf, byte(port>>8), byte(port)) + + if _, err := conn.Write(buf); err != nil { + return errors.New("proxy: failed to write connect request to SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + if _, err := io.ReadFull(conn, buf[:4]); err != nil { + return errors.New("proxy: failed to read connect reply from SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + failure := "unknown error" + if int(buf[1]) < len(proxy_socks5Errors) { + failure = proxy_socks5Errors[buf[1]] + } + + if len(failure) > 0 { + return errors.New("proxy: SOCKS5 proxy at " + s.addr + " failed to connect: " + failure) + } + + bytesToDiscard := 0 + switch buf[3] { + case proxy_socks5IP4: + bytesToDiscard = net.IPv4len + case proxy_socks5IP6: + bytesToDiscard = net.IPv6len + case proxy_socks5Domain: + _, err := io.ReadFull(conn, buf[:1]) + if err != nil { + return errors.New("proxy: failed to read domain length from SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + bytesToDiscard = int(buf[0]) + default: + return errors.New("proxy: got unknown address type " + strconv.Itoa(int(buf[3])) + " from SOCKS5 proxy at " + s.addr) + } + + if cap(buf) < bytesToDiscard { + buf = make([]byte, bytesToDiscard) + } else { + buf = buf[:bytesToDiscard] + } + if _, err := io.ReadFull(conn, buf); err != nil { + return errors.New("proxy: failed to read address from SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + // Also need to discard the port number + if _, err := io.ReadFull(conn, buf[:2]); err != nil { + return errors.New("proxy: failed to read port from SOCKS5 proxy at " + s.addr + ": " + err.Error()) + } + + return nil +} diff --git a/vendor/github.com/rs/zerolog/README.md b/vendor/github.com/rs/zerolog/README.md index afa61569..1306a6c1 100644 --- a/vendor/github.com/rs/zerolog/README.md +++ b/vendor/github.com/rs/zerolog/README.md @@ -60,7 +60,7 @@ func main() { // Output: {"time":1516134303,"level":"debug","message":"hello world"} ``` > Note: By default log writes to `os.Stderr` -> Note: The default log level for `log.Print` is *debug* +> Note: The default log level for `log.Print` is *trace* ### Contextual Logging @@ -412,15 +412,7 @@ Equivalent of `Lshortfile`: ```go zerolog.CallerMarshalFunc = func(pc uintptr, file string, line int) string { - short := file - for i := len(file) - 1; i > 0; i-- { - if file[i] == '/' { - short = file[i+1:] - break - } - } - file = short - return file + ":" + strconv.Itoa(line) + return filepath.Base(file) + ":" + strconv.Itoa(line) } log.Logger = log.With().Caller().Logger() log.Info().Msg("hello world") @@ -646,10 +638,14 @@ Some settings can be changed and will be applied to all loggers: * `zerolog.LevelFieldName`: Can be set to customize level field name. * `zerolog.MessageFieldName`: Can be set to customize message field name. * `zerolog.ErrorFieldName`: Can be set to customize `Err` field name. -* `zerolog.TimeFieldFormat`: Can be set to customize `Time` field value formatting. If set with `zerolog.TimeFormatUnix`, `zerolog.TimeFormatUnixMs` or `zerolog.TimeFormatUnixMicro`, times are formated as UNIX timestamp. +* `zerolog.TimeFieldFormat`: Can be set to customize `Time` field value formatting. If set with `zerolog.TimeFormatUnix`, `zerolog.TimeFormatUnixMs` or `zerolog.TimeFormatUnixMicro`, times are formatted as UNIX timestamp. * `zerolog.DurationFieldUnit`: Can be set to customize the unit for time.Duration type fields added by `Dur` (default: `time.Millisecond`). * `zerolog.DurationFieldInteger`: If set to `true`, `Dur` fields are formatted as integers instead of floats (default: `false`). * `zerolog.ErrorHandler`: Called whenever zerolog fails to write an event on its output. If not set, an error is printed on the stderr. This handler must be thread safe and non-blocking. +* `zerolog.FloatingPointPrecision`: If set to a value other than -1, controls the number +of digits when formatting float numbers in JSON. See +[strconv.FormatFloat](https://pkg.go.dev/strconv#FormatFloat) +for more details. ## Field Types diff --git a/vendor/github.com/rs/zerolog/array.go b/vendor/github.com/rs/zerolog/array.go index 99612ee9..ba35b283 100644 --- a/vendor/github.com/rs/zerolog/array.go +++ b/vendor/github.com/rs/zerolog/array.go @@ -183,13 +183,13 @@ func (a *Array) Uint64(i uint64) *Array { // Float32 appends f as a float32 to the array. func (a *Array) Float32(f float32) *Array { - a.buf = enc.AppendFloat32(enc.AppendArrayDelim(a.buf), f) + a.buf = enc.AppendFloat32(enc.AppendArrayDelim(a.buf), f, FloatingPointPrecision) return a } // Float64 appends f as a float64 to the array. func (a *Array) Float64(f float64) *Array { - a.buf = enc.AppendFloat64(enc.AppendArrayDelim(a.buf), f) + a.buf = enc.AppendFloat64(enc.AppendArrayDelim(a.buf), f, FloatingPointPrecision) return a } @@ -201,7 +201,7 @@ func (a *Array) Time(t time.Time) *Array { // Dur appends d to the array. func (a *Array) Dur(d time.Duration) *Array { - a.buf = enc.AppendDuration(enc.AppendArrayDelim(a.buf), d, DurationFieldUnit, DurationFieldInteger) + a.buf = enc.AppendDuration(enc.AppendArrayDelim(a.buf), d, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) return a } diff --git a/vendor/github.com/rs/zerolog/console.go b/vendor/github.com/rs/zerolog/console.go index cc6d623e..7e65e86f 100644 --- a/vendor/github.com/rs/zerolog/console.go +++ b/vendor/github.com/rs/zerolog/console.go @@ -28,6 +28,8 @@ const ( colorBold = 1 colorDarkGray = 90 + + unknownLevel = "???" ) var ( @@ -57,12 +59,21 @@ type ConsoleWriter struct { // TimeFormat specifies the format for timestamp in output. TimeFormat string + // TimeLocation tells ConsoleWriter’s default FormatTimestamp + // how to localize the time. + TimeLocation *time.Location + // PartsOrder defines the order of parts in output. PartsOrder []string // PartsExclude defines parts to not display in output. PartsExclude []string + // FieldsOrder defines the order of contextual fields in output. + FieldsOrder []string + + fieldIsOrdered map[string]int + // FieldsExclude defines contextual fields to not display in output. FieldsExclude []string @@ -83,9 +94,9 @@ type ConsoleWriter struct { // NewConsoleWriter creates and initializes a new ConsoleWriter. func NewConsoleWriter(options ...func(w *ConsoleWriter)) ConsoleWriter { w := ConsoleWriter{ - Out: os.Stdout, - TimeFormat: consoleDefaultTimeFormat, - PartsOrder: consoleDefaultPartsOrder(), + Out: os.Stdout, + TimeFormat: consoleDefaultTimeFormat, + PartsOrder: consoleDefaultPartsOrder(), } for _, opt := range options { @@ -185,7 +196,12 @@ func (w ConsoleWriter) writeFields(evt map[string]interface{}, buf *bytes.Buffer } fields = append(fields, field) } - sort.Strings(fields) + + if len(w.FieldsOrder) > 0 { + w.orderFields(fields) + } else { + sort.Strings(fields) + } // Write space only if something has already been written to the buffer, and if there are fields. if buf.Len() > 0 && len(fields) > 0 { @@ -284,7 +300,7 @@ func (w ConsoleWriter) writePart(buf *bytes.Buffer, evt map[string]interface{}, } case TimestampFieldName: if w.FormatTimestamp == nil { - f = consoleDefaultFormatTimestamp(w.TimeFormat, w.NoColor) + f = consoleDefaultFormatTimestamp(w.TimeFormat, w.TimeLocation, w.NoColor) } else { f = w.FormatTimestamp } @@ -318,6 +334,32 @@ func (w ConsoleWriter) writePart(buf *bytes.Buffer, evt map[string]interface{}, } } +// orderFields takes an array of field names and an array representing field order +// and returns an array with any ordered fields at the beginning, in order, +// and the remaining fields after in their original order. +func (w ConsoleWriter) orderFields(fields []string) { + if w.fieldIsOrdered == nil { + w.fieldIsOrdered = make(map[string]int) + for i, fieldName := range w.FieldsOrder { + w.fieldIsOrdered[fieldName] = i + } + } + sort.Slice(fields, func(i, j int) bool { + ii, iOrdered := w.fieldIsOrdered[fields[i]] + jj, jOrdered := w.fieldIsOrdered[fields[j]] + if iOrdered && jOrdered { + return ii < jj + } + if iOrdered { + return true + } + if jOrdered { + return false + } + return fields[i] < fields[j] + }) +} + // needsQuote returns true when the string s should be quoted in output. func needsQuote(s string) bool { for i := range s { @@ -352,19 +394,23 @@ func consoleDefaultPartsOrder() []string { } } -func consoleDefaultFormatTimestamp(timeFormat string, noColor bool) Formatter { +func consoleDefaultFormatTimestamp(timeFormat string, location *time.Location, noColor bool) Formatter { if timeFormat == "" { timeFormat = consoleDefaultTimeFormat } + if location == nil { + location = time.Local + } + return func(i interface{}) string { t := "" switch tt := i.(type) { case string: - ts, err := time.ParseInLocation(TimeFieldFormat, tt, time.Local) + ts, err := time.ParseInLocation(TimeFieldFormat, tt, location) if err != nil { t = tt } else { - t = ts.Local().Format(timeFormat) + t = ts.In(location).Format(timeFormat) } case json.Number: i, err := tt.Int64() @@ -385,32 +431,37 @@ func consoleDefaultFormatTimestamp(timeFormat string, noColor bool) Formatter { } ts := time.Unix(sec, nsec) - t = ts.Format(timeFormat) + t = ts.In(location).Format(timeFormat) } } return colorize(t, colorDarkGray, noColor) } } +func stripLevel(ll string) string { + if len(ll) == 0 { + return unknownLevel + } + if len(ll) > 3 { + ll = ll[:3] + } + return strings.ToUpper(ll) +} + func consoleDefaultFormatLevel(noColor bool) Formatter { return func(i interface{}) string { - var l string if ll, ok := i.(string); ok { level, _ := ParseLevel(ll) fl, ok := FormattedLevels[level] if ok { - l = colorize(fl, LevelColors[level], noColor) - } else { - l = strings.ToUpper(ll)[0:3] - } - } else { - if i == nil { - l = "???" - } else { - l = strings.ToUpper(fmt.Sprintf("%s", i))[0:3] + return colorize(fl, LevelColors[level], noColor) } + return stripLevel(ll) } - return l + if i == nil { + return unknownLevel + } + return stripLevel(fmt.Sprintf("%s", i)) } } diff --git a/vendor/github.com/rs/zerolog/context.go b/vendor/github.com/rs/zerolog/context.go index df352eb6..ff9a3ae2 100644 --- a/vendor/github.com/rs/zerolog/context.go +++ b/vendor/github.com/rs/zerolog/context.go @@ -325,25 +325,25 @@ func (c Context) Uints64(key string, i []uint64) Context { // Float32 adds the field key with f as a float32 to the logger context. func (c Context) Float32(key string, f float32) Context { - c.l.context = enc.AppendFloat32(enc.AppendKey(c.l.context, key), f) + c.l.context = enc.AppendFloat32(enc.AppendKey(c.l.context, key), f, FloatingPointPrecision) return c } // Floats32 adds the field key with f as a []float32 to the logger context. func (c Context) Floats32(key string, f []float32) Context { - c.l.context = enc.AppendFloats32(enc.AppendKey(c.l.context, key), f) + c.l.context = enc.AppendFloats32(enc.AppendKey(c.l.context, key), f, FloatingPointPrecision) return c } // Float64 adds the field key with f as a float64 to the logger context. func (c Context) Float64(key string, f float64) Context { - c.l.context = enc.AppendFloat64(enc.AppendKey(c.l.context, key), f) + c.l.context = enc.AppendFloat64(enc.AppendKey(c.l.context, key), f, FloatingPointPrecision) return c } // Floats64 adds the field key with f as a []float64 to the logger context. func (c Context) Floats64(key string, f []float64) Context { - c.l.context = enc.AppendFloats64(enc.AppendKey(c.l.context, key), f) + c.l.context = enc.AppendFloats64(enc.AppendKey(c.l.context, key), f, FloatingPointPrecision) return c } @@ -365,13 +365,13 @@ func (c Context) Timestamp() Context { return c } -// Time adds the field key with t formated as string using zerolog.TimeFieldFormat. +// Time adds the field key with t formatted as string using zerolog.TimeFieldFormat. func (c Context) Time(key string, t time.Time) Context { c.l.context = enc.AppendTime(enc.AppendKey(c.l.context, key), t, TimeFieldFormat) return c } -// Times adds the field key with t formated as string using zerolog.TimeFieldFormat. +// Times adds the field key with t formatted as string using zerolog.TimeFieldFormat. func (c Context) Times(key string, t []time.Time) Context { c.l.context = enc.AppendTimes(enc.AppendKey(c.l.context, key), t, TimeFieldFormat) return c @@ -379,13 +379,13 @@ func (c Context) Times(key string, t []time.Time) Context { // Dur adds the fields key with d divided by unit and stored as a float. func (c Context) Dur(key string, d time.Duration) Context { - c.l.context = enc.AppendDuration(enc.AppendKey(c.l.context, key), d, DurationFieldUnit, DurationFieldInteger) + c.l.context = enc.AppendDuration(enc.AppendKey(c.l.context, key), d, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) return c } // Durs adds the fields key with d divided by unit and stored as a float. func (c Context) Durs(key string, d []time.Duration) Context { - c.l.context = enc.AppendDurations(enc.AppendKey(c.l.context, key), d, DurationFieldUnit, DurationFieldInteger) + c.l.context = enc.AppendDurations(enc.AppendKey(c.l.context, key), d, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) return c } @@ -409,6 +409,12 @@ func (c Context) Any(key string, i interface{}) Context { return c.Interface(key, i) } +// Reset removes all the context fields. +func (c Context) Reset() Context { + c.l.context = enc.AppendBeginMarker(make([]byte, 0, 500)) + return c +} + type callerHook struct { callerSkipFrameCount int } diff --git a/vendor/github.com/rs/zerolog/encoder.go b/vendor/github.com/rs/zerolog/encoder.go index 09b24e80..4dbaf380 100644 --- a/vendor/github.com/rs/zerolog/encoder.go +++ b/vendor/github.com/rs/zerolog/encoder.go @@ -13,13 +13,13 @@ type encoder interface { AppendBool(dst []byte, val bool) []byte AppendBools(dst []byte, vals []bool) []byte AppendBytes(dst, s []byte) []byte - AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte - AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte + AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool, precision int) []byte + AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool, precision int) []byte AppendEndMarker(dst []byte) []byte - AppendFloat32(dst []byte, val float32) []byte - AppendFloat64(dst []byte, val float64) []byte - AppendFloats32(dst []byte, vals []float32) []byte - AppendFloats64(dst []byte, vals []float64) []byte + AppendFloat32(dst []byte, val float32, precision int) []byte + AppendFloat64(dst []byte, val float64, precision int) []byte + AppendFloats32(dst []byte, vals []float32, precision int) []byte + AppendFloats64(dst []byte, vals []float64, precision int) []byte AppendHex(dst, s []byte) []byte AppendIPAddr(dst []byte, ip net.IP) []byte AppendIPPrefix(dst []byte, pfx net.IPNet) []byte diff --git a/vendor/github.com/rs/zerolog/event.go b/vendor/github.com/rs/zerolog/event.go index 5c949f8a..56de6061 100644 --- a/vendor/github.com/rs/zerolog/event.go +++ b/vendor/github.com/rs/zerolog/event.go @@ -644,7 +644,7 @@ func (e *Event) Float32(key string, f float32) *Event { if e == nil { return e } - e.buf = enc.AppendFloat32(enc.AppendKey(e.buf, key), f) + e.buf = enc.AppendFloat32(enc.AppendKey(e.buf, key), f, FloatingPointPrecision) return e } @@ -653,7 +653,7 @@ func (e *Event) Floats32(key string, f []float32) *Event { if e == nil { return e } - e.buf = enc.AppendFloats32(enc.AppendKey(e.buf, key), f) + e.buf = enc.AppendFloats32(enc.AppendKey(e.buf, key), f, FloatingPointPrecision) return e } @@ -662,7 +662,7 @@ func (e *Event) Float64(key string, f float64) *Event { if e == nil { return e } - e.buf = enc.AppendFloat64(enc.AppendKey(e.buf, key), f) + e.buf = enc.AppendFloat64(enc.AppendKey(e.buf, key), f, FloatingPointPrecision) return e } @@ -671,7 +671,7 @@ func (e *Event) Floats64(key string, f []float64) *Event { if e == nil { return e } - e.buf = enc.AppendFloats64(enc.AppendKey(e.buf, key), f) + e.buf = enc.AppendFloats64(enc.AppendKey(e.buf, key), f, FloatingPointPrecision) return e } @@ -713,7 +713,7 @@ func (e *Event) Dur(key string, d time.Duration) *Event { if e == nil { return e } - e.buf = enc.AppendDuration(enc.AppendKey(e.buf, key), d, DurationFieldUnit, DurationFieldInteger) + e.buf = enc.AppendDuration(enc.AppendKey(e.buf, key), d, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) return e } @@ -724,7 +724,7 @@ func (e *Event) Durs(key string, d []time.Duration) *Event { if e == nil { return e } - e.buf = enc.AppendDurations(enc.AppendKey(e.buf, key), d, DurationFieldUnit, DurationFieldInteger) + e.buf = enc.AppendDurations(enc.AppendKey(e.buf, key), d, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) return e } @@ -739,7 +739,7 @@ func (e *Event) TimeDiff(key string, t time.Time, start time.Time) *Event { if t.After(start) { d = t.Sub(start) } - e.buf = enc.AppendDuration(enc.AppendKey(e.buf, key), d, DurationFieldUnit, DurationFieldInteger) + e.buf = enc.AppendDuration(enc.AppendKey(e.buf, key), d, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) return e } diff --git a/vendor/github.com/rs/zerolog/fields.go b/vendor/github.com/rs/zerolog/fields.go index 23606ddd..99f52718 100644 --- a/vendor/github.com/rs/zerolog/fields.go +++ b/vendor/github.com/rs/zerolog/fields.go @@ -139,13 +139,13 @@ func appendFieldList(dst []byte, kvList []interface{}, stack bool) []byte { case uint64: dst = enc.AppendUint64(dst, val) case float32: - dst = enc.AppendFloat32(dst, val) + dst = enc.AppendFloat32(dst, val, FloatingPointPrecision) case float64: - dst = enc.AppendFloat64(dst, val) + dst = enc.AppendFloat64(dst, val, FloatingPointPrecision) case time.Time: dst = enc.AppendTime(dst, val, TimeFieldFormat) case time.Duration: - dst = enc.AppendDuration(dst, val, DurationFieldUnit, DurationFieldInteger) + dst = enc.AppendDuration(dst, val, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) case *string: if val != nil { dst = enc.AppendString(dst, *val) @@ -220,13 +220,13 @@ func appendFieldList(dst []byte, kvList []interface{}, stack bool) []byte { } case *float32: if val != nil { - dst = enc.AppendFloat32(dst, *val) + dst = enc.AppendFloat32(dst, *val, FloatingPointPrecision) } else { dst = enc.AppendNil(dst) } case *float64: if val != nil { - dst = enc.AppendFloat64(dst, *val) + dst = enc.AppendFloat64(dst, *val, FloatingPointPrecision) } else { dst = enc.AppendNil(dst) } @@ -238,7 +238,7 @@ func appendFieldList(dst []byte, kvList []interface{}, stack bool) []byte { } case *time.Duration: if val != nil { - dst = enc.AppendDuration(dst, *val, DurationFieldUnit, DurationFieldInteger) + dst = enc.AppendDuration(dst, *val, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) } else { dst = enc.AppendNil(dst) } @@ -267,13 +267,13 @@ func appendFieldList(dst []byte, kvList []interface{}, stack bool) []byte { case []uint64: dst = enc.AppendUints64(dst, val) case []float32: - dst = enc.AppendFloats32(dst, val) + dst = enc.AppendFloats32(dst, val, FloatingPointPrecision) case []float64: - dst = enc.AppendFloats64(dst, val) + dst = enc.AppendFloats64(dst, val, FloatingPointPrecision) case []time.Time: dst = enc.AppendTimes(dst, val, TimeFieldFormat) case []time.Duration: - dst = enc.AppendDurations(dst, val, DurationFieldUnit, DurationFieldInteger) + dst = enc.AppendDurations(dst, val, DurationFieldUnit, DurationFieldInteger, FloatingPointPrecision) case nil: dst = enc.AppendNil(dst) case net.IP: diff --git a/vendor/github.com/rs/zerolog/globals.go b/vendor/github.com/rs/zerolog/globals.go index b38a7fce..9a9be713 100644 --- a/vendor/github.com/rs/zerolog/globals.go +++ b/vendor/github.com/rs/zerolog/globals.go @@ -1,6 +1,7 @@ package zerolog import ( + "bytes" "encoding/json" "strconv" "sync/atomic" @@ -81,8 +82,22 @@ var ( } // InterfaceMarshalFunc allows customization of interface marshaling. - // Default: "encoding/json.Marshal" - InterfaceMarshalFunc = json.Marshal + // Default: "encoding/json.Marshal" with disabled HTML escaping + InterfaceMarshalFunc = func(v interface{}) ([]byte, error) { + var buf bytes.Buffer + encoder := json.NewEncoder(&buf) + encoder.SetEscapeHTML(false) + err := encoder.Encode(v) + if err != nil { + return nil, err + } + b := buf.Bytes() + if len(b) > 0 { + // Remove trailing \n which is added by Encode. + return b[:len(b)-1], nil + } + return b, nil + } // TimeFieldFormat defines the time format of the Time field type. If set to // TimeFormatUnix, TimeFormatUnixMs, TimeFormatUnixMicro or TimeFormatUnixNano, the time is formatted as a UNIX @@ -136,6 +151,11 @@ var ( // TriggerLevelWriterBufferReuseLimit is a limit in bytes that a buffer is dropped // from the TriggerLevelWriter buffer pool if the buffer grows above the limit. TriggerLevelWriterBufferReuseLimit = 64 * 1024 + + // FloatingPointPrecision, if set to a value other than -1, controls the number + // of digits when formatting float numbers in JSON. See strconv.FormatFloat for + // more details. + FloatingPointPrecision = -1 ) var ( diff --git a/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go b/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go index 616bed65..5633e666 100644 --- a/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +++ b/vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go @@ -95,7 +95,7 @@ func decodeFloat(src *bufio.Reader) (float64, int) { switch minor { case additionalTypeFloat16: - panic(fmt.Errorf("float16 is not suppported in decodeFloat")) + panic(fmt.Errorf("float16 is not supported in decodeFloat")) case additionalTypeFloat32: pb := readNBytes(src, 4) diff --git a/vendor/github.com/rs/zerolog/internal/cbor/time.go b/vendor/github.com/rs/zerolog/internal/cbor/time.go index d81fb125..7c0eccee 100644 --- a/vendor/github.com/rs/zerolog/internal/cbor/time.go +++ b/vendor/github.com/rs/zerolog/internal/cbor/time.go @@ -29,7 +29,7 @@ func (e Encoder) appendFloatTimestamp(dst []byte, t time.Time) []byte { nanos := t.Nanosecond() var val float64 val = float64(secs)*1.0 + float64(nanos)*1e-9 - return e.AppendFloat64(dst, val) + return e.AppendFloat64(dst, val, -1) } // AppendTime encodes and adds a timestamp to the dst byte array. @@ -64,17 +64,17 @@ func (e Encoder) AppendTimes(dst []byte, vals []time.Time, unused string) []byte // AppendDuration encodes and adds a duration to the dst byte array. // useInt field indicates whether to store the duration as seconds (integer) or // as seconds+nanoseconds (float). -func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte { +func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool, unused int) []byte { if useInt { return e.AppendInt64(dst, int64(d/unit)) } - return e.AppendFloat64(dst, float64(d)/float64(unit)) + return e.AppendFloat64(dst, float64(d)/float64(unit), unused) } // AppendDurations encodes and adds an array of durations to the dst byte array. // useInt field indicates whether to store the duration as seconds (integer) or // as seconds+nanoseconds (float). -func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte { +func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool, unused int) []byte { major := majorTypeArray l := len(vals) if l == 0 { @@ -87,7 +87,7 @@ func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Dur dst = appendCborTypePrefix(dst, major, uint64(l)) } for _, d := range vals { - dst = e.AppendDuration(dst, d, unit, useInt) + dst = e.AppendDuration(dst, d, unit, useInt, unused) } return dst } diff --git a/vendor/github.com/rs/zerolog/internal/cbor/types.go b/vendor/github.com/rs/zerolog/internal/cbor/types.go index 6f538328..454d68bd 100644 --- a/vendor/github.com/rs/zerolog/internal/cbor/types.go +++ b/vendor/github.com/rs/zerolog/internal/cbor/types.go @@ -352,7 +352,7 @@ func (e Encoder) AppendUints64(dst []byte, vals []uint64) []byte { } // AppendFloat32 encodes and inserts a single precision float value into the dst byte array. -func (Encoder) AppendFloat32(dst []byte, val float32) []byte { +func (Encoder) AppendFloat32(dst []byte, val float32, unused int) []byte { switch { case math.IsNaN(float64(val)): return append(dst, "\xfa\x7f\xc0\x00\x00"...) @@ -372,7 +372,7 @@ func (Encoder) AppendFloat32(dst []byte, val float32) []byte { } // AppendFloats32 encodes and inserts an array of single precision float value into the dst byte array. -func (e Encoder) AppendFloats32(dst []byte, vals []float32) []byte { +func (e Encoder) AppendFloats32(dst []byte, vals []float32, unused int) []byte { major := majorTypeArray l := len(vals) if l == 0 { @@ -385,13 +385,13 @@ func (e Encoder) AppendFloats32(dst []byte, vals []float32) []byte { dst = appendCborTypePrefix(dst, major, uint64(l)) } for _, v := range vals { - dst = e.AppendFloat32(dst, v) + dst = e.AppendFloat32(dst, v, unused) } return dst } // AppendFloat64 encodes and inserts a double precision float value into the dst byte array. -func (Encoder) AppendFloat64(dst []byte, val float64) []byte { +func (Encoder) AppendFloat64(dst []byte, val float64, unused int) []byte { switch { case math.IsNaN(val): return append(dst, "\xfb\x7f\xf8\x00\x00\x00\x00\x00\x00"...) @@ -412,7 +412,7 @@ func (Encoder) AppendFloat64(dst []byte, val float64) []byte { } // AppendFloats64 encodes and inserts an array of double precision float values into the dst byte array. -func (e Encoder) AppendFloats64(dst []byte, vals []float64) []byte { +func (e Encoder) AppendFloats64(dst []byte, vals []float64, unused int) []byte { major := majorTypeArray l := len(vals) if l == 0 { @@ -425,7 +425,7 @@ func (e Encoder) AppendFloats64(dst []byte, vals []float64) []byte { dst = appendCborTypePrefix(dst, major, uint64(l)) } for _, v := range vals { - dst = e.AppendFloat64(dst, v) + dst = e.AppendFloat64(dst, v, unused) } return dst } diff --git a/vendor/github.com/rs/zerolog/internal/json/time.go b/vendor/github.com/rs/zerolog/internal/json/time.go index 6a8dc912..08cbbd9b 100644 --- a/vendor/github.com/rs/zerolog/internal/json/time.go +++ b/vendor/github.com/rs/zerolog/internal/json/time.go @@ -88,24 +88,24 @@ func appendUnixNanoTimes(dst []byte, vals []time.Time, div int64) []byte { // AppendDuration formats the input duration with the given unit & format // and appends the encoded string to the input byte slice. -func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte { +func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool, precision int) []byte { if useInt { return strconv.AppendInt(dst, int64(d/unit), 10) } - return e.AppendFloat64(dst, float64(d)/float64(unit)) + return e.AppendFloat64(dst, float64(d)/float64(unit), precision) } // AppendDurations formats the input durations with the given unit & format // and appends the encoded string list to the input byte slice. -func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte { +func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool, precision int) []byte { if len(vals) == 0 { return append(dst, '[', ']') } dst = append(dst, '[') - dst = e.AppendDuration(dst, vals[0], unit, useInt) + dst = e.AppendDuration(dst, vals[0], unit, useInt, precision) if len(vals) > 1 { for _, d := range vals[1:] { - dst = e.AppendDuration(append(dst, ','), d, unit, useInt) + dst = e.AppendDuration(append(dst, ','), d, unit, useInt, precision) } } dst = append(dst, ']') diff --git a/vendor/github.com/rs/zerolog/internal/json/types.go b/vendor/github.com/rs/zerolog/internal/json/types.go index ef3a2a7a..7930491a 100644 --- a/vendor/github.com/rs/zerolog/internal/json/types.go +++ b/vendor/github.com/rs/zerolog/internal/json/types.go @@ -299,7 +299,7 @@ func (Encoder) AppendUints64(dst []byte, vals []uint64) []byte { return dst } -func appendFloat(dst []byte, val float64, bitSize int) []byte { +func appendFloat(dst []byte, val float64, bitSize, precision int) []byte { // JSON does not permit NaN or Infinity. A typical JSON encoder would fail // with an error, but a logging library wants the data to get through so we // make a tradeoff and store those types as string. @@ -311,26 +311,47 @@ func appendFloat(dst []byte, val float64, bitSize int) []byte { case math.IsInf(val, -1): return append(dst, `"-Inf"`...) } - return strconv.AppendFloat(dst, val, 'f', -1, bitSize) + // convert as if by es6 number to string conversion + // see also https://cs.opensource.google/go/go/+/refs/tags/go1.20.3:src/encoding/json/encode.go;l=573 + strFmt := byte('f') + // If precision is set to a value other than -1, we always just format the float using that precision. + if precision == -1 { + // Use float32 comparisons for underlying float32 value to get precise cutoffs right. + if abs := math.Abs(val); abs != 0 { + if bitSize == 64 && (abs < 1e-6 || abs >= 1e21) || bitSize == 32 && (float32(abs) < 1e-6 || float32(abs) >= 1e21) { + strFmt = 'e' + } + } + } + dst = strconv.AppendFloat(dst, val, strFmt, precision, bitSize) + if strFmt == 'e' { + // Clean up e-09 to e-9 + n := len(dst) + if n >= 4 && dst[n-4] == 'e' && dst[n-3] == '-' && dst[n-2] == '0' { + dst[n-2] = dst[n-1] + dst = dst[:n-1] + } + } + return dst } // AppendFloat32 converts the input float32 to a string and // appends the encoded string to the input byte slice. -func (Encoder) AppendFloat32(dst []byte, val float32) []byte { - return appendFloat(dst, float64(val), 32) +func (Encoder) AppendFloat32(dst []byte, val float32, precision int) []byte { + return appendFloat(dst, float64(val), 32, precision) } // AppendFloats32 encodes the input float32s to json and // appends the encoded string list to the input byte slice. -func (Encoder) AppendFloats32(dst []byte, vals []float32) []byte { +func (Encoder) AppendFloats32(dst []byte, vals []float32, precision int) []byte { if len(vals) == 0 { return append(dst, '[', ']') } dst = append(dst, '[') - dst = appendFloat(dst, float64(vals[0]), 32) + dst = appendFloat(dst, float64(vals[0]), 32, precision) if len(vals) > 1 { for _, val := range vals[1:] { - dst = appendFloat(append(dst, ','), float64(val), 32) + dst = appendFloat(append(dst, ','), float64(val), 32, precision) } } dst = append(dst, ']') @@ -339,21 +360,21 @@ func (Encoder) AppendFloats32(dst []byte, vals []float32) []byte { // AppendFloat64 converts the input float64 to a string and // appends the encoded string to the input byte slice. -func (Encoder) AppendFloat64(dst []byte, val float64) []byte { - return appendFloat(dst, val, 64) +func (Encoder) AppendFloat64(dst []byte, val float64, precision int) []byte { + return appendFloat(dst, val, 64, precision) } // AppendFloats64 encodes the input float64s to json and // appends the encoded string list to the input byte slice. -func (Encoder) AppendFloats64(dst []byte, vals []float64) []byte { +func (Encoder) AppendFloats64(dst []byte, vals []float64, precision int) []byte { if len(vals) == 0 { return append(dst, '[', ']') } dst = append(dst, '[') - dst = appendFloat(dst, vals[0], 64) + dst = appendFloat(dst, vals[0], 64, precision) if len(vals) > 1 { for _, val := range vals[1:] { - dst = appendFloat(append(dst, ','), val, 64) + dst = appendFloat(append(dst, ','), val, 64, precision) } } dst = append(dst, ']') diff --git a/vendor/github.com/rs/zerolog/log.go b/vendor/github.com/rs/zerolog/log.go index 9fec7cc3..6c1d4ead 100644 --- a/vendor/github.com/rs/zerolog/log.go +++ b/vendor/github.com/rs/zerolog/log.go @@ -24,7 +24,7 @@ // // Sub-loggers let you chain loggers with additional context: // -// sublogger := log.With().Str("component": "foo").Logger() +// sublogger := log.With().Str("component", "foo").Logger() // sublogger.Info().Msg("hello world") // // Output: {"time":1494567715,"level":"info","message":"hello world","component":"foo"} // diff --git a/vendor/github.com/rs/zerolog/sampler.go b/vendor/github.com/rs/zerolog/sampler.go index 1be98c4f..83ce2ed3 100644 --- a/vendor/github.com/rs/zerolog/sampler.go +++ b/vendor/github.com/rs/zerolog/sampler.go @@ -84,7 +84,7 @@ func (s *BurstSampler) Sample(lvl Level) bool { } func (s *BurstSampler) inc() uint32 { - now := time.Now().UnixNano() + now := TimestampFunc().UnixNano() resetAt := atomic.LoadInt64(&s.resetAt) var c uint32 if now > resetAt { diff --git a/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go b/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go index 81482d31..e20f5bfe 100644 --- a/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go +++ b/vendor/go.mau.fi/libsignal/serialize/ProtoBufferSerializer.go @@ -112,7 +112,7 @@ func (j *ProtoBufPreKeySignalMessageSerializer) Serialize(signalMessage *protoco Message: signalMessage.Message, } - if !signalMessage.PreKeyID.IsEmpty { + if signalMessage.PreKeyID != nil && !signalMessage.PreKeyID.IsEmpty { preKeyMessage.PreKeyId = &signalMessage.PreKeyID.Value } diff --git a/vendor/go.mau.fi/whatsmeow/appstate.go b/vendor/go.mau.fi/whatsmeow/appstate.go index a1c9146c..9f4561e6 100644 --- a/vendor/go.mau.fi/whatsmeow/appstate.go +++ b/vendor/go.mau.fi/whatsmeow/appstate.go @@ -318,14 +318,14 @@ func (cli *Client) requestAppStateKeys(ctx context.Context, rawKeyIDs [][]byte) keyIDs := make([]*waProto.AppStateSyncKeyId, len(rawKeyIDs)) debugKeyIDs := make([]string, len(rawKeyIDs)) for i, keyID := range rawKeyIDs { - keyIDs[i] = &waProto.AppStateSyncKeyId{KeyId: keyID} + keyIDs[i] = &waProto.AppStateSyncKeyId{KeyID: keyID} debugKeyIDs[i] = hex.EncodeToString(keyID) } msg := &waProto.Message{ ProtocolMessage: &waProto.ProtocolMessage{ Type: waProto.ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST.Enum(), AppStateSyncKeyRequest: &waProto.AppStateSyncKeyRequest{ - KeyIds: keyIDs, + KeyIDs: keyIDs, }, }, } diff --git a/vendor/go.mau.fi/whatsmeow/appstate/encode.go b/vendor/go.mau.fi/whatsmeow/appstate/encode.go index 2358c903..859b5f83 100644 --- a/vendor/go.mau.fi/whatsmeow/appstate/encode.go +++ b/vendor/go.mau.fi/whatsmeow/appstate/encode.go @@ -257,7 +257,7 @@ func (proc *Processor) EncodePatch(keyID []byte, state HashState, patchInfo Patc Record: &waProto.SyncdRecord{ Index: &waProto.SyncdIndex{Blob: indexMac}, Value: &waProto.SyncdValue{Blob: append(encryptedContent, valueMac...)}, - KeyId: &waProto.KeyId{Id: keyID}, + KeyID: &waProto.KeyId{ID: keyID}, }, }) } @@ -275,11 +275,11 @@ func (proc *Processor) EncodePatch(keyID []byte, state HashState, patchInfo Patc state.Version += 1 syncdPatch := &waProto.SyncdPatch{ - SnapshotMac: state.generateSnapshotMAC(patchInfo.Type, keys.SnapshotMAC), - KeyId: &waProto.KeyId{Id: keyID}, + SnapshotMAC: state.generateSnapshotMAC(patchInfo.Type, keys.SnapshotMAC), + KeyID: &waProto.KeyId{ID: keyID}, Mutations: mutations, } - syncdPatch.PatchMac = generatePatchMAC(syncdPatch, patchInfo.Type, keys.PatchMAC, state.Version) + syncdPatch.PatchMAC = generatePatchMAC(syncdPatch, patchInfo.Type, keys.PatchMAC, state.Version) result, err := proto.Marshal(syncdPatch) if err != nil { diff --git a/vendor/go.mau.fi/whatsmeow/armadillomessage.go b/vendor/go.mau.fi/whatsmeow/armadillomessage.go index a026d767..bdc2e6ff 100644 --- a/vendor/go.mau.fi/whatsmeow/armadillomessage.go +++ b/vendor/go.mau.fi/whatsmeow/armadillomessage.go @@ -11,10 +11,10 @@ import ( "google.golang.org/protobuf/proto" - "go.mau.fi/whatsmeow/binary/armadillo" - "go.mau.fi/whatsmeow/binary/armadillo/waCommon" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport" + armadillo "go.mau.fi/whatsmeow/proto" + "go.mau.fi/whatsmeow/proto/waCommon" + "go.mau.fi/whatsmeow/proto/waMsgApplication" + "go.mau.fi/whatsmeow/proto/waMsgTransport" "go.mau.fi/whatsmeow/types" "go.mau.fi/whatsmeow/types/events" ) diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/.gitignore b/vendor/go.mau.fi/whatsmeow/binary/armadillo/.gitignore deleted file mode 100644 index 344f8a24..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/.gitignore +++ /dev/null @@ -1 +0,0 @@ -e2ee.js diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto deleted file mode 100644 index d236b770..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; -package WACommon; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waCommon"; - -enum FutureProofBehavior { - PLACEHOLDER = 0; - NO_PLACEHOLDER = 1; - IGNORE = 2; -} - -message MessageKey { - string remoteJID = 1; - bool fromMe = 2; - string ID = 3; - string participant = 4; -} - -message Command { - enum CommandType { - COMMANDTYPE_UNKNOWN = 0; - EVERYONE = 1; - SILENT = 2; - AI = 3; - } - - CommandType commandType = 1; - uint32 offset = 2; - uint32 length = 3; - string validationToken = 4; -} - -message MessageText { - string text = 1; - repeated string mentionedJID = 2; - repeated Command commands = 3; -} - -message SubProtocol { - bytes payload = 1; - int32 version = 2; -} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto deleted file mode 100644 index 7c4adcba..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto +++ /dev/null @@ -1,234 +0,0 @@ -syntax = "proto3"; -package WAConsumerApplication; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication"; - -import "waCommon/WACommon.proto"; - -message ConsumerApplication { - message Payload { - oneof payload { - Content content = 1; - ApplicationData applicationData = 2; - Signal signal = 3; - SubProtocolPayload subProtocol = 4; - } - } - - message SubProtocolPayload { - WACommon.FutureProofBehavior futureProof = 1; - } - - message Metadata { - enum SpecialTextSize { - SPECIALTEXTSIZE_UNKNOWN = 0; - SMALL = 1; - MEDIUM = 2; - LARGE = 3; - } - - SpecialTextSize specialTextSize = 1; - } - - message Signal { - } - - message ApplicationData { - oneof applicationContent { - RevokeMessage revoke = 1; - } - } - - message Content { - oneof content { - WACommon.MessageText messageText = 1; - ImageMessage imageMessage = 2; - ContactMessage contactMessage = 3; - LocationMessage locationMessage = 4; - ExtendedTextMessage extendedTextMessage = 5; - StatusTextMesage statusTextMessage = 6; - DocumentMessage documentMessage = 7; - AudioMessage audioMessage = 8; - VideoMessage videoMessage = 9; - ContactsArrayMessage contactsArrayMessage = 10; - LiveLocationMessage liveLocationMessage = 11; - StickerMessage stickerMessage = 12; - GroupInviteMessage groupInviteMessage = 13; - ViewOnceMessage viewOnceMessage = 14; - ReactionMessage reactionMessage = 16; - PollCreationMessage pollCreationMessage = 17; - PollUpdateMessage pollUpdateMessage = 18; - EditMessage editMessage = 19; - } - } - - message EditMessage { - WACommon.MessageKey key = 1; - WACommon.MessageText message = 2; - int64 timestampMS = 3; - } - - message PollAddOptionMessage { - repeated Option pollOption = 1; - } - - message PollVoteMessage { - repeated bytes selectedOptions = 1; - int64 senderTimestampMS = 2; - } - - message PollEncValue { - bytes encPayload = 1; - bytes encIV = 2; - } - - message PollUpdateMessage { - WACommon.MessageKey pollCreationMessageKey = 1; - PollEncValue vote = 2; - PollEncValue addOption = 3; - } - - message PollCreationMessage { - bytes encKey = 1; - string name = 2; - repeated Option options = 3; - uint32 selectableOptionsCount = 4; - } - - message Option { - string optionName = 1; - } - - message ReactionMessage { - WACommon.MessageKey key = 1; - string text = 2; - string groupingKey = 3; - int64 senderTimestampMS = 4; - string reactionMetadataDataclassData = 5; - int32 style = 6; - } - - message RevokeMessage { - WACommon.MessageKey key = 1; - } - - message ViewOnceMessage { - oneof viewOnceContent { - ImageMessage imageMessage = 1; - VideoMessage videoMessage = 2; - } - } - - message GroupInviteMessage { - string groupJID = 1; - string inviteCode = 2; - int64 inviteExpiration = 3; - string groupName = 4; - bytes JPEGThumbnail = 5; - WACommon.MessageText caption = 6; - } - - message LiveLocationMessage { - Location location = 1; - uint32 accuracyInMeters = 2; - float speedInMps = 3; - uint32 degreesClockwiseFromMagneticNorth = 4; - WACommon.MessageText caption = 5; - int64 sequenceNumber = 6; - uint32 timeOffset = 7; - } - - message ContactsArrayMessage { - string displayName = 1; - repeated ContactMessage contacts = 2; - } - - message ContactMessage { - WACommon.SubProtocol contact = 1; - } - - message StatusTextMesage { - enum FontType { - SANS_SERIF = 0; - SERIF = 1; - NORICAN_REGULAR = 2; - BRYNDAN_WRITE = 3; - BEBASNEUE_REGULAR = 4; - OSWALD_HEAVY = 5; - } - - ExtendedTextMessage text = 1; - fixed32 textArgb = 6; - fixed32 backgroundArgb = 7; - FontType font = 8; - } - - message ExtendedTextMessage { - enum PreviewType { - NONE = 0; - VIDEO = 1; - } - - WACommon.MessageText text = 1; - string matchedText = 2; - string canonicalURL = 3; - string description = 4; - string title = 5; - WACommon.SubProtocol thumbnail = 6; - PreviewType previewType = 7; - } - - message LocationMessage { - Location location = 1; - string address = 2; - } - - message StickerMessage { - WACommon.SubProtocol sticker = 1; - } - - message DocumentMessage { - WACommon.SubProtocol document = 1; - string fileName = 2; - } - - message VideoMessage { - WACommon.SubProtocol video = 1; - WACommon.MessageText caption = 2; - } - - message AudioMessage { - WACommon.SubProtocol audio = 1; - bool PTT = 2; - } - - message ImageMessage { - WACommon.SubProtocol image = 1; - WACommon.MessageText caption = 2; - } - - message InteractiveAnnotation { - oneof action { - Location location = 2; - } - - repeated Point polygonVertices = 1; - } - - message Point { - double x = 1; - double y = 2; - } - - message Location { - double degreesLatitude = 1; - double degreesLongitude = 2; - string name = 3; - } - - message MediaPayload { - WACommon.SubProtocol protocol = 1; - } - - Payload payload = 1; - Metadata metadata = 2; -} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto deleted file mode 100644 index b76b2bb4..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto +++ /dev/null @@ -1,154 +0,0 @@ -syntax = "proto3"; -package WAMediaTransport; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport"; - -import "waCommon/WACommon.proto"; - -message WAMediaTransport { - message Ancillary { - message Thumbnail { - message DownloadableThumbnail { - bytes fileSHA256 = 1; - bytes fileEncSHA256 = 2; - string directPath = 3; - bytes mediaKey = 4; - int64 mediaKeyTimestamp = 5; - string objectID = 6; - } - - bytes JPEGThumbnail = 1; - DownloadableThumbnail downloadableThumbnail = 2; - uint32 thumbnailWidth = 3; - uint32 thumbnailHeight = 4; - } - - uint64 fileLength = 1; - string mimetype = 2; - Thumbnail thumbnail = 3; - string objectID = 4; - } - - message Integral { - bytes fileSHA256 = 1; - bytes mediaKey = 2; - bytes fileEncSHA256 = 3; - string directPath = 4; - int64 mediaKeyTimestamp = 5; - } - - Integral integral = 1; - Ancillary ancillary = 2; -} - -message ImageTransport { - message Ancillary { - enum HdType { - NONE = 0; - LQ_4K = 1; - HQ_4K = 2; - } - - uint32 height = 1; - uint32 width = 2; - bytes scansSidecar = 3; - repeated uint32 scanLengths = 4; - bytes midQualityFileSHA256 = 5; - HdType hdType = 6; - } - - message Integral { - WAMediaTransport transport = 1; - } - - Integral integral = 1; - Ancillary ancillary = 2; -} - -message VideoTransport { - message Ancillary { - enum Attribution { - NONE = 0; - GIPHY = 1; - TENOR = 2; - } - - uint32 seconds = 1; - WACommon.MessageText caption = 2; - bool gifPlayback = 3; - uint32 height = 4; - uint32 width = 5; - bytes sidecar = 6; - Attribution gifAttribution = 7; - } - - message Integral { - WAMediaTransport transport = 1; - } - - Integral integral = 1; - Ancillary ancillary = 2; -} - -message AudioTransport { - message Ancillary { - uint32 seconds = 1; - } - - message Integral { - WAMediaTransport transport = 1; - } - - Integral integral = 1; - Ancillary ancillary = 2; -} - -message DocumentTransport { - message Ancillary { - uint32 pageCount = 1; - } - - message Integral { - WAMediaTransport transport = 1; - } - - Integral integral = 1; - Ancillary ancillary = 2; -} - -message StickerTransport { - message Ancillary { - uint32 pageCount = 1; - uint32 height = 2; - uint32 width = 3; - uint32 firstFrameLength = 4; - bytes firstFrameSidecar = 5; - string mustacheText = 6; - bool isThirdParty = 7; - string receiverFetchID = 8; - } - - message Integral { - WAMediaTransport transport = 1; - bool isAnimated = 2; - string receiverFetchID = 3; - } - - Integral integral = 1; - Ancillary ancillary = 2; -} - -message ContactTransport { - message Ancillary { - string displayName = 1; - } - - message Integral { - oneof contact { - string vcard = 1; - WAMediaTransport downloadableVcard = 2; - } - } - - Integral integral = 1; - Ancillary ancillary = 2; -} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto deleted file mode 100644 index d69a8862..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto +++ /dev/null @@ -1,87 +0,0 @@ -syntax = "proto3"; -package WAMsgApplication; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication"; - -import "waCommon/WACommon.proto"; - -message MessageApplication { - message Metadata { - enum ThreadType { - DEFAULT = 0; - VANISH_MODE = 1; - DISAPPEARING_MESSAGES = 2; - } - - message QuotedMessage { - string stanzaID = 1; - string remoteJID = 2; - string participant = 3; - Payload payload = 4; - } - - message EphemeralSettingMap { - string chatJID = 1; - EphemeralSetting ephemeralSetting = 2; - } - - oneof ephemeral { - EphemeralSetting chatEphemeralSetting = 1; - EphemeralSettingMap ephemeralSettingList = 2; - bytes ephemeralSharedSecret = 3; - } - - uint32 forwardingScore = 5; - bool isForwarded = 6; - WACommon.SubProtocol businessMetadata = 7; - bytes frankingKey = 8; - int32 frankingVersion = 9; - QuotedMessage quotedMessage = 10; - ThreadType threadType = 11; - string readonlyMetadataDataclass = 12; - string groupID = 13; - uint32 groupSize = 14; - uint32 groupIndex = 15; - string botResponseID = 16; - string collapsibleID = 17; - } - - message Payload { - oneof content { - Content coreContent = 1; - Signal signal = 2; - ApplicationData applicationData = 3; - SubProtocolPayload subProtocol = 4; - } - } - - message SubProtocolPayload { - oneof subProtocol { - WACommon.SubProtocol consumerMessage = 2; - WACommon.SubProtocol businessMessage = 3; - WACommon.SubProtocol paymentMessage = 4; - WACommon.SubProtocol multiDevice = 5; - WACommon.SubProtocol voip = 6; - WACommon.SubProtocol armadillo = 7; - } - - WACommon.FutureProofBehavior futureProof = 1; - } - - message ApplicationData { - } - - message Signal { - } - - message Content { - } - - message EphemeralSetting { - uint32 ephemeralExpiration = 2; - int64 ephemeralSettingTimestamp = 3; - bool isEphemeralSettingReset = 4; - } - - Payload payload = 1; - Metadata metadata = 2; -} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto deleted file mode 100644 index ad5bc659..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto +++ /dev/null @@ -1,75 +0,0 @@ -syntax = "proto3"; -package WAMsgTransport; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport"; - -import "waCommon/WACommon.proto"; - -message MessageTransport { - message Payload { - WACommon.SubProtocol applicationPayload = 1; - WACommon.FutureProofBehavior futureProof = 3; - } - - message Protocol { - message Ancillary { - message BackupDirective { - enum ActionType { - NOOP = 0; - UPSERT = 1; - DELETE = 2; - UPSERT_AND_DELETE = 3; - } - - string messageID = 1; - ActionType actionType = 2; - string supplementalKey = 3; - } - - message ICDCParticipantDevices { - message ICDCIdentityListDescription { - int32 seq = 1; - bytes signingDevice = 2; - repeated bytes unknownDevices = 3; - repeated int32 unknownDeviceIDs = 4; - } - - ICDCIdentityListDescription senderIdentity = 1; - repeated ICDCIdentityListDescription recipientIdentities = 2; - repeated string recipientUserJIDs = 3; - } - - message SenderKeyDistributionMessage { - string groupID = 1; - bytes axolotlSenderKeyDistributionMessage = 2; - } - - SenderKeyDistributionMessage skdm = 2; - DeviceListMetadata deviceListMetadata = 3; - ICDCParticipantDevices icdc = 4; - BackupDirective backupDirective = 5; - } - - message Integral { - message DeviceSentMessage { - string destinationJID = 1; - string phash = 2; - } - - bytes padding = 1; - DeviceSentMessage DSM = 2; - } - - Integral integral = 1; - Ancillary ancillary = 2; - } - - Payload payload = 1; - Protocol protocol = 2; -} - -message DeviceListMetadata { - bytes senderKeyHash = 1; - uint64 senderTimestamp = 2; - bytes recipientKeyHash = 8; - uint64 recipientTimestamp = 9; -} diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go deleted file mode 100644 index c092bed5..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go +++ /dev/null @@ -1,34280 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.31.0 -// protoc v3.21.12 -// source: binary/proto/def.proto - -package proto - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - - _ "embed" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type ADVEncryptionType int32 - -const ( - ADVEncryptionType_E2EE ADVEncryptionType = 0 - ADVEncryptionType_HOSTED ADVEncryptionType = 1 -) - -// Enum value maps for ADVEncryptionType. -var ( - ADVEncryptionType_name = map[int32]string{ - 0: "E2EE", - 1: "HOSTED", - } - ADVEncryptionType_value = map[string]int32{ - "E2EE": 0, - "HOSTED": 1, - } -) - -func (x ADVEncryptionType) Enum() *ADVEncryptionType { - p := new(ADVEncryptionType) - *p = x - return p -} - -func (x ADVEncryptionType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ADVEncryptionType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[0].Descriptor() -} - -func (ADVEncryptionType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[0] -} - -func (x ADVEncryptionType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ADVEncryptionType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ADVEncryptionType(num) - return nil -} - -// Deprecated: Use ADVEncryptionType.Descriptor instead. -func (ADVEncryptionType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{0} -} - -type KeepType int32 - -const ( - KeepType_UNKNOWN KeepType = 0 - KeepType_KEEP_FOR_ALL KeepType = 1 - KeepType_UNDO_KEEP_FOR_ALL KeepType = 2 -) - -// Enum value maps for KeepType. -var ( - KeepType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "KEEP_FOR_ALL", - 2: "UNDO_KEEP_FOR_ALL", - } - KeepType_value = map[string]int32{ - "UNKNOWN": 0, - "KEEP_FOR_ALL": 1, - "UNDO_KEEP_FOR_ALL": 2, - } -) - -func (x KeepType) Enum() *KeepType { - p := new(KeepType) - *p = x - return p -} - -func (x KeepType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (KeepType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[1].Descriptor() -} - -func (KeepType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[1] -} - -func (x KeepType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *KeepType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = KeepType(num) - return nil -} - -// Deprecated: Use KeepType.Descriptor instead. -func (KeepType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{1} -} - -type PeerDataOperationRequestType int32 - -const ( - PeerDataOperationRequestType_UPLOAD_STICKER PeerDataOperationRequestType = 0 - PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP PeerDataOperationRequestType = 1 - PeerDataOperationRequestType_GENERATE_LINK_PREVIEW PeerDataOperationRequestType = 2 - PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND PeerDataOperationRequestType = 3 - PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND PeerDataOperationRequestType = 4 -) - -// Enum value maps for PeerDataOperationRequestType. -var ( - PeerDataOperationRequestType_name = map[int32]string{ - 0: "UPLOAD_STICKER", - 1: "SEND_RECENT_STICKER_BOOTSTRAP", - 2: "GENERATE_LINK_PREVIEW", - 3: "HISTORY_SYNC_ON_DEMAND", - 4: "PLACEHOLDER_MESSAGE_RESEND", - } - PeerDataOperationRequestType_value = map[string]int32{ - "UPLOAD_STICKER": 0, - "SEND_RECENT_STICKER_BOOTSTRAP": 1, - "GENERATE_LINK_PREVIEW": 2, - "HISTORY_SYNC_ON_DEMAND": 3, - "PLACEHOLDER_MESSAGE_RESEND": 4, - } -) - -func (x PeerDataOperationRequestType) Enum() *PeerDataOperationRequestType { - p := new(PeerDataOperationRequestType) - *p = x - return p -} - -func (x PeerDataOperationRequestType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PeerDataOperationRequestType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[2].Descriptor() -} - -func (PeerDataOperationRequestType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[2] -} - -func (x PeerDataOperationRequestType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PeerDataOperationRequestType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PeerDataOperationRequestType(num) - return nil -} - -// Deprecated: Use PeerDataOperationRequestType.Descriptor instead. -func (PeerDataOperationRequestType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{2} -} - -type MediaVisibility int32 - -const ( - MediaVisibility_DEFAULT MediaVisibility = 0 - MediaVisibility_OFF MediaVisibility = 1 - MediaVisibility_ON MediaVisibility = 2 -) - -// Enum value maps for MediaVisibility. -var ( - MediaVisibility_name = map[int32]string{ - 0: "DEFAULT", - 1: "OFF", - 2: "ON", - } - MediaVisibility_value = map[string]int32{ - "DEFAULT": 0, - "OFF": 1, - "ON": 2, - } -) - -func (x MediaVisibility) Enum() *MediaVisibility { - p := new(MediaVisibility) - *p = x - return p -} - -func (x MediaVisibility) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[3].Descriptor() -} - -func (MediaVisibility) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[3] -} - -func (x MediaVisibility) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *MediaVisibility) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = MediaVisibility(num) - return nil -} - -// Deprecated: Use MediaVisibility.Descriptor instead. -func (MediaVisibility) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{3} -} - -type DeviceProps_PlatformType int32 - -const ( - DeviceProps_UNKNOWN DeviceProps_PlatformType = 0 - DeviceProps_CHROME DeviceProps_PlatformType = 1 - DeviceProps_FIREFOX DeviceProps_PlatformType = 2 - DeviceProps_IE DeviceProps_PlatformType = 3 - DeviceProps_OPERA DeviceProps_PlatformType = 4 - DeviceProps_SAFARI DeviceProps_PlatformType = 5 - DeviceProps_EDGE DeviceProps_PlatformType = 6 - DeviceProps_DESKTOP DeviceProps_PlatformType = 7 - DeviceProps_IPAD DeviceProps_PlatformType = 8 - DeviceProps_ANDROID_TABLET DeviceProps_PlatformType = 9 - DeviceProps_OHANA DeviceProps_PlatformType = 10 - DeviceProps_ALOHA DeviceProps_PlatformType = 11 - DeviceProps_CATALINA DeviceProps_PlatformType = 12 - DeviceProps_TCL_TV DeviceProps_PlatformType = 13 - DeviceProps_IOS_PHONE DeviceProps_PlatformType = 14 - DeviceProps_IOS_CATALYST DeviceProps_PlatformType = 15 - DeviceProps_ANDROID_PHONE DeviceProps_PlatformType = 16 - DeviceProps_ANDROID_AMBIGUOUS DeviceProps_PlatformType = 17 - DeviceProps_WEAR_OS DeviceProps_PlatformType = 18 - DeviceProps_AR_WRIST DeviceProps_PlatformType = 19 - DeviceProps_AR_DEVICE DeviceProps_PlatformType = 20 - DeviceProps_UWP DeviceProps_PlatformType = 21 - DeviceProps_VR DeviceProps_PlatformType = 22 -) - -// Enum value maps for DeviceProps_PlatformType. -var ( - DeviceProps_PlatformType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CHROME", - 2: "FIREFOX", - 3: "IE", - 4: "OPERA", - 5: "SAFARI", - 6: "EDGE", - 7: "DESKTOP", - 8: "IPAD", - 9: "ANDROID_TABLET", - 10: "OHANA", - 11: "ALOHA", - 12: "CATALINA", - 13: "TCL_TV", - 14: "IOS_PHONE", - 15: "IOS_CATALYST", - 16: "ANDROID_PHONE", - 17: "ANDROID_AMBIGUOUS", - 18: "WEAR_OS", - 19: "AR_WRIST", - 20: "AR_DEVICE", - 21: "UWP", - 22: "VR", - } - DeviceProps_PlatformType_value = map[string]int32{ - "UNKNOWN": 0, - "CHROME": 1, - "FIREFOX": 2, - "IE": 3, - "OPERA": 4, - "SAFARI": 5, - "EDGE": 6, - "DESKTOP": 7, - "IPAD": 8, - "ANDROID_TABLET": 9, - "OHANA": 10, - "ALOHA": 11, - "CATALINA": 12, - "TCL_TV": 13, - "IOS_PHONE": 14, - "IOS_CATALYST": 15, - "ANDROID_PHONE": 16, - "ANDROID_AMBIGUOUS": 17, - "WEAR_OS": 18, - "AR_WRIST": 19, - "AR_DEVICE": 20, - "UWP": 21, - "VR": 22, - } -) - -func (x DeviceProps_PlatformType) Enum() *DeviceProps_PlatformType { - p := new(DeviceProps_PlatformType) - *p = x - return p -} - -func (x DeviceProps_PlatformType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[4].Descriptor() -} - -func (DeviceProps_PlatformType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[4] -} - -func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *DeviceProps_PlatformType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = DeviceProps_PlatformType(num) - return nil -} - -// Deprecated: Use DeviceProps_PlatformType.Descriptor instead. -func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0} -} - -type ImageMessage_ImageSourceType int32 - -const ( - ImageMessage_USER_IMAGE ImageMessage_ImageSourceType = 0 - ImageMessage_AI_GENERATED ImageMessage_ImageSourceType = 1 - ImageMessage_AI_MODIFIED ImageMessage_ImageSourceType = 2 -) - -// Enum value maps for ImageMessage_ImageSourceType. -var ( - ImageMessage_ImageSourceType_name = map[int32]string{ - 0: "USER_IMAGE", - 1: "AI_GENERATED", - 2: "AI_MODIFIED", - } - ImageMessage_ImageSourceType_value = map[string]int32{ - "USER_IMAGE": 0, - "AI_GENERATED": 1, - "AI_MODIFIED": 2, - } -) - -func (x ImageMessage_ImageSourceType) Enum() *ImageMessage_ImageSourceType { - p := new(ImageMessage_ImageSourceType) - *p = x - return p -} - -func (x ImageMessage_ImageSourceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ImageMessage_ImageSourceType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[5].Descriptor() -} - -func (ImageMessage_ImageSourceType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[5] -} - -func (x ImageMessage_ImageSourceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ImageMessage_ImageSourceType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ImageMessage_ImageSourceType(num) - return nil -} - -// Deprecated: Use ImageMessage_ImageSourceType.Descriptor instead. -func (ImageMessage_ImageSourceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} -} - -type HistorySyncNotification_HistorySyncType int32 - -const ( - HistorySyncNotification_INITIAL_BOOTSTRAP HistorySyncNotification_HistorySyncType = 0 - HistorySyncNotification_INITIAL_STATUS_V3 HistorySyncNotification_HistorySyncType = 1 - HistorySyncNotification_FULL HistorySyncNotification_HistorySyncType = 2 - HistorySyncNotification_RECENT HistorySyncNotification_HistorySyncType = 3 - HistorySyncNotification_PUSH_NAME HistorySyncNotification_HistorySyncType = 4 - HistorySyncNotification_NON_BLOCKING_DATA HistorySyncNotification_HistorySyncType = 5 - HistorySyncNotification_ON_DEMAND HistorySyncNotification_HistorySyncType = 6 -) - -// Enum value maps for HistorySyncNotification_HistorySyncType. -var ( - HistorySyncNotification_HistorySyncType_name = map[int32]string{ - 0: "INITIAL_BOOTSTRAP", - 1: "INITIAL_STATUS_V3", - 2: "FULL", - 3: "RECENT", - 4: "PUSH_NAME", - 5: "NON_BLOCKING_DATA", - 6: "ON_DEMAND", - } - HistorySyncNotification_HistorySyncType_value = map[string]int32{ - "INITIAL_BOOTSTRAP": 0, - "INITIAL_STATUS_V3": 1, - "FULL": 2, - "RECENT": 3, - "PUSH_NAME": 4, - "NON_BLOCKING_DATA": 5, - "ON_DEMAND": 6, - } -) - -func (x HistorySyncNotification_HistorySyncType) Enum() *HistorySyncNotification_HistorySyncType { - p := new(HistorySyncNotification_HistorySyncType) - *p = x - return p -} - -func (x HistorySyncNotification_HistorySyncType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (HistorySyncNotification_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[6].Descriptor() -} - -func (HistorySyncNotification_HistorySyncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[6] -} - -func (x HistorySyncNotification_HistorySyncType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *HistorySyncNotification_HistorySyncType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = HistorySyncNotification_HistorySyncType(num) - return nil -} - -// Deprecated: Use HistorySyncNotification_HistorySyncType.Descriptor instead. -func (HistorySyncNotification_HistorySyncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32 - -const ( - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 1 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_TUESDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 2 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_WEDNESDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 3 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_THURSDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 4 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_FRIDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 5 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SATURDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 6 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SUNDAY HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 7 -) - -// Enum value maps for HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType. -var ( - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType_name = map[int32]string{ - 1: "MONDAY", - 2: "TUESDAY", - 3: "WEDNESDAY", - 4: "THURSDAY", - 5: "FRIDAY", - 6: "SATURDAY", - 7: "SUNDAY", - } - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType_value = map[string]int32{ - "MONDAY": 1, - "TUESDAY": 2, - "WEDNESDAY": 3, - "THURSDAY": 4, - "FRIDAY": 5, - "SATURDAY": 6, - "SUNDAY": 7, - } -) - -func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Enum() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { - p := new(HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) - *p = x - return p -} - -func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[7].Descriptor() -} - -func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[7] -} - -func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType(num) - return nil -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType.Descriptor instead. -func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 1, 0} -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32 - -const ( - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 1 - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SOLAR_HIJRI HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 2 -) - -// Enum value maps for HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType. -var ( - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType_name = map[int32]string{ - 1: "GREGORIAN", - 2: "SOLAR_HIJRI", - } - HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType_value = map[string]int32{ - "GREGORIAN": 1, - "SOLAR_HIJRI": 2, - } -) - -func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Enum() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType { - p := new(HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) - *p = x - return p -} - -func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[8].Descriptor() -} - -func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[8] -} - -func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType(num) - return nil -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType.Descriptor instead. -func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 1, 1} -} - -type GroupInviteMessage_GroupType int32 - -const ( - GroupInviteMessage_DEFAULT GroupInviteMessage_GroupType = 0 - GroupInviteMessage_PARENT GroupInviteMessage_GroupType = 1 -) - -// Enum value maps for GroupInviteMessage_GroupType. -var ( - GroupInviteMessage_GroupType_name = map[int32]string{ - 0: "DEFAULT", - 1: "PARENT", - } - GroupInviteMessage_GroupType_value = map[string]int32{ - "DEFAULT": 0, - "PARENT": 1, - } -) - -func (x GroupInviteMessage_GroupType) Enum() *GroupInviteMessage_GroupType { - p := new(GroupInviteMessage_GroupType) - *p = x - return p -} - -func (x GroupInviteMessage_GroupType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GroupInviteMessage_GroupType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[9].Descriptor() -} - -func (GroupInviteMessage_GroupType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[9] -} - -func (x GroupInviteMessage_GroupType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *GroupInviteMessage_GroupType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = GroupInviteMessage_GroupType(num) - return nil -} - -// Deprecated: Use GroupInviteMessage_GroupType.Descriptor instead. -func (GroupInviteMessage_GroupType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10, 0} -} - -type ExtendedTextMessage_PreviewType int32 - -const ( - ExtendedTextMessage_NONE ExtendedTextMessage_PreviewType = 0 - ExtendedTextMessage_VIDEO ExtendedTextMessage_PreviewType = 1 - ExtendedTextMessage_PLACEHOLDER ExtendedTextMessage_PreviewType = 4 - ExtendedTextMessage_IMAGE ExtendedTextMessage_PreviewType = 5 -) - -// Enum value maps for ExtendedTextMessage_PreviewType. -var ( - ExtendedTextMessage_PreviewType_name = map[int32]string{ - 0: "NONE", - 1: "VIDEO", - 4: "PLACEHOLDER", - 5: "IMAGE", - } - ExtendedTextMessage_PreviewType_value = map[string]int32{ - "NONE": 0, - "VIDEO": 1, - "PLACEHOLDER": 4, - "IMAGE": 5, - } -) - -func (x ExtendedTextMessage_PreviewType) Enum() *ExtendedTextMessage_PreviewType { - p := new(ExtendedTextMessage_PreviewType) - *p = x - return p -} - -func (x ExtendedTextMessage_PreviewType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[10].Descriptor() -} - -func (ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[10] -} - -func (x ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ExtendedTextMessage_PreviewType(num) - return nil -} - -// Deprecated: Use ExtendedTextMessage_PreviewType.Descriptor instead. -func (ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} -} - -type ExtendedTextMessage_InviteLinkGroupType int32 - -const ( - ExtendedTextMessage_DEFAULT ExtendedTextMessage_InviteLinkGroupType = 0 - ExtendedTextMessage_PARENT ExtendedTextMessage_InviteLinkGroupType = 1 - ExtendedTextMessage_SUB ExtendedTextMessage_InviteLinkGroupType = 2 - ExtendedTextMessage_DEFAULT_SUB ExtendedTextMessage_InviteLinkGroupType = 3 -) - -// Enum value maps for ExtendedTextMessage_InviteLinkGroupType. -var ( - ExtendedTextMessage_InviteLinkGroupType_name = map[int32]string{ - 0: "DEFAULT", - 1: "PARENT", - 2: "SUB", - 3: "DEFAULT_SUB", - } - ExtendedTextMessage_InviteLinkGroupType_value = map[string]int32{ - "DEFAULT": 0, - "PARENT": 1, - "SUB": 2, - "DEFAULT_SUB": 3, - } -) - -func (x ExtendedTextMessage_InviteLinkGroupType) Enum() *ExtendedTextMessage_InviteLinkGroupType { - p := new(ExtendedTextMessage_InviteLinkGroupType) - *p = x - return p -} - -func (x ExtendedTextMessage_InviteLinkGroupType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtendedTextMessage_InviteLinkGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[11].Descriptor() -} - -func (ExtendedTextMessage_InviteLinkGroupType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[11] -} - -func (x ExtendedTextMessage_InviteLinkGroupType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ExtendedTextMessage_InviteLinkGroupType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ExtendedTextMessage_InviteLinkGroupType(num) - return nil -} - -// Deprecated: Use ExtendedTextMessage_InviteLinkGroupType.Descriptor instead. -func (ExtendedTextMessage_InviteLinkGroupType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1} -} - -type ExtendedTextMessage_FontType int32 - -const ( - ExtendedTextMessage_SYSTEM ExtendedTextMessage_FontType = 0 - ExtendedTextMessage_SYSTEM_TEXT ExtendedTextMessage_FontType = 1 - ExtendedTextMessage_FB_SCRIPT ExtendedTextMessage_FontType = 2 - ExtendedTextMessage_SYSTEM_BOLD ExtendedTextMessage_FontType = 6 - ExtendedTextMessage_MORNINGBREEZE_REGULAR ExtendedTextMessage_FontType = 7 - ExtendedTextMessage_CALISTOGA_REGULAR ExtendedTextMessage_FontType = 8 - ExtendedTextMessage_EXO2_EXTRABOLD ExtendedTextMessage_FontType = 9 - ExtendedTextMessage_COURIERPRIME_BOLD ExtendedTextMessage_FontType = 10 -) - -// Enum value maps for ExtendedTextMessage_FontType. -var ( - ExtendedTextMessage_FontType_name = map[int32]string{ - 0: "SYSTEM", - 1: "SYSTEM_TEXT", - 2: "FB_SCRIPT", - 6: "SYSTEM_BOLD", - 7: "MORNINGBREEZE_REGULAR", - 8: "CALISTOGA_REGULAR", - 9: "EXO2_EXTRABOLD", - 10: "COURIERPRIME_BOLD", - } - ExtendedTextMessage_FontType_value = map[string]int32{ - "SYSTEM": 0, - "SYSTEM_TEXT": 1, - "FB_SCRIPT": 2, - "SYSTEM_BOLD": 6, - "MORNINGBREEZE_REGULAR": 7, - "CALISTOGA_REGULAR": 8, - "EXO2_EXTRABOLD": 9, - "COURIERPRIME_BOLD": 10, - } -) - -func (x ExtendedTextMessage_FontType) Enum() *ExtendedTextMessage_FontType { - p := new(ExtendedTextMessage_FontType) - *p = x - return p -} - -func (x ExtendedTextMessage_FontType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ExtendedTextMessage_FontType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[12].Descriptor() -} - -func (ExtendedTextMessage_FontType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[12] -} - -func (x ExtendedTextMessage_FontType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ExtendedTextMessage_FontType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ExtendedTextMessage_FontType(num) - return nil -} - -// Deprecated: Use ExtendedTextMessage_FontType.Descriptor instead. -func (ExtendedTextMessage_FontType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2} -} - -type EventResponseMessage_EventResponseType int32 - -const ( - EventResponseMessage_UNKNOWN EventResponseMessage_EventResponseType = 0 - EventResponseMessage_GOING EventResponseMessage_EventResponseType = 1 - EventResponseMessage_NOT_GOING EventResponseMessage_EventResponseType = 2 -) - -// Enum value maps for EventResponseMessage_EventResponseType. -var ( - EventResponseMessage_EventResponseType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "GOING", - 2: "NOT_GOING", - } - EventResponseMessage_EventResponseType_value = map[string]int32{ - "UNKNOWN": 0, - "GOING": 1, - "NOT_GOING": 2, - } -) - -func (x EventResponseMessage_EventResponseType) Enum() *EventResponseMessage_EventResponseType { - p := new(EventResponseMessage_EventResponseType) - *p = x - return p -} - -func (x EventResponseMessage_EventResponseType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (EventResponseMessage_EventResponseType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[13].Descriptor() -} - -func (EventResponseMessage_EventResponseType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[13] -} - -func (x EventResponseMessage_EventResponseType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *EventResponseMessage_EventResponseType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = EventResponseMessage_EventResponseType(num) - return nil -} - -// Deprecated: Use EventResponseMessage_EventResponseType.Descriptor instead. -func (EventResponseMessage_EventResponseType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 0} -} - -type CallLogMessage_CallType int32 - -const ( - CallLogMessage_REGULAR CallLogMessage_CallType = 0 - CallLogMessage_SCHEDULED_CALL CallLogMessage_CallType = 1 - CallLogMessage_VOICE_CHAT CallLogMessage_CallType = 2 -) - -// Enum value maps for CallLogMessage_CallType. -var ( - CallLogMessage_CallType_name = map[int32]string{ - 0: "REGULAR", - 1: "SCHEDULED_CALL", - 2: "VOICE_CHAT", - } - CallLogMessage_CallType_value = map[string]int32{ - "REGULAR": 0, - "SCHEDULED_CALL": 1, - "VOICE_CHAT": 2, - } -) - -func (x CallLogMessage_CallType) Enum() *CallLogMessage_CallType { - p := new(CallLogMessage_CallType) - *p = x - return p -} - -func (x CallLogMessage_CallType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CallLogMessage_CallType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[14].Descriptor() -} - -func (CallLogMessage_CallType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[14] -} - -func (x CallLogMessage_CallType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *CallLogMessage_CallType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = CallLogMessage_CallType(num) - return nil -} - -// Deprecated: Use CallLogMessage_CallType.Descriptor instead. -func (CallLogMessage_CallType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 0} -} - -type CallLogMessage_CallOutcome int32 - -const ( - CallLogMessage_CONNECTED CallLogMessage_CallOutcome = 0 - CallLogMessage_MISSED CallLogMessage_CallOutcome = 1 - CallLogMessage_FAILED CallLogMessage_CallOutcome = 2 - CallLogMessage_REJECTED CallLogMessage_CallOutcome = 3 - CallLogMessage_ACCEPTED_ELSEWHERE CallLogMessage_CallOutcome = 4 - CallLogMessage_ONGOING CallLogMessage_CallOutcome = 5 - CallLogMessage_SILENCED_BY_DND CallLogMessage_CallOutcome = 6 - CallLogMessage_SILENCED_UNKNOWN_CALLER CallLogMessage_CallOutcome = 7 -) - -// Enum value maps for CallLogMessage_CallOutcome. -var ( - CallLogMessage_CallOutcome_name = map[int32]string{ - 0: "CONNECTED", - 1: "MISSED", - 2: "FAILED", - 3: "REJECTED", - 4: "ACCEPTED_ELSEWHERE", - 5: "ONGOING", - 6: "SILENCED_BY_DND", - 7: "SILENCED_UNKNOWN_CALLER", - } - CallLogMessage_CallOutcome_value = map[string]int32{ - "CONNECTED": 0, - "MISSED": 1, - "FAILED": 2, - "REJECTED": 3, - "ACCEPTED_ELSEWHERE": 4, - "ONGOING": 5, - "SILENCED_BY_DND": 6, - "SILENCED_UNKNOWN_CALLER": 7, - } -) - -func (x CallLogMessage_CallOutcome) Enum() *CallLogMessage_CallOutcome { - p := new(CallLogMessage_CallOutcome) - *p = x - return p -} - -func (x CallLogMessage_CallOutcome) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CallLogMessage_CallOutcome) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[15].Descriptor() -} - -func (CallLogMessage_CallOutcome) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[15] -} - -func (x CallLogMessage_CallOutcome) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *CallLogMessage_CallOutcome) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = CallLogMessage_CallOutcome(num) - return nil -} - -// Deprecated: Use CallLogMessage_CallOutcome.Descriptor instead. -func (CallLogMessage_CallOutcome) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 1} -} - -type ButtonsResponseMessage_Type int32 - -const ( - ButtonsResponseMessage_UNKNOWN ButtonsResponseMessage_Type = 0 - ButtonsResponseMessage_DISPLAY_TEXT ButtonsResponseMessage_Type = 1 -) - -// Enum value maps for ButtonsResponseMessage_Type. -var ( - ButtonsResponseMessage_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "DISPLAY_TEXT", - } - ButtonsResponseMessage_Type_value = map[string]int32{ - "UNKNOWN": 0, - "DISPLAY_TEXT": 1, - } -) - -func (x ButtonsResponseMessage_Type) Enum() *ButtonsResponseMessage_Type { - p := new(ButtonsResponseMessage_Type) - *p = x - return p -} - -func (x ButtonsResponseMessage_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ButtonsResponseMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[16].Descriptor() -} - -func (ButtonsResponseMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[16] -} - -func (x ButtonsResponseMessage_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ButtonsResponseMessage_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ButtonsResponseMessage_Type(num) - return nil -} - -// Deprecated: Use ButtonsResponseMessage_Type.Descriptor instead. -func (ButtonsResponseMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{28, 0} -} - -type ButtonsMessage_HeaderType int32 - -const ( - ButtonsMessage_UNKNOWN ButtonsMessage_HeaderType = 0 - ButtonsMessage_EMPTY ButtonsMessage_HeaderType = 1 - ButtonsMessage_TEXT ButtonsMessage_HeaderType = 2 - ButtonsMessage_DOCUMENT ButtonsMessage_HeaderType = 3 - ButtonsMessage_IMAGE ButtonsMessage_HeaderType = 4 - ButtonsMessage_VIDEO ButtonsMessage_HeaderType = 5 - ButtonsMessage_LOCATION ButtonsMessage_HeaderType = 6 -) - -// Enum value maps for ButtonsMessage_HeaderType. -var ( - ButtonsMessage_HeaderType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "EMPTY", - 2: "TEXT", - 3: "DOCUMENT", - 4: "IMAGE", - 5: "VIDEO", - 6: "LOCATION", - } - ButtonsMessage_HeaderType_value = map[string]int32{ - "UNKNOWN": 0, - "EMPTY": 1, - "TEXT": 2, - "DOCUMENT": 3, - "IMAGE": 4, - "VIDEO": 5, - "LOCATION": 6, - } -) - -func (x ButtonsMessage_HeaderType) Enum() *ButtonsMessage_HeaderType { - p := new(ButtonsMessage_HeaderType) - *p = x - return p -} - -func (x ButtonsMessage_HeaderType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ButtonsMessage_HeaderType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[17].Descriptor() -} - -func (ButtonsMessage_HeaderType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[17] -} - -func (x ButtonsMessage_HeaderType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ButtonsMessage_HeaderType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ButtonsMessage_HeaderType(num) - return nil -} - -// Deprecated: Use ButtonsMessage_HeaderType.Descriptor instead. -func (ButtonsMessage_HeaderType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0} -} - -type ButtonsMessage_Button_Type int32 - -const ( - ButtonsMessage_Button_UNKNOWN ButtonsMessage_Button_Type = 0 - ButtonsMessage_Button_RESPONSE ButtonsMessage_Button_Type = 1 - ButtonsMessage_Button_NATIVE_FLOW ButtonsMessage_Button_Type = 2 -) - -// Enum value maps for ButtonsMessage_Button_Type. -var ( - ButtonsMessage_Button_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "RESPONSE", - 2: "NATIVE_FLOW", - } - ButtonsMessage_Button_Type_value = map[string]int32{ - "UNKNOWN": 0, - "RESPONSE": 1, - "NATIVE_FLOW": 2, - } -) - -func (x ButtonsMessage_Button_Type) Enum() *ButtonsMessage_Button_Type { - p := new(ButtonsMessage_Button_Type) - *p = x - return p -} - -func (x ButtonsMessage_Button_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ButtonsMessage_Button_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[18].Descriptor() -} - -func (ButtonsMessage_Button_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[18] -} - -func (x ButtonsMessage_Button_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ButtonsMessage_Button_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ButtonsMessage_Button_Type(num) - return nil -} - -// Deprecated: Use ButtonsMessage_Button_Type.Descriptor instead. -func (ButtonsMessage_Button_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0, 0} -} - -type BotFeedbackMessage_BotFeedbackKindMultiplePositive int32 - -const ( - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC BotFeedbackMessage_BotFeedbackKindMultiplePositive = 1 -) - -// Enum value maps for BotFeedbackMessage_BotFeedbackKindMultiplePositive. -var ( - BotFeedbackMessage_BotFeedbackKindMultiplePositive_name = map[int32]string{ - 1: "BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC", - } - BotFeedbackMessage_BotFeedbackKindMultiplePositive_value = map[string]int32{ - "BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC": 1, - } -) - -func (x BotFeedbackMessage_BotFeedbackKindMultiplePositive) Enum() *BotFeedbackMessage_BotFeedbackKindMultiplePositive { - p := new(BotFeedbackMessage_BotFeedbackKindMultiplePositive) - *p = x - return p -} - -func (x BotFeedbackMessage_BotFeedbackKindMultiplePositive) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BotFeedbackMessage_BotFeedbackKindMultiplePositive) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[19].Descriptor() -} - -func (BotFeedbackMessage_BotFeedbackKindMultiplePositive) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[19] -} - -func (x BotFeedbackMessage_BotFeedbackKindMultiplePositive) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BotFeedbackMessage_BotFeedbackKindMultiplePositive) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BotFeedbackMessage_BotFeedbackKindMultiplePositive(num) - return nil -} - -// Deprecated: Use BotFeedbackMessage_BotFeedbackKindMultiplePositive.Descriptor instead. -func (BotFeedbackMessage_BotFeedbackKindMultiplePositive) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 0} -} - -type BotFeedbackMessage_BotFeedbackKindMultipleNegative int32 - -const ( - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKindMultipleNegative = 1 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKindMultipleNegative = 2 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKindMultipleNegative = 4 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKindMultipleNegative = 8 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKindMultipleNegative = 16 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKindMultipleNegative = 32 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED BotFeedbackMessage_BotFeedbackKindMultipleNegative = 64 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING BotFeedbackMessage_BotFeedbackKindMultipleNegative = 128 - BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT BotFeedbackMessage_BotFeedbackKindMultipleNegative = 256 -) - -// Enum value maps for BotFeedbackMessage_BotFeedbackKindMultipleNegative. -var ( - BotFeedbackMessage_BotFeedbackKindMultipleNegative_name = map[int32]string{ - 1: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC", - 2: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL", - 4: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING", - 8: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE", - 16: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE", - 32: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER", - 64: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED", - 128: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING", - 256: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT", - } - BotFeedbackMessage_BotFeedbackKindMultipleNegative_value = map[string]int32{ - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC": 1, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL": 2, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING": 4, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE": 8, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE": 16, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER": 32, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED": 64, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING": 128, - "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT": 256, - } -) - -func (x BotFeedbackMessage_BotFeedbackKindMultipleNegative) Enum() *BotFeedbackMessage_BotFeedbackKindMultipleNegative { - p := new(BotFeedbackMessage_BotFeedbackKindMultipleNegative) - *p = x - return p -} - -func (x BotFeedbackMessage_BotFeedbackKindMultipleNegative) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BotFeedbackMessage_BotFeedbackKindMultipleNegative) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[20].Descriptor() -} - -func (BotFeedbackMessage_BotFeedbackKindMultipleNegative) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[20] -} - -func (x BotFeedbackMessage_BotFeedbackKindMultipleNegative) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BotFeedbackMessage_BotFeedbackKindMultipleNegative) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BotFeedbackMessage_BotFeedbackKindMultipleNegative(num) - return nil -} - -// Deprecated: Use BotFeedbackMessage_BotFeedbackKindMultipleNegative.Descriptor instead. -func (BotFeedbackMessage_BotFeedbackKindMultipleNegative) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 1} -} - -type BotFeedbackMessage_BotFeedbackKind int32 - -const ( - BotFeedbackMessage_BOT_FEEDBACK_POSITIVE BotFeedbackMessage_BotFeedbackKind = 0 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKind = 1 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKind = 2 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKind = 3 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKind = 4 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKind = 5 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKind = 6 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED BotFeedbackMessage_BotFeedbackKind = 7 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING BotFeedbackMessage_BotFeedbackKind = 8 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT BotFeedbackMessage_BotFeedbackKind = 9 -) - -// Enum value maps for BotFeedbackMessage_BotFeedbackKind. -var ( - BotFeedbackMessage_BotFeedbackKind_name = map[int32]string{ - 0: "BOT_FEEDBACK_POSITIVE", - 1: "BOT_FEEDBACK_NEGATIVE_GENERIC", - 2: "BOT_FEEDBACK_NEGATIVE_HELPFUL", - 3: "BOT_FEEDBACK_NEGATIVE_INTERESTING", - 4: "BOT_FEEDBACK_NEGATIVE_ACCURATE", - 5: "BOT_FEEDBACK_NEGATIVE_SAFE", - 6: "BOT_FEEDBACK_NEGATIVE_OTHER", - 7: "BOT_FEEDBACK_NEGATIVE_REFUSED", - 8: "BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING", - 9: "BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT", - } - BotFeedbackMessage_BotFeedbackKind_value = map[string]int32{ - "BOT_FEEDBACK_POSITIVE": 0, - "BOT_FEEDBACK_NEGATIVE_GENERIC": 1, - "BOT_FEEDBACK_NEGATIVE_HELPFUL": 2, - "BOT_FEEDBACK_NEGATIVE_INTERESTING": 3, - "BOT_FEEDBACK_NEGATIVE_ACCURATE": 4, - "BOT_FEEDBACK_NEGATIVE_SAFE": 5, - "BOT_FEEDBACK_NEGATIVE_OTHER": 6, - "BOT_FEEDBACK_NEGATIVE_REFUSED": 7, - "BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING": 8, - "BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT": 9, - } -) - -func (x BotFeedbackMessage_BotFeedbackKind) Enum() *BotFeedbackMessage_BotFeedbackKind { - p := new(BotFeedbackMessage_BotFeedbackKind) - *p = x - return p -} - -func (x BotFeedbackMessage_BotFeedbackKind) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BotFeedbackMessage_BotFeedbackKind) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[21].Descriptor() -} - -func (BotFeedbackMessage_BotFeedbackKind) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[21] -} - -func (x BotFeedbackMessage_BotFeedbackKind) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BotFeedbackMessage_BotFeedbackKind) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BotFeedbackMessage_BotFeedbackKind(num) - return nil -} - -// Deprecated: Use BotFeedbackMessage_BotFeedbackKind.Descriptor instead. -func (BotFeedbackMessage_BotFeedbackKind) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 2} -} - -type BCallMessage_MediaType int32 - -const ( - BCallMessage_UNKNOWN BCallMessage_MediaType = 0 - BCallMessage_AUDIO BCallMessage_MediaType = 1 - BCallMessage_VIDEO BCallMessage_MediaType = 2 -) - -// Enum value maps for BCallMessage_MediaType. -var ( - BCallMessage_MediaType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "AUDIO", - 2: "VIDEO", - } - BCallMessage_MediaType_value = map[string]int32{ - "UNKNOWN": 0, - "AUDIO": 1, - "VIDEO": 2, - } -) - -func (x BCallMessage_MediaType) Enum() *BCallMessage_MediaType { - p := new(BCallMessage_MediaType) - *p = x - return p -} - -func (x BCallMessage_MediaType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BCallMessage_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[22].Descriptor() -} - -func (BCallMessage_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[22] -} - -func (x BCallMessage_MediaType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BCallMessage_MediaType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BCallMessage_MediaType(num) - return nil -} - -// Deprecated: Use BCallMessage_MediaType.Descriptor instead. -func (BCallMessage_MediaType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0} -} - -type HydratedTemplateButton_HydratedURLButton_WebviewPresentationType int32 - -const ( - HydratedTemplateButton_HydratedURLButton_FULL HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 1 - HydratedTemplateButton_HydratedURLButton_TALL HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 2 - HydratedTemplateButton_HydratedURLButton_COMPACT HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 3 -) - -// Enum value maps for HydratedTemplateButton_HydratedURLButton_WebviewPresentationType. -var ( - HydratedTemplateButton_HydratedURLButton_WebviewPresentationType_name = map[int32]string{ - 1: "FULL", - 2: "TALL", - 3: "COMPACT", - } - HydratedTemplateButton_HydratedURLButton_WebviewPresentationType_value = map[string]int32{ - "FULL": 1, - "TALL": 2, - "COMPACT": 3, - } -) - -func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Enum() *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType { - p := new(HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) - *p = x - return p -} - -func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[23].Descriptor() -} - -func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[23] -} - -func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = HydratedTemplateButton_HydratedURLButton_WebviewPresentationType(num) - return nil -} - -// Deprecated: Use HydratedTemplateButton_HydratedURLButton_WebviewPresentationType.Descriptor instead. -func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 0, 0} -} - -type DisappearingMode_Trigger int32 - -const ( - DisappearingMode_UNKNOWN DisappearingMode_Trigger = 0 - DisappearingMode_CHAT_SETTING DisappearingMode_Trigger = 1 - DisappearingMode_ACCOUNT_SETTING DisappearingMode_Trigger = 2 - DisappearingMode_BULK_CHANGE DisappearingMode_Trigger = 3 - DisappearingMode_BIZ_SUPPORTS_FB_HOSTING DisappearingMode_Trigger = 4 -) - -// Enum value maps for DisappearingMode_Trigger. -var ( - DisappearingMode_Trigger_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CHAT_SETTING", - 2: "ACCOUNT_SETTING", - 3: "BULK_CHANGE", - 4: "BIZ_SUPPORTS_FB_HOSTING", - } - DisappearingMode_Trigger_value = map[string]int32{ - "UNKNOWN": 0, - "CHAT_SETTING": 1, - "ACCOUNT_SETTING": 2, - "BULK_CHANGE": 3, - "BIZ_SUPPORTS_FB_HOSTING": 4, - } -) - -func (x DisappearingMode_Trigger) Enum() *DisappearingMode_Trigger { - p := new(DisappearingMode_Trigger) - *p = x - return p -} - -func (x DisappearingMode_Trigger) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DisappearingMode_Trigger) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[24].Descriptor() -} - -func (DisappearingMode_Trigger) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[24] -} - -func (x DisappearingMode_Trigger) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *DisappearingMode_Trigger) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = DisappearingMode_Trigger(num) - return nil -} - -// Deprecated: Use DisappearingMode_Trigger.Descriptor instead. -func (DisappearingMode_Trigger) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 0} -} - -type DisappearingMode_Initiator int32 - -const ( - DisappearingMode_CHANGED_IN_CHAT DisappearingMode_Initiator = 0 - DisappearingMode_INITIATED_BY_ME DisappearingMode_Initiator = 1 - DisappearingMode_INITIATED_BY_OTHER DisappearingMode_Initiator = 2 - DisappearingMode_BIZ_UPGRADE_FB_HOSTING DisappearingMode_Initiator = 3 -) - -// Enum value maps for DisappearingMode_Initiator. -var ( - DisappearingMode_Initiator_name = map[int32]string{ - 0: "CHANGED_IN_CHAT", - 1: "INITIATED_BY_ME", - 2: "INITIATED_BY_OTHER", - 3: "BIZ_UPGRADE_FB_HOSTING", - } - DisappearingMode_Initiator_value = map[string]int32{ - "CHANGED_IN_CHAT": 0, - "INITIATED_BY_ME": 1, - "INITIATED_BY_OTHER": 2, - "BIZ_UPGRADE_FB_HOSTING": 3, - } -) - -func (x DisappearingMode_Initiator) Enum() *DisappearingMode_Initiator { - p := new(DisappearingMode_Initiator) - *p = x - return p -} - -func (x DisappearingMode_Initiator) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DisappearingMode_Initiator) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[25].Descriptor() -} - -func (DisappearingMode_Initiator) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[25] -} - -func (x DisappearingMode_Initiator) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *DisappearingMode_Initiator) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = DisappearingMode_Initiator(num) - return nil -} - -// Deprecated: Use DisappearingMode_Initiator.Descriptor instead. -func (DisappearingMode_Initiator) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 1} -} - -type ContextInfo_ExternalAdReplyInfo_MediaType int32 - -const ( - ContextInfo_ExternalAdReplyInfo_NONE ContextInfo_ExternalAdReplyInfo_MediaType = 0 - ContextInfo_ExternalAdReplyInfo_IMAGE ContextInfo_ExternalAdReplyInfo_MediaType = 1 - ContextInfo_ExternalAdReplyInfo_VIDEO ContextInfo_ExternalAdReplyInfo_MediaType = 2 -) - -// Enum value maps for ContextInfo_ExternalAdReplyInfo_MediaType. -var ( - ContextInfo_ExternalAdReplyInfo_MediaType_name = map[int32]string{ - 0: "NONE", - 1: "IMAGE", - 2: "VIDEO", - } - ContextInfo_ExternalAdReplyInfo_MediaType_value = map[string]int32{ - "NONE": 0, - "IMAGE": 1, - "VIDEO": 2, - } -) - -func (x ContextInfo_ExternalAdReplyInfo_MediaType) Enum() *ContextInfo_ExternalAdReplyInfo_MediaType { - p := new(ContextInfo_ExternalAdReplyInfo_MediaType) - *p = x - return p -} - -func (x ContextInfo_ExternalAdReplyInfo_MediaType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ContextInfo_ExternalAdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[26].Descriptor() -} - -func (ContextInfo_ExternalAdReplyInfo_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[26] -} - -func (x ContextInfo_ExternalAdReplyInfo_MediaType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ContextInfo_ExternalAdReplyInfo_MediaType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ContextInfo_ExternalAdReplyInfo_MediaType(num) - return nil -} - -// Deprecated: Use ContextInfo_ExternalAdReplyInfo_MediaType.Descriptor instead. -func (ContextInfo_ExternalAdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1, 0} -} - -type ContextInfo_AdReplyInfo_MediaType int32 - -const ( - ContextInfo_AdReplyInfo_NONE ContextInfo_AdReplyInfo_MediaType = 0 - ContextInfo_AdReplyInfo_IMAGE ContextInfo_AdReplyInfo_MediaType = 1 - ContextInfo_AdReplyInfo_VIDEO ContextInfo_AdReplyInfo_MediaType = 2 -) - -// Enum value maps for ContextInfo_AdReplyInfo_MediaType. -var ( - ContextInfo_AdReplyInfo_MediaType_name = map[int32]string{ - 0: "NONE", - 1: "IMAGE", - 2: "VIDEO", - } - ContextInfo_AdReplyInfo_MediaType_value = map[string]int32{ - "NONE": 0, - "IMAGE": 1, - "VIDEO": 2, - } -) - -func (x ContextInfo_AdReplyInfo_MediaType) Enum() *ContextInfo_AdReplyInfo_MediaType { - p := new(ContextInfo_AdReplyInfo_MediaType) - *p = x - return p -} - -func (x ContextInfo_AdReplyInfo_MediaType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ContextInfo_AdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[27].Descriptor() -} - -func (ContextInfo_AdReplyInfo_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[27] -} - -func (x ContextInfo_AdReplyInfo_MediaType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ContextInfo_AdReplyInfo_MediaType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ContextInfo_AdReplyInfo_MediaType(num) - return nil -} - -// Deprecated: Use ContextInfo_AdReplyInfo_MediaType.Descriptor instead. -func (ContextInfo_AdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4, 0} -} - -type ForwardedNewsletterMessageInfo_ContentType int32 - -const ( - ForwardedNewsletterMessageInfo_UPDATE ForwardedNewsletterMessageInfo_ContentType = 1 - ForwardedNewsletterMessageInfo_UPDATE_CARD ForwardedNewsletterMessageInfo_ContentType = 2 - ForwardedNewsletterMessageInfo_LINK_CARD ForwardedNewsletterMessageInfo_ContentType = 3 -) - -// Enum value maps for ForwardedNewsletterMessageInfo_ContentType. -var ( - ForwardedNewsletterMessageInfo_ContentType_name = map[int32]string{ - 1: "UPDATE", - 2: "UPDATE_CARD", - 3: "LINK_CARD", - } - ForwardedNewsletterMessageInfo_ContentType_value = map[string]int32{ - "UPDATE": 1, - "UPDATE_CARD": 2, - "LINK_CARD": 3, - } -) - -func (x ForwardedNewsletterMessageInfo_ContentType) Enum() *ForwardedNewsletterMessageInfo_ContentType { - p := new(ForwardedNewsletterMessageInfo_ContentType) - *p = x - return p -} - -func (x ForwardedNewsletterMessageInfo_ContentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ForwardedNewsletterMessageInfo_ContentType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[28].Descriptor() -} - -func (ForwardedNewsletterMessageInfo_ContentType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[28] -} - -func (x ForwardedNewsletterMessageInfo_ContentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ForwardedNewsletterMessageInfo_ContentType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ForwardedNewsletterMessageInfo_ContentType(num) - return nil -} - -// Deprecated: Use ForwardedNewsletterMessageInfo_ContentType.Descriptor instead. -func (ForwardedNewsletterMessageInfo_ContentType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48, 0} -} - -type BotPluginMetadata_SearchProvider int32 - -const ( - BotPluginMetadata_BING BotPluginMetadata_SearchProvider = 1 - BotPluginMetadata_GOOGLE BotPluginMetadata_SearchProvider = 2 -) - -// Enum value maps for BotPluginMetadata_SearchProvider. -var ( - BotPluginMetadata_SearchProvider_name = map[int32]string{ - 1: "BING", - 2: "GOOGLE", - } - BotPluginMetadata_SearchProvider_value = map[string]int32{ - "BING": 1, - "GOOGLE": 2, - } -) - -func (x BotPluginMetadata_SearchProvider) Enum() *BotPluginMetadata_SearchProvider { - p := new(BotPluginMetadata_SearchProvider) - *p = x - return p -} - -func (x BotPluginMetadata_SearchProvider) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BotPluginMetadata_SearchProvider) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[29].Descriptor() -} - -func (BotPluginMetadata_SearchProvider) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[29] -} - -func (x BotPluginMetadata_SearchProvider) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BotPluginMetadata_SearchProvider) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BotPluginMetadata_SearchProvider(num) - return nil -} - -// Deprecated: Use BotPluginMetadata_SearchProvider.Descriptor instead. -func (BotPluginMetadata_SearchProvider) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 0} -} - -type BotPluginMetadata_PluginType int32 - -const ( - BotPluginMetadata_REELS BotPluginMetadata_PluginType = 1 - BotPluginMetadata_SEARCH BotPluginMetadata_PluginType = 2 -) - -// Enum value maps for BotPluginMetadata_PluginType. -var ( - BotPluginMetadata_PluginType_name = map[int32]string{ - 1: "REELS", - 2: "SEARCH", - } - BotPluginMetadata_PluginType_value = map[string]int32{ - "REELS": 1, - "SEARCH": 2, - } -) - -func (x BotPluginMetadata_PluginType) Enum() *BotPluginMetadata_PluginType { - p := new(BotPluginMetadata_PluginType) - *p = x - return p -} - -func (x BotPluginMetadata_PluginType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BotPluginMetadata_PluginType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[30].Descriptor() -} - -func (BotPluginMetadata_PluginType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[30] -} - -func (x BotPluginMetadata_PluginType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BotPluginMetadata_PluginType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BotPluginMetadata_PluginType(num) - return nil -} - -// Deprecated: Use BotPluginMetadata_PluginType.Descriptor instead. -func (BotPluginMetadata_PluginType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 1} -} - -type PaymentBackground_Type int32 - -const ( - PaymentBackground_UNKNOWN PaymentBackground_Type = 0 - PaymentBackground_DEFAULT PaymentBackground_Type = 1 -) - -// Enum value maps for PaymentBackground_Type. -var ( - PaymentBackground_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "DEFAULT", - } - PaymentBackground_Type_value = map[string]int32{ - "UNKNOWN": 0, - "DEFAULT": 1, - } -) - -func (x PaymentBackground_Type) Enum() *PaymentBackground_Type { - p := new(PaymentBackground_Type) - *p = x - return p -} - -func (x PaymentBackground_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PaymentBackground_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[31].Descriptor() -} - -func (PaymentBackground_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[31] -} - -func (x PaymentBackground_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PaymentBackground_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PaymentBackground_Type(num) - return nil -} - -// Deprecated: Use PaymentBackground_Type.Descriptor instead. -func (PaymentBackground_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{57, 0} -} - -type VideoMessage_Attribution int32 - -const ( - VideoMessage_NONE VideoMessage_Attribution = 0 - VideoMessage_GIPHY VideoMessage_Attribution = 1 - VideoMessage_TENOR VideoMessage_Attribution = 2 -) - -// Enum value maps for VideoMessage_Attribution. -var ( - VideoMessage_Attribution_name = map[int32]string{ - 0: "NONE", - 1: "GIPHY", - 2: "TENOR", - } - VideoMessage_Attribution_value = map[string]int32{ - "NONE": 0, - "GIPHY": 1, - "TENOR": 2, - } -) - -func (x VideoMessage_Attribution) Enum() *VideoMessage_Attribution { - p := new(VideoMessage_Attribution) - *p = x - return p -} - -func (x VideoMessage_Attribution) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VideoMessage_Attribution) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[32].Descriptor() -} - -func (VideoMessage_Attribution) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[32] -} - -func (x VideoMessage_Attribution) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *VideoMessage_Attribution) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = VideoMessage_Attribution(num) - return nil -} - -// Deprecated: Use VideoMessage_Attribution.Descriptor instead. -func (VideoMessage_Attribution) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{62, 0} -} - -type SecretEncryptedMessage_SecretEncType int32 - -const ( - SecretEncryptedMessage_UNKNOWN SecretEncryptedMessage_SecretEncType = 0 - SecretEncryptedMessage_EVENT_EDIT SecretEncryptedMessage_SecretEncType = 1 -) - -// Enum value maps for SecretEncryptedMessage_SecretEncType. -var ( - SecretEncryptedMessage_SecretEncType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "EVENT_EDIT", - } - SecretEncryptedMessage_SecretEncType_value = map[string]int32{ - "UNKNOWN": 0, - "EVENT_EDIT": 1, - } -) - -func (x SecretEncryptedMessage_SecretEncType) Enum() *SecretEncryptedMessage_SecretEncType { - p := new(SecretEncryptedMessage_SecretEncType) - *p = x - return p -} - -func (x SecretEncryptedMessage_SecretEncType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SecretEncryptedMessage_SecretEncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[33].Descriptor() -} - -func (SecretEncryptedMessage_SecretEncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[33] -} - -func (x SecretEncryptedMessage_SecretEncType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *SecretEncryptedMessage_SecretEncType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = SecretEncryptedMessage_SecretEncType(num) - return nil -} - -// Deprecated: Use SecretEncryptedMessage_SecretEncType.Descriptor instead. -func (SecretEncryptedMessage_SecretEncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{69, 0} -} - -type ScheduledCallEditMessage_EditType int32 - -const ( - ScheduledCallEditMessage_UNKNOWN ScheduledCallEditMessage_EditType = 0 - ScheduledCallEditMessage_CANCEL ScheduledCallEditMessage_EditType = 1 -) - -// Enum value maps for ScheduledCallEditMessage_EditType. -var ( - ScheduledCallEditMessage_EditType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CANCEL", - } - ScheduledCallEditMessage_EditType_value = map[string]int32{ - "UNKNOWN": 0, - "CANCEL": 1, - } -) - -func (x ScheduledCallEditMessage_EditType) Enum() *ScheduledCallEditMessage_EditType { - p := new(ScheduledCallEditMessage_EditType) - *p = x - return p -} - -func (x ScheduledCallEditMessage_EditType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ScheduledCallEditMessage_EditType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[34].Descriptor() -} - -func (ScheduledCallEditMessage_EditType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[34] -} - -func (x ScheduledCallEditMessage_EditType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ScheduledCallEditMessage_EditType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ScheduledCallEditMessage_EditType(num) - return nil -} - -// Deprecated: Use ScheduledCallEditMessage_EditType.Descriptor instead. -func (ScheduledCallEditMessage_EditType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70, 0} -} - -type ScheduledCallCreationMessage_CallType int32 - -const ( - ScheduledCallCreationMessage_UNKNOWN ScheduledCallCreationMessage_CallType = 0 - ScheduledCallCreationMessage_VOICE ScheduledCallCreationMessage_CallType = 1 - ScheduledCallCreationMessage_VIDEO ScheduledCallCreationMessage_CallType = 2 -) - -// Enum value maps for ScheduledCallCreationMessage_CallType. -var ( - ScheduledCallCreationMessage_CallType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "VOICE", - 2: "VIDEO", - } - ScheduledCallCreationMessage_CallType_value = map[string]int32{ - "UNKNOWN": 0, - "VOICE": 1, - "VIDEO": 2, - } -) - -func (x ScheduledCallCreationMessage_CallType) Enum() *ScheduledCallCreationMessage_CallType { - p := new(ScheduledCallCreationMessage_CallType) - *p = x - return p -} - -func (x ScheduledCallCreationMessage_CallType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ScheduledCallCreationMessage_CallType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[35].Descriptor() -} - -func (ScheduledCallCreationMessage_CallType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[35] -} - -func (x ScheduledCallCreationMessage_CallType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ScheduledCallCreationMessage_CallType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ScheduledCallCreationMessage_CallType(num) - return nil -} - -// Deprecated: Use ScheduledCallCreationMessage_CallType.Descriptor instead. -func (ScheduledCallCreationMessage_CallType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0} -} - -type RequestWelcomeMessageMetadata_LocalChatState int32 - -const ( - RequestWelcomeMessageMetadata_EMPTY RequestWelcomeMessageMetadata_LocalChatState = 0 - RequestWelcomeMessageMetadata_NON_EMPTY RequestWelcomeMessageMetadata_LocalChatState = 1 -) - -// Enum value maps for RequestWelcomeMessageMetadata_LocalChatState. -var ( - RequestWelcomeMessageMetadata_LocalChatState_name = map[int32]string{ - 0: "EMPTY", - 1: "NON_EMPTY", - } - RequestWelcomeMessageMetadata_LocalChatState_value = map[string]int32{ - "EMPTY": 0, - "NON_EMPTY": 1, - } -) - -func (x RequestWelcomeMessageMetadata_LocalChatState) Enum() *RequestWelcomeMessageMetadata_LocalChatState { - p := new(RequestWelcomeMessageMetadata_LocalChatState) - *p = x - return p -} - -func (x RequestWelcomeMessageMetadata_LocalChatState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RequestWelcomeMessageMetadata_LocalChatState) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[36].Descriptor() -} - -func (RequestWelcomeMessageMetadata_LocalChatState) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[36] -} - -func (x RequestWelcomeMessageMetadata_LocalChatState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *RequestWelcomeMessageMetadata_LocalChatState) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = RequestWelcomeMessageMetadata_LocalChatState(num) - return nil -} - -// Deprecated: Use RequestWelcomeMessageMetadata_LocalChatState.Descriptor instead. -func (RequestWelcomeMessageMetadata_LocalChatState) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0} -} - -type ProtocolMessage_Type int32 - -const ( - ProtocolMessage_REVOKE ProtocolMessage_Type = 0 - ProtocolMessage_EPHEMERAL_SETTING ProtocolMessage_Type = 3 - ProtocolMessage_EPHEMERAL_SYNC_RESPONSE ProtocolMessage_Type = 4 - ProtocolMessage_HISTORY_SYNC_NOTIFICATION ProtocolMessage_Type = 5 - ProtocolMessage_APP_STATE_SYNC_KEY_SHARE ProtocolMessage_Type = 6 - ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST ProtocolMessage_Type = 7 - ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST ProtocolMessage_Type = 8 - ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC ProtocolMessage_Type = 9 - ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION ProtocolMessage_Type = 10 - ProtocolMessage_SHARE_PHONE_NUMBER ProtocolMessage_Type = 11 - ProtocolMessage_MESSAGE_EDIT ProtocolMessage_Type = 14 - ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE ProtocolMessage_Type = 16 - ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE ProtocolMessage_Type = 17 - ProtocolMessage_REQUEST_WELCOME_MESSAGE ProtocolMessage_Type = 18 - ProtocolMessage_BOT_FEEDBACK_MESSAGE ProtocolMessage_Type = 19 - ProtocolMessage_MEDIA_NOTIFY_MESSAGE ProtocolMessage_Type = 20 -) - -// Enum value maps for ProtocolMessage_Type. -var ( - ProtocolMessage_Type_name = map[int32]string{ - 0: "REVOKE", - 3: "EPHEMERAL_SETTING", - 4: "EPHEMERAL_SYNC_RESPONSE", - 5: "HISTORY_SYNC_NOTIFICATION", - 6: "APP_STATE_SYNC_KEY_SHARE", - 7: "APP_STATE_SYNC_KEY_REQUEST", - 8: "MSG_FANOUT_BACKFILL_REQUEST", - 9: "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", - 10: "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", - 11: "SHARE_PHONE_NUMBER", - 14: "MESSAGE_EDIT", - 16: "PEER_DATA_OPERATION_REQUEST_MESSAGE", - 17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", - 18: "REQUEST_WELCOME_MESSAGE", - 19: "BOT_FEEDBACK_MESSAGE", - 20: "MEDIA_NOTIFY_MESSAGE", - } - ProtocolMessage_Type_value = map[string]int32{ - "REVOKE": 0, - "EPHEMERAL_SETTING": 3, - "EPHEMERAL_SYNC_RESPONSE": 4, - "HISTORY_SYNC_NOTIFICATION": 5, - "APP_STATE_SYNC_KEY_SHARE": 6, - "APP_STATE_SYNC_KEY_REQUEST": 7, - "MSG_FANOUT_BACKFILL_REQUEST": 8, - "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC": 9, - "APP_STATE_FATAL_EXCEPTION_NOTIFICATION": 10, - "SHARE_PHONE_NUMBER": 11, - "MESSAGE_EDIT": 14, - "PEER_DATA_OPERATION_REQUEST_MESSAGE": 16, - "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17, - "REQUEST_WELCOME_MESSAGE": 18, - "BOT_FEEDBACK_MESSAGE": 19, - "MEDIA_NOTIFY_MESSAGE": 20, - } -) - -func (x ProtocolMessage_Type) Enum() *ProtocolMessage_Type { - p := new(ProtocolMessage_Type) - *p = x - return p -} - -func (x ProtocolMessage_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ProtocolMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[37].Descriptor() -} - -func (ProtocolMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[37] -} - -func (x ProtocolMessage_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ProtocolMessage_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ProtocolMessage_Type(num) - return nil -} - -// Deprecated: Use ProtocolMessage_Type.Descriptor instead. -func (ProtocolMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{76, 0} -} - -type PlaceholderMessage_PlaceholderType int32 - -const ( - PlaceholderMessage_MASK_LINKED_DEVICES PlaceholderMessage_PlaceholderType = 0 -) - -// Enum value maps for PlaceholderMessage_PlaceholderType. -var ( - PlaceholderMessage_PlaceholderType_name = map[int32]string{ - 0: "MASK_LINKED_DEVICES", - } - PlaceholderMessage_PlaceholderType_value = map[string]int32{ - "MASK_LINKED_DEVICES": 0, - } -) - -func (x PlaceholderMessage_PlaceholderType) Enum() *PlaceholderMessage_PlaceholderType { - p := new(PlaceholderMessage_PlaceholderType) - *p = x - return p -} - -func (x PlaceholderMessage_PlaceholderType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PlaceholderMessage_PlaceholderType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[38].Descriptor() -} - -func (PlaceholderMessage_PlaceholderType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[38] -} - -func (x PlaceholderMessage_PlaceholderType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PlaceholderMessage_PlaceholderType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PlaceholderMessage_PlaceholderType(num) - return nil -} - -// Deprecated: Use PlaceholderMessage_PlaceholderType.Descriptor instead. -func (PlaceholderMessage_PlaceholderType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{83, 0} -} - -type PinInChatMessage_Type int32 - -const ( - PinInChatMessage_UNKNOWN_TYPE PinInChatMessage_Type = 0 - PinInChatMessage_PIN_FOR_ALL PinInChatMessage_Type = 1 - PinInChatMessage_UNPIN_FOR_ALL PinInChatMessage_Type = 2 -) - -// Enum value maps for PinInChatMessage_Type. -var ( - PinInChatMessage_Type_name = map[int32]string{ - 0: "UNKNOWN_TYPE", - 1: "PIN_FOR_ALL", - 2: "UNPIN_FOR_ALL", - } - PinInChatMessage_Type_value = map[string]int32{ - "UNKNOWN_TYPE": 0, - "PIN_FOR_ALL": 1, - "UNPIN_FOR_ALL": 2, - } -) - -func (x PinInChatMessage_Type) Enum() *PinInChatMessage_Type { - p := new(PinInChatMessage_Type) - *p = x - return p -} - -func (x PinInChatMessage_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PinInChatMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[39].Descriptor() -} - -func (PinInChatMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[39] -} - -func (x PinInChatMessage_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PinInChatMessage_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PinInChatMessage_Type(num) - return nil -} - -// Deprecated: Use PinInChatMessage_Type.Descriptor instead. -func (PinInChatMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{84, 0} -} - -type PaymentInviteMessage_ServiceType int32 - -const ( - PaymentInviteMessage_UNKNOWN PaymentInviteMessage_ServiceType = 0 - PaymentInviteMessage_FBPAY PaymentInviteMessage_ServiceType = 1 - PaymentInviteMessage_NOVI PaymentInviteMessage_ServiceType = 2 - PaymentInviteMessage_UPI PaymentInviteMessage_ServiceType = 3 -) - -// Enum value maps for PaymentInviteMessage_ServiceType. -var ( - PaymentInviteMessage_ServiceType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "FBPAY", - 2: "NOVI", - 3: "UPI", - } - PaymentInviteMessage_ServiceType_value = map[string]int32{ - "UNKNOWN": 0, - "FBPAY": 1, - "NOVI": 2, - "UPI": 3, - } -) - -func (x PaymentInviteMessage_ServiceType) Enum() *PaymentInviteMessage_ServiceType { - p := new(PaymentInviteMessage_ServiceType) - *p = x - return p -} - -func (x PaymentInviteMessage_ServiceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[40].Descriptor() -} - -func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[40] -} - -func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PaymentInviteMessage_ServiceType(num) - return nil -} - -// Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead. -func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{87, 0} -} - -type OrderMessage_OrderSurface int32 - -const ( - OrderMessage_CATALOG OrderMessage_OrderSurface = 1 -) - -// Enum value maps for OrderMessage_OrderSurface. -var ( - OrderMessage_OrderSurface_name = map[int32]string{ - 1: "CATALOG", - } - OrderMessage_OrderSurface_value = map[string]int32{ - "CATALOG": 1, - } -) - -func (x OrderMessage_OrderSurface) Enum() *OrderMessage_OrderSurface { - p := new(OrderMessage_OrderSurface) - *p = x - return p -} - -func (x OrderMessage_OrderSurface) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[41].Descriptor() -} - -func (OrderMessage_OrderSurface) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[41] -} - -func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = OrderMessage_OrderSurface(num) - return nil -} - -// Deprecated: Use OrderMessage_OrderSurface.Descriptor instead. -func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{88, 0} -} - -type OrderMessage_OrderStatus int32 - -const ( - OrderMessage_INQUIRY OrderMessage_OrderStatus = 1 - OrderMessage_ACCEPTED OrderMessage_OrderStatus = 2 - OrderMessage_DECLINED OrderMessage_OrderStatus = 3 -) - -// Enum value maps for OrderMessage_OrderStatus. -var ( - OrderMessage_OrderStatus_name = map[int32]string{ - 1: "INQUIRY", - 2: "ACCEPTED", - 3: "DECLINED", - } - OrderMessage_OrderStatus_value = map[string]int32{ - "INQUIRY": 1, - "ACCEPTED": 2, - "DECLINED": 3, - } -) - -func (x OrderMessage_OrderStatus) Enum() *OrderMessage_OrderStatus { - p := new(OrderMessage_OrderStatus) - *p = x - return p -} - -func (x OrderMessage_OrderStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[42].Descriptor() -} - -func (OrderMessage_OrderStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[42] -} - -func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = OrderMessage_OrderStatus(num) - return nil -} - -// Deprecated: Use OrderMessage_OrderStatus.Descriptor instead. -func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{88, 1} -} - -type ListResponseMessage_ListType int32 - -const ( - ListResponseMessage_UNKNOWN ListResponseMessage_ListType = 0 - ListResponseMessage_SINGLE_SELECT ListResponseMessage_ListType = 1 -) - -// Enum value maps for ListResponseMessage_ListType. -var ( - ListResponseMessage_ListType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SINGLE_SELECT", - } - ListResponseMessage_ListType_value = map[string]int32{ - "UNKNOWN": 0, - "SINGLE_SELECT": 1, - } -) - -func (x ListResponseMessage_ListType) Enum() *ListResponseMessage_ListType { - p := new(ListResponseMessage_ListType) - *p = x - return p -} - -func (x ListResponseMessage_ListType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[43].Descriptor() -} - -func (ListResponseMessage_ListType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[43] -} - -func (x ListResponseMessage_ListType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ListResponseMessage_ListType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ListResponseMessage_ListType(num) - return nil -} - -// Deprecated: Use ListResponseMessage_ListType.Descriptor instead. -func (ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0} -} - -type ListMessage_ListType int32 - -const ( - ListMessage_UNKNOWN ListMessage_ListType = 0 - ListMessage_SINGLE_SELECT ListMessage_ListType = 1 - ListMessage_PRODUCT_LIST ListMessage_ListType = 2 -) - -// Enum value maps for ListMessage_ListType. -var ( - ListMessage_ListType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SINGLE_SELECT", - 2: "PRODUCT_LIST", - } - ListMessage_ListType_value = map[string]int32{ - "UNKNOWN": 0, - "SINGLE_SELECT": 1, - "PRODUCT_LIST": 2, - } -) - -func (x ListMessage_ListType) Enum() *ListMessage_ListType { - p := new(ListMessage_ListType) - *p = x - return p -} - -func (x ListMessage_ListType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[44].Descriptor() -} - -func (ListMessage_ListType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[44] -} - -func (x ListMessage_ListType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ListMessage_ListType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ListMessage_ListType(num) - return nil -} - -// Deprecated: Use ListMessage_ListType.Descriptor instead. -func (ListMessage_ListType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 0} -} - -type InvoiceMessage_AttachmentType int32 - -const ( - InvoiceMessage_IMAGE InvoiceMessage_AttachmentType = 0 - InvoiceMessage_PDF InvoiceMessage_AttachmentType = 1 -) - -// Enum value maps for InvoiceMessage_AttachmentType. -var ( - InvoiceMessage_AttachmentType_name = map[int32]string{ - 0: "IMAGE", - 1: "PDF", - } - InvoiceMessage_AttachmentType_value = map[string]int32{ - "IMAGE": 0, - "PDF": 1, - } -) - -func (x InvoiceMessage_AttachmentType) Enum() *InvoiceMessage_AttachmentType { - p := new(InvoiceMessage_AttachmentType) - *p = x - return p -} - -func (x InvoiceMessage_AttachmentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[45].Descriptor() -} - -func (InvoiceMessage_AttachmentType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[45] -} - -func (x InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *InvoiceMessage_AttachmentType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = InvoiceMessage_AttachmentType(num) - return nil -} - -// Deprecated: Use InvoiceMessage_AttachmentType.Descriptor instead. -func (InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{96, 0} -} - -type InteractiveResponseMessage_Body_Format int32 - -const ( - InteractiveResponseMessage_Body_DEFAULT InteractiveResponseMessage_Body_Format = 0 - InteractiveResponseMessage_Body_EXTENSIONS_1 InteractiveResponseMessage_Body_Format = 1 -) - -// Enum value maps for InteractiveResponseMessage_Body_Format. -var ( - InteractiveResponseMessage_Body_Format_name = map[int32]string{ - 0: "DEFAULT", - 1: "EXTENSIONS_1", - } - InteractiveResponseMessage_Body_Format_value = map[string]int32{ - "DEFAULT": 0, - "EXTENSIONS_1": 1, - } -) - -func (x InteractiveResponseMessage_Body_Format) Enum() *InteractiveResponseMessage_Body_Format { - p := new(InteractiveResponseMessage_Body_Format) - *p = x - return p -} - -func (x InteractiveResponseMessage_Body_Format) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InteractiveResponseMessage_Body_Format) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[46].Descriptor() -} - -func (InteractiveResponseMessage_Body_Format) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[46] -} - -func (x InteractiveResponseMessage_Body_Format) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *InteractiveResponseMessage_Body_Format) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = InteractiveResponseMessage_Body_Format(num) - return nil -} - -// Deprecated: Use InteractiveResponseMessage_Body_Format.Descriptor instead. -func (InteractiveResponseMessage_Body_Format) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{97, 1, 0} -} - -type InteractiveMessage_ShopMessage_Surface int32 - -const ( - InteractiveMessage_ShopMessage_UNKNOWN_SURFACE InteractiveMessage_ShopMessage_Surface = 0 - InteractiveMessage_ShopMessage_FB InteractiveMessage_ShopMessage_Surface = 1 - InteractiveMessage_ShopMessage_IG InteractiveMessage_ShopMessage_Surface = 2 - InteractiveMessage_ShopMessage_WA InteractiveMessage_ShopMessage_Surface = 3 -) - -// Enum value maps for InteractiveMessage_ShopMessage_Surface. -var ( - InteractiveMessage_ShopMessage_Surface_name = map[int32]string{ - 0: "UNKNOWN_SURFACE", - 1: "FB", - 2: "IG", - 3: "WA", - } - InteractiveMessage_ShopMessage_Surface_value = map[string]int32{ - "UNKNOWN_SURFACE": 0, - "FB": 1, - "IG": 2, - "WA": 3, - } -) - -func (x InteractiveMessage_ShopMessage_Surface) Enum() *InteractiveMessage_ShopMessage_Surface { - p := new(InteractiveMessage_ShopMessage_Surface) - *p = x - return p -} - -func (x InteractiveMessage_ShopMessage_Surface) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[47].Descriptor() -} - -func (InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[47] -} - -func (x InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *InteractiveMessage_ShopMessage_Surface) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = InteractiveMessage_ShopMessage_Surface(num) - return nil -} - -// Deprecated: Use InteractiveMessage_ShopMessage_Surface.Descriptor instead. -func (InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 6, 0} -} - -type PastParticipant_LeaveReason int32 - -const ( - PastParticipant_LEFT PastParticipant_LeaveReason = 0 - PastParticipant_REMOVED PastParticipant_LeaveReason = 1 -) - -// Enum value maps for PastParticipant_LeaveReason. -var ( - PastParticipant_LeaveReason_name = map[int32]string{ - 0: "LEFT", - 1: "REMOVED", - } - PastParticipant_LeaveReason_value = map[string]int32{ - "LEFT": 0, - "REMOVED": 1, - } -) - -func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason { - p := new(PastParticipant_LeaveReason) - *p = x - return p -} - -func (x PastParticipant_LeaveReason) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[48].Descriptor() -} - -func (PastParticipant_LeaveReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[48] -} - -func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PastParticipant_LeaveReason(num) - return nil -} - -// Deprecated: Use PastParticipant_LeaveReason.Descriptor instead. -func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{105, 0} -} - -type HistorySync_HistorySyncType int32 - -const ( - HistorySync_INITIAL_BOOTSTRAP HistorySync_HistorySyncType = 0 - HistorySync_INITIAL_STATUS_V3 HistorySync_HistorySyncType = 1 - HistorySync_FULL HistorySync_HistorySyncType = 2 - HistorySync_RECENT HistorySync_HistorySyncType = 3 - HistorySync_PUSH_NAME HistorySync_HistorySyncType = 4 - HistorySync_NON_BLOCKING_DATA HistorySync_HistorySyncType = 5 - HistorySync_ON_DEMAND HistorySync_HistorySyncType = 6 -) - -// Enum value maps for HistorySync_HistorySyncType. -var ( - HistorySync_HistorySyncType_name = map[int32]string{ - 0: "INITIAL_BOOTSTRAP", - 1: "INITIAL_STATUS_V3", - 2: "FULL", - 3: "RECENT", - 4: "PUSH_NAME", - 5: "NON_BLOCKING_DATA", - 6: "ON_DEMAND", - } - HistorySync_HistorySyncType_value = map[string]int32{ - "INITIAL_BOOTSTRAP": 0, - "INITIAL_STATUS_V3": 1, - "FULL": 2, - "RECENT": 3, - "PUSH_NAME": 4, - "NON_BLOCKING_DATA": 5, - "ON_DEMAND": 6, - } -) - -func (x HistorySync_HistorySyncType) Enum() *HistorySync_HistorySyncType { - p := new(HistorySync_HistorySyncType) - *p = x - return p -} - -func (x HistorySync_HistorySyncType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[49].Descriptor() -} - -func (HistorySync_HistorySyncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[49] -} - -func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = HistorySync_HistorySyncType(num) - return nil -} - -// Deprecated: Use HistorySync_HistorySyncType.Descriptor instead. -func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 0} -} - -type HistorySync_BotAIWaitListState int32 - -const ( - HistorySync_IN_WAITLIST HistorySync_BotAIWaitListState = 0 - HistorySync_AI_AVAILABLE HistorySync_BotAIWaitListState = 1 -) - -// Enum value maps for HistorySync_BotAIWaitListState. -var ( - HistorySync_BotAIWaitListState_name = map[int32]string{ - 0: "IN_WAITLIST", - 1: "AI_AVAILABLE", - } - HistorySync_BotAIWaitListState_value = map[string]int32{ - "IN_WAITLIST": 0, - "AI_AVAILABLE": 1, - } -) - -func (x HistorySync_BotAIWaitListState) Enum() *HistorySync_BotAIWaitListState { - p := new(HistorySync_BotAIWaitListState) - *p = x - return p -} - -func (x HistorySync_BotAIWaitListState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (HistorySync_BotAIWaitListState) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[50].Descriptor() -} - -func (HistorySync_BotAIWaitListState) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[50] -} - -func (x HistorySync_BotAIWaitListState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *HistorySync_BotAIWaitListState) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = HistorySync_BotAIWaitListState(num) - return nil -} - -// Deprecated: Use HistorySync_BotAIWaitListState.Descriptor instead. -func (HistorySync_BotAIWaitListState) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 1} -} - -type GroupParticipant_Rank int32 - -const ( - GroupParticipant_REGULAR GroupParticipant_Rank = 0 - GroupParticipant_ADMIN GroupParticipant_Rank = 1 - GroupParticipant_SUPERADMIN GroupParticipant_Rank = 2 -) - -// Enum value maps for GroupParticipant_Rank. -var ( - GroupParticipant_Rank_name = map[int32]string{ - 0: "REGULAR", - 1: "ADMIN", - 2: "SUPERADMIN", - } - GroupParticipant_Rank_value = map[string]int32{ - "REGULAR": 0, - "ADMIN": 1, - "SUPERADMIN": 2, - } -) - -func (x GroupParticipant_Rank) Enum() *GroupParticipant_Rank { - p := new(GroupParticipant_Rank) - *p = x - return p -} - -func (x GroupParticipant_Rank) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[51].Descriptor() -} - -func (GroupParticipant_Rank) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[51] -} - -func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = GroupParticipant_Rank(num) - return nil -} - -// Deprecated: Use GroupParticipant_Rank.Descriptor instead. -func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{109, 0} -} - -type Conversation_EndOfHistoryTransferType int32 - -const ( - Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0 - Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1 - Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2 -) - -// Enum value maps for Conversation_EndOfHistoryTransferType. -var ( - Conversation_EndOfHistoryTransferType_name = map[int32]string{ - 0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", - 1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", - 2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY", - } - Conversation_EndOfHistoryTransferType_value = map[string]int32{ - "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0, - "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1, - "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2, - } -) - -func (x Conversation_EndOfHistoryTransferType) Enum() *Conversation_EndOfHistoryTransferType { - p := new(Conversation_EndOfHistoryTransferType) - *p = x - return p -} - -func (x Conversation_EndOfHistoryTransferType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[52].Descriptor() -} - -func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[52] -} - -func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = Conversation_EndOfHistoryTransferType(num) - return nil -} - -// Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead. -func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{111, 0} -} - -type MediaRetryNotification_ResultType int32 - -const ( - MediaRetryNotification_GENERAL_ERROR MediaRetryNotification_ResultType = 0 - MediaRetryNotification_SUCCESS MediaRetryNotification_ResultType = 1 - MediaRetryNotification_NOT_FOUND MediaRetryNotification_ResultType = 2 - MediaRetryNotification_DECRYPTION_ERROR MediaRetryNotification_ResultType = 3 -) - -// Enum value maps for MediaRetryNotification_ResultType. -var ( - MediaRetryNotification_ResultType_name = map[int32]string{ - 0: "GENERAL_ERROR", - 1: "SUCCESS", - 2: "NOT_FOUND", - 3: "DECRYPTION_ERROR", - } - MediaRetryNotification_ResultType_value = map[string]int32{ - "GENERAL_ERROR": 0, - "SUCCESS": 1, - "NOT_FOUND": 2, - "DECRYPTION_ERROR": 3, - } -) - -func (x MediaRetryNotification_ResultType) Enum() *MediaRetryNotification_ResultType { - p := new(MediaRetryNotification_ResultType) - *p = x - return p -} - -func (x MediaRetryNotification_ResultType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[53].Descriptor() -} - -func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[53] -} - -func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *MediaRetryNotification_ResultType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = MediaRetryNotification_ResultType(num) - return nil -} - -// Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead. -func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{115, 0} -} - -type SyncdMutation_SyncdOperation int32 - -const ( - SyncdMutation_SET SyncdMutation_SyncdOperation = 0 - SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1 -) - -// Enum value maps for SyncdMutation_SyncdOperation. -var ( - SyncdMutation_SyncdOperation_name = map[int32]string{ - 0: "SET", - 1: "REMOVE", - } - SyncdMutation_SyncdOperation_value = map[string]int32{ - "SET": 0, - "REMOVE": 1, - } -) - -func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation { - p := new(SyncdMutation_SyncdOperation) - *p = x - return p -} - -func (x SyncdMutation_SyncdOperation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[54].Descriptor() -} - -func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[54] -} - -func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = SyncdMutation_SyncdOperation(num) - return nil -} - -// Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead. -func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{123, 0} -} - -type StatusPrivacyAction_StatusDistributionMode int32 - -const ( - StatusPrivacyAction_ALLOW_LIST StatusPrivacyAction_StatusDistributionMode = 0 - StatusPrivacyAction_DENY_LIST StatusPrivacyAction_StatusDistributionMode = 1 - StatusPrivacyAction_CONTACTS StatusPrivacyAction_StatusDistributionMode = 2 -) - -// Enum value maps for StatusPrivacyAction_StatusDistributionMode. -var ( - StatusPrivacyAction_StatusDistributionMode_name = map[int32]string{ - 0: "ALLOW_LIST", - 1: "DENY_LIST", - 2: "CONTACTS", - } - StatusPrivacyAction_StatusDistributionMode_value = map[string]int32{ - "ALLOW_LIST": 0, - "DENY_LIST": 1, - "CONTACTS": 2, - } -) - -func (x StatusPrivacyAction_StatusDistributionMode) Enum() *StatusPrivacyAction_StatusDistributionMode { - p := new(StatusPrivacyAction_StatusDistributionMode) - *p = x - return p -} - -func (x StatusPrivacyAction_StatusDistributionMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (StatusPrivacyAction_StatusDistributionMode) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[55].Descriptor() -} - -func (StatusPrivacyAction_StatusDistributionMode) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[55] -} - -func (x StatusPrivacyAction_StatusDistributionMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *StatusPrivacyAction_StatusDistributionMode) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = StatusPrivacyAction_StatusDistributionMode(num) - return nil -} - -// Deprecated: Use StatusPrivacyAction_StatusDistributionMode.Descriptor instead. -func (StatusPrivacyAction_StatusDistributionMode) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{137, 0} -} - -type MarketingMessageAction_MarketingMessagePrototypeType int32 - -const ( - MarketingMessageAction_PERSONALIZED MarketingMessageAction_MarketingMessagePrototypeType = 0 -) - -// Enum value maps for MarketingMessageAction_MarketingMessagePrototypeType. -var ( - MarketingMessageAction_MarketingMessagePrototypeType_name = map[int32]string{ - 0: "PERSONALIZED", - } - MarketingMessageAction_MarketingMessagePrototypeType_value = map[string]int32{ - "PERSONALIZED": 0, - } -) - -func (x MarketingMessageAction_MarketingMessagePrototypeType) Enum() *MarketingMessageAction_MarketingMessagePrototypeType { - p := new(MarketingMessageAction_MarketingMessagePrototypeType) - *p = x - return p -} - -func (x MarketingMessageAction_MarketingMessagePrototypeType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[56].Descriptor() -} - -func (MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[56] -} - -func (x MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *MarketingMessageAction_MarketingMessagePrototypeType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = MarketingMessageAction_MarketingMessagePrototypeType(num) - return nil -} - -// Deprecated: Use MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead. -func (MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 0} -} - -type PatchDebugData_Platform int32 - -const ( - PatchDebugData_ANDROID PatchDebugData_Platform = 0 - PatchDebugData_SMBA PatchDebugData_Platform = 1 - PatchDebugData_IPHONE PatchDebugData_Platform = 2 - PatchDebugData_SMBI PatchDebugData_Platform = 3 - PatchDebugData_WEB PatchDebugData_Platform = 4 - PatchDebugData_UWP PatchDebugData_Platform = 5 - PatchDebugData_DARWIN PatchDebugData_Platform = 6 -) - -// Enum value maps for PatchDebugData_Platform. -var ( - PatchDebugData_Platform_name = map[int32]string{ - 0: "ANDROID", - 1: "SMBA", - 2: "IPHONE", - 3: "SMBI", - 4: "WEB", - 5: "UWP", - 6: "DARWIN", - } - PatchDebugData_Platform_value = map[string]int32{ - "ANDROID": 0, - "SMBA": 1, - "IPHONE": 2, - "SMBI": 3, - "WEB": 4, - "UWP": 5, - "DARWIN": 6, - } -) - -func (x PatchDebugData_Platform) Enum() *PatchDebugData_Platform { - p := new(PatchDebugData_Platform) - *p = x - return p -} - -func (x PatchDebugData_Platform) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PatchDebugData_Platform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[57].Descriptor() -} - -func (PatchDebugData_Platform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[57] -} - -func (x PatchDebugData_Platform) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PatchDebugData_Platform) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PatchDebugData_Platform(num) - return nil -} - -// Deprecated: Use PatchDebugData_Platform.Descriptor instead. -func (PatchDebugData_Platform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{180, 0} -} - -type CallLogRecord_SilenceReason int32 - -const ( - CallLogRecord_NONE CallLogRecord_SilenceReason = 0 - CallLogRecord_SCHEDULED CallLogRecord_SilenceReason = 1 - CallLogRecord_PRIVACY CallLogRecord_SilenceReason = 2 - CallLogRecord_LIGHTWEIGHT CallLogRecord_SilenceReason = 3 -) - -// Enum value maps for CallLogRecord_SilenceReason. -var ( - CallLogRecord_SilenceReason_name = map[int32]string{ - 0: "NONE", - 1: "SCHEDULED", - 2: "PRIVACY", - 3: "LIGHTWEIGHT", - } - CallLogRecord_SilenceReason_value = map[string]int32{ - "NONE": 0, - "SCHEDULED": 1, - "PRIVACY": 2, - "LIGHTWEIGHT": 3, - } -) - -func (x CallLogRecord_SilenceReason) Enum() *CallLogRecord_SilenceReason { - p := new(CallLogRecord_SilenceReason) - *p = x - return p -} - -func (x CallLogRecord_SilenceReason) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CallLogRecord_SilenceReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[58].Descriptor() -} - -func (CallLogRecord_SilenceReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[58] -} - -func (x CallLogRecord_SilenceReason) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *CallLogRecord_SilenceReason) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = CallLogRecord_SilenceReason(num) - return nil -} - -// Deprecated: Use CallLogRecord_SilenceReason.Descriptor instead. -func (CallLogRecord_SilenceReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 0} -} - -type CallLogRecord_CallType int32 - -const ( - CallLogRecord_REGULAR CallLogRecord_CallType = 0 - CallLogRecord_SCHEDULED_CALL CallLogRecord_CallType = 1 - CallLogRecord_VOICE_CHAT CallLogRecord_CallType = 2 -) - -// Enum value maps for CallLogRecord_CallType. -var ( - CallLogRecord_CallType_name = map[int32]string{ - 0: "REGULAR", - 1: "SCHEDULED_CALL", - 2: "VOICE_CHAT", - } - CallLogRecord_CallType_value = map[string]int32{ - "REGULAR": 0, - "SCHEDULED_CALL": 1, - "VOICE_CHAT": 2, - } -) - -func (x CallLogRecord_CallType) Enum() *CallLogRecord_CallType { - p := new(CallLogRecord_CallType) - *p = x - return p -} - -func (x CallLogRecord_CallType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CallLogRecord_CallType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[59].Descriptor() -} - -func (CallLogRecord_CallType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[59] -} - -func (x CallLogRecord_CallType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *CallLogRecord_CallType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = CallLogRecord_CallType(num) - return nil -} - -// Deprecated: Use CallLogRecord_CallType.Descriptor instead. -func (CallLogRecord_CallType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 1} -} - -type CallLogRecord_CallResult int32 - -const ( - CallLogRecord_CONNECTED CallLogRecord_CallResult = 0 - CallLogRecord_REJECTED CallLogRecord_CallResult = 1 - CallLogRecord_CANCELLED CallLogRecord_CallResult = 2 - CallLogRecord_ACCEPTEDELSEWHERE CallLogRecord_CallResult = 3 - CallLogRecord_MISSED CallLogRecord_CallResult = 4 - CallLogRecord_INVALID CallLogRecord_CallResult = 5 - CallLogRecord_UNAVAILABLE CallLogRecord_CallResult = 6 - CallLogRecord_UPCOMING CallLogRecord_CallResult = 7 - CallLogRecord_FAILED CallLogRecord_CallResult = 8 - CallLogRecord_ABANDONED CallLogRecord_CallResult = 9 - CallLogRecord_ONGOING CallLogRecord_CallResult = 10 -) - -// Enum value maps for CallLogRecord_CallResult. -var ( - CallLogRecord_CallResult_name = map[int32]string{ - 0: "CONNECTED", - 1: "REJECTED", - 2: "CANCELLED", - 3: "ACCEPTEDELSEWHERE", - 4: "MISSED", - 5: "INVALID", - 6: "UNAVAILABLE", - 7: "UPCOMING", - 8: "FAILED", - 9: "ABANDONED", - 10: "ONGOING", - } - CallLogRecord_CallResult_value = map[string]int32{ - "CONNECTED": 0, - "REJECTED": 1, - "CANCELLED": 2, - "ACCEPTEDELSEWHERE": 3, - "MISSED": 4, - "INVALID": 5, - "UNAVAILABLE": 6, - "UPCOMING": 7, - "FAILED": 8, - "ABANDONED": 9, - "ONGOING": 10, - } -) - -func (x CallLogRecord_CallResult) Enum() *CallLogRecord_CallResult { - p := new(CallLogRecord_CallResult) - *p = x - return p -} - -func (x CallLogRecord_CallResult) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CallLogRecord_CallResult) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[60].Descriptor() -} - -func (CallLogRecord_CallResult) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[60] -} - -func (x CallLogRecord_CallResult) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *CallLogRecord_CallResult) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = CallLogRecord_CallResult(num) - return nil -} - -// Deprecated: Use CallLogRecord_CallResult.Descriptor instead. -func (CallLogRecord_CallResult) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 2} -} - -type BizIdentityInfo_VerifiedLevelValue int32 - -const ( - BizIdentityInfo_UNKNOWN BizIdentityInfo_VerifiedLevelValue = 0 - BizIdentityInfo_LOW BizIdentityInfo_VerifiedLevelValue = 1 - BizIdentityInfo_HIGH BizIdentityInfo_VerifiedLevelValue = 2 -) - -// Enum value maps for BizIdentityInfo_VerifiedLevelValue. -var ( - BizIdentityInfo_VerifiedLevelValue_name = map[int32]string{ - 0: "UNKNOWN", - 1: "LOW", - 2: "HIGH", - } - BizIdentityInfo_VerifiedLevelValue_value = map[string]int32{ - "UNKNOWN": 0, - "LOW": 1, - "HIGH": 2, - } -) - -func (x BizIdentityInfo_VerifiedLevelValue) Enum() *BizIdentityInfo_VerifiedLevelValue { - p := new(BizIdentityInfo_VerifiedLevelValue) - *p = x - return p -} - -func (x BizIdentityInfo_VerifiedLevelValue) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[61].Descriptor() -} - -func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[61] -} - -func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BizIdentityInfo_VerifiedLevelValue(num) - return nil -} - -// Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead. -func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{184, 0} -} - -type BizIdentityInfo_HostStorageType int32 - -const ( - BizIdentityInfo_ON_PREMISE BizIdentityInfo_HostStorageType = 0 - BizIdentityInfo_FACEBOOK BizIdentityInfo_HostStorageType = 1 -) - -// Enum value maps for BizIdentityInfo_HostStorageType. -var ( - BizIdentityInfo_HostStorageType_name = map[int32]string{ - 0: "ON_PREMISE", - 1: "FACEBOOK", - } - BizIdentityInfo_HostStorageType_value = map[string]int32{ - "ON_PREMISE": 0, - "FACEBOOK": 1, - } -) - -func (x BizIdentityInfo_HostStorageType) Enum() *BizIdentityInfo_HostStorageType { - p := new(BizIdentityInfo_HostStorageType) - *p = x - return p -} - -func (x BizIdentityInfo_HostStorageType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[62].Descriptor() -} - -func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[62] -} - -func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BizIdentityInfo_HostStorageType(num) - return nil -} - -// Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead. -func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{184, 1} -} - -type BizIdentityInfo_ActualActorsType int32 - -const ( - BizIdentityInfo_SELF BizIdentityInfo_ActualActorsType = 0 - BizIdentityInfo_BSP BizIdentityInfo_ActualActorsType = 1 -) - -// Enum value maps for BizIdentityInfo_ActualActorsType. -var ( - BizIdentityInfo_ActualActorsType_name = map[int32]string{ - 0: "SELF", - 1: "BSP", - } - BizIdentityInfo_ActualActorsType_value = map[string]int32{ - "SELF": 0, - "BSP": 1, - } -) - -func (x BizIdentityInfo_ActualActorsType) Enum() *BizIdentityInfo_ActualActorsType { - p := new(BizIdentityInfo_ActualActorsType) - *p = x - return p -} - -func (x BizIdentityInfo_ActualActorsType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[63].Descriptor() -} - -func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[63] -} - -func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BizIdentityInfo_ActualActorsType(num) - return nil -} - -// Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead. -func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{184, 2} -} - -type BizAccountLinkInfo_HostStorageType int32 - -const ( - BizAccountLinkInfo_ON_PREMISE BizAccountLinkInfo_HostStorageType = 0 - BizAccountLinkInfo_FACEBOOK BizAccountLinkInfo_HostStorageType = 1 -) - -// Enum value maps for BizAccountLinkInfo_HostStorageType. -var ( - BizAccountLinkInfo_HostStorageType_name = map[int32]string{ - 0: "ON_PREMISE", - 1: "FACEBOOK", - } - BizAccountLinkInfo_HostStorageType_value = map[string]int32{ - "ON_PREMISE": 0, - "FACEBOOK": 1, - } -) - -func (x BizAccountLinkInfo_HostStorageType) Enum() *BizAccountLinkInfo_HostStorageType { - p := new(BizAccountLinkInfo_HostStorageType) - *p = x - return p -} - -func (x BizAccountLinkInfo_HostStorageType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[64].Descriptor() -} - -func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[64] -} - -func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BizAccountLinkInfo_HostStorageType(num) - return nil -} - -// Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead. -func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{186, 0} -} - -type BizAccountLinkInfo_AccountType int32 - -const ( - BizAccountLinkInfo_ENTERPRISE BizAccountLinkInfo_AccountType = 0 -) - -// Enum value maps for BizAccountLinkInfo_AccountType. -var ( - BizAccountLinkInfo_AccountType_name = map[int32]string{ - 0: "ENTERPRISE", - } - BizAccountLinkInfo_AccountType_value = map[string]int32{ - "ENTERPRISE": 0, - } -) - -func (x BizAccountLinkInfo_AccountType) Enum() *BizAccountLinkInfo_AccountType { - p := new(BizAccountLinkInfo_AccountType) - *p = x - return p -} - -func (x BizAccountLinkInfo_AccountType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[65].Descriptor() -} - -func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[65] -} - -func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = BizAccountLinkInfo_AccountType(num) - return nil -} - -// Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead. -func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{186, 1} -} - -type ClientPayload_Product int32 - -const ( - ClientPayload_WHATSAPP ClientPayload_Product = 0 - ClientPayload_MESSENGER ClientPayload_Product = 1 - ClientPayload_INTEROP ClientPayload_Product = 2 - ClientPayload_INTEROP_MSGR ClientPayload_Product = 3 -) - -// Enum value maps for ClientPayload_Product. -var ( - ClientPayload_Product_name = map[int32]string{ - 0: "WHATSAPP", - 1: "MESSENGER", - 2: "INTEROP", - 3: "INTEROP_MSGR", - } - ClientPayload_Product_value = map[string]int32{ - "WHATSAPP": 0, - "MESSENGER": 1, - "INTEROP": 2, - "INTEROP_MSGR": 3, - } -) - -func (x ClientPayload_Product) Enum() *ClientPayload_Product { - p := new(ClientPayload_Product) - *p = x - return p -} - -func (x ClientPayload_Product) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[66].Descriptor() -} - -func (ClientPayload_Product) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[66] -} - -func (x ClientPayload_Product) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_Product) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_Product(num) - return nil -} - -// Deprecated: Use ClientPayload_Product.Descriptor instead. -func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0} -} - -type ClientPayload_IOSAppExtension int32 - -const ( - ClientPayload_SHARE_EXTENSION ClientPayload_IOSAppExtension = 0 - ClientPayload_SERVICE_EXTENSION ClientPayload_IOSAppExtension = 1 - ClientPayload_INTENTS_EXTENSION ClientPayload_IOSAppExtension = 2 -) - -// Enum value maps for ClientPayload_IOSAppExtension. -var ( - ClientPayload_IOSAppExtension_name = map[int32]string{ - 0: "SHARE_EXTENSION", - 1: "SERVICE_EXTENSION", - 2: "INTENTS_EXTENSION", - } - ClientPayload_IOSAppExtension_value = map[string]int32{ - "SHARE_EXTENSION": 0, - "SERVICE_EXTENSION": 1, - "INTENTS_EXTENSION": 2, - } -) - -func (x ClientPayload_IOSAppExtension) Enum() *ClientPayload_IOSAppExtension { - p := new(ClientPayload_IOSAppExtension) - *p = x - return p -} - -func (x ClientPayload_IOSAppExtension) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[67].Descriptor() -} - -func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[67] -} - -func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_IOSAppExtension) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_IOSAppExtension(num) - return nil -} - -// Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead. -func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1} -} - -type ClientPayload_ConnectType int32 - -const ( - ClientPayload_CELLULAR_UNKNOWN ClientPayload_ConnectType = 0 - ClientPayload_WIFI_UNKNOWN ClientPayload_ConnectType = 1 - ClientPayload_CELLULAR_EDGE ClientPayload_ConnectType = 100 - ClientPayload_CELLULAR_IDEN ClientPayload_ConnectType = 101 - ClientPayload_CELLULAR_UMTS ClientPayload_ConnectType = 102 - ClientPayload_CELLULAR_EVDO ClientPayload_ConnectType = 103 - ClientPayload_CELLULAR_GPRS ClientPayload_ConnectType = 104 - ClientPayload_CELLULAR_HSDPA ClientPayload_ConnectType = 105 - ClientPayload_CELLULAR_HSUPA ClientPayload_ConnectType = 106 - ClientPayload_CELLULAR_HSPA ClientPayload_ConnectType = 107 - ClientPayload_CELLULAR_CDMA ClientPayload_ConnectType = 108 - ClientPayload_CELLULAR_1XRTT ClientPayload_ConnectType = 109 - ClientPayload_CELLULAR_EHRPD ClientPayload_ConnectType = 110 - ClientPayload_CELLULAR_LTE ClientPayload_ConnectType = 111 - ClientPayload_CELLULAR_HSPAP ClientPayload_ConnectType = 112 -) - -// Enum value maps for ClientPayload_ConnectType. -var ( - ClientPayload_ConnectType_name = map[int32]string{ - 0: "CELLULAR_UNKNOWN", - 1: "WIFI_UNKNOWN", - 100: "CELLULAR_EDGE", - 101: "CELLULAR_IDEN", - 102: "CELLULAR_UMTS", - 103: "CELLULAR_EVDO", - 104: "CELLULAR_GPRS", - 105: "CELLULAR_HSDPA", - 106: "CELLULAR_HSUPA", - 107: "CELLULAR_HSPA", - 108: "CELLULAR_CDMA", - 109: "CELLULAR_1XRTT", - 110: "CELLULAR_EHRPD", - 111: "CELLULAR_LTE", - 112: "CELLULAR_HSPAP", - } - ClientPayload_ConnectType_value = map[string]int32{ - "CELLULAR_UNKNOWN": 0, - "WIFI_UNKNOWN": 1, - "CELLULAR_EDGE": 100, - "CELLULAR_IDEN": 101, - "CELLULAR_UMTS": 102, - "CELLULAR_EVDO": 103, - "CELLULAR_GPRS": 104, - "CELLULAR_HSDPA": 105, - "CELLULAR_HSUPA": 106, - "CELLULAR_HSPA": 107, - "CELLULAR_CDMA": 108, - "CELLULAR_1XRTT": 109, - "CELLULAR_EHRPD": 110, - "CELLULAR_LTE": 111, - "CELLULAR_HSPAP": 112, - } -) - -func (x ClientPayload_ConnectType) Enum() *ClientPayload_ConnectType { - p := new(ClientPayload_ConnectType) - *p = x - return p -} - -func (x ClientPayload_ConnectType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[68].Descriptor() -} - -func (ClientPayload_ConnectType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[68] -} - -func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_ConnectType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_ConnectType(num) - return nil -} - -// Deprecated: Use ClientPayload_ConnectType.Descriptor instead. -func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 2} -} - -type ClientPayload_ConnectReason int32 - -const ( - ClientPayload_PUSH ClientPayload_ConnectReason = 0 - ClientPayload_USER_ACTIVATED ClientPayload_ConnectReason = 1 - ClientPayload_SCHEDULED ClientPayload_ConnectReason = 2 - ClientPayload_ERROR_RECONNECT ClientPayload_ConnectReason = 3 - ClientPayload_NETWORK_SWITCH ClientPayload_ConnectReason = 4 - ClientPayload_PING_RECONNECT ClientPayload_ConnectReason = 5 - ClientPayload_UNKNOWN ClientPayload_ConnectReason = 6 -) - -// Enum value maps for ClientPayload_ConnectReason. -var ( - ClientPayload_ConnectReason_name = map[int32]string{ - 0: "PUSH", - 1: "USER_ACTIVATED", - 2: "SCHEDULED", - 3: "ERROR_RECONNECT", - 4: "NETWORK_SWITCH", - 5: "PING_RECONNECT", - 6: "UNKNOWN", - } - ClientPayload_ConnectReason_value = map[string]int32{ - "PUSH": 0, - "USER_ACTIVATED": 1, - "SCHEDULED": 2, - "ERROR_RECONNECT": 3, - "NETWORK_SWITCH": 4, - "PING_RECONNECT": 5, - "UNKNOWN": 6, - } -) - -func (x ClientPayload_ConnectReason) Enum() *ClientPayload_ConnectReason { - p := new(ClientPayload_ConnectReason) - *p = x - return p -} - -func (x ClientPayload_ConnectReason) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[69].Descriptor() -} - -func (ClientPayload_ConnectReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[69] -} - -func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_ConnectReason) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_ConnectReason(num) - return nil -} - -// Deprecated: Use ClientPayload_ConnectReason.Descriptor instead. -func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 3} -} - -type ClientPayload_WebInfo_WebSubPlatform int32 - -const ( - ClientPayload_WebInfo_WEB_BROWSER ClientPayload_WebInfo_WebSubPlatform = 0 - ClientPayload_WebInfo_APP_STORE ClientPayload_WebInfo_WebSubPlatform = 1 - ClientPayload_WebInfo_WIN_STORE ClientPayload_WebInfo_WebSubPlatform = 2 - ClientPayload_WebInfo_DARWIN ClientPayload_WebInfo_WebSubPlatform = 3 - ClientPayload_WebInfo_WIN32 ClientPayload_WebInfo_WebSubPlatform = 4 -) - -// Enum value maps for ClientPayload_WebInfo_WebSubPlatform. -var ( - ClientPayload_WebInfo_WebSubPlatform_name = map[int32]string{ - 0: "WEB_BROWSER", - 1: "APP_STORE", - 2: "WIN_STORE", - 3: "DARWIN", - 4: "WIN32", - } - ClientPayload_WebInfo_WebSubPlatform_value = map[string]int32{ - "WEB_BROWSER": 0, - "APP_STORE": 1, - "WIN_STORE": 2, - "DARWIN": 3, - "WIN32": 4, - } -) - -func (x ClientPayload_WebInfo_WebSubPlatform) Enum() *ClientPayload_WebInfo_WebSubPlatform { - p := new(ClientPayload_WebInfo_WebSubPlatform) - *p = x - return p -} - -func (x ClientPayload_WebInfo_WebSubPlatform) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[70].Descriptor() -} - -func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[70] -} - -func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_WebInfo_WebSubPlatform) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_WebInfo_WebSubPlatform(num) - return nil -} - -// Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead. -func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0, 0} -} - -type ClientPayload_UserAgent_ReleaseChannel int32 - -const ( - ClientPayload_UserAgent_RELEASE ClientPayload_UserAgent_ReleaseChannel = 0 - ClientPayload_UserAgent_BETA ClientPayload_UserAgent_ReleaseChannel = 1 - ClientPayload_UserAgent_ALPHA ClientPayload_UserAgent_ReleaseChannel = 2 - ClientPayload_UserAgent_DEBUG ClientPayload_UserAgent_ReleaseChannel = 3 -) - -// Enum value maps for ClientPayload_UserAgent_ReleaseChannel. -var ( - ClientPayload_UserAgent_ReleaseChannel_name = map[int32]string{ - 0: "RELEASE", - 1: "BETA", - 2: "ALPHA", - 3: "DEBUG", - } - ClientPayload_UserAgent_ReleaseChannel_value = map[string]int32{ - "RELEASE": 0, - "BETA": 1, - "ALPHA": 2, - "DEBUG": 3, - } -) - -func (x ClientPayload_UserAgent_ReleaseChannel) Enum() *ClientPayload_UserAgent_ReleaseChannel { - p := new(ClientPayload_UserAgent_ReleaseChannel) - *p = x - return p -} - -func (x ClientPayload_UserAgent_ReleaseChannel) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[71].Descriptor() -} - -func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[71] -} - -func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_UserAgent_ReleaseChannel) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_UserAgent_ReleaseChannel(num) - return nil -} - -// Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead. -func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 0} -} - -type ClientPayload_UserAgent_Platform int32 - -const ( - ClientPayload_UserAgent_ANDROID ClientPayload_UserAgent_Platform = 0 - ClientPayload_UserAgent_IOS ClientPayload_UserAgent_Platform = 1 - ClientPayload_UserAgent_WINDOWS_PHONE ClientPayload_UserAgent_Platform = 2 - ClientPayload_UserAgent_BLACKBERRY ClientPayload_UserAgent_Platform = 3 - ClientPayload_UserAgent_BLACKBERRYX ClientPayload_UserAgent_Platform = 4 - ClientPayload_UserAgent_S40 ClientPayload_UserAgent_Platform = 5 - ClientPayload_UserAgent_S60 ClientPayload_UserAgent_Platform = 6 - ClientPayload_UserAgent_PYTHON_CLIENT ClientPayload_UserAgent_Platform = 7 - ClientPayload_UserAgent_TIZEN ClientPayload_UserAgent_Platform = 8 - ClientPayload_UserAgent_ENTERPRISE ClientPayload_UserAgent_Platform = 9 - ClientPayload_UserAgent_SMB_ANDROID ClientPayload_UserAgent_Platform = 10 - ClientPayload_UserAgent_KAIOS ClientPayload_UserAgent_Platform = 11 - ClientPayload_UserAgent_SMB_IOS ClientPayload_UserAgent_Platform = 12 - ClientPayload_UserAgent_WINDOWS ClientPayload_UserAgent_Platform = 13 - ClientPayload_UserAgent_WEB ClientPayload_UserAgent_Platform = 14 - ClientPayload_UserAgent_PORTAL ClientPayload_UserAgent_Platform = 15 - ClientPayload_UserAgent_GREEN_ANDROID ClientPayload_UserAgent_Platform = 16 - ClientPayload_UserAgent_GREEN_IPHONE ClientPayload_UserAgent_Platform = 17 - ClientPayload_UserAgent_BLUE_ANDROID ClientPayload_UserAgent_Platform = 18 - ClientPayload_UserAgent_BLUE_IPHONE ClientPayload_UserAgent_Platform = 19 - ClientPayload_UserAgent_FBLITE_ANDROID ClientPayload_UserAgent_Platform = 20 - ClientPayload_UserAgent_MLITE_ANDROID ClientPayload_UserAgent_Platform = 21 - ClientPayload_UserAgent_IGLITE_ANDROID ClientPayload_UserAgent_Platform = 22 - ClientPayload_UserAgent_PAGE ClientPayload_UserAgent_Platform = 23 - ClientPayload_UserAgent_MACOS ClientPayload_UserAgent_Platform = 24 - ClientPayload_UserAgent_OCULUS_MSG ClientPayload_UserAgent_Platform = 25 - ClientPayload_UserAgent_OCULUS_CALL ClientPayload_UserAgent_Platform = 26 - ClientPayload_UserAgent_MILAN ClientPayload_UserAgent_Platform = 27 - ClientPayload_UserAgent_CAPI ClientPayload_UserAgent_Platform = 28 - ClientPayload_UserAgent_WEAROS ClientPayload_UserAgent_Platform = 29 - ClientPayload_UserAgent_ARDEVICE ClientPayload_UserAgent_Platform = 30 - ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31 - ClientPayload_UserAgent_BLUE_WEB ClientPayload_UserAgent_Platform = 32 - ClientPayload_UserAgent_IPAD ClientPayload_UserAgent_Platform = 33 - ClientPayload_UserAgent_TEST ClientPayload_UserAgent_Platform = 34 - ClientPayload_UserAgent_SMART_GLASSES ClientPayload_UserAgent_Platform = 35 -) - -// Enum value maps for ClientPayload_UserAgent_Platform. -var ( - ClientPayload_UserAgent_Platform_name = map[int32]string{ - 0: "ANDROID", - 1: "IOS", - 2: "WINDOWS_PHONE", - 3: "BLACKBERRY", - 4: "BLACKBERRYX", - 5: "S40", - 6: "S60", - 7: "PYTHON_CLIENT", - 8: "TIZEN", - 9: "ENTERPRISE", - 10: "SMB_ANDROID", - 11: "KAIOS", - 12: "SMB_IOS", - 13: "WINDOWS", - 14: "WEB", - 15: "PORTAL", - 16: "GREEN_ANDROID", - 17: "GREEN_IPHONE", - 18: "BLUE_ANDROID", - 19: "BLUE_IPHONE", - 20: "FBLITE_ANDROID", - 21: "MLITE_ANDROID", - 22: "IGLITE_ANDROID", - 23: "PAGE", - 24: "MACOS", - 25: "OCULUS_MSG", - 26: "OCULUS_CALL", - 27: "MILAN", - 28: "CAPI", - 29: "WEAROS", - 30: "ARDEVICE", - 31: "VRDEVICE", - 32: "BLUE_WEB", - 33: "IPAD", - 34: "TEST", - 35: "SMART_GLASSES", - } - ClientPayload_UserAgent_Platform_value = map[string]int32{ - "ANDROID": 0, - "IOS": 1, - "WINDOWS_PHONE": 2, - "BLACKBERRY": 3, - "BLACKBERRYX": 4, - "S40": 5, - "S60": 6, - "PYTHON_CLIENT": 7, - "TIZEN": 8, - "ENTERPRISE": 9, - "SMB_ANDROID": 10, - "KAIOS": 11, - "SMB_IOS": 12, - "WINDOWS": 13, - "WEB": 14, - "PORTAL": 15, - "GREEN_ANDROID": 16, - "GREEN_IPHONE": 17, - "BLUE_ANDROID": 18, - "BLUE_IPHONE": 19, - "FBLITE_ANDROID": 20, - "MLITE_ANDROID": 21, - "IGLITE_ANDROID": 22, - "PAGE": 23, - "MACOS": 24, - "OCULUS_MSG": 25, - "OCULUS_CALL": 26, - "MILAN": 27, - "CAPI": 28, - "WEAROS": 29, - "ARDEVICE": 30, - "VRDEVICE": 31, - "BLUE_WEB": 32, - "IPAD": 33, - "TEST": 34, - "SMART_GLASSES": 35, - } -) - -func (x ClientPayload_UserAgent_Platform) Enum() *ClientPayload_UserAgent_Platform { - p := new(ClientPayload_UserAgent_Platform) - *p = x - return p -} - -func (x ClientPayload_UserAgent_Platform) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[72].Descriptor() -} - -func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[72] -} - -func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_UserAgent_Platform) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_UserAgent_Platform(num) - return nil -} - -// Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead. -func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 1} -} - -type ClientPayload_UserAgent_DeviceType int32 - -const ( - ClientPayload_UserAgent_PHONE ClientPayload_UserAgent_DeviceType = 0 - ClientPayload_UserAgent_TABLET ClientPayload_UserAgent_DeviceType = 1 - ClientPayload_UserAgent_DESKTOP ClientPayload_UserAgent_DeviceType = 2 - ClientPayload_UserAgent_WEARABLE ClientPayload_UserAgent_DeviceType = 3 - ClientPayload_UserAgent_VR ClientPayload_UserAgent_DeviceType = 4 -) - -// Enum value maps for ClientPayload_UserAgent_DeviceType. -var ( - ClientPayload_UserAgent_DeviceType_name = map[int32]string{ - 0: "PHONE", - 1: "TABLET", - 2: "DESKTOP", - 3: "WEARABLE", - 4: "VR", - } - ClientPayload_UserAgent_DeviceType_value = map[string]int32{ - "PHONE": 0, - "TABLET": 1, - "DESKTOP": 2, - "WEARABLE": 3, - "VR": 4, - } -) - -func (x ClientPayload_UserAgent_DeviceType) Enum() *ClientPayload_UserAgent_DeviceType { - p := new(ClientPayload_UserAgent_DeviceType) - *p = x - return p -} - -func (x ClientPayload_UserAgent_DeviceType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_UserAgent_DeviceType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[73].Descriptor() -} - -func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[73] -} - -func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_UserAgent_DeviceType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_UserAgent_DeviceType(num) - return nil -} - -// Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead. -func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 2} -} - -type ClientPayload_DNSSource_DNSResolutionMethod int32 - -const ( - ClientPayload_DNSSource_SYSTEM ClientPayload_DNSSource_DNSResolutionMethod = 0 - ClientPayload_DNSSource_GOOGLE ClientPayload_DNSSource_DNSResolutionMethod = 1 - ClientPayload_DNSSource_HARDCODED ClientPayload_DNSSource_DNSResolutionMethod = 2 - ClientPayload_DNSSource_OVERRIDE ClientPayload_DNSSource_DNSResolutionMethod = 3 - ClientPayload_DNSSource_FALLBACK ClientPayload_DNSSource_DNSResolutionMethod = 4 -) - -// Enum value maps for ClientPayload_DNSSource_DNSResolutionMethod. -var ( - ClientPayload_DNSSource_DNSResolutionMethod_name = map[int32]string{ - 0: "SYSTEM", - 1: "GOOGLE", - 2: "HARDCODED", - 3: "OVERRIDE", - 4: "FALLBACK", - } - ClientPayload_DNSSource_DNSResolutionMethod_value = map[string]int32{ - "SYSTEM": 0, - "GOOGLE": 1, - "HARDCODED": 2, - "OVERRIDE": 3, - "FALLBACK": 4, - } -) - -func (x ClientPayload_DNSSource_DNSResolutionMethod) Enum() *ClientPayload_DNSSource_DNSResolutionMethod { - p := new(ClientPayload_DNSSource_DNSResolutionMethod) - *p = x - return p -} - -func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[74].Descriptor() -} - -func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[74] -} - -func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ClientPayload_DNSSource_DNSResolutionMethod) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ClientPayload_DNSSource_DNSResolutionMethod(num) - return nil -} - -// Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead. -func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 4, 0} -} - -type WebMessageInfo_StubType int32 - -const ( - WebMessageInfo_UNKNOWN WebMessageInfo_StubType = 0 - WebMessageInfo_REVOKE WebMessageInfo_StubType = 1 - WebMessageInfo_CIPHERTEXT WebMessageInfo_StubType = 2 - WebMessageInfo_FUTUREPROOF WebMessageInfo_StubType = 3 - WebMessageInfo_NON_VERIFIED_TRANSITION WebMessageInfo_StubType = 4 - WebMessageInfo_UNVERIFIED_TRANSITION WebMessageInfo_StubType = 5 - WebMessageInfo_VERIFIED_TRANSITION WebMessageInfo_StubType = 6 - WebMessageInfo_VERIFIED_LOW_UNKNOWN WebMessageInfo_StubType = 7 - WebMessageInfo_VERIFIED_HIGH WebMessageInfo_StubType = 8 - WebMessageInfo_VERIFIED_INITIAL_UNKNOWN WebMessageInfo_StubType = 9 - WebMessageInfo_VERIFIED_INITIAL_LOW WebMessageInfo_StubType = 10 - WebMessageInfo_VERIFIED_INITIAL_HIGH WebMessageInfo_StubType = 11 - WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_NONE WebMessageInfo_StubType = 12 - WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_HIGH WebMessageInfo_StubType = 13 - WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_LOW WebMessageInfo_StubType = 14 - WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_UNKNOWN WebMessageInfo_StubType = 15 - WebMessageInfo_VERIFIED_TRANSITION_UNKNOWN_TO_LOW WebMessageInfo_StubType = 16 - WebMessageInfo_VERIFIED_TRANSITION_LOW_TO_UNKNOWN WebMessageInfo_StubType = 17 - WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_LOW WebMessageInfo_StubType = 18 - WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_UNKNOWN WebMessageInfo_StubType = 19 - WebMessageInfo_GROUP_CREATE WebMessageInfo_StubType = 20 - WebMessageInfo_GROUP_CHANGE_SUBJECT WebMessageInfo_StubType = 21 - WebMessageInfo_GROUP_CHANGE_ICON WebMessageInfo_StubType = 22 - WebMessageInfo_GROUP_CHANGE_INVITE_LINK WebMessageInfo_StubType = 23 - WebMessageInfo_GROUP_CHANGE_DESCRIPTION WebMessageInfo_StubType = 24 - WebMessageInfo_GROUP_CHANGE_RESTRICT WebMessageInfo_StubType = 25 - WebMessageInfo_GROUP_CHANGE_ANNOUNCE WebMessageInfo_StubType = 26 - WebMessageInfo_GROUP_PARTICIPANT_ADD WebMessageInfo_StubType = 27 - WebMessageInfo_GROUP_PARTICIPANT_REMOVE WebMessageInfo_StubType = 28 - WebMessageInfo_GROUP_PARTICIPANT_PROMOTE WebMessageInfo_StubType = 29 - WebMessageInfo_GROUP_PARTICIPANT_DEMOTE WebMessageInfo_StubType = 30 - WebMessageInfo_GROUP_PARTICIPANT_INVITE WebMessageInfo_StubType = 31 - WebMessageInfo_GROUP_PARTICIPANT_LEAVE WebMessageInfo_StubType = 32 - WebMessageInfo_GROUP_PARTICIPANT_CHANGE_NUMBER WebMessageInfo_StubType = 33 - WebMessageInfo_BROADCAST_CREATE WebMessageInfo_StubType = 34 - WebMessageInfo_BROADCAST_ADD WebMessageInfo_StubType = 35 - WebMessageInfo_BROADCAST_REMOVE WebMessageInfo_StubType = 36 - WebMessageInfo_GENERIC_NOTIFICATION WebMessageInfo_StubType = 37 - WebMessageInfo_E2E_IDENTITY_CHANGED WebMessageInfo_StubType = 38 - WebMessageInfo_E2E_ENCRYPTED WebMessageInfo_StubType = 39 - WebMessageInfo_CALL_MISSED_VOICE WebMessageInfo_StubType = 40 - WebMessageInfo_CALL_MISSED_VIDEO WebMessageInfo_StubType = 41 - WebMessageInfo_INDIVIDUAL_CHANGE_NUMBER WebMessageInfo_StubType = 42 - WebMessageInfo_GROUP_DELETE WebMessageInfo_StubType = 43 - WebMessageInfo_GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE WebMessageInfo_StubType = 44 - WebMessageInfo_CALL_MISSED_GROUP_VOICE WebMessageInfo_StubType = 45 - WebMessageInfo_CALL_MISSED_GROUP_VIDEO WebMessageInfo_StubType = 46 - WebMessageInfo_PAYMENT_CIPHERTEXT WebMessageInfo_StubType = 47 - WebMessageInfo_PAYMENT_FUTUREPROOF WebMessageInfo_StubType = 48 - WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED WebMessageInfo_StubType = 49 - WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED WebMessageInfo_StubType = 50 - WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED WebMessageInfo_StubType = 51 - WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP WebMessageInfo_StubType = 52 - WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP WebMessageInfo_StubType = 53 - WebMessageInfo_PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER WebMessageInfo_StubType = 54 - WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_REMINDER WebMessageInfo_StubType = 55 - WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_INVITATION WebMessageInfo_StubType = 56 - WebMessageInfo_PAYMENT_ACTION_REQUEST_DECLINED WebMessageInfo_StubType = 57 - WebMessageInfo_PAYMENT_ACTION_REQUEST_EXPIRED WebMessageInfo_StubType = 58 - WebMessageInfo_PAYMENT_ACTION_REQUEST_CANCELLED WebMessageInfo_StubType = 59 - WebMessageInfo_BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM WebMessageInfo_StubType = 60 - WebMessageInfo_BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP WebMessageInfo_StubType = 61 - WebMessageInfo_BIZ_INTRO_TOP WebMessageInfo_StubType = 62 - WebMessageInfo_BIZ_INTRO_BOTTOM WebMessageInfo_StubType = 63 - WebMessageInfo_BIZ_NAME_CHANGE WebMessageInfo_StubType = 64 - WebMessageInfo_BIZ_MOVE_TO_CONSUMER_APP WebMessageInfo_StubType = 65 - WebMessageInfo_BIZ_TWO_TIER_MIGRATION_TOP WebMessageInfo_StubType = 66 - WebMessageInfo_BIZ_TWO_TIER_MIGRATION_BOTTOM WebMessageInfo_StubType = 67 - WebMessageInfo_OVERSIZED WebMessageInfo_StubType = 68 - WebMessageInfo_GROUP_CHANGE_NO_FREQUENTLY_FORWARDED WebMessageInfo_StubType = 69 - WebMessageInfo_GROUP_V4_ADD_INVITE_SENT WebMessageInfo_StubType = 70 - WebMessageInfo_GROUP_PARTICIPANT_ADD_REQUEST_JOIN WebMessageInfo_StubType = 71 - WebMessageInfo_CHANGE_EPHEMERAL_SETTING WebMessageInfo_StubType = 72 - WebMessageInfo_E2E_DEVICE_CHANGED WebMessageInfo_StubType = 73 - WebMessageInfo_VIEWED_ONCE WebMessageInfo_StubType = 74 - WebMessageInfo_E2E_ENCRYPTED_NOW WebMessageInfo_StubType = 75 - WebMessageInfo_BLUE_MSG_BSP_FB_TO_BSP_PREMISE WebMessageInfo_StubType = 76 - WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_FB WebMessageInfo_StubType = 77 - WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_PREMISE WebMessageInfo_StubType = 78 - WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED WebMessageInfo_StubType = 79 - WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 80 - WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED WebMessageInfo_StubType = 81 - WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 82 - WebMessageInfo_BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE WebMessageInfo_StubType = 83 - WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 84 - WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 85 - WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 86 - WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 87 - WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED WebMessageInfo_StubType = 88 - WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 89 - WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 90 - WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 91 - WebMessageInfo_BLUE_MSG_SELF_FB_TO_BSP_PREMISE WebMessageInfo_StubType = 92 - WebMessageInfo_BLUE_MSG_SELF_FB_TO_SELF_PREMISE WebMessageInfo_StubType = 93 - WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 94 - WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 95 - WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED WebMessageInfo_StubType = 96 - WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 97 - WebMessageInfo_BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE WebMessageInfo_StubType = 98 - WebMessageInfo_BLUE_MSG_SELF_PREMISE_UNVERIFIED WebMessageInfo_StubType = 99 - WebMessageInfo_BLUE_MSG_SELF_PREMISE_VERIFIED WebMessageInfo_StubType = 100 - WebMessageInfo_BLUE_MSG_TO_BSP_FB WebMessageInfo_StubType = 101 - WebMessageInfo_BLUE_MSG_TO_CONSUMER WebMessageInfo_StubType = 102 - WebMessageInfo_BLUE_MSG_TO_SELF_FB WebMessageInfo_StubType = 103 - WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED WebMessageInfo_StubType = 104 - WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 105 - WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED WebMessageInfo_StubType = 106 - WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_VERIFIED WebMessageInfo_StubType = 107 - WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED WebMessageInfo_StubType = 108 - WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 109 - WebMessageInfo_BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 110 - WebMessageInfo_BLUE_MSG_VERIFIED_TO_UNVERIFIED WebMessageInfo_StubType = 111 - WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 112 - WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED WebMessageInfo_StubType = 113 - WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 114 - WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED WebMessageInfo_StubType = 115 - WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED WebMessageInfo_StubType = 116 - WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED WebMessageInfo_StubType = 117 - WebMessageInfo_E2E_IDENTITY_UNAVAILABLE WebMessageInfo_StubType = 118 - WebMessageInfo_GROUP_CREATING WebMessageInfo_StubType = 119 - WebMessageInfo_GROUP_CREATE_FAILED WebMessageInfo_StubType = 120 - WebMessageInfo_GROUP_BOUNCED WebMessageInfo_StubType = 121 - WebMessageInfo_BLOCK_CONTACT WebMessageInfo_StubType = 122 - WebMessageInfo_EPHEMERAL_SETTING_NOT_APPLIED WebMessageInfo_StubType = 123 - WebMessageInfo_SYNC_FAILED WebMessageInfo_StubType = 124 - WebMessageInfo_SYNCING WebMessageInfo_StubType = 125 - WebMessageInfo_BIZ_PRIVACY_MODE_INIT_FB WebMessageInfo_StubType = 126 - WebMessageInfo_BIZ_PRIVACY_MODE_INIT_BSP WebMessageInfo_StubType = 127 - WebMessageInfo_BIZ_PRIVACY_MODE_TO_FB WebMessageInfo_StubType = 128 - WebMessageInfo_BIZ_PRIVACY_MODE_TO_BSP WebMessageInfo_StubType = 129 - WebMessageInfo_DISAPPEARING_MODE WebMessageInfo_StubType = 130 - WebMessageInfo_E2E_DEVICE_FETCH_FAILED WebMessageInfo_StubType = 131 - WebMessageInfo_ADMIN_REVOKE WebMessageInfo_StubType = 132 - WebMessageInfo_GROUP_INVITE_LINK_GROWTH_LOCKED WebMessageInfo_StubType = 133 - WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP WebMessageInfo_StubType = 134 - WebMessageInfo_COMMUNITY_LINK_SIBLING_GROUP WebMessageInfo_StubType = 135 - WebMessageInfo_COMMUNITY_LINK_SUB_GROUP WebMessageInfo_StubType = 136 - WebMessageInfo_COMMUNITY_UNLINK_PARENT_GROUP WebMessageInfo_StubType = 137 - WebMessageInfo_COMMUNITY_UNLINK_SIBLING_GROUP WebMessageInfo_StubType = 138 - WebMessageInfo_COMMUNITY_UNLINK_SUB_GROUP WebMessageInfo_StubType = 139 - WebMessageInfo_GROUP_PARTICIPANT_ACCEPT WebMessageInfo_StubType = 140 - WebMessageInfo_GROUP_PARTICIPANT_LINKED_GROUP_JOIN WebMessageInfo_StubType = 141 - WebMessageInfo_COMMUNITY_CREATE WebMessageInfo_StubType = 142 - WebMessageInfo_EPHEMERAL_KEEP_IN_CHAT WebMessageInfo_StubType = 143 - WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST WebMessageInfo_StubType = 144 - WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE WebMessageInfo_StubType = 145 - WebMessageInfo_INTEGRITY_UNLINK_PARENT_GROUP WebMessageInfo_StubType = 146 - WebMessageInfo_COMMUNITY_PARTICIPANT_PROMOTE WebMessageInfo_StubType = 147 - WebMessageInfo_COMMUNITY_PARTICIPANT_DEMOTE WebMessageInfo_StubType = 148 - WebMessageInfo_COMMUNITY_PARENT_GROUP_DELETED WebMessageInfo_StubType = 149 - WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL WebMessageInfo_StubType = 150 - WebMessageInfo_GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP WebMessageInfo_StubType = 151 - WebMessageInfo_MASKED_THREAD_CREATED WebMessageInfo_StubType = 152 - WebMessageInfo_MASKED_THREAD_UNMASKED WebMessageInfo_StubType = 153 - WebMessageInfo_BIZ_CHAT_ASSIGNMENT WebMessageInfo_StubType = 154 - WebMessageInfo_CHAT_PSA WebMessageInfo_StubType = 155 - WebMessageInfo_CHAT_POLL_CREATION_MESSAGE WebMessageInfo_StubType = 156 - WebMessageInfo_CAG_MASKED_THREAD_CREATED WebMessageInfo_StubType = 157 - WebMessageInfo_COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED WebMessageInfo_StubType = 158 - WebMessageInfo_CAG_INVITE_AUTO_ADD WebMessageInfo_StubType = 159 - WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN WebMessageInfo_StubType = 160 - WebMessageInfo_CAG_INVITE_AUTO_JOINED WebMessageInfo_StubType = 161 - WebMessageInfo_SCHEDULED_CALL_START_MESSAGE WebMessageInfo_StubType = 162 - WebMessageInfo_COMMUNITY_INVITE_RICH WebMessageInfo_StubType = 163 - WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH WebMessageInfo_StubType = 164 - WebMessageInfo_SUB_GROUP_INVITE_RICH WebMessageInfo_StubType = 165 - WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 166 - WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH WebMessageInfo_StubType = 167 - WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 168 - WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO WebMessageInfo_StubType = 169 - WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO WebMessageInfo_StubType = 170 - WebMessageInfo_GROUP_MEMBER_ADD_MODE WebMessageInfo_StubType = 171 - WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD WebMessageInfo_StubType = 172 - WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION WebMessageInfo_StubType = 173 - WebMessageInfo_SENDER_INVITE WebMessageInfo_StubType = 174 - WebMessageInfo_RECEIVER_INVITE WebMessageInfo_StubType = 175 - WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS WebMessageInfo_StubType = 176 - WebMessageInfo_PINNED_MESSAGE_IN_CHAT WebMessageInfo_StubType = 177 - WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER WebMessageInfo_StubType = 178 - WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY WebMessageInfo_StubType = 179 - WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE WebMessageInfo_StubType = 180 - WebMessageInfo_LINKED_GROUP_CALL_START WebMessageInfo_StubType = 181 - WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS WebMessageInfo_StubType = 182 - WebMessageInfo_EMPTY_SUBGROUP_CREATE WebMessageInfo_StubType = 183 - WebMessageInfo_SCHEDULED_CALL_CANCEL WebMessageInfo_StubType = 184 - WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH WebMessageInfo_StubType = 185 - WebMessageInfo_GROUP_CHANGE_RECENT_HISTORY_SHARING WebMessageInfo_StubType = 186 - WebMessageInfo_PAID_MESSAGE_SERVER_CAMPAIGN_ID WebMessageInfo_StubType = 187 - WebMessageInfo_GENERAL_CHAT_CREATE WebMessageInfo_StubType = 188 - WebMessageInfo_GENERAL_CHAT_ADD WebMessageInfo_StubType = 189 - WebMessageInfo_GENERAL_CHAT_AUTO_ADD_DISABLED WebMessageInfo_StubType = 190 - WebMessageInfo_SUGGESTED_SUBGROUP_ANNOUNCE WebMessageInfo_StubType = 191 - WebMessageInfo_BIZ_BOT_1P_MESSAGING_ENABLED WebMessageInfo_StubType = 192 - WebMessageInfo_CHANGE_USERNAME WebMessageInfo_StubType = 193 - WebMessageInfo_BIZ_COEX_PRIVACY_INIT_SELF WebMessageInfo_StubType = 194 - WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION_SELF WebMessageInfo_StubType = 195 - WebMessageInfo_SUPPORT_AI_EDUCATION WebMessageInfo_StubType = 196 - WebMessageInfo_BIZ_BOT_3P_MESSAGING_ENABLED WebMessageInfo_StubType = 197 - WebMessageInfo_REMINDER_SETUP_MESSAGE WebMessageInfo_StubType = 198 - WebMessageInfo_REMINDER_SENT_MESSAGE WebMessageInfo_StubType = 199 - WebMessageInfo_REMINDER_CANCEL_MESSAGE WebMessageInfo_StubType = 200 - WebMessageInfo_BIZ_COEX_PRIVACY_INIT WebMessageInfo_StubType = 201 - WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION WebMessageInfo_StubType = 202 - WebMessageInfo_GROUP_DEACTIVATED WebMessageInfo_StubType = 203 - WebMessageInfo_COMMUNITY_DEACTIVATE_SIBLING_GROUP WebMessageInfo_StubType = 204 -) - -// Enum value maps for WebMessageInfo_StubType. -var ( - WebMessageInfo_StubType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "REVOKE", - 2: "CIPHERTEXT", - 3: "FUTUREPROOF", - 4: "NON_VERIFIED_TRANSITION", - 5: "UNVERIFIED_TRANSITION", - 6: "VERIFIED_TRANSITION", - 7: "VERIFIED_LOW_UNKNOWN", - 8: "VERIFIED_HIGH", - 9: "VERIFIED_INITIAL_UNKNOWN", - 10: "VERIFIED_INITIAL_LOW", - 11: "VERIFIED_INITIAL_HIGH", - 12: "VERIFIED_TRANSITION_ANY_TO_NONE", - 13: "VERIFIED_TRANSITION_ANY_TO_HIGH", - 14: "VERIFIED_TRANSITION_HIGH_TO_LOW", - 15: "VERIFIED_TRANSITION_HIGH_TO_UNKNOWN", - 16: "VERIFIED_TRANSITION_UNKNOWN_TO_LOW", - 17: "VERIFIED_TRANSITION_LOW_TO_UNKNOWN", - 18: "VERIFIED_TRANSITION_NONE_TO_LOW", - 19: "VERIFIED_TRANSITION_NONE_TO_UNKNOWN", - 20: "GROUP_CREATE", - 21: "GROUP_CHANGE_SUBJECT", - 22: "GROUP_CHANGE_ICON", - 23: "GROUP_CHANGE_INVITE_LINK", - 24: "GROUP_CHANGE_DESCRIPTION", - 25: "GROUP_CHANGE_RESTRICT", - 26: "GROUP_CHANGE_ANNOUNCE", - 27: "GROUP_PARTICIPANT_ADD", - 28: "GROUP_PARTICIPANT_REMOVE", - 29: "GROUP_PARTICIPANT_PROMOTE", - 30: "GROUP_PARTICIPANT_DEMOTE", - 31: "GROUP_PARTICIPANT_INVITE", - 32: "GROUP_PARTICIPANT_LEAVE", - 33: "GROUP_PARTICIPANT_CHANGE_NUMBER", - 34: "BROADCAST_CREATE", - 35: "BROADCAST_ADD", - 36: "BROADCAST_REMOVE", - 37: "GENERIC_NOTIFICATION", - 38: "E2E_IDENTITY_CHANGED", - 39: "E2E_ENCRYPTED", - 40: "CALL_MISSED_VOICE", - 41: "CALL_MISSED_VIDEO", - 42: "INDIVIDUAL_CHANGE_NUMBER", - 43: "GROUP_DELETE", - 44: "GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE", - 45: "CALL_MISSED_GROUP_VOICE", - 46: "CALL_MISSED_GROUP_VIDEO", - 47: "PAYMENT_CIPHERTEXT", - 48: "PAYMENT_FUTUREPROOF", - 49: "PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED", - 50: "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED", - 51: "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED", - 52: "PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP", - 53: "PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP", - 54: "PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER", - 55: "PAYMENT_ACTION_SEND_PAYMENT_REMINDER", - 56: "PAYMENT_ACTION_SEND_PAYMENT_INVITATION", - 57: "PAYMENT_ACTION_REQUEST_DECLINED", - 58: "PAYMENT_ACTION_REQUEST_EXPIRED", - 59: "PAYMENT_ACTION_REQUEST_CANCELLED", - 60: "BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM", - 61: "BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP", - 62: "BIZ_INTRO_TOP", - 63: "BIZ_INTRO_BOTTOM", - 64: "BIZ_NAME_CHANGE", - 65: "BIZ_MOVE_TO_CONSUMER_APP", - 66: "BIZ_TWO_TIER_MIGRATION_TOP", - 67: "BIZ_TWO_TIER_MIGRATION_BOTTOM", - 68: "OVERSIZED", - 69: "GROUP_CHANGE_NO_FREQUENTLY_FORWARDED", - 70: "GROUP_V4_ADD_INVITE_SENT", - 71: "GROUP_PARTICIPANT_ADD_REQUEST_JOIN", - 72: "CHANGE_EPHEMERAL_SETTING", - 73: "E2E_DEVICE_CHANGED", - 74: "VIEWED_ONCE", - 75: "E2E_ENCRYPTED_NOW", - 76: "BLUE_MSG_BSP_FB_TO_BSP_PREMISE", - 77: "BLUE_MSG_BSP_FB_TO_SELF_FB", - 78: "BLUE_MSG_BSP_FB_TO_SELF_PREMISE", - 79: "BLUE_MSG_BSP_FB_UNVERIFIED", - 80: "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", - 81: "BLUE_MSG_BSP_FB_VERIFIED", - 82: "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", - 83: "BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE", - 84: "BLUE_MSG_BSP_PREMISE_UNVERIFIED", - 85: "BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", - 86: "BLUE_MSG_BSP_PREMISE_VERIFIED", - 87: "BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", - 88: "BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED", - 89: "BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED", - 90: "BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED", - 91: "BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED", - 92: "BLUE_MSG_SELF_FB_TO_BSP_PREMISE", - 93: "BLUE_MSG_SELF_FB_TO_SELF_PREMISE", - 94: "BLUE_MSG_SELF_FB_UNVERIFIED", - 95: "BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED", - 96: "BLUE_MSG_SELF_FB_VERIFIED", - 97: "BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED", - 98: "BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE", - 99: "BLUE_MSG_SELF_PREMISE_UNVERIFIED", - 100: "BLUE_MSG_SELF_PREMISE_VERIFIED", - 101: "BLUE_MSG_TO_BSP_FB", - 102: "BLUE_MSG_TO_CONSUMER", - 103: "BLUE_MSG_TO_SELF_FB", - 104: "BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED", - 105: "BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", - 106: "BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED", - 107: "BLUE_MSG_UNVERIFIED_TO_VERIFIED", - 108: "BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED", - 109: "BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", - 110: "BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED", - 111: "BLUE_MSG_VERIFIED_TO_UNVERIFIED", - 112: "BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", - 113: "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED", - 114: "BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", - 115: "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED", - 116: "BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED", - 117: "BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED", - 118: "E2E_IDENTITY_UNAVAILABLE", - 119: "GROUP_CREATING", - 120: "GROUP_CREATE_FAILED", - 121: "GROUP_BOUNCED", - 122: "BLOCK_CONTACT", - 123: "EPHEMERAL_SETTING_NOT_APPLIED", - 124: "SYNC_FAILED", - 125: "SYNCING", - 126: "BIZ_PRIVACY_MODE_INIT_FB", - 127: "BIZ_PRIVACY_MODE_INIT_BSP", - 128: "BIZ_PRIVACY_MODE_TO_FB", - 129: "BIZ_PRIVACY_MODE_TO_BSP", - 130: "DISAPPEARING_MODE", - 131: "E2E_DEVICE_FETCH_FAILED", - 132: "ADMIN_REVOKE", - 133: "GROUP_INVITE_LINK_GROWTH_LOCKED", - 134: "COMMUNITY_LINK_PARENT_GROUP", - 135: "COMMUNITY_LINK_SIBLING_GROUP", - 136: "COMMUNITY_LINK_SUB_GROUP", - 137: "COMMUNITY_UNLINK_PARENT_GROUP", - 138: "COMMUNITY_UNLINK_SIBLING_GROUP", - 139: "COMMUNITY_UNLINK_SUB_GROUP", - 140: "GROUP_PARTICIPANT_ACCEPT", - 141: "GROUP_PARTICIPANT_LINKED_GROUP_JOIN", - 142: "COMMUNITY_CREATE", - 143: "EPHEMERAL_KEEP_IN_CHAT", - 144: "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST", - 145: "GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE", - 146: "INTEGRITY_UNLINK_PARENT_GROUP", - 147: "COMMUNITY_PARTICIPANT_PROMOTE", - 148: "COMMUNITY_PARTICIPANT_DEMOTE", - 149: "COMMUNITY_PARENT_GROUP_DELETED", - 150: "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL", - 151: "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP", - 152: "MASKED_THREAD_CREATED", - 153: "MASKED_THREAD_UNMASKED", - 154: "BIZ_CHAT_ASSIGNMENT", - 155: "CHAT_PSA", - 156: "CHAT_POLL_CREATION_MESSAGE", - 157: "CAG_MASKED_THREAD_CREATED", - 158: "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED", - 159: "CAG_INVITE_AUTO_ADD", - 160: "BIZ_CHAT_ASSIGNMENT_UNASSIGN", - 161: "CAG_INVITE_AUTO_JOINED", - 162: "SCHEDULED_CALL_START_MESSAGE", - 163: "COMMUNITY_INVITE_RICH", - 164: "COMMUNITY_INVITE_AUTO_ADD_RICH", - 165: "SUB_GROUP_INVITE_RICH", - 166: "SUB_GROUP_PARTICIPANT_ADD_RICH", - 167: "COMMUNITY_LINK_PARENT_GROUP_RICH", - 168: "COMMUNITY_PARTICIPANT_ADD_RICH", - 169: "SILENCED_UNKNOWN_CALLER_AUDIO", - 170: "SILENCED_UNKNOWN_CALLER_VIDEO", - 171: "GROUP_MEMBER_ADD_MODE", - 172: "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD", - 173: "COMMUNITY_CHANGE_DESCRIPTION", - 174: "SENDER_INVITE", - 175: "RECEIVER_INVITE", - 176: "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS", - 177: "PINNED_MESSAGE_IN_CHAT", - 178: "PAYMENT_INVITE_SETUP_INVITER", - 179: "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY", - 180: "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE", - 181: "LINKED_GROUP_CALL_START", - 182: "REPORT_TO_ADMIN_ENABLED_STATUS", - 183: "EMPTY_SUBGROUP_CREATE", - 184: "SCHEDULED_CALL_CANCEL", - 185: "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH", - 186: "GROUP_CHANGE_RECENT_HISTORY_SHARING", - 187: "PAID_MESSAGE_SERVER_CAMPAIGN_ID", - 188: "GENERAL_CHAT_CREATE", - 189: "GENERAL_CHAT_ADD", - 190: "GENERAL_CHAT_AUTO_ADD_DISABLED", - 191: "SUGGESTED_SUBGROUP_ANNOUNCE", - 192: "BIZ_BOT_1P_MESSAGING_ENABLED", - 193: "CHANGE_USERNAME", - 194: "BIZ_COEX_PRIVACY_INIT_SELF", - 195: "BIZ_COEX_PRIVACY_TRANSITION_SELF", - 196: "SUPPORT_AI_EDUCATION", - 197: "BIZ_BOT_3P_MESSAGING_ENABLED", - 198: "REMINDER_SETUP_MESSAGE", - 199: "REMINDER_SENT_MESSAGE", - 200: "REMINDER_CANCEL_MESSAGE", - 201: "BIZ_COEX_PRIVACY_INIT", - 202: "BIZ_COEX_PRIVACY_TRANSITION", - 203: "GROUP_DEACTIVATED", - 204: "COMMUNITY_DEACTIVATE_SIBLING_GROUP", - } - WebMessageInfo_StubType_value = map[string]int32{ - "UNKNOWN": 0, - "REVOKE": 1, - "CIPHERTEXT": 2, - "FUTUREPROOF": 3, - "NON_VERIFIED_TRANSITION": 4, - "UNVERIFIED_TRANSITION": 5, - "VERIFIED_TRANSITION": 6, - "VERIFIED_LOW_UNKNOWN": 7, - "VERIFIED_HIGH": 8, - "VERIFIED_INITIAL_UNKNOWN": 9, - "VERIFIED_INITIAL_LOW": 10, - "VERIFIED_INITIAL_HIGH": 11, - "VERIFIED_TRANSITION_ANY_TO_NONE": 12, - "VERIFIED_TRANSITION_ANY_TO_HIGH": 13, - "VERIFIED_TRANSITION_HIGH_TO_LOW": 14, - "VERIFIED_TRANSITION_HIGH_TO_UNKNOWN": 15, - "VERIFIED_TRANSITION_UNKNOWN_TO_LOW": 16, - "VERIFIED_TRANSITION_LOW_TO_UNKNOWN": 17, - "VERIFIED_TRANSITION_NONE_TO_LOW": 18, - "VERIFIED_TRANSITION_NONE_TO_UNKNOWN": 19, - "GROUP_CREATE": 20, - "GROUP_CHANGE_SUBJECT": 21, - "GROUP_CHANGE_ICON": 22, - "GROUP_CHANGE_INVITE_LINK": 23, - "GROUP_CHANGE_DESCRIPTION": 24, - "GROUP_CHANGE_RESTRICT": 25, - "GROUP_CHANGE_ANNOUNCE": 26, - "GROUP_PARTICIPANT_ADD": 27, - "GROUP_PARTICIPANT_REMOVE": 28, - "GROUP_PARTICIPANT_PROMOTE": 29, - "GROUP_PARTICIPANT_DEMOTE": 30, - "GROUP_PARTICIPANT_INVITE": 31, - "GROUP_PARTICIPANT_LEAVE": 32, - "GROUP_PARTICIPANT_CHANGE_NUMBER": 33, - "BROADCAST_CREATE": 34, - "BROADCAST_ADD": 35, - "BROADCAST_REMOVE": 36, - "GENERIC_NOTIFICATION": 37, - "E2E_IDENTITY_CHANGED": 38, - "E2E_ENCRYPTED": 39, - "CALL_MISSED_VOICE": 40, - "CALL_MISSED_VIDEO": 41, - "INDIVIDUAL_CHANGE_NUMBER": 42, - "GROUP_DELETE": 43, - "GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE": 44, - "CALL_MISSED_GROUP_VOICE": 45, - "CALL_MISSED_GROUP_VIDEO": 46, - "PAYMENT_CIPHERTEXT": 47, - "PAYMENT_FUTUREPROOF": 48, - "PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED": 49, - "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED": 50, - "PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED": 51, - "PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP": 52, - "PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP": 53, - "PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER": 54, - "PAYMENT_ACTION_SEND_PAYMENT_REMINDER": 55, - "PAYMENT_ACTION_SEND_PAYMENT_INVITATION": 56, - "PAYMENT_ACTION_REQUEST_DECLINED": 57, - "PAYMENT_ACTION_REQUEST_EXPIRED": 58, - "PAYMENT_ACTION_REQUEST_CANCELLED": 59, - "BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM": 60, - "BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP": 61, - "BIZ_INTRO_TOP": 62, - "BIZ_INTRO_BOTTOM": 63, - "BIZ_NAME_CHANGE": 64, - "BIZ_MOVE_TO_CONSUMER_APP": 65, - "BIZ_TWO_TIER_MIGRATION_TOP": 66, - "BIZ_TWO_TIER_MIGRATION_BOTTOM": 67, - "OVERSIZED": 68, - "GROUP_CHANGE_NO_FREQUENTLY_FORWARDED": 69, - "GROUP_V4_ADD_INVITE_SENT": 70, - "GROUP_PARTICIPANT_ADD_REQUEST_JOIN": 71, - "CHANGE_EPHEMERAL_SETTING": 72, - "E2E_DEVICE_CHANGED": 73, - "VIEWED_ONCE": 74, - "E2E_ENCRYPTED_NOW": 75, - "BLUE_MSG_BSP_FB_TO_BSP_PREMISE": 76, - "BLUE_MSG_BSP_FB_TO_SELF_FB": 77, - "BLUE_MSG_BSP_FB_TO_SELF_PREMISE": 78, - "BLUE_MSG_BSP_FB_UNVERIFIED": 79, - "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED": 80, - "BLUE_MSG_BSP_FB_VERIFIED": 81, - "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED": 82, - "BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE": 83, - "BLUE_MSG_BSP_PREMISE_UNVERIFIED": 84, - "BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED": 85, - "BLUE_MSG_BSP_PREMISE_VERIFIED": 86, - "BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED": 87, - "BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED": 88, - "BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED": 89, - "BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED": 90, - "BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED": 91, - "BLUE_MSG_SELF_FB_TO_BSP_PREMISE": 92, - "BLUE_MSG_SELF_FB_TO_SELF_PREMISE": 93, - "BLUE_MSG_SELF_FB_UNVERIFIED": 94, - "BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED": 95, - "BLUE_MSG_SELF_FB_VERIFIED": 96, - "BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED": 97, - "BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE": 98, - "BLUE_MSG_SELF_PREMISE_UNVERIFIED": 99, - "BLUE_MSG_SELF_PREMISE_VERIFIED": 100, - "BLUE_MSG_TO_BSP_FB": 101, - "BLUE_MSG_TO_CONSUMER": 102, - "BLUE_MSG_TO_SELF_FB": 103, - "BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED": 104, - "BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED": 105, - "BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED": 106, - "BLUE_MSG_UNVERIFIED_TO_VERIFIED": 107, - "BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED": 108, - "BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED": 109, - "BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED": 110, - "BLUE_MSG_VERIFIED_TO_UNVERIFIED": 111, - "BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED": 112, - "BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED": 113, - "BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED": 114, - "BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED": 115, - "BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED": 116, - "BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED": 117, - "E2E_IDENTITY_UNAVAILABLE": 118, - "GROUP_CREATING": 119, - "GROUP_CREATE_FAILED": 120, - "GROUP_BOUNCED": 121, - "BLOCK_CONTACT": 122, - "EPHEMERAL_SETTING_NOT_APPLIED": 123, - "SYNC_FAILED": 124, - "SYNCING": 125, - "BIZ_PRIVACY_MODE_INIT_FB": 126, - "BIZ_PRIVACY_MODE_INIT_BSP": 127, - "BIZ_PRIVACY_MODE_TO_FB": 128, - "BIZ_PRIVACY_MODE_TO_BSP": 129, - "DISAPPEARING_MODE": 130, - "E2E_DEVICE_FETCH_FAILED": 131, - "ADMIN_REVOKE": 132, - "GROUP_INVITE_LINK_GROWTH_LOCKED": 133, - "COMMUNITY_LINK_PARENT_GROUP": 134, - "COMMUNITY_LINK_SIBLING_GROUP": 135, - "COMMUNITY_LINK_SUB_GROUP": 136, - "COMMUNITY_UNLINK_PARENT_GROUP": 137, - "COMMUNITY_UNLINK_SIBLING_GROUP": 138, - "COMMUNITY_UNLINK_SUB_GROUP": 139, - "GROUP_PARTICIPANT_ACCEPT": 140, - "GROUP_PARTICIPANT_LINKED_GROUP_JOIN": 141, - "COMMUNITY_CREATE": 142, - "EPHEMERAL_KEEP_IN_CHAT": 143, - "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST": 144, - "GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE": 145, - "INTEGRITY_UNLINK_PARENT_GROUP": 146, - "COMMUNITY_PARTICIPANT_PROMOTE": 147, - "COMMUNITY_PARTICIPANT_DEMOTE": 148, - "COMMUNITY_PARENT_GROUP_DELETED": 149, - "COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL": 150, - "GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP": 151, - "MASKED_THREAD_CREATED": 152, - "MASKED_THREAD_UNMASKED": 153, - "BIZ_CHAT_ASSIGNMENT": 154, - "CHAT_PSA": 155, - "CHAT_POLL_CREATION_MESSAGE": 156, - "CAG_MASKED_THREAD_CREATED": 157, - "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED": 158, - "CAG_INVITE_AUTO_ADD": 159, - "BIZ_CHAT_ASSIGNMENT_UNASSIGN": 160, - "CAG_INVITE_AUTO_JOINED": 161, - "SCHEDULED_CALL_START_MESSAGE": 162, - "COMMUNITY_INVITE_RICH": 163, - "COMMUNITY_INVITE_AUTO_ADD_RICH": 164, - "SUB_GROUP_INVITE_RICH": 165, - "SUB_GROUP_PARTICIPANT_ADD_RICH": 166, - "COMMUNITY_LINK_PARENT_GROUP_RICH": 167, - "COMMUNITY_PARTICIPANT_ADD_RICH": 168, - "SILENCED_UNKNOWN_CALLER_AUDIO": 169, - "SILENCED_UNKNOWN_CALLER_VIDEO": 170, - "GROUP_MEMBER_ADD_MODE": 171, - "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD": 172, - "COMMUNITY_CHANGE_DESCRIPTION": 173, - "SENDER_INVITE": 174, - "RECEIVER_INVITE": 175, - "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS": 176, - "PINNED_MESSAGE_IN_CHAT": 177, - "PAYMENT_INVITE_SETUP_INVITER": 178, - "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY": 179, - "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE": 180, - "LINKED_GROUP_CALL_START": 181, - "REPORT_TO_ADMIN_ENABLED_STATUS": 182, - "EMPTY_SUBGROUP_CREATE": 183, - "SCHEDULED_CALL_CANCEL": 184, - "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH": 185, - "GROUP_CHANGE_RECENT_HISTORY_SHARING": 186, - "PAID_MESSAGE_SERVER_CAMPAIGN_ID": 187, - "GENERAL_CHAT_CREATE": 188, - "GENERAL_CHAT_ADD": 189, - "GENERAL_CHAT_AUTO_ADD_DISABLED": 190, - "SUGGESTED_SUBGROUP_ANNOUNCE": 191, - "BIZ_BOT_1P_MESSAGING_ENABLED": 192, - "CHANGE_USERNAME": 193, - "BIZ_COEX_PRIVACY_INIT_SELF": 194, - "BIZ_COEX_PRIVACY_TRANSITION_SELF": 195, - "SUPPORT_AI_EDUCATION": 196, - "BIZ_BOT_3P_MESSAGING_ENABLED": 197, - "REMINDER_SETUP_MESSAGE": 198, - "REMINDER_SENT_MESSAGE": 199, - "REMINDER_CANCEL_MESSAGE": 200, - "BIZ_COEX_PRIVACY_INIT": 201, - "BIZ_COEX_PRIVACY_TRANSITION": 202, - "GROUP_DEACTIVATED": 203, - "COMMUNITY_DEACTIVATE_SIBLING_GROUP": 204, - } -) - -func (x WebMessageInfo_StubType) Enum() *WebMessageInfo_StubType { - p := new(WebMessageInfo_StubType) - *p = x - return p -} - -func (x WebMessageInfo_StubType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WebMessageInfo_StubType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[75].Descriptor() -} - -func (WebMessageInfo_StubType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[75] -} - -func (x WebMessageInfo_StubType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *WebMessageInfo_StubType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = WebMessageInfo_StubType(num) - return nil -} - -// Deprecated: Use WebMessageInfo_StubType.Descriptor instead. -func (WebMessageInfo_StubType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{193, 0} -} - -type WebMessageInfo_Status int32 - -const ( - WebMessageInfo_ERROR WebMessageInfo_Status = 0 - WebMessageInfo_PENDING WebMessageInfo_Status = 1 - WebMessageInfo_SERVER_ACK WebMessageInfo_Status = 2 - WebMessageInfo_DELIVERY_ACK WebMessageInfo_Status = 3 - WebMessageInfo_READ WebMessageInfo_Status = 4 - WebMessageInfo_PLAYED WebMessageInfo_Status = 5 -) - -// Enum value maps for WebMessageInfo_Status. -var ( - WebMessageInfo_Status_name = map[int32]string{ - 0: "ERROR", - 1: "PENDING", - 2: "SERVER_ACK", - 3: "DELIVERY_ACK", - 4: "READ", - 5: "PLAYED", - } - WebMessageInfo_Status_value = map[string]int32{ - "ERROR": 0, - "PENDING": 1, - "SERVER_ACK": 2, - "DELIVERY_ACK": 3, - "READ": 4, - "PLAYED": 5, - } -) - -func (x WebMessageInfo_Status) Enum() *WebMessageInfo_Status { - p := new(WebMessageInfo_Status) - *p = x - return p -} - -func (x WebMessageInfo_Status) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WebMessageInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[76].Descriptor() -} - -func (WebMessageInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[76] -} - -func (x WebMessageInfo_Status) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *WebMessageInfo_Status) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = WebMessageInfo_Status(num) - return nil -} - -// Deprecated: Use WebMessageInfo_Status.Descriptor instead. -func (WebMessageInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{193, 1} -} - -type WebMessageInfo_BizPrivacyStatus int32 - -const ( - WebMessageInfo_E2EE WebMessageInfo_BizPrivacyStatus = 0 - WebMessageInfo_FB WebMessageInfo_BizPrivacyStatus = 2 - WebMessageInfo_BSP WebMessageInfo_BizPrivacyStatus = 1 - WebMessageInfo_BSP_AND_FB WebMessageInfo_BizPrivacyStatus = 3 -) - -// Enum value maps for WebMessageInfo_BizPrivacyStatus. -var ( - WebMessageInfo_BizPrivacyStatus_name = map[int32]string{ - 0: "E2EE", - 2: "FB", - 1: "BSP", - 3: "BSP_AND_FB", - } - WebMessageInfo_BizPrivacyStatus_value = map[string]int32{ - "E2EE": 0, - "FB": 2, - "BSP": 1, - "BSP_AND_FB": 3, - } -) - -func (x WebMessageInfo_BizPrivacyStatus) Enum() *WebMessageInfo_BizPrivacyStatus { - p := new(WebMessageInfo_BizPrivacyStatus) - *p = x - return p -} - -func (x WebMessageInfo_BizPrivacyStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WebMessageInfo_BizPrivacyStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[77].Descriptor() -} - -func (WebMessageInfo_BizPrivacyStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[77] -} - -func (x WebMessageInfo_BizPrivacyStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *WebMessageInfo_BizPrivacyStatus) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = WebMessageInfo_BizPrivacyStatus(num) - return nil -} - -// Deprecated: Use WebMessageInfo_BizPrivacyStatus.Descriptor instead. -func (WebMessageInfo_BizPrivacyStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{193, 2} -} - -type WebFeatures_Flag int32 - -const ( - WebFeatures_NOT_STARTED WebFeatures_Flag = 0 - WebFeatures_FORCE_UPGRADE WebFeatures_Flag = 1 - WebFeatures_DEVELOPMENT WebFeatures_Flag = 2 - WebFeatures_PRODUCTION WebFeatures_Flag = 3 -) - -// Enum value maps for WebFeatures_Flag. -var ( - WebFeatures_Flag_name = map[int32]string{ - 0: "NOT_STARTED", - 1: "FORCE_UPGRADE", - 2: "DEVELOPMENT", - 3: "PRODUCTION", - } - WebFeatures_Flag_value = map[string]int32{ - "NOT_STARTED": 0, - "FORCE_UPGRADE": 1, - "DEVELOPMENT": 2, - "PRODUCTION": 3, - } -) - -func (x WebFeatures_Flag) Enum() *WebFeatures_Flag { - p := new(WebFeatures_Flag) - *p = x - return p -} - -func (x WebFeatures_Flag) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WebFeatures_Flag) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[78].Descriptor() -} - -func (WebFeatures_Flag) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[78] -} - -func (x WebFeatures_Flag) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *WebFeatures_Flag) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = WebFeatures_Flag(num) - return nil -} - -// Deprecated: Use WebFeatures_Flag.Descriptor instead. -func (WebFeatures_Flag) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{194, 0} -} - -type PinInChat_Type int32 - -const ( - PinInChat_UNKNOWN_TYPE PinInChat_Type = 0 - PinInChat_PIN_FOR_ALL PinInChat_Type = 1 - PinInChat_UNPIN_FOR_ALL PinInChat_Type = 2 -) - -// Enum value maps for PinInChat_Type. -var ( - PinInChat_Type_name = map[int32]string{ - 0: "UNKNOWN_TYPE", - 1: "PIN_FOR_ALL", - 2: "UNPIN_FOR_ALL", - } - PinInChat_Type_value = map[string]int32{ - "UNKNOWN_TYPE": 0, - "PIN_FOR_ALL": 1, - "UNPIN_FOR_ALL": 2, - } -) - -func (x PinInChat_Type) Enum() *PinInChat_Type { - p := new(PinInChat_Type) - *p = x - return p -} - -func (x PinInChat_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PinInChat_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[79].Descriptor() -} - -func (PinInChat_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[79] -} - -func (x PinInChat_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PinInChat_Type) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PinInChat_Type(num) - return nil -} - -// Deprecated: Use PinInChat_Type.Descriptor instead. -func (PinInChat_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{202, 0} -} - -type PaymentInfo_TxnStatus int32 - -const ( - PaymentInfo_UNKNOWN PaymentInfo_TxnStatus = 0 - PaymentInfo_PENDING_SETUP PaymentInfo_TxnStatus = 1 - PaymentInfo_PENDING_RECEIVER_SETUP PaymentInfo_TxnStatus = 2 - PaymentInfo_INIT PaymentInfo_TxnStatus = 3 - PaymentInfo_SUCCESS PaymentInfo_TxnStatus = 4 - PaymentInfo_COMPLETED PaymentInfo_TxnStatus = 5 - PaymentInfo_FAILED PaymentInfo_TxnStatus = 6 - PaymentInfo_FAILED_RISK PaymentInfo_TxnStatus = 7 - PaymentInfo_FAILED_PROCESSING PaymentInfo_TxnStatus = 8 - PaymentInfo_FAILED_RECEIVER_PROCESSING PaymentInfo_TxnStatus = 9 - PaymentInfo_FAILED_DA PaymentInfo_TxnStatus = 10 - PaymentInfo_FAILED_DA_FINAL PaymentInfo_TxnStatus = 11 - PaymentInfo_REFUNDED_TXN PaymentInfo_TxnStatus = 12 - PaymentInfo_REFUND_FAILED PaymentInfo_TxnStatus = 13 - PaymentInfo_REFUND_FAILED_PROCESSING PaymentInfo_TxnStatus = 14 - PaymentInfo_REFUND_FAILED_DA PaymentInfo_TxnStatus = 15 - PaymentInfo_EXPIRED_TXN PaymentInfo_TxnStatus = 16 - PaymentInfo_AUTH_CANCELED PaymentInfo_TxnStatus = 17 - PaymentInfo_AUTH_CANCEL_FAILED_PROCESSING PaymentInfo_TxnStatus = 18 - PaymentInfo_AUTH_CANCEL_FAILED PaymentInfo_TxnStatus = 19 - PaymentInfo_COLLECT_INIT PaymentInfo_TxnStatus = 20 - PaymentInfo_COLLECT_SUCCESS PaymentInfo_TxnStatus = 21 - PaymentInfo_COLLECT_FAILED PaymentInfo_TxnStatus = 22 - PaymentInfo_COLLECT_FAILED_RISK PaymentInfo_TxnStatus = 23 - PaymentInfo_COLLECT_REJECTED PaymentInfo_TxnStatus = 24 - PaymentInfo_COLLECT_EXPIRED PaymentInfo_TxnStatus = 25 - PaymentInfo_COLLECT_CANCELED PaymentInfo_TxnStatus = 26 - PaymentInfo_COLLECT_CANCELLING PaymentInfo_TxnStatus = 27 - PaymentInfo_IN_REVIEW PaymentInfo_TxnStatus = 28 - PaymentInfo_REVERSAL_SUCCESS PaymentInfo_TxnStatus = 29 - PaymentInfo_REVERSAL_PENDING PaymentInfo_TxnStatus = 30 - PaymentInfo_REFUND_PENDING PaymentInfo_TxnStatus = 31 -) - -// Enum value maps for PaymentInfo_TxnStatus. -var ( - PaymentInfo_TxnStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING_SETUP", - 2: "PENDING_RECEIVER_SETUP", - 3: "INIT", - 4: "SUCCESS", - 5: "COMPLETED", - 6: "FAILED", - 7: "FAILED_RISK", - 8: "FAILED_PROCESSING", - 9: "FAILED_RECEIVER_PROCESSING", - 10: "FAILED_DA", - 11: "FAILED_DA_FINAL", - 12: "REFUNDED_TXN", - 13: "REFUND_FAILED", - 14: "REFUND_FAILED_PROCESSING", - 15: "REFUND_FAILED_DA", - 16: "EXPIRED_TXN", - 17: "AUTH_CANCELED", - 18: "AUTH_CANCEL_FAILED_PROCESSING", - 19: "AUTH_CANCEL_FAILED", - 20: "COLLECT_INIT", - 21: "COLLECT_SUCCESS", - 22: "COLLECT_FAILED", - 23: "COLLECT_FAILED_RISK", - 24: "COLLECT_REJECTED", - 25: "COLLECT_EXPIRED", - 26: "COLLECT_CANCELED", - 27: "COLLECT_CANCELLING", - 28: "IN_REVIEW", - 29: "REVERSAL_SUCCESS", - 30: "REVERSAL_PENDING", - 31: "REFUND_PENDING", - } - PaymentInfo_TxnStatus_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING_SETUP": 1, - "PENDING_RECEIVER_SETUP": 2, - "INIT": 3, - "SUCCESS": 4, - "COMPLETED": 5, - "FAILED": 6, - "FAILED_RISK": 7, - "FAILED_PROCESSING": 8, - "FAILED_RECEIVER_PROCESSING": 9, - "FAILED_DA": 10, - "FAILED_DA_FINAL": 11, - "REFUNDED_TXN": 12, - "REFUND_FAILED": 13, - "REFUND_FAILED_PROCESSING": 14, - "REFUND_FAILED_DA": 15, - "EXPIRED_TXN": 16, - "AUTH_CANCELED": 17, - "AUTH_CANCEL_FAILED_PROCESSING": 18, - "AUTH_CANCEL_FAILED": 19, - "COLLECT_INIT": 20, - "COLLECT_SUCCESS": 21, - "COLLECT_FAILED": 22, - "COLLECT_FAILED_RISK": 23, - "COLLECT_REJECTED": 24, - "COLLECT_EXPIRED": 25, - "COLLECT_CANCELED": 26, - "COLLECT_CANCELLING": 27, - "IN_REVIEW": 28, - "REVERSAL_SUCCESS": 29, - "REVERSAL_PENDING": 30, - "REFUND_PENDING": 31, - } -) - -func (x PaymentInfo_TxnStatus) Enum() *PaymentInfo_TxnStatus { - p := new(PaymentInfo_TxnStatus) - *p = x - return p -} - -func (x PaymentInfo_TxnStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PaymentInfo_TxnStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[80].Descriptor() -} - -func (PaymentInfo_TxnStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[80] -} - -func (x PaymentInfo_TxnStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PaymentInfo_TxnStatus) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PaymentInfo_TxnStatus(num) - return nil -} - -// Deprecated: Use PaymentInfo_TxnStatus.Descriptor instead. -func (PaymentInfo_TxnStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{204, 0} -} - -type PaymentInfo_Status int32 - -const ( - PaymentInfo_UNKNOWN_STATUS PaymentInfo_Status = 0 - PaymentInfo_PROCESSING PaymentInfo_Status = 1 - PaymentInfo_SENT PaymentInfo_Status = 2 - PaymentInfo_NEED_TO_ACCEPT PaymentInfo_Status = 3 - PaymentInfo_COMPLETE PaymentInfo_Status = 4 - PaymentInfo_COULD_NOT_COMPLETE PaymentInfo_Status = 5 - PaymentInfo_REFUNDED PaymentInfo_Status = 6 - PaymentInfo_EXPIRED PaymentInfo_Status = 7 - PaymentInfo_REJECTED PaymentInfo_Status = 8 - PaymentInfo_CANCELLED PaymentInfo_Status = 9 - PaymentInfo_WAITING_FOR_PAYER PaymentInfo_Status = 10 - PaymentInfo_WAITING PaymentInfo_Status = 11 -) - -// Enum value maps for PaymentInfo_Status. -var ( - PaymentInfo_Status_name = map[int32]string{ - 0: "UNKNOWN_STATUS", - 1: "PROCESSING", - 2: "SENT", - 3: "NEED_TO_ACCEPT", - 4: "COMPLETE", - 5: "COULD_NOT_COMPLETE", - 6: "REFUNDED", - 7: "EXPIRED", - 8: "REJECTED", - 9: "CANCELLED", - 10: "WAITING_FOR_PAYER", - 11: "WAITING", - } - PaymentInfo_Status_value = map[string]int32{ - "UNKNOWN_STATUS": 0, - "PROCESSING": 1, - "SENT": 2, - "NEED_TO_ACCEPT": 3, - "COMPLETE": 4, - "COULD_NOT_COMPLETE": 5, - "REFUNDED": 6, - "EXPIRED": 7, - "REJECTED": 8, - "CANCELLED": 9, - "WAITING_FOR_PAYER": 10, - "WAITING": 11, - } -) - -func (x PaymentInfo_Status) Enum() *PaymentInfo_Status { - p := new(PaymentInfo_Status) - *p = x - return p -} - -func (x PaymentInfo_Status) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PaymentInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[81].Descriptor() -} - -func (PaymentInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[81] -} - -func (x PaymentInfo_Status) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PaymentInfo_Status) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PaymentInfo_Status(num) - return nil -} - -// Deprecated: Use PaymentInfo_Status.Descriptor instead. -func (PaymentInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{204, 1} -} - -type PaymentInfo_Currency int32 - -const ( - PaymentInfo_UNKNOWN_CURRENCY PaymentInfo_Currency = 0 - PaymentInfo_INR PaymentInfo_Currency = 1 -) - -// Enum value maps for PaymentInfo_Currency. -var ( - PaymentInfo_Currency_name = map[int32]string{ - 0: "UNKNOWN_CURRENCY", - 1: "INR", - } - PaymentInfo_Currency_value = map[string]int32{ - "UNKNOWN_CURRENCY": 0, - "INR": 1, - } -) - -func (x PaymentInfo_Currency) Enum() *PaymentInfo_Currency { - p := new(PaymentInfo_Currency) - *p = x - return p -} - -func (x PaymentInfo_Currency) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PaymentInfo_Currency) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[82].Descriptor() -} - -func (PaymentInfo_Currency) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[82] -} - -func (x PaymentInfo_Currency) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *PaymentInfo_Currency) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = PaymentInfo_Currency(num) - return nil -} - -// Deprecated: Use PaymentInfo_Currency.Descriptor instead. -func (PaymentInfo_Currency) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{204, 2} -} - -type QP_FilterResult int32 - -const ( - QP_TRUE QP_FilterResult = 1 - QP_FALSE QP_FilterResult = 2 - QP_UNKNOWN QP_FilterResult = 3 -) - -// Enum value maps for QP_FilterResult. -var ( - QP_FilterResult_name = map[int32]string{ - 1: "TRUE", - 2: "FALSE", - 3: "UNKNOWN", - } - QP_FilterResult_value = map[string]int32{ - "TRUE": 1, - "FALSE": 2, - "UNKNOWN": 3, - } -) - -func (x QP_FilterResult) Enum() *QP_FilterResult { - p := new(QP_FilterResult) - *p = x - return p -} - -func (x QP_FilterResult) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QP_FilterResult) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[83].Descriptor() -} - -func (QP_FilterResult) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[83] -} - -func (x QP_FilterResult) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *QP_FilterResult) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = QP_FilterResult(num) - return nil -} - -// Deprecated: Use QP_FilterResult.Descriptor instead. -func (QP_FilterResult) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 0} -} - -type QP_FilterClientNotSupportedConfig int32 - -const ( - QP_PASS_BY_DEFAULT QP_FilterClientNotSupportedConfig = 1 - QP_FAIL_BY_DEFAULT QP_FilterClientNotSupportedConfig = 2 -) - -// Enum value maps for QP_FilterClientNotSupportedConfig. -var ( - QP_FilterClientNotSupportedConfig_name = map[int32]string{ - 1: "PASS_BY_DEFAULT", - 2: "FAIL_BY_DEFAULT", - } - QP_FilterClientNotSupportedConfig_value = map[string]int32{ - "PASS_BY_DEFAULT": 1, - "FAIL_BY_DEFAULT": 2, - } -) - -func (x QP_FilterClientNotSupportedConfig) Enum() *QP_FilterClientNotSupportedConfig { - p := new(QP_FilterClientNotSupportedConfig) - *p = x - return p -} - -func (x QP_FilterClientNotSupportedConfig) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QP_FilterClientNotSupportedConfig) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[84].Descriptor() -} - -func (QP_FilterClientNotSupportedConfig) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[84] -} - -func (x QP_FilterClientNotSupportedConfig) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *QP_FilterClientNotSupportedConfig) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = QP_FilterClientNotSupportedConfig(num) - return nil -} - -// Deprecated: Use QP_FilterClientNotSupportedConfig.Descriptor instead. -func (QP_FilterClientNotSupportedConfig) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 1} -} - -type QP_ClauseType int32 - -const ( - QP_AND QP_ClauseType = 1 - QP_OR QP_ClauseType = 2 - QP_NOR QP_ClauseType = 3 -) - -// Enum value maps for QP_ClauseType. -var ( - QP_ClauseType_name = map[int32]string{ - 1: "AND", - 2: "OR", - 3: "NOR", - } - QP_ClauseType_value = map[string]int32{ - "AND": 1, - "OR": 2, - "NOR": 3, - } -) - -func (x QP_ClauseType) Enum() *QP_ClauseType { - p := new(QP_ClauseType) - *p = x - return p -} - -func (x QP_ClauseType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QP_ClauseType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[85].Descriptor() -} - -func (QP_ClauseType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[85] -} - -func (x QP_ClauseType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *QP_ClauseType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = QP_ClauseType(num) - return nil -} - -// Deprecated: Use QP_ClauseType.Descriptor instead. -func (QP_ClauseType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 2} -} - -type DeviceCapabilities_ChatLockSupportLevel int32 - -const ( - DeviceCapabilities_NONE DeviceCapabilities_ChatLockSupportLevel = 0 - DeviceCapabilities_MINIMAL DeviceCapabilities_ChatLockSupportLevel = 1 - DeviceCapabilities_FULL DeviceCapabilities_ChatLockSupportLevel = 2 -) - -// Enum value maps for DeviceCapabilities_ChatLockSupportLevel. -var ( - DeviceCapabilities_ChatLockSupportLevel_name = map[int32]string{ - 0: "NONE", - 1: "MINIMAL", - 2: "FULL", - } - DeviceCapabilities_ChatLockSupportLevel_value = map[string]int32{ - "NONE": 0, - "MINIMAL": 1, - "FULL": 2, - } -) - -func (x DeviceCapabilities_ChatLockSupportLevel) Enum() *DeviceCapabilities_ChatLockSupportLevel { - p := new(DeviceCapabilities_ChatLockSupportLevel) - *p = x - return p -} - -func (x DeviceCapabilities_ChatLockSupportLevel) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DeviceCapabilities_ChatLockSupportLevel) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[86].Descriptor() -} - -func (DeviceCapabilities_ChatLockSupportLevel) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[86] -} - -func (x DeviceCapabilities_ChatLockSupportLevel) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *DeviceCapabilities_ChatLockSupportLevel) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = DeviceCapabilities_ChatLockSupportLevel(num) - return nil -} - -// Deprecated: Use DeviceCapabilities_ChatLockSupportLevel.Descriptor instead. -func (DeviceCapabilities_ChatLockSupportLevel) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{216, 0} -} - -type UserPassword_Transformer int32 - -const ( - UserPassword_NONE UserPassword_Transformer = 0 - UserPassword_PBKDF2_HMAC_SHA512 UserPassword_Transformer = 1 - UserPassword_PBKDF2_HMAC_SHA384 UserPassword_Transformer = 2 -) - -// Enum value maps for UserPassword_Transformer. -var ( - UserPassword_Transformer_name = map[int32]string{ - 0: "NONE", - 1: "PBKDF2_HMAC_SHA512", - 2: "PBKDF2_HMAC_SHA384", - } - UserPassword_Transformer_value = map[string]int32{ - "NONE": 0, - "PBKDF2_HMAC_SHA512": 1, - "PBKDF2_HMAC_SHA384": 2, - } -) - -func (x UserPassword_Transformer) Enum() *UserPassword_Transformer { - p := new(UserPassword_Transformer) - *p = x - return p -} - -func (x UserPassword_Transformer) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserPassword_Transformer) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[87].Descriptor() -} - -func (UserPassword_Transformer) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[87] -} - -func (x UserPassword_Transformer) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *UserPassword_Transformer) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = UserPassword_Transformer(num) - return nil -} - -// Deprecated: Use UserPassword_Transformer.Descriptor instead. -func (UserPassword_Transformer) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 0} -} - -type UserPassword_Encoding int32 - -const ( - UserPassword_UTF8 UserPassword_Encoding = 0 -) - -// Enum value maps for UserPassword_Encoding. -var ( - UserPassword_Encoding_name = map[int32]string{ - 0: "UTF8", - } - UserPassword_Encoding_value = map[string]int32{ - "UTF8": 0, - } -) - -func (x UserPassword_Encoding) Enum() *UserPassword_Encoding { - p := new(UserPassword_Encoding) - *p = x - return p -} - -func (x UserPassword_Encoding) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserPassword_Encoding) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[88].Descriptor() -} - -func (UserPassword_Encoding) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[88] -} - -func (x UserPassword_Encoding) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *UserPassword_Encoding) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = UserPassword_Encoding(num) - return nil -} - -// Deprecated: Use UserPassword_Encoding.Descriptor instead. -func (UserPassword_Encoding) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 1} -} - -type ADVSignedKeyIndexList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"` - AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"` -} - -func (x *ADVSignedKeyIndexList) Reset() { - *x = ADVSignedKeyIndexList{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ADVSignedKeyIndexList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ADVSignedKeyIndexList) ProtoMessage() {} - -func (x *ADVSignedKeyIndexList) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ADVSignedKeyIndexList.ProtoReflect.Descriptor instead. -func (*ADVSignedKeyIndexList) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{0} -} - -func (x *ADVSignedKeyIndexList) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte { - if x != nil { - return x.AccountSignature - } - return nil -} - -func (x *ADVSignedKeyIndexList) GetAccountSignatureKey() []byte { - if x != nil { - return x.AccountSignatureKey - } - return nil -} - -type ADVSignedDeviceIdentity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"` - AccountSignature []byte `protobuf:"bytes,3,opt,name=accountSignature" json:"accountSignature,omitempty"` - DeviceSignature []byte `protobuf:"bytes,4,opt,name=deviceSignature" json:"deviceSignature,omitempty"` -} - -func (x *ADVSignedDeviceIdentity) Reset() { - *x = ADVSignedDeviceIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ADVSignedDeviceIdentity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ADVSignedDeviceIdentity) ProtoMessage() {} - -func (x *ADVSignedDeviceIdentity) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ADVSignedDeviceIdentity.ProtoReflect.Descriptor instead. -func (*ADVSignedDeviceIdentity) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{1} -} - -func (x *ADVSignedDeviceIdentity) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -func (x *ADVSignedDeviceIdentity) GetAccountSignatureKey() []byte { - if x != nil { - return x.AccountSignatureKey - } - return nil -} - -func (x *ADVSignedDeviceIdentity) GetAccountSignature() []byte { - if x != nil { - return x.AccountSignature - } - return nil -} - -func (x *ADVSignedDeviceIdentity) GetDeviceSignature() []byte { - if x != nil { - return x.DeviceSignature - } - return nil -} - -type ADVSignedDeviceIdentityHMAC struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - Hmac []byte `protobuf:"bytes,2,opt,name=hmac" json:"hmac,omitempty"` - AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"` -} - -func (x *ADVSignedDeviceIdentityHMAC) Reset() { - *x = ADVSignedDeviceIdentityHMAC{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ADVSignedDeviceIdentityHMAC) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ADVSignedDeviceIdentityHMAC) ProtoMessage() {} - -func (x *ADVSignedDeviceIdentityHMAC) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ADVSignedDeviceIdentityHMAC.ProtoReflect.Descriptor instead. -func (*ADVSignedDeviceIdentityHMAC) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{2} -} - -func (x *ADVSignedDeviceIdentityHMAC) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -func (x *ADVSignedDeviceIdentityHMAC) GetHmac() []byte { - if x != nil { - return x.Hmac - } - return nil -} - -func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType { - if x != nil && x.AccountType != nil { - return *x.AccountType - } - return ADVEncryptionType_E2EE -} - -type ADVKeyIndexList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` - Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` - CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"` - ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"` - AccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"` -} - -func (x *ADVKeyIndexList) Reset() { - *x = ADVKeyIndexList{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ADVKeyIndexList) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ADVKeyIndexList) ProtoMessage() {} - -func (x *ADVKeyIndexList) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ADVKeyIndexList.ProtoReflect.Descriptor instead. -func (*ADVKeyIndexList) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{3} -} - -func (x *ADVKeyIndexList) GetRawId() uint32 { - if x != nil && x.RawId != nil { - return *x.RawId - } - return 0 -} - -func (x *ADVKeyIndexList) GetTimestamp() uint64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *ADVKeyIndexList) GetCurrentIndex() uint32 { - if x != nil && x.CurrentIndex != nil { - return *x.CurrentIndex - } - return 0 -} - -func (x *ADVKeyIndexList) GetValidIndexes() []uint32 { - if x != nil { - return x.ValidIndexes - } - return nil -} - -func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType { - if x != nil && x.AccountType != nil { - return *x.AccountType - } - return ADVEncryptionType_E2EE -} - -type ADVDeviceIdentity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` - Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` - KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"` - AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"` - DeviceType *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,enum=proto.ADVEncryptionType" json:"deviceType,omitempty"` -} - -func (x *ADVDeviceIdentity) Reset() { - *x = ADVDeviceIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ADVDeviceIdentity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ADVDeviceIdentity) ProtoMessage() {} - -func (x *ADVDeviceIdentity) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ADVDeviceIdentity.ProtoReflect.Descriptor instead. -func (*ADVDeviceIdentity) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{4} -} - -func (x *ADVDeviceIdentity) GetRawId() uint32 { - if x != nil && x.RawId != nil { - return *x.RawId - } - return 0 -} - -func (x *ADVDeviceIdentity) GetTimestamp() uint64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *ADVDeviceIdentity) GetKeyIndex() uint32 { - if x != nil && x.KeyIndex != nil { - return *x.KeyIndex - } - return 0 -} - -func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType { - if x != nil && x.AccountType != nil { - return *x.AccountType - } - return ADVEncryptionType_E2EE -} - -func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType { - if x != nil && x.DeviceType != nil { - return *x.DeviceType - } - return ADVEncryptionType_E2EE -} - -type DeviceProps struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"` - Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` - PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=proto.DeviceProps_PlatformType" json:"platformType,omitempty"` - RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"` - HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"` -} - -func (x *DeviceProps) Reset() { - *x = DeviceProps{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeviceProps) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceProps) ProtoMessage() {} - -func (x *DeviceProps) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceProps.ProtoReflect.Descriptor instead. -func (*DeviceProps) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{5} -} - -func (x *DeviceProps) GetOs() string { - if x != nil && x.Os != nil { - return *x.Os - } - return "" -} - -func (x *DeviceProps) GetVersion() *DeviceProps_AppVersion { - if x != nil { - return x.Version - } - return nil -} - -func (x *DeviceProps) GetPlatformType() DeviceProps_PlatformType { - if x != nil && x.PlatformType != nil { - return *x.PlatformType - } - return DeviceProps_UNKNOWN -} - -func (x *DeviceProps) GetRequireFullSync() bool { - if x != nil && x.RequireFullSync != nil { - return *x.RequireFullSync - } - return false -} - -func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig { - if x != nil { - return x.HistorySyncConfig - } - return nil -} - -type InitialSecurityNotificationSettingSync struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SecurityNotificationEnabled *bool `protobuf:"varint,1,opt,name=securityNotificationEnabled" json:"securityNotificationEnabled,omitempty"` -} - -func (x *InitialSecurityNotificationSettingSync) Reset() { - *x = InitialSecurityNotificationSettingSync{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InitialSecurityNotificationSettingSync) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InitialSecurityNotificationSettingSync) ProtoMessage() {} - -func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead. -func (*InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{6} -} - -func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool { - if x != nil && x.SecurityNotificationEnabled != nil { - return *x.SecurityNotificationEnabled - } - return false -} - -type ImageMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` - FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` - Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` - MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` - DirectPath *string `protobuf:"bytes,11,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar" json:"firstScanSidecar,omitempty"` - FirstScanLength *uint32 `protobuf:"varint,19,opt,name=firstScanLength" json:"firstScanLength,omitempty"` - ExperimentGroupId *uint32 `protobuf:"varint,20,opt,name=experimentGroupId" json:"experimentGroupId,omitempty"` - ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar" json:"scansSidecar,omitempty"` - ScanLengths []uint32 `protobuf:"varint,22,rep,name=scanLengths" json:"scanLengths,omitempty"` - MidQualityFileSha256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSha256" json:"midQualityFileSha256,omitempty"` - MidQualityFileEncSha256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSha256" json:"midQualityFileEncSha256,omitempty"` - ViewOnce *bool `protobuf:"varint,25,opt,name=viewOnce" json:"viewOnce,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,26,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,27,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - StaticUrl *string `protobuf:"bytes,29,opt,name=staticUrl" json:"staticUrl,omitempty"` - Annotations []*InteractiveAnnotation `protobuf:"bytes,30,rep,name=annotations" json:"annotations,omitempty"` - ImageSourceType *ImageMessage_ImageSourceType `protobuf:"varint,31,opt,name=imageSourceType,enum=proto.ImageMessage_ImageSourceType" json:"imageSourceType,omitempty"` -} - -func (x *ImageMessage) Reset() { - *x = ImageMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ImageMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ImageMessage) ProtoMessage() {} - -func (x *ImageMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead. -func (*ImageMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{7} -} - -func (x *ImageMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *ImageMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *ImageMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *ImageMessage) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *ImageMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *ImageMessage) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *ImageMessage) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *ImageMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *ImageMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *ImageMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { - if x != nil { - return x.InteractiveAnnotations - } - return nil -} - -func (x *ImageMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *ImageMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *ImageMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *ImageMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *ImageMessage) GetFirstScanSidecar() []byte { - if x != nil { - return x.FirstScanSidecar - } - return nil -} - -func (x *ImageMessage) GetFirstScanLength() uint32 { - if x != nil && x.FirstScanLength != nil { - return *x.FirstScanLength - } - return 0 -} - -func (x *ImageMessage) GetExperimentGroupId() uint32 { - if x != nil && x.ExperimentGroupId != nil { - return *x.ExperimentGroupId - } - return 0 -} - -func (x *ImageMessage) GetScansSidecar() []byte { - if x != nil { - return x.ScansSidecar - } - return nil -} - -func (x *ImageMessage) GetScanLengths() []uint32 { - if x != nil { - return x.ScanLengths - } - return nil -} - -func (x *ImageMessage) GetMidQualityFileSha256() []byte { - if x != nil { - return x.MidQualityFileSha256 - } - return nil -} - -func (x *ImageMessage) GetMidQualityFileEncSha256() []byte { - if x != nil { - return x.MidQualityFileEncSha256 - } - return nil -} - -func (x *ImageMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce - } - return false -} - -func (x *ImageMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath - } - return "" -} - -func (x *ImageMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 - } - return nil -} - -func (x *ImageMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 - } - return nil -} - -func (x *ImageMessage) GetStaticUrl() string { - if x != nil && x.StaticUrl != nil { - return *x.StaticUrl - } - return "" -} - -func (x *ImageMessage) GetAnnotations() []*InteractiveAnnotation { - if x != nil { - return x.Annotations - } - return nil -} - -func (x *ImageMessage) GetImageSourceType() ImageMessage_ImageSourceType { - if x != nil && x.ImageSourceType != nil { - return *x.ImageSourceType - } - return ImageMessage_USER_IMAGE -} - -type HistorySyncNotification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileSha256 []byte `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"` - MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"` - SyncType *HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,enum=proto.HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"` - ChunkOrder *uint32 `protobuf:"varint,7,opt,name=chunkOrder" json:"chunkOrder,omitempty"` - OriginalMessageId *string `protobuf:"bytes,8,opt,name=originalMessageId" json:"originalMessageId,omitempty"` - Progress *uint32 `protobuf:"varint,9,opt,name=progress" json:"progress,omitempty"` - OldestMsgInChunkTimestampSec *int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec" json:"oldestMsgInChunkTimestampSec,omitempty"` - InitialHistBootstrapInlinePayload []byte `protobuf:"bytes,11,opt,name=initialHistBootstrapInlinePayload" json:"initialHistBootstrapInlinePayload,omitempty"` - PeerDataRequestSessionId *string `protobuf:"bytes,12,opt,name=peerDataRequestSessionId" json:"peerDataRequestSessionId,omitempty"` -} - -func (x *HistorySyncNotification) Reset() { - *x = HistorySyncNotification{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HistorySyncNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistorySyncNotification) ProtoMessage() {} - -func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistorySyncNotification.ProtoReflect.Descriptor instead. -func (*HistorySyncNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8} -} - -func (x *HistorySyncNotification) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *HistorySyncNotification) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *HistorySyncNotification) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *HistorySyncNotification) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *HistorySyncNotification) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *HistorySyncNotification) GetSyncType() HistorySyncNotification_HistorySyncType { - if x != nil && x.SyncType != nil { - return *x.SyncType - } - return HistorySyncNotification_INITIAL_BOOTSTRAP -} - -func (x *HistorySyncNotification) GetChunkOrder() uint32 { - if x != nil && x.ChunkOrder != nil { - return *x.ChunkOrder - } - return 0 -} - -func (x *HistorySyncNotification) GetOriginalMessageId() string { - if x != nil && x.OriginalMessageId != nil { - return *x.OriginalMessageId - } - return "" -} - -func (x *HistorySyncNotification) GetProgress() uint32 { - if x != nil && x.Progress != nil { - return *x.Progress - } - return 0 -} - -func (x *HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 { - if x != nil && x.OldestMsgInChunkTimestampSec != nil { - return *x.OldestMsgInChunkTimestampSec - } - return 0 -} - -func (x *HistorySyncNotification) GetInitialHistBootstrapInlinePayload() []byte { - if x != nil { - return x.InitialHistBootstrapInlinePayload - } - return nil -} - -func (x *HistorySyncNotification) GetPeerDataRequestSessionId() string { - if x != nil && x.PeerDataRequestSessionId != nil { - return *x.PeerDataRequestSessionId - } - return "" -} - -type HighlyStructuredMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` - ElementName *string `protobuf:"bytes,2,opt,name=elementName" json:"elementName,omitempty"` - Params []string `protobuf:"bytes,3,rep,name=params" json:"params,omitempty"` - FallbackLg *string `protobuf:"bytes,4,opt,name=fallbackLg" json:"fallbackLg,omitempty"` - FallbackLc *string `protobuf:"bytes,5,opt,name=fallbackLc" json:"fallbackLc,omitempty"` - LocalizableParams []*HighlyStructuredMessage_HSMLocalizableParameter `protobuf:"bytes,6,rep,name=localizableParams" json:"localizableParams,omitempty"` - DeterministicLg *string `protobuf:"bytes,7,opt,name=deterministicLg" json:"deterministicLg,omitempty"` - DeterministicLc *string `protobuf:"bytes,8,opt,name=deterministicLc" json:"deterministicLc,omitempty"` - HydratedHsm *TemplateMessage `protobuf:"bytes,9,opt,name=hydratedHsm" json:"hydratedHsm,omitempty"` -} - -func (x *HighlyStructuredMessage) Reset() { - *x = HighlyStructuredMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HighlyStructuredMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HighlyStructuredMessage) ProtoMessage() {} - -func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HighlyStructuredMessage.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9} -} - -func (x *HighlyStructuredMessage) GetNamespace() string { - if x != nil && x.Namespace != nil { - return *x.Namespace - } - return "" -} - -func (x *HighlyStructuredMessage) GetElementName() string { - if x != nil && x.ElementName != nil { - return *x.ElementName - } - return "" -} - -func (x *HighlyStructuredMessage) GetParams() []string { - if x != nil { - return x.Params - } - return nil -} - -func (x *HighlyStructuredMessage) GetFallbackLg() string { - if x != nil && x.FallbackLg != nil { - return *x.FallbackLg - } - return "" -} - -func (x *HighlyStructuredMessage) GetFallbackLc() string { - if x != nil && x.FallbackLc != nil { - return *x.FallbackLc - } - return "" -} - -func (x *HighlyStructuredMessage) GetLocalizableParams() []*HighlyStructuredMessage_HSMLocalizableParameter { - if x != nil { - return x.LocalizableParams - } - return nil -} - -func (x *HighlyStructuredMessage) GetDeterministicLg() string { - if x != nil && x.DeterministicLg != nil { - return *x.DeterministicLg - } - return "" -} - -func (x *HighlyStructuredMessage) GetDeterministicLc() string { - if x != nil && x.DeterministicLc != nil { - return *x.DeterministicLc - } - return "" -} - -func (x *HighlyStructuredMessage) GetHydratedHsm() *TemplateMessage { - if x != nil { - return x.HydratedHsm - } - return nil -} - -type GroupInviteMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"` - InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"` - InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"` - GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,5,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,7,opt,name=contextInfo" json:"contextInfo,omitempty"` - GroupType *GroupInviteMessage_GroupType `protobuf:"varint,8,opt,name=groupType,enum=proto.GroupInviteMessage_GroupType" json:"groupType,omitempty"` -} - -func (x *GroupInviteMessage) Reset() { - *x = GroupInviteMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupInviteMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupInviteMessage) ProtoMessage() {} - -func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupInviteMessage.ProtoReflect.Descriptor instead. -func (*GroupInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10} -} - -func (x *GroupInviteMessage) GetGroupJid() string { - if x != nil && x.GroupJid != nil { - return *x.GroupJid - } - return "" -} - -func (x *GroupInviteMessage) GetInviteCode() string { - if x != nil && x.InviteCode != nil { - return *x.InviteCode - } - return "" -} - -func (x *GroupInviteMessage) GetInviteExpiration() int64 { - if x != nil && x.InviteExpiration != nil { - return *x.InviteExpiration - } - return 0 -} - -func (x *GroupInviteMessage) GetGroupName() string { - if x != nil && x.GroupName != nil { - return *x.GroupName - } - return "" -} - -func (x *GroupInviteMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *GroupInviteMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *GroupInviteMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *GroupInviteMessage) GetGroupType() GroupInviteMessage_GroupType { - if x != nil && x.GroupType != nil { - return *x.GroupType - } - return GroupInviteMessage_DEFAULT -} - -type FutureProofMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` -} - -func (x *FutureProofMessage) Reset() { - *x = FutureProofMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FutureProofMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FutureProofMessage) ProtoMessage() {} - -func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FutureProofMessage.ProtoReflect.Descriptor instead. -func (*FutureProofMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11} -} - -func (x *FutureProofMessage) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -type ExtendedTextMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` - MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"` - CanonicalUrl *string `protobuf:"bytes,4,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` - Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` - Title *string `protobuf:"bytes,6,opt,name=title" json:"title,omitempty"` - TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"` - BackgroundArgb *uint32 `protobuf:"fixed32,8,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"` - Font *ExtendedTextMessage_FontType `protobuf:"varint,9,opt,name=font,enum=proto.ExtendedTextMessage_FontType" json:"font,omitempty"` - PreviewType *ExtendedTextMessage_PreviewType `protobuf:"varint,10,opt,name=previewType,enum=proto.ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - DoNotPlayInline *bool `protobuf:"varint,18,opt,name=doNotPlayInline" json:"doNotPlayInline,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,19,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,20,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,21,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,22,opt,name=mediaKey" json:"mediaKey,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,23,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ThumbnailHeight *uint32 `protobuf:"varint,24,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` - ThumbnailWidth *uint32 `protobuf:"varint,25,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` - InviteLinkGroupType *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,26,opt,name=inviteLinkGroupType,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupType,omitempty"` - InviteLinkParentGroupSubjectV2 *string `protobuf:"bytes,27,opt,name=inviteLinkParentGroupSubjectV2" json:"inviteLinkParentGroupSubjectV2,omitempty"` - InviteLinkParentGroupThumbnailV2 []byte `protobuf:"bytes,28,opt,name=inviteLinkParentGroupThumbnailV2" json:"inviteLinkParentGroupThumbnailV2,omitempty"` - InviteLinkGroupTypeV2 *ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,29,opt,name=inviteLinkGroupTypeV2,enum=proto.ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupTypeV2,omitempty"` - ViewOnce *bool `protobuf:"varint,30,opt,name=viewOnce" json:"viewOnce,omitempty"` -} - -func (x *ExtendedTextMessage) Reset() { - *x = ExtendedTextMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtendedTextMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtendedTextMessage) ProtoMessage() {} - -func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtendedTextMessage.ProtoReflect.Descriptor instead. -func (*ExtendedTextMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12} -} - -func (x *ExtendedTextMessage) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -func (x *ExtendedTextMessage) GetMatchedText() string { - if x != nil && x.MatchedText != nil { - return *x.MatchedText - } - return "" -} - -func (x *ExtendedTextMessage) GetCanonicalUrl() string { - if x != nil && x.CanonicalUrl != nil { - return *x.CanonicalUrl - } - return "" -} - -func (x *ExtendedTextMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *ExtendedTextMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ExtendedTextMessage) GetTextArgb() uint32 { - if x != nil && x.TextArgb != nil { - return *x.TextArgb - } - return 0 -} - -func (x *ExtendedTextMessage) GetBackgroundArgb() uint32 { - if x != nil && x.BackgroundArgb != nil { - return *x.BackgroundArgb - } - return 0 -} - -func (x *ExtendedTextMessage) GetFont() ExtendedTextMessage_FontType { - if x != nil && x.Font != nil { - return *x.Font - } - return ExtendedTextMessage_SYSTEM -} - -func (x *ExtendedTextMessage) GetPreviewType() ExtendedTextMessage_PreviewType { - if x != nil && x.PreviewType != nil { - return *x.PreviewType - } - return ExtendedTextMessage_NONE -} - -func (x *ExtendedTextMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *ExtendedTextMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *ExtendedTextMessage) GetDoNotPlayInline() bool { - if x != nil && x.DoNotPlayInline != nil { - return *x.DoNotPlayInline - } - return false -} - -func (x *ExtendedTextMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath - } - return "" -} - -func (x *ExtendedTextMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 - } - return nil -} - -func (x *ExtendedTextMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 - } - return nil -} - -func (x *ExtendedTextMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *ExtendedTextMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *ExtendedTextMessage) GetThumbnailHeight() uint32 { - if x != nil && x.ThumbnailHeight != nil { - return *x.ThumbnailHeight - } - return 0 -} - -func (x *ExtendedTextMessage) GetThumbnailWidth() uint32 { - if x != nil && x.ThumbnailWidth != nil { - return *x.ThumbnailWidth - } - return 0 -} - -func (x *ExtendedTextMessage) GetInviteLinkGroupType() ExtendedTextMessage_InviteLinkGroupType { - if x != nil && x.InviteLinkGroupType != nil { - return *x.InviteLinkGroupType - } - return ExtendedTextMessage_DEFAULT -} - -func (x *ExtendedTextMessage) GetInviteLinkParentGroupSubjectV2() string { - if x != nil && x.InviteLinkParentGroupSubjectV2 != nil { - return *x.InviteLinkParentGroupSubjectV2 - } - return "" -} - -func (x *ExtendedTextMessage) GetInviteLinkParentGroupThumbnailV2() []byte { - if x != nil { - return x.InviteLinkParentGroupThumbnailV2 - } - return nil -} - -func (x *ExtendedTextMessage) GetInviteLinkGroupTypeV2() ExtendedTextMessage_InviteLinkGroupType { - if x != nil && x.InviteLinkGroupTypeV2 != nil { - return *x.InviteLinkGroupTypeV2 - } - return ExtendedTextMessage_DEFAULT -} - -func (x *ExtendedTextMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce - } - return false -} - -type EventResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Response *EventResponseMessage_EventResponseType `protobuf:"varint,1,opt,name=response,enum=proto.EventResponseMessage_EventResponseType" json:"response,omitempty"` - TimestampMs *int64 `protobuf:"varint,2,opt,name=timestampMs" json:"timestampMs,omitempty"` -} - -func (x *EventResponseMessage) Reset() { - *x = EventResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EventResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventResponseMessage) ProtoMessage() {} - -func (x *EventResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EventResponseMessage.ProtoReflect.Descriptor instead. -func (*EventResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{13} -} - -func (x *EventResponseMessage) GetResponse() EventResponseMessage_EventResponseType { - if x != nil && x.Response != nil { - return *x.Response - } - return EventResponseMessage_UNKNOWN -} - -func (x *EventResponseMessage) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs - } - return 0 -} - -type EventMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo" json:"contextInfo,omitempty"` - IsCanceled *bool `protobuf:"varint,2,opt,name=isCanceled" json:"isCanceled,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` - Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` - Location *LocationMessage `protobuf:"bytes,5,opt,name=location" json:"location,omitempty"` - JoinLink *string `protobuf:"bytes,6,opt,name=joinLink" json:"joinLink,omitempty"` - StartTime *int64 `protobuf:"varint,7,opt,name=startTime" json:"startTime,omitempty"` -} - -func (x *EventMessage) Reset() { - *x = EventMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EventMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventMessage) ProtoMessage() {} - -func (x *EventMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EventMessage.ProtoReflect.Descriptor instead. -func (*EventMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{14} -} - -func (x *EventMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *EventMessage) GetIsCanceled() bool { - if x != nil && x.IsCanceled != nil { - return *x.IsCanceled - } - return false -} - -func (x *EventMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *EventMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *EventMessage) GetLocation() *LocationMessage { - if x != nil { - return x.Location - } - return nil -} - -func (x *EventMessage) GetJoinLink() string { - if x != nil && x.JoinLink != nil { - return *x.JoinLink - } - return "" -} - -func (x *EventMessage) GetStartTime() int64 { - if x != nil && x.StartTime != nil { - return *x.StartTime - } - return 0 -} - -type EncReactionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` - EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` - EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` -} - -func (x *EncReactionMessage) Reset() { - *x = EncReactionMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EncReactionMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncReactionMessage) ProtoMessage() {} - -func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncReactionMessage.ProtoReflect.Descriptor instead. -func (*EncReactionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15} -} - -func (x *EncReactionMessage) GetTargetMessageKey() *MessageKey { - if x != nil { - return x.TargetMessageKey - } - return nil -} - -func (x *EncReactionMessage) GetEncPayload() []byte { - if x != nil { - return x.EncPayload - } - return nil -} - -func (x *EncReactionMessage) GetEncIv() []byte { - if x != nil { - return x.EncIv - } - return nil -} - -type EncEventResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventCreationMessageKey *MessageKey `protobuf:"bytes,1,opt,name=eventCreationMessageKey" json:"eventCreationMessageKey,omitempty"` - EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` - EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` -} - -func (x *EncEventResponseMessage) Reset() { - *x = EncEventResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EncEventResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncEventResponseMessage) ProtoMessage() {} - -func (x *EncEventResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncEventResponseMessage.ProtoReflect.Descriptor instead. -func (*EncEventResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16} -} - -func (x *EncEventResponseMessage) GetEventCreationMessageKey() *MessageKey { - if x != nil { - return x.EventCreationMessageKey - } - return nil -} - -func (x *EncEventResponseMessage) GetEncPayload() []byte { - if x != nil { - return x.EncPayload - } - return nil -} - -func (x *EncEventResponseMessage) GetEncIv() []byte { - if x != nil { - return x.EncIv - } - return nil -} - -type EncCommentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` - EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` - EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` -} - -func (x *EncCommentMessage) Reset() { - *x = EncCommentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EncCommentMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncCommentMessage) ProtoMessage() {} - -func (x *EncCommentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncCommentMessage.ProtoReflect.Descriptor instead. -func (*EncCommentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{17} -} - -func (x *EncCommentMessage) GetTargetMessageKey() *MessageKey { - if x != nil { - return x.TargetMessageKey - } - return nil -} - -func (x *EncCommentMessage) GetEncPayload() []byte { - if x != nil { - return x.EncPayload - } - return nil -} - -func (x *EncCommentMessage) GetEncIv() []byte { - if x != nil { - return x.EncIv - } - return nil -} - -type DocumentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` - FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` - PageCount *uint32 `protobuf:"varint,6,opt,name=pageCount" json:"pageCount,omitempty"` - MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileName *string `protobuf:"bytes,8,opt,name=fileName" json:"fileName,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,10,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,11,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ContactVcard *bool `protobuf:"varint,12,opt,name=contactVcard" json:"contactVcard,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,13,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,14,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,15,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - ThumbnailHeight *uint32 `protobuf:"varint,18,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` - ThumbnailWidth *uint32 `protobuf:"varint,19,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` - Caption *string `protobuf:"bytes,20,opt,name=caption" json:"caption,omitempty"` -} - -func (x *DocumentMessage) Reset() { - *x = DocumentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DocumentMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DocumentMessage) ProtoMessage() {} - -func (x *DocumentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DocumentMessage.ProtoReflect.Descriptor instead. -func (*DocumentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{18} -} - -func (x *DocumentMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *DocumentMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *DocumentMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *DocumentMessage) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *DocumentMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *DocumentMessage) GetPageCount() uint32 { - if x != nil && x.PageCount != nil { - return *x.PageCount - } - return 0 -} - -func (x *DocumentMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *DocumentMessage) GetFileName() string { - if x != nil && x.FileName != nil { - return *x.FileName - } - return "" -} - -func (x *DocumentMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *DocumentMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *DocumentMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *DocumentMessage) GetContactVcard() bool { - if x != nil && x.ContactVcard != nil { - return *x.ContactVcard - } - return false -} - -func (x *DocumentMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath - } - return "" -} - -func (x *DocumentMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 - } - return nil -} - -func (x *DocumentMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 - } - return nil -} - -func (x *DocumentMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *DocumentMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *DocumentMessage) GetThumbnailHeight() uint32 { - if x != nil && x.ThumbnailHeight != nil { - return *x.ThumbnailHeight - } - return 0 -} - -func (x *DocumentMessage) GetThumbnailWidth() uint32 { - if x != nil && x.ThumbnailWidth != nil { - return *x.ThumbnailWidth - } - return 0 -} - -func (x *DocumentMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -type DeviceSentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DestinationJid *string `protobuf:"bytes,1,opt,name=destinationJid" json:"destinationJid,omitempty"` - Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` - Phash *string `protobuf:"bytes,3,opt,name=phash" json:"phash,omitempty"` -} - -func (x *DeviceSentMessage) Reset() { - *x = DeviceSentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeviceSentMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceSentMessage) ProtoMessage() {} - -func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceSentMessage.ProtoReflect.Descriptor instead. -func (*DeviceSentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19} -} - -func (x *DeviceSentMessage) GetDestinationJid() string { - if x != nil && x.DestinationJid != nil { - return *x.DestinationJid - } - return "" -} - -func (x *DeviceSentMessage) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -func (x *DeviceSentMessage) GetPhash() string { - if x != nil && x.Phash != nil { - return *x.Phash - } - return "" -} - -type DeclinePaymentRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` -} - -func (x *DeclinePaymentRequestMessage) Reset() { - *x = DeclinePaymentRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeclinePaymentRequestMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeclinePaymentRequestMessage) ProtoMessage() {} - -func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead. -func (*DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20} -} - -func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -type ContactsArrayMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` - Contacts []*ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *ContactsArrayMessage) Reset() { - *x = ContactsArrayMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContactsArrayMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContactsArrayMessage) ProtoMessage() {} - -func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContactsArrayMessage.ProtoReflect.Descriptor instead. -func (*ContactsArrayMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{21} -} - -func (x *ContactsArrayMessage) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName - } - return "" -} - -func (x *ContactsArrayMessage) GetContacts() []*ContactMessage { - if x != nil { - return x.Contacts - } - return nil -} - -func (x *ContactsArrayMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type ContactMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` - Vcard *string `protobuf:"bytes,16,opt,name=vcard" json:"vcard,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *ContactMessage) Reset() { - *x = ContactMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContactMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContactMessage) ProtoMessage() {} - -func (x *ContactMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContactMessage.ProtoReflect.Descriptor instead. -func (*ContactMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{22} -} - -func (x *ContactMessage) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName - } - return "" -} - -func (x *ContactMessage) GetVcard() string { - if x != nil && x.Vcard != nil { - return *x.Vcard - } - return "" -} - -func (x *ContactMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type CommentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` - TargetMessageKey *MessageKey `protobuf:"bytes,2,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` -} - -func (x *CommentMessage) Reset() { - *x = CommentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommentMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommentMessage) ProtoMessage() {} - -func (x *CommentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommentMessage.ProtoReflect.Descriptor instead. -func (*CommentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{23} -} - -func (x *CommentMessage) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -func (x *CommentMessage) GetTargetMessageKey() *MessageKey { - if x != nil { - return x.TargetMessageKey - } - return nil -} - -type Chat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` -} - -func (x *Chat) Reset() { - *x = Chat{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Chat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Chat) ProtoMessage() {} - -func (x *Chat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Chat.ProtoReflect.Descriptor instead. -func (*Chat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24} -} - -func (x *Chat) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName - } - return "" -} - -func (x *Chat) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -type CancelPaymentRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` -} - -func (x *CancelPaymentRequestMessage) Reset() { - *x = CancelPaymentRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CancelPaymentRequestMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CancelPaymentRequestMessage) ProtoMessage() {} - -func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CancelPaymentRequestMessage.ProtoReflect.Descriptor instead. -func (*CancelPaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{25} -} - -func (x *CancelPaymentRequestMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -type Call struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CallKey []byte `protobuf:"bytes,1,opt,name=callKey" json:"callKey,omitempty"` - ConversionSource *string `protobuf:"bytes,2,opt,name=conversionSource" json:"conversionSource,omitempty"` - ConversionData []byte `protobuf:"bytes,3,opt,name=conversionData" json:"conversionData,omitempty"` - ConversionDelaySeconds *uint32 `protobuf:"varint,4,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` -} - -func (x *Call) Reset() { - *x = Call{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Call) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Call) ProtoMessage() {} - -func (x *Call) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Call.ProtoReflect.Descriptor instead. -func (*Call) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{26} -} - -func (x *Call) GetCallKey() []byte { - if x != nil { - return x.CallKey - } - return nil -} - -func (x *Call) GetConversionSource() string { - if x != nil && x.ConversionSource != nil { - return *x.ConversionSource - } - return "" -} - -func (x *Call) GetConversionData() []byte { - if x != nil { - return x.ConversionData - } - return nil -} - -func (x *Call) GetConversionDelaySeconds() uint32 { - if x != nil && x.ConversionDelaySeconds != nil { - return *x.ConversionDelaySeconds - } - return 0 -} - -type CallLogMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsVideo *bool `protobuf:"varint,1,opt,name=isVideo" json:"isVideo,omitempty"` - CallOutcome *CallLogMessage_CallOutcome `protobuf:"varint,2,opt,name=callOutcome,enum=proto.CallLogMessage_CallOutcome" json:"callOutcome,omitempty"` - DurationSecs *int64 `protobuf:"varint,3,opt,name=durationSecs" json:"durationSecs,omitempty"` - CallType *CallLogMessage_CallType `protobuf:"varint,4,opt,name=callType,enum=proto.CallLogMessage_CallType" json:"callType,omitempty"` - Participants []*CallLogMessage_CallParticipant `protobuf:"bytes,5,rep,name=participants" json:"participants,omitempty"` -} - -func (x *CallLogMessage) Reset() { - *x = CallLogMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CallLogMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallLogMessage) ProtoMessage() {} - -func (x *CallLogMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallLogMessage.ProtoReflect.Descriptor instead. -func (*CallLogMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27} -} - -func (x *CallLogMessage) GetIsVideo() bool { - if x != nil && x.IsVideo != nil { - return *x.IsVideo - } - return false -} - -func (x *CallLogMessage) GetCallOutcome() CallLogMessage_CallOutcome { - if x != nil && x.CallOutcome != nil { - return *x.CallOutcome - } - return CallLogMessage_CONNECTED -} - -func (x *CallLogMessage) GetDurationSecs() int64 { - if x != nil && x.DurationSecs != nil { - return *x.DurationSecs - } - return 0 -} - -func (x *CallLogMessage) GetCallType() CallLogMessage_CallType { - if x != nil && x.CallType != nil { - return *x.CallType - } - return CallLogMessage_REGULAR -} - -func (x *CallLogMessage) GetParticipants() []*CallLogMessage_CallParticipant { - if x != nil { - return x.Participants - } - return nil -} - -type ButtonsResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedButtonId *string `protobuf:"bytes,1,opt,name=selectedButtonId" json:"selectedButtonId,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` - Type *ButtonsResponseMessage_Type `protobuf:"varint,4,opt,name=type,enum=proto.ButtonsResponseMessage_Type" json:"type,omitempty"` - // Types that are assignable to Response: - // - // *ButtonsResponseMessage_SelectedDisplayText - Response isButtonsResponseMessage_Response `protobuf_oneof:"response"` -} - -func (x *ButtonsResponseMessage) Reset() { - *x = ButtonsResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ButtonsResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ButtonsResponseMessage) ProtoMessage() {} - -func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ButtonsResponseMessage.ProtoReflect.Descriptor instead. -func (*ButtonsResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{28} -} - -func (x *ButtonsResponseMessage) GetSelectedButtonId() string { - if x != nil && x.SelectedButtonId != nil { - return *x.SelectedButtonId - } - return "" -} - -func (x *ButtonsResponseMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *ButtonsResponseMessage) GetType() ButtonsResponseMessage_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return ButtonsResponseMessage_UNKNOWN -} - -func (m *ButtonsResponseMessage) GetResponse() isButtonsResponseMessage_Response { - if m != nil { - return m.Response - } - return nil -} - -func (x *ButtonsResponseMessage) GetSelectedDisplayText() string { - if x, ok := x.GetResponse().(*ButtonsResponseMessage_SelectedDisplayText); ok { - return x.SelectedDisplayText - } - return "" -} - -type isButtonsResponseMessage_Response interface { - isButtonsResponseMessage_Response() -} - -type ButtonsResponseMessage_SelectedDisplayText struct { - SelectedDisplayText string `protobuf:"bytes,2,opt,name=selectedDisplayText,oneof"` -} - -func (*ButtonsResponseMessage_SelectedDisplayText) isButtonsResponseMessage_Response() {} - -type ButtonsMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContentText *string `protobuf:"bytes,6,opt,name=contentText" json:"contentText,omitempty"` - FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"` - Buttons []*ButtonsMessage_Button `protobuf:"bytes,9,rep,name=buttons" json:"buttons,omitempty"` - HeaderType *ButtonsMessage_HeaderType `protobuf:"varint,10,opt,name=headerType,enum=proto.ButtonsMessage_HeaderType" json:"headerType,omitempty"` - // Types that are assignable to Header: - // - // *ButtonsMessage_Text - // *ButtonsMessage_DocumentMessage - // *ButtonsMessage_ImageMessage - // *ButtonsMessage_VideoMessage - // *ButtonsMessage_LocationMessage - Header isButtonsMessage_Header `protobuf_oneof:"header"` -} - -func (x *ButtonsMessage) Reset() { - *x = ButtonsMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ButtonsMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ButtonsMessage) ProtoMessage() {} - -func (x *ButtonsMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ButtonsMessage.ProtoReflect.Descriptor instead. -func (*ButtonsMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29} -} - -func (x *ButtonsMessage) GetContentText() string { - if x != nil && x.ContentText != nil { - return *x.ContentText - } - return "" -} - -func (x *ButtonsMessage) GetFooterText() string { - if x != nil && x.FooterText != nil { - return *x.FooterText - } - return "" -} - -func (x *ButtonsMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *ButtonsMessage) GetButtons() []*ButtonsMessage_Button { - if x != nil { - return x.Buttons - } - return nil -} - -func (x *ButtonsMessage) GetHeaderType() ButtonsMessage_HeaderType { - if x != nil && x.HeaderType != nil { - return *x.HeaderType - } - return ButtonsMessage_UNKNOWN -} - -func (m *ButtonsMessage) GetHeader() isButtonsMessage_Header { - if m != nil { - return m.Header - } - return nil -} - -func (x *ButtonsMessage) GetText() string { - if x, ok := x.GetHeader().(*ButtonsMessage_Text); ok { - return x.Text - } - return "" -} - -func (x *ButtonsMessage) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetHeader().(*ButtonsMessage_DocumentMessage); ok { - return x.DocumentMessage - } - return nil -} - -func (x *ButtonsMessage) GetImageMessage() *ImageMessage { - if x, ok := x.GetHeader().(*ButtonsMessage_ImageMessage); ok { - return x.ImageMessage - } - return nil -} - -func (x *ButtonsMessage) GetVideoMessage() *VideoMessage { - if x, ok := x.GetHeader().(*ButtonsMessage_VideoMessage); ok { - return x.VideoMessage - } - return nil -} - -func (x *ButtonsMessage) GetLocationMessage() *LocationMessage { - if x, ok := x.GetHeader().(*ButtonsMessage_LocationMessage); ok { - return x.LocationMessage - } - return nil -} - -type isButtonsMessage_Header interface { - isButtonsMessage_Header() -} - -type ButtonsMessage_Text struct { - Text string `protobuf:"bytes,1,opt,name=text,oneof"` -} - -type ButtonsMessage_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,2,opt,name=documentMessage,oneof"` -} - -type ButtonsMessage_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` -} - -type ButtonsMessage_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` -} - -type ButtonsMessage_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` -} - -func (*ButtonsMessage_Text) isButtonsMessage_Header() {} - -func (*ButtonsMessage_DocumentMessage) isButtonsMessage_Header() {} - -func (*ButtonsMessage_ImageMessage) isButtonsMessage_Header() {} - -func (*ButtonsMessage_VideoMessage) isButtonsMessage_Header() {} - -func (*ButtonsMessage_LocationMessage) isButtonsMessage_Header() {} - -type BotFeedbackMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"` - Kind *BotFeedbackMessage_BotFeedbackKind `protobuf:"varint,2,opt,name=kind,enum=proto.BotFeedbackMessage_BotFeedbackKind" json:"kind,omitempty"` - Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"` - KindNegative *uint64 `protobuf:"varint,4,opt,name=kindNegative" json:"kindNegative,omitempty"` - KindPositive *uint64 `protobuf:"varint,5,opt,name=kindPositive" json:"kindPositive,omitempty"` -} - -func (x *BotFeedbackMessage) Reset() { - *x = BotFeedbackMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotFeedbackMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotFeedbackMessage) ProtoMessage() {} - -func (x *BotFeedbackMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotFeedbackMessage.ProtoReflect.Descriptor instead. -func (*BotFeedbackMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30} -} - -func (x *BotFeedbackMessage) GetMessageKey() *MessageKey { - if x != nil { - return x.MessageKey - } - return nil -} - -func (x *BotFeedbackMessage) GetKind() BotFeedbackMessage_BotFeedbackKind { - if x != nil && x.Kind != nil { - return *x.Kind - } - return BotFeedbackMessage_BOT_FEEDBACK_POSITIVE -} - -func (x *BotFeedbackMessage) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -func (x *BotFeedbackMessage) GetKindNegative() uint64 { - if x != nil && x.KindNegative != nil { - return *x.KindNegative - } - return 0 -} - -func (x *BotFeedbackMessage) GetKindPositive() uint64 { - if x != nil && x.KindPositive != nil { - return *x.KindPositive - } - return 0 -} - -type BCallMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SessionId *string `protobuf:"bytes,1,opt,name=sessionId" json:"sessionId,omitempty"` - MediaType *BCallMessage_MediaType `protobuf:"varint,2,opt,name=mediaType,enum=proto.BCallMessage_MediaType" json:"mediaType,omitempty"` - MasterKey []byte `protobuf:"bytes,3,opt,name=masterKey" json:"masterKey,omitempty"` - Caption *string `protobuf:"bytes,4,opt,name=caption" json:"caption,omitempty"` -} - -func (x *BCallMessage) Reset() { - *x = BCallMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BCallMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BCallMessage) ProtoMessage() {} - -func (x *BCallMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BCallMessage.ProtoReflect.Descriptor instead. -func (*BCallMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31} -} - -func (x *BCallMessage) GetSessionId() string { - if x != nil && x.SessionId != nil { - return *x.SessionId - } - return "" -} - -func (x *BCallMessage) GetMediaType() BCallMessage_MediaType { - if x != nil && x.MediaType != nil { - return *x.MediaType - } - return BCallMessage_UNKNOWN -} - -func (x *BCallMessage) GetMasterKey() []byte { - if x != nil { - return x.MasterKey - } - return nil -} - -func (x *BCallMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -type AudioMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"` - Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"` - Ptt *bool `protobuf:"varint,6,opt,name=ptt" json:"ptt,omitempty"` - MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,8,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,9,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"` - Waveform []byte `protobuf:"bytes,19,opt,name=waveform" json:"waveform,omitempty"` - BackgroundArgb *uint32 `protobuf:"fixed32,20,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"` - ViewOnce *bool `protobuf:"varint,21,opt,name=viewOnce" json:"viewOnce,omitempty"` -} - -func (x *AudioMessage) Reset() { - *x = AudioMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AudioMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AudioMessage) ProtoMessage() {} - -func (x *AudioMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AudioMessage.ProtoReflect.Descriptor instead. -func (*AudioMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{32} -} - -func (x *AudioMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *AudioMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *AudioMessage) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *AudioMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *AudioMessage) GetSeconds() uint32 { - if x != nil && x.Seconds != nil { - return *x.Seconds - } - return 0 -} - -func (x *AudioMessage) GetPtt() bool { - if x != nil && x.Ptt != nil { - return *x.Ptt - } - return false -} - -func (x *AudioMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *AudioMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *AudioMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *AudioMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *AudioMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *AudioMessage) GetStreamingSidecar() []byte { - if x != nil { - return x.StreamingSidecar - } - return nil -} - -func (x *AudioMessage) GetWaveform() []byte { - if x != nil { - return x.Waveform - } - return nil -} - -func (x *AudioMessage) GetBackgroundArgb() uint32 { - if x != nil && x.BackgroundArgb != nil { - return *x.BackgroundArgb - } - return 0 -} - -func (x *AudioMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce - } - return false -} - -type AppStateSyncKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyId *AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyId" json:"keyId,omitempty"` - KeyData *AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData" json:"keyData,omitempty"` -} - -func (x *AppStateSyncKey) Reset() { - *x = AppStateSyncKey{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateSyncKey) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateSyncKey) ProtoMessage() {} - -func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateSyncKey.ProtoReflect.Descriptor instead. -func (*AppStateSyncKey) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{33} -} - -func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId { - if x != nil { - return x.KeyId - } - return nil -} - -func (x *AppStateSyncKey) GetKeyData() *AppStateSyncKeyData { - if x != nil { - return x.KeyData - } - return nil -} - -type AppStateSyncKeyShare struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keys []*AppStateSyncKey `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` -} - -func (x *AppStateSyncKeyShare) Reset() { - *x = AppStateSyncKeyShare{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateSyncKeyShare) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateSyncKeyShare) ProtoMessage() {} - -func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateSyncKeyShare.ProtoReflect.Descriptor instead. -func (*AppStateSyncKeyShare) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{34} -} - -func (x *AppStateSyncKeyShare) GetKeys() []*AppStateSyncKey { - if x != nil { - return x.Keys - } - return nil -} - -type AppStateSyncKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyIds []*AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIds" json:"keyIds,omitempty"` -} - -func (x *AppStateSyncKeyRequest) Reset() { - *x = AppStateSyncKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateSyncKeyRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateSyncKeyRequest) ProtoMessage() {} - -func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateSyncKeyRequest.ProtoReflect.Descriptor instead. -func (*AppStateSyncKeyRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{35} -} - -func (x *AppStateSyncKeyRequest) GetKeyIds() []*AppStateSyncKeyId { - if x != nil { - return x.KeyIds - } - return nil -} - -type AppStateSyncKeyId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyId []byte `protobuf:"bytes,1,opt,name=keyId" json:"keyId,omitempty"` -} - -func (x *AppStateSyncKeyId) Reset() { - *x = AppStateSyncKeyId{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateSyncKeyId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateSyncKeyId) ProtoMessage() {} - -func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateSyncKeyId.ProtoReflect.Descriptor instead. -func (*AppStateSyncKeyId) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{36} -} - -func (x *AppStateSyncKeyId) GetKeyId() []byte { - if x != nil { - return x.KeyId - } - return nil -} - -type AppStateSyncKeyFingerprint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"` - CurrentIndex *uint32 `protobuf:"varint,2,opt,name=currentIndex" json:"currentIndex,omitempty"` - DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes" json:"deviceIndexes,omitempty"` -} - -func (x *AppStateSyncKeyFingerprint) Reset() { - *x = AppStateSyncKeyFingerprint{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateSyncKeyFingerprint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateSyncKeyFingerprint) ProtoMessage() {} - -func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead. -func (*AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37} -} - -func (x *AppStateSyncKeyFingerprint) GetRawId() uint32 { - if x != nil && x.RawId != nil { - return *x.RawId - } - return 0 -} - -func (x *AppStateSyncKeyFingerprint) GetCurrentIndex() uint32 { - if x != nil && x.CurrentIndex != nil { - return *x.CurrentIndex - } - return 0 -} - -func (x *AppStateSyncKeyFingerprint) GetDeviceIndexes() []uint32 { - if x != nil { - return x.DeviceIndexes - } - return nil -} - -type AppStateSyncKeyData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyData []byte `protobuf:"bytes,1,opt,name=keyData" json:"keyData,omitempty"` - Fingerprint *AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint" json:"fingerprint,omitempty"` - Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` -} - -func (x *AppStateSyncKeyData) Reset() { - *x = AppStateSyncKeyData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateSyncKeyData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateSyncKeyData) ProtoMessage() {} - -func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateSyncKeyData.ProtoReflect.Descriptor instead. -func (*AppStateSyncKeyData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{38} -} - -func (x *AppStateSyncKeyData) GetKeyData() []byte { - if x != nil { - return x.KeyData - } - return nil -} - -func (x *AppStateSyncKeyData) GetFingerprint() *AppStateSyncKeyFingerprint { - if x != nil { - return x.Fingerprint - } - return nil -} - -func (x *AppStateSyncKeyData) GetTimestamp() int64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -type AppStateFatalExceptionNotification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CollectionNames []string `protobuf:"bytes,1,rep,name=collectionNames" json:"collectionNames,omitempty"` - Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` -} - -func (x *AppStateFatalExceptionNotification) Reset() { - *x = AppStateFatalExceptionNotification{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AppStateFatalExceptionNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AppStateFatalExceptionNotification) ProtoMessage() {} - -func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AppStateFatalExceptionNotification.ProtoReflect.Descriptor instead. -func (*AppStateFatalExceptionNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{39} -} - -func (x *AppStateFatalExceptionNotification) GetCollectionNames() []string { - if x != nil { - return x.CollectionNames - } - return nil -} - -func (x *AppStateFatalExceptionNotification) GetTimestamp() int64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -type MediaNotifyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExpressPathUrl *string `protobuf:"bytes,1,opt,name=expressPathUrl" json:"expressPathUrl,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,2,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,3,opt,name=fileLength" json:"fileLength,omitempty"` -} - -func (x *MediaNotifyMessage) Reset() { - *x = MediaNotifyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MediaNotifyMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MediaNotifyMessage) ProtoMessage() {} - -func (x *MediaNotifyMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MediaNotifyMessage.ProtoReflect.Descriptor instead. -func (*MediaNotifyMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{40} -} - -func (x *MediaNotifyMessage) GetExpressPathUrl() string { - if x != nil && x.ExpressPathUrl != nil { - return *x.ExpressPathUrl - } - return "" -} - -func (x *MediaNotifyMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *MediaNotifyMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -type Location struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` - DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` -} - -func (x *Location) Reset() { - *x = Location{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Location) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Location) ProtoMessage() {} - -func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Location.ProtoReflect.Descriptor instead. -func (*Location) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{41} -} - -func (x *Location) GetDegreesLatitude() float64 { - if x != nil && x.DegreesLatitude != nil { - return *x.DegreesLatitude - } - return 0 -} - -func (x *Location) GetDegreesLongitude() float64 { - if x != nil && x.DegreesLongitude != nil { - return *x.DegreesLongitude - } - return 0 -} - -func (x *Location) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -type InteractiveAnnotation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PolygonVertices []*Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"` - ShouldSkipConfirmation *bool `protobuf:"varint,4,opt,name=shouldSkipConfirmation" json:"shouldSkipConfirmation,omitempty"` - // Types that are assignable to Action: - // - // *InteractiveAnnotation_Location - // *InteractiveAnnotation_Newsletter - Action isInteractiveAnnotation_Action `protobuf_oneof:"action"` -} - -func (x *InteractiveAnnotation) Reset() { - *x = InteractiveAnnotation{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveAnnotation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveAnnotation) ProtoMessage() {} - -func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveAnnotation.ProtoReflect.Descriptor instead. -func (*InteractiveAnnotation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{42} -} - -func (x *InteractiveAnnotation) GetPolygonVertices() []*Point { - if x != nil { - return x.PolygonVertices - } - return nil -} - -func (x *InteractiveAnnotation) GetShouldSkipConfirmation() bool { - if x != nil && x.ShouldSkipConfirmation != nil { - return *x.ShouldSkipConfirmation - } - return false -} - -func (m *InteractiveAnnotation) GetAction() isInteractiveAnnotation_Action { - if m != nil { - return m.Action - } - return nil -} - -func (x *InteractiveAnnotation) GetLocation() *Location { - if x, ok := x.GetAction().(*InteractiveAnnotation_Location); ok { - return x.Location - } - return nil -} - -func (x *InteractiveAnnotation) GetNewsletter() *ForwardedNewsletterMessageInfo { - if x, ok := x.GetAction().(*InteractiveAnnotation_Newsletter); ok { - return x.Newsletter - } - return nil -} - -type isInteractiveAnnotation_Action interface { - isInteractiveAnnotation_Action() -} - -type InteractiveAnnotation_Location struct { - Location *Location `protobuf:"bytes,2,opt,name=location,oneof"` -} - -type InteractiveAnnotation_Newsletter struct { - Newsletter *ForwardedNewsletterMessageInfo `protobuf:"bytes,3,opt,name=newsletter,oneof"` -} - -func (*InteractiveAnnotation_Location) isInteractiveAnnotation_Action() {} - -func (*InteractiveAnnotation_Newsletter) isInteractiveAnnotation_Action() {} - -type HydratedTemplateButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"` - // Types that are assignable to HydratedButton: - // - // *HydratedTemplateButton_QuickReplyButton - // *HydratedTemplateButton_UrlButton - // *HydratedTemplateButton_CallButton - HydratedButton isHydratedTemplateButton_HydratedButton `protobuf_oneof:"hydratedButton"` -} - -func (x *HydratedTemplateButton) Reset() { - *x = HydratedTemplateButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HydratedTemplateButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HydratedTemplateButton) ProtoMessage() {} - -func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HydratedTemplateButton.ProtoReflect.Descriptor instead. -func (*HydratedTemplateButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{43} -} - -func (x *HydratedTemplateButton) GetIndex() uint32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (m *HydratedTemplateButton) GetHydratedButton() isHydratedTemplateButton_HydratedButton { - if m != nil { - return m.HydratedButton - } - return nil -} - -func (x *HydratedTemplateButton) GetQuickReplyButton() *HydratedTemplateButton_HydratedQuickReplyButton { - if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_QuickReplyButton); ok { - return x.QuickReplyButton - } - return nil -} - -func (x *HydratedTemplateButton) GetUrlButton() *HydratedTemplateButton_HydratedURLButton { - if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_UrlButton); ok { - return x.UrlButton - } - return nil -} - -func (x *HydratedTemplateButton) GetCallButton() *HydratedTemplateButton_HydratedCallButton { - if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_CallButton); ok { - return x.CallButton - } - return nil -} - -type isHydratedTemplateButton_HydratedButton interface { - isHydratedTemplateButton_HydratedButton() -} - -type HydratedTemplateButton_QuickReplyButton struct { - QuickReplyButton *HydratedTemplateButton_HydratedQuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,oneof"` -} - -type HydratedTemplateButton_UrlButton struct { - UrlButton *HydratedTemplateButton_HydratedURLButton `protobuf:"bytes,2,opt,name=urlButton,oneof"` -} - -type HydratedTemplateButton_CallButton struct { - CallButton *HydratedTemplateButton_HydratedCallButton `protobuf:"bytes,3,opt,name=callButton,oneof"` -} - -func (*HydratedTemplateButton_QuickReplyButton) isHydratedTemplateButton_HydratedButton() {} - -func (*HydratedTemplateButton_UrlButton) isHydratedTemplateButton_HydratedButton() {} - -func (*HydratedTemplateButton_CallButton) isHydratedTemplateButton_HydratedButton() {} - -type GroupMention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"` - GroupSubject *string `protobuf:"bytes,2,opt,name=groupSubject" json:"groupSubject,omitempty"` -} - -func (x *GroupMention) Reset() { - *x = GroupMention{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupMention) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupMention) ProtoMessage() {} - -func (x *GroupMention) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupMention.ProtoReflect.Descriptor instead. -func (*GroupMention) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{44} -} - -func (x *GroupMention) GetGroupJid() string { - if x != nil && x.GroupJid != nil { - return *x.GroupJid - } - return "" -} - -func (x *GroupMention) GetGroupSubject() string { - if x != nil && x.GroupSubject != nil { - return *x.GroupSubject - } - return "" -} - -type DisappearingMode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Initiator *DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,enum=proto.DisappearingMode_Initiator" json:"initiator,omitempty"` - Trigger *DisappearingMode_Trigger `protobuf:"varint,2,opt,name=trigger,enum=proto.DisappearingMode_Trigger" json:"trigger,omitempty"` - InitiatorDeviceJid *string `protobuf:"bytes,3,opt,name=initiatorDeviceJid" json:"initiatorDeviceJid,omitempty"` - InitiatedByMe *bool `protobuf:"varint,4,opt,name=initiatedByMe" json:"initiatedByMe,omitempty"` -} - -func (x *DisappearingMode) Reset() { - *x = DisappearingMode{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DisappearingMode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisappearingMode) ProtoMessage() {} - -func (x *DisappearingMode) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisappearingMode.ProtoReflect.Descriptor instead. -func (*DisappearingMode) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{45} -} - -func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator { - if x != nil && x.Initiator != nil { - return *x.Initiator - } - return DisappearingMode_CHANGED_IN_CHAT -} - -func (x *DisappearingMode) GetTrigger() DisappearingMode_Trigger { - if x != nil && x.Trigger != nil { - return *x.Trigger - } - return DisappearingMode_UNKNOWN -} - -func (x *DisappearingMode) GetInitiatorDeviceJid() string { - if x != nil && x.InitiatorDeviceJid != nil { - return *x.InitiatorDeviceJid - } - return "" -} - -func (x *DisappearingMode) GetInitiatedByMe() bool { - if x != nil && x.InitiatedByMe != nil { - return *x.InitiatedByMe - } - return false -} - -type DeviceListMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"` - SenderTimestamp *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"` - SenderKeyIndexes []uint32 `protobuf:"varint,3,rep,packed,name=senderKeyIndexes" json:"senderKeyIndexes,omitempty"` - SenderAccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=senderAccountType,enum=proto.ADVEncryptionType" json:"senderAccountType,omitempty"` - ReceiverAccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=receiverAccountType,enum=proto.ADVEncryptionType" json:"receiverAccountType,omitempty"` - RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"` - RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"` - RecipientKeyIndexes []uint32 `protobuf:"varint,10,rep,packed,name=recipientKeyIndexes" json:"recipientKeyIndexes,omitempty"` -} - -func (x *DeviceListMetadata) Reset() { - *x = DeviceListMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeviceListMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceListMetadata) ProtoMessage() {} - -func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceListMetadata.ProtoReflect.Descriptor instead. -func (*DeviceListMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{46} -} - -func (x *DeviceListMetadata) GetSenderKeyHash() []byte { - if x != nil { - return x.SenderKeyHash - } - return nil -} - -func (x *DeviceListMetadata) GetSenderTimestamp() uint64 { - if x != nil && x.SenderTimestamp != nil { - return *x.SenderTimestamp - } - return 0 -} - -func (x *DeviceListMetadata) GetSenderKeyIndexes() []uint32 { - if x != nil { - return x.SenderKeyIndexes - } - return nil -} - -func (x *DeviceListMetadata) GetSenderAccountType() ADVEncryptionType { - if x != nil && x.SenderAccountType != nil { - return *x.SenderAccountType - } - return ADVEncryptionType_E2EE -} - -func (x *DeviceListMetadata) GetReceiverAccountType() ADVEncryptionType { - if x != nil && x.ReceiverAccountType != nil { - return *x.ReceiverAccountType - } - return ADVEncryptionType_E2EE -} - -func (x *DeviceListMetadata) GetRecipientKeyHash() []byte { - if x != nil { - return x.RecipientKeyHash - } - return nil -} - -func (x *DeviceListMetadata) GetRecipientTimestamp() uint64 { - if x != nil && x.RecipientTimestamp != nil { - return *x.RecipientTimestamp - } - return 0 -} - -func (x *DeviceListMetadata) GetRecipientKeyIndexes() []uint32 { - if x != nil { - return x.RecipientKeyIndexes - } - return nil -} - -type ContextInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` - Participant *string `protobuf:"bytes,2,opt,name=participant" json:"participant,omitempty"` - QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage" json:"quotedMessage,omitempty"` - RemoteJid *string `protobuf:"bytes,4,opt,name=remoteJid" json:"remoteJid,omitempty"` - MentionedJid []string `protobuf:"bytes,15,rep,name=mentionedJid" json:"mentionedJid,omitempty"` - ConversionSource *string `protobuf:"bytes,18,opt,name=conversionSource" json:"conversionSource,omitempty"` - ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData" json:"conversionData,omitempty"` - ConversionDelaySeconds *uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` - ForwardingScore *uint32 `protobuf:"varint,21,opt,name=forwardingScore" json:"forwardingScore,omitempty"` - IsForwarded *bool `protobuf:"varint,22,opt,name=isForwarded" json:"isForwarded,omitempty"` - QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd" json:"quotedAd,omitempty"` - PlaceholderKey *MessageKey `protobuf:"bytes,24,opt,name=placeholderKey" json:"placeholderKey,omitempty"` - Expiration *uint32 `protobuf:"varint,25,opt,name=expiration" json:"expiration,omitempty"` - EphemeralSettingTimestamp *int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` - EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret" json:"ephemeralSharedSecret,omitempty"` - ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply" json:"externalAdReply,omitempty"` - EntryPointConversionSource *string `protobuf:"bytes,29,opt,name=entryPointConversionSource" json:"entryPointConversionSource,omitempty"` - EntryPointConversionApp *string `protobuf:"bytes,30,opt,name=entryPointConversionApp" json:"entryPointConversionApp,omitempty"` - EntryPointConversionDelaySeconds *uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds" json:"entryPointConversionDelaySeconds,omitempty"` - DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode" json:"disappearingMode,omitempty"` - ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink" json:"actionLink,omitempty"` - GroupSubject *string `protobuf:"bytes,34,opt,name=groupSubject" json:"groupSubject,omitempty"` - ParentGroupJid *string `protobuf:"bytes,35,opt,name=parentGroupJid" json:"parentGroupJid,omitempty"` - TrustBannerType *string `protobuf:"bytes,37,opt,name=trustBannerType" json:"trustBannerType,omitempty"` - TrustBannerAction *uint32 `protobuf:"varint,38,opt,name=trustBannerAction" json:"trustBannerAction,omitempty"` - IsSampled *bool `protobuf:"varint,39,opt,name=isSampled" json:"isSampled,omitempty"` - GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions" json:"groupMentions,omitempty"` - Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm" json:"utm,omitempty"` - ForwardedNewsletterMessageInfo *ForwardedNewsletterMessageInfo `protobuf:"bytes,43,opt,name=forwardedNewsletterMessageInfo" json:"forwardedNewsletterMessageInfo,omitempty"` - BusinessMessageForwardInfo *ContextInfo_BusinessMessageForwardInfo `protobuf:"bytes,44,opt,name=businessMessageForwardInfo" json:"businessMessageForwardInfo,omitempty"` - SmbClientCampaignId *string `protobuf:"bytes,45,opt,name=smbClientCampaignId" json:"smbClientCampaignId,omitempty"` - SmbServerCampaignId *string `protobuf:"bytes,46,opt,name=smbServerCampaignId" json:"smbServerCampaignId,omitempty"` - DataSharingContext *ContextInfo_DataSharingContext `protobuf:"bytes,47,opt,name=dataSharingContext" json:"dataSharingContext,omitempty"` - AlwaysShowAdAttribution *bool `protobuf:"varint,48,opt,name=alwaysShowAdAttribution" json:"alwaysShowAdAttribution,omitempty"` -} - -func (x *ContextInfo) Reset() { - *x = ContextInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo) ProtoMessage() {} - -func (x *ContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo.ProtoReflect.Descriptor instead. -func (*ContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47} -} - -func (x *ContextInfo) GetStanzaId() string { - if x != nil && x.StanzaId != nil { - return *x.StanzaId - } - return "" -} - -func (x *ContextInfo) GetParticipant() string { - if x != nil && x.Participant != nil { - return *x.Participant - } - return "" -} - -func (x *ContextInfo) GetQuotedMessage() *Message { - if x != nil { - return x.QuotedMessage - } - return nil -} - -func (x *ContextInfo) GetRemoteJid() string { - if x != nil && x.RemoteJid != nil { - return *x.RemoteJid - } - return "" -} - -func (x *ContextInfo) GetMentionedJid() []string { - if x != nil { - return x.MentionedJid - } - return nil -} - -func (x *ContextInfo) GetConversionSource() string { - if x != nil && x.ConversionSource != nil { - return *x.ConversionSource - } - return "" -} - -func (x *ContextInfo) GetConversionData() []byte { - if x != nil { - return x.ConversionData - } - return nil -} - -func (x *ContextInfo) GetConversionDelaySeconds() uint32 { - if x != nil && x.ConversionDelaySeconds != nil { - return *x.ConversionDelaySeconds - } - return 0 -} - -func (x *ContextInfo) GetForwardingScore() uint32 { - if x != nil && x.ForwardingScore != nil { - return *x.ForwardingScore - } - return 0 -} - -func (x *ContextInfo) GetIsForwarded() bool { - if x != nil && x.IsForwarded != nil { - return *x.IsForwarded - } - return false -} - -func (x *ContextInfo) GetQuotedAd() *ContextInfo_AdReplyInfo { - if x != nil { - return x.QuotedAd - } - return nil -} - -func (x *ContextInfo) GetPlaceholderKey() *MessageKey { - if x != nil { - return x.PlaceholderKey - } - return nil -} - -func (x *ContextInfo) GetExpiration() uint32 { - if x != nil && x.Expiration != nil { - return *x.Expiration - } - return 0 -} - -func (x *ContextInfo) GetEphemeralSettingTimestamp() int64 { - if x != nil && x.EphemeralSettingTimestamp != nil { - return *x.EphemeralSettingTimestamp - } - return 0 -} - -func (x *ContextInfo) GetEphemeralSharedSecret() []byte { - if x != nil { - return x.EphemeralSharedSecret - } - return nil -} - -func (x *ContextInfo) GetExternalAdReply() *ContextInfo_ExternalAdReplyInfo { - if x != nil { - return x.ExternalAdReply - } - return nil -} - -func (x *ContextInfo) GetEntryPointConversionSource() string { - if x != nil && x.EntryPointConversionSource != nil { - return *x.EntryPointConversionSource - } - return "" -} - -func (x *ContextInfo) GetEntryPointConversionApp() string { - if x != nil && x.EntryPointConversionApp != nil { - return *x.EntryPointConversionApp - } - return "" -} - -func (x *ContextInfo) GetEntryPointConversionDelaySeconds() uint32 { - if x != nil && x.EntryPointConversionDelaySeconds != nil { - return *x.EntryPointConversionDelaySeconds - } - return 0 -} - -func (x *ContextInfo) GetDisappearingMode() *DisappearingMode { - if x != nil { - return x.DisappearingMode - } - return nil -} - -func (x *ContextInfo) GetActionLink() *ActionLink { - if x != nil { - return x.ActionLink - } - return nil -} - -func (x *ContextInfo) GetGroupSubject() string { - if x != nil && x.GroupSubject != nil { - return *x.GroupSubject - } - return "" -} - -func (x *ContextInfo) GetParentGroupJid() string { - if x != nil && x.ParentGroupJid != nil { - return *x.ParentGroupJid - } - return "" -} - -func (x *ContextInfo) GetTrustBannerType() string { - if x != nil && x.TrustBannerType != nil { - return *x.TrustBannerType - } - return "" -} - -func (x *ContextInfo) GetTrustBannerAction() uint32 { - if x != nil && x.TrustBannerAction != nil { - return *x.TrustBannerAction - } - return 0 -} - -func (x *ContextInfo) GetIsSampled() bool { - if x != nil && x.IsSampled != nil { - return *x.IsSampled - } - return false -} - -func (x *ContextInfo) GetGroupMentions() []*GroupMention { - if x != nil { - return x.GroupMentions - } - return nil -} - -func (x *ContextInfo) GetUtm() *ContextInfo_UTMInfo { - if x != nil { - return x.Utm - } - return nil -} - -func (x *ContextInfo) GetForwardedNewsletterMessageInfo() *ForwardedNewsletterMessageInfo { - if x != nil { - return x.ForwardedNewsletterMessageInfo - } - return nil -} - -func (x *ContextInfo) GetBusinessMessageForwardInfo() *ContextInfo_BusinessMessageForwardInfo { - if x != nil { - return x.BusinessMessageForwardInfo - } - return nil -} - -func (x *ContextInfo) GetSmbClientCampaignId() string { - if x != nil && x.SmbClientCampaignId != nil { - return *x.SmbClientCampaignId - } - return "" -} - -func (x *ContextInfo) GetSmbServerCampaignId() string { - if x != nil && x.SmbServerCampaignId != nil { - return *x.SmbServerCampaignId - } - return "" -} - -func (x *ContextInfo) GetDataSharingContext() *ContextInfo_DataSharingContext { - if x != nil { - return x.DataSharingContext - } - return nil -} - -func (x *ContextInfo) GetAlwaysShowAdAttribution() bool { - if x != nil && x.AlwaysShowAdAttribution != nil { - return *x.AlwaysShowAdAttribution - } - return false -} - -type ForwardedNewsletterMessageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"` - ServerMessageId *int32 `protobuf:"varint,2,opt,name=serverMessageId" json:"serverMessageId,omitempty"` - NewsletterName *string `protobuf:"bytes,3,opt,name=newsletterName" json:"newsletterName,omitempty"` - ContentType *ForwardedNewsletterMessageInfo_ContentType `protobuf:"varint,4,opt,name=contentType,enum=proto.ForwardedNewsletterMessageInfo_ContentType" json:"contentType,omitempty"` - AccessibilityText *string `protobuf:"bytes,5,opt,name=accessibilityText" json:"accessibilityText,omitempty"` -} - -func (x *ForwardedNewsletterMessageInfo) Reset() { - *x = ForwardedNewsletterMessageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ForwardedNewsletterMessageInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForwardedNewsletterMessageInfo) ProtoMessage() {} - -func (x *ForwardedNewsletterMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ForwardedNewsletterMessageInfo.ProtoReflect.Descriptor instead. -func (*ForwardedNewsletterMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48} -} - -func (x *ForwardedNewsletterMessageInfo) GetNewsletterJid() string { - if x != nil && x.NewsletterJid != nil { - return *x.NewsletterJid - } - return "" -} - -func (x *ForwardedNewsletterMessageInfo) GetServerMessageId() int32 { - if x != nil && x.ServerMessageId != nil { - return *x.ServerMessageId - } - return 0 -} - -func (x *ForwardedNewsletterMessageInfo) GetNewsletterName() string { - if x != nil && x.NewsletterName != nil { - return *x.NewsletterName - } - return "" -} - -func (x *ForwardedNewsletterMessageInfo) GetContentType() ForwardedNewsletterMessageInfo_ContentType { - if x != nil && x.ContentType != nil { - return *x.ContentType - } - return ForwardedNewsletterMessageInfo_UPDATE -} - -func (x *ForwardedNewsletterMessageInfo) GetAccessibilityText() string { - if x != nil && x.AccessibilityText != nil { - return *x.AccessibilityText - } - return "" -} - -type BotSuggestedPromptMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SuggestedPrompts []string `protobuf:"bytes,1,rep,name=suggestedPrompts" json:"suggestedPrompts,omitempty"` - SelectedPromptIndex *uint32 `protobuf:"varint,2,opt,name=selectedPromptIndex" json:"selectedPromptIndex,omitempty"` -} - -func (x *BotSuggestedPromptMetadata) Reset() { - *x = BotSuggestedPromptMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotSuggestedPromptMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotSuggestedPromptMetadata) ProtoMessage() {} - -func (x *BotSuggestedPromptMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotSuggestedPromptMetadata.ProtoReflect.Descriptor instead. -func (*BotSuggestedPromptMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{49} -} - -func (x *BotSuggestedPromptMetadata) GetSuggestedPrompts() []string { - if x != nil { - return x.SuggestedPrompts - } - return nil -} - -func (x *BotSuggestedPromptMetadata) GetSelectedPromptIndex() uint32 { - if x != nil && x.SelectedPromptIndex != nil { - return *x.SelectedPromptIndex - } - return 0 -} - -type BotSearchMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SessionId *string `protobuf:"bytes,1,opt,name=sessionId" json:"sessionId,omitempty"` -} - -func (x *BotSearchMetadata) Reset() { - *x = BotSearchMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotSearchMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotSearchMetadata) ProtoMessage() {} - -func (x *BotSearchMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotSearchMetadata.ProtoReflect.Descriptor instead. -func (*BotSearchMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{50} -} - -func (x *BotSearchMetadata) GetSessionId() string { - if x != nil && x.SessionId != nil { - return *x.SessionId - } - return "" -} - -type BotPluginMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Provider *BotPluginMetadata_SearchProvider `protobuf:"varint,1,opt,name=provider,enum=proto.BotPluginMetadata_SearchProvider" json:"provider,omitempty"` - PluginType *BotPluginMetadata_PluginType `protobuf:"varint,2,opt,name=pluginType,enum=proto.BotPluginMetadata_PluginType" json:"pluginType,omitempty"` - ThumbnailCdnUrl *string `protobuf:"bytes,3,opt,name=thumbnailCdnUrl" json:"thumbnailCdnUrl,omitempty"` - ProfilePhotoCdnUrl *string `protobuf:"bytes,4,opt,name=profilePhotoCdnUrl" json:"profilePhotoCdnUrl,omitempty"` - SearchProviderUrl *string `protobuf:"bytes,5,opt,name=searchProviderUrl" json:"searchProviderUrl,omitempty"` - ReferenceIndex *uint32 `protobuf:"varint,6,opt,name=referenceIndex" json:"referenceIndex,omitempty"` - ExpectedLinksCount *uint32 `protobuf:"varint,7,opt,name=expectedLinksCount" json:"expectedLinksCount,omitempty"` - SearchQuery *string `protobuf:"bytes,9,opt,name=searchQuery" json:"searchQuery,omitempty"` - ParentPluginMessageKey *MessageKey `protobuf:"bytes,10,opt,name=parentPluginMessageKey" json:"parentPluginMessageKey,omitempty"` -} - -func (x *BotPluginMetadata) Reset() { - *x = BotPluginMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotPluginMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotPluginMetadata) ProtoMessage() {} - -func (x *BotPluginMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotPluginMetadata.ProtoReflect.Descriptor instead. -func (*BotPluginMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51} -} - -func (x *BotPluginMetadata) GetProvider() BotPluginMetadata_SearchProvider { - if x != nil && x.Provider != nil { - return *x.Provider - } - return BotPluginMetadata_BING -} - -func (x *BotPluginMetadata) GetPluginType() BotPluginMetadata_PluginType { - if x != nil && x.PluginType != nil { - return *x.PluginType - } - return BotPluginMetadata_REELS -} - -func (x *BotPluginMetadata) GetThumbnailCdnUrl() string { - if x != nil && x.ThumbnailCdnUrl != nil { - return *x.ThumbnailCdnUrl - } - return "" -} - -func (x *BotPluginMetadata) GetProfilePhotoCdnUrl() string { - if x != nil && x.ProfilePhotoCdnUrl != nil { - return *x.ProfilePhotoCdnUrl - } - return "" -} - -func (x *BotPluginMetadata) GetSearchProviderUrl() string { - if x != nil && x.SearchProviderUrl != nil { - return *x.SearchProviderUrl - } - return "" -} - -func (x *BotPluginMetadata) GetReferenceIndex() uint32 { - if x != nil && x.ReferenceIndex != nil { - return *x.ReferenceIndex - } - return 0 -} - -func (x *BotPluginMetadata) GetExpectedLinksCount() uint32 { - if x != nil && x.ExpectedLinksCount != nil { - return *x.ExpectedLinksCount - } - return 0 -} - -func (x *BotPluginMetadata) GetSearchQuery() string { - if x != nil && x.SearchQuery != nil { - return *x.SearchQuery - } - return "" -} - -func (x *BotPluginMetadata) GetParentPluginMessageKey() *MessageKey { - if x != nil { - return x.ParentPluginMessageKey - } - return nil -} - -type BotMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AvatarMetadata *BotAvatarMetadata `protobuf:"bytes,1,opt,name=avatarMetadata" json:"avatarMetadata,omitempty"` - PersonaId *string `protobuf:"bytes,2,opt,name=personaId" json:"personaId,omitempty"` - PluginMetadata *BotPluginMetadata `protobuf:"bytes,3,opt,name=pluginMetadata" json:"pluginMetadata,omitempty"` - SuggestedPromptMetadata *BotSuggestedPromptMetadata `protobuf:"bytes,4,opt,name=suggestedPromptMetadata" json:"suggestedPromptMetadata,omitempty"` - InvokerJid *string `protobuf:"bytes,5,opt,name=invokerJid" json:"invokerJid,omitempty"` - SearchMetadata *BotSearchMetadata `protobuf:"bytes,6,opt,name=searchMetadata" json:"searchMetadata,omitempty"` -} - -func (x *BotMetadata) Reset() { - *x = BotMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotMetadata) ProtoMessage() {} - -func (x *BotMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotMetadata.ProtoReflect.Descriptor instead. -func (*BotMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{52} -} - -func (x *BotMetadata) GetAvatarMetadata() *BotAvatarMetadata { - if x != nil { - return x.AvatarMetadata - } - return nil -} - -func (x *BotMetadata) GetPersonaId() string { - if x != nil && x.PersonaId != nil { - return *x.PersonaId - } - return "" -} - -func (x *BotMetadata) GetPluginMetadata() *BotPluginMetadata { - if x != nil { - return x.PluginMetadata - } - return nil -} - -func (x *BotMetadata) GetSuggestedPromptMetadata() *BotSuggestedPromptMetadata { - if x != nil { - return x.SuggestedPromptMetadata - } - return nil -} - -func (x *BotMetadata) GetInvokerJid() string { - if x != nil && x.InvokerJid != nil { - return *x.InvokerJid - } - return "" -} - -func (x *BotMetadata) GetSearchMetadata() *BotSearchMetadata { - if x != nil { - return x.SearchMetadata - } - return nil -} - -type BotAvatarMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sentiment *uint32 `protobuf:"varint,1,opt,name=sentiment" json:"sentiment,omitempty"` - BehaviorGraph *string `protobuf:"bytes,2,opt,name=behaviorGraph" json:"behaviorGraph,omitempty"` - Action *uint32 `protobuf:"varint,3,opt,name=action" json:"action,omitempty"` - Intensity *uint32 `protobuf:"varint,4,opt,name=intensity" json:"intensity,omitempty"` - WordCount *uint32 `protobuf:"varint,5,opt,name=wordCount" json:"wordCount,omitempty"` -} - -func (x *BotAvatarMetadata) Reset() { - *x = BotAvatarMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotAvatarMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotAvatarMetadata) ProtoMessage() {} - -func (x *BotAvatarMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotAvatarMetadata.ProtoReflect.Descriptor instead. -func (*BotAvatarMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53} -} - -func (x *BotAvatarMetadata) GetSentiment() uint32 { - if x != nil && x.Sentiment != nil { - return *x.Sentiment - } - return 0 -} - -func (x *BotAvatarMetadata) GetBehaviorGraph() string { - if x != nil && x.BehaviorGraph != nil { - return *x.BehaviorGraph - } - return "" -} - -func (x *BotAvatarMetadata) GetAction() uint32 { - if x != nil && x.Action != nil { - return *x.Action - } - return 0 -} - -func (x *BotAvatarMetadata) GetIntensity() uint32 { - if x != nil && x.Intensity != nil { - return *x.Intensity - } - return 0 -} - -func (x *BotAvatarMetadata) GetWordCount() uint32 { - if x != nil && x.WordCount != nil { - return *x.WordCount - } - return 0 -} - -type ActionLink struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - ButtonTitle *string `protobuf:"bytes,2,opt,name=buttonTitle" json:"buttonTitle,omitempty"` -} - -func (x *ActionLink) Reset() { - *x = ActionLink{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActionLink) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionLink) ProtoMessage() {} - -func (x *ActionLink) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionLink.ProtoReflect.Descriptor instead. -func (*ActionLink) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{54} -} - -func (x *ActionLink) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *ActionLink) GetButtonTitle() string { - if x != nil && x.ButtonTitle != nil { - return *x.ButtonTitle - } - return "" -} - -type TemplateButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index *uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"` - // Types that are assignable to Button: - // - // *TemplateButton_QuickReplyButton_ - // *TemplateButton_UrlButton - // *TemplateButton_CallButton_ - Button isTemplateButton_Button `protobuf_oneof:"button"` -} - -func (x *TemplateButton) Reset() { - *x = TemplateButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateButton) ProtoMessage() {} - -func (x *TemplateButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateButton.ProtoReflect.Descriptor instead. -func (*TemplateButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55} -} - -func (x *TemplateButton) GetIndex() uint32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (m *TemplateButton) GetButton() isTemplateButton_Button { - if m != nil { - return m.Button - } - return nil -} - -func (x *TemplateButton) GetQuickReplyButton() *TemplateButton_QuickReplyButton { - if x, ok := x.GetButton().(*TemplateButton_QuickReplyButton_); ok { - return x.QuickReplyButton - } - return nil -} - -func (x *TemplateButton) GetUrlButton() *TemplateButton_URLButton { - if x, ok := x.GetButton().(*TemplateButton_UrlButton); ok { - return x.UrlButton - } - return nil -} - -func (x *TemplateButton) GetCallButton() *TemplateButton_CallButton { - if x, ok := x.GetButton().(*TemplateButton_CallButton_); ok { - return x.CallButton - } - return nil -} - -type isTemplateButton_Button interface { - isTemplateButton_Button() -} - -type TemplateButton_QuickReplyButton_ struct { - QuickReplyButton *TemplateButton_QuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,oneof"` -} - -type TemplateButton_UrlButton struct { - UrlButton *TemplateButton_URLButton `protobuf:"bytes,2,opt,name=urlButton,oneof"` -} - -type TemplateButton_CallButton_ struct { - CallButton *TemplateButton_CallButton `protobuf:"bytes,3,opt,name=callButton,oneof"` -} - -func (*TemplateButton_QuickReplyButton_) isTemplateButton_Button() {} - -func (*TemplateButton_UrlButton) isTemplateButton_Button() {} - -func (*TemplateButton_CallButton_) isTemplateButton_Button() {} - -type Point struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - XDeprecated *int32 `protobuf:"varint,1,opt,name=xDeprecated" json:"xDeprecated,omitempty"` - YDeprecated *int32 `protobuf:"varint,2,opt,name=yDeprecated" json:"yDeprecated,omitempty"` - X *float64 `protobuf:"fixed64,3,opt,name=x" json:"x,omitempty"` - Y *float64 `protobuf:"fixed64,4,opt,name=y" json:"y,omitempty"` -} - -func (x *Point) Reset() { - *x = Point{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Point) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Point) ProtoMessage() {} - -func (x *Point) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Point.ProtoReflect.Descriptor instead. -func (*Point) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{56} -} - -func (x *Point) GetXDeprecated() int32 { - if x != nil && x.XDeprecated != nil { - return *x.XDeprecated - } - return 0 -} - -func (x *Point) GetYDeprecated() int32 { - if x != nil && x.YDeprecated != nil { - return *x.YDeprecated - } - return 0 -} - -func (x *Point) GetX() float64 { - if x != nil && x.X != nil { - return *x.X - } - return 0 -} - -func (x *Point) GetY() float64 { - if x != nil && x.Y != nil { - return *x.Y - } - return 0 -} - -type PaymentBackground struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"` - Width *uint32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"` - Height *uint32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"` - Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` - PlaceholderArgb *uint32 `protobuf:"fixed32,6,opt,name=placeholderArgb" json:"placeholderArgb,omitempty"` - TextArgb *uint32 `protobuf:"fixed32,7,opt,name=textArgb" json:"textArgb,omitempty"` - SubtextArgb *uint32 `protobuf:"fixed32,8,opt,name=subtextArgb" json:"subtextArgb,omitempty"` - MediaData *PaymentBackground_MediaData `protobuf:"bytes,9,opt,name=mediaData" json:"mediaData,omitempty"` - Type *PaymentBackground_Type `protobuf:"varint,10,opt,name=type,enum=proto.PaymentBackground_Type" json:"type,omitempty"` -} - -func (x *PaymentBackground) Reset() { - *x = PaymentBackground{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaymentBackground) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaymentBackground) ProtoMessage() {} - -func (x *PaymentBackground) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaymentBackground.ProtoReflect.Descriptor instead. -func (*PaymentBackground) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{57} -} - -func (x *PaymentBackground) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *PaymentBackground) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *PaymentBackground) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *PaymentBackground) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *PaymentBackground) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *PaymentBackground) GetPlaceholderArgb() uint32 { - if x != nil && x.PlaceholderArgb != nil { - return *x.PlaceholderArgb - } - return 0 -} - -func (x *PaymentBackground) GetTextArgb() uint32 { - if x != nil && x.TextArgb != nil { - return *x.TextArgb - } - return 0 -} - -func (x *PaymentBackground) GetSubtextArgb() uint32 { - if x != nil && x.SubtextArgb != nil { - return *x.SubtextArgb - } - return 0 -} - -func (x *PaymentBackground) GetMediaData() *PaymentBackground_MediaData { - if x != nil { - return x.MediaData - } - return nil -} - -func (x *PaymentBackground) GetType() PaymentBackground_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return PaymentBackground_UNKNOWN -} - -type Money struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *int64 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"` - Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` - CurrencyCode *string `protobuf:"bytes,3,opt,name=currencyCode" json:"currencyCode,omitempty"` -} - -func (x *Money) Reset() { - *x = Money{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Money) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Money) ProtoMessage() {} - -func (x *Money) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Money.ProtoReflect.Descriptor instead. -func (*Money) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{58} -} - -func (x *Money) GetValue() int64 { - if x != nil && x.Value != nil { - return *x.Value - } - return 0 -} - -func (x *Money) GetOffset() uint32 { - if x != nil && x.Offset != nil { - return *x.Offset - } - return 0 -} - -func (x *Money) GetCurrencyCode() string { - if x != nil && x.CurrencyCode != nil { - return *x.CurrencyCode - } - return "" -} - -type Message struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Conversation *string `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"` - SenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=senderKeyDistributionMessage" json:"senderKeyDistributionMessage,omitempty"` - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage" json:"imageMessage,omitempty"` - ContactMessage *ContactMessage `protobuf:"bytes,4,opt,name=contactMessage" json:"contactMessage,omitempty"` - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage" json:"locationMessage,omitempty"` - ExtendedTextMessage *ExtendedTextMessage `protobuf:"bytes,6,opt,name=extendedTextMessage" json:"extendedTextMessage,omitempty"` - DocumentMessage *DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage" json:"documentMessage,omitempty"` - AudioMessage *AudioMessage `protobuf:"bytes,8,opt,name=audioMessage" json:"audioMessage,omitempty"` - VideoMessage *VideoMessage `protobuf:"bytes,9,opt,name=videoMessage" json:"videoMessage,omitempty"` - Call *Call `protobuf:"bytes,10,opt,name=call" json:"call,omitempty"` - Chat *Chat `protobuf:"bytes,11,opt,name=chat" json:"chat,omitempty"` - ProtocolMessage *ProtocolMessage `protobuf:"bytes,12,opt,name=protocolMessage" json:"protocolMessage,omitempty"` - ContactsArrayMessage *ContactsArrayMessage `protobuf:"bytes,13,opt,name=contactsArrayMessage" json:"contactsArrayMessage,omitempty"` - HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,14,opt,name=highlyStructuredMessage" json:"highlyStructuredMessage,omitempty"` - FastRatchetKeySenderKeyDistributionMessage *SenderKeyDistributionMessage `protobuf:"bytes,15,opt,name=fastRatchetKeySenderKeyDistributionMessage" json:"fastRatchetKeySenderKeyDistributionMessage,omitempty"` - SendPaymentMessage *SendPaymentMessage `protobuf:"bytes,16,opt,name=sendPaymentMessage" json:"sendPaymentMessage,omitempty"` - LiveLocationMessage *LiveLocationMessage `protobuf:"bytes,18,opt,name=liveLocationMessage" json:"liveLocationMessage,omitempty"` - RequestPaymentMessage *RequestPaymentMessage `protobuf:"bytes,22,opt,name=requestPaymentMessage" json:"requestPaymentMessage,omitempty"` - DeclinePaymentRequestMessage *DeclinePaymentRequestMessage `protobuf:"bytes,23,opt,name=declinePaymentRequestMessage" json:"declinePaymentRequestMessage,omitempty"` - CancelPaymentRequestMessage *CancelPaymentRequestMessage `protobuf:"bytes,24,opt,name=cancelPaymentRequestMessage" json:"cancelPaymentRequestMessage,omitempty"` - TemplateMessage *TemplateMessage `protobuf:"bytes,25,opt,name=templateMessage" json:"templateMessage,omitempty"` - StickerMessage *StickerMessage `protobuf:"bytes,26,opt,name=stickerMessage" json:"stickerMessage,omitempty"` - GroupInviteMessage *GroupInviteMessage `protobuf:"bytes,28,opt,name=groupInviteMessage" json:"groupInviteMessage,omitempty"` - TemplateButtonReplyMessage *TemplateButtonReplyMessage `protobuf:"bytes,29,opt,name=templateButtonReplyMessage" json:"templateButtonReplyMessage,omitempty"` - ProductMessage *ProductMessage `protobuf:"bytes,30,opt,name=productMessage" json:"productMessage,omitempty"` - DeviceSentMessage *DeviceSentMessage `protobuf:"bytes,31,opt,name=deviceSentMessage" json:"deviceSentMessage,omitempty"` - MessageContextInfo *MessageContextInfo `protobuf:"bytes,35,opt,name=messageContextInfo" json:"messageContextInfo,omitempty"` - ListMessage *ListMessage `protobuf:"bytes,36,opt,name=listMessage" json:"listMessage,omitempty"` - ViewOnceMessage *FutureProofMessage `protobuf:"bytes,37,opt,name=viewOnceMessage" json:"viewOnceMessage,omitempty"` - OrderMessage *OrderMessage `protobuf:"bytes,38,opt,name=orderMessage" json:"orderMessage,omitempty"` - ListResponseMessage *ListResponseMessage `protobuf:"bytes,39,opt,name=listResponseMessage" json:"listResponseMessage,omitempty"` - EphemeralMessage *FutureProofMessage `protobuf:"bytes,40,opt,name=ephemeralMessage" json:"ephemeralMessage,omitempty"` - InvoiceMessage *InvoiceMessage `protobuf:"bytes,41,opt,name=invoiceMessage" json:"invoiceMessage,omitempty"` - ButtonsMessage *ButtonsMessage `protobuf:"bytes,42,opt,name=buttonsMessage" json:"buttonsMessage,omitempty"` - ButtonsResponseMessage *ButtonsResponseMessage `protobuf:"bytes,43,opt,name=buttonsResponseMessage" json:"buttonsResponseMessage,omitempty"` - PaymentInviteMessage *PaymentInviteMessage `protobuf:"bytes,44,opt,name=paymentInviteMessage" json:"paymentInviteMessage,omitempty"` - InteractiveMessage *InteractiveMessage `protobuf:"bytes,45,opt,name=interactiveMessage" json:"interactiveMessage,omitempty"` - ReactionMessage *ReactionMessage `protobuf:"bytes,46,opt,name=reactionMessage" json:"reactionMessage,omitempty"` - StickerSyncRmrMessage *StickerSyncRMRMessage `protobuf:"bytes,47,opt,name=stickerSyncRmrMessage" json:"stickerSyncRmrMessage,omitempty"` - InteractiveResponseMessage *InteractiveResponseMessage `protobuf:"bytes,48,opt,name=interactiveResponseMessage" json:"interactiveResponseMessage,omitempty"` - PollCreationMessage *PollCreationMessage `protobuf:"bytes,49,opt,name=pollCreationMessage" json:"pollCreationMessage,omitempty"` - PollUpdateMessage *PollUpdateMessage `protobuf:"bytes,50,opt,name=pollUpdateMessage" json:"pollUpdateMessage,omitempty"` - KeepInChatMessage *KeepInChatMessage `protobuf:"bytes,51,opt,name=keepInChatMessage" json:"keepInChatMessage,omitempty"` - DocumentWithCaptionMessage *FutureProofMessage `protobuf:"bytes,53,opt,name=documentWithCaptionMessage" json:"documentWithCaptionMessage,omitempty"` - RequestPhoneNumberMessage *RequestPhoneNumberMessage `protobuf:"bytes,54,opt,name=requestPhoneNumberMessage" json:"requestPhoneNumberMessage,omitempty"` - ViewOnceMessageV2 *FutureProofMessage `protobuf:"bytes,55,opt,name=viewOnceMessageV2" json:"viewOnceMessageV2,omitempty"` - EncReactionMessage *EncReactionMessage `protobuf:"bytes,56,opt,name=encReactionMessage" json:"encReactionMessage,omitempty"` - EditedMessage *FutureProofMessage `protobuf:"bytes,58,opt,name=editedMessage" json:"editedMessage,omitempty"` - ViewOnceMessageV2Extension *FutureProofMessage `protobuf:"bytes,59,opt,name=viewOnceMessageV2Extension" json:"viewOnceMessageV2Extension,omitempty"` - PollCreationMessageV2 *PollCreationMessage `protobuf:"bytes,60,opt,name=pollCreationMessageV2" json:"pollCreationMessageV2,omitempty"` - ScheduledCallCreationMessage *ScheduledCallCreationMessage `protobuf:"bytes,61,opt,name=scheduledCallCreationMessage" json:"scheduledCallCreationMessage,omitempty"` - GroupMentionedMessage *FutureProofMessage `protobuf:"bytes,62,opt,name=groupMentionedMessage" json:"groupMentionedMessage,omitempty"` - PinInChatMessage *PinInChatMessage `protobuf:"bytes,63,opt,name=pinInChatMessage" json:"pinInChatMessage,omitempty"` - PollCreationMessageV3 *PollCreationMessage `protobuf:"bytes,64,opt,name=pollCreationMessageV3" json:"pollCreationMessageV3,omitempty"` - ScheduledCallEditMessage *ScheduledCallEditMessage `protobuf:"bytes,65,opt,name=scheduledCallEditMessage" json:"scheduledCallEditMessage,omitempty"` - PtvMessage *VideoMessage `protobuf:"bytes,66,opt,name=ptvMessage" json:"ptvMessage,omitempty"` - BotInvokeMessage *FutureProofMessage `protobuf:"bytes,67,opt,name=botInvokeMessage" json:"botInvokeMessage,omitempty"` - CallLogMesssage *CallLogMessage `protobuf:"bytes,69,opt,name=callLogMesssage" json:"callLogMesssage,omitempty"` - MessageHistoryBundle *MessageHistoryBundle `protobuf:"bytes,70,opt,name=messageHistoryBundle" json:"messageHistoryBundle,omitempty"` - EncCommentMessage *EncCommentMessage `protobuf:"bytes,71,opt,name=encCommentMessage" json:"encCommentMessage,omitempty"` - BcallMessage *BCallMessage `protobuf:"bytes,72,opt,name=bcallMessage" json:"bcallMessage,omitempty"` - LottieStickerMessage *FutureProofMessage `protobuf:"bytes,74,opt,name=lottieStickerMessage" json:"lottieStickerMessage,omitempty"` - EventMessage *EventMessage `protobuf:"bytes,75,opt,name=eventMessage" json:"eventMessage,omitempty"` - EncEventResponseMessage *EncEventResponseMessage `protobuf:"bytes,76,opt,name=encEventResponseMessage" json:"encEventResponseMessage,omitempty"` - CommentMessage *CommentMessage `protobuf:"bytes,77,opt,name=commentMessage" json:"commentMessage,omitempty"` - NewsletterAdminInviteMessage *NewsletterAdminInviteMessage `protobuf:"bytes,78,opt,name=newsletterAdminInviteMessage" json:"newsletterAdminInviteMessage,omitempty"` - PlaceholderMessage *PlaceholderMessage `protobuf:"bytes,80,opt,name=placeholderMessage" json:"placeholderMessage,omitempty"` - SecretEncryptedMessage *SecretEncryptedMessage `protobuf:"bytes,82,opt,name=secretEncryptedMessage" json:"secretEncryptedMessage,omitempty"` -} - -func (x *Message) Reset() { - *x = Message{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{59} -} - -func (x *Message) GetConversation() string { - if x != nil && x.Conversation != nil { - return *x.Conversation - } - return "" -} - -func (x *Message) GetSenderKeyDistributionMessage() *SenderKeyDistributionMessage { - if x != nil { - return x.SenderKeyDistributionMessage - } - return nil -} - -func (x *Message) GetImageMessage() *ImageMessage { - if x != nil { - return x.ImageMessage - } - return nil -} - -func (x *Message) GetContactMessage() *ContactMessage { - if x != nil { - return x.ContactMessage - } - return nil -} - -func (x *Message) GetLocationMessage() *LocationMessage { - if x != nil { - return x.LocationMessage - } - return nil -} - -func (x *Message) GetExtendedTextMessage() *ExtendedTextMessage { - if x != nil { - return x.ExtendedTextMessage - } - return nil -} - -func (x *Message) GetDocumentMessage() *DocumentMessage { - if x != nil { - return x.DocumentMessage - } - return nil -} - -func (x *Message) GetAudioMessage() *AudioMessage { - if x != nil { - return x.AudioMessage - } - return nil -} - -func (x *Message) GetVideoMessage() *VideoMessage { - if x != nil { - return x.VideoMessage - } - return nil -} - -func (x *Message) GetCall() *Call { - if x != nil { - return x.Call - } - return nil -} - -func (x *Message) GetChat() *Chat { - if x != nil { - return x.Chat - } - return nil -} - -func (x *Message) GetProtocolMessage() *ProtocolMessage { - if x != nil { - return x.ProtocolMessage - } - return nil -} - -func (x *Message) GetContactsArrayMessage() *ContactsArrayMessage { - if x != nil { - return x.ContactsArrayMessage - } - return nil -} - -func (x *Message) GetHighlyStructuredMessage() *HighlyStructuredMessage { - if x != nil { - return x.HighlyStructuredMessage - } - return nil -} - -func (x *Message) GetFastRatchetKeySenderKeyDistributionMessage() *SenderKeyDistributionMessage { - if x != nil { - return x.FastRatchetKeySenderKeyDistributionMessage - } - return nil -} - -func (x *Message) GetSendPaymentMessage() *SendPaymentMessage { - if x != nil { - return x.SendPaymentMessage - } - return nil -} - -func (x *Message) GetLiveLocationMessage() *LiveLocationMessage { - if x != nil { - return x.LiveLocationMessage - } - return nil -} - -func (x *Message) GetRequestPaymentMessage() *RequestPaymentMessage { - if x != nil { - return x.RequestPaymentMessage - } - return nil -} - -func (x *Message) GetDeclinePaymentRequestMessage() *DeclinePaymentRequestMessage { - if x != nil { - return x.DeclinePaymentRequestMessage - } - return nil -} - -func (x *Message) GetCancelPaymentRequestMessage() *CancelPaymentRequestMessage { - if x != nil { - return x.CancelPaymentRequestMessage - } - return nil -} - -func (x *Message) GetTemplateMessage() *TemplateMessage { - if x != nil { - return x.TemplateMessage - } - return nil -} - -func (x *Message) GetStickerMessage() *StickerMessage { - if x != nil { - return x.StickerMessage - } - return nil -} - -func (x *Message) GetGroupInviteMessage() *GroupInviteMessage { - if x != nil { - return x.GroupInviteMessage - } - return nil -} - -func (x *Message) GetTemplateButtonReplyMessage() *TemplateButtonReplyMessage { - if x != nil { - return x.TemplateButtonReplyMessage - } - return nil -} - -func (x *Message) GetProductMessage() *ProductMessage { - if x != nil { - return x.ProductMessage - } - return nil -} - -func (x *Message) GetDeviceSentMessage() *DeviceSentMessage { - if x != nil { - return x.DeviceSentMessage - } - return nil -} - -func (x *Message) GetMessageContextInfo() *MessageContextInfo { - if x != nil { - return x.MessageContextInfo - } - return nil -} - -func (x *Message) GetListMessage() *ListMessage { - if x != nil { - return x.ListMessage - } - return nil -} - -func (x *Message) GetViewOnceMessage() *FutureProofMessage { - if x != nil { - return x.ViewOnceMessage - } - return nil -} - -func (x *Message) GetOrderMessage() *OrderMessage { - if x != nil { - return x.OrderMessage - } - return nil -} - -func (x *Message) GetListResponseMessage() *ListResponseMessage { - if x != nil { - return x.ListResponseMessage - } - return nil -} - -func (x *Message) GetEphemeralMessage() *FutureProofMessage { - if x != nil { - return x.EphemeralMessage - } - return nil -} - -func (x *Message) GetInvoiceMessage() *InvoiceMessage { - if x != nil { - return x.InvoiceMessage - } - return nil -} - -func (x *Message) GetButtonsMessage() *ButtonsMessage { - if x != nil { - return x.ButtonsMessage - } - return nil -} - -func (x *Message) GetButtonsResponseMessage() *ButtonsResponseMessage { - if x != nil { - return x.ButtonsResponseMessage - } - return nil -} - -func (x *Message) GetPaymentInviteMessage() *PaymentInviteMessage { - if x != nil { - return x.PaymentInviteMessage - } - return nil -} - -func (x *Message) GetInteractiveMessage() *InteractiveMessage { - if x != nil { - return x.InteractiveMessage - } - return nil -} - -func (x *Message) GetReactionMessage() *ReactionMessage { - if x != nil { - return x.ReactionMessage - } - return nil -} - -func (x *Message) GetStickerSyncRmrMessage() *StickerSyncRMRMessage { - if x != nil { - return x.StickerSyncRmrMessage - } - return nil -} - -func (x *Message) GetInteractiveResponseMessage() *InteractiveResponseMessage { - if x != nil { - return x.InteractiveResponseMessage - } - return nil -} - -func (x *Message) GetPollCreationMessage() *PollCreationMessage { - if x != nil { - return x.PollCreationMessage - } - return nil -} - -func (x *Message) GetPollUpdateMessage() *PollUpdateMessage { - if x != nil { - return x.PollUpdateMessage - } - return nil -} - -func (x *Message) GetKeepInChatMessage() *KeepInChatMessage { - if x != nil { - return x.KeepInChatMessage - } - return nil -} - -func (x *Message) GetDocumentWithCaptionMessage() *FutureProofMessage { - if x != nil { - return x.DocumentWithCaptionMessage - } - return nil -} - -func (x *Message) GetRequestPhoneNumberMessage() *RequestPhoneNumberMessage { - if x != nil { - return x.RequestPhoneNumberMessage - } - return nil -} - -func (x *Message) GetViewOnceMessageV2() *FutureProofMessage { - if x != nil { - return x.ViewOnceMessageV2 - } - return nil -} - -func (x *Message) GetEncReactionMessage() *EncReactionMessage { - if x != nil { - return x.EncReactionMessage - } - return nil -} - -func (x *Message) GetEditedMessage() *FutureProofMessage { - if x != nil { - return x.EditedMessage - } - return nil -} - -func (x *Message) GetViewOnceMessageV2Extension() *FutureProofMessage { - if x != nil { - return x.ViewOnceMessageV2Extension - } - return nil -} - -func (x *Message) GetPollCreationMessageV2() *PollCreationMessage { - if x != nil { - return x.PollCreationMessageV2 - } - return nil -} - -func (x *Message) GetScheduledCallCreationMessage() *ScheduledCallCreationMessage { - if x != nil { - return x.ScheduledCallCreationMessage - } - return nil -} - -func (x *Message) GetGroupMentionedMessage() *FutureProofMessage { - if x != nil { - return x.GroupMentionedMessage - } - return nil -} - -func (x *Message) GetPinInChatMessage() *PinInChatMessage { - if x != nil { - return x.PinInChatMessage - } - return nil -} - -func (x *Message) GetPollCreationMessageV3() *PollCreationMessage { - if x != nil { - return x.PollCreationMessageV3 - } - return nil -} - -func (x *Message) GetScheduledCallEditMessage() *ScheduledCallEditMessage { - if x != nil { - return x.ScheduledCallEditMessage - } - return nil -} - -func (x *Message) GetPtvMessage() *VideoMessage { - if x != nil { - return x.PtvMessage - } - return nil -} - -func (x *Message) GetBotInvokeMessage() *FutureProofMessage { - if x != nil { - return x.BotInvokeMessage - } - return nil -} - -func (x *Message) GetCallLogMesssage() *CallLogMessage { - if x != nil { - return x.CallLogMesssage - } - return nil -} - -func (x *Message) GetMessageHistoryBundle() *MessageHistoryBundle { - if x != nil { - return x.MessageHistoryBundle - } - return nil -} - -func (x *Message) GetEncCommentMessage() *EncCommentMessage { - if x != nil { - return x.EncCommentMessage - } - return nil -} - -func (x *Message) GetBcallMessage() *BCallMessage { - if x != nil { - return x.BcallMessage - } - return nil -} - -func (x *Message) GetLottieStickerMessage() *FutureProofMessage { - if x != nil { - return x.LottieStickerMessage - } - return nil -} - -func (x *Message) GetEventMessage() *EventMessage { - if x != nil { - return x.EventMessage - } - return nil -} - -func (x *Message) GetEncEventResponseMessage() *EncEventResponseMessage { - if x != nil { - return x.EncEventResponseMessage - } - return nil -} - -func (x *Message) GetCommentMessage() *CommentMessage { - if x != nil { - return x.CommentMessage - } - return nil -} - -func (x *Message) GetNewsletterAdminInviteMessage() *NewsletterAdminInviteMessage { - if x != nil { - return x.NewsletterAdminInviteMessage - } - return nil -} - -func (x *Message) GetPlaceholderMessage() *PlaceholderMessage { - if x != nil { - return x.PlaceholderMessage - } - return nil -} - -func (x *Message) GetSecretEncryptedMessage() *SecretEncryptedMessage { - if x != nil { - return x.SecretEncryptedMessage - } - return nil -} - -type MessageSecretMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *int32 `protobuf:"fixed32,1,opt,name=version" json:"version,omitempty"` - EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"` - EncPayload []byte `protobuf:"bytes,3,opt,name=encPayload" json:"encPayload,omitempty"` -} - -func (x *MessageSecretMessage) Reset() { - *x = MessageSecretMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageSecretMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageSecretMessage) ProtoMessage() {} - -func (x *MessageSecretMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageSecretMessage.ProtoReflect.Descriptor instead. -func (*MessageSecretMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60} -} - -func (x *MessageSecretMessage) GetVersion() int32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -func (x *MessageSecretMessage) GetEncIv() []byte { - if x != nil { - return x.EncIv - } - return nil -} - -func (x *MessageSecretMessage) GetEncPayload() []byte { - if x != nil { - return x.EncPayload - } - return nil -} - -type MessageContextInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"` - DeviceListMetadataVersion *int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion" json:"deviceListMetadataVersion,omitempty"` - MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret" json:"messageSecret,omitempty"` - PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes" json:"paddingBytes,omitempty"` - MessageAddOnDurationInSecs *uint32 `protobuf:"varint,5,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"` - BotMessageSecret []byte `protobuf:"bytes,6,opt,name=botMessageSecret" json:"botMessageSecret,omitempty"` - BotMetadata *BotMetadata `protobuf:"bytes,7,opt,name=botMetadata" json:"botMetadata,omitempty"` - ReportingTokenVersion *int32 `protobuf:"varint,8,opt,name=reportingTokenVersion" json:"reportingTokenVersion,omitempty"` -} - -func (x *MessageContextInfo) Reset() { - *x = MessageContextInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageContextInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageContextInfo) ProtoMessage() {} - -func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageContextInfo.ProtoReflect.Descriptor instead. -func (*MessageContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{61} -} - -func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata { - if x != nil { - return x.DeviceListMetadata - } - return nil -} - -func (x *MessageContextInfo) GetDeviceListMetadataVersion() int32 { - if x != nil && x.DeviceListMetadataVersion != nil { - return *x.DeviceListMetadataVersion - } - return 0 -} - -func (x *MessageContextInfo) GetMessageSecret() []byte { - if x != nil { - return x.MessageSecret - } - return nil -} - -func (x *MessageContextInfo) GetPaddingBytes() []byte { - if x != nil { - return x.PaddingBytes - } - return nil -} - -func (x *MessageContextInfo) GetMessageAddOnDurationInSecs() uint32 { - if x != nil && x.MessageAddOnDurationInSecs != nil { - return *x.MessageAddOnDurationInSecs - } - return 0 -} - -func (x *MessageContextInfo) GetBotMessageSecret() []byte { - if x != nil { - return x.BotMessageSecret - } - return nil -} - -func (x *MessageContextInfo) GetBotMetadata() *BotMetadata { - if x != nil { - return x.BotMetadata - } - return nil -} - -func (x *MessageContextInfo) GetReportingTokenVersion() int32 { - if x != nil && x.ReportingTokenVersion != nil { - return *x.ReportingTokenVersion - } - return 0 -} - -type VideoMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,4,opt,name=fileLength" json:"fileLength,omitempty"` - Seconds *uint32 `protobuf:"varint,5,opt,name=seconds" json:"seconds,omitempty"` - MediaKey []byte `protobuf:"bytes,6,opt,name=mediaKey" json:"mediaKey,omitempty"` - Caption *string `protobuf:"bytes,7,opt,name=caption" json:"caption,omitempty"` - GifPlayback *bool `protobuf:"varint,8,opt,name=gifPlayback" json:"gifPlayback,omitempty"` - Height *uint32 `protobuf:"varint,9,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,10,opt,name=width" json:"width,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,11,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,12,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` - DirectPath *string `protobuf:"bytes,13,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,14,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar" json:"streamingSidecar,omitempty"` - GifAttribution *VideoMessage_Attribution `protobuf:"varint,19,opt,name=gifAttribution,enum=proto.VideoMessage_Attribution" json:"gifAttribution,omitempty"` - ViewOnce *bool `protobuf:"varint,20,opt,name=viewOnce" json:"viewOnce,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,21,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,22,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,23,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - StaticUrl *string `protobuf:"bytes,24,opt,name=staticUrl" json:"staticUrl,omitempty"` - Annotations []*InteractiveAnnotation `protobuf:"bytes,25,rep,name=annotations" json:"annotations,omitempty"` -} - -func (x *VideoMessage) Reset() { - *x = VideoMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VideoMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VideoMessage) ProtoMessage() {} - -func (x *VideoMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead. -func (*VideoMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{62} -} - -func (x *VideoMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *VideoMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *VideoMessage) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *VideoMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *VideoMessage) GetSeconds() uint32 { - if x != nil && x.Seconds != nil { - return *x.Seconds - } - return 0 -} - -func (x *VideoMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *VideoMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *VideoMessage) GetGifPlayback() bool { - if x != nil && x.GifPlayback != nil { - return *x.GifPlayback - } - return false -} - -func (x *VideoMessage) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *VideoMessage) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *VideoMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *VideoMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { - if x != nil { - return x.InteractiveAnnotations - } - return nil -} - -func (x *VideoMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *VideoMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *VideoMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *VideoMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *VideoMessage) GetStreamingSidecar() []byte { - if x != nil { - return x.StreamingSidecar - } - return nil -} - -func (x *VideoMessage) GetGifAttribution() VideoMessage_Attribution { - if x != nil && x.GifAttribution != nil { - return *x.GifAttribution - } - return VideoMessage_NONE -} - -func (x *VideoMessage) GetViewOnce() bool { - if x != nil && x.ViewOnce != nil { - return *x.ViewOnce - } - return false -} - -func (x *VideoMessage) GetThumbnailDirectPath() string { - if x != nil && x.ThumbnailDirectPath != nil { - return *x.ThumbnailDirectPath - } - return "" -} - -func (x *VideoMessage) GetThumbnailSha256() []byte { - if x != nil { - return x.ThumbnailSha256 - } - return nil -} - -func (x *VideoMessage) GetThumbnailEncSha256() []byte { - if x != nil { - return x.ThumbnailEncSha256 - } - return nil -} - -func (x *VideoMessage) GetStaticUrl() string { - if x != nil && x.StaticUrl != nil { - return *x.StaticUrl - } - return "" -} - -func (x *VideoMessage) GetAnnotations() []*InteractiveAnnotation { - if x != nil { - return x.Annotations - } - return nil -} - -type TemplateMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` - HydratedTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,4,opt,name=hydratedTemplate" json:"hydratedTemplate,omitempty"` - TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"` - // Types that are assignable to Format: - // - // *TemplateMessage_FourRowTemplate_ - // *TemplateMessage_HydratedFourRowTemplate_ - // *TemplateMessage_InteractiveMessageTemplate - Format isTemplateMessage_Format `protobuf_oneof:"format"` -} - -func (x *TemplateMessage) Reset() { - *x = TemplateMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateMessage) ProtoMessage() {} - -func (x *TemplateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateMessage.ProtoReflect.Descriptor instead. -func (*TemplateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{63} -} - -func (x *TemplateMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *TemplateMessage) GetHydratedTemplate() *TemplateMessage_HydratedFourRowTemplate { - if x != nil { - return x.HydratedTemplate - } - return nil -} - -func (x *TemplateMessage) GetTemplateId() string { - if x != nil && x.TemplateId != nil { - return *x.TemplateId - } - return "" -} - -func (m *TemplateMessage) GetFormat() isTemplateMessage_Format { - if m != nil { - return m.Format - } - return nil -} - -func (x *TemplateMessage) GetFourRowTemplate() *TemplateMessage_FourRowTemplate { - if x, ok := x.GetFormat().(*TemplateMessage_FourRowTemplate_); ok { - return x.FourRowTemplate - } - return nil -} - -func (x *TemplateMessage) GetHydratedFourRowTemplate() *TemplateMessage_HydratedFourRowTemplate { - if x, ok := x.GetFormat().(*TemplateMessage_HydratedFourRowTemplate_); ok { - return x.HydratedFourRowTemplate - } - return nil -} - -func (x *TemplateMessage) GetInteractiveMessageTemplate() *InteractiveMessage { - if x, ok := x.GetFormat().(*TemplateMessage_InteractiveMessageTemplate); ok { - return x.InteractiveMessageTemplate - } - return nil -} - -type isTemplateMessage_Format interface { - isTemplateMessage_Format() -} - -type TemplateMessage_FourRowTemplate_ struct { - FourRowTemplate *TemplateMessage_FourRowTemplate `protobuf:"bytes,1,opt,name=fourRowTemplate,oneof"` -} - -type TemplateMessage_HydratedFourRowTemplate_ struct { - HydratedFourRowTemplate *TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,2,opt,name=hydratedFourRowTemplate,oneof"` -} - -type TemplateMessage_InteractiveMessageTemplate struct { - InteractiveMessageTemplate *InteractiveMessage `protobuf:"bytes,5,opt,name=interactiveMessageTemplate,oneof"` -} - -func (*TemplateMessage_FourRowTemplate_) isTemplateMessage_Format() {} - -func (*TemplateMessage_HydratedFourRowTemplate_) isTemplateMessage_Format() {} - -func (*TemplateMessage_InteractiveMessageTemplate) isTemplateMessage_Format() {} - -type TemplateButtonReplyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedId *string `protobuf:"bytes,1,opt,name=selectedId" json:"selectedId,omitempty"` - SelectedDisplayText *string `protobuf:"bytes,2,opt,name=selectedDisplayText" json:"selectedDisplayText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` - SelectedIndex *uint32 `protobuf:"varint,4,opt,name=selectedIndex" json:"selectedIndex,omitempty"` - SelectedCarouselCardIndex *uint32 `protobuf:"varint,5,opt,name=selectedCarouselCardIndex" json:"selectedCarouselCardIndex,omitempty"` -} - -func (x *TemplateButtonReplyMessage) Reset() { - *x = TemplateButtonReplyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateButtonReplyMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateButtonReplyMessage) ProtoMessage() {} - -func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateButtonReplyMessage.ProtoReflect.Descriptor instead. -func (*TemplateButtonReplyMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{64} -} - -func (x *TemplateButtonReplyMessage) GetSelectedId() string { - if x != nil && x.SelectedId != nil { - return *x.SelectedId - } - return "" -} - -func (x *TemplateButtonReplyMessage) GetSelectedDisplayText() string { - if x != nil && x.SelectedDisplayText != nil { - return *x.SelectedDisplayText - } - return "" -} - -func (x *TemplateButtonReplyMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *TemplateButtonReplyMessage) GetSelectedIndex() uint32 { - if x != nil && x.SelectedIndex != nil { - return *x.SelectedIndex - } - return 0 -} - -func (x *TemplateButtonReplyMessage) GetSelectedCarouselCardIndex() uint32 { - if x != nil && x.SelectedCarouselCardIndex != nil { - return *x.SelectedCarouselCardIndex - } - return 0 -} - -type StickerSyncRMRMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filehash []string `protobuf:"bytes,1,rep,name=filehash" json:"filehash,omitempty"` - RmrSource *string `protobuf:"bytes,2,opt,name=rmrSource" json:"rmrSource,omitempty"` - RequestTimestamp *int64 `protobuf:"varint,3,opt,name=requestTimestamp" json:"requestTimestamp,omitempty"` -} - -func (x *StickerSyncRMRMessage) Reset() { - *x = StickerSyncRMRMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StickerSyncRMRMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StickerSyncRMRMessage) ProtoMessage() {} - -func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StickerSyncRMRMessage.ProtoReflect.Descriptor instead. -func (*StickerSyncRMRMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{65} -} - -func (x *StickerSyncRMRMessage) GetFilehash() []string { - if x != nil { - return x.Filehash - } - return nil -} - -func (x *StickerSyncRMRMessage) GetRmrSource() string { - if x != nil && x.RmrSource != nil { - return *x.RmrSource - } - return "" -} - -func (x *StickerSyncRMRMessage) GetRequestTimestamp() int64 { - if x != nil && x.RequestTimestamp != nil { - return *x.RequestTimestamp - } - return 0 -} - -type StickerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - FileSha256 []byte `protobuf:"bytes,2,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,3,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` - Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` - Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` - DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"` - FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - FirstFrameLength *uint32 `protobuf:"varint,11,opt,name=firstFrameLength" json:"firstFrameLength,omitempty"` - FirstFrameSidecar []byte `protobuf:"bytes,12,opt,name=firstFrameSidecar" json:"firstFrameSidecar,omitempty"` - IsAnimated *bool `protobuf:"varint,13,opt,name=isAnimated" json:"isAnimated,omitempty"` - PngThumbnail []byte `protobuf:"bytes,16,opt,name=pngThumbnail" json:"pngThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - StickerSentTs *int64 `protobuf:"varint,18,opt,name=stickerSentTs" json:"stickerSentTs,omitempty"` - IsAvatar *bool `protobuf:"varint,19,opt,name=isAvatar" json:"isAvatar,omitempty"` - IsAiSticker *bool `protobuf:"varint,20,opt,name=isAiSticker" json:"isAiSticker,omitempty"` - IsLottie *bool `protobuf:"varint,21,opt,name=isLottie" json:"isLottie,omitempty"` -} - -func (x *StickerMessage) Reset() { - *x = StickerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StickerMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StickerMessage) ProtoMessage() {} - -func (x *StickerMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StickerMessage.ProtoReflect.Descriptor instead. -func (*StickerMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{66} -} - -func (x *StickerMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *StickerMessage) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *StickerMessage) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *StickerMessage) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *StickerMessage) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *StickerMessage) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *StickerMessage) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *StickerMessage) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *StickerMessage) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *StickerMessage) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *StickerMessage) GetFirstFrameLength() uint32 { - if x != nil && x.FirstFrameLength != nil { - return *x.FirstFrameLength - } - return 0 -} - -func (x *StickerMessage) GetFirstFrameSidecar() []byte { - if x != nil { - return x.FirstFrameSidecar - } - return nil -} - -func (x *StickerMessage) GetIsAnimated() bool { - if x != nil && x.IsAnimated != nil { - return *x.IsAnimated - } - return false -} - -func (x *StickerMessage) GetPngThumbnail() []byte { - if x != nil { - return x.PngThumbnail - } - return nil -} - -func (x *StickerMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *StickerMessage) GetStickerSentTs() int64 { - if x != nil && x.StickerSentTs != nil { - return *x.StickerSentTs - } - return 0 -} - -func (x *StickerMessage) GetIsAvatar() bool { - if x != nil && x.IsAvatar != nil { - return *x.IsAvatar - } - return false -} - -func (x *StickerMessage) GetIsAiSticker() bool { - if x != nil && x.IsAiSticker != nil { - return *x.IsAiSticker - } - return false -} - -func (x *StickerMessage) GetIsLottie() bool { - if x != nil && x.IsLottie != nil { - return *x.IsLottie - } - return false -} - -type SenderKeyDistributionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupId *string `protobuf:"bytes,1,opt,name=groupId" json:"groupId,omitempty"` - AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage" json:"axolotlSenderKeyDistributionMessage,omitempty"` -} - -func (x *SenderKeyDistributionMessage) Reset() { - *x = SenderKeyDistributionMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SenderKeyDistributionMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SenderKeyDistributionMessage) ProtoMessage() {} - -func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. -func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{67} -} - -func (x *SenderKeyDistributionMessage) GetGroupId() string { - if x != nil && x.GroupId != nil { - return *x.GroupId - } - return "" -} - -func (x *SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte { - if x != nil { - return x.AxolotlSenderKeyDistributionMessage - } - return nil -} - -type SendPaymentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NoteMessage *Message `protobuf:"bytes,2,opt,name=noteMessage" json:"noteMessage,omitempty"` - RequestMessageKey *MessageKey `protobuf:"bytes,3,opt,name=requestMessageKey" json:"requestMessageKey,omitempty"` - Background *PaymentBackground `protobuf:"bytes,4,opt,name=background" json:"background,omitempty"` -} - -func (x *SendPaymentMessage) Reset() { - *x = SendPaymentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SendPaymentMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SendPaymentMessage) ProtoMessage() {} - -func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SendPaymentMessage.ProtoReflect.Descriptor instead. -func (*SendPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{68} -} - -func (x *SendPaymentMessage) GetNoteMessage() *Message { - if x != nil { - return x.NoteMessage - } - return nil -} - -func (x *SendPaymentMessage) GetRequestMessageKey() *MessageKey { - if x != nil { - return x.RequestMessageKey - } - return nil -} - -func (x *SendPaymentMessage) GetBackground() *PaymentBackground { - if x != nil { - return x.Background - } - return nil -} - -type SecretEncryptedMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` - EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` - EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` - SecretEncType *SecretEncryptedMessage_SecretEncType `protobuf:"varint,4,opt,name=secretEncType,enum=proto.SecretEncryptedMessage_SecretEncType" json:"secretEncType,omitempty"` -} - -func (x *SecretEncryptedMessage) Reset() { - *x = SecretEncryptedMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SecretEncryptedMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SecretEncryptedMessage) ProtoMessage() {} - -func (x *SecretEncryptedMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SecretEncryptedMessage.ProtoReflect.Descriptor instead. -func (*SecretEncryptedMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{69} -} - -func (x *SecretEncryptedMessage) GetTargetMessageKey() *MessageKey { - if x != nil { - return x.TargetMessageKey - } - return nil -} - -func (x *SecretEncryptedMessage) GetEncPayload() []byte { - if x != nil { - return x.EncPayload - } - return nil -} - -func (x *SecretEncryptedMessage) GetEncIv() []byte { - if x != nil { - return x.EncIv - } - return nil -} - -func (x *SecretEncryptedMessage) GetSecretEncType() SecretEncryptedMessage_SecretEncType { - if x != nil && x.SecretEncType != nil { - return *x.SecretEncType - } - return SecretEncryptedMessage_UNKNOWN -} - -type ScheduledCallEditMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - EditType *ScheduledCallEditMessage_EditType `protobuf:"varint,2,opt,name=editType,enum=proto.ScheduledCallEditMessage_EditType" json:"editType,omitempty"` -} - -func (x *ScheduledCallEditMessage) Reset() { - *x = ScheduledCallEditMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ScheduledCallEditMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduledCallEditMessage) ProtoMessage() {} - -func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduledCallEditMessage.ProtoReflect.Descriptor instead. -func (*ScheduledCallEditMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70} -} - -func (x *ScheduledCallEditMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *ScheduledCallEditMessage) GetEditType() ScheduledCallEditMessage_EditType { - if x != nil && x.EditType != nil { - return *x.EditType - } - return ScheduledCallEditMessage_UNKNOWN -} - -type ScheduledCallCreationMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ScheduledTimestampMs *int64 `protobuf:"varint,1,opt,name=scheduledTimestampMs" json:"scheduledTimestampMs,omitempty"` - CallType *ScheduledCallCreationMessage_CallType `protobuf:"varint,2,opt,name=callType,enum=proto.ScheduledCallCreationMessage_CallType" json:"callType,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` -} - -func (x *ScheduledCallCreationMessage) Reset() { - *x = ScheduledCallCreationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ScheduledCallCreationMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ScheduledCallCreationMessage) ProtoMessage() {} - -func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ScheduledCallCreationMessage.ProtoReflect.Descriptor instead. -func (*ScheduledCallCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71} -} - -func (x *ScheduledCallCreationMessage) GetScheduledTimestampMs() int64 { - if x != nil && x.ScheduledTimestampMs != nil { - return *x.ScheduledTimestampMs - } - return 0 -} - -func (x *ScheduledCallCreationMessage) GetCallType() ScheduledCallCreationMessage_CallType { - if x != nil && x.CallType != nil { - return *x.CallType - } - return ScheduledCallCreationMessage_UNKNOWN -} - -func (x *ScheduledCallCreationMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -type RequestWelcomeMessageMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LocalChatState *RequestWelcomeMessageMetadata_LocalChatState `protobuf:"varint,1,opt,name=localChatState,enum=proto.RequestWelcomeMessageMetadata_LocalChatState" json:"localChatState,omitempty"` -} - -func (x *RequestWelcomeMessageMetadata) Reset() { - *x = RequestWelcomeMessageMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestWelcomeMessageMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestWelcomeMessageMetadata) ProtoMessage() {} - -func (x *RequestWelcomeMessageMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestWelcomeMessageMetadata.ProtoReflect.Descriptor instead. -func (*RequestWelcomeMessageMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72} -} - -func (x *RequestWelcomeMessageMetadata) GetLocalChatState() RequestWelcomeMessageMetadata_LocalChatState { - if x != nil && x.LocalChatState != nil { - return *x.LocalChatState - } - return RequestWelcomeMessageMetadata_EMPTY -} - -type RequestPhoneNumberMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *RequestPhoneNumberMessage) Reset() { - *x = RequestPhoneNumberMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestPhoneNumberMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestPhoneNumberMessage) ProtoMessage() {} - -func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestPhoneNumberMessage.ProtoReflect.Descriptor instead. -func (*RequestPhoneNumberMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{73} -} - -func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type RequestPaymentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NoteMessage *Message `protobuf:"bytes,4,opt,name=noteMessage" json:"noteMessage,omitempty"` - CurrencyCodeIso4217 *string `protobuf:"bytes,1,opt,name=currencyCodeIso4217" json:"currencyCodeIso4217,omitempty"` - Amount1000 *uint64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"` - RequestFrom *string `protobuf:"bytes,3,opt,name=requestFrom" json:"requestFrom,omitempty"` - ExpiryTimestamp *int64 `protobuf:"varint,5,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` - Amount *Money `protobuf:"bytes,6,opt,name=amount" json:"amount,omitempty"` - Background *PaymentBackground `protobuf:"bytes,7,opt,name=background" json:"background,omitempty"` -} - -func (x *RequestPaymentMessage) Reset() { - *x = RequestPaymentMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RequestPaymentMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RequestPaymentMessage) ProtoMessage() {} - -func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RequestPaymentMessage.ProtoReflect.Descriptor instead. -func (*RequestPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{74} -} - -func (x *RequestPaymentMessage) GetNoteMessage() *Message { - if x != nil { - return x.NoteMessage - } - return nil -} - -func (x *RequestPaymentMessage) GetCurrencyCodeIso4217() string { - if x != nil && x.CurrencyCodeIso4217 != nil { - return *x.CurrencyCodeIso4217 - } - return "" -} - -func (x *RequestPaymentMessage) GetAmount1000() uint64 { - if x != nil && x.Amount1000 != nil { - return *x.Amount1000 - } - return 0 -} - -func (x *RequestPaymentMessage) GetRequestFrom() string { - if x != nil && x.RequestFrom != nil { - return *x.RequestFrom - } - return "" -} - -func (x *RequestPaymentMessage) GetExpiryTimestamp() int64 { - if x != nil && x.ExpiryTimestamp != nil { - return *x.ExpiryTimestamp - } - return 0 -} - -func (x *RequestPaymentMessage) GetAmount() *Money { - if x != nil { - return x.Amount - } - return nil -} - -func (x *RequestPaymentMessage) GetBackground() *PaymentBackground { - if x != nil { - return x.Background - } - return nil -} - -type ReactionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` - GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` -} - -func (x *ReactionMessage) Reset() { - *x = ReactionMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReactionMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReactionMessage) ProtoMessage() {} - -func (x *ReactionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReactionMessage.ProtoReflect.Descriptor instead. -func (*ReactionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{75} -} - -func (x *ReactionMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *ReactionMessage) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -func (x *ReactionMessage) GetGroupingKey() string { - if x != nil && x.GroupingKey != nil { - return *x.GroupingKey - } - return "" -} - -func (x *ReactionMessage) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -type ProtocolMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Type *ProtocolMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.ProtocolMessage_Type" json:"type,omitempty"` - EphemeralExpiration *uint32 `protobuf:"varint,4,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` - EphemeralSettingTimestamp *int64 `protobuf:"varint,5,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` - HistorySyncNotification *HistorySyncNotification `protobuf:"bytes,6,opt,name=historySyncNotification" json:"historySyncNotification,omitempty"` - AppStateSyncKeyShare *AppStateSyncKeyShare `protobuf:"bytes,7,opt,name=appStateSyncKeyShare" json:"appStateSyncKeyShare,omitempty"` - AppStateSyncKeyRequest *AppStateSyncKeyRequest `protobuf:"bytes,8,opt,name=appStateSyncKeyRequest" json:"appStateSyncKeyRequest,omitempty"` - InitialSecurityNotificationSettingSync *InitialSecurityNotificationSettingSync `protobuf:"bytes,9,opt,name=initialSecurityNotificationSettingSync" json:"initialSecurityNotificationSettingSync,omitempty"` - AppStateFatalExceptionNotification *AppStateFatalExceptionNotification `protobuf:"bytes,10,opt,name=appStateFatalExceptionNotification" json:"appStateFatalExceptionNotification,omitempty"` - DisappearingMode *DisappearingMode `protobuf:"bytes,11,opt,name=disappearingMode" json:"disappearingMode,omitempty"` - EditedMessage *Message `protobuf:"bytes,14,opt,name=editedMessage" json:"editedMessage,omitempty"` - TimestampMs *int64 `protobuf:"varint,15,opt,name=timestampMs" json:"timestampMs,omitempty"` - PeerDataOperationRequestMessage *PeerDataOperationRequestMessage `protobuf:"bytes,16,opt,name=peerDataOperationRequestMessage" json:"peerDataOperationRequestMessage,omitempty"` - PeerDataOperationRequestResponseMessage *PeerDataOperationRequestResponseMessage `protobuf:"bytes,17,opt,name=peerDataOperationRequestResponseMessage" json:"peerDataOperationRequestResponseMessage,omitempty"` - BotFeedbackMessage *BotFeedbackMessage `protobuf:"bytes,18,opt,name=botFeedbackMessage" json:"botFeedbackMessage,omitempty"` - InvokerJid *string `protobuf:"bytes,19,opt,name=invokerJid" json:"invokerJid,omitempty"` - RequestWelcomeMessageMetadata *RequestWelcomeMessageMetadata `protobuf:"bytes,20,opt,name=requestWelcomeMessageMetadata" json:"requestWelcomeMessageMetadata,omitempty"` - MediaNotifyMessage *MediaNotifyMessage `protobuf:"bytes,21,opt,name=mediaNotifyMessage" json:"mediaNotifyMessage,omitempty"` -} - -func (x *ProtocolMessage) Reset() { - *x = ProtocolMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProtocolMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProtocolMessage) ProtoMessage() {} - -func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead. -func (*ProtocolMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{76} -} - -func (x *ProtocolMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *ProtocolMessage) GetType() ProtocolMessage_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return ProtocolMessage_REVOKE -} - -func (x *ProtocolMessage) GetEphemeralExpiration() uint32 { - if x != nil && x.EphemeralExpiration != nil { - return *x.EphemeralExpiration - } - return 0 -} - -func (x *ProtocolMessage) GetEphemeralSettingTimestamp() int64 { - if x != nil && x.EphemeralSettingTimestamp != nil { - return *x.EphemeralSettingTimestamp - } - return 0 -} - -func (x *ProtocolMessage) GetHistorySyncNotification() *HistorySyncNotification { - if x != nil { - return x.HistorySyncNotification - } - return nil -} - -func (x *ProtocolMessage) GetAppStateSyncKeyShare() *AppStateSyncKeyShare { - if x != nil { - return x.AppStateSyncKeyShare - } - return nil -} - -func (x *ProtocolMessage) GetAppStateSyncKeyRequest() *AppStateSyncKeyRequest { - if x != nil { - return x.AppStateSyncKeyRequest - } - return nil -} - -func (x *ProtocolMessage) GetInitialSecurityNotificationSettingSync() *InitialSecurityNotificationSettingSync { - if x != nil { - return x.InitialSecurityNotificationSettingSync - } - return nil -} - -func (x *ProtocolMessage) GetAppStateFatalExceptionNotification() *AppStateFatalExceptionNotification { - if x != nil { - return x.AppStateFatalExceptionNotification - } - return nil -} - -func (x *ProtocolMessage) GetDisappearingMode() *DisappearingMode { - if x != nil { - return x.DisappearingMode - } - return nil -} - -func (x *ProtocolMessage) GetEditedMessage() *Message { - if x != nil { - return x.EditedMessage - } - return nil -} - -func (x *ProtocolMessage) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs - } - return 0 -} - -func (x *ProtocolMessage) GetPeerDataOperationRequestMessage() *PeerDataOperationRequestMessage { - if x != nil { - return x.PeerDataOperationRequestMessage - } - return nil -} - -func (x *ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *PeerDataOperationRequestResponseMessage { - if x != nil { - return x.PeerDataOperationRequestResponseMessage - } - return nil -} - -func (x *ProtocolMessage) GetBotFeedbackMessage() *BotFeedbackMessage { - if x != nil { - return x.BotFeedbackMessage - } - return nil -} - -func (x *ProtocolMessage) GetInvokerJid() string { - if x != nil && x.InvokerJid != nil { - return *x.InvokerJid - } - return "" -} - -func (x *ProtocolMessage) GetRequestWelcomeMessageMetadata() *RequestWelcomeMessageMetadata { - if x != nil { - return x.RequestWelcomeMessageMetadata - } - return nil -} - -func (x *ProtocolMessage) GetMediaNotifyMessage() *MediaNotifyMessage { - if x != nil { - return x.MediaNotifyMessage - } - return nil -} - -type ProductMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Product *ProductMessage_ProductSnapshot `protobuf:"bytes,1,opt,name=product" json:"product,omitempty"` - BusinessOwnerJid *string `protobuf:"bytes,2,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` - Catalog *ProductMessage_CatalogSnapshot `protobuf:"bytes,4,opt,name=catalog" json:"catalog,omitempty"` - Body *string `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"` - Footer *string `protobuf:"bytes,6,opt,name=footer" json:"footer,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *ProductMessage) Reset() { - *x = ProductMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProductMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProductMessage) ProtoMessage() {} - -func (x *ProductMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProductMessage.ProtoReflect.Descriptor instead. -func (*ProductMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77} -} - -func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot { - if x != nil { - return x.Product - } - return nil -} - -func (x *ProductMessage) GetBusinessOwnerJid() string { - if x != nil && x.BusinessOwnerJid != nil { - return *x.BusinessOwnerJid - } - return "" -} - -func (x *ProductMessage) GetCatalog() *ProductMessage_CatalogSnapshot { - if x != nil { - return x.Catalog - } - return nil -} - -func (x *ProductMessage) GetBody() string { - if x != nil && x.Body != nil { - return *x.Body - } - return "" -} - -func (x *ProductMessage) GetFooter() string { - if x != nil && x.Footer != nil { - return *x.Footer - } - return "" -} - -func (x *ProductMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type PollVoteMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"` -} - -func (x *PollVoteMessage) Reset() { - *x = PollVoteMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollVoteMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollVoteMessage) ProtoMessage() {} - -func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead. -func (*PollVoteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{78} -} - -func (x *PollVoteMessage) GetSelectedOptions() [][]byte { - if x != nil { - return x.SelectedOptions - } - return nil -} - -type PollUpdateMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PollCreationMessageKey *MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"` - Vote *PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"` - Metadata *PollUpdateMessageMetadata `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` -} - -func (x *PollUpdateMessage) Reset() { - *x = PollUpdateMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollUpdateMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollUpdateMessage) ProtoMessage() {} - -func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollUpdateMessage.ProtoReflect.Descriptor instead. -func (*PollUpdateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79} -} - -func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey { - if x != nil { - return x.PollCreationMessageKey - } - return nil -} - -func (x *PollUpdateMessage) GetVote() *PollEncValue { - if x != nil { - return x.Vote - } - return nil -} - -func (x *PollUpdateMessage) GetMetadata() *PollUpdateMessageMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *PollUpdateMessage) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -type PollUpdateMessageMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PollUpdateMessageMetadata) Reset() { - *x = PollUpdateMessageMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollUpdateMessageMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollUpdateMessageMetadata) ProtoMessage() {} - -func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollUpdateMessageMetadata.ProtoReflect.Descriptor instead. -func (*PollUpdateMessageMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80} -} - -type PollEncValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"` - EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"` -} - -func (x *PollEncValue) Reset() { - *x = PollEncValue{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollEncValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollEncValue) ProtoMessage() {} - -func (x *PollEncValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[81] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead. -func (*PollEncValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{81} -} - -func (x *PollEncValue) GetEncPayload() []byte { - if x != nil { - return x.EncPayload - } - return nil -} - -func (x *PollEncValue) GetEncIv() []byte { - if x != nil { - return x.EncIv - } - return nil -} - -type PollCreationMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"` - Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Options []*PollCreationMessage_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"` - SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,5,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *PollCreationMessage) Reset() { - *x = PollCreationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollCreationMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollCreationMessage) ProtoMessage() {} - -func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead. -func (*PollCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{82} -} - -func (x *PollCreationMessage) GetEncKey() []byte { - if x != nil { - return x.EncKey - } - return nil -} - -func (x *PollCreationMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *PollCreationMessage) GetOptions() []*PollCreationMessage_Option { - if x != nil { - return x.Options - } - return nil -} - -func (x *PollCreationMessage) GetSelectableOptionsCount() uint32 { - if x != nil && x.SelectableOptionsCount != nil { - return *x.SelectableOptionsCount - } - return 0 -} - -func (x *PollCreationMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type PlaceholderMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *PlaceholderMessage_PlaceholderType `protobuf:"varint,1,opt,name=type,enum=proto.PlaceholderMessage_PlaceholderType" json:"type,omitempty"` -} - -func (x *PlaceholderMessage) Reset() { - *x = PlaceholderMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PlaceholderMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PlaceholderMessage) ProtoMessage() {} - -func (x *PlaceholderMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PlaceholderMessage.ProtoReflect.Descriptor instead. -func (*PlaceholderMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{83} -} - -func (x *PlaceholderMessage) GetType() PlaceholderMessage_PlaceholderType { - if x != nil && x.Type != nil { - return *x.Type - } - return PlaceholderMessage_MASK_LINKED_DEVICES -} - -type PinInChatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Type *PinInChatMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.PinInChatMessage_Type" json:"type,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` -} - -func (x *PinInChatMessage) Reset() { - *x = PinInChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PinInChatMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PinInChatMessage) ProtoMessage() {} - -func (x *PinInChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[84] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PinInChatMessage.ProtoReflect.Descriptor instead. -func (*PinInChatMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{84} -} - -func (x *PinInChatMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *PinInChatMessage) GetType() PinInChatMessage_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return PinInChatMessage_UNKNOWN_TYPE -} - -func (x *PinInChatMessage) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -type PeerDataOperationRequestResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"` - StanzaId *string `protobuf:"bytes,2,opt,name=stanzaId" json:"stanzaId,omitempty"` - PeerDataOperationResult []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult `protobuf:"bytes,3,rep,name=peerDataOperationResult" json:"peerDataOperationResult,omitempty"` -} - -func (x *PeerDataOperationRequestResponseMessage) Reset() { - *x = PeerDataOperationRequestResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {} - -func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85} -} - -func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { - if x != nil && x.PeerDataOperationRequestType != nil { - return *x.PeerDataOperationRequestType - } - return PeerDataOperationRequestType_UPLOAD_STICKER -} - -func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string { - if x != nil && x.StanzaId != nil { - return *x.StanzaId - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() []*PeerDataOperationRequestResponseMessage_PeerDataOperationResult { - if x != nil { - return x.PeerDataOperationResult - } - return nil -} - -type PeerDataOperationRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"` - RequestStickerReupload []*PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload" json:"requestStickerReupload,omitempty"` - RequestUrlPreview []*PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestUrlPreview" json:"requestUrlPreview,omitempty"` - HistorySyncOnDemandRequest *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest" json:"historySyncOnDemandRequest,omitempty"` - PlaceholderMessageResendRequest []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest `protobuf:"bytes,5,rep,name=placeholderMessageResendRequest" json:"placeholderMessageResendRequest,omitempty"` -} - -func (x *PeerDataOperationRequestMessage) Reset() { - *x = PeerDataOperationRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestMessage) ProtoMessage() {} - -func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86} -} - -func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { - if x != nil && x.PeerDataOperationRequestType != nil { - return *x.PeerDataOperationRequestType - } - return PeerDataOperationRequestType_UPLOAD_STICKER -} - -func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload { - if x != nil { - return x.RequestStickerReupload - } - return nil -} - -func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview { - if x != nil { - return x.RequestUrlPreview - } - return nil -} - -func (x *PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest { - if x != nil { - return x.HistorySyncOnDemandRequest - } - return nil -} - -func (x *PeerDataOperationRequestMessage) GetPlaceholderMessageResendRequest() []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest { - if x != nil { - return x.PlaceholderMessageResendRequest - } - return nil -} - -type PaymentInviteMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceType *PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,enum=proto.PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"` - ExpiryTimestamp *int64 `protobuf:"varint,2,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` -} - -func (x *PaymentInviteMessage) Reset() { - *x = PaymentInviteMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaymentInviteMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaymentInviteMessage) ProtoMessage() {} - -func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[87] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaymentInviteMessage.ProtoReflect.Descriptor instead. -func (*PaymentInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{87} -} - -func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType { - if x != nil && x.ServiceType != nil { - return *x.ServiceType - } - return PaymentInviteMessage_UNKNOWN -} - -func (x *PaymentInviteMessage) GetExpiryTimestamp() int64 { - if x != nil && x.ExpiryTimestamp != nil { - return *x.ExpiryTimestamp - } - return 0 -} - -type OrderMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrderId *string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"` - Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail" json:"thumbnail,omitempty"` - ItemCount *int32 `protobuf:"varint,3,opt,name=itemCount" json:"itemCount,omitempty"` - Status *OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,enum=proto.OrderMessage_OrderStatus" json:"status,omitempty"` - Surface *OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,enum=proto.OrderMessage_OrderSurface" json:"surface,omitempty"` - Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` - OrderTitle *string `protobuf:"bytes,7,opt,name=orderTitle" json:"orderTitle,omitempty"` - SellerJid *string `protobuf:"bytes,8,opt,name=sellerJid" json:"sellerJid,omitempty"` - Token *string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"` - TotalAmount1000 *int64 `protobuf:"varint,10,opt,name=totalAmount1000" json:"totalAmount1000,omitempty"` - TotalCurrencyCode *string `protobuf:"bytes,11,opt,name=totalCurrencyCode" json:"totalCurrencyCode,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - MessageVersion *int32 `protobuf:"varint,12,opt,name=messageVersion" json:"messageVersion,omitempty"` - OrderRequestMessageId *MessageKey `protobuf:"bytes,13,opt,name=orderRequestMessageId" json:"orderRequestMessageId,omitempty"` -} - -func (x *OrderMessage) Reset() { - *x = OrderMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OrderMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OrderMessage) ProtoMessage() {} - -func (x *OrderMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[88] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OrderMessage.ProtoReflect.Descriptor instead. -func (*OrderMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{88} -} - -func (x *OrderMessage) GetOrderId() string { - if x != nil && x.OrderId != nil { - return *x.OrderId - } - return "" -} - -func (x *OrderMessage) GetThumbnail() []byte { - if x != nil { - return x.Thumbnail - } - return nil -} - -func (x *OrderMessage) GetItemCount() int32 { - if x != nil && x.ItemCount != nil { - return *x.ItemCount - } - return 0 -} - -func (x *OrderMessage) GetStatus() OrderMessage_OrderStatus { - if x != nil && x.Status != nil { - return *x.Status - } - return OrderMessage_INQUIRY -} - -func (x *OrderMessage) GetSurface() OrderMessage_OrderSurface { - if x != nil && x.Surface != nil { - return *x.Surface - } - return OrderMessage_CATALOG -} - -func (x *OrderMessage) GetMessage() string { - if x != nil && x.Message != nil { - return *x.Message - } - return "" -} - -func (x *OrderMessage) GetOrderTitle() string { - if x != nil && x.OrderTitle != nil { - return *x.OrderTitle - } - return "" -} - -func (x *OrderMessage) GetSellerJid() string { - if x != nil && x.SellerJid != nil { - return *x.SellerJid - } - return "" -} - -func (x *OrderMessage) GetToken() string { - if x != nil && x.Token != nil { - return *x.Token - } - return "" -} - -func (x *OrderMessage) GetTotalAmount1000() int64 { - if x != nil && x.TotalAmount1000 != nil { - return *x.TotalAmount1000 - } - return 0 -} - -func (x *OrderMessage) GetTotalCurrencyCode() string { - if x != nil && x.TotalCurrencyCode != nil { - return *x.TotalCurrencyCode - } - return "" -} - -func (x *OrderMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *OrderMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -func (x *OrderMessage) GetOrderRequestMessageId() *MessageKey { - if x != nil { - return x.OrderRequestMessageId - } - return nil -} - -type NewsletterAdminInviteMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"` - NewsletterName *string `protobuf:"bytes,2,opt,name=newsletterName" json:"newsletterName,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,3,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - Caption *string `protobuf:"bytes,4,opt,name=caption" json:"caption,omitempty"` - InviteExpiration *int64 `protobuf:"varint,5,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,6,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *NewsletterAdminInviteMessage) Reset() { - *x = NewsletterAdminInviteMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NewsletterAdminInviteMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NewsletterAdminInviteMessage) ProtoMessage() {} - -func (x *NewsletterAdminInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[89] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NewsletterAdminInviteMessage.ProtoReflect.Descriptor instead. -func (*NewsletterAdminInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{89} -} - -func (x *NewsletterAdminInviteMessage) GetNewsletterJid() string { - if x != nil && x.NewsletterJid != nil { - return *x.NewsletterJid - } - return "" -} - -func (x *NewsletterAdminInviteMessage) GetNewsletterName() string { - if x != nil && x.NewsletterName != nil { - return *x.NewsletterName - } - return "" -} - -func (x *NewsletterAdminInviteMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *NewsletterAdminInviteMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *NewsletterAdminInviteMessage) GetInviteExpiration() int64 { - if x != nil && x.InviteExpiration != nil { - return *x.InviteExpiration - } - return 0 -} - -func (x *NewsletterAdminInviteMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type MessageHistoryBundle struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,5,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,6,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,7,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,8,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,9,opt,name=contextInfo" json:"contextInfo,omitempty"` - Participants []string `protobuf:"bytes,10,rep,name=participants" json:"participants,omitempty"` -} - -func (x *MessageHistoryBundle) Reset() { - *x = MessageHistoryBundle{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageHistoryBundle) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageHistoryBundle) ProtoMessage() {} - -func (x *MessageHistoryBundle) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[90] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageHistoryBundle.ProtoReflect.Descriptor instead. -func (*MessageHistoryBundle) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{90} -} - -func (x *MessageHistoryBundle) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *MessageHistoryBundle) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *MessageHistoryBundle) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *MessageHistoryBundle) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *MessageHistoryBundle) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *MessageHistoryBundle) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *MessageHistoryBundle) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *MessageHistoryBundle) GetParticipants() []string { - if x != nil { - return x.Participants - } - return nil -} - -type LocationMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` - DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` - Address *string `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"` - Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"` - IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"` - AccuracyInMeters *uint32 `protobuf:"varint,7,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` - SpeedInMps *float32 `protobuf:"fixed32,8,opt,name=speedInMps" json:"speedInMps,omitempty"` - DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` - Comment *string `protobuf:"bytes,11,opt,name=comment" json:"comment,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *LocationMessage) Reset() { - *x = LocationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocationMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocationMessage) ProtoMessage() {} - -func (x *LocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[91] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead. -func (*LocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{91} -} - -func (x *LocationMessage) GetDegreesLatitude() float64 { - if x != nil && x.DegreesLatitude != nil { - return *x.DegreesLatitude - } - return 0 -} - -func (x *LocationMessage) GetDegreesLongitude() float64 { - if x != nil && x.DegreesLongitude != nil { - return *x.DegreesLongitude - } - return 0 -} - -func (x *LocationMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *LocationMessage) GetAddress() string { - if x != nil && x.Address != nil { - return *x.Address - } - return "" -} - -func (x *LocationMessage) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *LocationMessage) GetIsLive() bool { - if x != nil && x.IsLive != nil { - return *x.IsLive - } - return false -} - -func (x *LocationMessage) GetAccuracyInMeters() uint32 { - if x != nil && x.AccuracyInMeters != nil { - return *x.AccuracyInMeters - } - return 0 -} - -func (x *LocationMessage) GetSpeedInMps() float32 { - if x != nil && x.SpeedInMps != nil { - return *x.SpeedInMps - } - return 0 -} - -func (x *LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { - if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { - return *x.DegreesClockwiseFromMagneticNorth - } - return 0 -} - -func (x *LocationMessage) GetComment() string { - if x != nil && x.Comment != nil { - return *x.Comment - } - return "" -} - -func (x *LocationMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *LocationMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type LiveLocationMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` - DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` - AccuracyInMeters *uint32 `protobuf:"varint,3,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` - SpeedInMps *float32 `protobuf:"fixed32,4,opt,name=speedInMps" json:"speedInMps,omitempty"` - DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` - Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` - SequenceNumber *int64 `protobuf:"varint,7,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"` - TimeOffset *uint32 `protobuf:"varint,8,opt,name=timeOffset" json:"timeOffset,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *LiveLocationMessage) Reset() { - *x = LiveLocationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LiveLocationMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiveLocationMessage) ProtoMessage() {} - -func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[92] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead. -func (*LiveLocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{92} -} - -func (x *LiveLocationMessage) GetDegreesLatitude() float64 { - if x != nil && x.DegreesLatitude != nil { - return *x.DegreesLatitude - } - return 0 -} - -func (x *LiveLocationMessage) GetDegreesLongitude() float64 { - if x != nil && x.DegreesLongitude != nil { - return *x.DegreesLongitude - } - return 0 -} - -func (x *LiveLocationMessage) GetAccuracyInMeters() uint32 { - if x != nil && x.AccuracyInMeters != nil { - return *x.AccuracyInMeters - } - return 0 -} - -func (x *LiveLocationMessage) GetSpeedInMps() float32 { - if x != nil && x.SpeedInMps != nil { - return *x.SpeedInMps - } - return 0 -} - -func (x *LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { - if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { - return *x.DegreesClockwiseFromMagneticNorth - } - return 0 -} - -func (x *LiveLocationMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *LiveLocationMessage) GetSequenceNumber() int64 { - if x != nil && x.SequenceNumber != nil { - return *x.SequenceNumber - } - return 0 -} - -func (x *LiveLocationMessage) GetTimeOffset() uint32 { - if x != nil && x.TimeOffset != nil { - return *x.TimeOffset - } - return 0 -} - -func (x *LiveLocationMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *LiveLocationMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type ListResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - ListType *ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,enum=proto.ListResponseMessage_ListType" json:"listType,omitempty"` - SingleSelectReply *ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply" json:"singleSelectReply,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo" json:"contextInfo,omitempty"` - Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` -} - -func (x *ListResponseMessage) Reset() { - *x = ListResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListResponseMessage) ProtoMessage() {} - -func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[93] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead. -func (*ListResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{93} -} - -func (x *ListResponseMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListResponseMessage) GetListType() ListResponseMessage_ListType { - if x != nil && x.ListType != nil { - return *x.ListType - } - return ListResponseMessage_UNKNOWN -} - -func (x *ListResponseMessage) GetSingleSelectReply() *ListResponseMessage_SingleSelectReply { - if x != nil { - return x.SingleSelectReply - } - return nil -} - -func (x *ListResponseMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *ListResponseMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -type ListMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - ButtonText *string `protobuf:"bytes,3,opt,name=buttonText" json:"buttonText,omitempty"` - ListType *ListMessage_ListType `protobuf:"varint,4,opt,name=listType,enum=proto.ListMessage_ListType" json:"listType,omitempty"` - Sections []*ListMessage_Section `protobuf:"bytes,5,rep,name=sections" json:"sections,omitempty"` - ProductListInfo *ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo" json:"productListInfo,omitempty"` - FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *ListMessage) Reset() { - *x = ListMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage) ProtoMessage() {} - -func (x *ListMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[94] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead. -func (*ListMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94} -} - -func (x *ListMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *ListMessage) GetButtonText() string { - if x != nil && x.ButtonText != nil { - return *x.ButtonText - } - return "" -} - -func (x *ListMessage) GetListType() ListMessage_ListType { - if x != nil && x.ListType != nil { - return *x.ListType - } - return ListMessage_UNKNOWN -} - -func (x *ListMessage) GetSections() []*ListMessage_Section { - if x != nil { - return x.Sections - } - return nil -} - -func (x *ListMessage) GetProductListInfo() *ListMessage_ProductListInfo { - if x != nil { - return x.ProductListInfo - } - return nil -} - -func (x *ListMessage) GetFooterText() string { - if x != nil && x.FooterText != nil { - return *x.FooterText - } - return "" -} - -func (x *ListMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type KeepInChatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - KeepType *KeepType `protobuf:"varint,2,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` - TimestampMs *int64 `protobuf:"varint,3,opt,name=timestampMs" json:"timestampMs,omitempty"` -} - -func (x *KeepInChatMessage) Reset() { - *x = KeepInChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeepInChatMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeepInChatMessage) ProtoMessage() {} - -func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[95] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead. -func (*KeepInChatMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{95} -} - -func (x *KeepInChatMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *KeepInChatMessage) GetKeepType() KeepType { - if x != nil && x.KeepType != nil { - return *x.KeepType - } - return KeepType_UNKNOWN -} - -func (x *KeepInChatMessage) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs - } - return 0 -} - -type InvoiceMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *string `protobuf:"bytes,1,opt,name=note" json:"note,omitempty"` - Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` - AttachmentType *InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,enum=proto.InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"` - AttachmentMimetype *string `protobuf:"bytes,4,opt,name=attachmentMimetype" json:"attachmentMimetype,omitempty"` - AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey" json:"attachmentMediaKey,omitempty"` - AttachmentMediaKeyTimestamp *int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp" json:"attachmentMediaKeyTimestamp,omitempty"` - AttachmentFileSha256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSha256" json:"attachmentFileSha256,omitempty"` - AttachmentFileEncSha256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSha256" json:"attachmentFileEncSha256,omitempty"` - AttachmentDirectPath *string `protobuf:"bytes,9,opt,name=attachmentDirectPath" json:"attachmentDirectPath,omitempty"` - AttachmentJpegThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJpegThumbnail" json:"attachmentJpegThumbnail,omitempty"` -} - -func (x *InvoiceMessage) Reset() { - *x = InvoiceMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InvoiceMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvoiceMessage) ProtoMessage() {} - -func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[96] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead. -func (*InvoiceMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{96} -} - -func (x *InvoiceMessage) GetNote() string { - if x != nil && x.Note != nil { - return *x.Note - } - return "" -} - -func (x *InvoiceMessage) GetToken() string { - if x != nil && x.Token != nil { - return *x.Token - } - return "" -} - -func (x *InvoiceMessage) GetAttachmentType() InvoiceMessage_AttachmentType { - if x != nil && x.AttachmentType != nil { - return *x.AttachmentType - } - return InvoiceMessage_IMAGE -} - -func (x *InvoiceMessage) GetAttachmentMimetype() string { - if x != nil && x.AttachmentMimetype != nil { - return *x.AttachmentMimetype - } - return "" -} - -func (x *InvoiceMessage) GetAttachmentMediaKey() []byte { - if x != nil { - return x.AttachmentMediaKey - } - return nil -} - -func (x *InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 { - if x != nil && x.AttachmentMediaKeyTimestamp != nil { - return *x.AttachmentMediaKeyTimestamp - } - return 0 -} - -func (x *InvoiceMessage) GetAttachmentFileSha256() []byte { - if x != nil { - return x.AttachmentFileSha256 - } - return nil -} - -func (x *InvoiceMessage) GetAttachmentFileEncSha256() []byte { - if x != nil { - return x.AttachmentFileEncSha256 - } - return nil -} - -func (x *InvoiceMessage) GetAttachmentDirectPath() string { - if x != nil && x.AttachmentDirectPath != nil { - return *x.AttachmentDirectPath - } - return "" -} - -func (x *InvoiceMessage) GetAttachmentJpegThumbnail() []byte { - if x != nil { - return x.AttachmentJpegThumbnail - } - return nil -} - -type InteractiveResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Body *InteractiveResponseMessage_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` - // Types that are assignable to InteractiveResponseMessage: - // - // *InteractiveResponseMessage_NativeFlowResponseMessage_ - InteractiveResponseMessage isInteractiveResponseMessage_InteractiveResponseMessage `protobuf_oneof:"interactiveResponseMessage"` -} - -func (x *InteractiveResponseMessage) Reset() { - *x = InteractiveResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveResponseMessage) ProtoMessage() {} - -func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[97] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{97} -} - -func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body { - if x != nil { - return x.Body - } - return nil -} - -func (x *InteractiveResponseMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (m *InteractiveResponseMessage) GetInteractiveResponseMessage() isInteractiveResponseMessage_InteractiveResponseMessage { - if m != nil { - return m.InteractiveResponseMessage - } - return nil -} - -func (x *InteractiveResponseMessage) GetNativeFlowResponseMessage() *InteractiveResponseMessage_NativeFlowResponseMessage { - if x, ok := x.GetInteractiveResponseMessage().(*InteractiveResponseMessage_NativeFlowResponseMessage_); ok { - return x.NativeFlowResponseMessage - } - return nil -} - -type isInteractiveResponseMessage_InteractiveResponseMessage interface { - isInteractiveResponseMessage_InteractiveResponseMessage() -} - -type InteractiveResponseMessage_NativeFlowResponseMessage_ struct { - NativeFlowResponseMessage *InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,oneof"` -} - -func (*InteractiveResponseMessage_NativeFlowResponseMessage_) isInteractiveResponseMessage_InteractiveResponseMessage() { -} - -type InteractiveMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Header *InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` - Body *InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` - Footer *InteractiveMessage_Footer `protobuf:"bytes,3,opt,name=footer" json:"footer,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` - // Types that are assignable to InteractiveMessage: - // - // *InteractiveMessage_ShopStorefrontMessage - // *InteractiveMessage_CollectionMessage_ - // *InteractiveMessage_NativeFlowMessage_ - // *InteractiveMessage_CarouselMessage_ - InteractiveMessage isInteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"` -} - -func (x *InteractiveMessage) Reset() { - *x = InteractiveMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage) ProtoMessage() {} - -func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[98] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98} -} - -func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *InteractiveMessage) GetBody() *InteractiveMessage_Body { - if x != nil { - return x.Body - } - return nil -} - -func (x *InteractiveMessage) GetFooter() *InteractiveMessage_Footer { - if x != nil { - return x.Footer - } - return nil -} - -func (x *InteractiveMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (m *InteractiveMessage) GetInteractiveMessage() isInteractiveMessage_InteractiveMessage { - if m != nil { - return m.InteractiveMessage - } - return nil -} - -func (x *InteractiveMessage) GetShopStorefrontMessage() *InteractiveMessage_ShopMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_ShopStorefrontMessage); ok { - return x.ShopStorefrontMessage - } - return nil -} - -func (x *InteractiveMessage) GetCollectionMessage() *InteractiveMessage_CollectionMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CollectionMessage_); ok { - return x.CollectionMessage - } - return nil -} - -func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFlowMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_NativeFlowMessage_); ok { - return x.NativeFlowMessage - } - return nil -} - -func (x *InteractiveMessage) GetCarouselMessage() *InteractiveMessage_CarouselMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CarouselMessage_); ok { - return x.CarouselMessage - } - return nil -} - -type isInteractiveMessage_InteractiveMessage interface { - isInteractiveMessage_InteractiveMessage() -} - -type InteractiveMessage_ShopStorefrontMessage struct { - ShopStorefrontMessage *InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,oneof"` -} - -type InteractiveMessage_CollectionMessage_ struct { - CollectionMessage *InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,oneof"` -} - -type InteractiveMessage_NativeFlowMessage_ struct { - NativeFlowMessage *InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,oneof"` -} - -type InteractiveMessage_CarouselMessage_ struct { - CarouselMessage *InteractiveMessage_CarouselMessage `protobuf:"bytes,7,opt,name=carouselMessage,oneof"` -} - -func (*InteractiveMessage_ShopStorefrontMessage) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_CollectionMessage_) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_NativeFlowMessage_) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_CarouselMessage_) isInteractiveMessage_InteractiveMessage() {} - -type EphemeralSetting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Duration *int32 `protobuf:"fixed32,1,opt,name=duration" json:"duration,omitempty"` - Timestamp *int64 `protobuf:"fixed64,2,opt,name=timestamp" json:"timestamp,omitempty"` -} - -func (x *EphemeralSetting) Reset() { - *x = EphemeralSetting{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EphemeralSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EphemeralSetting) ProtoMessage() {} - -func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[99] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EphemeralSetting.ProtoReflect.Descriptor instead. -func (*EphemeralSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{99} -} - -func (x *EphemeralSetting) GetDuration() int32 { - if x != nil && x.Duration != nil { - return *x.Duration - } - return 0 -} - -func (x *EphemeralSetting) GetTimestamp() int64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -type WallpaperSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"` - Opacity *uint32 `protobuf:"varint,2,opt,name=opacity" json:"opacity,omitempty"` -} - -func (x *WallpaperSettings) Reset() { - *x = WallpaperSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WallpaperSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WallpaperSettings) ProtoMessage() {} - -func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[100] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead. -func (*WallpaperSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{100} -} - -func (x *WallpaperSettings) GetFilename() string { - if x != nil && x.Filename != nil { - return *x.Filename - } - return "" -} - -func (x *WallpaperSettings) GetOpacity() uint32 { - if x != nil && x.Opacity != nil { - return *x.Opacity - } - return 0 -} - -type StickerMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - FileSha256 []byte `protobuf:"bytes,2,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,3,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` - Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` - Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` - DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"` - FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"` - Weight *float32 `protobuf:"fixed32,10,opt,name=weight" json:"weight,omitempty"` - LastStickerSentTs *int64 `protobuf:"varint,11,opt,name=lastStickerSentTs" json:"lastStickerSentTs,omitempty"` -} - -func (x *StickerMetadata) Reset() { - *x = StickerMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StickerMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StickerMetadata) ProtoMessage() {} - -func (x *StickerMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[101] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead. -func (*StickerMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{101} -} - -func (x *StickerMetadata) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *StickerMetadata) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *StickerMetadata) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *StickerMetadata) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *StickerMetadata) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *StickerMetadata) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *StickerMetadata) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *StickerMetadata) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *StickerMetadata) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *StickerMetadata) GetWeight() float32 { - if x != nil && x.Weight != nil { - return *x.Weight - } - return 0 -} - -func (x *StickerMetadata) GetLastStickerSentTs() int64 { - if x != nil && x.LastStickerSentTs != nil { - return *x.LastStickerSentTs - } - return 0 -} - -type Pushname struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Pushname *string `protobuf:"bytes,2,opt,name=pushname" json:"pushname,omitempty"` -} - -func (x *Pushname) Reset() { - *x = Pushname{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Pushname) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Pushname) ProtoMessage() {} - -func (x *Pushname) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[102] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Pushname.ProtoReflect.Descriptor instead. -func (*Pushname) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{102} -} - -func (x *Pushname) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *Pushname) GetPushname() string { - if x != nil && x.Pushname != nil { - return *x.Pushname - } - return "" -} - -type PhoneNumberToLIDMapping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PnJid *string `protobuf:"bytes,1,opt,name=pnJid" json:"pnJid,omitempty"` - LidJid *string `protobuf:"bytes,2,opt,name=lidJid" json:"lidJid,omitempty"` -} - -func (x *PhoneNumberToLIDMapping) Reset() { - *x = PhoneNumberToLIDMapping{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PhoneNumberToLIDMapping) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PhoneNumberToLIDMapping) ProtoMessage() {} - -func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[103] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PhoneNumberToLIDMapping.ProtoReflect.Descriptor instead. -func (*PhoneNumberToLIDMapping) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{103} -} - -func (x *PhoneNumberToLIDMapping) GetPnJid() string { - if x != nil && x.PnJid != nil { - return *x.PnJid - } - return "" -} - -func (x *PhoneNumberToLIDMapping) GetLidJid() string { - if x != nil && x.LidJid != nil { - return *x.LidJid - } - return "" -} - -type PastParticipants struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupJid *string `protobuf:"bytes,1,opt,name=groupJid" json:"groupJid,omitempty"` - PastParticipants []*PastParticipant `protobuf:"bytes,2,rep,name=pastParticipants" json:"pastParticipants,omitempty"` -} - -func (x *PastParticipants) Reset() { - *x = PastParticipants{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PastParticipants) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PastParticipants) ProtoMessage() {} - -func (x *PastParticipants) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[104] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead. -func (*PastParticipants) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{104} -} - -func (x *PastParticipants) GetGroupJid() string { - if x != nil && x.GroupJid != nil { - return *x.GroupJid - } - return "" -} - -func (x *PastParticipants) GetPastParticipants() []*PastParticipant { - if x != nil { - return x.PastParticipants - } - return nil -} - -type PastParticipant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserJid *string `protobuf:"bytes,1,opt,name=userJid" json:"userJid,omitempty"` - LeaveReason *PastParticipant_LeaveReason `protobuf:"varint,2,opt,name=leaveReason,enum=proto.PastParticipant_LeaveReason" json:"leaveReason,omitempty"` - LeaveTs *uint64 `protobuf:"varint,3,opt,name=leaveTs" json:"leaveTs,omitempty"` -} - -func (x *PastParticipant) Reset() { - *x = PastParticipant{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PastParticipant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PastParticipant) ProtoMessage() {} - -func (x *PastParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[105] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PastParticipant.ProtoReflect.Descriptor instead. -func (*PastParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{105} -} - -func (x *PastParticipant) GetUserJid() string { - if x != nil && x.UserJid != nil { - return *x.UserJid - } - return "" -} - -func (x *PastParticipant) GetLeaveReason() PastParticipant_LeaveReason { - if x != nil && x.LeaveReason != nil { - return *x.LeaveReason - } - return PastParticipant_LEFT -} - -func (x *PastParticipant) GetLeaveTs() uint64 { - if x != nil && x.LeaveTs != nil { - return *x.LeaveTs - } - return 0 -} - -type NotificationSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"` - MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"` - MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"` - LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"` - ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"` - CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"` -} - -func (x *NotificationSettings) Reset() { - *x = NotificationSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NotificationSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotificationSettings) ProtoMessage() {} - -func (x *NotificationSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[106] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead. -func (*NotificationSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{106} -} - -func (x *NotificationSettings) GetMessageVibrate() string { - if x != nil && x.MessageVibrate != nil { - return *x.MessageVibrate - } - return "" -} - -func (x *NotificationSettings) GetMessagePopup() string { - if x != nil && x.MessagePopup != nil { - return *x.MessagePopup - } - return "" -} - -func (x *NotificationSettings) GetMessageLight() string { - if x != nil && x.MessageLight != nil { - return *x.MessageLight - } - return "" -} - -func (x *NotificationSettings) GetLowPriorityNotifications() bool { - if x != nil && x.LowPriorityNotifications != nil { - return *x.LowPriorityNotifications - } - return false -} - -func (x *NotificationSettings) GetReactionsMuted() bool { - if x != nil && x.ReactionsMuted != nil { - return *x.ReactionsMuted - } - return false -} - -func (x *NotificationSettings) GetCallVibrate() string { - if x != nil && x.CallVibrate != nil { - return *x.CallVibrate - } - return "" -} - -type HistorySync struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=proto.HistorySync_HistorySyncType" json:"syncType,omitempty"` - Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"` - StatusV3Messages []*WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"` - ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"` - Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"` - Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"` - GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"` - ThreadIdUserSecret []byte `protobuf:"bytes,9,opt,name=threadIdUserSecret" json:"threadIdUserSecret,omitempty"` - ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"` - RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"` - PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"` - CallLogRecords []*CallLogRecord `protobuf:"bytes,13,rep,name=callLogRecords" json:"callLogRecords,omitempty"` - AiWaitListState *HistorySync_BotAIWaitListState `protobuf:"varint,14,opt,name=aiWaitListState,enum=proto.HistorySync_BotAIWaitListState" json:"aiWaitListState,omitempty"` - PhoneNumberToLidMappings []*PhoneNumberToLIDMapping `protobuf:"bytes,15,rep,name=phoneNumberToLidMappings" json:"phoneNumberToLidMappings,omitempty"` -} - -func (x *HistorySync) Reset() { - *x = HistorySync{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HistorySync) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistorySync) ProtoMessage() {} - -func (x *HistorySync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[107] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistorySync.ProtoReflect.Descriptor instead. -func (*HistorySync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{107} -} - -func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType { - if x != nil && x.SyncType != nil { - return *x.SyncType - } - return HistorySync_INITIAL_BOOTSTRAP -} - -func (x *HistorySync) GetConversations() []*Conversation { - if x != nil { - return x.Conversations - } - return nil -} - -func (x *HistorySync) GetStatusV3Messages() []*WebMessageInfo { - if x != nil { - return x.StatusV3Messages - } - return nil -} - -func (x *HistorySync) GetChunkOrder() uint32 { - if x != nil && x.ChunkOrder != nil { - return *x.ChunkOrder - } - return 0 -} - -func (x *HistorySync) GetProgress() uint32 { - if x != nil && x.Progress != nil { - return *x.Progress - } - return 0 -} - -func (x *HistorySync) GetPushnames() []*Pushname { - if x != nil { - return x.Pushnames - } - return nil -} - -func (x *HistorySync) GetGlobalSettings() *GlobalSettings { - if x != nil { - return x.GlobalSettings - } - return nil -} - -func (x *HistorySync) GetThreadIdUserSecret() []byte { - if x != nil { - return x.ThreadIdUserSecret - } - return nil -} - -func (x *HistorySync) GetThreadDsTimeframeOffset() uint32 { - if x != nil && x.ThreadDsTimeframeOffset != nil { - return *x.ThreadDsTimeframeOffset - } - return 0 -} - -func (x *HistorySync) GetRecentStickers() []*StickerMetadata { - if x != nil { - return x.RecentStickers - } - return nil -} - -func (x *HistorySync) GetPastParticipants() []*PastParticipants { - if x != nil { - return x.PastParticipants - } - return nil -} - -func (x *HistorySync) GetCallLogRecords() []*CallLogRecord { - if x != nil { - return x.CallLogRecords - } - return nil -} - -func (x *HistorySync) GetAiWaitListState() HistorySync_BotAIWaitListState { - if x != nil && x.AiWaitListState != nil { - return *x.AiWaitListState - } - return HistorySync_IN_WAITLIST -} - -func (x *HistorySync) GetPhoneNumberToLidMappings() []*PhoneNumberToLIDMapping { - if x != nil { - return x.PhoneNumberToLidMappings - } - return nil -} - -type HistorySyncMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message *WebMessageInfo `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` - MsgOrderId *uint64 `protobuf:"varint,2,opt,name=msgOrderId" json:"msgOrderId,omitempty"` -} - -func (x *HistorySyncMsg) Reset() { - *x = HistorySyncMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HistorySyncMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HistorySyncMsg) ProtoMessage() {} - -func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[108] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead. -func (*HistorySyncMsg) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{108} -} - -func (x *HistorySyncMsg) GetMessage() *WebMessageInfo { - if x != nil { - return x.Message - } - return nil -} - -func (x *HistorySyncMsg) GetMsgOrderId() uint64 { - if x != nil && x.MsgOrderId != nil { - return *x.MsgOrderId - } - return 0 -} - -type GroupParticipant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserJid *string `protobuf:"bytes,1,req,name=userJid" json:"userJid,omitempty"` - Rank *GroupParticipant_Rank `protobuf:"varint,2,opt,name=rank,enum=proto.GroupParticipant_Rank" json:"rank,omitempty"` -} - -func (x *GroupParticipant) Reset() { - *x = GroupParticipant{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GroupParticipant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GroupParticipant) ProtoMessage() {} - -func (x *GroupParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[109] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GroupParticipant.ProtoReflect.Descriptor instead. -func (*GroupParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{109} -} - -func (x *GroupParticipant) GetUserJid() string { - if x != nil && x.UserJid != nil { - return *x.UserJid - } - return "" -} - -func (x *GroupParticipant) GetRank() GroupParticipant_Rank { - if x != nil && x.Rank != nil { - return *x.Rank - } - return GroupParticipant_REGULAR -} - -type GlobalSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LightThemeWallpaper *WallpaperSettings `protobuf:"bytes,1,opt,name=lightThemeWallpaper" json:"lightThemeWallpaper,omitempty"` - MediaVisibility *MediaVisibility `protobuf:"varint,2,opt,name=mediaVisibility,enum=proto.MediaVisibility" json:"mediaVisibility,omitempty"` - DarkThemeWallpaper *WallpaperSettings `protobuf:"bytes,3,opt,name=darkThemeWallpaper" json:"darkThemeWallpaper,omitempty"` - AutoDownloadWiFi *AutoDownloadSettings `protobuf:"bytes,4,opt,name=autoDownloadWiFi" json:"autoDownloadWiFi,omitempty"` - AutoDownloadCellular *AutoDownloadSettings `protobuf:"bytes,5,opt,name=autoDownloadCellular" json:"autoDownloadCellular,omitempty"` - AutoDownloadRoaming *AutoDownloadSettings `protobuf:"bytes,6,opt,name=autoDownloadRoaming" json:"autoDownloadRoaming,omitempty"` - ShowIndividualNotificationsPreview *bool `protobuf:"varint,7,opt,name=showIndividualNotificationsPreview" json:"showIndividualNotificationsPreview,omitempty"` - ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"` - DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"` - DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"` - AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"` - FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"` - SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"` - AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"` - VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"` - PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"` - IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"` - GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"` - ChatLockSettings *ChatLockSettings `protobuf:"bytes,19,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"` -} - -func (x *GlobalSettings) Reset() { - *x = GlobalSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GlobalSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GlobalSettings) ProtoMessage() {} - -func (x *GlobalSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[110] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead. -func (*GlobalSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{110} -} - -func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings { - if x != nil { - return x.LightThemeWallpaper - } - return nil -} - -func (x *GlobalSettings) GetMediaVisibility() MediaVisibility { - if x != nil && x.MediaVisibility != nil { - return *x.MediaVisibility - } - return MediaVisibility_DEFAULT -} - -func (x *GlobalSettings) GetDarkThemeWallpaper() *WallpaperSettings { - if x != nil { - return x.DarkThemeWallpaper - } - return nil -} - -func (x *GlobalSettings) GetAutoDownloadWiFi() *AutoDownloadSettings { - if x != nil { - return x.AutoDownloadWiFi - } - return nil -} - -func (x *GlobalSettings) GetAutoDownloadCellular() *AutoDownloadSettings { - if x != nil { - return x.AutoDownloadCellular - } - return nil -} - -func (x *GlobalSettings) GetAutoDownloadRoaming() *AutoDownloadSettings { - if x != nil { - return x.AutoDownloadRoaming - } - return nil -} - -func (x *GlobalSettings) GetShowIndividualNotificationsPreview() bool { - if x != nil && x.ShowIndividualNotificationsPreview != nil { - return *x.ShowIndividualNotificationsPreview - } - return false -} - -func (x *GlobalSettings) GetShowGroupNotificationsPreview() bool { - if x != nil && x.ShowGroupNotificationsPreview != nil { - return *x.ShowGroupNotificationsPreview - } - return false -} - -func (x *GlobalSettings) GetDisappearingModeDuration() int32 { - if x != nil && x.DisappearingModeDuration != nil { - return *x.DisappearingModeDuration - } - return 0 -} - -func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 { - if x != nil && x.DisappearingModeTimestamp != nil { - return *x.DisappearingModeTimestamp - } - return 0 -} - -func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings { - if x != nil { - return x.AvatarUserSettings - } - return nil -} - -func (x *GlobalSettings) GetFontSize() int32 { - if x != nil && x.FontSize != nil { - return *x.FontSize - } - return 0 -} - -func (x *GlobalSettings) GetSecurityNotifications() bool { - if x != nil && x.SecurityNotifications != nil { - return *x.SecurityNotifications - } - return false -} - -func (x *GlobalSettings) GetAutoUnarchiveChats() bool { - if x != nil && x.AutoUnarchiveChats != nil { - return *x.AutoUnarchiveChats - } - return false -} - -func (x *GlobalSettings) GetVideoQualityMode() int32 { - if x != nil && x.VideoQualityMode != nil { - return *x.VideoQualityMode - } - return 0 -} - -func (x *GlobalSettings) GetPhotoQualityMode() int32 { - if x != nil && x.PhotoQualityMode != nil { - return *x.PhotoQualityMode - } - return 0 -} - -func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings { - if x != nil { - return x.IndividualNotificationSettings - } - return nil -} - -func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings { - if x != nil { - return x.GroupNotificationSettings - } - return nil -} - -func (x *GlobalSettings) GetChatLockSettings() *ChatLockSettings { - if x != nil { - return x.ChatLockSettings - } - return nil -} - -type Conversation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` - Messages []*HistorySyncMsg `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"` - NewJid *string `protobuf:"bytes,3,opt,name=newJid" json:"newJid,omitempty"` - OldJid *string `protobuf:"bytes,4,opt,name=oldJid" json:"oldJid,omitempty"` - LastMsgTimestamp *uint64 `protobuf:"varint,5,opt,name=lastMsgTimestamp" json:"lastMsgTimestamp,omitempty"` - UnreadCount *uint32 `protobuf:"varint,6,opt,name=unreadCount" json:"unreadCount,omitempty"` - ReadOnly *bool `protobuf:"varint,7,opt,name=readOnly" json:"readOnly,omitempty"` - EndOfHistoryTransfer *bool `protobuf:"varint,8,opt,name=endOfHistoryTransfer" json:"endOfHistoryTransfer,omitempty"` - EphemeralExpiration *uint32 `protobuf:"varint,9,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` - EphemeralSettingTimestamp *int64 `protobuf:"varint,10,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` - EndOfHistoryTransferType *Conversation_EndOfHistoryTransferType `protobuf:"varint,11,opt,name=endOfHistoryTransferType,enum=proto.Conversation_EndOfHistoryTransferType" json:"endOfHistoryTransferType,omitempty"` - ConversationTimestamp *uint64 `protobuf:"varint,12,opt,name=conversationTimestamp" json:"conversationTimestamp,omitempty"` - Name *string `protobuf:"bytes,13,opt,name=name" json:"name,omitempty"` - PHash *string `protobuf:"bytes,14,opt,name=pHash" json:"pHash,omitempty"` - NotSpam *bool `protobuf:"varint,15,opt,name=notSpam" json:"notSpam,omitempty"` - Archived *bool `protobuf:"varint,16,opt,name=archived" json:"archived,omitempty"` - DisappearingMode *DisappearingMode `protobuf:"bytes,17,opt,name=disappearingMode" json:"disappearingMode,omitempty"` - UnreadMentionCount *uint32 `protobuf:"varint,18,opt,name=unreadMentionCount" json:"unreadMentionCount,omitempty"` - MarkedAsUnread *bool `protobuf:"varint,19,opt,name=markedAsUnread" json:"markedAsUnread,omitempty"` - Participant []*GroupParticipant `protobuf:"bytes,20,rep,name=participant" json:"participant,omitempty"` - TcToken []byte `protobuf:"bytes,21,opt,name=tcToken" json:"tcToken,omitempty"` - TcTokenTimestamp *uint64 `protobuf:"varint,22,opt,name=tcTokenTimestamp" json:"tcTokenTimestamp,omitempty"` - ContactPrimaryIdentityKey []byte `protobuf:"bytes,23,opt,name=contactPrimaryIdentityKey" json:"contactPrimaryIdentityKey,omitempty"` - Pinned *uint32 `protobuf:"varint,24,opt,name=pinned" json:"pinned,omitempty"` - MuteEndTime *uint64 `protobuf:"varint,25,opt,name=muteEndTime" json:"muteEndTime,omitempty"` - Wallpaper *WallpaperSettings `protobuf:"bytes,26,opt,name=wallpaper" json:"wallpaper,omitempty"` - MediaVisibility *MediaVisibility `protobuf:"varint,27,opt,name=mediaVisibility,enum=proto.MediaVisibility" json:"mediaVisibility,omitempty"` - TcTokenSenderTimestamp *uint64 `protobuf:"varint,28,opt,name=tcTokenSenderTimestamp" json:"tcTokenSenderTimestamp,omitempty"` - Suspended *bool `protobuf:"varint,29,opt,name=suspended" json:"suspended,omitempty"` - Terminated *bool `protobuf:"varint,30,opt,name=terminated" json:"terminated,omitempty"` - CreatedAt *uint64 `protobuf:"varint,31,opt,name=createdAt" json:"createdAt,omitempty"` - CreatedBy *string `protobuf:"bytes,32,opt,name=createdBy" json:"createdBy,omitempty"` - Description *string `protobuf:"bytes,33,opt,name=description" json:"description,omitempty"` - Support *bool `protobuf:"varint,34,opt,name=support" json:"support,omitempty"` - IsParentGroup *bool `protobuf:"varint,35,opt,name=isParentGroup" json:"isParentGroup,omitempty"` - ParentGroupId *string `protobuf:"bytes,37,opt,name=parentGroupId" json:"parentGroupId,omitempty"` - IsDefaultSubgroup *bool `protobuf:"varint,36,opt,name=isDefaultSubgroup" json:"isDefaultSubgroup,omitempty"` - DisplayName *string `protobuf:"bytes,38,opt,name=displayName" json:"displayName,omitempty"` - PnJid *string `protobuf:"bytes,39,opt,name=pnJid" json:"pnJid,omitempty"` - ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"` - PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"` - LidJid *string `protobuf:"bytes,42,opt,name=lidJid" json:"lidJid,omitempty"` - Username *string `protobuf:"bytes,43,opt,name=username" json:"username,omitempty"` - LidOriginType *string `protobuf:"bytes,44,opt,name=lidOriginType" json:"lidOriginType,omitempty"` - CommentsCount *uint32 `protobuf:"varint,45,opt,name=commentsCount" json:"commentsCount,omitempty"` - Locked *bool `protobuf:"varint,46,opt,name=locked" json:"locked,omitempty"` -} - -func (x *Conversation) Reset() { - *x = Conversation{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Conversation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Conversation) ProtoMessage() {} - -func (x *Conversation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[111] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Conversation.ProtoReflect.Descriptor instead. -func (*Conversation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{111} -} - -func (x *Conversation) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *Conversation) GetMessages() []*HistorySyncMsg { - if x != nil { - return x.Messages - } - return nil -} - -func (x *Conversation) GetNewJid() string { - if x != nil && x.NewJid != nil { - return *x.NewJid - } - return "" -} - -func (x *Conversation) GetOldJid() string { - if x != nil && x.OldJid != nil { - return *x.OldJid - } - return "" -} - -func (x *Conversation) GetLastMsgTimestamp() uint64 { - if x != nil && x.LastMsgTimestamp != nil { - return *x.LastMsgTimestamp - } - return 0 -} - -func (x *Conversation) GetUnreadCount() uint32 { - if x != nil && x.UnreadCount != nil { - return *x.UnreadCount - } - return 0 -} - -func (x *Conversation) GetReadOnly() bool { - if x != nil && x.ReadOnly != nil { - return *x.ReadOnly - } - return false -} - -func (x *Conversation) GetEndOfHistoryTransfer() bool { - if x != nil && x.EndOfHistoryTransfer != nil { - return *x.EndOfHistoryTransfer - } - return false -} - -func (x *Conversation) GetEphemeralExpiration() uint32 { - if x != nil && x.EphemeralExpiration != nil { - return *x.EphemeralExpiration - } - return 0 -} - -func (x *Conversation) GetEphemeralSettingTimestamp() int64 { - if x != nil && x.EphemeralSettingTimestamp != nil { - return *x.EphemeralSettingTimestamp - } - return 0 -} - -func (x *Conversation) GetEndOfHistoryTransferType() Conversation_EndOfHistoryTransferType { - if x != nil && x.EndOfHistoryTransferType != nil { - return *x.EndOfHistoryTransferType - } - return Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY -} - -func (x *Conversation) GetConversationTimestamp() uint64 { - if x != nil && x.ConversationTimestamp != nil { - return *x.ConversationTimestamp - } - return 0 -} - -func (x *Conversation) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *Conversation) GetPHash() string { - if x != nil && x.PHash != nil { - return *x.PHash - } - return "" -} - -func (x *Conversation) GetNotSpam() bool { - if x != nil && x.NotSpam != nil { - return *x.NotSpam - } - return false -} - -func (x *Conversation) GetArchived() bool { - if x != nil && x.Archived != nil { - return *x.Archived - } - return false -} - -func (x *Conversation) GetDisappearingMode() *DisappearingMode { - if x != nil { - return x.DisappearingMode - } - return nil -} - -func (x *Conversation) GetUnreadMentionCount() uint32 { - if x != nil && x.UnreadMentionCount != nil { - return *x.UnreadMentionCount - } - return 0 -} - -func (x *Conversation) GetMarkedAsUnread() bool { - if x != nil && x.MarkedAsUnread != nil { - return *x.MarkedAsUnread - } - return false -} - -func (x *Conversation) GetParticipant() []*GroupParticipant { - if x != nil { - return x.Participant - } - return nil -} - -func (x *Conversation) GetTcToken() []byte { - if x != nil { - return x.TcToken - } - return nil -} - -func (x *Conversation) GetTcTokenTimestamp() uint64 { - if x != nil && x.TcTokenTimestamp != nil { - return *x.TcTokenTimestamp - } - return 0 -} - -func (x *Conversation) GetContactPrimaryIdentityKey() []byte { - if x != nil { - return x.ContactPrimaryIdentityKey - } - return nil -} - -func (x *Conversation) GetPinned() uint32 { - if x != nil && x.Pinned != nil { - return *x.Pinned - } - return 0 -} - -func (x *Conversation) GetMuteEndTime() uint64 { - if x != nil && x.MuteEndTime != nil { - return *x.MuteEndTime - } - return 0 -} - -func (x *Conversation) GetWallpaper() *WallpaperSettings { - if x != nil { - return x.Wallpaper - } - return nil -} - -func (x *Conversation) GetMediaVisibility() MediaVisibility { - if x != nil && x.MediaVisibility != nil { - return *x.MediaVisibility - } - return MediaVisibility_DEFAULT -} - -func (x *Conversation) GetTcTokenSenderTimestamp() uint64 { - if x != nil && x.TcTokenSenderTimestamp != nil { - return *x.TcTokenSenderTimestamp - } - return 0 -} - -func (x *Conversation) GetSuspended() bool { - if x != nil && x.Suspended != nil { - return *x.Suspended - } - return false -} - -func (x *Conversation) GetTerminated() bool { - if x != nil && x.Terminated != nil { - return *x.Terminated - } - return false -} - -func (x *Conversation) GetCreatedAt() uint64 { - if x != nil && x.CreatedAt != nil { - return *x.CreatedAt - } - return 0 -} - -func (x *Conversation) GetCreatedBy() string { - if x != nil && x.CreatedBy != nil { - return *x.CreatedBy - } - return "" -} - -func (x *Conversation) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *Conversation) GetSupport() bool { - if x != nil && x.Support != nil { - return *x.Support - } - return false -} - -func (x *Conversation) GetIsParentGroup() bool { - if x != nil && x.IsParentGroup != nil { - return *x.IsParentGroup - } - return false -} - -func (x *Conversation) GetParentGroupId() string { - if x != nil && x.ParentGroupId != nil { - return *x.ParentGroupId - } - return "" -} - -func (x *Conversation) GetIsDefaultSubgroup() bool { - if x != nil && x.IsDefaultSubgroup != nil { - return *x.IsDefaultSubgroup - } - return false -} - -func (x *Conversation) GetDisplayName() string { - if x != nil && x.DisplayName != nil { - return *x.DisplayName - } - return "" -} - -func (x *Conversation) GetPnJid() string { - if x != nil && x.PnJid != nil { - return *x.PnJid - } - return "" -} - -func (x *Conversation) GetShareOwnPn() bool { - if x != nil && x.ShareOwnPn != nil { - return *x.ShareOwnPn - } - return false -} - -func (x *Conversation) GetPnhDuplicateLidThread() bool { - if x != nil && x.PnhDuplicateLidThread != nil { - return *x.PnhDuplicateLidThread - } - return false -} - -func (x *Conversation) GetLidJid() string { - if x != nil && x.LidJid != nil { - return *x.LidJid - } - return "" -} - -func (x *Conversation) GetUsername() string { - if x != nil && x.Username != nil { - return *x.Username - } - return "" -} - -func (x *Conversation) GetLidOriginType() string { - if x != nil && x.LidOriginType != nil { - return *x.LidOriginType - } - return "" -} - -func (x *Conversation) GetCommentsCount() uint32 { - if x != nil && x.CommentsCount != nil { - return *x.CommentsCount - } - return 0 -} - -func (x *Conversation) GetLocked() bool { - if x != nil && x.Locked != nil { - return *x.Locked - } - return false -} - -type AvatarUserSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Fbid *string `protobuf:"bytes,1,opt,name=fbid" json:"fbid,omitempty"` - Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` -} - -func (x *AvatarUserSettings) Reset() { - *x = AvatarUserSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AvatarUserSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AvatarUserSettings) ProtoMessage() {} - -func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[112] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead. -func (*AvatarUserSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{112} -} - -func (x *AvatarUserSettings) GetFbid() string { - if x != nil && x.Fbid != nil { - return *x.Fbid - } - return "" -} - -func (x *AvatarUserSettings) GetPassword() string { - if x != nil && x.Password != nil { - return *x.Password - } - return "" -} - -type AutoDownloadSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DownloadImages *bool `protobuf:"varint,1,opt,name=downloadImages" json:"downloadImages,omitempty"` - DownloadAudio *bool `protobuf:"varint,2,opt,name=downloadAudio" json:"downloadAudio,omitempty"` - DownloadVideo *bool `protobuf:"varint,3,opt,name=downloadVideo" json:"downloadVideo,omitempty"` - DownloadDocuments *bool `protobuf:"varint,4,opt,name=downloadDocuments" json:"downloadDocuments,omitempty"` -} - -func (x *AutoDownloadSettings) Reset() { - *x = AutoDownloadSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AutoDownloadSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AutoDownloadSettings) ProtoMessage() {} - -func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[113] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead. -func (*AutoDownloadSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{113} -} - -func (x *AutoDownloadSettings) GetDownloadImages() bool { - if x != nil && x.DownloadImages != nil { - return *x.DownloadImages - } - return false -} - -func (x *AutoDownloadSettings) GetDownloadAudio() bool { - if x != nil && x.DownloadAudio != nil { - return *x.DownloadAudio - } - return false -} - -func (x *AutoDownloadSettings) GetDownloadVideo() bool { - if x != nil && x.DownloadVideo != nil { - return *x.DownloadVideo - } - return false -} - -func (x *AutoDownloadSettings) GetDownloadDocuments() bool { - if x != nil && x.DownloadDocuments != nil { - return *x.DownloadDocuments - } - return false -} - -type ServerErrorReceipt struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` -} - -func (x *ServerErrorReceipt) Reset() { - *x = ServerErrorReceipt{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServerErrorReceipt) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerErrorReceipt) ProtoMessage() {} - -func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[114] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerErrorReceipt.ProtoReflect.Descriptor instead. -func (*ServerErrorReceipt) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{114} -} - -func (x *ServerErrorReceipt) GetStanzaId() string { - if x != nil && x.StanzaId != nil { - return *x.StanzaId - } - return "" -} - -type MediaRetryNotification struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` - DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"` - Result *MediaRetryNotification_ResultType `protobuf:"varint,3,opt,name=result,enum=proto.MediaRetryNotification_ResultType" json:"result,omitempty"` -} - -func (x *MediaRetryNotification) Reset() { - *x = MediaRetryNotification{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MediaRetryNotification) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MediaRetryNotification) ProtoMessage() {} - -func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[115] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MediaRetryNotification.ProtoReflect.Descriptor instead. -func (*MediaRetryNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{115} -} - -func (x *MediaRetryNotification) GetStanzaId() string { - if x != nil && x.StanzaId != nil { - return *x.StanzaId - } - return "" -} - -func (x *MediaRetryNotification) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *MediaRetryNotification) GetResult() MediaRetryNotification_ResultType { - if x != nil && x.Result != nil { - return *x.Result - } - return MediaRetryNotification_GENERAL_ERROR -} - -type MessageKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RemoteJid *string `protobuf:"bytes,1,opt,name=remoteJid" json:"remoteJid,omitempty"` - FromMe *bool `protobuf:"varint,2,opt,name=fromMe" json:"fromMe,omitempty"` - Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` - Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` -} - -func (x *MessageKey) Reset() { - *x = MessageKey{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageKey) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageKey) ProtoMessage() {} - -func (x *MessageKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[116] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageKey.ProtoReflect.Descriptor instead. -func (*MessageKey) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{116} -} - -func (x *MessageKey) GetRemoteJid() string { - if x != nil && x.RemoteJid != nil { - return *x.RemoteJid - } - return "" -} - -func (x *MessageKey) GetFromMe() bool { - if x != nil && x.FromMe != nil { - return *x.FromMe - } - return false -} - -func (x *MessageKey) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *MessageKey) GetParticipant() string { - if x != nil && x.Participant != nil { - return *x.Participant - } - return "" -} - -type SyncdVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` -} - -func (x *SyncdVersion) Reset() { - *x = SyncdVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdVersion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdVersion) ProtoMessage() {} - -func (x *SyncdVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[117] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead. -func (*SyncdVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{117} -} - -func (x *SyncdVersion) GetVersion() uint64 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -type SyncdValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"` -} - -func (x *SyncdValue) Reset() { - *x = SyncdValue{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[118] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdValue) ProtoMessage() {} - -func (x *SyncdValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[118] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead. -func (*SyncdValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{118} -} - -func (x *SyncdValue) GetBlob() []byte { - if x != nil { - return x.Blob - } - return nil -} - -type SyncdSnapshot struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` - Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records" json:"records,omitempty"` - Mac []byte `protobuf:"bytes,3,opt,name=mac" json:"mac,omitempty"` - KeyId *KeyId `protobuf:"bytes,4,opt,name=keyId" json:"keyId,omitempty"` -} - -func (x *SyncdSnapshot) Reset() { - *x = SyncdSnapshot{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[119] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdSnapshot) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdSnapshot) ProtoMessage() {} - -func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[119] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead. -func (*SyncdSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{119} -} - -func (x *SyncdSnapshot) GetVersion() *SyncdVersion { - if x != nil { - return x.Version - } - return nil -} - -func (x *SyncdSnapshot) GetRecords() []*SyncdRecord { - if x != nil { - return x.Records - } - return nil -} - -func (x *SyncdSnapshot) GetMac() []byte { - if x != nil { - return x.Mac - } - return nil -} - -func (x *SyncdSnapshot) GetKeyId() *KeyId { - if x != nil { - return x.KeyId - } - return nil -} - -type SyncdRecord struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index *SyncdIndex `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"` - Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` - KeyId *KeyId `protobuf:"bytes,3,opt,name=keyId" json:"keyId,omitempty"` -} - -func (x *SyncdRecord) Reset() { - *x = SyncdRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[120] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdRecord) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdRecord) ProtoMessage() {} - -func (x *SyncdRecord) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[120] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead. -func (*SyncdRecord) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{120} -} - -func (x *SyncdRecord) GetIndex() *SyncdIndex { - if x != nil { - return x.Index - } - return nil -} - -func (x *SyncdRecord) GetValue() *SyncdValue { - if x != nil { - return x.Value - } - return nil -} - -func (x *SyncdRecord) GetKeyId() *KeyId { - if x != nil { - return x.KeyId - } - return nil -} - -type SyncdPatch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` - Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"` - ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations" json:"externalMutations,omitempty"` - SnapshotMac []byte `protobuf:"bytes,4,opt,name=snapshotMac" json:"snapshotMac,omitempty"` - PatchMac []byte `protobuf:"bytes,5,opt,name=patchMac" json:"patchMac,omitempty"` - KeyId *KeyId `protobuf:"bytes,6,opt,name=keyId" json:"keyId,omitempty"` - ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"` - DeviceIndex *uint32 `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"` - ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData" json:"clientDebugData,omitempty"` -} - -func (x *SyncdPatch) Reset() { - *x = SyncdPatch{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdPatch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdPatch) ProtoMessage() {} - -func (x *SyncdPatch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[121] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead. -func (*SyncdPatch) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{121} -} - -func (x *SyncdPatch) GetVersion() *SyncdVersion { - if x != nil { - return x.Version - } - return nil -} - -func (x *SyncdPatch) GetMutations() []*SyncdMutation { - if x != nil { - return x.Mutations - } - return nil -} - -func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference { - if x != nil { - return x.ExternalMutations - } - return nil -} - -func (x *SyncdPatch) GetSnapshotMac() []byte { - if x != nil { - return x.SnapshotMac - } - return nil -} - -func (x *SyncdPatch) GetPatchMac() []byte { - if x != nil { - return x.PatchMac - } - return nil -} - -func (x *SyncdPatch) GetKeyId() *KeyId { - if x != nil { - return x.KeyId - } - return nil -} - -func (x *SyncdPatch) GetExitCode() *ExitCode { - if x != nil { - return x.ExitCode - } - return nil -} - -func (x *SyncdPatch) GetDeviceIndex() uint32 { - if x != nil && x.DeviceIndex != nil { - return *x.DeviceIndex - } - return 0 -} - -func (x *SyncdPatch) GetClientDebugData() []byte { - if x != nil { - return x.ClientDebugData - } - return nil -} - -type SyncdMutations struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations" json:"mutations,omitempty"` -} - -func (x *SyncdMutations) Reset() { - *x = SyncdMutations{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdMutations) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdMutations) ProtoMessage() {} - -func (x *SyncdMutations) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[122] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead. -func (*SyncdMutations) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{122} -} - -func (x *SyncdMutations) GetMutations() []*SyncdMutation { - if x != nil { - return x.Mutations - } - return nil -} - -type SyncdMutation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=proto.SyncdMutation_SyncdOperation" json:"operation,omitempty"` - Record *SyncdRecord `protobuf:"bytes,2,opt,name=record" json:"record,omitempty"` -} - -func (x *SyncdMutation) Reset() { - *x = SyncdMutation{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdMutation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdMutation) ProtoMessage() {} - -func (x *SyncdMutation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[123] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead. -func (*SyncdMutation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{123} -} - -func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { - if x != nil && x.Operation != nil { - return *x.Operation - } - return SyncdMutation_SET -} - -func (x *SyncdMutation) GetRecord() *SyncdRecord { - if x != nil { - return x.Record - } - return nil -} - -type SyncdIndex struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"` -} - -func (x *SyncdIndex) Reset() { - *x = SyncdIndex{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[124] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncdIndex) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncdIndex) ProtoMessage() {} - -func (x *SyncdIndex) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[124] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead. -func (*SyncdIndex) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{124} -} - -func (x *SyncdIndex) GetBlob() []byte { - if x != nil { - return x.Blob - } - return nil -} - -type KeyId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` -} - -func (x *KeyId) Reset() { - *x = KeyId{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyId) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyId) ProtoMessage() {} - -func (x *KeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[125] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeyId.ProtoReflect.Descriptor instead. -func (*KeyId) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{125} -} - -func (x *KeyId) GetId() []byte { - if x != nil { - return x.Id - } - return nil -} - -type ExternalBlobReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"` - DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"` - Handle *string `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"` - FileSizeBytes *uint64 `protobuf:"varint,4,opt,name=fileSizeBytes" json:"fileSizeBytes,omitempty"` - FileSha256 []byte `protobuf:"bytes,5,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,6,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` -} - -func (x *ExternalBlobReference) Reset() { - *x = ExternalBlobReference{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[126] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExternalBlobReference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExternalBlobReference) ProtoMessage() {} - -func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[126] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead. -func (*ExternalBlobReference) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{126} -} - -func (x *ExternalBlobReference) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *ExternalBlobReference) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *ExternalBlobReference) GetHandle() string { - if x != nil && x.Handle != nil { - return *x.Handle - } - return "" -} - -func (x *ExternalBlobReference) GetFileSizeBytes() uint64 { - if x != nil && x.FileSizeBytes != nil { - return *x.FileSizeBytes - } - return 0 -} - -func (x *ExternalBlobReference) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *ExternalBlobReference) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -type ExitCode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code *uint64 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` - Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` -} - -func (x *ExitCode) Reset() { - *x = ExitCode{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[127] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExitCode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExitCode) ProtoMessage() {} - -func (x *ExitCode) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[127] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExitCode.ProtoReflect.Descriptor instead. -func (*ExitCode) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{127} -} - -func (x *ExitCode) GetCode() uint64 { - if x != nil && x.Code != nil { - return *x.Code - } - return 0 -} - -func (x *ExitCode) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -type SyncActionValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` - StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"` - ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"` - MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"` - PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"` - SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"` - PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"` - QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"` - RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"` - LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"` - LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"` - LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"` - ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"` - DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"` - KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"` - MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"` - ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"` - DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"` - UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"` - PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"` - AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"` - AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"` - SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"` - UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"` - TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"` - NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"` - PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"` - StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"` - RemoveRecentStickerAction *RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction" json:"removeRecentStickerAction,omitempty"` - ChatAssignment *ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment" json:"chatAssignment,omitempty"` - ChatAssignmentOpenedStatus *ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus" json:"chatAssignmentOpenedStatus,omitempty"` - PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,omitempty"` - MarketingMessageAction *MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction" json:"marketingMessageAction,omitempty"` - MarketingMessageBroadcastAction *MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction" json:"marketingMessageBroadcastAction,omitempty"` - ExternalWebBetaAction *ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction" json:"externalWebBetaAction,omitempty"` - PrivacySettingRelayAllCalls *PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls" json:"privacySettingRelayAllCalls,omitempty"` - CallLogAction *CallLogAction `protobuf:"bytes,42,opt,name=callLogAction" json:"callLogAction,omitempty"` - StatusPrivacy *StatusPrivacyAction `protobuf:"bytes,44,opt,name=statusPrivacy" json:"statusPrivacy,omitempty"` - BotWelcomeRequestAction *BotWelcomeRequestAction `protobuf:"bytes,45,opt,name=botWelcomeRequestAction" json:"botWelcomeRequestAction,omitempty"` - DeleteIndividualCallLog *DeleteIndividualCallLogAction `protobuf:"bytes,46,opt,name=deleteIndividualCallLog" json:"deleteIndividualCallLog,omitempty"` - LabelReorderingAction *LabelReorderingAction `protobuf:"bytes,47,opt,name=labelReorderingAction" json:"labelReorderingAction,omitempty"` - PaymentInfoAction *PaymentInfoAction `protobuf:"bytes,48,opt,name=paymentInfoAction" json:"paymentInfoAction,omitempty"` - CustomPaymentMethodsAction *CustomPaymentMethodsAction `protobuf:"bytes,49,opt,name=customPaymentMethodsAction" json:"customPaymentMethodsAction,omitempty"` - LockChatAction *LockChatAction `protobuf:"bytes,50,opt,name=lockChatAction" json:"lockChatAction,omitempty"` - ChatLockSettings *ChatLockSettings `protobuf:"bytes,51,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"` - WamoUserIdentifierAction *WamoUserIdentifierAction `protobuf:"bytes,52,opt,name=wamoUserIdentifierAction" json:"wamoUserIdentifierAction,omitempty"` - PrivacySettingDisableLinkPreviewsAction *PrivacySettingDisableLinkPreviewsAction `protobuf:"bytes,53,opt,name=privacySettingDisableLinkPreviewsAction" json:"privacySettingDisableLinkPreviewsAction,omitempty"` - DeviceCapabilities *DeviceCapabilities `protobuf:"bytes,54,opt,name=deviceCapabilities" json:"deviceCapabilities,omitempty"` -} - -func (x *SyncActionValue) Reset() { - *x = SyncActionValue{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[128] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActionValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActionValue) ProtoMessage() {} - -func (x *SyncActionValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[128] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActionValue.ProtoReflect.Descriptor instead. -func (*SyncActionValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{128} -} - -func (x *SyncActionValue) GetTimestamp() int64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *SyncActionValue) GetStarAction() *StarAction { - if x != nil { - return x.StarAction - } - return nil -} - -func (x *SyncActionValue) GetContactAction() *ContactAction { - if x != nil { - return x.ContactAction - } - return nil -} - -func (x *SyncActionValue) GetMuteAction() *MuteAction { - if x != nil { - return x.MuteAction - } - return nil -} - -func (x *SyncActionValue) GetPinAction() *PinAction { - if x != nil { - return x.PinAction - } - return nil -} - -func (x *SyncActionValue) GetSecurityNotificationSetting() *SecurityNotificationSetting { - if x != nil { - return x.SecurityNotificationSetting - } - return nil -} - -func (x *SyncActionValue) GetPushNameSetting() *PushNameSetting { - if x != nil { - return x.PushNameSetting - } - return nil -} - -func (x *SyncActionValue) GetQuickReplyAction() *QuickReplyAction { - if x != nil { - return x.QuickReplyAction - } - return nil -} - -func (x *SyncActionValue) GetRecentEmojiWeightsAction() *RecentEmojiWeightsAction { - if x != nil { - return x.RecentEmojiWeightsAction - } - return nil -} - -func (x *SyncActionValue) GetLabelEditAction() *LabelEditAction { - if x != nil { - return x.LabelEditAction - } - return nil -} - -func (x *SyncActionValue) GetLabelAssociationAction() *LabelAssociationAction { - if x != nil { - return x.LabelAssociationAction - } - return nil -} - -func (x *SyncActionValue) GetLocaleSetting() *LocaleSetting { - if x != nil { - return x.LocaleSetting - } - return nil -} - -func (x *SyncActionValue) GetArchiveChatAction() *ArchiveChatAction { - if x != nil { - return x.ArchiveChatAction - } - return nil -} - -func (x *SyncActionValue) GetDeleteMessageForMeAction() *DeleteMessageForMeAction { - if x != nil { - return x.DeleteMessageForMeAction - } - return nil -} - -func (x *SyncActionValue) GetKeyExpiration() *KeyExpiration { - if x != nil { - return x.KeyExpiration - } - return nil -} - -func (x *SyncActionValue) GetMarkChatAsReadAction() *MarkChatAsReadAction { - if x != nil { - return x.MarkChatAsReadAction - } - return nil -} - -func (x *SyncActionValue) GetClearChatAction() *ClearChatAction { - if x != nil { - return x.ClearChatAction - } - return nil -} - -func (x *SyncActionValue) GetDeleteChatAction() *DeleteChatAction { - if x != nil { - return x.DeleteChatAction - } - return nil -} - -func (x *SyncActionValue) GetUnarchiveChatsSetting() *UnarchiveChatsSetting { - if x != nil { - return x.UnarchiveChatsSetting - } - return nil -} - -func (x *SyncActionValue) GetPrimaryFeature() *PrimaryFeature { - if x != nil { - return x.PrimaryFeature - } - return nil -} - -func (x *SyncActionValue) GetAndroidUnsupportedActions() *AndroidUnsupportedActions { - if x != nil { - return x.AndroidUnsupportedActions - } - return nil -} - -func (x *SyncActionValue) GetAgentAction() *AgentAction { - if x != nil { - return x.AgentAction - } - return nil -} - -func (x *SyncActionValue) GetSubscriptionAction() *SubscriptionAction { - if x != nil { - return x.SubscriptionAction - } - return nil -} - -func (x *SyncActionValue) GetUserStatusMuteAction() *UserStatusMuteAction { - if x != nil { - return x.UserStatusMuteAction - } - return nil -} - -func (x *SyncActionValue) GetTimeFormatAction() *TimeFormatAction { - if x != nil { - return x.TimeFormatAction - } - return nil -} - -func (x *SyncActionValue) GetNuxAction() *NuxAction { - if x != nil { - return x.NuxAction - } - return nil -} - -func (x *SyncActionValue) GetPrimaryVersionAction() *PrimaryVersionAction { - if x != nil { - return x.PrimaryVersionAction - } - return nil -} - -func (x *SyncActionValue) GetStickerAction() *StickerAction { - if x != nil { - return x.StickerAction - } - return nil -} - -func (x *SyncActionValue) GetRemoveRecentStickerAction() *RemoveRecentStickerAction { - if x != nil { - return x.RemoveRecentStickerAction - } - return nil -} - -func (x *SyncActionValue) GetChatAssignment() *ChatAssignmentAction { - if x != nil { - return x.ChatAssignment - } - return nil -} - -func (x *SyncActionValue) GetChatAssignmentOpenedStatus() *ChatAssignmentOpenedStatusAction { - if x != nil { - return x.ChatAssignmentOpenedStatus - } - return nil -} - -func (x *SyncActionValue) GetPnForLidChatAction() *PnForLidChatAction { - if x != nil { - return x.PnForLidChatAction - } - return nil -} - -func (x *SyncActionValue) GetMarketingMessageAction() *MarketingMessageAction { - if x != nil { - return x.MarketingMessageAction - } - return nil -} - -func (x *SyncActionValue) GetMarketingMessageBroadcastAction() *MarketingMessageBroadcastAction { - if x != nil { - return x.MarketingMessageBroadcastAction - } - return nil -} - -func (x *SyncActionValue) GetExternalWebBetaAction() *ExternalWebBetaAction { - if x != nil { - return x.ExternalWebBetaAction - } - return nil -} - -func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *PrivacySettingRelayAllCalls { - if x != nil { - return x.PrivacySettingRelayAllCalls - } - return nil -} - -func (x *SyncActionValue) GetCallLogAction() *CallLogAction { - if x != nil { - return x.CallLogAction - } - return nil -} - -func (x *SyncActionValue) GetStatusPrivacy() *StatusPrivacyAction { - if x != nil { - return x.StatusPrivacy - } - return nil -} - -func (x *SyncActionValue) GetBotWelcomeRequestAction() *BotWelcomeRequestAction { - if x != nil { - return x.BotWelcomeRequestAction - } - return nil -} - -func (x *SyncActionValue) GetDeleteIndividualCallLog() *DeleteIndividualCallLogAction { - if x != nil { - return x.DeleteIndividualCallLog - } - return nil -} - -func (x *SyncActionValue) GetLabelReorderingAction() *LabelReorderingAction { - if x != nil { - return x.LabelReorderingAction - } - return nil -} - -func (x *SyncActionValue) GetPaymentInfoAction() *PaymentInfoAction { - if x != nil { - return x.PaymentInfoAction - } - return nil -} - -func (x *SyncActionValue) GetCustomPaymentMethodsAction() *CustomPaymentMethodsAction { - if x != nil { - return x.CustomPaymentMethodsAction - } - return nil -} - -func (x *SyncActionValue) GetLockChatAction() *LockChatAction { - if x != nil { - return x.LockChatAction - } - return nil -} - -func (x *SyncActionValue) GetChatLockSettings() *ChatLockSettings { - if x != nil { - return x.ChatLockSettings - } - return nil -} - -func (x *SyncActionValue) GetWamoUserIdentifierAction() *WamoUserIdentifierAction { - if x != nil { - return x.WamoUserIdentifierAction - } - return nil -} - -func (x *SyncActionValue) GetPrivacySettingDisableLinkPreviewsAction() *PrivacySettingDisableLinkPreviewsAction { - if x != nil { - return x.PrivacySettingDisableLinkPreviewsAction - } - return nil -} - -func (x *SyncActionValue) GetDeviceCapabilities() *DeviceCapabilities { - if x != nil { - return x.DeviceCapabilities - } - return nil -} - -type WamoUserIdentifierAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Identifier *string `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"` -} - -func (x *WamoUserIdentifierAction) Reset() { - *x = WamoUserIdentifierAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[129] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WamoUserIdentifierAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WamoUserIdentifierAction) ProtoMessage() {} - -func (x *WamoUserIdentifierAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[129] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WamoUserIdentifierAction.ProtoReflect.Descriptor instead. -func (*WamoUserIdentifierAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{129} -} - -func (x *WamoUserIdentifierAction) GetIdentifier() string { - if x != nil && x.Identifier != nil { - return *x.Identifier - } - return "" -} - -type UserStatusMuteAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"` -} - -func (x *UserStatusMuteAction) Reset() { - *x = UserStatusMuteAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[130] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserStatusMuteAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserStatusMuteAction) ProtoMessage() {} - -func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[130] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserStatusMuteAction.ProtoReflect.Descriptor instead. -func (*UserStatusMuteAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{130} -} - -func (x *UserStatusMuteAction) GetMuted() bool { - if x != nil && x.Muted != nil { - return *x.Muted - } - return false -} - -type UnarchiveChatsSetting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UnarchiveChats *bool `protobuf:"varint,1,opt,name=unarchiveChats" json:"unarchiveChats,omitempty"` -} - -func (x *UnarchiveChatsSetting) Reset() { - *x = UnarchiveChatsSetting{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[131] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnarchiveChatsSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnarchiveChatsSetting) ProtoMessage() {} - -func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[131] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnarchiveChatsSetting.ProtoReflect.Descriptor instead. -func (*UnarchiveChatsSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{131} -} - -func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool { - if x != nil && x.UnarchiveChats != nil { - return *x.UnarchiveChats - } - return false -} - -type TimeFormatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsTwentyFourHourFormatEnabled *bool `protobuf:"varint,1,opt,name=isTwentyFourHourFormatEnabled" json:"isTwentyFourHourFormatEnabled,omitempty"` -} - -func (x *TimeFormatAction) Reset() { - *x = TimeFormatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TimeFormatAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TimeFormatAction) ProtoMessage() {} - -func (x *TimeFormatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[132] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TimeFormatAction.ProtoReflect.Descriptor instead. -func (*TimeFormatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{132} -} - -func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool { - if x != nil && x.IsTwentyFourHourFormatEnabled != nil { - return *x.IsTwentyFourHourFormatEnabled - } - return false -} - -type SyncActionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` -} - -func (x *SyncActionMessage) Reset() { - *x = SyncActionMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[133] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActionMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActionMessage) ProtoMessage() {} - -func (x *SyncActionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[133] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActionMessage.ProtoReflect.Descriptor instead. -func (*SyncActionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{133} -} - -func (x *SyncActionMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *SyncActionMessage) GetTimestamp() int64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -type SyncActionMessageRange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastMessageTimestamp *int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp" json:"lastMessageTimestamp,omitempty"` - LastSystemMessageTimestamp *int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp" json:"lastSystemMessageTimestamp,omitempty"` - Messages []*SyncActionMessage `protobuf:"bytes,3,rep,name=messages" json:"messages,omitempty"` -} - -func (x *SyncActionMessageRange) Reset() { - *x = SyncActionMessageRange{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActionMessageRange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActionMessageRange) ProtoMessage() {} - -func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[134] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActionMessageRange.ProtoReflect.Descriptor instead. -func (*SyncActionMessageRange) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{134} -} - -func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 { - if x != nil && x.LastMessageTimestamp != nil { - return *x.LastMessageTimestamp - } - return 0 -} - -func (x *SyncActionMessageRange) GetLastSystemMessageTimestamp() int64 { - if x != nil && x.LastSystemMessageTimestamp != nil { - return *x.LastSystemMessageTimestamp - } - return 0 -} - -func (x *SyncActionMessageRange) GetMessages() []*SyncActionMessage { - if x != nil { - return x.Messages - } - return nil -} - -type SubscriptionAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsDeactivated *bool `protobuf:"varint,1,opt,name=isDeactivated" json:"isDeactivated,omitempty"` - IsAutoRenewing *bool `protobuf:"varint,2,opt,name=isAutoRenewing" json:"isAutoRenewing,omitempty"` - ExpirationDate *int64 `protobuf:"varint,3,opt,name=expirationDate" json:"expirationDate,omitempty"` -} - -func (x *SubscriptionAction) Reset() { - *x = SubscriptionAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[135] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SubscriptionAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SubscriptionAction) ProtoMessage() {} - -func (x *SubscriptionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[135] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SubscriptionAction.ProtoReflect.Descriptor instead. -func (*SubscriptionAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{135} -} - -func (x *SubscriptionAction) GetIsDeactivated() bool { - if x != nil && x.IsDeactivated != nil { - return *x.IsDeactivated - } - return false -} - -func (x *SubscriptionAction) GetIsAutoRenewing() bool { - if x != nil && x.IsAutoRenewing != nil { - return *x.IsAutoRenewing - } - return false -} - -func (x *SubscriptionAction) GetExpirationDate() int64 { - if x != nil && x.ExpirationDate != nil { - return *x.ExpirationDate - } - return 0 -} - -type StickerAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,2,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"` - Mimetype *string `protobuf:"bytes,4,opt,name=mimetype" json:"mimetype,omitempty"` - Height *uint32 `protobuf:"varint,5,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,6,opt,name=width" json:"width,omitempty"` - DirectPath *string `protobuf:"bytes,7,opt,name=directPath" json:"directPath,omitempty"` - FileLength *uint64 `protobuf:"varint,8,opt,name=fileLength" json:"fileLength,omitempty"` - IsFavorite *bool `protobuf:"varint,9,opt,name=isFavorite" json:"isFavorite,omitempty"` - DeviceIdHint *uint32 `protobuf:"varint,10,opt,name=deviceIdHint" json:"deviceIdHint,omitempty"` -} - -func (x *StickerAction) Reset() { - *x = StickerAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[136] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StickerAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StickerAction) ProtoMessage() {} - -func (x *StickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[136] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StickerAction.ProtoReflect.Descriptor instead. -func (*StickerAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136} -} - -func (x *StickerAction) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *StickerAction) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *StickerAction) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *StickerAction) GetMimetype() string { - if x != nil && x.Mimetype != nil { - return *x.Mimetype - } - return "" -} - -func (x *StickerAction) GetHeight() uint32 { - if x != nil && x.Height != nil { - return *x.Height - } - return 0 -} - -func (x *StickerAction) GetWidth() uint32 { - if x != nil && x.Width != nil { - return *x.Width - } - return 0 -} - -func (x *StickerAction) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *StickerAction) GetFileLength() uint64 { - if x != nil && x.FileLength != nil { - return *x.FileLength - } - return 0 -} - -func (x *StickerAction) GetIsFavorite() bool { - if x != nil && x.IsFavorite != nil { - return *x.IsFavorite - } - return false -} - -func (x *StickerAction) GetDeviceIdHint() uint32 { - if x != nil && x.DeviceIdHint != nil { - return *x.DeviceIdHint - } - return 0 -} - -type StatusPrivacyAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Mode *StatusPrivacyAction_StatusDistributionMode `protobuf:"varint,1,opt,name=mode,enum=proto.StatusPrivacyAction_StatusDistributionMode" json:"mode,omitempty"` - UserJid []string `protobuf:"bytes,2,rep,name=userJid" json:"userJid,omitempty"` -} - -func (x *StatusPrivacyAction) Reset() { - *x = StatusPrivacyAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[137] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StatusPrivacyAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StatusPrivacyAction) ProtoMessage() {} - -func (x *StatusPrivacyAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[137] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StatusPrivacyAction.ProtoReflect.Descriptor instead. -func (*StatusPrivacyAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{137} -} - -func (x *StatusPrivacyAction) GetMode() StatusPrivacyAction_StatusDistributionMode { - if x != nil && x.Mode != nil { - return *x.Mode - } - return StatusPrivacyAction_ALLOW_LIST -} - -func (x *StatusPrivacyAction) GetUserJid() []string { - if x != nil { - return x.UserJid - } - return nil -} - -type StarAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Starred *bool `protobuf:"varint,1,opt,name=starred" json:"starred,omitempty"` -} - -func (x *StarAction) Reset() { - *x = StarAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[138] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StarAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StarAction) ProtoMessage() {} - -func (x *StarAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[138] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StarAction.ProtoReflect.Descriptor instead. -func (*StarAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{138} -} - -func (x *StarAction) GetStarred() bool { - if x != nil && x.Starred != nil { - return *x.Starred - } - return false -} - -type SecurityNotificationSetting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ShowNotification *bool `protobuf:"varint,1,opt,name=showNotification" json:"showNotification,omitempty"` -} - -func (x *SecurityNotificationSetting) Reset() { - *x = SecurityNotificationSetting{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[139] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SecurityNotificationSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SecurityNotificationSetting) ProtoMessage() {} - -func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[139] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SecurityNotificationSetting.ProtoReflect.Descriptor instead. -func (*SecurityNotificationSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{139} -} - -func (x *SecurityNotificationSetting) GetShowNotification() bool { - if x != nil && x.ShowNotification != nil { - return *x.ShowNotification - } - return false -} - -type RemoveRecentStickerAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastStickerSentTs *int64 `protobuf:"varint,1,opt,name=lastStickerSentTs" json:"lastStickerSentTs,omitempty"` -} - -func (x *RemoveRecentStickerAction) Reset() { - *x = RemoveRecentStickerAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[140] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveRecentStickerAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRecentStickerAction) ProtoMessage() {} - -func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[140] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveRecentStickerAction.ProtoReflect.Descriptor instead. -func (*RemoveRecentStickerAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{140} -} - -func (x *RemoveRecentStickerAction) GetLastStickerSentTs() int64 { - if x != nil && x.LastStickerSentTs != nil { - return *x.LastStickerSentTs - } - return 0 -} - -type RecentEmojiWeightsAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Weights []*RecentEmojiWeight `protobuf:"bytes,1,rep,name=weights" json:"weights,omitempty"` -} - -func (x *RecentEmojiWeightsAction) Reset() { - *x = RecentEmojiWeightsAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[141] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RecentEmojiWeightsAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecentEmojiWeightsAction) ProtoMessage() {} - -func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[141] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecentEmojiWeightsAction.ProtoReflect.Descriptor instead. -func (*RecentEmojiWeightsAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{141} -} - -func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight { - if x != nil { - return x.Weights - } - return nil -} - -type QuickReplyAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Shortcut *string `protobuf:"bytes,1,opt,name=shortcut" json:"shortcut,omitempty"` - Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` - Keywords []string `protobuf:"bytes,3,rep,name=keywords" json:"keywords,omitempty"` - Count *int32 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"` - Deleted *bool `protobuf:"varint,5,opt,name=deleted" json:"deleted,omitempty"` -} - -func (x *QuickReplyAction) Reset() { - *x = QuickReplyAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[142] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QuickReplyAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QuickReplyAction) ProtoMessage() {} - -func (x *QuickReplyAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[142] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QuickReplyAction.ProtoReflect.Descriptor instead. -func (*QuickReplyAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{142} -} - -func (x *QuickReplyAction) GetShortcut() string { - if x != nil && x.Shortcut != nil { - return *x.Shortcut - } - return "" -} - -func (x *QuickReplyAction) GetMessage() string { - if x != nil && x.Message != nil { - return *x.Message - } - return "" -} - -func (x *QuickReplyAction) GetKeywords() []string { - if x != nil { - return x.Keywords - } - return nil -} - -func (x *QuickReplyAction) GetCount() int32 { - if x != nil && x.Count != nil { - return *x.Count - } - return 0 -} - -func (x *QuickReplyAction) GetDeleted() bool { - if x != nil && x.Deleted != nil { - return *x.Deleted - } - return false -} - -type PushNameSetting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` -} - -func (x *PushNameSetting) Reset() { - *x = PushNameSetting{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[143] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PushNameSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PushNameSetting) ProtoMessage() {} - -func (x *PushNameSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[143] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PushNameSetting.ProtoReflect.Descriptor instead. -func (*PushNameSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143} -} - -func (x *PushNameSetting) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -type PrivacySettingRelayAllCalls struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsEnabled *bool `protobuf:"varint,1,opt,name=isEnabled" json:"isEnabled,omitempty"` -} - -func (x *PrivacySettingRelayAllCalls) Reset() { - *x = PrivacySettingRelayAllCalls{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[144] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PrivacySettingRelayAllCalls) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrivacySettingRelayAllCalls) ProtoMessage() {} - -func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[144] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead. -func (*PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{144} -} - -func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool { - if x != nil && x.IsEnabled != nil { - return *x.IsEnabled - } - return false -} - -type PrivacySettingDisableLinkPreviewsAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsPreviewsDisabled *bool `protobuf:"varint,1,opt,name=isPreviewsDisabled" json:"isPreviewsDisabled,omitempty"` -} - -func (x *PrivacySettingDisableLinkPreviewsAction) Reset() { - *x = PrivacySettingDisableLinkPreviewsAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[145] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PrivacySettingDisableLinkPreviewsAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrivacySettingDisableLinkPreviewsAction) ProtoMessage() {} - -func (x *PrivacySettingDisableLinkPreviewsAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[145] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PrivacySettingDisableLinkPreviewsAction.ProtoReflect.Descriptor instead. -func (*PrivacySettingDisableLinkPreviewsAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{145} -} - -func (x *PrivacySettingDisableLinkPreviewsAction) GetIsPreviewsDisabled() bool { - if x != nil && x.IsPreviewsDisabled != nil { - return *x.IsPreviewsDisabled - } - return false -} - -type PrimaryVersionAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` -} - -func (x *PrimaryVersionAction) Reset() { - *x = PrimaryVersionAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[146] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PrimaryVersionAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrimaryVersionAction) ProtoMessage() {} - -func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[146] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PrimaryVersionAction.ProtoReflect.Descriptor instead. -func (*PrimaryVersionAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{146} -} - -func (x *PrimaryVersionAction) GetVersion() string { - if x != nil && x.Version != nil { - return *x.Version - } - return "" -} - -type PrimaryFeature struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Flags []string `protobuf:"bytes,1,rep,name=flags" json:"flags,omitempty"` -} - -func (x *PrimaryFeature) Reset() { - *x = PrimaryFeature{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[147] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PrimaryFeature) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrimaryFeature) ProtoMessage() {} - -func (x *PrimaryFeature) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[147] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PrimaryFeature.ProtoReflect.Descriptor instead. -func (*PrimaryFeature) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{147} -} - -func (x *PrimaryFeature) GetFlags() []string { - if x != nil { - return x.Flags - } - return nil -} - -type PnForLidChatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PnJid *string `protobuf:"bytes,1,opt,name=pnJid" json:"pnJid,omitempty"` -} - -func (x *PnForLidChatAction) Reset() { - *x = PnForLidChatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[148] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PnForLidChatAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PnForLidChatAction) ProtoMessage() {} - -func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[148] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PnForLidChatAction.ProtoReflect.Descriptor instead. -func (*PnForLidChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{148} -} - -func (x *PnForLidChatAction) GetPnJid() string { - if x != nil && x.PnJid != nil { - return *x.PnJid - } - return "" -} - -type PinAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Pinned *bool `protobuf:"varint,1,opt,name=pinned" json:"pinned,omitempty"` -} - -func (x *PinAction) Reset() { - *x = PinAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[149] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PinAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PinAction) ProtoMessage() {} - -func (x *PinAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[149] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PinAction.ProtoReflect.Descriptor instead. -func (*PinAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{149} -} - -func (x *PinAction) GetPinned() bool { - if x != nil && x.Pinned != nil { - return *x.Pinned - } - return false -} - -type PaymentInfoAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cpi *string `protobuf:"bytes,1,opt,name=cpi" json:"cpi,omitempty"` -} - -func (x *PaymentInfoAction) Reset() { - *x = PaymentInfoAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[150] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaymentInfoAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaymentInfoAction) ProtoMessage() {} - -func (x *PaymentInfoAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[150] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaymentInfoAction.ProtoReflect.Descriptor instead. -func (*PaymentInfoAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{150} -} - -func (x *PaymentInfoAction) GetCpi() string { - if x != nil && x.Cpi != nil { - return *x.Cpi - } - return "" -} - -type NuxAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Acknowledged *bool `protobuf:"varint,1,opt,name=acknowledged" json:"acknowledged,omitempty"` -} - -func (x *NuxAction) Reset() { - *x = NuxAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[151] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NuxAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NuxAction) ProtoMessage() {} - -func (x *NuxAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[151] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NuxAction.ProtoReflect.Descriptor instead. -func (*NuxAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{151} -} - -func (x *NuxAction) GetAcknowledged() bool { - if x != nil && x.Acknowledged != nil { - return *x.Acknowledged - } - return false -} - -type MuteAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Muted *bool `protobuf:"varint,1,opt,name=muted" json:"muted,omitempty"` - MuteEndTimestamp *int64 `protobuf:"varint,2,opt,name=muteEndTimestamp" json:"muteEndTimestamp,omitempty"` - AutoMuted *bool `protobuf:"varint,3,opt,name=autoMuted" json:"autoMuted,omitempty"` -} - -func (x *MuteAction) Reset() { - *x = MuteAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[152] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MuteAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MuteAction) ProtoMessage() {} - -func (x *MuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[152] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MuteAction.ProtoReflect.Descriptor instead. -func (*MuteAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{152} -} - -func (x *MuteAction) GetMuted() bool { - if x != nil && x.Muted != nil { - return *x.Muted - } - return false -} - -func (x *MuteAction) GetMuteEndTimestamp() int64 { - if x != nil && x.MuteEndTimestamp != nil { - return *x.MuteEndTimestamp - } - return 0 -} - -func (x *MuteAction) GetAutoMuted() bool { - if x != nil && x.AutoMuted != nil { - return *x.AutoMuted - } - return false -} - -type MarketingMessageBroadcastAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RepliedCount *int32 `protobuf:"varint,1,opt,name=repliedCount" json:"repliedCount,omitempty"` -} - -func (x *MarketingMessageBroadcastAction) Reset() { - *x = MarketingMessageBroadcastAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[153] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarketingMessageBroadcastAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarketingMessageBroadcastAction) ProtoMessage() {} - -func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[153] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead. -func (*MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{153} -} - -func (x *MarketingMessageBroadcastAction) GetRepliedCount() int32 { - if x != nil && x.RepliedCount != nil { - return *x.RepliedCount - } - return 0 -} - -type MarketingMessageAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` - Type *MarketingMessageAction_MarketingMessagePrototypeType `protobuf:"varint,3,opt,name=type,enum=proto.MarketingMessageAction_MarketingMessagePrototypeType" json:"type,omitempty"` - CreatedAt *int64 `protobuf:"varint,4,opt,name=createdAt" json:"createdAt,omitempty"` - LastSentAt *int64 `protobuf:"varint,5,opt,name=lastSentAt" json:"lastSentAt,omitempty"` - IsDeleted *bool `protobuf:"varint,6,opt,name=isDeleted" json:"isDeleted,omitempty"` - MediaId *string `protobuf:"bytes,7,opt,name=mediaId" json:"mediaId,omitempty"` -} - -func (x *MarketingMessageAction) Reset() { - *x = MarketingMessageAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[154] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarketingMessageAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarketingMessageAction) ProtoMessage() {} - -func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[154] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarketingMessageAction.ProtoReflect.Descriptor instead. -func (*MarketingMessageAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154} -} - -func (x *MarketingMessageAction) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *MarketingMessageAction) GetMessage() string { - if x != nil && x.Message != nil { - return *x.Message - } - return "" -} - -func (x *MarketingMessageAction) GetType() MarketingMessageAction_MarketingMessagePrototypeType { - if x != nil && x.Type != nil { - return *x.Type - } - return MarketingMessageAction_PERSONALIZED -} - -func (x *MarketingMessageAction) GetCreatedAt() int64 { - if x != nil && x.CreatedAt != nil { - return *x.CreatedAt - } - return 0 -} - -func (x *MarketingMessageAction) GetLastSentAt() int64 { - if x != nil && x.LastSentAt != nil { - return *x.LastSentAt - } - return 0 -} - -func (x *MarketingMessageAction) GetIsDeleted() bool { - if x != nil && x.IsDeleted != nil { - return *x.IsDeleted - } - return false -} - -func (x *MarketingMessageAction) GetMediaId() string { - if x != nil && x.MediaId != nil { - return *x.MediaId - } - return "" -} - -type MarkChatAsReadAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Read *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"` - MessageRange *SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange" json:"messageRange,omitempty"` -} - -func (x *MarkChatAsReadAction) Reset() { - *x = MarkChatAsReadAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[155] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarkChatAsReadAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarkChatAsReadAction) ProtoMessage() {} - -func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[155] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarkChatAsReadAction.ProtoReflect.Descriptor instead. -func (*MarkChatAsReadAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{155} -} - -func (x *MarkChatAsReadAction) GetRead() bool { - if x != nil && x.Read != nil { - return *x.Read - } - return false -} - -func (x *MarkChatAsReadAction) GetMessageRange() *SyncActionMessageRange { - if x != nil { - return x.MessageRange - } - return nil -} - -type LockChatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Locked *bool `protobuf:"varint,1,opt,name=locked" json:"locked,omitempty"` -} - -func (x *LockChatAction) Reset() { - *x = LockChatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[156] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LockChatAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LockChatAction) ProtoMessage() {} - -func (x *LockChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[156] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LockChatAction.ProtoReflect.Descriptor instead. -func (*LockChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{156} -} - -func (x *LockChatAction) GetLocked() bool { - if x != nil && x.Locked != nil { - return *x.Locked - } - return false -} - -type LocaleSetting struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Locale *string `protobuf:"bytes,1,opt,name=locale" json:"locale,omitempty"` -} - -func (x *LocaleSetting) Reset() { - *x = LocaleSetting{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[157] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocaleSetting) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocaleSetting) ProtoMessage() {} - -func (x *LocaleSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[157] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocaleSetting.ProtoReflect.Descriptor instead. -func (*LocaleSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{157} -} - -func (x *LocaleSetting) GetLocale() string { - if x != nil && x.Locale != nil { - return *x.Locale - } - return "" -} - -type LabelReorderingAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SortedLabelIds []int32 `protobuf:"varint,1,rep,name=sortedLabelIds" json:"sortedLabelIds,omitempty"` -} - -func (x *LabelReorderingAction) Reset() { - *x = LabelReorderingAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[158] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LabelReorderingAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LabelReorderingAction) ProtoMessage() {} - -func (x *LabelReorderingAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[158] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LabelReorderingAction.ProtoReflect.Descriptor instead. -func (*LabelReorderingAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{158} -} - -func (x *LabelReorderingAction) GetSortedLabelIds() []int32 { - if x != nil { - return x.SortedLabelIds - } - return nil -} - -type LabelEditAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Color *int32 `protobuf:"varint,2,opt,name=color" json:"color,omitempty"` - PredefinedId *int32 `protobuf:"varint,3,opt,name=predefinedId" json:"predefinedId,omitempty"` - Deleted *bool `protobuf:"varint,4,opt,name=deleted" json:"deleted,omitempty"` - OrderIndex *int32 `protobuf:"varint,5,opt,name=orderIndex" json:"orderIndex,omitempty"` -} - -func (x *LabelEditAction) Reset() { - *x = LabelEditAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[159] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LabelEditAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LabelEditAction) ProtoMessage() {} - -func (x *LabelEditAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[159] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LabelEditAction.ProtoReflect.Descriptor instead. -func (*LabelEditAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{159} -} - -func (x *LabelEditAction) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *LabelEditAction) GetColor() int32 { - if x != nil && x.Color != nil { - return *x.Color - } - return 0 -} - -func (x *LabelEditAction) GetPredefinedId() int32 { - if x != nil && x.PredefinedId != nil { - return *x.PredefinedId - } - return 0 -} - -func (x *LabelEditAction) GetDeleted() bool { - if x != nil && x.Deleted != nil { - return *x.Deleted - } - return false -} - -func (x *LabelEditAction) GetOrderIndex() int32 { - if x != nil && x.OrderIndex != nil { - return *x.OrderIndex - } - return 0 -} - -type LabelAssociationAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Labeled *bool `protobuf:"varint,1,opt,name=labeled" json:"labeled,omitempty"` -} - -func (x *LabelAssociationAction) Reset() { - *x = LabelAssociationAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[160] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LabelAssociationAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LabelAssociationAction) ProtoMessage() {} - -func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[160] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LabelAssociationAction.ProtoReflect.Descriptor instead. -func (*LabelAssociationAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{160} -} - -func (x *LabelAssociationAction) GetLabeled() bool { - if x != nil && x.Labeled != nil { - return *x.Labeled - } - return false -} - -type KeyExpiration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExpiredKeyEpoch *int32 `protobuf:"varint,1,opt,name=expiredKeyEpoch" json:"expiredKeyEpoch,omitempty"` -} - -func (x *KeyExpiration) Reset() { - *x = KeyExpiration{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[161] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyExpiration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyExpiration) ProtoMessage() {} - -func (x *KeyExpiration) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[161] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeyExpiration.ProtoReflect.Descriptor instead. -func (*KeyExpiration) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161} -} - -func (x *KeyExpiration) GetExpiredKeyEpoch() int32 { - if x != nil && x.ExpiredKeyEpoch != nil { - return *x.ExpiredKeyEpoch - } - return 0 -} - -type ExternalWebBetaAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsOptIn *bool `protobuf:"varint,1,opt,name=isOptIn" json:"isOptIn,omitempty"` -} - -func (x *ExternalWebBetaAction) Reset() { - *x = ExternalWebBetaAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[162] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExternalWebBetaAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExternalWebBetaAction) ProtoMessage() {} - -func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[162] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExternalWebBetaAction.ProtoReflect.Descriptor instead. -func (*ExternalWebBetaAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{162} -} - -func (x *ExternalWebBetaAction) GetIsOptIn() bool { - if x != nil && x.IsOptIn != nil { - return *x.IsOptIn - } - return false -} - -type DeleteMessageForMeAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DeleteMedia *bool `protobuf:"varint,1,opt,name=deleteMedia" json:"deleteMedia,omitempty"` - MessageTimestamp *int64 `protobuf:"varint,2,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"` -} - -func (x *DeleteMessageForMeAction) Reset() { - *x = DeleteMessageForMeAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[163] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteMessageForMeAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteMessageForMeAction) ProtoMessage() {} - -func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[163] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteMessageForMeAction.ProtoReflect.Descriptor instead. -func (*DeleteMessageForMeAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{163} -} - -func (x *DeleteMessageForMeAction) GetDeleteMedia() bool { - if x != nil && x.DeleteMedia != nil { - return *x.DeleteMedia - } - return false -} - -func (x *DeleteMessageForMeAction) GetMessageTimestamp() int64 { - if x != nil && x.MessageTimestamp != nil { - return *x.MessageTimestamp - } - return 0 -} - -type DeleteIndividualCallLogAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PeerJid *string `protobuf:"bytes,1,opt,name=peerJid" json:"peerJid,omitempty"` - IsIncoming *bool `protobuf:"varint,2,opt,name=isIncoming" json:"isIncoming,omitempty"` -} - -func (x *DeleteIndividualCallLogAction) Reset() { - *x = DeleteIndividualCallLogAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[164] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteIndividualCallLogAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteIndividualCallLogAction) ProtoMessage() {} - -func (x *DeleteIndividualCallLogAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[164] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteIndividualCallLogAction.ProtoReflect.Descriptor instead. -func (*DeleteIndividualCallLogAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{164} -} - -func (x *DeleteIndividualCallLogAction) GetPeerJid() string { - if x != nil && x.PeerJid != nil { - return *x.PeerJid - } - return "" -} - -func (x *DeleteIndividualCallLogAction) GetIsIncoming() bool { - if x != nil && x.IsIncoming != nil { - return *x.IsIncoming - } - return false -} - -type DeleteChatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageRange *SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"` -} - -func (x *DeleteChatAction) Reset() { - *x = DeleteChatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[165] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteChatAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteChatAction) ProtoMessage() {} - -func (x *DeleteChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[165] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteChatAction.ProtoReflect.Descriptor instead. -func (*DeleteChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{165} -} - -func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange { - if x != nil { - return x.MessageRange - } - return nil -} - -type CustomPaymentMethodsAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CustomPaymentMethods []*CustomPaymentMethod `protobuf:"bytes,1,rep,name=customPaymentMethods" json:"customPaymentMethods,omitempty"` -} - -func (x *CustomPaymentMethodsAction) Reset() { - *x = CustomPaymentMethodsAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[166] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomPaymentMethodsAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomPaymentMethodsAction) ProtoMessage() {} - -func (x *CustomPaymentMethodsAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[166] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CustomPaymentMethodsAction.ProtoReflect.Descriptor instead. -func (*CustomPaymentMethodsAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{166} -} - -func (x *CustomPaymentMethodsAction) GetCustomPaymentMethods() []*CustomPaymentMethod { - if x != nil { - return x.CustomPaymentMethods - } - return nil -} - -type CustomPaymentMethod struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CredentialId *string `protobuf:"bytes,1,req,name=credentialId" json:"credentialId,omitempty"` - Country *string `protobuf:"bytes,2,req,name=country" json:"country,omitempty"` - Type *string `protobuf:"bytes,3,req,name=type" json:"type,omitempty"` - Metadata []*CustomPaymentMethodMetadata `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty"` -} - -func (x *CustomPaymentMethod) Reset() { - *x = CustomPaymentMethod{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[167] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomPaymentMethod) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomPaymentMethod) ProtoMessage() {} - -func (x *CustomPaymentMethod) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[167] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CustomPaymentMethod.ProtoReflect.Descriptor instead. -func (*CustomPaymentMethod) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{167} -} - -func (x *CustomPaymentMethod) GetCredentialId() string { - if x != nil && x.CredentialId != nil { - return *x.CredentialId - } - return "" -} - -func (x *CustomPaymentMethod) GetCountry() string { - if x != nil && x.Country != nil { - return *x.Country - } - return "" -} - -func (x *CustomPaymentMethod) GetType() string { - if x != nil && x.Type != nil { - return *x.Type - } - return "" -} - -func (x *CustomPaymentMethod) GetMetadata() []*CustomPaymentMethodMetadata { - if x != nil { - return x.Metadata - } - return nil -} - -type CustomPaymentMethodMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` - Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` -} - -func (x *CustomPaymentMethodMetadata) Reset() { - *x = CustomPaymentMethodMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[168] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CustomPaymentMethodMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CustomPaymentMethodMetadata) ProtoMessage() {} - -func (x *CustomPaymentMethodMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[168] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CustomPaymentMethodMetadata.ProtoReflect.Descriptor instead. -func (*CustomPaymentMethodMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{168} -} - -func (x *CustomPaymentMethodMetadata) GetKey() string { - if x != nil && x.Key != nil { - return *x.Key - } - return "" -} - -func (x *CustomPaymentMethodMetadata) GetValue() string { - if x != nil && x.Value != nil { - return *x.Value - } - return "" -} - -type ContactAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FullName *string `protobuf:"bytes,1,opt,name=fullName" json:"fullName,omitempty"` - FirstName *string `protobuf:"bytes,2,opt,name=firstName" json:"firstName,omitempty"` - LidJid *string `protobuf:"bytes,3,opt,name=lidJid" json:"lidJid,omitempty"` - SaveOnPrimaryAddressbook *bool `protobuf:"varint,4,opt,name=saveOnPrimaryAddressbook" json:"saveOnPrimaryAddressbook,omitempty"` -} - -func (x *ContactAction) Reset() { - *x = ContactAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[169] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContactAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContactAction) ProtoMessage() {} - -func (x *ContactAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[169] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContactAction.ProtoReflect.Descriptor instead. -func (*ContactAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{169} -} - -func (x *ContactAction) GetFullName() string { - if x != nil && x.FullName != nil { - return *x.FullName - } - return "" -} - -func (x *ContactAction) GetFirstName() string { - if x != nil && x.FirstName != nil { - return *x.FirstName - } - return "" -} - -func (x *ContactAction) GetLidJid() string { - if x != nil && x.LidJid != nil { - return *x.LidJid - } - return "" -} - -func (x *ContactAction) GetSaveOnPrimaryAddressbook() bool { - if x != nil && x.SaveOnPrimaryAddressbook != nil { - return *x.SaveOnPrimaryAddressbook - } - return false -} - -type ClearChatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageRange *SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"` -} - -func (x *ClearChatAction) Reset() { - *x = ClearChatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[170] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClearChatAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClearChatAction) ProtoMessage() {} - -func (x *ClearChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[170] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClearChatAction.ProtoReflect.Descriptor instead. -func (*ClearChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{170} -} - -func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange { - if x != nil { - return x.MessageRange - } - return nil -} - -type ChatAssignmentOpenedStatusAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChatOpened *bool `protobuf:"varint,1,opt,name=chatOpened" json:"chatOpened,omitempty"` -} - -func (x *ChatAssignmentOpenedStatusAction) Reset() { - *x = ChatAssignmentOpenedStatusAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[171] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChatAssignmentOpenedStatusAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {} - -func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[171] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead. -func (*ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{171} -} - -func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool { - if x != nil && x.ChatOpened != nil { - return *x.ChatOpened - } - return false -} - -type ChatAssignmentAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DeviceAgentID *string `protobuf:"bytes,1,opt,name=deviceAgentID" json:"deviceAgentID,omitempty"` -} - -func (x *ChatAssignmentAction) Reset() { - *x = ChatAssignmentAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[172] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChatAssignmentAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChatAssignmentAction) ProtoMessage() {} - -func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[172] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChatAssignmentAction.ProtoReflect.Descriptor instead. -func (*ChatAssignmentAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{172} -} - -func (x *ChatAssignmentAction) GetDeviceAgentID() string { - if x != nil && x.DeviceAgentID != nil { - return *x.DeviceAgentID - } - return "" -} - -type CallLogAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CallLogRecord *CallLogRecord `protobuf:"bytes,1,opt,name=callLogRecord" json:"callLogRecord,omitempty"` -} - -func (x *CallLogAction) Reset() { - *x = CallLogAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[173] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CallLogAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallLogAction) ProtoMessage() {} - -func (x *CallLogAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[173] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallLogAction.ProtoReflect.Descriptor instead. -func (*CallLogAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{173} -} - -func (x *CallLogAction) GetCallLogRecord() *CallLogRecord { - if x != nil { - return x.CallLogRecord - } - return nil -} - -type BotWelcomeRequestAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsSent *bool `protobuf:"varint,1,opt,name=isSent" json:"isSent,omitempty"` -} - -func (x *BotWelcomeRequestAction) Reset() { - *x = BotWelcomeRequestAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[174] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BotWelcomeRequestAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BotWelcomeRequestAction) ProtoMessage() {} - -func (x *BotWelcomeRequestAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[174] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BotWelcomeRequestAction.ProtoReflect.Descriptor instead. -func (*BotWelcomeRequestAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{174} -} - -func (x *BotWelcomeRequestAction) GetIsSent() bool { - if x != nil && x.IsSent != nil { - return *x.IsSent - } - return false -} - -type ArchiveChatAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Archived *bool `protobuf:"varint,1,opt,name=archived" json:"archived,omitempty"` - MessageRange *SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange" json:"messageRange,omitempty"` -} - -func (x *ArchiveChatAction) Reset() { - *x = ArchiveChatAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[175] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ArchiveChatAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ArchiveChatAction) ProtoMessage() {} - -func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[175] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ArchiveChatAction.ProtoReflect.Descriptor instead. -func (*ArchiveChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{175} -} - -func (x *ArchiveChatAction) GetArchived() bool { - if x != nil && x.Archived != nil { - return *x.Archived - } - return false -} - -func (x *ArchiveChatAction) GetMessageRange() *SyncActionMessageRange { - if x != nil { - return x.MessageRange - } - return nil -} - -type AndroidUnsupportedActions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Allowed *bool `protobuf:"varint,1,opt,name=allowed" json:"allowed,omitempty"` -} - -func (x *AndroidUnsupportedActions) Reset() { - *x = AndroidUnsupportedActions{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[176] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AndroidUnsupportedActions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AndroidUnsupportedActions) ProtoMessage() {} - -func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[176] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AndroidUnsupportedActions.ProtoReflect.Descriptor instead. -func (*AndroidUnsupportedActions) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{176} -} - -func (x *AndroidUnsupportedActions) GetAllowed() bool { - if x != nil && x.Allowed != nil { - return *x.Allowed - } - return false -} - -type AgentAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - DeviceID *int32 `protobuf:"varint,2,opt,name=deviceID" json:"deviceID,omitempty"` - IsDeleted *bool `protobuf:"varint,3,opt,name=isDeleted" json:"isDeleted,omitempty"` -} - -func (x *AgentAction) Reset() { - *x = AgentAction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[177] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AgentAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AgentAction) ProtoMessage() {} - -func (x *AgentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[177] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AgentAction.ProtoReflect.Descriptor instead. -func (*AgentAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{177} -} - -func (x *AgentAction) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *AgentAction) GetDeviceID() int32 { - if x != nil && x.DeviceID != nil { - return *x.DeviceID - } - return 0 -} - -func (x *AgentAction) GetIsDeleted() bool { - if x != nil && x.IsDeleted != nil { - return *x.IsDeleted - } - return false -} - -type SyncActionData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index []byte `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"` - Value *SyncActionValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` - Padding []byte `protobuf:"bytes,3,opt,name=padding" json:"padding,omitempty"` - Version *int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"` -} - -func (x *SyncActionData) Reset() { - *x = SyncActionData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[178] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActionData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActionData) ProtoMessage() {} - -func (x *SyncActionData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[178] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActionData.ProtoReflect.Descriptor instead. -func (*SyncActionData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{178} -} - -func (x *SyncActionData) GetIndex() []byte { - if x != nil { - return x.Index - } - return nil -} - -func (x *SyncActionData) GetValue() *SyncActionValue { - if x != nil { - return x.Value - } - return nil -} - -func (x *SyncActionData) GetPadding() []byte { - if x != nil { - return x.Padding - } - return nil -} - -func (x *SyncActionData) GetVersion() int32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -type RecentEmojiWeight struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Emoji *string `protobuf:"bytes,1,opt,name=emoji" json:"emoji,omitempty"` - Weight *float32 `protobuf:"fixed32,2,opt,name=weight" json:"weight,omitempty"` -} - -func (x *RecentEmojiWeight) Reset() { - *x = RecentEmojiWeight{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[179] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RecentEmojiWeight) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RecentEmojiWeight) ProtoMessage() {} - -func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[179] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RecentEmojiWeight.ProtoReflect.Descriptor instead. -func (*RecentEmojiWeight) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{179} -} - -func (x *RecentEmojiWeight) GetEmoji() string { - if x != nil && x.Emoji != nil { - return *x.Emoji - } - return "" -} - -func (x *RecentEmojiWeight) GetWeight() float32 { - if x != nil && x.Weight != nil { - return *x.Weight - } - return 0 -} - -type PatchDebugData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrentLthash []byte `protobuf:"bytes,1,opt,name=currentLthash" json:"currentLthash,omitempty"` - NewLthash []byte `protobuf:"bytes,2,opt,name=newLthash" json:"newLthash,omitempty"` - PatchVersion []byte `protobuf:"bytes,3,opt,name=patchVersion" json:"patchVersion,omitempty"` - CollectionName []byte `protobuf:"bytes,4,opt,name=collectionName" json:"collectionName,omitempty"` - FirstFourBytesFromAHashOfSnapshotMacKey []byte `protobuf:"bytes,5,opt,name=firstFourBytesFromAHashOfSnapshotMacKey" json:"firstFourBytesFromAHashOfSnapshotMacKey,omitempty"` - NewLthashSubtract []byte `protobuf:"bytes,6,opt,name=newLthashSubtract" json:"newLthashSubtract,omitempty"` - NumberAdd *int32 `protobuf:"varint,7,opt,name=numberAdd" json:"numberAdd,omitempty"` - NumberRemove *int32 `protobuf:"varint,8,opt,name=numberRemove" json:"numberRemove,omitempty"` - NumberOverride *int32 `protobuf:"varint,9,opt,name=numberOverride" json:"numberOverride,omitempty"` - SenderPlatform *PatchDebugData_Platform `protobuf:"varint,10,opt,name=senderPlatform,enum=proto.PatchDebugData_Platform" json:"senderPlatform,omitempty"` - IsSenderPrimary *bool `protobuf:"varint,11,opt,name=isSenderPrimary" json:"isSenderPrimary,omitempty"` -} - -func (x *PatchDebugData) Reset() { - *x = PatchDebugData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[180] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PatchDebugData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PatchDebugData) ProtoMessage() {} - -func (x *PatchDebugData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[180] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PatchDebugData.ProtoReflect.Descriptor instead. -func (*PatchDebugData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{180} -} - -func (x *PatchDebugData) GetCurrentLthash() []byte { - if x != nil { - return x.CurrentLthash - } - return nil -} - -func (x *PatchDebugData) GetNewLthash() []byte { - if x != nil { - return x.NewLthash - } - return nil -} - -func (x *PatchDebugData) GetPatchVersion() []byte { - if x != nil { - return x.PatchVersion - } - return nil -} - -func (x *PatchDebugData) GetCollectionName() []byte { - if x != nil { - return x.CollectionName - } - return nil -} - -func (x *PatchDebugData) GetFirstFourBytesFromAHashOfSnapshotMacKey() []byte { - if x != nil { - return x.FirstFourBytesFromAHashOfSnapshotMacKey - } - return nil -} - -func (x *PatchDebugData) GetNewLthashSubtract() []byte { - if x != nil { - return x.NewLthashSubtract - } - return nil -} - -func (x *PatchDebugData) GetNumberAdd() int32 { - if x != nil && x.NumberAdd != nil { - return *x.NumberAdd - } - return 0 -} - -func (x *PatchDebugData) GetNumberRemove() int32 { - if x != nil && x.NumberRemove != nil { - return *x.NumberRemove - } - return 0 -} - -func (x *PatchDebugData) GetNumberOverride() int32 { - if x != nil && x.NumberOverride != nil { - return *x.NumberOverride - } - return 0 -} - -func (x *PatchDebugData) GetSenderPlatform() PatchDebugData_Platform { - if x != nil && x.SenderPlatform != nil { - return *x.SenderPlatform - } - return PatchDebugData_ANDROID -} - -func (x *PatchDebugData) GetIsSenderPrimary() bool { - if x != nil && x.IsSenderPrimary != nil { - return *x.IsSenderPrimary - } - return false -} - -type CallLogRecord struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CallResult *CallLogRecord_CallResult `protobuf:"varint,1,opt,name=callResult,enum=proto.CallLogRecord_CallResult" json:"callResult,omitempty"` - IsDndMode *bool `protobuf:"varint,2,opt,name=isDndMode" json:"isDndMode,omitempty"` - SilenceReason *CallLogRecord_SilenceReason `protobuf:"varint,3,opt,name=silenceReason,enum=proto.CallLogRecord_SilenceReason" json:"silenceReason,omitempty"` - Duration *int64 `protobuf:"varint,4,opt,name=duration" json:"duration,omitempty"` - StartTime *int64 `protobuf:"varint,5,opt,name=startTime" json:"startTime,omitempty"` - IsIncoming *bool `protobuf:"varint,6,opt,name=isIncoming" json:"isIncoming,omitempty"` - IsVideo *bool `protobuf:"varint,7,opt,name=isVideo" json:"isVideo,omitempty"` - IsCallLink *bool `protobuf:"varint,8,opt,name=isCallLink" json:"isCallLink,omitempty"` - CallLinkToken *string `protobuf:"bytes,9,opt,name=callLinkToken" json:"callLinkToken,omitempty"` - ScheduledCallId *string `protobuf:"bytes,10,opt,name=scheduledCallId" json:"scheduledCallId,omitempty"` - CallId *string `protobuf:"bytes,11,opt,name=callId" json:"callId,omitempty"` - CallCreatorJid *string `protobuf:"bytes,12,opt,name=callCreatorJid" json:"callCreatorJid,omitempty"` - GroupJid *string `protobuf:"bytes,13,opt,name=groupJid" json:"groupJid,omitempty"` - Participants []*CallLogRecord_ParticipantInfo `protobuf:"bytes,14,rep,name=participants" json:"participants,omitempty"` - CallType *CallLogRecord_CallType `protobuf:"varint,15,opt,name=callType,enum=proto.CallLogRecord_CallType" json:"callType,omitempty"` -} - -func (x *CallLogRecord) Reset() { - *x = CallLogRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[181] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CallLogRecord) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallLogRecord) ProtoMessage() {} - -func (x *CallLogRecord) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[181] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallLogRecord.ProtoReflect.Descriptor instead. -func (*CallLogRecord) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{181} -} - -func (x *CallLogRecord) GetCallResult() CallLogRecord_CallResult { - if x != nil && x.CallResult != nil { - return *x.CallResult - } - return CallLogRecord_CONNECTED -} - -func (x *CallLogRecord) GetIsDndMode() bool { - if x != nil && x.IsDndMode != nil { - return *x.IsDndMode - } - return false -} - -func (x *CallLogRecord) GetSilenceReason() CallLogRecord_SilenceReason { - if x != nil && x.SilenceReason != nil { - return *x.SilenceReason - } - return CallLogRecord_NONE -} - -func (x *CallLogRecord) GetDuration() int64 { - if x != nil && x.Duration != nil { - return *x.Duration - } - return 0 -} - -func (x *CallLogRecord) GetStartTime() int64 { - if x != nil && x.StartTime != nil { - return *x.StartTime - } - return 0 -} - -func (x *CallLogRecord) GetIsIncoming() bool { - if x != nil && x.IsIncoming != nil { - return *x.IsIncoming - } - return false -} - -func (x *CallLogRecord) GetIsVideo() bool { - if x != nil && x.IsVideo != nil { - return *x.IsVideo - } - return false -} - -func (x *CallLogRecord) GetIsCallLink() bool { - if x != nil && x.IsCallLink != nil { - return *x.IsCallLink - } - return false -} - -func (x *CallLogRecord) GetCallLinkToken() string { - if x != nil && x.CallLinkToken != nil { - return *x.CallLinkToken - } - return "" -} - -func (x *CallLogRecord) GetScheduledCallId() string { - if x != nil && x.ScheduledCallId != nil { - return *x.ScheduledCallId - } - return "" -} - -func (x *CallLogRecord) GetCallId() string { - if x != nil && x.CallId != nil { - return *x.CallId - } - return "" -} - -func (x *CallLogRecord) GetCallCreatorJid() string { - if x != nil && x.CallCreatorJid != nil { - return *x.CallCreatorJid - } - return "" -} - -func (x *CallLogRecord) GetGroupJid() string { - if x != nil && x.GroupJid != nil { - return *x.GroupJid - } - return "" -} - -func (x *CallLogRecord) GetParticipants() []*CallLogRecord_ParticipantInfo { - if x != nil { - return x.Participants - } - return nil -} - -func (x *CallLogRecord) GetCallType() CallLogRecord_CallType { - if x != nil && x.CallType != nil { - return *x.CallType - } - return CallLogRecord_REGULAR -} - -type VerifiedNameCertificate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` - ServerSignature []byte `protobuf:"bytes,3,opt,name=serverSignature" json:"serverSignature,omitempty"` -} - -func (x *VerifiedNameCertificate) Reset() { - *x = VerifiedNameCertificate{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[182] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VerifiedNameCertificate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VerifiedNameCertificate) ProtoMessage() {} - -func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[182] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VerifiedNameCertificate.ProtoReflect.Descriptor instead. -func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{182} -} - -func (x *VerifiedNameCertificate) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -func (x *VerifiedNameCertificate) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *VerifiedNameCertificate) GetServerSignature() []byte { - if x != nil { - return x.ServerSignature - } - return nil -} - -type LocalizedName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Lg *string `protobuf:"bytes,1,opt,name=lg" json:"lg,omitempty"` - Lc *string `protobuf:"bytes,2,opt,name=lc" json:"lc,omitempty"` - VerifiedName *string `protobuf:"bytes,3,opt,name=verifiedName" json:"verifiedName,omitempty"` -} - -func (x *LocalizedName) Reset() { - *x = LocalizedName{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[183] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalizedName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalizedName) ProtoMessage() {} - -func (x *LocalizedName) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[183] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead. -func (*LocalizedName) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{183} -} - -func (x *LocalizedName) GetLg() string { - if x != nil && x.Lg != nil { - return *x.Lg - } - return "" -} - -func (x *LocalizedName) GetLc() string { - if x != nil && x.Lc != nil { - return *x.Lc - } - return "" -} - -func (x *LocalizedName) GetVerifiedName() string { - if x != nil && x.VerifiedName != nil { - return *x.VerifiedName - } - return "" -} - -type BizIdentityInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Vlevel *BizIdentityInfo_VerifiedLevelValue `protobuf:"varint,1,opt,name=vlevel,enum=proto.BizIdentityInfo_VerifiedLevelValue" json:"vlevel,omitempty"` - VnameCert *VerifiedNameCertificate `protobuf:"bytes,2,opt,name=vnameCert" json:"vnameCert,omitempty"` - Signed *bool `protobuf:"varint,3,opt,name=signed" json:"signed,omitempty"` - Revoked *bool `protobuf:"varint,4,opt,name=revoked" json:"revoked,omitempty"` - HostStorage *BizIdentityInfo_HostStorageType `protobuf:"varint,5,opt,name=hostStorage,enum=proto.BizIdentityInfo_HostStorageType" json:"hostStorage,omitempty"` - ActualActors *BizIdentityInfo_ActualActorsType `protobuf:"varint,6,opt,name=actualActors,enum=proto.BizIdentityInfo_ActualActorsType" json:"actualActors,omitempty"` - PrivacyModeTs *uint64 `protobuf:"varint,7,opt,name=privacyModeTs" json:"privacyModeTs,omitempty"` - FeatureControls *uint64 `protobuf:"varint,8,opt,name=featureControls" json:"featureControls,omitempty"` -} - -func (x *BizIdentityInfo) Reset() { - *x = BizIdentityInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[184] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BizIdentityInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BizIdentityInfo) ProtoMessage() {} - -func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[184] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BizIdentityInfo.ProtoReflect.Descriptor instead. -func (*BizIdentityInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{184} -} - -func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue { - if x != nil && x.Vlevel != nil { - return *x.Vlevel - } - return BizIdentityInfo_UNKNOWN -} - -func (x *BizIdentityInfo) GetVnameCert() *VerifiedNameCertificate { - if x != nil { - return x.VnameCert - } - return nil -} - -func (x *BizIdentityInfo) GetSigned() bool { - if x != nil && x.Signed != nil { - return *x.Signed - } - return false -} - -func (x *BizIdentityInfo) GetRevoked() bool { - if x != nil && x.Revoked != nil { - return *x.Revoked - } - return false -} - -func (x *BizIdentityInfo) GetHostStorage() BizIdentityInfo_HostStorageType { - if x != nil && x.HostStorage != nil { - return *x.HostStorage - } - return BizIdentityInfo_ON_PREMISE -} - -func (x *BizIdentityInfo) GetActualActors() BizIdentityInfo_ActualActorsType { - if x != nil && x.ActualActors != nil { - return *x.ActualActors - } - return BizIdentityInfo_SELF -} - -func (x *BizIdentityInfo) GetPrivacyModeTs() uint64 { - if x != nil && x.PrivacyModeTs != nil { - return *x.PrivacyModeTs - } - return 0 -} - -func (x *BizIdentityInfo) GetFeatureControls() uint64 { - if x != nil && x.FeatureControls != nil { - return *x.FeatureControls - } - return 0 -} - -type BizAccountPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - VnameCert *VerifiedNameCertificate `protobuf:"bytes,1,opt,name=vnameCert" json:"vnameCert,omitempty"` - BizAcctLinkInfo []byte `protobuf:"bytes,2,opt,name=bizAcctLinkInfo" json:"bizAcctLinkInfo,omitempty"` -} - -func (x *BizAccountPayload) Reset() { - *x = BizAccountPayload{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[185] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BizAccountPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BizAccountPayload) ProtoMessage() {} - -func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[185] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BizAccountPayload.ProtoReflect.Descriptor instead. -func (*BizAccountPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{185} -} - -func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate { - if x != nil { - return x.VnameCert - } - return nil -} - -func (x *BizAccountPayload) GetBizAcctLinkInfo() []byte { - if x != nil { - return x.BizAcctLinkInfo - } - return nil -} - -type BizAccountLinkInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WhatsappBizAcctFbid *uint64 `protobuf:"varint,1,opt,name=whatsappBizAcctFbid" json:"whatsappBizAcctFbid,omitempty"` - WhatsappAcctNumber *string `protobuf:"bytes,2,opt,name=whatsappAcctNumber" json:"whatsappAcctNumber,omitempty"` - IssueTime *uint64 `protobuf:"varint,3,opt,name=issueTime" json:"issueTime,omitempty"` - HostStorage *BizAccountLinkInfo_HostStorageType `protobuf:"varint,4,opt,name=hostStorage,enum=proto.BizAccountLinkInfo_HostStorageType" json:"hostStorage,omitempty"` - AccountType *BizAccountLinkInfo_AccountType `protobuf:"varint,5,opt,name=accountType,enum=proto.BizAccountLinkInfo_AccountType" json:"accountType,omitempty"` -} - -func (x *BizAccountLinkInfo) Reset() { - *x = BizAccountLinkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[186] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BizAccountLinkInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BizAccountLinkInfo) ProtoMessage() {} - -func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[186] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead. -func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{186} -} - -func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 { - if x != nil && x.WhatsappBizAcctFbid != nil { - return *x.WhatsappBizAcctFbid - } - return 0 -} - -func (x *BizAccountLinkInfo) GetWhatsappAcctNumber() string { - if x != nil && x.WhatsappAcctNumber != nil { - return *x.WhatsappAcctNumber - } - return "" -} - -func (x *BizAccountLinkInfo) GetIssueTime() uint64 { - if x != nil && x.IssueTime != nil { - return *x.IssueTime - } - return 0 -} - -func (x *BizAccountLinkInfo) GetHostStorage() BizAccountLinkInfo_HostStorageType { - if x != nil && x.HostStorage != nil { - return *x.HostStorage - } - return BizAccountLinkInfo_ON_PREMISE -} - -func (x *BizAccountLinkInfo) GetAccountType() BizAccountLinkInfo_AccountType { - if x != nil && x.AccountType != nil { - return *x.AccountType - } - return BizAccountLinkInfo_ENTERPRISE -} - -type HandshakeMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ClientHello *HandshakeClientHello `protobuf:"bytes,2,opt,name=clientHello" json:"clientHello,omitempty"` - ServerHello *HandshakeServerHello `protobuf:"bytes,3,opt,name=serverHello" json:"serverHello,omitempty"` - ClientFinish *HandshakeClientFinish `protobuf:"bytes,4,opt,name=clientFinish" json:"clientFinish,omitempty"` -} - -func (x *HandshakeMessage) Reset() { - *x = HandshakeMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[187] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HandshakeMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HandshakeMessage) ProtoMessage() {} - -func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[187] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HandshakeMessage.ProtoReflect.Descriptor instead. -func (*HandshakeMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{187} -} - -func (x *HandshakeMessage) GetClientHello() *HandshakeClientHello { - if x != nil { - return x.ClientHello - } - return nil -} - -func (x *HandshakeMessage) GetServerHello() *HandshakeServerHello { - if x != nil { - return x.ServerHello - } - return nil -} - -func (x *HandshakeMessage) GetClientFinish() *HandshakeClientFinish { - if x != nil { - return x.ClientFinish - } - return nil -} - -type HandshakeServerHello struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral" json:"ephemeral,omitempty"` - Static []byte `protobuf:"bytes,2,opt,name=static" json:"static,omitempty"` - Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` -} - -func (x *HandshakeServerHello) Reset() { - *x = HandshakeServerHello{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[188] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HandshakeServerHello) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HandshakeServerHello) ProtoMessage() {} - -func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[188] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HandshakeServerHello.ProtoReflect.Descriptor instead. -func (*HandshakeServerHello) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{188} -} - -func (x *HandshakeServerHello) GetEphemeral() []byte { - if x != nil { - return x.Ephemeral - } - return nil -} - -func (x *HandshakeServerHello) GetStatic() []byte { - if x != nil { - return x.Static - } - return nil -} - -func (x *HandshakeServerHello) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -type HandshakeClientHello struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral" json:"ephemeral,omitempty"` - Static []byte `protobuf:"bytes,2,opt,name=static" json:"static,omitempty"` - Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` -} - -func (x *HandshakeClientHello) Reset() { - *x = HandshakeClientHello{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[189] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HandshakeClientHello) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HandshakeClientHello) ProtoMessage() {} - -func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[189] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HandshakeClientHello.ProtoReflect.Descriptor instead. -func (*HandshakeClientHello) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{189} -} - -func (x *HandshakeClientHello) GetEphemeral() []byte { - if x != nil { - return x.Ephemeral - } - return nil -} - -func (x *HandshakeClientHello) GetStatic() []byte { - if x != nil { - return x.Static - } - return nil -} - -func (x *HandshakeClientHello) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -type HandshakeClientFinish struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Static []byte `protobuf:"bytes,1,opt,name=static" json:"static,omitempty"` - Payload []byte `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` -} - -func (x *HandshakeClientFinish) Reset() { - *x = HandshakeClientFinish{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[190] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HandshakeClientFinish) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HandshakeClientFinish) ProtoMessage() {} - -func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[190] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HandshakeClientFinish.ProtoReflect.Descriptor instead. -func (*HandshakeClientFinish) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{190} -} - -func (x *HandshakeClientFinish) GetStatic() []byte { - if x != nil { - return x.Static - } - return nil -} - -func (x *HandshakeClientFinish) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -type ClientPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Username *uint64 `protobuf:"varint,1,opt,name=username" json:"username,omitempty"` - Passive *bool `protobuf:"varint,3,opt,name=passive" json:"passive,omitempty"` - UserAgent *ClientPayload_UserAgent `protobuf:"bytes,5,opt,name=userAgent" json:"userAgent,omitempty"` - WebInfo *ClientPayload_WebInfo `protobuf:"bytes,6,opt,name=webInfo" json:"webInfo,omitempty"` - PushName *string `protobuf:"bytes,7,opt,name=pushName" json:"pushName,omitempty"` - SessionId *int32 `protobuf:"fixed32,9,opt,name=sessionId" json:"sessionId,omitempty"` - ShortConnect *bool `protobuf:"varint,10,opt,name=shortConnect" json:"shortConnect,omitempty"` - ConnectType *ClientPayload_ConnectType `protobuf:"varint,12,opt,name=connectType,enum=proto.ClientPayload_ConnectType" json:"connectType,omitempty"` - ConnectReason *ClientPayload_ConnectReason `protobuf:"varint,13,opt,name=connectReason,enum=proto.ClientPayload_ConnectReason" json:"connectReason,omitempty"` - Shards []int32 `protobuf:"varint,14,rep,name=shards" json:"shards,omitempty"` - DnsSource *ClientPayload_DNSSource `protobuf:"bytes,15,opt,name=dnsSource" json:"dnsSource,omitempty"` - ConnectAttemptCount *uint32 `protobuf:"varint,16,opt,name=connectAttemptCount" json:"connectAttemptCount,omitempty"` - Device *uint32 `protobuf:"varint,18,opt,name=device" json:"device,omitempty"` - DevicePairingData *ClientPayload_DevicePairingRegistrationData `protobuf:"bytes,19,opt,name=devicePairingData" json:"devicePairingData,omitempty"` - Product *ClientPayload_Product `protobuf:"varint,20,opt,name=product,enum=proto.ClientPayload_Product" json:"product,omitempty"` - FbCat []byte `protobuf:"bytes,21,opt,name=fbCat" json:"fbCat,omitempty"` - FbUserAgent []byte `protobuf:"bytes,22,opt,name=fbUserAgent" json:"fbUserAgent,omitempty"` - Oc *bool `protobuf:"varint,23,opt,name=oc" json:"oc,omitempty"` - Lc *int32 `protobuf:"varint,24,opt,name=lc" json:"lc,omitempty"` - IosAppExtension *ClientPayload_IOSAppExtension `protobuf:"varint,30,opt,name=iosAppExtension,enum=proto.ClientPayload_IOSAppExtension" json:"iosAppExtension,omitempty"` - FbAppId *uint64 `protobuf:"varint,31,opt,name=fbAppId" json:"fbAppId,omitempty"` - FbDeviceId []byte `protobuf:"bytes,32,opt,name=fbDeviceId" json:"fbDeviceId,omitempty"` - Pull *bool `protobuf:"varint,33,opt,name=pull" json:"pull,omitempty"` - PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes" json:"paddingBytes,omitempty"` - YearClass *int32 `protobuf:"varint,36,opt,name=yearClass" json:"yearClass,omitempty"` - MemClass *int32 `protobuf:"varint,37,opt,name=memClass" json:"memClass,omitempty"` - InteropData *ClientPayload_InteropData `protobuf:"bytes,38,opt,name=interopData" json:"interopData,omitempty"` -} - -func (x *ClientPayload) Reset() { - *x = ClientPayload{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[191] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload) ProtoMessage() {} - -func (x *ClientPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[191] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead. -func (*ClientPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191} -} - -func (x *ClientPayload) GetUsername() uint64 { - if x != nil && x.Username != nil { - return *x.Username - } - return 0 -} - -func (x *ClientPayload) GetPassive() bool { - if x != nil && x.Passive != nil { - return *x.Passive - } - return false -} - -func (x *ClientPayload) GetUserAgent() *ClientPayload_UserAgent { - if x != nil { - return x.UserAgent - } - return nil -} - -func (x *ClientPayload) GetWebInfo() *ClientPayload_WebInfo { - if x != nil { - return x.WebInfo - } - return nil -} - -func (x *ClientPayload) GetPushName() string { - if x != nil && x.PushName != nil { - return *x.PushName - } - return "" -} - -func (x *ClientPayload) GetSessionId() int32 { - if x != nil && x.SessionId != nil { - return *x.SessionId - } - return 0 -} - -func (x *ClientPayload) GetShortConnect() bool { - if x != nil && x.ShortConnect != nil { - return *x.ShortConnect - } - return false -} - -func (x *ClientPayload) GetConnectType() ClientPayload_ConnectType { - if x != nil && x.ConnectType != nil { - return *x.ConnectType - } - return ClientPayload_CELLULAR_UNKNOWN -} - -func (x *ClientPayload) GetConnectReason() ClientPayload_ConnectReason { - if x != nil && x.ConnectReason != nil { - return *x.ConnectReason - } - return ClientPayload_PUSH -} - -func (x *ClientPayload) GetShards() []int32 { - if x != nil { - return x.Shards - } - return nil -} - -func (x *ClientPayload) GetDnsSource() *ClientPayload_DNSSource { - if x != nil { - return x.DnsSource - } - return nil -} - -func (x *ClientPayload) GetConnectAttemptCount() uint32 { - if x != nil && x.ConnectAttemptCount != nil { - return *x.ConnectAttemptCount - } - return 0 -} - -func (x *ClientPayload) GetDevice() uint32 { - if x != nil && x.Device != nil { - return *x.Device - } - return 0 -} - -func (x *ClientPayload) GetDevicePairingData() *ClientPayload_DevicePairingRegistrationData { - if x != nil { - return x.DevicePairingData - } - return nil -} - -func (x *ClientPayload) GetProduct() ClientPayload_Product { - if x != nil && x.Product != nil { - return *x.Product - } - return ClientPayload_WHATSAPP -} - -func (x *ClientPayload) GetFbCat() []byte { - if x != nil { - return x.FbCat - } - return nil -} - -func (x *ClientPayload) GetFbUserAgent() []byte { - if x != nil { - return x.FbUserAgent - } - return nil -} - -func (x *ClientPayload) GetOc() bool { - if x != nil && x.Oc != nil { - return *x.Oc - } - return false -} - -func (x *ClientPayload) GetLc() int32 { - if x != nil && x.Lc != nil { - return *x.Lc - } - return 0 -} - -func (x *ClientPayload) GetIosAppExtension() ClientPayload_IOSAppExtension { - if x != nil && x.IosAppExtension != nil { - return *x.IosAppExtension - } - return ClientPayload_SHARE_EXTENSION -} - -func (x *ClientPayload) GetFbAppId() uint64 { - if x != nil && x.FbAppId != nil { - return *x.FbAppId - } - return 0 -} - -func (x *ClientPayload) GetFbDeviceId() []byte { - if x != nil { - return x.FbDeviceId - } - return nil -} - -func (x *ClientPayload) GetPull() bool { - if x != nil && x.Pull != nil { - return *x.Pull - } - return false -} - -func (x *ClientPayload) GetPaddingBytes() []byte { - if x != nil { - return x.PaddingBytes - } - return nil -} - -func (x *ClientPayload) GetYearClass() int32 { - if x != nil && x.YearClass != nil { - return *x.YearClass - } - return 0 -} - -func (x *ClientPayload) GetMemClass() int32 { - if x != nil && x.MemClass != nil { - return *x.MemClass - } - return 0 -} - -func (x *ClientPayload) GetInteropData() *ClientPayload_InteropData { - if x != nil { - return x.InteropData - } - return nil -} - -type WebNotificationsInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` - UnreadChats *uint32 `protobuf:"varint,3,opt,name=unreadChats" json:"unreadChats,omitempty"` - NotifyMessageCount *uint32 `protobuf:"varint,4,opt,name=notifyMessageCount" json:"notifyMessageCount,omitempty"` - NotifyMessages []*WebMessageInfo `protobuf:"bytes,5,rep,name=notifyMessages" json:"notifyMessages,omitempty"` -} - -func (x *WebNotificationsInfo) Reset() { - *x = WebNotificationsInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[192] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WebNotificationsInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WebNotificationsInfo) ProtoMessage() {} - -func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[192] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WebNotificationsInfo.ProtoReflect.Descriptor instead. -func (*WebNotificationsInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{192} -} - -func (x *WebNotificationsInfo) GetTimestamp() uint64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -func (x *WebNotificationsInfo) GetUnreadChats() uint32 { - if x != nil && x.UnreadChats != nil { - return *x.UnreadChats - } - return 0 -} - -func (x *WebNotificationsInfo) GetNotifyMessageCount() uint32 { - if x != nil && x.NotifyMessageCount != nil { - return *x.NotifyMessageCount - } - return 0 -} - -func (x *WebNotificationsInfo) GetNotifyMessages() []*WebMessageInfo { - if x != nil { - return x.NotifyMessages - } - return nil -} - -type WebMessageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` - Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` - MessageTimestamp *uint64 `protobuf:"varint,3,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"` - Status *WebMessageInfo_Status `protobuf:"varint,4,opt,name=status,enum=proto.WebMessageInfo_Status" json:"status,omitempty"` - Participant *string `protobuf:"bytes,5,opt,name=participant" json:"participant,omitempty"` - MessageC2STimestamp *uint64 `protobuf:"varint,6,opt,name=messageC2STimestamp" json:"messageC2STimestamp,omitempty"` - Ignore *bool `protobuf:"varint,16,opt,name=ignore" json:"ignore,omitempty"` - Starred *bool `protobuf:"varint,17,opt,name=starred" json:"starred,omitempty"` - Broadcast *bool `protobuf:"varint,18,opt,name=broadcast" json:"broadcast,omitempty"` - PushName *string `protobuf:"bytes,19,opt,name=pushName" json:"pushName,omitempty"` - MediaCiphertextSha256 []byte `protobuf:"bytes,20,opt,name=mediaCiphertextSha256" json:"mediaCiphertextSha256,omitempty"` - Multicast *bool `protobuf:"varint,21,opt,name=multicast" json:"multicast,omitempty"` - UrlText *bool `protobuf:"varint,22,opt,name=urlText" json:"urlText,omitempty"` - UrlNumber *bool `protobuf:"varint,23,opt,name=urlNumber" json:"urlNumber,omitempty"` - MessageStubType *WebMessageInfo_StubType `protobuf:"varint,24,opt,name=messageStubType,enum=proto.WebMessageInfo_StubType" json:"messageStubType,omitempty"` - ClearMedia *bool `protobuf:"varint,25,opt,name=clearMedia" json:"clearMedia,omitempty"` - MessageStubParameters []string `protobuf:"bytes,26,rep,name=messageStubParameters" json:"messageStubParameters,omitempty"` - Duration *uint32 `protobuf:"varint,27,opt,name=duration" json:"duration,omitempty"` - Labels []string `protobuf:"bytes,28,rep,name=labels" json:"labels,omitempty"` - PaymentInfo *PaymentInfo `protobuf:"bytes,29,opt,name=paymentInfo" json:"paymentInfo,omitempty"` - FinalLiveLocation *LiveLocationMessage `protobuf:"bytes,30,opt,name=finalLiveLocation" json:"finalLiveLocation,omitempty"` - QuotedPaymentInfo *PaymentInfo `protobuf:"bytes,31,opt,name=quotedPaymentInfo" json:"quotedPaymentInfo,omitempty"` - EphemeralStartTimestamp *uint64 `protobuf:"varint,32,opt,name=ephemeralStartTimestamp" json:"ephemeralStartTimestamp,omitempty"` - EphemeralDuration *uint32 `protobuf:"varint,33,opt,name=ephemeralDuration" json:"ephemeralDuration,omitempty"` - EphemeralOffToOn *bool `protobuf:"varint,34,opt,name=ephemeralOffToOn" json:"ephemeralOffToOn,omitempty"` - EphemeralOutOfSync *bool `protobuf:"varint,35,opt,name=ephemeralOutOfSync" json:"ephemeralOutOfSync,omitempty"` - BizPrivacyStatus *WebMessageInfo_BizPrivacyStatus `protobuf:"varint,36,opt,name=bizPrivacyStatus,enum=proto.WebMessageInfo_BizPrivacyStatus" json:"bizPrivacyStatus,omitempty"` - VerifiedBizName *string `protobuf:"bytes,37,opt,name=verifiedBizName" json:"verifiedBizName,omitempty"` - MediaData *MediaData `protobuf:"bytes,38,opt,name=mediaData" json:"mediaData,omitempty"` - PhotoChange *PhotoChange `protobuf:"bytes,39,opt,name=photoChange" json:"photoChange,omitempty"` - UserReceipt []*UserReceipt `protobuf:"bytes,40,rep,name=userReceipt" json:"userReceipt,omitempty"` - Reactions []*Reaction `protobuf:"bytes,41,rep,name=reactions" json:"reactions,omitempty"` - QuotedStickerData *MediaData `protobuf:"bytes,42,opt,name=quotedStickerData" json:"quotedStickerData,omitempty"` - FutureproofData []byte `protobuf:"bytes,43,opt,name=futureproofData" json:"futureproofData,omitempty"` - StatusPsa *StatusPSA `protobuf:"bytes,44,opt,name=statusPsa" json:"statusPsa,omitempty"` - PollUpdates []*PollUpdate `protobuf:"bytes,45,rep,name=pollUpdates" json:"pollUpdates,omitempty"` - PollAdditionalMetadata *PollAdditionalMetadata `protobuf:"bytes,46,opt,name=pollAdditionalMetadata" json:"pollAdditionalMetadata,omitempty"` - AgentId *string `protobuf:"bytes,47,opt,name=agentId" json:"agentId,omitempty"` - StatusAlreadyViewed *bool `protobuf:"varint,48,opt,name=statusAlreadyViewed" json:"statusAlreadyViewed,omitempty"` - MessageSecret []byte `protobuf:"bytes,49,opt,name=messageSecret" json:"messageSecret,omitempty"` - KeepInChat *KeepInChat `protobuf:"bytes,50,opt,name=keepInChat" json:"keepInChat,omitempty"` - OriginalSelfAuthorUserJidString *string `protobuf:"bytes,51,opt,name=originalSelfAuthorUserJidString" json:"originalSelfAuthorUserJidString,omitempty"` - RevokeMessageTimestamp *uint64 `protobuf:"varint,52,opt,name=revokeMessageTimestamp" json:"revokeMessageTimestamp,omitempty"` - PinInChat *PinInChat `protobuf:"bytes,54,opt,name=pinInChat" json:"pinInChat,omitempty"` - PremiumMessageInfo *PremiumMessageInfo `protobuf:"bytes,55,opt,name=premiumMessageInfo" json:"premiumMessageInfo,omitempty"` - Is1PBizBotMessage *bool `protobuf:"varint,56,opt,name=is1PBizBotMessage" json:"is1PBizBotMessage,omitempty"` - IsGroupHistoryMessage *bool `protobuf:"varint,57,opt,name=isGroupHistoryMessage" json:"isGroupHistoryMessage,omitempty"` - BotMessageInvokerJid *string `protobuf:"bytes,58,opt,name=botMessageInvokerJid" json:"botMessageInvokerJid,omitempty"` - CommentMetadata *CommentMetadata `protobuf:"bytes,59,opt,name=commentMetadata" json:"commentMetadata,omitempty"` - EventResponses []*EventResponse `protobuf:"bytes,61,rep,name=eventResponses" json:"eventResponses,omitempty"` - ReportingTokenInfo *ReportingTokenInfo `protobuf:"bytes,62,opt,name=reportingTokenInfo" json:"reportingTokenInfo,omitempty"` - NewsletterServerId *uint64 `protobuf:"varint,63,opt,name=newsletterServerId" json:"newsletterServerId,omitempty"` - EventAdditionalMetadata *EventAdditionalMetadata `protobuf:"bytes,64,opt,name=eventAdditionalMetadata" json:"eventAdditionalMetadata,omitempty"` -} - -func (x *WebMessageInfo) Reset() { - *x = WebMessageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[193] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WebMessageInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WebMessageInfo) ProtoMessage() {} - -func (x *WebMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[193] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WebMessageInfo.ProtoReflect.Descriptor instead. -func (*WebMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{193} -} - -func (x *WebMessageInfo) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *WebMessageInfo) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -func (x *WebMessageInfo) GetMessageTimestamp() uint64 { - if x != nil && x.MessageTimestamp != nil { - return *x.MessageTimestamp - } - return 0 -} - -func (x *WebMessageInfo) GetStatus() WebMessageInfo_Status { - if x != nil && x.Status != nil { - return *x.Status - } - return WebMessageInfo_ERROR -} - -func (x *WebMessageInfo) GetParticipant() string { - if x != nil && x.Participant != nil { - return *x.Participant - } - return "" -} - -func (x *WebMessageInfo) GetMessageC2STimestamp() uint64 { - if x != nil && x.MessageC2STimestamp != nil { - return *x.MessageC2STimestamp - } - return 0 -} - -func (x *WebMessageInfo) GetIgnore() bool { - if x != nil && x.Ignore != nil { - return *x.Ignore - } - return false -} - -func (x *WebMessageInfo) GetStarred() bool { - if x != nil && x.Starred != nil { - return *x.Starred - } - return false -} - -func (x *WebMessageInfo) GetBroadcast() bool { - if x != nil && x.Broadcast != nil { - return *x.Broadcast - } - return false -} - -func (x *WebMessageInfo) GetPushName() string { - if x != nil && x.PushName != nil { - return *x.PushName - } - return "" -} - -func (x *WebMessageInfo) GetMediaCiphertextSha256() []byte { - if x != nil { - return x.MediaCiphertextSha256 - } - return nil -} - -func (x *WebMessageInfo) GetMulticast() bool { - if x != nil && x.Multicast != nil { - return *x.Multicast - } - return false -} - -func (x *WebMessageInfo) GetUrlText() bool { - if x != nil && x.UrlText != nil { - return *x.UrlText - } - return false -} - -func (x *WebMessageInfo) GetUrlNumber() bool { - if x != nil && x.UrlNumber != nil { - return *x.UrlNumber - } - return false -} - -func (x *WebMessageInfo) GetMessageStubType() WebMessageInfo_StubType { - if x != nil && x.MessageStubType != nil { - return *x.MessageStubType - } - return WebMessageInfo_UNKNOWN -} - -func (x *WebMessageInfo) GetClearMedia() bool { - if x != nil && x.ClearMedia != nil { - return *x.ClearMedia - } - return false -} - -func (x *WebMessageInfo) GetMessageStubParameters() []string { - if x != nil { - return x.MessageStubParameters - } - return nil -} - -func (x *WebMessageInfo) GetDuration() uint32 { - if x != nil && x.Duration != nil { - return *x.Duration - } - return 0 -} - -func (x *WebMessageInfo) GetLabels() []string { - if x != nil { - return x.Labels - } - return nil -} - -func (x *WebMessageInfo) GetPaymentInfo() *PaymentInfo { - if x != nil { - return x.PaymentInfo - } - return nil -} - -func (x *WebMessageInfo) GetFinalLiveLocation() *LiveLocationMessage { - if x != nil { - return x.FinalLiveLocation - } - return nil -} - -func (x *WebMessageInfo) GetQuotedPaymentInfo() *PaymentInfo { - if x != nil { - return x.QuotedPaymentInfo - } - return nil -} - -func (x *WebMessageInfo) GetEphemeralStartTimestamp() uint64 { - if x != nil && x.EphemeralStartTimestamp != nil { - return *x.EphemeralStartTimestamp - } - return 0 -} - -func (x *WebMessageInfo) GetEphemeralDuration() uint32 { - if x != nil && x.EphemeralDuration != nil { - return *x.EphemeralDuration - } - return 0 -} - -func (x *WebMessageInfo) GetEphemeralOffToOn() bool { - if x != nil && x.EphemeralOffToOn != nil { - return *x.EphemeralOffToOn - } - return false -} - -func (x *WebMessageInfo) GetEphemeralOutOfSync() bool { - if x != nil && x.EphemeralOutOfSync != nil { - return *x.EphemeralOutOfSync - } - return false -} - -func (x *WebMessageInfo) GetBizPrivacyStatus() WebMessageInfo_BizPrivacyStatus { - if x != nil && x.BizPrivacyStatus != nil { - return *x.BizPrivacyStatus - } - return WebMessageInfo_E2EE -} - -func (x *WebMessageInfo) GetVerifiedBizName() string { - if x != nil && x.VerifiedBizName != nil { - return *x.VerifiedBizName - } - return "" -} - -func (x *WebMessageInfo) GetMediaData() *MediaData { - if x != nil { - return x.MediaData - } - return nil -} - -func (x *WebMessageInfo) GetPhotoChange() *PhotoChange { - if x != nil { - return x.PhotoChange - } - return nil -} - -func (x *WebMessageInfo) GetUserReceipt() []*UserReceipt { - if x != nil { - return x.UserReceipt - } - return nil -} - -func (x *WebMessageInfo) GetReactions() []*Reaction { - if x != nil { - return x.Reactions - } - return nil -} - -func (x *WebMessageInfo) GetQuotedStickerData() *MediaData { - if x != nil { - return x.QuotedStickerData - } - return nil -} - -func (x *WebMessageInfo) GetFutureproofData() []byte { - if x != nil { - return x.FutureproofData - } - return nil -} - -func (x *WebMessageInfo) GetStatusPsa() *StatusPSA { - if x != nil { - return x.StatusPsa - } - return nil -} - -func (x *WebMessageInfo) GetPollUpdates() []*PollUpdate { - if x != nil { - return x.PollUpdates - } - return nil -} - -func (x *WebMessageInfo) GetPollAdditionalMetadata() *PollAdditionalMetadata { - if x != nil { - return x.PollAdditionalMetadata - } - return nil -} - -func (x *WebMessageInfo) GetAgentId() string { - if x != nil && x.AgentId != nil { - return *x.AgentId - } - return "" -} - -func (x *WebMessageInfo) GetStatusAlreadyViewed() bool { - if x != nil && x.StatusAlreadyViewed != nil { - return *x.StatusAlreadyViewed - } - return false -} - -func (x *WebMessageInfo) GetMessageSecret() []byte { - if x != nil { - return x.MessageSecret - } - return nil -} - -func (x *WebMessageInfo) GetKeepInChat() *KeepInChat { - if x != nil { - return x.KeepInChat - } - return nil -} - -func (x *WebMessageInfo) GetOriginalSelfAuthorUserJidString() string { - if x != nil && x.OriginalSelfAuthorUserJidString != nil { - return *x.OriginalSelfAuthorUserJidString - } - return "" -} - -func (x *WebMessageInfo) GetRevokeMessageTimestamp() uint64 { - if x != nil && x.RevokeMessageTimestamp != nil { - return *x.RevokeMessageTimestamp - } - return 0 -} - -func (x *WebMessageInfo) GetPinInChat() *PinInChat { - if x != nil { - return x.PinInChat - } - return nil -} - -func (x *WebMessageInfo) GetPremiumMessageInfo() *PremiumMessageInfo { - if x != nil { - return x.PremiumMessageInfo - } - return nil -} - -func (x *WebMessageInfo) GetIs1PBizBotMessage() bool { - if x != nil && x.Is1PBizBotMessage != nil { - return *x.Is1PBizBotMessage - } - return false -} - -func (x *WebMessageInfo) GetIsGroupHistoryMessage() bool { - if x != nil && x.IsGroupHistoryMessage != nil { - return *x.IsGroupHistoryMessage - } - return false -} - -func (x *WebMessageInfo) GetBotMessageInvokerJid() string { - if x != nil && x.BotMessageInvokerJid != nil { - return *x.BotMessageInvokerJid - } - return "" -} - -func (x *WebMessageInfo) GetCommentMetadata() *CommentMetadata { - if x != nil { - return x.CommentMetadata - } - return nil -} - -func (x *WebMessageInfo) GetEventResponses() []*EventResponse { - if x != nil { - return x.EventResponses - } - return nil -} - -func (x *WebMessageInfo) GetReportingTokenInfo() *ReportingTokenInfo { - if x != nil { - return x.ReportingTokenInfo - } - return nil -} - -func (x *WebMessageInfo) GetNewsletterServerId() uint64 { - if x != nil && x.NewsletterServerId != nil { - return *x.NewsletterServerId - } - return 0 -} - -func (x *WebMessageInfo) GetEventAdditionalMetadata() *EventAdditionalMetadata { - if x != nil { - return x.EventAdditionalMetadata - } - return nil -} - -type WebFeatures struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LabelsDisplay *WebFeatures_Flag `protobuf:"varint,1,opt,name=labelsDisplay,enum=proto.WebFeatures_Flag" json:"labelsDisplay,omitempty"` - VoipIndividualOutgoing *WebFeatures_Flag `protobuf:"varint,2,opt,name=voipIndividualOutgoing,enum=proto.WebFeatures_Flag" json:"voipIndividualOutgoing,omitempty"` - GroupsV3 *WebFeatures_Flag `protobuf:"varint,3,opt,name=groupsV3,enum=proto.WebFeatures_Flag" json:"groupsV3,omitempty"` - GroupsV3Create *WebFeatures_Flag `protobuf:"varint,4,opt,name=groupsV3Create,enum=proto.WebFeatures_Flag" json:"groupsV3Create,omitempty"` - ChangeNumberV2 *WebFeatures_Flag `protobuf:"varint,5,opt,name=changeNumberV2,enum=proto.WebFeatures_Flag" json:"changeNumberV2,omitempty"` - QueryStatusV3Thumbnail *WebFeatures_Flag `protobuf:"varint,6,opt,name=queryStatusV3Thumbnail,enum=proto.WebFeatures_Flag" json:"queryStatusV3Thumbnail,omitempty"` - LiveLocations *WebFeatures_Flag `protobuf:"varint,7,opt,name=liveLocations,enum=proto.WebFeatures_Flag" json:"liveLocations,omitempty"` - QueryVname *WebFeatures_Flag `protobuf:"varint,8,opt,name=queryVname,enum=proto.WebFeatures_Flag" json:"queryVname,omitempty"` - VoipIndividualIncoming *WebFeatures_Flag `protobuf:"varint,9,opt,name=voipIndividualIncoming,enum=proto.WebFeatures_Flag" json:"voipIndividualIncoming,omitempty"` - QuickRepliesQuery *WebFeatures_Flag `protobuf:"varint,10,opt,name=quickRepliesQuery,enum=proto.WebFeatures_Flag" json:"quickRepliesQuery,omitempty"` - Payments *WebFeatures_Flag `protobuf:"varint,11,opt,name=payments,enum=proto.WebFeatures_Flag" json:"payments,omitempty"` - StickerPackQuery *WebFeatures_Flag `protobuf:"varint,12,opt,name=stickerPackQuery,enum=proto.WebFeatures_Flag" json:"stickerPackQuery,omitempty"` - LiveLocationsFinal *WebFeatures_Flag `protobuf:"varint,13,opt,name=liveLocationsFinal,enum=proto.WebFeatures_Flag" json:"liveLocationsFinal,omitempty"` - LabelsEdit *WebFeatures_Flag `protobuf:"varint,14,opt,name=labelsEdit,enum=proto.WebFeatures_Flag" json:"labelsEdit,omitempty"` - MediaUpload *WebFeatures_Flag `protobuf:"varint,15,opt,name=mediaUpload,enum=proto.WebFeatures_Flag" json:"mediaUpload,omitempty"` - MediaUploadRichQuickReplies *WebFeatures_Flag `protobuf:"varint,18,opt,name=mediaUploadRichQuickReplies,enum=proto.WebFeatures_Flag" json:"mediaUploadRichQuickReplies,omitempty"` - VnameV2 *WebFeatures_Flag `protobuf:"varint,19,opt,name=vnameV2,enum=proto.WebFeatures_Flag" json:"vnameV2,omitempty"` - VideoPlaybackUrl *WebFeatures_Flag `protobuf:"varint,20,opt,name=videoPlaybackUrl,enum=proto.WebFeatures_Flag" json:"videoPlaybackUrl,omitempty"` - StatusRanking *WebFeatures_Flag `protobuf:"varint,21,opt,name=statusRanking,enum=proto.WebFeatures_Flag" json:"statusRanking,omitempty"` - VoipIndividualVideo *WebFeatures_Flag `protobuf:"varint,22,opt,name=voipIndividualVideo,enum=proto.WebFeatures_Flag" json:"voipIndividualVideo,omitempty"` - ThirdPartyStickers *WebFeatures_Flag `protobuf:"varint,23,opt,name=thirdPartyStickers,enum=proto.WebFeatures_Flag" json:"thirdPartyStickers,omitempty"` - FrequentlyForwardedSetting *WebFeatures_Flag `protobuf:"varint,24,opt,name=frequentlyForwardedSetting,enum=proto.WebFeatures_Flag" json:"frequentlyForwardedSetting,omitempty"` - GroupsV4JoinPermission *WebFeatures_Flag `protobuf:"varint,25,opt,name=groupsV4JoinPermission,enum=proto.WebFeatures_Flag" json:"groupsV4JoinPermission,omitempty"` - RecentStickers *WebFeatures_Flag `protobuf:"varint,26,opt,name=recentStickers,enum=proto.WebFeatures_Flag" json:"recentStickers,omitempty"` - Catalog *WebFeatures_Flag `protobuf:"varint,27,opt,name=catalog,enum=proto.WebFeatures_Flag" json:"catalog,omitempty"` - StarredStickers *WebFeatures_Flag `protobuf:"varint,28,opt,name=starredStickers,enum=proto.WebFeatures_Flag" json:"starredStickers,omitempty"` - VoipGroupCall *WebFeatures_Flag `protobuf:"varint,29,opt,name=voipGroupCall,enum=proto.WebFeatures_Flag" json:"voipGroupCall,omitempty"` - TemplateMessage *WebFeatures_Flag `protobuf:"varint,30,opt,name=templateMessage,enum=proto.WebFeatures_Flag" json:"templateMessage,omitempty"` - TemplateMessageInteractivity *WebFeatures_Flag `protobuf:"varint,31,opt,name=templateMessageInteractivity,enum=proto.WebFeatures_Flag" json:"templateMessageInteractivity,omitempty"` - EphemeralMessages *WebFeatures_Flag `protobuf:"varint,32,opt,name=ephemeralMessages,enum=proto.WebFeatures_Flag" json:"ephemeralMessages,omitempty"` - E2ENotificationSync *WebFeatures_Flag `protobuf:"varint,33,opt,name=e2ENotificationSync,enum=proto.WebFeatures_Flag" json:"e2ENotificationSync,omitempty"` - RecentStickersV2 *WebFeatures_Flag `protobuf:"varint,34,opt,name=recentStickersV2,enum=proto.WebFeatures_Flag" json:"recentStickersV2,omitempty"` - RecentStickersV3 *WebFeatures_Flag `protobuf:"varint,36,opt,name=recentStickersV3,enum=proto.WebFeatures_Flag" json:"recentStickersV3,omitempty"` - UserNotice *WebFeatures_Flag `protobuf:"varint,37,opt,name=userNotice,enum=proto.WebFeatures_Flag" json:"userNotice,omitempty"` - Support *WebFeatures_Flag `protobuf:"varint,39,opt,name=support,enum=proto.WebFeatures_Flag" json:"support,omitempty"` - GroupUiiCleanup *WebFeatures_Flag `protobuf:"varint,40,opt,name=groupUiiCleanup,enum=proto.WebFeatures_Flag" json:"groupUiiCleanup,omitempty"` - GroupDogfoodingInternalOnly *WebFeatures_Flag `protobuf:"varint,41,opt,name=groupDogfoodingInternalOnly,enum=proto.WebFeatures_Flag" json:"groupDogfoodingInternalOnly,omitempty"` - SettingsSync *WebFeatures_Flag `protobuf:"varint,42,opt,name=settingsSync,enum=proto.WebFeatures_Flag" json:"settingsSync,omitempty"` - ArchiveV2 *WebFeatures_Flag `protobuf:"varint,43,opt,name=archiveV2,enum=proto.WebFeatures_Flag" json:"archiveV2,omitempty"` - EphemeralAllowGroupMembers *WebFeatures_Flag `protobuf:"varint,44,opt,name=ephemeralAllowGroupMembers,enum=proto.WebFeatures_Flag" json:"ephemeralAllowGroupMembers,omitempty"` - Ephemeral24HDuration *WebFeatures_Flag `protobuf:"varint,45,opt,name=ephemeral24HDuration,enum=proto.WebFeatures_Flag" json:"ephemeral24HDuration,omitempty"` - MdForceUpgrade *WebFeatures_Flag `protobuf:"varint,46,opt,name=mdForceUpgrade,enum=proto.WebFeatures_Flag" json:"mdForceUpgrade,omitempty"` - DisappearingMode *WebFeatures_Flag `protobuf:"varint,47,opt,name=disappearingMode,enum=proto.WebFeatures_Flag" json:"disappearingMode,omitempty"` - ExternalMdOptInAvailable *WebFeatures_Flag `protobuf:"varint,48,opt,name=externalMdOptInAvailable,enum=proto.WebFeatures_Flag" json:"externalMdOptInAvailable,omitempty"` - NoDeleteMessageTimeLimit *WebFeatures_Flag `protobuf:"varint,49,opt,name=noDeleteMessageTimeLimit,enum=proto.WebFeatures_Flag" json:"noDeleteMessageTimeLimit,omitempty"` -} - -func (x *WebFeatures) Reset() { - *x = WebFeatures{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[194] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WebFeatures) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WebFeatures) ProtoMessage() {} - -func (x *WebFeatures) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[194] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WebFeatures.ProtoReflect.Descriptor instead. -func (*WebFeatures) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{194} -} - -func (x *WebFeatures) GetLabelsDisplay() WebFeatures_Flag { - if x != nil && x.LabelsDisplay != nil { - return *x.LabelsDisplay - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetVoipIndividualOutgoing() WebFeatures_Flag { - if x != nil && x.VoipIndividualOutgoing != nil { - return *x.VoipIndividualOutgoing - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetGroupsV3() WebFeatures_Flag { - if x != nil && x.GroupsV3 != nil { - return *x.GroupsV3 - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetGroupsV3Create() WebFeatures_Flag { - if x != nil && x.GroupsV3Create != nil { - return *x.GroupsV3Create - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetChangeNumberV2() WebFeatures_Flag { - if x != nil && x.ChangeNumberV2 != nil { - return *x.ChangeNumberV2 - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetQueryStatusV3Thumbnail() WebFeatures_Flag { - if x != nil && x.QueryStatusV3Thumbnail != nil { - return *x.QueryStatusV3Thumbnail - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetLiveLocations() WebFeatures_Flag { - if x != nil && x.LiveLocations != nil { - return *x.LiveLocations - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetQueryVname() WebFeatures_Flag { - if x != nil && x.QueryVname != nil { - return *x.QueryVname - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetVoipIndividualIncoming() WebFeatures_Flag { - if x != nil && x.VoipIndividualIncoming != nil { - return *x.VoipIndividualIncoming - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetQuickRepliesQuery() WebFeatures_Flag { - if x != nil && x.QuickRepliesQuery != nil { - return *x.QuickRepliesQuery - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetPayments() WebFeatures_Flag { - if x != nil && x.Payments != nil { - return *x.Payments - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetStickerPackQuery() WebFeatures_Flag { - if x != nil && x.StickerPackQuery != nil { - return *x.StickerPackQuery - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetLiveLocationsFinal() WebFeatures_Flag { - if x != nil && x.LiveLocationsFinal != nil { - return *x.LiveLocationsFinal - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetLabelsEdit() WebFeatures_Flag { - if x != nil && x.LabelsEdit != nil { - return *x.LabelsEdit - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetMediaUpload() WebFeatures_Flag { - if x != nil && x.MediaUpload != nil { - return *x.MediaUpload - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetMediaUploadRichQuickReplies() WebFeatures_Flag { - if x != nil && x.MediaUploadRichQuickReplies != nil { - return *x.MediaUploadRichQuickReplies - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetVnameV2() WebFeatures_Flag { - if x != nil && x.VnameV2 != nil { - return *x.VnameV2 - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetVideoPlaybackUrl() WebFeatures_Flag { - if x != nil && x.VideoPlaybackUrl != nil { - return *x.VideoPlaybackUrl - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetStatusRanking() WebFeatures_Flag { - if x != nil && x.StatusRanking != nil { - return *x.StatusRanking - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetVoipIndividualVideo() WebFeatures_Flag { - if x != nil && x.VoipIndividualVideo != nil { - return *x.VoipIndividualVideo - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetThirdPartyStickers() WebFeatures_Flag { - if x != nil && x.ThirdPartyStickers != nil { - return *x.ThirdPartyStickers - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetFrequentlyForwardedSetting() WebFeatures_Flag { - if x != nil && x.FrequentlyForwardedSetting != nil { - return *x.FrequentlyForwardedSetting - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetGroupsV4JoinPermission() WebFeatures_Flag { - if x != nil && x.GroupsV4JoinPermission != nil { - return *x.GroupsV4JoinPermission - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetRecentStickers() WebFeatures_Flag { - if x != nil && x.RecentStickers != nil { - return *x.RecentStickers - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetCatalog() WebFeatures_Flag { - if x != nil && x.Catalog != nil { - return *x.Catalog - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetStarredStickers() WebFeatures_Flag { - if x != nil && x.StarredStickers != nil { - return *x.StarredStickers - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetVoipGroupCall() WebFeatures_Flag { - if x != nil && x.VoipGroupCall != nil { - return *x.VoipGroupCall - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetTemplateMessage() WebFeatures_Flag { - if x != nil && x.TemplateMessage != nil { - return *x.TemplateMessage - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetTemplateMessageInteractivity() WebFeatures_Flag { - if x != nil && x.TemplateMessageInteractivity != nil { - return *x.TemplateMessageInteractivity - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetEphemeralMessages() WebFeatures_Flag { - if x != nil && x.EphemeralMessages != nil { - return *x.EphemeralMessages - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetE2ENotificationSync() WebFeatures_Flag { - if x != nil && x.E2ENotificationSync != nil { - return *x.E2ENotificationSync - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetRecentStickersV2() WebFeatures_Flag { - if x != nil && x.RecentStickersV2 != nil { - return *x.RecentStickersV2 - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetRecentStickersV3() WebFeatures_Flag { - if x != nil && x.RecentStickersV3 != nil { - return *x.RecentStickersV3 - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetUserNotice() WebFeatures_Flag { - if x != nil && x.UserNotice != nil { - return *x.UserNotice - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetSupport() WebFeatures_Flag { - if x != nil && x.Support != nil { - return *x.Support - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetGroupUiiCleanup() WebFeatures_Flag { - if x != nil && x.GroupUiiCleanup != nil { - return *x.GroupUiiCleanup - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetGroupDogfoodingInternalOnly() WebFeatures_Flag { - if x != nil && x.GroupDogfoodingInternalOnly != nil { - return *x.GroupDogfoodingInternalOnly - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetSettingsSync() WebFeatures_Flag { - if x != nil && x.SettingsSync != nil { - return *x.SettingsSync - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetArchiveV2() WebFeatures_Flag { - if x != nil && x.ArchiveV2 != nil { - return *x.ArchiveV2 - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetEphemeralAllowGroupMembers() WebFeatures_Flag { - if x != nil && x.EphemeralAllowGroupMembers != nil { - return *x.EphemeralAllowGroupMembers - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetEphemeral24HDuration() WebFeatures_Flag { - if x != nil && x.Ephemeral24HDuration != nil { - return *x.Ephemeral24HDuration - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetMdForceUpgrade() WebFeatures_Flag { - if x != nil && x.MdForceUpgrade != nil { - return *x.MdForceUpgrade - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetDisappearingMode() WebFeatures_Flag { - if x != nil && x.DisappearingMode != nil { - return *x.DisappearingMode - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetExternalMdOptInAvailable() WebFeatures_Flag { - if x != nil && x.ExternalMdOptInAvailable != nil { - return *x.ExternalMdOptInAvailable - } - return WebFeatures_NOT_STARTED -} - -func (x *WebFeatures) GetNoDeleteMessageTimeLimit() WebFeatures_Flag { - if x != nil && x.NoDeleteMessageTimeLimit != nil { - return *x.NoDeleteMessageTimeLimit - } - return WebFeatures_NOT_STARTED -} - -type UserReceipt struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserJid *string `protobuf:"bytes,1,req,name=userJid" json:"userJid,omitempty"` - ReceiptTimestamp *int64 `protobuf:"varint,2,opt,name=receiptTimestamp" json:"receiptTimestamp,omitempty"` - ReadTimestamp *int64 `protobuf:"varint,3,opt,name=readTimestamp" json:"readTimestamp,omitempty"` - PlayedTimestamp *int64 `protobuf:"varint,4,opt,name=playedTimestamp" json:"playedTimestamp,omitempty"` - PendingDeviceJid []string `protobuf:"bytes,5,rep,name=pendingDeviceJid" json:"pendingDeviceJid,omitempty"` - DeliveredDeviceJid []string `protobuf:"bytes,6,rep,name=deliveredDeviceJid" json:"deliveredDeviceJid,omitempty"` -} - -func (x *UserReceipt) Reset() { - *x = UserReceipt{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[195] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserReceipt) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserReceipt) ProtoMessage() {} - -func (x *UserReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[195] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserReceipt.ProtoReflect.Descriptor instead. -func (*UserReceipt) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{195} -} - -func (x *UserReceipt) GetUserJid() string { - if x != nil && x.UserJid != nil { - return *x.UserJid - } - return "" -} - -func (x *UserReceipt) GetReceiptTimestamp() int64 { - if x != nil && x.ReceiptTimestamp != nil { - return *x.ReceiptTimestamp - } - return 0 -} - -func (x *UserReceipt) GetReadTimestamp() int64 { - if x != nil && x.ReadTimestamp != nil { - return *x.ReadTimestamp - } - return 0 -} - -func (x *UserReceipt) GetPlayedTimestamp() int64 { - if x != nil && x.PlayedTimestamp != nil { - return *x.PlayedTimestamp - } - return 0 -} - -func (x *UserReceipt) GetPendingDeviceJid() []string { - if x != nil { - return x.PendingDeviceJid - } - return nil -} - -func (x *UserReceipt) GetDeliveredDeviceJid() []string { - if x != nil { - return x.DeliveredDeviceJid - } - return nil -} - -type StatusPSA struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CampaignId *uint64 `protobuf:"varint,44,req,name=campaignId" json:"campaignId,omitempty"` - CampaignExpirationTimestamp *uint64 `protobuf:"varint,45,opt,name=campaignExpirationTimestamp" json:"campaignExpirationTimestamp,omitempty"` -} - -func (x *StatusPSA) Reset() { - *x = StatusPSA{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[196] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StatusPSA) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StatusPSA) ProtoMessage() {} - -func (x *StatusPSA) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[196] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StatusPSA.ProtoReflect.Descriptor instead. -func (*StatusPSA) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{196} -} - -func (x *StatusPSA) GetCampaignId() uint64 { - if x != nil && x.CampaignId != nil { - return *x.CampaignId - } - return 0 -} - -func (x *StatusPSA) GetCampaignExpirationTimestamp() uint64 { - if x != nil && x.CampaignExpirationTimestamp != nil { - return *x.CampaignExpirationTimestamp - } - return 0 -} - -type ReportingTokenInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ReportingTag []byte `protobuf:"bytes,1,opt,name=reportingTag" json:"reportingTag,omitempty"` -} - -func (x *ReportingTokenInfo) Reset() { - *x = ReportingTokenInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[197] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReportingTokenInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReportingTokenInfo) ProtoMessage() {} - -func (x *ReportingTokenInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[197] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReportingTokenInfo.ProtoReflect.Descriptor instead. -func (*ReportingTokenInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{197} -} - -func (x *ReportingTokenInfo) GetReportingTag() []byte { - if x != nil { - return x.ReportingTag - } - return nil -} - -type Reaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` - GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,4,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` - Unread *bool `protobuf:"varint,5,opt,name=unread" json:"unread,omitempty"` -} - -func (x *Reaction) Reset() { - *x = Reaction{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[198] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Reaction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Reaction) ProtoMessage() {} - -func (x *Reaction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[198] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Reaction.ProtoReflect.Descriptor instead. -func (*Reaction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{198} -} - -func (x *Reaction) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *Reaction) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -func (x *Reaction) GetGroupingKey() string { - if x != nil && x.GroupingKey != nil { - return *x.GroupingKey - } - return "" -} - -func (x *Reaction) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -func (x *Reaction) GetUnread() bool { - if x != nil && x.Unread != nil { - return *x.Unread - } - return false -} - -type PremiumMessageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServerCampaignId *string `protobuf:"bytes,1,opt,name=serverCampaignId" json:"serverCampaignId,omitempty"` -} - -func (x *PremiumMessageInfo) Reset() { - *x = PremiumMessageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[199] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PremiumMessageInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PremiumMessageInfo) ProtoMessage() {} - -func (x *PremiumMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[199] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PremiumMessageInfo.ProtoReflect.Descriptor instead. -func (*PremiumMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{199} -} - -func (x *PremiumMessageInfo) GetServerCampaignId() string { - if x != nil && x.ServerCampaignId != nil { - return *x.ServerCampaignId - } - return "" -} - -type PollUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PollUpdateMessageKey *MessageKey `protobuf:"bytes,1,opt,name=pollUpdateMessageKey" json:"pollUpdateMessageKey,omitempty"` - Vote *PollVoteMessage `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` - ServerTimestampMs *int64 `protobuf:"varint,4,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"` - Unread *bool `protobuf:"varint,5,opt,name=unread" json:"unread,omitempty"` -} - -func (x *PollUpdate) Reset() { - *x = PollUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[200] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollUpdate) ProtoMessage() {} - -func (x *PollUpdate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[200] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollUpdate.ProtoReflect.Descriptor instead. -func (*PollUpdate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{200} -} - -func (x *PollUpdate) GetPollUpdateMessageKey() *MessageKey { - if x != nil { - return x.PollUpdateMessageKey - } - return nil -} - -func (x *PollUpdate) GetVote() *PollVoteMessage { - if x != nil { - return x.Vote - } - return nil -} - -func (x *PollUpdate) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -func (x *PollUpdate) GetServerTimestampMs() int64 { - if x != nil && x.ServerTimestampMs != nil { - return *x.ServerTimestampMs - } - return 0 -} - -func (x *PollUpdate) GetUnread() bool { - if x != nil && x.Unread != nil { - return *x.Unread - } - return false -} - -type PollAdditionalMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PollInvalidated *bool `protobuf:"varint,1,opt,name=pollInvalidated" json:"pollInvalidated,omitempty"` -} - -func (x *PollAdditionalMetadata) Reset() { - *x = PollAdditionalMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[201] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollAdditionalMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollAdditionalMetadata) ProtoMessage() {} - -func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[201] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollAdditionalMetadata.ProtoReflect.Descriptor instead. -func (*PollAdditionalMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{201} -} - -func (x *PollAdditionalMetadata) GetPollInvalidated() bool { - if x != nil && x.PollInvalidated != nil { - return *x.PollInvalidated - } - return false -} - -type PinInChat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type *PinInChat_Type `protobuf:"varint,1,opt,name=type,enum=proto.PinInChat_Type" json:"type,omitempty"` - Key *MessageKey `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` - SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"` - ServerTimestampMs *int64 `protobuf:"varint,4,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"` - MessageAddOnContextInfo *MessageAddOnContextInfo `protobuf:"bytes,5,opt,name=messageAddOnContextInfo" json:"messageAddOnContextInfo,omitempty"` -} - -func (x *PinInChat) Reset() { - *x = PinInChat{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[202] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PinInChat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PinInChat) ProtoMessage() {} - -func (x *PinInChat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[202] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PinInChat.ProtoReflect.Descriptor instead. -func (*PinInChat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{202} -} - -func (x *PinInChat) GetType() PinInChat_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return PinInChat_UNKNOWN_TYPE -} - -func (x *PinInChat) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *PinInChat) GetSenderTimestampMs() int64 { - if x != nil && x.SenderTimestampMs != nil { - return *x.SenderTimestampMs - } - return 0 -} - -func (x *PinInChat) GetServerTimestampMs() int64 { - if x != nil && x.ServerTimestampMs != nil { - return *x.ServerTimestampMs - } - return 0 -} - -func (x *PinInChat) GetMessageAddOnContextInfo() *MessageAddOnContextInfo { - if x != nil { - return x.MessageAddOnContextInfo - } - return nil -} - -type PhotoChange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OldPhoto []byte `protobuf:"bytes,1,opt,name=oldPhoto" json:"oldPhoto,omitempty"` - NewPhoto []byte `protobuf:"bytes,2,opt,name=newPhoto" json:"newPhoto,omitempty"` - NewPhotoId *uint32 `protobuf:"varint,3,opt,name=newPhotoId" json:"newPhotoId,omitempty"` -} - -func (x *PhotoChange) Reset() { - *x = PhotoChange{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[203] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PhotoChange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PhotoChange) ProtoMessage() {} - -func (x *PhotoChange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[203] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PhotoChange.ProtoReflect.Descriptor instead. -func (*PhotoChange) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{203} -} - -func (x *PhotoChange) GetOldPhoto() []byte { - if x != nil { - return x.OldPhoto - } - return nil -} - -func (x *PhotoChange) GetNewPhoto() []byte { - if x != nil { - return x.NewPhoto - } - return nil -} - -func (x *PhotoChange) GetNewPhotoId() uint32 { - if x != nil && x.NewPhotoId != nil { - return *x.NewPhotoId - } - return 0 -} - -type PaymentInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrencyDeprecated *PaymentInfo_Currency `protobuf:"varint,1,opt,name=currencyDeprecated,enum=proto.PaymentInfo_Currency" json:"currencyDeprecated,omitempty"` - Amount1000 *uint64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"` - ReceiverJid *string `protobuf:"bytes,3,opt,name=receiverJid" json:"receiverJid,omitempty"` - Status *PaymentInfo_Status `protobuf:"varint,4,opt,name=status,enum=proto.PaymentInfo_Status" json:"status,omitempty"` - TransactionTimestamp *uint64 `protobuf:"varint,5,opt,name=transactionTimestamp" json:"transactionTimestamp,omitempty"` - RequestMessageKey *MessageKey `protobuf:"bytes,6,opt,name=requestMessageKey" json:"requestMessageKey,omitempty"` - ExpiryTimestamp *uint64 `protobuf:"varint,7,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"` - Futureproofed *bool `protobuf:"varint,8,opt,name=futureproofed" json:"futureproofed,omitempty"` - Currency *string `protobuf:"bytes,9,opt,name=currency" json:"currency,omitempty"` - TxnStatus *PaymentInfo_TxnStatus `protobuf:"varint,10,opt,name=txnStatus,enum=proto.PaymentInfo_TxnStatus" json:"txnStatus,omitempty"` - UseNoviFiatFormat *bool `protobuf:"varint,11,opt,name=useNoviFiatFormat" json:"useNoviFiatFormat,omitempty"` - PrimaryAmount *Money `protobuf:"bytes,12,opt,name=primaryAmount" json:"primaryAmount,omitempty"` - ExchangeAmount *Money `protobuf:"bytes,13,opt,name=exchangeAmount" json:"exchangeAmount,omitempty"` -} - -func (x *PaymentInfo) Reset() { - *x = PaymentInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[204] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaymentInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaymentInfo) ProtoMessage() {} - -func (x *PaymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[204] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaymentInfo.ProtoReflect.Descriptor instead. -func (*PaymentInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{204} -} - -func (x *PaymentInfo) GetCurrencyDeprecated() PaymentInfo_Currency { - if x != nil && x.CurrencyDeprecated != nil { - return *x.CurrencyDeprecated - } - return PaymentInfo_UNKNOWN_CURRENCY -} - -func (x *PaymentInfo) GetAmount1000() uint64 { - if x != nil && x.Amount1000 != nil { - return *x.Amount1000 - } - return 0 -} - -func (x *PaymentInfo) GetReceiverJid() string { - if x != nil && x.ReceiverJid != nil { - return *x.ReceiverJid - } - return "" -} - -func (x *PaymentInfo) GetStatus() PaymentInfo_Status { - if x != nil && x.Status != nil { - return *x.Status - } - return PaymentInfo_UNKNOWN_STATUS -} - -func (x *PaymentInfo) GetTransactionTimestamp() uint64 { - if x != nil && x.TransactionTimestamp != nil { - return *x.TransactionTimestamp - } - return 0 -} - -func (x *PaymentInfo) GetRequestMessageKey() *MessageKey { - if x != nil { - return x.RequestMessageKey - } - return nil -} - -func (x *PaymentInfo) GetExpiryTimestamp() uint64 { - if x != nil && x.ExpiryTimestamp != nil { - return *x.ExpiryTimestamp - } - return 0 -} - -func (x *PaymentInfo) GetFutureproofed() bool { - if x != nil && x.Futureproofed != nil { - return *x.Futureproofed - } - return false -} - -func (x *PaymentInfo) GetCurrency() string { - if x != nil && x.Currency != nil { - return *x.Currency - } - return "" -} - -func (x *PaymentInfo) GetTxnStatus() PaymentInfo_TxnStatus { - if x != nil && x.TxnStatus != nil { - return *x.TxnStatus - } - return PaymentInfo_UNKNOWN -} - -func (x *PaymentInfo) GetUseNoviFiatFormat() bool { - if x != nil && x.UseNoviFiatFormat != nil { - return *x.UseNoviFiatFormat - } - return false -} - -func (x *PaymentInfo) GetPrimaryAmount() *Money { - if x != nil { - return x.PrimaryAmount - } - return nil -} - -func (x *PaymentInfo) GetExchangeAmount() *Money { - if x != nil { - return x.ExchangeAmount - } - return nil -} - -type NotificationMessageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Message *Message `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` - MessageTimestamp *uint64 `protobuf:"varint,3,opt,name=messageTimestamp" json:"messageTimestamp,omitempty"` - Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` -} - -func (x *NotificationMessageInfo) Reset() { - *x = NotificationMessageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[205] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NotificationMessageInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotificationMessageInfo) ProtoMessage() {} - -func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[205] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotificationMessageInfo.ProtoReflect.Descriptor instead. -func (*NotificationMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{205} -} - -func (x *NotificationMessageInfo) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *NotificationMessageInfo) GetMessage() *Message { - if x != nil { - return x.Message - } - return nil -} - -func (x *NotificationMessageInfo) GetMessageTimestamp() uint64 { - if x != nil && x.MessageTimestamp != nil { - return *x.MessageTimestamp - } - return 0 -} - -func (x *NotificationMessageInfo) GetParticipant() string { - if x != nil && x.Participant != nil { - return *x.Participant - } - return "" -} - -type MessageAddOnContextInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageAddOnDurationInSecs *uint32 `protobuf:"varint,1,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"` -} - -func (x *MessageAddOnContextInfo) Reset() { - *x = MessageAddOnContextInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[206] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MessageAddOnContextInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MessageAddOnContextInfo) ProtoMessage() {} - -func (x *MessageAddOnContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[206] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MessageAddOnContextInfo.ProtoReflect.Descriptor instead. -func (*MessageAddOnContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{206} -} - -func (x *MessageAddOnContextInfo) GetMessageAddOnDurationInSecs() uint32 { - if x != nil && x.MessageAddOnDurationInSecs != nil { - return *x.MessageAddOnDurationInSecs - } - return 0 -} - -type MediaData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LocalPath *string `protobuf:"bytes,1,opt,name=localPath" json:"localPath,omitempty"` -} - -func (x *MediaData) Reset() { - *x = MediaData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[207] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MediaData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MediaData) ProtoMessage() {} - -func (x *MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[207] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MediaData.ProtoReflect.Descriptor instead. -func (*MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{207} -} - -func (x *MediaData) GetLocalPath() string { - if x != nil && x.LocalPath != nil { - return *x.LocalPath - } - return "" -} - -type KeepInChat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeepType *KeepType `protobuf:"varint,1,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` - ServerTimestamp *int64 `protobuf:"varint,2,opt,name=serverTimestamp" json:"serverTimestamp,omitempty"` - Key *MessageKey `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` - DeviceJid *string `protobuf:"bytes,4,opt,name=deviceJid" json:"deviceJid,omitempty"` - ClientTimestampMs *int64 `protobuf:"varint,5,opt,name=clientTimestampMs" json:"clientTimestampMs,omitempty"` - ServerTimestampMs *int64 `protobuf:"varint,6,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"` -} - -func (x *KeepInChat) Reset() { - *x = KeepInChat{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[208] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeepInChat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeepInChat) ProtoMessage() {} - -func (x *KeepInChat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[208] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeepInChat.ProtoReflect.Descriptor instead. -func (*KeepInChat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{208} -} - -func (x *KeepInChat) GetKeepType() KeepType { - if x != nil && x.KeepType != nil { - return *x.KeepType - } - return KeepType_UNKNOWN -} - -func (x *KeepInChat) GetServerTimestamp() int64 { - if x != nil && x.ServerTimestamp != nil { - return *x.ServerTimestamp - } - return 0 -} - -func (x *KeepInChat) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *KeepInChat) GetDeviceJid() string { - if x != nil && x.DeviceJid != nil { - return *x.DeviceJid - } - return "" -} - -func (x *KeepInChat) GetClientTimestampMs() int64 { - if x != nil && x.ClientTimestampMs != nil { - return *x.ClientTimestampMs - } - return 0 -} - -func (x *KeepInChat) GetServerTimestampMs() int64 { - if x != nil && x.ServerTimestampMs != nil { - return *x.ServerTimestampMs - } - return 0 -} - -type EventResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EventResponseMessageKey *MessageKey `protobuf:"bytes,1,opt,name=eventResponseMessageKey" json:"eventResponseMessageKey,omitempty"` - TimestampMs *int64 `protobuf:"varint,2,opt,name=timestampMs" json:"timestampMs,omitempty"` - EventResponseMessage *EventResponseMessage `protobuf:"bytes,3,opt,name=eventResponseMessage" json:"eventResponseMessage,omitempty"` - Unread *bool `protobuf:"varint,4,opt,name=unread" json:"unread,omitempty"` -} - -func (x *EventResponse) Reset() { - *x = EventResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[209] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EventResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventResponse) ProtoMessage() {} - -func (x *EventResponse) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[209] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EventResponse.ProtoReflect.Descriptor instead. -func (*EventResponse) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{209} -} - -func (x *EventResponse) GetEventResponseMessageKey() *MessageKey { - if x != nil { - return x.EventResponseMessageKey - } - return nil -} - -func (x *EventResponse) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs - } - return 0 -} - -func (x *EventResponse) GetEventResponseMessage() *EventResponseMessage { - if x != nil { - return x.EventResponseMessage - } - return nil -} - -func (x *EventResponse) GetUnread() bool { - if x != nil && x.Unread != nil { - return *x.Unread - } - return false -} - -type EventAdditionalMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsStale *bool `protobuf:"varint,1,opt,name=isStale" json:"isStale,omitempty"` -} - -func (x *EventAdditionalMetadata) Reset() { - *x = EventAdditionalMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[210] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EventAdditionalMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventAdditionalMetadata) ProtoMessage() {} - -func (x *EventAdditionalMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[210] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EventAdditionalMetadata.ProtoReflect.Descriptor instead. -func (*EventAdditionalMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{210} -} - -func (x *EventAdditionalMetadata) GetIsStale() bool { - if x != nil && x.IsStale != nil { - return *x.IsStale - } - return false -} - -type CommentMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CommentParentKey *MessageKey `protobuf:"bytes,1,opt,name=commentParentKey" json:"commentParentKey,omitempty"` - ReplyCount *uint32 `protobuf:"varint,2,opt,name=replyCount" json:"replyCount,omitempty"` -} - -func (x *CommentMetadata) Reset() { - *x = CommentMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[211] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommentMetadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommentMetadata) ProtoMessage() {} - -func (x *CommentMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[211] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommentMetadata.ProtoReflect.Descriptor instead. -func (*CommentMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{211} -} - -func (x *CommentMetadata) GetCommentParentKey() *MessageKey { - if x != nil { - return x.CommentParentKey - } - return nil -} - -func (x *CommentMetadata) GetReplyCount() uint32 { - if x != nil && x.ReplyCount != nil { - return *x.ReplyCount - } - return 0 -} - -type NoiseCertificate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` -} - -func (x *NoiseCertificate) Reset() { - *x = NoiseCertificate{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[212] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NoiseCertificate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NoiseCertificate) ProtoMessage() {} - -func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[212] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NoiseCertificate.ProtoReflect.Descriptor instead. -func (*NoiseCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{212} -} - -func (x *NoiseCertificate) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -func (x *NoiseCertificate) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type CertChain struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Leaf *CertChain_NoiseCertificate `protobuf:"bytes,1,opt,name=leaf" json:"leaf,omitempty"` - Intermediate *CertChain_NoiseCertificate `protobuf:"bytes,2,opt,name=intermediate" json:"intermediate,omitempty"` -} - -func (x *CertChain) Reset() { - *x = CertChain{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[213] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CertChain) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CertChain) ProtoMessage() {} - -func (x *CertChain) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[213] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CertChain.ProtoReflect.Descriptor instead. -func (*CertChain) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{213} -} - -func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate { - if x != nil { - return x.Leaf - } - return nil -} - -func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate { - if x != nil { - return x.Intermediate - } - return nil -} - -type QP struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *QP) Reset() { - *x = QP{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[214] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QP) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QP) ProtoMessage() {} - -func (x *QP) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[214] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QP.ProtoReflect.Descriptor instead. -func (*QP) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214} -} - -type ChatLockSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HideLockedChats *bool `protobuf:"varint,1,opt,name=hideLockedChats" json:"hideLockedChats,omitempty"` - SecretCode *UserPassword `protobuf:"bytes,2,opt,name=secretCode" json:"secretCode,omitempty"` -} - -func (x *ChatLockSettings) Reset() { - *x = ChatLockSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[215] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChatLockSettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChatLockSettings) ProtoMessage() {} - -func (x *ChatLockSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[215] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChatLockSettings.ProtoReflect.Descriptor instead. -func (*ChatLockSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{215} -} - -func (x *ChatLockSettings) GetHideLockedChats() bool { - if x != nil && x.HideLockedChats != nil { - return *x.HideLockedChats - } - return false -} - -func (x *ChatLockSettings) GetSecretCode() *UserPassword { - if x != nil { - return x.SecretCode - } - return nil -} - -type DeviceCapabilities struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChatLockSupportLevel *DeviceCapabilities_ChatLockSupportLevel `protobuf:"varint,1,opt,name=chatLockSupportLevel,enum=proto.DeviceCapabilities_ChatLockSupportLevel" json:"chatLockSupportLevel,omitempty"` -} - -func (x *DeviceCapabilities) Reset() { - *x = DeviceCapabilities{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[216] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeviceCapabilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceCapabilities) ProtoMessage() {} - -func (x *DeviceCapabilities) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[216] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceCapabilities.ProtoReflect.Descriptor instead. -func (*DeviceCapabilities) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{216} -} - -func (x *DeviceCapabilities) GetChatLockSupportLevel() DeviceCapabilities_ChatLockSupportLevel { - if x != nil && x.ChatLockSupportLevel != nil { - return *x.ChatLockSupportLevel - } - return DeviceCapabilities_NONE -} - -type UserPassword struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Encoding *UserPassword_Encoding `protobuf:"varint,1,opt,name=encoding,enum=proto.UserPassword_Encoding" json:"encoding,omitempty"` - Transformer *UserPassword_Transformer `protobuf:"varint,2,opt,name=transformer,enum=proto.UserPassword_Transformer" json:"transformer,omitempty"` - TransformerArg []*UserPassword_TransformerArg `protobuf:"bytes,3,rep,name=transformerArg" json:"transformerArg,omitempty"` - TransformedData []byte `protobuf:"bytes,4,opt,name=transformedData" json:"transformedData,omitempty"` -} - -func (x *UserPassword) Reset() { - *x = UserPassword{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[217] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserPassword) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserPassword) ProtoMessage() {} - -func (x *UserPassword) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[217] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserPassword.ProtoReflect.Descriptor instead. -func (*UserPassword) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{217} -} - -func (x *UserPassword) GetEncoding() UserPassword_Encoding { - if x != nil && x.Encoding != nil { - return *x.Encoding - } - return UserPassword_UTF8 -} - -func (x *UserPassword) GetTransformer() UserPassword_Transformer { - if x != nil && x.Transformer != nil { - return *x.Transformer - } - return UserPassword_NONE -} - -func (x *UserPassword) GetTransformerArg() []*UserPassword_TransformerArg { - if x != nil { - return x.TransformerArg - } - return nil -} - -func (x *UserPassword) GetTransformedData() []byte { - if x != nil { - return x.TransformedData - } - return nil -} - -type DeviceProps_HistorySyncConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"` - FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"` - StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"` - InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"` - RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"` - SupportCallLogHistory *bool `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"` - SupportBotUserAgentChatHistory *bool `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"` - SupportCagReactionsAndPolls *bool `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"` - SupportBizHostedMsg *bool `protobuf:"varint,9,opt,name=supportBizHostedMsg" json:"supportBizHostedMsg,omitempty"` - SupportRecentSyncChunkMessageCountTuning *bool `protobuf:"varint,10,opt,name=supportRecentSyncChunkMessageCountTuning" json:"supportRecentSyncChunkMessageCountTuning,omitempty"` -} - -func (x *DeviceProps_HistorySyncConfig) Reset() { - *x = DeviceProps_HistorySyncConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[218] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeviceProps_HistorySyncConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceProps_HistorySyncConfig) ProtoMessage() {} - -func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[218] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead. -func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0} -} - -func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 { - if x != nil && x.FullSyncDaysLimit != nil { - return *x.FullSyncDaysLimit - } - return 0 -} - -func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 { - if x != nil && x.FullSyncSizeMbLimit != nil { - return *x.FullSyncSizeMbLimit - } - return 0 -} - -func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 { - if x != nil && x.StorageQuotaMb != nil { - return *x.StorageQuotaMb - } - return 0 -} - -func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool { - if x != nil && x.InlineInitialPayloadInE2EeMsg != nil { - return *x.InlineInitialPayloadInE2EeMsg - } - return false -} - -func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 { - if x != nil && x.RecentSyncDaysLimit != nil { - return *x.RecentSyncDaysLimit - } - return 0 -} - -func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool { - if x != nil && x.SupportCallLogHistory != nil { - return *x.SupportCallLogHistory - } - return false -} - -func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool { - if x != nil && x.SupportBotUserAgentChatHistory != nil { - return *x.SupportBotUserAgentChatHistory - } - return false -} - -func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool { - if x != nil && x.SupportCagReactionsAndPolls != nil { - return *x.SupportCagReactionsAndPolls - } - return false -} - -func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool { - if x != nil && x.SupportBizHostedMsg != nil { - return *x.SupportBizHostedMsg - } - return false -} - -func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool { - if x != nil && x.SupportRecentSyncChunkMessageCountTuning != nil { - return *x.SupportRecentSyncChunkMessageCountTuning - } - return false -} - -type DeviceProps_AppVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"` - Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"` - Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"` - Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"` - Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"` -} - -func (x *DeviceProps_AppVersion) Reset() { - *x = DeviceProps_AppVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[219] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeviceProps_AppVersion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeviceProps_AppVersion) ProtoMessage() {} - -func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[219] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead. -func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 1} -} - -func (x *DeviceProps_AppVersion) GetPrimary() uint32 { - if x != nil && x.Primary != nil { - return *x.Primary - } - return 0 -} - -func (x *DeviceProps_AppVersion) GetSecondary() uint32 { - if x != nil && x.Secondary != nil { - return *x.Secondary - } - return 0 -} - -func (x *DeviceProps_AppVersion) GetTertiary() uint32 { - if x != nil && x.Tertiary != nil { - return *x.Tertiary - } - return 0 -} - -func (x *DeviceProps_AppVersion) GetQuaternary() uint32 { - if x != nil && x.Quaternary != nil { - return *x.Quaternary - } - return 0 -} - -func (x *DeviceProps_AppVersion) GetQuinary() uint32 { - if x != nil && x.Quinary != nil { - return *x.Quinary - } - return 0 -} - -type HighlyStructuredMessage_HSMLocalizableParameter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Default *string `protobuf:"bytes,1,opt,name=default" json:"default,omitempty"` - // Types that are assignable to ParamOneof: - // - // *HighlyStructuredMessage_HSMLocalizableParameter_Currency - // *HighlyStructuredMessage_HSMLocalizableParameter_DateTime - ParamOneof isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof `protobuf_oneof:"paramOneof"` -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter) Reset() { - *x = HighlyStructuredMessage_HSMLocalizableParameter{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[220] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter) ProtoMessage() {} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[220] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage_HSMLocalizableParameter) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0} -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string { - if x != nil && x.Default != nil { - return *x.Default - } - return "" -} - -func (m *HighlyStructuredMessage_HSMLocalizableParameter) GetParamOneof() isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof { - if m != nil { - return m.ParamOneof - } - return nil -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetCurrency() *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency { - if x, ok := x.GetParamOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_Currency); ok { - return x.Currency - } - return nil -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDateTime() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime { - if x, ok := x.GetParamOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_DateTime); ok { - return x.DateTime - } - return nil -} - -type isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof interface { - isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() -} - -type HighlyStructuredMessage_HSMLocalizableParameter_Currency struct { - Currency *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency `protobuf:"bytes,2,opt,name=currency,oneof"` -} - -type HighlyStructuredMessage_HSMLocalizableParameter_DateTime struct { - DateTime *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime `protobuf:"bytes,3,opt,name=dateTime,oneof"` -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_Currency) isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() { -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime) isHighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() { -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to DatetimeOneof: - // - // *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component - // *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch - DatetimeOneof isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof `protobuf_oneof:"datetimeOneof"` -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Reset() { - *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[221] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoMessage() {} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[221] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0} -} - -func (m *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof { - if m != nil { - return m.DatetimeOneof - } - return nil -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetComponent() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent { - if x, ok := x.GetDatetimeOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component); ok { - return x.Component - } - return nil -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetUnixEpoch() *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch { - if x, ok := x.GetDatetimeOneof().(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch); ok { - return x.UnixEpoch - } - return nil -} - -type isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof interface { - isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component struct { - Component *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent `protobuf:"bytes,1,opt,name=component,oneof"` -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch struct { - UnixEpoch *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch `protobuf:"bytes,2,opt,name=unixEpoch,oneof"` -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component) isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() { -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch) isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() { -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CurrencyCode *string `protobuf:"bytes,1,opt,name=currencyCode" json:"currencyCode,omitempty"` - Amount1000 *int64 `protobuf:"varint,2,opt,name=amount1000" json:"amount1000,omitempty"` -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Reset() { - *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[222] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoMessage() {} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[222] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 1} -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string { - if x != nil && x.CurrencyCode != nil { - return *x.CurrencyCode - } - return "" -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetAmount1000() int64 { - if x != nil && x.Amount1000 != nil { - return *x.Amount1000 - } - return 0 -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Reset() { - *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[223] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoMessage() { -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[223] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 0} -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 { - if x != nil && x.Timestamp != nil { - return *x.Timestamp - } - return 0 -} - -type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DayOfWeek *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType `protobuf:"varint,1,opt,name=dayOfWeek,enum=proto.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType" json:"dayOfWeek,omitempty"` - Year *uint32 `protobuf:"varint,2,opt,name=year" json:"year,omitempty"` - Month *uint32 `protobuf:"varint,3,opt,name=month" json:"month,omitempty"` - DayOfMonth *uint32 `protobuf:"varint,4,opt,name=dayOfMonth" json:"dayOfMonth,omitempty"` - Hour *uint32 `protobuf:"varint,5,opt,name=hour" json:"hour,omitempty"` - Minute *uint32 `protobuf:"varint,6,opt,name=minute" json:"minute,omitempty"` - Calendar *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType `protobuf:"varint,7,opt,name=calendar,enum=proto.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType" json:"calendar,omitempty"` -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Reset() { - *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[224] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoMessage() { -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[224] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent.ProtoReflect.Descriptor instead. -func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 1} -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { - if x != nil && x.DayOfWeek != nil { - return *x.DayOfWeek - } - return HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetYear() uint32 { - if x != nil && x.Year != nil { - return *x.Year - } - return 0 -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetMonth() uint32 { - if x != nil && x.Month != nil { - return *x.Month - } - return 0 -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfMonth() uint32 { - if x != nil && x.DayOfMonth != nil { - return *x.DayOfMonth - } - return 0 -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetHour() uint32 { - if x != nil && x.Hour != nil { - return *x.Hour - } - return 0 -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetMinute() uint32 { - if x != nil && x.Minute != nil { - return *x.Minute - } - return 0 -} - -func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetCalendar() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType { - if x != nil && x.Calendar != nil { - return *x.Calendar - } - return HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN -} - -type CallLogMessage_CallParticipant struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Jid *string `protobuf:"bytes,1,opt,name=jid" json:"jid,omitempty"` - CallOutcome *CallLogMessage_CallOutcome `protobuf:"varint,2,opt,name=callOutcome,enum=proto.CallLogMessage_CallOutcome" json:"callOutcome,omitempty"` -} - -func (x *CallLogMessage_CallParticipant) Reset() { - *x = CallLogMessage_CallParticipant{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[225] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CallLogMessage_CallParticipant) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallLogMessage_CallParticipant) ProtoMessage() {} - -func (x *CallLogMessage_CallParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[225] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallLogMessage_CallParticipant.ProtoReflect.Descriptor instead. -func (*CallLogMessage_CallParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 0} -} - -func (x *CallLogMessage_CallParticipant) GetJid() string { - if x != nil && x.Jid != nil { - return *x.Jid - } - return "" -} - -func (x *CallLogMessage_CallParticipant) GetCallOutcome() CallLogMessage_CallOutcome { - if x != nil && x.CallOutcome != nil { - return *x.CallOutcome - } - return CallLogMessage_CONNECTED -} - -type ButtonsMessage_Button struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ButtonId *string `protobuf:"bytes,1,opt,name=buttonId" json:"buttonId,omitempty"` - ButtonText *ButtonsMessage_Button_ButtonText `protobuf:"bytes,2,opt,name=buttonText" json:"buttonText,omitempty"` - Type *ButtonsMessage_Button_Type `protobuf:"varint,3,opt,name=type,enum=proto.ButtonsMessage_Button_Type" json:"type,omitempty"` - NativeFlowInfo *ButtonsMessage_Button_NativeFlowInfo `protobuf:"bytes,4,opt,name=nativeFlowInfo" json:"nativeFlowInfo,omitempty"` -} - -func (x *ButtonsMessage_Button) Reset() { - *x = ButtonsMessage_Button{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[226] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ButtonsMessage_Button) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ButtonsMessage_Button) ProtoMessage() {} - -func (x *ButtonsMessage_Button) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[226] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ButtonsMessage_Button.ProtoReflect.Descriptor instead. -func (*ButtonsMessage_Button) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0} -} - -func (x *ButtonsMessage_Button) GetButtonId() string { - if x != nil && x.ButtonId != nil { - return *x.ButtonId - } - return "" -} - -func (x *ButtonsMessage_Button) GetButtonText() *ButtonsMessage_Button_ButtonText { - if x != nil { - return x.ButtonText - } - return nil -} - -func (x *ButtonsMessage_Button) GetType() ButtonsMessage_Button_Type { - if x != nil && x.Type != nil { - return *x.Type - } - return ButtonsMessage_Button_UNKNOWN -} - -func (x *ButtonsMessage_Button) GetNativeFlowInfo() *ButtonsMessage_Button_NativeFlowInfo { - if x != nil { - return x.NativeFlowInfo - } - return nil -} - -type ButtonsMessage_Button_NativeFlowInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - ParamsJson *string `protobuf:"bytes,2,opt,name=paramsJson" json:"paramsJson,omitempty"` -} - -func (x *ButtonsMessage_Button_NativeFlowInfo) Reset() { - *x = ButtonsMessage_Button_NativeFlowInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[227] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ButtonsMessage_Button_NativeFlowInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ButtonsMessage_Button_NativeFlowInfo) ProtoMessage() {} - -func (x *ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[227] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ButtonsMessage_Button_NativeFlowInfo.ProtoReflect.Descriptor instead. -func (*ButtonsMessage_Button_NativeFlowInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0, 0} -} - -func (x *ButtonsMessage_Button_NativeFlowInfo) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *ButtonsMessage_Button_NativeFlowInfo) GetParamsJson() string { - if x != nil && x.ParamsJson != nil { - return *x.ParamsJson - } - return "" -} - -type ButtonsMessage_Button_ButtonText struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` -} - -func (x *ButtonsMessage_Button_ButtonText) Reset() { - *x = ButtonsMessage_Button_ButtonText{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[228] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ButtonsMessage_Button_ButtonText) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ButtonsMessage_Button_ButtonText) ProtoMessage() {} - -func (x *ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[228] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ButtonsMessage_Button_ButtonText.ProtoReflect.Descriptor instead. -func (*ButtonsMessage_Button_ButtonText) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0, 1} -} - -func (x *ButtonsMessage_Button_ButtonText) GetDisplayText() string { - if x != nil && x.DisplayText != nil { - return *x.DisplayText - } - return "" -} - -type HydratedTemplateButton_HydratedURLButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` - ConsentedUsersUrl *string `protobuf:"bytes,3,opt,name=consentedUsersUrl" json:"consentedUsersUrl,omitempty"` - WebviewPresentation *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType `protobuf:"varint,4,opt,name=webviewPresentation,enum=proto.HydratedTemplateButton_HydratedURLButton_WebviewPresentationType" json:"webviewPresentation,omitempty"` -} - -func (x *HydratedTemplateButton_HydratedURLButton) Reset() { - *x = HydratedTemplateButton_HydratedURLButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[229] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HydratedTemplateButton_HydratedURLButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HydratedTemplateButton_HydratedURLButton) ProtoMessage() {} - -func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[229] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HydratedTemplateButton_HydratedURLButton.ProtoReflect.Descriptor instead. -func (*HydratedTemplateButton_HydratedURLButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 0} -} - -func (x *HydratedTemplateButton_HydratedURLButton) GetDisplayText() string { - if x != nil && x.DisplayText != nil { - return *x.DisplayText - } - return "" -} - -func (x *HydratedTemplateButton_HydratedURLButton) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *HydratedTemplateButton_HydratedURLButton) GetConsentedUsersUrl() string { - if x != nil && x.ConsentedUsersUrl != nil { - return *x.ConsentedUsersUrl - } - return "" -} - -func (x *HydratedTemplateButton_HydratedURLButton) GetWebviewPresentation() HydratedTemplateButton_HydratedURLButton_WebviewPresentationType { - if x != nil && x.WebviewPresentation != nil { - return *x.WebviewPresentation - } - return HydratedTemplateButton_HydratedURLButton_FULL -} - -type HydratedTemplateButton_HydratedQuickReplyButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` -} - -func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() { - *x = HydratedTemplateButton_HydratedQuickReplyButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[230] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HydratedTemplateButton_HydratedQuickReplyButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HydratedTemplateButton_HydratedQuickReplyButton) ProtoMessage() {} - -func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[230] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HydratedTemplateButton_HydratedQuickReplyButton.ProtoReflect.Descriptor instead. -func (*HydratedTemplateButton_HydratedQuickReplyButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 1} -} - -func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetDisplayText() string { - if x != nil && x.DisplayText != nil { - return *x.DisplayText - } - return "" -} - -func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -type HydratedTemplateButton_HydratedCallButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - PhoneNumber *string `protobuf:"bytes,2,opt,name=phoneNumber" json:"phoneNumber,omitempty"` -} - -func (x *HydratedTemplateButton_HydratedCallButton) Reset() { - *x = HydratedTemplateButton_HydratedCallButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[231] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HydratedTemplateButton_HydratedCallButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HydratedTemplateButton_HydratedCallButton) ProtoMessage() {} - -func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[231] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HydratedTemplateButton_HydratedCallButton.ProtoReflect.Descriptor instead. -func (*HydratedTemplateButton_HydratedCallButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 2} -} - -func (x *HydratedTemplateButton_HydratedCallButton) GetDisplayText() string { - if x != nil && x.DisplayText != nil { - return *x.DisplayText - } - return "" -} - -func (x *HydratedTemplateButton_HydratedCallButton) GetPhoneNumber() string { - if x != nil && x.PhoneNumber != nil { - return *x.PhoneNumber - } - return "" -} - -type ContextInfo_UTMInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UtmSource *string `protobuf:"bytes,1,opt,name=utmSource" json:"utmSource,omitempty"` - UtmCampaign *string `protobuf:"bytes,2,opt,name=utmCampaign" json:"utmCampaign,omitempty"` -} - -func (x *ContextInfo_UTMInfo) Reset() { - *x = ContextInfo_UTMInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[232] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo_UTMInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo_UTMInfo) ProtoMessage() {} - -func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[232] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo_UTMInfo.ProtoReflect.Descriptor instead. -func (*ContextInfo_UTMInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 0} -} - -func (x *ContextInfo_UTMInfo) GetUtmSource() string { - if x != nil && x.UtmSource != nil { - return *x.UtmSource - } - return "" -} - -func (x *ContextInfo_UTMInfo) GetUtmCampaign() string { - if x != nil && x.UtmCampaign != nil { - return *x.UtmCampaign - } - return "" -} - -type ContextInfo_ExternalAdReplyInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Body *string `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` - MediaType *ContextInfo_ExternalAdReplyInfo_MediaType `protobuf:"varint,3,opt,name=mediaType,enum=proto.ContextInfo_ExternalAdReplyInfo_MediaType" json:"mediaType,omitempty"` - ThumbnailUrl *string `protobuf:"bytes,4,opt,name=thumbnailUrl" json:"thumbnailUrl,omitempty"` - MediaUrl *string `protobuf:"bytes,5,opt,name=mediaUrl" json:"mediaUrl,omitempty"` - Thumbnail []byte `protobuf:"bytes,6,opt,name=thumbnail" json:"thumbnail,omitempty"` - SourceType *string `protobuf:"bytes,7,opt,name=sourceType" json:"sourceType,omitempty"` - SourceId *string `protobuf:"bytes,8,opt,name=sourceId" json:"sourceId,omitempty"` - SourceUrl *string `protobuf:"bytes,9,opt,name=sourceUrl" json:"sourceUrl,omitempty"` - ContainsAutoReply *bool `protobuf:"varint,10,opt,name=containsAutoReply" json:"containsAutoReply,omitempty"` - RenderLargerThumbnail *bool `protobuf:"varint,11,opt,name=renderLargerThumbnail" json:"renderLargerThumbnail,omitempty"` - ShowAdAttribution *bool `protobuf:"varint,12,opt,name=showAdAttribution" json:"showAdAttribution,omitempty"` - CtwaClid *string `protobuf:"bytes,13,opt,name=ctwaClid" json:"ctwaClid,omitempty"` - Ref *string `protobuf:"bytes,14,opt,name=ref" json:"ref,omitempty"` -} - -func (x *ContextInfo_ExternalAdReplyInfo) Reset() { - *x = ContextInfo_ExternalAdReplyInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[233] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo_ExternalAdReplyInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo_ExternalAdReplyInfo) ProtoMessage() {} - -func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[233] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo_ExternalAdReplyInfo.ProtoReflect.Descriptor instead. -func (*ContextInfo_ExternalAdReplyInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1} -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetBody() string { - if x != nil && x.Body != nil { - return *x.Body - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetMediaType() ContextInfo_ExternalAdReplyInfo_MediaType { - if x != nil && x.MediaType != nil { - return *x.MediaType - } - return ContextInfo_ExternalAdReplyInfo_NONE -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetThumbnailUrl() string { - if x != nil && x.ThumbnailUrl != nil { - return *x.ThumbnailUrl - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetMediaUrl() string { - if x != nil && x.MediaUrl != nil { - return *x.MediaUrl - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetThumbnail() []byte { - if x != nil { - return x.Thumbnail - } - return nil -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetSourceType() string { - if x != nil && x.SourceType != nil { - return *x.SourceType - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetSourceId() string { - if x != nil && x.SourceId != nil { - return *x.SourceId - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetSourceUrl() string { - if x != nil && x.SourceUrl != nil { - return *x.SourceUrl - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetContainsAutoReply() bool { - if x != nil && x.ContainsAutoReply != nil { - return *x.ContainsAutoReply - } - return false -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetRenderLargerThumbnail() bool { - if x != nil && x.RenderLargerThumbnail != nil { - return *x.RenderLargerThumbnail - } - return false -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetShowAdAttribution() bool { - if x != nil && x.ShowAdAttribution != nil { - return *x.ShowAdAttribution - } - return false -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetCtwaClid() string { - if x != nil && x.CtwaClid != nil { - return *x.CtwaClid - } - return "" -} - -func (x *ContextInfo_ExternalAdReplyInfo) GetRef() string { - if x != nil && x.Ref != nil { - return *x.Ref - } - return "" -} - -type ContextInfo_DataSharingContext struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ShowMmDisclosure *bool `protobuf:"varint,1,opt,name=showMmDisclosure" json:"showMmDisclosure,omitempty"` -} - -func (x *ContextInfo_DataSharingContext) Reset() { - *x = ContextInfo_DataSharingContext{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[234] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo_DataSharingContext) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo_DataSharingContext) ProtoMessage() {} - -func (x *ContextInfo_DataSharingContext) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[234] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo_DataSharingContext.ProtoReflect.Descriptor instead. -func (*ContextInfo_DataSharingContext) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2} -} - -func (x *ContextInfo_DataSharingContext) GetShowMmDisclosure() bool { - if x != nil && x.ShowMmDisclosure != nil { - return *x.ShowMmDisclosure - } - return false -} - -type ContextInfo_BusinessMessageForwardInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BusinessOwnerJid *string `protobuf:"bytes,1,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` -} - -func (x *ContextInfo_BusinessMessageForwardInfo) Reset() { - *x = ContextInfo_BusinessMessageForwardInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[235] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo_BusinessMessageForwardInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo_BusinessMessageForwardInfo) ProtoMessage() {} - -func (x *ContextInfo_BusinessMessageForwardInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[235] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo_BusinessMessageForwardInfo.ProtoReflect.Descriptor instead. -func (*ContextInfo_BusinessMessageForwardInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 3} -} - -func (x *ContextInfo_BusinessMessageForwardInfo) GetBusinessOwnerJid() string { - if x != nil && x.BusinessOwnerJid != nil { - return *x.BusinessOwnerJid - } - return "" -} - -type ContextInfo_AdReplyInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AdvertiserName *string `protobuf:"bytes,1,opt,name=advertiserName" json:"advertiserName,omitempty"` - MediaType *ContextInfo_AdReplyInfo_MediaType `protobuf:"varint,2,opt,name=mediaType,enum=proto.ContextInfo_AdReplyInfo_MediaType" json:"mediaType,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - Caption *string `protobuf:"bytes,17,opt,name=caption" json:"caption,omitempty"` -} - -func (x *ContextInfo_AdReplyInfo) Reset() { - *x = ContextInfo_AdReplyInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[236] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo_AdReplyInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo_AdReplyInfo) ProtoMessage() {} - -func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[236] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo_AdReplyInfo.ProtoReflect.Descriptor instead. -func (*ContextInfo_AdReplyInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4} -} - -func (x *ContextInfo_AdReplyInfo) GetAdvertiserName() string { - if x != nil && x.AdvertiserName != nil { - return *x.AdvertiserName - } - return "" -} - -func (x *ContextInfo_AdReplyInfo) GetMediaType() ContextInfo_AdReplyInfo_MediaType { - if x != nil && x.MediaType != nil { - return *x.MediaType - } - return ContextInfo_AdReplyInfo_NONE -} - -func (x *ContextInfo_AdReplyInfo) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *ContextInfo_AdReplyInfo) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -type TemplateButton_URLButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - Url *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` -} - -func (x *TemplateButton_URLButton) Reset() { - *x = TemplateButton_URLButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[237] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateButton_URLButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateButton_URLButton) ProtoMessage() {} - -func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[237] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateButton_URLButton.ProtoReflect.Descriptor instead. -func (*TemplateButton_URLButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 0} -} - -func (x *TemplateButton_URLButton) GetDisplayText() *HighlyStructuredMessage { - if x != nil { - return x.DisplayText - } - return nil -} - -func (x *TemplateButton_URLButton) GetUrl() *HighlyStructuredMessage { - if x != nil { - return x.Url - } - return nil -} - -type TemplateButton_QuickReplyButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` -} - -func (x *TemplateButton_QuickReplyButton) Reset() { - *x = TemplateButton_QuickReplyButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[238] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateButton_QuickReplyButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateButton_QuickReplyButton) ProtoMessage() {} - -func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[238] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateButton_QuickReplyButton.ProtoReflect.Descriptor instead. -func (*TemplateButton_QuickReplyButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 1} -} - -func (x *TemplateButton_QuickReplyButton) GetDisplayText() *HighlyStructuredMessage { - if x != nil { - return x.DisplayText - } - return nil -} - -func (x *TemplateButton_QuickReplyButton) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -type TemplateButton_CallButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DisplayText *HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - PhoneNumber *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=phoneNumber" json:"phoneNumber,omitempty"` -} - -func (x *TemplateButton_CallButton) Reset() { - *x = TemplateButton_CallButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[239] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateButton_CallButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateButton_CallButton) ProtoMessage() {} - -func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[239] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateButton_CallButton.ProtoReflect.Descriptor instead. -func (*TemplateButton_CallButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 2} -} - -func (x *TemplateButton_CallButton) GetDisplayText() *HighlyStructuredMessage { - if x != nil { - return x.DisplayText - } - return nil -} - -func (x *TemplateButton_CallButton) GetPhoneNumber() *HighlyStructuredMessage { - if x != nil { - return x.PhoneNumber - } - return nil -} - -type PaymentBackground_MediaData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,2,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"` -} - -func (x *PaymentBackground_MediaData) Reset() { - *x = PaymentBackground_MediaData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[240] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaymentBackground_MediaData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaymentBackground_MediaData) ProtoMessage() {} - -func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[240] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaymentBackground_MediaData.ProtoReflect.Descriptor instead. -func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{57, 0} -} - -func (x *PaymentBackground_MediaData) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *PaymentBackground_MediaData) GetMediaKeyTimestamp() int64 { - if x != nil && x.MediaKeyTimestamp != nil { - return *x.MediaKeyTimestamp - } - return 0 -} - -func (x *PaymentBackground_MediaData) GetFileSha256() []byte { - if x != nil { - return x.FileSha256 - } - return nil -} - -func (x *PaymentBackground_MediaData) GetFileEncSha256() []byte { - if x != nil { - return x.FileEncSha256 - } - return nil -} - -func (x *PaymentBackground_MediaData) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -type TemplateMessage_HydratedFourRowTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HydratedContentText *string `protobuf:"bytes,6,opt,name=hydratedContentText" json:"hydratedContentText,omitempty"` - HydratedFooterText *string `protobuf:"bytes,7,opt,name=hydratedFooterText" json:"hydratedFooterText,omitempty"` - HydratedButtons []*HydratedTemplateButton `protobuf:"bytes,8,rep,name=hydratedButtons" json:"hydratedButtons,omitempty"` - TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"` - MaskLinkedDevices *bool `protobuf:"varint,10,opt,name=maskLinkedDevices" json:"maskLinkedDevices,omitempty"` - // Types that are assignable to Title: - // - // *TemplateMessage_HydratedFourRowTemplate_DocumentMessage - // *TemplateMessage_HydratedFourRowTemplate_HydratedTitleText - // *TemplateMessage_HydratedFourRowTemplate_ImageMessage - // *TemplateMessage_HydratedFourRowTemplate_VideoMessage - // *TemplateMessage_HydratedFourRowTemplate_LocationMessage - Title isTemplateMessage_HydratedFourRowTemplate_Title `protobuf_oneof:"title"` -} - -func (x *TemplateMessage_HydratedFourRowTemplate) Reset() { - *x = TemplateMessage_HydratedFourRowTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[241] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateMessage_HydratedFourRowTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {} - -func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[241] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead. -func (*TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{63, 0} -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string { - if x != nil && x.HydratedContentText != nil { - return *x.HydratedContentText - } - return "" -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedFooterText() string { - if x != nil && x.HydratedFooterText != nil { - return *x.HydratedFooterText - } - return "" -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedButtons() []*HydratedTemplateButton { - if x != nil { - return x.HydratedButtons - } - return nil -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetTemplateId() string { - if x != nil && x.TemplateId != nil { - return *x.TemplateId - } - return "" -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetMaskLinkedDevices() bool { - if x != nil && x.MaskLinkedDevices != nil { - return *x.MaskLinkedDevices - } - return false -} - -func (m *TemplateMessage_HydratedFourRowTemplate) GetTitle() isTemplateMessage_HydratedFourRowTemplate_Title { - if m != nil { - return m.Title - } - return nil -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_DocumentMessage); ok { - return x.DocumentMessage - } - return nil -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedTitleText() string { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText); ok { - return x.HydratedTitleText - } - return "" -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetImageMessage() *ImageMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_ImageMessage); ok { - return x.ImageMessage - } - return nil -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetVideoMessage() *VideoMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_VideoMessage); ok { - return x.VideoMessage - } - return nil -} - -func (x *TemplateMessage_HydratedFourRowTemplate) GetLocationMessage() *LocationMessage { - if x, ok := x.GetTitle().(*TemplateMessage_HydratedFourRowTemplate_LocationMessage); ok { - return x.LocationMessage - } - return nil -} - -type isTemplateMessage_HydratedFourRowTemplate_Title interface { - isTemplateMessage_HydratedFourRowTemplate_Title() -} - -type TemplateMessage_HydratedFourRowTemplate_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"` -} - -type TemplateMessage_HydratedFourRowTemplate_HydratedTitleText struct { - HydratedTitleText string `protobuf:"bytes,2,opt,name=hydratedTitleText,oneof"` -} - -type TemplateMessage_HydratedFourRowTemplate_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` -} - -type TemplateMessage_HydratedFourRowTemplate_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` -} - -type TemplateMessage_HydratedFourRowTemplate_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` -} - -func (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { -} - -func (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText) isTemplateMessage_HydratedFourRowTemplate_Title() { -} - -func (*TemplateMessage_HydratedFourRowTemplate_ImageMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { -} - -func (*TemplateMessage_HydratedFourRowTemplate_VideoMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { -} - -func (*TemplateMessage_HydratedFourRowTemplate_LocationMessage) isTemplateMessage_HydratedFourRowTemplate_Title() { -} - -type TemplateMessage_FourRowTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Content *HighlyStructuredMessage `protobuf:"bytes,6,opt,name=content" json:"content,omitempty"` - Footer *HighlyStructuredMessage `protobuf:"bytes,7,opt,name=footer" json:"footer,omitempty"` - Buttons []*TemplateButton `protobuf:"bytes,8,rep,name=buttons" json:"buttons,omitempty"` - // Types that are assignable to Title: - // - // *TemplateMessage_FourRowTemplate_DocumentMessage - // *TemplateMessage_FourRowTemplate_HighlyStructuredMessage - // *TemplateMessage_FourRowTemplate_ImageMessage - // *TemplateMessage_FourRowTemplate_VideoMessage - // *TemplateMessage_FourRowTemplate_LocationMessage - Title isTemplateMessage_FourRowTemplate_Title `protobuf_oneof:"title"` -} - -func (x *TemplateMessage_FourRowTemplate) Reset() { - *x = TemplateMessage_FourRowTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[242] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TemplateMessage_FourRowTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TemplateMessage_FourRowTemplate) ProtoMessage() {} - -func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[242] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead. -func (*TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{63, 1} -} - -func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage { - if x != nil { - return x.Content - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetFooter() *HighlyStructuredMessage { - if x != nil { - return x.Footer - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetButtons() []*TemplateButton { - if x != nil { - return x.Buttons - } - return nil -} - -func (m *TemplateMessage_FourRowTemplate) GetTitle() isTemplateMessage_FourRowTemplate_Title { - if m != nil { - return m.Title - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_DocumentMessage); ok { - return x.DocumentMessage - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetHighlyStructuredMessage() *HighlyStructuredMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_HighlyStructuredMessage); ok { - return x.HighlyStructuredMessage - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetImageMessage() *ImageMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_ImageMessage); ok { - return x.ImageMessage - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetVideoMessage() *VideoMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_VideoMessage); ok { - return x.VideoMessage - } - return nil -} - -func (x *TemplateMessage_FourRowTemplate) GetLocationMessage() *LocationMessage { - if x, ok := x.GetTitle().(*TemplateMessage_FourRowTemplate_LocationMessage); ok { - return x.LocationMessage - } - return nil -} - -type isTemplateMessage_FourRowTemplate_Title interface { - isTemplateMessage_FourRowTemplate_Title() -} - -type TemplateMessage_FourRowTemplate_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,oneof"` -} - -type TemplateMessage_FourRowTemplate_HighlyStructuredMessage struct { - HighlyStructuredMessage *HighlyStructuredMessage `protobuf:"bytes,2,opt,name=highlyStructuredMessage,oneof"` -} - -type TemplateMessage_FourRowTemplate_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,oneof"` -} - -type TemplateMessage_FourRowTemplate_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,oneof"` -} - -type TemplateMessage_FourRowTemplate_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,oneof"` -} - -func (*TemplateMessage_FourRowTemplate_DocumentMessage) isTemplateMessage_FourRowTemplate_Title() {} - -func (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage) isTemplateMessage_FourRowTemplate_Title() { -} - -func (*TemplateMessage_FourRowTemplate_ImageMessage) isTemplateMessage_FourRowTemplate_Title() {} - -func (*TemplateMessage_FourRowTemplate_VideoMessage) isTemplateMessage_FourRowTemplate_Title() {} - -func (*TemplateMessage_FourRowTemplate_LocationMessage) isTemplateMessage_FourRowTemplate_Title() {} - -type ProductMessage_ProductSnapshot struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductImage *ImageMessage `protobuf:"bytes,1,opt,name=productImage" json:"productImage,omitempty"` - ProductId *string `protobuf:"bytes,2,opt,name=productId" json:"productId,omitempty"` - Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` - CurrencyCode *string `protobuf:"bytes,5,opt,name=currencyCode" json:"currencyCode,omitempty"` - PriceAmount1000 *int64 `protobuf:"varint,6,opt,name=priceAmount1000" json:"priceAmount1000,omitempty"` - RetailerId *string `protobuf:"bytes,7,opt,name=retailerId" json:"retailerId,omitempty"` - Url *string `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"` - ProductImageCount *uint32 `protobuf:"varint,9,opt,name=productImageCount" json:"productImageCount,omitempty"` - FirstImageId *string `protobuf:"bytes,11,opt,name=firstImageId" json:"firstImageId,omitempty"` - SalePriceAmount1000 *int64 `protobuf:"varint,12,opt,name=salePriceAmount1000" json:"salePriceAmount1000,omitempty"` -} - -func (x *ProductMessage_ProductSnapshot) Reset() { - *x = ProductMessage_ProductSnapshot{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[243] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProductMessage_ProductSnapshot) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProductMessage_ProductSnapshot) ProtoMessage() {} - -func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[243] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead. -func (*ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0} -} - -func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage { - if x != nil { - return x.ProductImage - } - return nil -} - -func (x *ProductMessage_ProductSnapshot) GetProductId() string { - if x != nil && x.ProductId != nil { - return *x.ProductId - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetCurrencyCode() string { - if x != nil && x.CurrencyCode != nil { - return *x.CurrencyCode - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetPriceAmount1000() int64 { - if x != nil && x.PriceAmount1000 != nil { - return *x.PriceAmount1000 - } - return 0 -} - -func (x *ProductMessage_ProductSnapshot) GetRetailerId() string { - if x != nil && x.RetailerId != nil { - return *x.RetailerId - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetProductImageCount() uint32 { - if x != nil && x.ProductImageCount != nil { - return *x.ProductImageCount - } - return 0 -} - -func (x *ProductMessage_ProductSnapshot) GetFirstImageId() string { - if x != nil && x.FirstImageId != nil { - return *x.FirstImageId - } - return "" -} - -func (x *ProductMessage_ProductSnapshot) GetSalePriceAmount1000() int64 { - if x != nil && x.SalePriceAmount1000 != nil { - return *x.SalePriceAmount1000 - } - return 0 -} - -type ProductMessage_CatalogSnapshot struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CatalogImage *ImageMessage `protobuf:"bytes,1,opt,name=catalogImage" json:"catalogImage,omitempty"` - Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` -} - -func (x *ProductMessage_CatalogSnapshot) Reset() { - *x = ProductMessage_CatalogSnapshot{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[244] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProductMessage_CatalogSnapshot) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProductMessage_CatalogSnapshot) ProtoMessage() {} - -func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[244] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead. -func (*ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 1} -} - -func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage { - if x != nil { - return x.CatalogImage - } - return nil -} - -func (x *ProductMessage_CatalogSnapshot) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ProductMessage_CatalogSnapshot) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -type PollCreationMessage_Option struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"` -} - -func (x *PollCreationMessage_Option) Reset() { - *x = PollCreationMessage_Option{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[245] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PollCreationMessage_Option) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PollCreationMessage_Option) ProtoMessage() {} - -func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[245] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PollCreationMessage_Option.ProtoReflect.Descriptor instead. -func (*PollCreationMessage_Option) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0} -} - -func (x *PollCreationMessage_Option) GetOptionName() string { - if x != nil && x.OptionName != nil { - return *x.OptionName - } - return "" -} - -type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MediaUploadResult *MediaRetryNotification_ResultType `protobuf:"varint,1,opt,name=mediaUploadResult,enum=proto.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"` - StickerMessage *StickerMessage `protobuf:"bytes,2,opt,name=stickerMessage" json:"stickerMessage,omitempty"` - LinkPreviewResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse `protobuf:"bytes,3,opt,name=linkPreviewResponse" json:"linkPreviewResponse,omitempty"` - PlaceholderMessageResendResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse `protobuf:"bytes,4,opt,name=placeholderMessageResendResponse" json:"placeholderMessageResendResponse,omitempty"` -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() { - *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[246] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[246] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0} -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() MediaRetryNotification_ResultType { - if x != nil && x.MediaUploadResult != nil { - return *x.MediaUploadResult - } - return MediaRetryNotification_GENERAL_ERROR -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetStickerMessage() *StickerMessage { - if x != nil { - return x.StickerMessage - } - return nil -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLinkPreviewResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse { - if x != nil { - return x.LinkPreviewResponse - } - return nil -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetPlaceholderMessageResendResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse { - if x != nil { - return x.PlaceholderMessageResendResponse - } - return nil -} - -type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WebMessageInfoBytes []byte `protobuf:"bytes,1,opt,name=webMessageInfoBytes" json:"webMessageInfoBytes,omitempty"` -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Reset() { - *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[247] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoMessage() { -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[247] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0, 0} -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) GetWebMessageInfoBytes() []byte { - if x != nil { - return x.WebMessageInfoBytes - } - return nil -} - -type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` - ThumbData []byte `protobuf:"bytes,4,opt,name=thumbData" json:"thumbData,omitempty"` - CanonicalUrl *string `protobuf:"bytes,5,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"` - MatchText *string `protobuf:"bytes,6,opt,name=matchText" json:"matchText,omitempty"` - PreviewType *string `protobuf:"bytes,7,opt,name=previewType" json:"previewType,omitempty"` - HqThumbnail *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail `protobuf:"bytes,8,opt,name=hqThumbnail" json:"hqThumbnail,omitempty"` -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() { - *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[248] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoMessage() { -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[248] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0, 1} -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetThumbData() []byte { - if x != nil { - return x.ThumbData - } - return nil -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetCanonicalUrl() string { - if x != nil && x.CanonicalUrl != nil { - return *x.CanonicalUrl - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetMatchText() string { - if x != nil && x.MatchText != nil { - return *x.MatchText - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetPreviewType() string { - if x != nil && x.PreviewType != nil { - return *x.PreviewType - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetHqThumbnail() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail { - if x != nil { - return x.HqThumbnail - } - return nil -} - -type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DirectPath *string `protobuf:"bytes,1,opt,name=directPath" json:"directPath,omitempty"` - ThumbHash *string `protobuf:"bytes,2,opt,name=thumbHash" json:"thumbHash,omitempty"` - EncThumbHash *string `protobuf:"bytes,3,opt,name=encThumbHash" json:"encThumbHash,omitempty"` - MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` - MediaKeyTimestampMs *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestampMs" json:"mediaKeyTimestampMs,omitempty"` - ThumbWidth *int32 `protobuf:"varint,6,opt,name=thumbWidth" json:"thumbWidth,omitempty"` - ThumbHeight *int32 `protobuf:"varint,7,opt,name=thumbHeight" json:"thumbHeight,omitempty"` -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Reset() { - *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[249] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoMessage() { -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[249] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0, 1, 0} -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetDirectPath() string { - if x != nil && x.DirectPath != nil { - return *x.DirectPath - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHash() string { - if x != nil && x.ThumbHash != nil { - return *x.ThumbHash - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetEncThumbHash() string { - if x != nil && x.EncThumbHash != nil { - return *x.EncThumbHash - } - return "" -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKey() []byte { - if x != nil { - return x.MediaKey - } - return nil -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKeyTimestampMs() int64 { - if x != nil && x.MediaKeyTimestampMs != nil { - return *x.MediaKeyTimestampMs - } - return 0 -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbWidth() int32 { - if x != nil && x.ThumbWidth != nil { - return *x.ThumbWidth - } - return 0 -} - -func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHeight() int32 { - if x != nil && x.ThumbHeight != nil { - return *x.ThumbHeight - } - return 0 -} - -type PeerDataOperationRequestMessage_RequestUrlPreview struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - IncludeHqThumbnail *bool `protobuf:"varint,2,opt,name=includeHqThumbnail" json:"includeHqThumbnail,omitempty"` -} - -func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() { - *x = PeerDataOperationRequestMessage_RequestUrlPreview{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[250] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {} - -func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[250] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 0} -} - -func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string { - if x != nil && x.Url != nil { - return *x.Url - } - return "" -} - -func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetIncludeHqThumbnail() bool { - if x != nil && x.IncludeHqThumbnail != nil { - return *x.IncludeHqThumbnail - } - return false -} - -type PeerDataOperationRequestMessage_RequestStickerReupload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"` -} - -func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() { - *x = PeerDataOperationRequestMessage_RequestStickerReupload{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[251] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {} - -func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[251] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 1} -} - -func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string { - if x != nil && x.FileSha256 != nil { - return *x.FileSha256 - } - return "" -} - -type PeerDataOperationRequestMessage_PlaceholderMessageResendRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"` -} - -func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Reset() { - *x = PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[252] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoMessage() {} - -func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[252] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestMessage_PlaceholderMessageResendRequest.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 2} -} - -func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) GetMessageKey() *MessageKey { - if x != nil { - return x.MessageKey - } - return nil -} - -type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChatJid *string `protobuf:"bytes,1,opt,name=chatJid" json:"chatJid,omitempty"` - OldestMsgId *string `protobuf:"bytes,2,opt,name=oldestMsgId" json:"oldestMsgId,omitempty"` - OldestMsgFromMe *bool `protobuf:"varint,3,opt,name=oldestMsgFromMe" json:"oldestMsgFromMe,omitempty"` - OnDemandMsgCount *int32 `protobuf:"varint,4,opt,name=onDemandMsgCount" json:"onDemandMsgCount,omitempty"` - OldestMsgTimestampMs *int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMs" json:"oldestMsgTimestampMs,omitempty"` -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() { - *x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[253] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[253] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead. -func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 3} -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string { - if x != nil && x.ChatJid != nil { - return *x.ChatJid - } - return "" -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgId() string { - if x != nil && x.OldestMsgId != nil { - return *x.OldestMsgId - } - return "" -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool { - if x != nil && x.OldestMsgFromMe != nil { - return *x.OldestMsgFromMe - } - return false -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 { - if x != nil && x.OnDemandMsgCount != nil { - return *x.OnDemandMsgCount - } - return 0 -} - -func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMs() int64 { - if x != nil && x.OldestMsgTimestampMs != nil { - return *x.OldestMsgTimestampMs - } - return 0 -} - -type ListResponseMessage_SingleSelectReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedRowId *string `protobuf:"bytes,1,opt,name=selectedRowId" json:"selectedRowId,omitempty"` -} - -func (x *ListResponseMessage_SingleSelectReply) Reset() { - *x = ListResponseMessage_SingleSelectReply{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[254] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListResponseMessage_SingleSelectReply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListResponseMessage_SingleSelectReply) ProtoMessage() {} - -func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[254] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead. -func (*ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0} -} - -func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string { - if x != nil && x.SelectedRowId != nil { - return *x.SelectedRowId - } - return "" -} - -type ListMessage_Section struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Rows []*ListMessage_Row `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` -} - -func (x *ListMessage_Section) Reset() { - *x = ListMessage_Section{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[255] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_Section) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_Section) ProtoMessage() {} - -func (x *ListMessage_Section) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[255] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_Section.ProtoReflect.Descriptor instead. -func (*ListMessage_Section) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 0} -} - -func (x *ListMessage_Section) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage_Section) GetRows() []*ListMessage_Row { - if x != nil { - return x.Rows - } - return nil -} - -type ListMessage_Row struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - RowId *string `protobuf:"bytes,3,opt,name=rowId" json:"rowId,omitempty"` -} - -func (x *ListMessage_Row) Reset() { - *x = ListMessage_Row{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[256] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_Row) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_Row) ProtoMessage() {} - -func (x *ListMessage_Row) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[256] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_Row.ProtoReflect.Descriptor instead. -func (*ListMessage_Row) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 1} -} - -func (x *ListMessage_Row) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage_Row) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *ListMessage_Row) GetRowId() string { - if x != nil && x.RowId != nil { - return *x.RowId - } - return "" -} - -type ListMessage_Product struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"` -} - -func (x *ListMessage_Product) Reset() { - *x = ListMessage_Product{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[257] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_Product) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_Product) ProtoMessage() {} - -func (x *ListMessage_Product) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[257] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_Product.ProtoReflect.Descriptor instead. -func (*ListMessage_Product) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 2} -} - -func (x *ListMessage_Product) GetProductId() string { - if x != nil && x.ProductId != nil { - return *x.ProductId - } - return "" -} - -type ListMessage_ProductSection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Products []*ListMessage_Product `protobuf:"bytes,2,rep,name=products" json:"products,omitempty"` -} - -func (x *ListMessage_ProductSection) Reset() { - *x = ListMessage_ProductSection{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[258] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_ProductSection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_ProductSection) ProtoMessage() {} - -func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[258] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_ProductSection.ProtoReflect.Descriptor instead. -func (*ListMessage_ProductSection) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 3} -} - -func (x *ListMessage_ProductSection) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage_ProductSection) GetProducts() []*ListMessage_Product { - if x != nil { - return x.Products - } - return nil -} - -type ListMessage_ProductListInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductSections []*ListMessage_ProductSection `protobuf:"bytes,1,rep,name=productSections" json:"productSections,omitempty"` - HeaderImage *ListMessage_ProductListHeaderImage `protobuf:"bytes,2,opt,name=headerImage" json:"headerImage,omitempty"` - BusinessOwnerJid *string `protobuf:"bytes,3,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` -} - -func (x *ListMessage_ProductListInfo) Reset() { - *x = ListMessage_ProductListInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[259] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_ProductListInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_ProductListInfo) ProtoMessage() {} - -func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[259] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_ProductListInfo.ProtoReflect.Descriptor instead. -func (*ListMessage_ProductListInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 4} -} - -func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection { - if x != nil { - return x.ProductSections - } - return nil -} - -func (x *ListMessage_ProductListInfo) GetHeaderImage() *ListMessage_ProductListHeaderImage { - if x != nil { - return x.HeaderImage - } - return nil -} - -func (x *ListMessage_ProductListInfo) GetBusinessOwnerJid() string { - if x != nil && x.BusinessOwnerJid != nil { - return *x.BusinessOwnerJid - } - return "" -} - -type ListMessage_ProductListHeaderImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,2,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` -} - -func (x *ListMessage_ProductListHeaderImage) Reset() { - *x = ListMessage_ProductListHeaderImage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[260] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_ProductListHeaderImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_ProductListHeaderImage) ProtoMessage() {} - -func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[260] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead. -func (*ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 5} -} - -func (x *ListMessage_ProductListHeaderImage) GetProductId() string { - if x != nil && x.ProductId != nil { - return *x.ProductId - } - return "" -} - -func (x *ListMessage_ProductListHeaderImage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -type InteractiveResponseMessage_NativeFlowResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - ParamsJson *string `protobuf:"bytes,2,opt,name=paramsJson" json:"paramsJson,omitempty"` - Version *int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() { - *x = InteractiveResponseMessage_NativeFlowResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[261] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[261] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{97, 0} -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetParamsJson() string { - if x != nil && x.ParamsJson != nil { - return *x.ParamsJson - } - return "" -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetVersion() int32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -type InteractiveResponseMessage_Body struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` - Format *InteractiveResponseMessage_Body_Format `protobuf:"varint,2,opt,name=format,enum=proto.InteractiveResponseMessage_Body_Format" json:"format,omitempty"` -} - -func (x *InteractiveResponseMessage_Body) Reset() { - *x = InteractiveResponseMessage_Body{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[262] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveResponseMessage_Body) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveResponseMessage_Body) ProtoMessage() {} - -func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[262] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{97, 1} -} - -func (x *InteractiveResponseMessage_Body) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -func (x *InteractiveResponseMessage_Body) GetFormat() InteractiveResponseMessage_Body_Format { - if x != nil && x.Format != nil { - return *x.Format - } - return InteractiveResponseMessage_Body_DEFAULT -} - -type InteractiveMessage_NativeFlowMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Buttons []*InteractiveMessage_NativeFlowMessage_NativeFlowButton `protobuf:"bytes,1,rep,name=buttons" json:"buttons,omitempty"` - MessageParamsJson *string `protobuf:"bytes,2,opt,name=messageParamsJson" json:"messageParamsJson,omitempty"` - MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_NativeFlowMessage) Reset() { - *x = InteractiveMessage_NativeFlowMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[263] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_NativeFlowMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_NativeFlowMessage) ProtoMessage() {} - -func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[263] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 0} -} - -func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton { - if x != nil { - return x.Buttons - } - return nil -} - -func (x *InteractiveMessage_NativeFlowMessage) GetMessageParamsJson() string { - if x != nil && x.MessageParamsJson != nil { - return *x.MessageParamsJson - } - return "" -} - -func (x *InteractiveMessage_NativeFlowMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_Header struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Subtitle *string `protobuf:"bytes,2,opt,name=subtitle" json:"subtitle,omitempty"` - HasMediaAttachment *bool `protobuf:"varint,5,opt,name=hasMediaAttachment" json:"hasMediaAttachment,omitempty"` - // Types that are assignable to Media: - // - // *InteractiveMessage_Header_DocumentMessage - // *InteractiveMessage_Header_ImageMessage - // *InteractiveMessage_Header_JpegThumbnail - // *InteractiveMessage_Header_VideoMessage - // *InteractiveMessage_Header_LocationMessage - // *InteractiveMessage_Header_ProductMessage - Media isInteractiveMessage_Header_Media `protobuf_oneof:"media"` -} - -func (x *InteractiveMessage_Header) Reset() { - *x = InteractiveMessage_Header{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[264] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_Header) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_Header) ProtoMessage() {} - -func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[264] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_Header.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_Header) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 1} -} - -func (x *InteractiveMessage_Header) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *InteractiveMessage_Header) GetSubtitle() string { - if x != nil && x.Subtitle != nil { - return *x.Subtitle - } - return "" -} - -func (x *InteractiveMessage_Header) GetHasMediaAttachment() bool { - if x != nil && x.HasMediaAttachment != nil { - return *x.HasMediaAttachment - } - return false -} - -func (m *InteractiveMessage_Header) GetMedia() isInteractiveMessage_Header_Media { - if m != nil { - return m.Media - } - return nil -} - -func (x *InteractiveMessage_Header) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_DocumentMessage); ok { - return x.DocumentMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetImageMessage() *ImageMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_ImageMessage); ok { - return x.ImageMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetJpegThumbnail() []byte { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_JpegThumbnail); ok { - return x.JpegThumbnail - } - return nil -} - -func (x *InteractiveMessage_Header) GetVideoMessage() *VideoMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_VideoMessage); ok { - return x.VideoMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetLocationMessage() *LocationMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_LocationMessage); ok { - return x.LocationMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetProductMessage() *ProductMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_ProductMessage); ok { - return x.ProductMessage - } - return nil -} - -type isInteractiveMessage_Header_Media interface { - isInteractiveMessage_Header_Media() -} - -type InteractiveMessage_Header_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,3,opt,name=documentMessage,oneof"` -} - -type InteractiveMessage_Header_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,4,opt,name=imageMessage,oneof"` -} - -type InteractiveMessage_Header_JpegThumbnail struct { - JpegThumbnail []byte `protobuf:"bytes,6,opt,name=jpegThumbnail,oneof"` -} - -type InteractiveMessage_Header_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,7,opt,name=videoMessage,oneof"` -} - -type InteractiveMessage_Header_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,8,opt,name=locationMessage,oneof"` -} - -type InteractiveMessage_Header_ProductMessage struct { - ProductMessage *ProductMessage `protobuf:"bytes,9,opt,name=productMessage,oneof"` -} - -func (*InteractiveMessage_Header_DocumentMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_ImageMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_JpegThumbnail) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_VideoMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_LocationMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_ProductMessage) isInteractiveMessage_Header_Media() {} - -type InteractiveMessage_Footer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` -} - -func (x *InteractiveMessage_Footer) Reset() { - *x = InteractiveMessage_Footer{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[265] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_Footer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_Footer) ProtoMessage() {} - -func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[265] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_Footer.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_Footer) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 2} -} - -func (x *InteractiveMessage_Footer) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -type InteractiveMessage_CollectionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BizJid *string `protobuf:"bytes,1,opt,name=bizJid" json:"bizJid,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` - MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_CollectionMessage) Reset() { - *x = InteractiveMessage_CollectionMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[266] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_CollectionMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_CollectionMessage) ProtoMessage() {} - -func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[266] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 3} -} - -func (x *InteractiveMessage_CollectionMessage) GetBizJid() string { - if x != nil && x.BizJid != nil { - return *x.BizJid - } - return "" -} - -func (x *InteractiveMessage_CollectionMessage) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *InteractiveMessage_CollectionMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_CarouselMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cards []*InteractiveMessage `protobuf:"bytes,1,rep,name=cards" json:"cards,omitempty"` - MessageVersion *int32 `protobuf:"varint,2,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_CarouselMessage) Reset() { - *x = InteractiveMessage_CarouselMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[267] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_CarouselMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_CarouselMessage) ProtoMessage() {} - -func (x *InteractiveMessage_CarouselMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[267] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_CarouselMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_CarouselMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 4} -} - -func (x *InteractiveMessage_CarouselMessage) GetCards() []*InteractiveMessage { - if x != nil { - return x.Cards - } - return nil -} - -func (x *InteractiveMessage_CarouselMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_Body struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` -} - -func (x *InteractiveMessage_Body) Reset() { - *x = InteractiveMessage_Body{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[268] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_Body) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_Body) ProtoMessage() {} - -func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[268] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_Body.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_Body) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 5} -} - -func (x *InteractiveMessage_Body) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -type InteractiveMessage_ShopMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Surface *InteractiveMessage_ShopMessage_Surface `protobuf:"varint,2,opt,name=surface,enum=proto.InteractiveMessage_ShopMessage_Surface" json:"surface,omitempty"` - MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_ShopMessage) Reset() { - *x = InteractiveMessage_ShopMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[269] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_ShopMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_ShopMessage) ProtoMessage() {} - -func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[269] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 6} -} - -func (x *InteractiveMessage_ShopMessage) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *InteractiveMessage_ShopMessage) GetSurface() InteractiveMessage_ShopMessage_Surface { - if x != nil && x.Surface != nil { - return *x.Surface - } - return InteractiveMessage_ShopMessage_UNKNOWN_SURFACE -} - -func (x *InteractiveMessage_ShopMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_NativeFlowMessage_NativeFlowButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - ButtonParamsJson *string `protobuf:"bytes,2,opt,name=buttonParamsJson" json:"buttonParamsJson,omitempty"` -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() { - *x = InteractiveMessage_NativeFlowMessage_NativeFlowButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[270] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[270] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 0, 0} -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetButtonParamsJson() string { - if x != nil && x.ButtonParamsJson != nil { - return *x.ButtonParamsJson - } - return "" -} - -type CallLogRecord_ParticipantInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserJid *string `protobuf:"bytes,1,opt,name=userJid" json:"userJid,omitempty"` - CallResult *CallLogRecord_CallResult `protobuf:"varint,2,opt,name=callResult,enum=proto.CallLogRecord_CallResult" json:"callResult,omitempty"` -} - -func (x *CallLogRecord_ParticipantInfo) Reset() { - *x = CallLogRecord_ParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[271] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CallLogRecord_ParticipantInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CallLogRecord_ParticipantInfo) ProtoMessage() {} - -func (x *CallLogRecord_ParticipantInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[271] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CallLogRecord_ParticipantInfo.ProtoReflect.Descriptor instead. -func (*CallLogRecord_ParticipantInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 0} -} - -func (x *CallLogRecord_ParticipantInfo) GetUserJid() string { - if x != nil && x.UserJid != nil { - return *x.UserJid - } - return "" -} - -func (x *CallLogRecord_ParticipantInfo) GetCallResult() CallLogRecord_CallResult { - if x != nil && x.CallResult != nil { - return *x.CallResult - } - return CallLogRecord_CONNECTED -} - -type VerifiedNameCertificate_Details struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Serial *uint64 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"` - Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"` - VerifiedName *string `protobuf:"bytes,4,opt,name=verifiedName" json:"verifiedName,omitempty"` - LocalizedNames []*LocalizedName `protobuf:"bytes,8,rep,name=localizedNames" json:"localizedNames,omitempty"` - IssueTime *uint64 `protobuf:"varint,10,opt,name=issueTime" json:"issueTime,omitempty"` -} - -func (x *VerifiedNameCertificate_Details) Reset() { - *x = VerifiedNameCertificate_Details{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[272] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VerifiedNameCertificate_Details) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VerifiedNameCertificate_Details) ProtoMessage() {} - -func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[272] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead. -func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{182, 0} -} - -func (x *VerifiedNameCertificate_Details) GetSerial() uint64 { - if x != nil && x.Serial != nil { - return *x.Serial - } - return 0 -} - -func (x *VerifiedNameCertificate_Details) GetIssuer() string { - if x != nil && x.Issuer != nil { - return *x.Issuer - } - return "" -} - -func (x *VerifiedNameCertificate_Details) GetVerifiedName() string { - if x != nil && x.VerifiedName != nil { - return *x.VerifiedName - } - return "" -} - -func (x *VerifiedNameCertificate_Details) GetLocalizedNames() []*LocalizedName { - if x != nil { - return x.LocalizedNames - } - return nil -} - -func (x *VerifiedNameCertificate_Details) GetIssueTime() uint64 { - if x != nil && x.IssueTime != nil { - return *x.IssueTime - } - return 0 -} - -type ClientPayload_WebInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RefToken *string `protobuf:"bytes,1,opt,name=refToken" json:"refToken,omitempty"` - Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` - WebdPayload *ClientPayload_WebInfo_WebdPayload `protobuf:"bytes,3,opt,name=webdPayload" json:"webdPayload,omitempty"` - WebSubPlatform *ClientPayload_WebInfo_WebSubPlatform `protobuf:"varint,4,opt,name=webSubPlatform,enum=proto.ClientPayload_WebInfo_WebSubPlatform" json:"webSubPlatform,omitempty"` -} - -func (x *ClientPayload_WebInfo) Reset() { - *x = ClientPayload_WebInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[273] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_WebInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_WebInfo) ProtoMessage() {} - -func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[273] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_WebInfo.ProtoReflect.Descriptor instead. -func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0} -} - -func (x *ClientPayload_WebInfo) GetRefToken() string { - if x != nil && x.RefToken != nil { - return *x.RefToken - } - return "" -} - -func (x *ClientPayload_WebInfo) GetVersion() string { - if x != nil && x.Version != nil { - return *x.Version - } - return "" -} - -func (x *ClientPayload_WebInfo) GetWebdPayload() *ClientPayload_WebInfo_WebdPayload { - if x != nil { - return x.WebdPayload - } - return nil -} - -func (x *ClientPayload_WebInfo) GetWebSubPlatform() ClientPayload_WebInfo_WebSubPlatform { - if x != nil && x.WebSubPlatform != nil { - return *x.WebSubPlatform - } - return ClientPayload_WebInfo_WEB_BROWSER -} - -type ClientPayload_UserAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Platform *ClientPayload_UserAgent_Platform `protobuf:"varint,1,opt,name=platform,enum=proto.ClientPayload_UserAgent_Platform" json:"platform,omitempty"` - AppVersion *ClientPayload_UserAgent_AppVersion `protobuf:"bytes,2,opt,name=appVersion" json:"appVersion,omitempty"` - Mcc *string `protobuf:"bytes,3,opt,name=mcc" json:"mcc,omitempty"` - Mnc *string `protobuf:"bytes,4,opt,name=mnc" json:"mnc,omitempty"` - OsVersion *string `protobuf:"bytes,5,opt,name=osVersion" json:"osVersion,omitempty"` - Manufacturer *string `protobuf:"bytes,6,opt,name=manufacturer" json:"manufacturer,omitempty"` - Device *string `protobuf:"bytes,7,opt,name=device" json:"device,omitempty"` - OsBuildNumber *string `protobuf:"bytes,8,opt,name=osBuildNumber" json:"osBuildNumber,omitempty"` - PhoneId *string `protobuf:"bytes,9,opt,name=phoneId" json:"phoneId,omitempty"` - ReleaseChannel *ClientPayload_UserAgent_ReleaseChannel `protobuf:"varint,10,opt,name=releaseChannel,enum=proto.ClientPayload_UserAgent_ReleaseChannel" json:"releaseChannel,omitempty"` - LocaleLanguageIso6391 *string `protobuf:"bytes,11,opt,name=localeLanguageIso6391" json:"localeLanguageIso6391,omitempty"` - LocaleCountryIso31661Alpha2 *string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2" json:"localeCountryIso31661Alpha2,omitempty"` - DeviceBoard *string `protobuf:"bytes,13,opt,name=deviceBoard" json:"deviceBoard,omitempty"` - DeviceExpId *string `protobuf:"bytes,14,opt,name=deviceExpId" json:"deviceExpId,omitempty"` - DeviceType *ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,enum=proto.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"` - DeviceModelType *string `protobuf:"bytes,16,opt,name=deviceModelType" json:"deviceModelType,omitempty"` -} - -func (x *ClientPayload_UserAgent) Reset() { - *x = ClientPayload_UserAgent{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[274] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_UserAgent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_UserAgent) ProtoMessage() {} - -func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[274] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_UserAgent.ProtoReflect.Descriptor instead. -func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1} -} - -func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform { - if x != nil && x.Platform != nil { - return *x.Platform - } - return ClientPayload_UserAgent_ANDROID -} - -func (x *ClientPayload_UserAgent) GetAppVersion() *ClientPayload_UserAgent_AppVersion { - if x != nil { - return x.AppVersion - } - return nil -} - -func (x *ClientPayload_UserAgent) GetMcc() string { - if x != nil && x.Mcc != nil { - return *x.Mcc - } - return "" -} - -func (x *ClientPayload_UserAgent) GetMnc() string { - if x != nil && x.Mnc != nil { - return *x.Mnc - } - return "" -} - -func (x *ClientPayload_UserAgent) GetOsVersion() string { - if x != nil && x.OsVersion != nil { - return *x.OsVersion - } - return "" -} - -func (x *ClientPayload_UserAgent) GetManufacturer() string { - if x != nil && x.Manufacturer != nil { - return *x.Manufacturer - } - return "" -} - -func (x *ClientPayload_UserAgent) GetDevice() string { - if x != nil && x.Device != nil { - return *x.Device - } - return "" -} - -func (x *ClientPayload_UserAgent) GetOsBuildNumber() string { - if x != nil && x.OsBuildNumber != nil { - return *x.OsBuildNumber - } - return "" -} - -func (x *ClientPayload_UserAgent) GetPhoneId() string { - if x != nil && x.PhoneId != nil { - return *x.PhoneId - } - return "" -} - -func (x *ClientPayload_UserAgent) GetReleaseChannel() ClientPayload_UserAgent_ReleaseChannel { - if x != nil && x.ReleaseChannel != nil { - return *x.ReleaseChannel - } - return ClientPayload_UserAgent_RELEASE -} - -func (x *ClientPayload_UserAgent) GetLocaleLanguageIso6391() string { - if x != nil && x.LocaleLanguageIso6391 != nil { - return *x.LocaleLanguageIso6391 - } - return "" -} - -func (x *ClientPayload_UserAgent) GetLocaleCountryIso31661Alpha2() string { - if x != nil && x.LocaleCountryIso31661Alpha2 != nil { - return *x.LocaleCountryIso31661Alpha2 - } - return "" -} - -func (x *ClientPayload_UserAgent) GetDeviceBoard() string { - if x != nil && x.DeviceBoard != nil { - return *x.DeviceBoard - } - return "" -} - -func (x *ClientPayload_UserAgent) GetDeviceExpId() string { - if x != nil && x.DeviceExpId != nil { - return *x.DeviceExpId - } - return "" -} - -func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType { - if x != nil && x.DeviceType != nil { - return *x.DeviceType - } - return ClientPayload_UserAgent_PHONE -} - -func (x *ClientPayload_UserAgent) GetDeviceModelType() string { - if x != nil && x.DeviceModelType != nil { - return *x.DeviceModelType - } - return "" -} - -type ClientPayload_InteropData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccountId *uint64 `protobuf:"varint,1,opt,name=accountId" json:"accountId,omitempty"` - Token []byte `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` -} - -func (x *ClientPayload_InteropData) Reset() { - *x = ClientPayload_InteropData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[275] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_InteropData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_InteropData) ProtoMessage() {} - -func (x *ClientPayload_InteropData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[275] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_InteropData.ProtoReflect.Descriptor instead. -func (*ClientPayload_InteropData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 2} -} - -func (x *ClientPayload_InteropData) GetAccountId() uint64 { - if x != nil && x.AccountId != nil { - return *x.AccountId - } - return 0 -} - -func (x *ClientPayload_InteropData) GetToken() []byte { - if x != nil { - return x.Token - } - return nil -} - -type ClientPayload_DevicePairingRegistrationData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ERegid []byte `protobuf:"bytes,1,opt,name=eRegid" json:"eRegid,omitempty"` - EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype" json:"eKeytype,omitempty"` - EIdent []byte `protobuf:"bytes,3,opt,name=eIdent" json:"eIdent,omitempty"` - ESkeyId []byte `protobuf:"bytes,4,opt,name=eSkeyId" json:"eSkeyId,omitempty"` - ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal" json:"eSkeyVal,omitempty"` - ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig" json:"eSkeySig,omitempty"` - BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash" json:"buildHash,omitempty"` - DeviceProps []byte `protobuf:"bytes,8,opt,name=deviceProps" json:"deviceProps,omitempty"` -} - -func (x *ClientPayload_DevicePairingRegistrationData) Reset() { - *x = ClientPayload_DevicePairingRegistrationData{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[276] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_DevicePairingRegistrationData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {} - -func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[276] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead. -func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 3} -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte { - if x != nil { - return x.ERegid - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetEKeytype() []byte { - if x != nil { - return x.EKeytype - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetEIdent() []byte { - if x != nil { - return x.EIdent - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyId() []byte { - if x != nil { - return x.ESkeyId - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyVal() []byte { - if x != nil { - return x.ESkeyVal - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetESkeySig() []byte { - if x != nil { - return x.ESkeySig - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetBuildHash() []byte { - if x != nil { - return x.BuildHash - } - return nil -} - -func (x *ClientPayload_DevicePairingRegistrationData) GetDeviceProps() []byte { - if x != nil { - return x.DeviceProps - } - return nil -} - -type ClientPayload_DNSSource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DnsMethod *ClientPayload_DNSSource_DNSResolutionMethod `protobuf:"varint,15,opt,name=dnsMethod,enum=proto.ClientPayload_DNSSource_DNSResolutionMethod" json:"dnsMethod,omitempty"` - AppCached *bool `protobuf:"varint,16,opt,name=appCached" json:"appCached,omitempty"` -} - -func (x *ClientPayload_DNSSource) Reset() { - *x = ClientPayload_DNSSource{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[277] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_DNSSource) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_DNSSource) ProtoMessage() {} - -func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[277] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_DNSSource.ProtoReflect.Descriptor instead. -func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 4} -} - -func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod { - if x != nil && x.DnsMethod != nil { - return *x.DnsMethod - } - return ClientPayload_DNSSource_SYSTEM -} - -func (x *ClientPayload_DNSSource) GetAppCached() bool { - if x != nil && x.AppCached != nil { - return *x.AppCached - } - return false -} - -type ClientPayload_WebInfo_WebdPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UsesParticipantInKey *bool `protobuf:"varint,1,opt,name=usesParticipantInKey" json:"usesParticipantInKey,omitempty"` - SupportsStarredMessages *bool `protobuf:"varint,2,opt,name=supportsStarredMessages" json:"supportsStarredMessages,omitempty"` - SupportsDocumentMessages *bool `protobuf:"varint,3,opt,name=supportsDocumentMessages" json:"supportsDocumentMessages,omitempty"` - SupportsUrlMessages *bool `protobuf:"varint,4,opt,name=supportsUrlMessages" json:"supportsUrlMessages,omitempty"` - SupportsMediaRetry *bool `protobuf:"varint,5,opt,name=supportsMediaRetry" json:"supportsMediaRetry,omitempty"` - SupportsE2EImage *bool `protobuf:"varint,6,opt,name=supportsE2EImage" json:"supportsE2EImage,omitempty"` - SupportsE2EVideo *bool `protobuf:"varint,7,opt,name=supportsE2EVideo" json:"supportsE2EVideo,omitempty"` - SupportsE2EAudio *bool `protobuf:"varint,8,opt,name=supportsE2EAudio" json:"supportsE2EAudio,omitempty"` - SupportsE2EDocument *bool `protobuf:"varint,9,opt,name=supportsE2EDocument" json:"supportsE2EDocument,omitempty"` - DocumentTypes *string `protobuf:"bytes,10,opt,name=documentTypes" json:"documentTypes,omitempty"` - Features []byte `protobuf:"bytes,11,opt,name=features" json:"features,omitempty"` -} - -func (x *ClientPayload_WebInfo_WebdPayload) Reset() { - *x = ClientPayload_WebInfo_WebdPayload{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[278] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_WebInfo_WebdPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_WebInfo_WebdPayload) ProtoMessage() {} - -func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[278] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead. -func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0, 0} -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool { - if x != nil && x.UsesParticipantInKey != nil { - return *x.UsesParticipantInKey - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsStarredMessages() bool { - if x != nil && x.SupportsStarredMessages != nil { - return *x.SupportsStarredMessages - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsDocumentMessages() bool { - if x != nil && x.SupportsDocumentMessages != nil { - return *x.SupportsDocumentMessages - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsUrlMessages() bool { - if x != nil && x.SupportsUrlMessages != nil { - return *x.SupportsUrlMessages - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsMediaRetry() bool { - if x != nil && x.SupportsMediaRetry != nil { - return *x.SupportsMediaRetry - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EImage() bool { - if x != nil && x.SupportsE2EImage != nil { - return *x.SupportsE2EImage - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EVideo() bool { - if x != nil && x.SupportsE2EVideo != nil { - return *x.SupportsE2EVideo - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EAudio() bool { - if x != nil && x.SupportsE2EAudio != nil { - return *x.SupportsE2EAudio - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EDocument() bool { - if x != nil && x.SupportsE2EDocument != nil { - return *x.SupportsE2EDocument - } - return false -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetDocumentTypes() string { - if x != nil && x.DocumentTypes != nil { - return *x.DocumentTypes - } - return "" -} - -func (x *ClientPayload_WebInfo_WebdPayload) GetFeatures() []byte { - if x != nil { - return x.Features - } - return nil -} - -type ClientPayload_UserAgent_AppVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"` - Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"` - Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"` - Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"` - Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"` -} - -func (x *ClientPayload_UserAgent_AppVersion) Reset() { - *x = ClientPayload_UserAgent_AppVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[279] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientPayload_UserAgent_AppVersion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {} - -func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[279] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead. -func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 0} -} - -func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 { - if x != nil && x.Primary != nil { - return *x.Primary - } - return 0 -} - -func (x *ClientPayload_UserAgent_AppVersion) GetSecondary() uint32 { - if x != nil && x.Secondary != nil { - return *x.Secondary - } - return 0 -} - -func (x *ClientPayload_UserAgent_AppVersion) GetTertiary() uint32 { - if x != nil && x.Tertiary != nil { - return *x.Tertiary - } - return 0 -} - -func (x *ClientPayload_UserAgent_AppVersion) GetQuaternary() uint32 { - if x != nil && x.Quaternary != nil { - return *x.Quaternary - } - return 0 -} - -func (x *ClientPayload_UserAgent_AppVersion) GetQuinary() uint32 { - if x != nil && x.Quinary != nil { - return *x.Quinary - } - return 0 -} - -type NoiseCertificate_Details struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"` - Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"` - Expires *uint64 `protobuf:"varint,3,opt,name=expires" json:"expires,omitempty"` - Subject *string `protobuf:"bytes,4,opt,name=subject" json:"subject,omitempty"` - Key []byte `protobuf:"bytes,5,opt,name=key" json:"key,omitempty"` -} - -func (x *NoiseCertificate_Details) Reset() { - *x = NoiseCertificate_Details{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[280] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NoiseCertificate_Details) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NoiseCertificate_Details) ProtoMessage() {} - -func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[280] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NoiseCertificate_Details.ProtoReflect.Descriptor instead. -func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{212, 0} -} - -func (x *NoiseCertificate_Details) GetSerial() uint32 { - if x != nil && x.Serial != nil { - return *x.Serial - } - return 0 -} - -func (x *NoiseCertificate_Details) GetIssuer() string { - if x != nil && x.Issuer != nil { - return *x.Issuer - } - return "" -} - -func (x *NoiseCertificate_Details) GetExpires() uint64 { - if x != nil && x.Expires != nil { - return *x.Expires - } - return 0 -} - -func (x *NoiseCertificate_Details) GetSubject() string { - if x != nil && x.Subject != nil { - return *x.Subject - } - return "" -} - -func (x *NoiseCertificate_Details) GetKey() []byte { - if x != nil { - return x.Key - } - return nil -} - -type CertChain_NoiseCertificate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` -} - -func (x *CertChain_NoiseCertificate) Reset() { - *x = CertChain_NoiseCertificate{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[281] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CertChain_NoiseCertificate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CertChain_NoiseCertificate) ProtoMessage() {} - -func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[281] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CertChain_NoiseCertificate.ProtoReflect.Descriptor instead. -func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{213, 0} -} - -func (x *CertChain_NoiseCertificate) GetDetails() []byte { - if x != nil { - return x.Details - } - return nil -} - -func (x *CertChain_NoiseCertificate) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -type CertChain_NoiseCertificate_Details struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"` - IssuerSerial *uint32 `protobuf:"varint,2,opt,name=issuerSerial" json:"issuerSerial,omitempty"` - Key []byte `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` - NotBefore *uint64 `protobuf:"varint,4,opt,name=notBefore" json:"notBefore,omitempty"` - NotAfter *uint64 `protobuf:"varint,5,opt,name=notAfter" json:"notAfter,omitempty"` -} - -func (x *CertChain_NoiseCertificate_Details) Reset() { - *x = CertChain_NoiseCertificate_Details{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[282] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CertChain_NoiseCertificate_Details) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CertChain_NoiseCertificate_Details) ProtoMessage() {} - -func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[282] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead. -func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{213, 0, 0} -} - -func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 { - if x != nil && x.Serial != nil { - return *x.Serial - } - return 0 -} - -func (x *CertChain_NoiseCertificate_Details) GetIssuerSerial() uint32 { - if x != nil && x.IssuerSerial != nil { - return *x.IssuerSerial - } - return 0 -} - -func (x *CertChain_NoiseCertificate_Details) GetKey() []byte { - if x != nil { - return x.Key - } - return nil -} - -func (x *CertChain_NoiseCertificate_Details) GetNotBefore() uint64 { - if x != nil && x.NotBefore != nil { - return *x.NotBefore - } - return 0 -} - -func (x *CertChain_NoiseCertificate_Details) GetNotAfter() uint64 { - if x != nil && x.NotAfter != nil { - return *x.NotAfter - } - return 0 -} - -type QP_Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FilterName *string `protobuf:"bytes,1,req,name=filterName" json:"filterName,omitempty"` - Parameters []*QP_FilterParameters `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"` - FilterResult *QP_FilterResult `protobuf:"varint,3,opt,name=filterResult,enum=proto.QP_FilterResult" json:"filterResult,omitempty"` - ClientNotSupportedConfig *QP_FilterClientNotSupportedConfig `protobuf:"varint,4,req,name=clientNotSupportedConfig,enum=proto.QP_FilterClientNotSupportedConfig" json:"clientNotSupportedConfig,omitempty"` -} - -func (x *QP_Filter) Reset() { - *x = QP_Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[283] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QP_Filter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QP_Filter) ProtoMessage() {} - -func (x *QP_Filter) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[283] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QP_Filter.ProtoReflect.Descriptor instead. -func (*QP_Filter) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 0} -} - -func (x *QP_Filter) GetFilterName() string { - if x != nil && x.FilterName != nil { - return *x.FilterName - } - return "" -} - -func (x *QP_Filter) GetParameters() []*QP_FilterParameters { - if x != nil { - return x.Parameters - } - return nil -} - -func (x *QP_Filter) GetFilterResult() QP_FilterResult { - if x != nil && x.FilterResult != nil { - return *x.FilterResult - } - return QP_TRUE -} - -func (x *QP_Filter) GetClientNotSupportedConfig() QP_FilterClientNotSupportedConfig { - if x != nil && x.ClientNotSupportedConfig != nil { - return *x.ClientNotSupportedConfig - } - return QP_PASS_BY_DEFAULT -} - -type QP_FilterParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` -} - -func (x *QP_FilterParameters) Reset() { - *x = QP_FilterParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[284] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QP_FilterParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QP_FilterParameters) ProtoMessage() {} - -func (x *QP_FilterParameters) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[284] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QP_FilterParameters.ProtoReflect.Descriptor instead. -func (*QP_FilterParameters) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 1} -} - -func (x *QP_FilterParameters) GetKey() string { - if x != nil && x.Key != nil { - return *x.Key - } - return "" -} - -func (x *QP_FilterParameters) GetValue() string { - if x != nil && x.Value != nil { - return *x.Value - } - return "" -} - -type QP_FilterClause struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ClauseType *QP_ClauseType `protobuf:"varint,1,req,name=clauseType,enum=proto.QP_ClauseType" json:"clauseType,omitempty"` - Clauses []*QP_FilterClause `protobuf:"bytes,2,rep,name=clauses" json:"clauses,omitempty"` - Filters []*QP_Filter `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"` -} - -func (x *QP_FilterClause) Reset() { - *x = QP_FilterClause{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[285] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QP_FilterClause) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QP_FilterClause) ProtoMessage() {} - -func (x *QP_FilterClause) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[285] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use QP_FilterClause.ProtoReflect.Descriptor instead. -func (*QP_FilterClause) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 2} -} - -func (x *QP_FilterClause) GetClauseType() QP_ClauseType { - if x != nil && x.ClauseType != nil { - return *x.ClauseType - } - return QP_AND -} - -func (x *QP_FilterClause) GetClauses() []*QP_FilterClause { - if x != nil { - return x.Clauses - } - return nil -} - -func (x *QP_FilterClause) GetFilters() []*QP_Filter { - if x != nil { - return x.Filters - } - return nil -} - -type UserPassword_TransformerArg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - Value *UserPassword_TransformerArg_Value `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` -} - -func (x *UserPassword_TransformerArg) Reset() { - *x = UserPassword_TransformerArg{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[286] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserPassword_TransformerArg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserPassword_TransformerArg) ProtoMessage() {} - -func (x *UserPassword_TransformerArg) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[286] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserPassword_TransformerArg.ProtoReflect.Descriptor instead. -func (*UserPassword_TransformerArg) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 0} -} - -func (x *UserPassword_TransformerArg) GetKey() string { - if x != nil && x.Key != nil { - return *x.Key - } - return "" -} - -func (x *UserPassword_TransformerArg) GetValue() *UserPassword_TransformerArg_Value { - if x != nil { - return x.Value - } - return nil -} - -type UserPassword_TransformerArg_Value struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Value: - // - // *UserPassword_TransformerArg_Value_AsBlob - // *UserPassword_TransformerArg_Value_AsUnsignedInteger - Value isUserPassword_TransformerArg_Value_Value `protobuf_oneof:"value"` -} - -func (x *UserPassword_TransformerArg_Value) Reset() { - *x = UserPassword_TransformerArg_Value{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[287] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserPassword_TransformerArg_Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserPassword_TransformerArg_Value) ProtoMessage() {} - -func (x *UserPassword_TransformerArg_Value) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[287] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserPassword_TransformerArg_Value.ProtoReflect.Descriptor instead. -func (*UserPassword_TransformerArg_Value) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 0, 0} -} - -func (m *UserPassword_TransformerArg_Value) GetValue() isUserPassword_TransformerArg_Value_Value { - if m != nil { - return m.Value - } - return nil -} - -func (x *UserPassword_TransformerArg_Value) GetAsBlob() []byte { - if x, ok := x.GetValue().(*UserPassword_TransformerArg_Value_AsBlob); ok { - return x.AsBlob - } - return nil -} - -func (x *UserPassword_TransformerArg_Value) GetAsUnsignedInteger() uint32 { - if x, ok := x.GetValue().(*UserPassword_TransformerArg_Value_AsUnsignedInteger); ok { - return x.AsUnsignedInteger - } - return 0 -} - -type isUserPassword_TransformerArg_Value_Value interface { - isUserPassword_TransformerArg_Value_Value() -} - -type UserPassword_TransformerArg_Value_AsBlob struct { - AsBlob []byte `protobuf:"bytes,1,opt,name=asBlob,oneof"` -} - -type UserPassword_TransformerArg_Value_AsUnsignedInteger struct { - AsUnsignedInteger uint32 `protobuf:"varint,2,opt,name=asUnsignedInteger,oneof"` -} - -func (*UserPassword_TransformerArg_Value_AsBlob) isUserPassword_TransformerArg_Value_Value() {} - -func (*UserPassword_TransformerArg_Value_AsUnsignedInteger) isUserPassword_TransformerArg_Value_Value() { -} - -var File_binary_proto_def_proto protoreflect.FileDescriptor - -//go:embed def.pb.raw -var file_binary_proto_def_proto_rawDesc []byte - -var ( - file_binary_proto_def_proto_rawDescOnce sync.Once - file_binary_proto_def_proto_rawDescData = file_binary_proto_def_proto_rawDesc -) - -func file_binary_proto_def_proto_rawDescGZIP() []byte { - file_binary_proto_def_proto_rawDescOnce.Do(func() { - file_binary_proto_def_proto_rawDescData = protoimpl.X.CompressGZIP(file_binary_proto_def_proto_rawDescData) - }) - return file_binary_proto_def_proto_rawDescData -} - -var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 89) -var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 288) -var file_binary_proto_def_proto_goTypes = []interface{}{ - (ADVEncryptionType)(0), // 0: proto.ADVEncryptionType - (KeepType)(0), // 1: proto.KeepType - (PeerDataOperationRequestType)(0), // 2: proto.PeerDataOperationRequestType - (MediaVisibility)(0), // 3: proto.MediaVisibility - (DeviceProps_PlatformType)(0), // 4: proto.DeviceProps.PlatformType - (ImageMessage_ImageSourceType)(0), // 5: proto.ImageMessage.ImageSourceType - (HistorySyncNotification_HistorySyncType)(0), // 6: proto.HistorySyncNotification.HistorySyncType - (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 7: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType - (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 8: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - (GroupInviteMessage_GroupType)(0), // 9: proto.GroupInviteMessage.GroupType - (ExtendedTextMessage_PreviewType)(0), // 10: proto.ExtendedTextMessage.PreviewType - (ExtendedTextMessage_InviteLinkGroupType)(0), // 11: proto.ExtendedTextMessage.InviteLinkGroupType - (ExtendedTextMessage_FontType)(0), // 12: proto.ExtendedTextMessage.FontType - (EventResponseMessage_EventResponseType)(0), // 13: proto.EventResponseMessage.EventResponseType - (CallLogMessage_CallType)(0), // 14: proto.CallLogMessage.CallType - (CallLogMessage_CallOutcome)(0), // 15: proto.CallLogMessage.CallOutcome - (ButtonsResponseMessage_Type)(0), // 16: proto.ButtonsResponseMessage.Type - (ButtonsMessage_HeaderType)(0), // 17: proto.ButtonsMessage.HeaderType - (ButtonsMessage_Button_Type)(0), // 18: proto.ButtonsMessage.Button.Type - (BotFeedbackMessage_BotFeedbackKindMultiplePositive)(0), // 19: proto.BotFeedbackMessage.BotFeedbackKindMultiplePositive - (BotFeedbackMessage_BotFeedbackKindMultipleNegative)(0), // 20: proto.BotFeedbackMessage.BotFeedbackKindMultipleNegative - (BotFeedbackMessage_BotFeedbackKind)(0), // 21: proto.BotFeedbackMessage.BotFeedbackKind - (BCallMessage_MediaType)(0), // 22: proto.BCallMessage.MediaType - (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType)(0), // 23: proto.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType - (DisappearingMode_Trigger)(0), // 24: proto.DisappearingMode.Trigger - (DisappearingMode_Initiator)(0), // 25: proto.DisappearingMode.Initiator - (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 26: proto.ContextInfo.ExternalAdReplyInfo.MediaType - (ContextInfo_AdReplyInfo_MediaType)(0), // 27: proto.ContextInfo.AdReplyInfo.MediaType - (ForwardedNewsletterMessageInfo_ContentType)(0), // 28: proto.ForwardedNewsletterMessageInfo.ContentType - (BotPluginMetadata_SearchProvider)(0), // 29: proto.BotPluginMetadata.SearchProvider - (BotPluginMetadata_PluginType)(0), // 30: proto.BotPluginMetadata.PluginType - (PaymentBackground_Type)(0), // 31: proto.PaymentBackground.Type - (VideoMessage_Attribution)(0), // 32: proto.VideoMessage.Attribution - (SecretEncryptedMessage_SecretEncType)(0), // 33: proto.SecretEncryptedMessage.SecretEncType - (ScheduledCallEditMessage_EditType)(0), // 34: proto.ScheduledCallEditMessage.EditType - (ScheduledCallCreationMessage_CallType)(0), // 35: proto.ScheduledCallCreationMessage.CallType - (RequestWelcomeMessageMetadata_LocalChatState)(0), // 36: proto.RequestWelcomeMessageMetadata.LocalChatState - (ProtocolMessage_Type)(0), // 37: proto.ProtocolMessage.Type - (PlaceholderMessage_PlaceholderType)(0), // 38: proto.PlaceholderMessage.PlaceholderType - (PinInChatMessage_Type)(0), // 39: proto.PinInChatMessage.Type - (PaymentInviteMessage_ServiceType)(0), // 40: proto.PaymentInviteMessage.ServiceType - (OrderMessage_OrderSurface)(0), // 41: proto.OrderMessage.OrderSurface - (OrderMessage_OrderStatus)(0), // 42: proto.OrderMessage.OrderStatus - (ListResponseMessage_ListType)(0), // 43: proto.ListResponseMessage.ListType - (ListMessage_ListType)(0), // 44: proto.ListMessage.ListType - (InvoiceMessage_AttachmentType)(0), // 45: proto.InvoiceMessage.AttachmentType - (InteractiveResponseMessage_Body_Format)(0), // 46: proto.InteractiveResponseMessage.Body.Format - (InteractiveMessage_ShopMessage_Surface)(0), // 47: proto.InteractiveMessage.ShopMessage.Surface - (PastParticipant_LeaveReason)(0), // 48: proto.PastParticipant.LeaveReason - (HistorySync_HistorySyncType)(0), // 49: proto.HistorySync.HistorySyncType - (HistorySync_BotAIWaitListState)(0), // 50: proto.HistorySync.BotAIWaitListState - (GroupParticipant_Rank)(0), // 51: proto.GroupParticipant.Rank - (Conversation_EndOfHistoryTransferType)(0), // 52: proto.Conversation.EndOfHistoryTransferType - (MediaRetryNotification_ResultType)(0), // 53: proto.MediaRetryNotification.ResultType - (SyncdMutation_SyncdOperation)(0), // 54: proto.SyncdMutation.SyncdOperation - (StatusPrivacyAction_StatusDistributionMode)(0), // 55: proto.StatusPrivacyAction.StatusDistributionMode - (MarketingMessageAction_MarketingMessagePrototypeType)(0), // 56: proto.MarketingMessageAction.MarketingMessagePrototypeType - (PatchDebugData_Platform)(0), // 57: proto.PatchDebugData.Platform - (CallLogRecord_SilenceReason)(0), // 58: proto.CallLogRecord.SilenceReason - (CallLogRecord_CallType)(0), // 59: proto.CallLogRecord.CallType - (CallLogRecord_CallResult)(0), // 60: proto.CallLogRecord.CallResult - (BizIdentityInfo_VerifiedLevelValue)(0), // 61: proto.BizIdentityInfo.VerifiedLevelValue - (BizIdentityInfo_HostStorageType)(0), // 62: proto.BizIdentityInfo.HostStorageType - (BizIdentityInfo_ActualActorsType)(0), // 63: proto.BizIdentityInfo.ActualActorsType - (BizAccountLinkInfo_HostStorageType)(0), // 64: proto.BizAccountLinkInfo.HostStorageType - (BizAccountLinkInfo_AccountType)(0), // 65: proto.BizAccountLinkInfo.AccountType - (ClientPayload_Product)(0), // 66: proto.ClientPayload.Product - (ClientPayload_IOSAppExtension)(0), // 67: proto.ClientPayload.IOSAppExtension - (ClientPayload_ConnectType)(0), // 68: proto.ClientPayload.ConnectType - (ClientPayload_ConnectReason)(0), // 69: proto.ClientPayload.ConnectReason - (ClientPayload_WebInfo_WebSubPlatform)(0), // 70: proto.ClientPayload.WebInfo.WebSubPlatform - (ClientPayload_UserAgent_ReleaseChannel)(0), // 71: proto.ClientPayload.UserAgent.ReleaseChannel - (ClientPayload_UserAgent_Platform)(0), // 72: proto.ClientPayload.UserAgent.Platform - (ClientPayload_UserAgent_DeviceType)(0), // 73: proto.ClientPayload.UserAgent.DeviceType - (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 74: proto.ClientPayload.DNSSource.DNSResolutionMethod - (WebMessageInfo_StubType)(0), // 75: proto.WebMessageInfo.StubType - (WebMessageInfo_Status)(0), // 76: proto.WebMessageInfo.Status - (WebMessageInfo_BizPrivacyStatus)(0), // 77: proto.WebMessageInfo.BizPrivacyStatus - (WebFeatures_Flag)(0), // 78: proto.WebFeatures.Flag - (PinInChat_Type)(0), // 79: proto.PinInChat.Type - (PaymentInfo_TxnStatus)(0), // 80: proto.PaymentInfo.TxnStatus - (PaymentInfo_Status)(0), // 81: proto.PaymentInfo.Status - (PaymentInfo_Currency)(0), // 82: proto.PaymentInfo.Currency - (QP_FilterResult)(0), // 83: proto.QP.FilterResult - (QP_FilterClientNotSupportedConfig)(0), // 84: proto.QP.FilterClientNotSupportedConfig - (QP_ClauseType)(0), // 85: proto.QP.ClauseType - (DeviceCapabilities_ChatLockSupportLevel)(0), // 86: proto.DeviceCapabilities.ChatLockSupportLevel - (UserPassword_Transformer)(0), // 87: proto.UserPassword.Transformer - (UserPassword_Encoding)(0), // 88: proto.UserPassword.Encoding - (*ADVSignedKeyIndexList)(nil), // 89: proto.ADVSignedKeyIndexList - (*ADVSignedDeviceIdentity)(nil), // 90: proto.ADVSignedDeviceIdentity - (*ADVSignedDeviceIdentityHMAC)(nil), // 91: proto.ADVSignedDeviceIdentityHMAC - (*ADVKeyIndexList)(nil), // 92: proto.ADVKeyIndexList - (*ADVDeviceIdentity)(nil), // 93: proto.ADVDeviceIdentity - (*DeviceProps)(nil), // 94: proto.DeviceProps - (*InitialSecurityNotificationSettingSync)(nil), // 95: proto.InitialSecurityNotificationSettingSync - (*ImageMessage)(nil), // 96: proto.ImageMessage - (*HistorySyncNotification)(nil), // 97: proto.HistorySyncNotification - (*HighlyStructuredMessage)(nil), // 98: proto.HighlyStructuredMessage - (*GroupInviteMessage)(nil), // 99: proto.GroupInviteMessage - (*FutureProofMessage)(nil), // 100: proto.FutureProofMessage - (*ExtendedTextMessage)(nil), // 101: proto.ExtendedTextMessage - (*EventResponseMessage)(nil), // 102: proto.EventResponseMessage - (*EventMessage)(nil), // 103: proto.EventMessage - (*EncReactionMessage)(nil), // 104: proto.EncReactionMessage - (*EncEventResponseMessage)(nil), // 105: proto.EncEventResponseMessage - (*EncCommentMessage)(nil), // 106: proto.EncCommentMessage - (*DocumentMessage)(nil), // 107: proto.DocumentMessage - (*DeviceSentMessage)(nil), // 108: proto.DeviceSentMessage - (*DeclinePaymentRequestMessage)(nil), // 109: proto.DeclinePaymentRequestMessage - (*ContactsArrayMessage)(nil), // 110: proto.ContactsArrayMessage - (*ContactMessage)(nil), // 111: proto.ContactMessage - (*CommentMessage)(nil), // 112: proto.CommentMessage - (*Chat)(nil), // 113: proto.Chat - (*CancelPaymentRequestMessage)(nil), // 114: proto.CancelPaymentRequestMessage - (*Call)(nil), // 115: proto.Call - (*CallLogMessage)(nil), // 116: proto.CallLogMessage - (*ButtonsResponseMessage)(nil), // 117: proto.ButtonsResponseMessage - (*ButtonsMessage)(nil), // 118: proto.ButtonsMessage - (*BotFeedbackMessage)(nil), // 119: proto.BotFeedbackMessage - (*BCallMessage)(nil), // 120: proto.BCallMessage - (*AudioMessage)(nil), // 121: proto.AudioMessage - (*AppStateSyncKey)(nil), // 122: proto.AppStateSyncKey - (*AppStateSyncKeyShare)(nil), // 123: proto.AppStateSyncKeyShare - (*AppStateSyncKeyRequest)(nil), // 124: proto.AppStateSyncKeyRequest - (*AppStateSyncKeyId)(nil), // 125: proto.AppStateSyncKeyId - (*AppStateSyncKeyFingerprint)(nil), // 126: proto.AppStateSyncKeyFingerprint - (*AppStateSyncKeyData)(nil), // 127: proto.AppStateSyncKeyData - (*AppStateFatalExceptionNotification)(nil), // 128: proto.AppStateFatalExceptionNotification - (*MediaNotifyMessage)(nil), // 129: proto.MediaNotifyMessage - (*Location)(nil), // 130: proto.Location - (*InteractiveAnnotation)(nil), // 131: proto.InteractiveAnnotation - (*HydratedTemplateButton)(nil), // 132: proto.HydratedTemplateButton - (*GroupMention)(nil), // 133: proto.GroupMention - (*DisappearingMode)(nil), // 134: proto.DisappearingMode - (*DeviceListMetadata)(nil), // 135: proto.DeviceListMetadata - (*ContextInfo)(nil), // 136: proto.ContextInfo - (*ForwardedNewsletterMessageInfo)(nil), // 137: proto.ForwardedNewsletterMessageInfo - (*BotSuggestedPromptMetadata)(nil), // 138: proto.BotSuggestedPromptMetadata - (*BotSearchMetadata)(nil), // 139: proto.BotSearchMetadata - (*BotPluginMetadata)(nil), // 140: proto.BotPluginMetadata - (*BotMetadata)(nil), // 141: proto.BotMetadata - (*BotAvatarMetadata)(nil), // 142: proto.BotAvatarMetadata - (*ActionLink)(nil), // 143: proto.ActionLink - (*TemplateButton)(nil), // 144: proto.TemplateButton - (*Point)(nil), // 145: proto.Point - (*PaymentBackground)(nil), // 146: proto.PaymentBackground - (*Money)(nil), // 147: proto.Money - (*Message)(nil), // 148: proto.Message - (*MessageSecretMessage)(nil), // 149: proto.MessageSecretMessage - (*MessageContextInfo)(nil), // 150: proto.MessageContextInfo - (*VideoMessage)(nil), // 151: proto.VideoMessage - (*TemplateMessage)(nil), // 152: proto.TemplateMessage - (*TemplateButtonReplyMessage)(nil), // 153: proto.TemplateButtonReplyMessage - (*StickerSyncRMRMessage)(nil), // 154: proto.StickerSyncRMRMessage - (*StickerMessage)(nil), // 155: proto.StickerMessage - (*SenderKeyDistributionMessage)(nil), // 156: proto.SenderKeyDistributionMessage - (*SendPaymentMessage)(nil), // 157: proto.SendPaymentMessage - (*SecretEncryptedMessage)(nil), // 158: proto.SecretEncryptedMessage - (*ScheduledCallEditMessage)(nil), // 159: proto.ScheduledCallEditMessage - (*ScheduledCallCreationMessage)(nil), // 160: proto.ScheduledCallCreationMessage - (*RequestWelcomeMessageMetadata)(nil), // 161: proto.RequestWelcomeMessageMetadata - (*RequestPhoneNumberMessage)(nil), // 162: proto.RequestPhoneNumberMessage - (*RequestPaymentMessage)(nil), // 163: proto.RequestPaymentMessage - (*ReactionMessage)(nil), // 164: proto.ReactionMessage - (*ProtocolMessage)(nil), // 165: proto.ProtocolMessage - (*ProductMessage)(nil), // 166: proto.ProductMessage - (*PollVoteMessage)(nil), // 167: proto.PollVoteMessage - (*PollUpdateMessage)(nil), // 168: proto.PollUpdateMessage - (*PollUpdateMessageMetadata)(nil), // 169: proto.PollUpdateMessageMetadata - (*PollEncValue)(nil), // 170: proto.PollEncValue - (*PollCreationMessage)(nil), // 171: proto.PollCreationMessage - (*PlaceholderMessage)(nil), // 172: proto.PlaceholderMessage - (*PinInChatMessage)(nil), // 173: proto.PinInChatMessage - (*PeerDataOperationRequestResponseMessage)(nil), // 174: proto.PeerDataOperationRequestResponseMessage - (*PeerDataOperationRequestMessage)(nil), // 175: proto.PeerDataOperationRequestMessage - (*PaymentInviteMessage)(nil), // 176: proto.PaymentInviteMessage - (*OrderMessage)(nil), // 177: proto.OrderMessage - (*NewsletterAdminInviteMessage)(nil), // 178: proto.NewsletterAdminInviteMessage - (*MessageHistoryBundle)(nil), // 179: proto.MessageHistoryBundle - (*LocationMessage)(nil), // 180: proto.LocationMessage - (*LiveLocationMessage)(nil), // 181: proto.LiveLocationMessage - (*ListResponseMessage)(nil), // 182: proto.ListResponseMessage - (*ListMessage)(nil), // 183: proto.ListMessage - (*KeepInChatMessage)(nil), // 184: proto.KeepInChatMessage - (*InvoiceMessage)(nil), // 185: proto.InvoiceMessage - (*InteractiveResponseMessage)(nil), // 186: proto.InteractiveResponseMessage - (*InteractiveMessage)(nil), // 187: proto.InteractiveMessage - (*EphemeralSetting)(nil), // 188: proto.EphemeralSetting - (*WallpaperSettings)(nil), // 189: proto.WallpaperSettings - (*StickerMetadata)(nil), // 190: proto.StickerMetadata - (*Pushname)(nil), // 191: proto.Pushname - (*PhoneNumberToLIDMapping)(nil), // 192: proto.PhoneNumberToLIDMapping - (*PastParticipants)(nil), // 193: proto.PastParticipants - (*PastParticipant)(nil), // 194: proto.PastParticipant - (*NotificationSettings)(nil), // 195: proto.NotificationSettings - (*HistorySync)(nil), // 196: proto.HistorySync - (*HistorySyncMsg)(nil), // 197: proto.HistorySyncMsg - (*GroupParticipant)(nil), // 198: proto.GroupParticipant - (*GlobalSettings)(nil), // 199: proto.GlobalSettings - (*Conversation)(nil), // 200: proto.Conversation - (*AvatarUserSettings)(nil), // 201: proto.AvatarUserSettings - (*AutoDownloadSettings)(nil), // 202: proto.AutoDownloadSettings - (*ServerErrorReceipt)(nil), // 203: proto.ServerErrorReceipt - (*MediaRetryNotification)(nil), // 204: proto.MediaRetryNotification - (*MessageKey)(nil), // 205: proto.MessageKey - (*SyncdVersion)(nil), // 206: proto.SyncdVersion - (*SyncdValue)(nil), // 207: proto.SyncdValue - (*SyncdSnapshot)(nil), // 208: proto.SyncdSnapshot - (*SyncdRecord)(nil), // 209: proto.SyncdRecord - (*SyncdPatch)(nil), // 210: proto.SyncdPatch - (*SyncdMutations)(nil), // 211: proto.SyncdMutations - (*SyncdMutation)(nil), // 212: proto.SyncdMutation - (*SyncdIndex)(nil), // 213: proto.SyncdIndex - (*KeyId)(nil), // 214: proto.KeyId - (*ExternalBlobReference)(nil), // 215: proto.ExternalBlobReference - (*ExitCode)(nil), // 216: proto.ExitCode - (*SyncActionValue)(nil), // 217: proto.SyncActionValue - (*WamoUserIdentifierAction)(nil), // 218: proto.WamoUserIdentifierAction - (*UserStatusMuteAction)(nil), // 219: proto.UserStatusMuteAction - (*UnarchiveChatsSetting)(nil), // 220: proto.UnarchiveChatsSetting - (*TimeFormatAction)(nil), // 221: proto.TimeFormatAction - (*SyncActionMessage)(nil), // 222: proto.SyncActionMessage - (*SyncActionMessageRange)(nil), // 223: proto.SyncActionMessageRange - (*SubscriptionAction)(nil), // 224: proto.SubscriptionAction - (*StickerAction)(nil), // 225: proto.StickerAction - (*StatusPrivacyAction)(nil), // 226: proto.StatusPrivacyAction - (*StarAction)(nil), // 227: proto.StarAction - (*SecurityNotificationSetting)(nil), // 228: proto.SecurityNotificationSetting - (*RemoveRecentStickerAction)(nil), // 229: proto.RemoveRecentStickerAction - (*RecentEmojiWeightsAction)(nil), // 230: proto.RecentEmojiWeightsAction - (*QuickReplyAction)(nil), // 231: proto.QuickReplyAction - (*PushNameSetting)(nil), // 232: proto.PushNameSetting - (*PrivacySettingRelayAllCalls)(nil), // 233: proto.PrivacySettingRelayAllCalls - (*PrivacySettingDisableLinkPreviewsAction)(nil), // 234: proto.PrivacySettingDisableLinkPreviewsAction - (*PrimaryVersionAction)(nil), // 235: proto.PrimaryVersionAction - (*PrimaryFeature)(nil), // 236: proto.PrimaryFeature - (*PnForLidChatAction)(nil), // 237: proto.PnForLidChatAction - (*PinAction)(nil), // 238: proto.PinAction - (*PaymentInfoAction)(nil), // 239: proto.PaymentInfoAction - (*NuxAction)(nil), // 240: proto.NuxAction - (*MuteAction)(nil), // 241: proto.MuteAction - (*MarketingMessageBroadcastAction)(nil), // 242: proto.MarketingMessageBroadcastAction - (*MarketingMessageAction)(nil), // 243: proto.MarketingMessageAction - (*MarkChatAsReadAction)(nil), // 244: proto.MarkChatAsReadAction - (*LockChatAction)(nil), // 245: proto.LockChatAction - (*LocaleSetting)(nil), // 246: proto.LocaleSetting - (*LabelReorderingAction)(nil), // 247: proto.LabelReorderingAction - (*LabelEditAction)(nil), // 248: proto.LabelEditAction - (*LabelAssociationAction)(nil), // 249: proto.LabelAssociationAction - (*KeyExpiration)(nil), // 250: proto.KeyExpiration - (*ExternalWebBetaAction)(nil), // 251: proto.ExternalWebBetaAction - (*DeleteMessageForMeAction)(nil), // 252: proto.DeleteMessageForMeAction - (*DeleteIndividualCallLogAction)(nil), // 253: proto.DeleteIndividualCallLogAction - (*DeleteChatAction)(nil), // 254: proto.DeleteChatAction - (*CustomPaymentMethodsAction)(nil), // 255: proto.CustomPaymentMethodsAction - (*CustomPaymentMethod)(nil), // 256: proto.CustomPaymentMethod - (*CustomPaymentMethodMetadata)(nil), // 257: proto.CustomPaymentMethodMetadata - (*ContactAction)(nil), // 258: proto.ContactAction - (*ClearChatAction)(nil), // 259: proto.ClearChatAction - (*ChatAssignmentOpenedStatusAction)(nil), // 260: proto.ChatAssignmentOpenedStatusAction - (*ChatAssignmentAction)(nil), // 261: proto.ChatAssignmentAction - (*CallLogAction)(nil), // 262: proto.CallLogAction - (*BotWelcomeRequestAction)(nil), // 263: proto.BotWelcomeRequestAction - (*ArchiveChatAction)(nil), // 264: proto.ArchiveChatAction - (*AndroidUnsupportedActions)(nil), // 265: proto.AndroidUnsupportedActions - (*AgentAction)(nil), // 266: proto.AgentAction - (*SyncActionData)(nil), // 267: proto.SyncActionData - (*RecentEmojiWeight)(nil), // 268: proto.RecentEmojiWeight - (*PatchDebugData)(nil), // 269: proto.PatchDebugData - (*CallLogRecord)(nil), // 270: proto.CallLogRecord - (*VerifiedNameCertificate)(nil), // 271: proto.VerifiedNameCertificate - (*LocalizedName)(nil), // 272: proto.LocalizedName - (*BizIdentityInfo)(nil), // 273: proto.BizIdentityInfo - (*BizAccountPayload)(nil), // 274: proto.BizAccountPayload - (*BizAccountLinkInfo)(nil), // 275: proto.BizAccountLinkInfo - (*HandshakeMessage)(nil), // 276: proto.HandshakeMessage - (*HandshakeServerHello)(nil), // 277: proto.HandshakeServerHello - (*HandshakeClientHello)(nil), // 278: proto.HandshakeClientHello - (*HandshakeClientFinish)(nil), // 279: proto.HandshakeClientFinish - (*ClientPayload)(nil), // 280: proto.ClientPayload - (*WebNotificationsInfo)(nil), // 281: proto.WebNotificationsInfo - (*WebMessageInfo)(nil), // 282: proto.WebMessageInfo - (*WebFeatures)(nil), // 283: proto.WebFeatures - (*UserReceipt)(nil), // 284: proto.UserReceipt - (*StatusPSA)(nil), // 285: proto.StatusPSA - (*ReportingTokenInfo)(nil), // 286: proto.ReportingTokenInfo - (*Reaction)(nil), // 287: proto.Reaction - (*PremiumMessageInfo)(nil), // 288: proto.PremiumMessageInfo - (*PollUpdate)(nil), // 289: proto.PollUpdate - (*PollAdditionalMetadata)(nil), // 290: proto.PollAdditionalMetadata - (*PinInChat)(nil), // 291: proto.PinInChat - (*PhotoChange)(nil), // 292: proto.PhotoChange - (*PaymentInfo)(nil), // 293: proto.PaymentInfo - (*NotificationMessageInfo)(nil), // 294: proto.NotificationMessageInfo - (*MessageAddOnContextInfo)(nil), // 295: proto.MessageAddOnContextInfo - (*MediaData)(nil), // 296: proto.MediaData - (*KeepInChat)(nil), // 297: proto.KeepInChat - (*EventResponse)(nil), // 298: proto.EventResponse - (*EventAdditionalMetadata)(nil), // 299: proto.EventAdditionalMetadata - (*CommentMetadata)(nil), // 300: proto.CommentMetadata - (*NoiseCertificate)(nil), // 301: proto.NoiseCertificate - (*CertChain)(nil), // 302: proto.CertChain - (*QP)(nil), // 303: proto.QP - (*ChatLockSettings)(nil), // 304: proto.ChatLockSettings - (*DeviceCapabilities)(nil), // 305: proto.DeviceCapabilities - (*UserPassword)(nil), // 306: proto.UserPassword - (*DeviceProps_HistorySyncConfig)(nil), // 307: proto.DeviceProps.HistorySyncConfig - (*DeviceProps_AppVersion)(nil), // 308: proto.DeviceProps.AppVersion - (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 309: proto.HighlyStructuredMessage.HSMLocalizableParameter - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 310: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 311: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 312: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 313: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - (*CallLogMessage_CallParticipant)(nil), // 314: proto.CallLogMessage.CallParticipant - (*ButtonsMessage_Button)(nil), // 315: proto.ButtonsMessage.Button - (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 316: proto.ButtonsMessage.Button.NativeFlowInfo - (*ButtonsMessage_Button_ButtonText)(nil), // 317: proto.ButtonsMessage.Button.ButtonText - (*HydratedTemplateButton_HydratedURLButton)(nil), // 318: proto.HydratedTemplateButton.HydratedURLButton - (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 319: proto.HydratedTemplateButton.HydratedQuickReplyButton - (*HydratedTemplateButton_HydratedCallButton)(nil), // 320: proto.HydratedTemplateButton.HydratedCallButton - (*ContextInfo_UTMInfo)(nil), // 321: proto.ContextInfo.UTMInfo - (*ContextInfo_ExternalAdReplyInfo)(nil), // 322: proto.ContextInfo.ExternalAdReplyInfo - (*ContextInfo_DataSharingContext)(nil), // 323: proto.ContextInfo.DataSharingContext - (*ContextInfo_BusinessMessageForwardInfo)(nil), // 324: proto.ContextInfo.BusinessMessageForwardInfo - (*ContextInfo_AdReplyInfo)(nil), // 325: proto.ContextInfo.AdReplyInfo - (*TemplateButton_URLButton)(nil), // 326: proto.TemplateButton.URLButton - (*TemplateButton_QuickReplyButton)(nil), // 327: proto.TemplateButton.QuickReplyButton - (*TemplateButton_CallButton)(nil), // 328: proto.TemplateButton.CallButton - (*PaymentBackground_MediaData)(nil), // 329: proto.PaymentBackground.MediaData - (*TemplateMessage_HydratedFourRowTemplate)(nil), // 330: proto.TemplateMessage.HydratedFourRowTemplate - (*TemplateMessage_FourRowTemplate)(nil), // 331: proto.TemplateMessage.FourRowTemplate - (*ProductMessage_ProductSnapshot)(nil), // 332: proto.ProductMessage.ProductSnapshot - (*ProductMessage_CatalogSnapshot)(nil), // 333: proto.ProductMessage.CatalogSnapshot - (*PollCreationMessage_Option)(nil), // 334: proto.PollCreationMessage.Option - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 335: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse)(nil), // 336: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 337: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail)(nil), // 338: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail - (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 339: proto.PeerDataOperationRequestMessage.RequestUrlPreview - (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 340: proto.PeerDataOperationRequestMessage.RequestStickerReupload - (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest)(nil), // 341: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest - (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 342: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest - (*ListResponseMessage_SingleSelectReply)(nil), // 343: proto.ListResponseMessage.SingleSelectReply - (*ListMessage_Section)(nil), // 344: proto.ListMessage.Section - (*ListMessage_Row)(nil), // 345: proto.ListMessage.Row - (*ListMessage_Product)(nil), // 346: proto.ListMessage.Product - (*ListMessage_ProductSection)(nil), // 347: proto.ListMessage.ProductSection - (*ListMessage_ProductListInfo)(nil), // 348: proto.ListMessage.ProductListInfo - (*ListMessage_ProductListHeaderImage)(nil), // 349: proto.ListMessage.ProductListHeaderImage - (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 350: proto.InteractiveResponseMessage.NativeFlowResponseMessage - (*InteractiveResponseMessage_Body)(nil), // 351: proto.InteractiveResponseMessage.Body - (*InteractiveMessage_NativeFlowMessage)(nil), // 352: proto.InteractiveMessage.NativeFlowMessage - (*InteractiveMessage_Header)(nil), // 353: proto.InteractiveMessage.Header - (*InteractiveMessage_Footer)(nil), // 354: proto.InteractiveMessage.Footer - (*InteractiveMessage_CollectionMessage)(nil), // 355: proto.InteractiveMessage.CollectionMessage - (*InteractiveMessage_CarouselMessage)(nil), // 356: proto.InteractiveMessage.CarouselMessage - (*InteractiveMessage_Body)(nil), // 357: proto.InteractiveMessage.Body - (*InteractiveMessage_ShopMessage)(nil), // 358: proto.InteractiveMessage.ShopMessage - (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 359: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - (*CallLogRecord_ParticipantInfo)(nil), // 360: proto.CallLogRecord.ParticipantInfo - (*VerifiedNameCertificate_Details)(nil), // 361: proto.VerifiedNameCertificate.Details - (*ClientPayload_WebInfo)(nil), // 362: proto.ClientPayload.WebInfo - (*ClientPayload_UserAgent)(nil), // 363: proto.ClientPayload.UserAgent - (*ClientPayload_InteropData)(nil), // 364: proto.ClientPayload.InteropData - (*ClientPayload_DevicePairingRegistrationData)(nil), // 365: proto.ClientPayload.DevicePairingRegistrationData - (*ClientPayload_DNSSource)(nil), // 366: proto.ClientPayload.DNSSource - (*ClientPayload_WebInfo_WebdPayload)(nil), // 367: proto.ClientPayload.WebInfo.WebdPayload - (*ClientPayload_UserAgent_AppVersion)(nil), // 368: proto.ClientPayload.UserAgent.AppVersion - (*NoiseCertificate_Details)(nil), // 369: proto.NoiseCertificate.Details - (*CertChain_NoiseCertificate)(nil), // 370: proto.CertChain.NoiseCertificate - (*CertChain_NoiseCertificate_Details)(nil), // 371: proto.CertChain.NoiseCertificate.Details - (*QP_Filter)(nil), // 372: proto.QP.Filter - (*QP_FilterParameters)(nil), // 373: proto.QP.FilterParameters - (*QP_FilterClause)(nil), // 374: proto.QP.FilterClause - (*UserPassword_TransformerArg)(nil), // 375: proto.UserPassword.TransformerArg - (*UserPassword_TransformerArg_Value)(nil), // 376: proto.UserPassword.TransformerArg.Value -} -var file_binary_proto_def_proto_depIdxs = []int32{ - 0, // 0: proto.ADVSignedDeviceIdentityHMAC.accountType:type_name -> proto.ADVEncryptionType - 0, // 1: proto.ADVKeyIndexList.accountType:type_name -> proto.ADVEncryptionType - 0, // 2: proto.ADVDeviceIdentity.accountType:type_name -> proto.ADVEncryptionType - 0, // 3: proto.ADVDeviceIdentity.deviceType:type_name -> proto.ADVEncryptionType - 308, // 4: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion - 4, // 5: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType - 307, // 6: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig - 131, // 7: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 136, // 8: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo - 131, // 9: proto.ImageMessage.annotations:type_name -> proto.InteractiveAnnotation - 5, // 10: proto.ImageMessage.imageSourceType:type_name -> proto.ImageMessage.ImageSourceType - 6, // 11: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType - 309, // 12: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter - 152, // 13: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage - 136, // 14: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo - 9, // 15: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType - 148, // 16: proto.FutureProofMessage.message:type_name -> proto.Message - 12, // 17: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType - 10, // 18: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType - 136, // 19: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo - 11, // 20: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType - 11, // 21: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType - 13, // 22: proto.EventResponseMessage.response:type_name -> proto.EventResponseMessage.EventResponseType - 136, // 23: proto.EventMessage.contextInfo:type_name -> proto.ContextInfo - 180, // 24: proto.EventMessage.location:type_name -> proto.LocationMessage - 205, // 25: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey - 205, // 26: proto.EncEventResponseMessage.eventCreationMessageKey:type_name -> proto.MessageKey - 205, // 27: proto.EncCommentMessage.targetMessageKey:type_name -> proto.MessageKey - 136, // 28: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo - 148, // 29: proto.DeviceSentMessage.message:type_name -> proto.Message - 205, // 30: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey - 111, // 31: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage - 136, // 32: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo - 136, // 33: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo - 148, // 34: proto.CommentMessage.message:type_name -> proto.Message - 205, // 35: proto.CommentMessage.targetMessageKey:type_name -> proto.MessageKey - 205, // 36: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey - 15, // 37: proto.CallLogMessage.callOutcome:type_name -> proto.CallLogMessage.CallOutcome - 14, // 38: proto.CallLogMessage.callType:type_name -> proto.CallLogMessage.CallType - 314, // 39: proto.CallLogMessage.participants:type_name -> proto.CallLogMessage.CallParticipant - 136, // 40: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo - 16, // 41: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type - 136, // 42: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo - 315, // 43: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button - 17, // 44: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType - 107, // 45: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage - 96, // 46: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage - 151, // 47: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage - 180, // 48: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage - 205, // 49: proto.BotFeedbackMessage.messageKey:type_name -> proto.MessageKey - 21, // 50: proto.BotFeedbackMessage.kind:type_name -> proto.BotFeedbackMessage.BotFeedbackKind - 22, // 51: proto.BCallMessage.mediaType:type_name -> proto.BCallMessage.MediaType - 136, // 52: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo - 125, // 53: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId - 127, // 54: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData - 122, // 55: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey - 125, // 56: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId - 126, // 57: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint - 145, // 58: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point - 130, // 59: proto.InteractiveAnnotation.location:type_name -> proto.Location - 137, // 60: proto.InteractiveAnnotation.newsletter:type_name -> proto.ForwardedNewsletterMessageInfo - 319, // 61: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton - 318, // 62: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton - 320, // 63: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton - 25, // 64: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator - 24, // 65: proto.DisappearingMode.trigger:type_name -> proto.DisappearingMode.Trigger - 0, // 66: proto.DeviceListMetadata.senderAccountType:type_name -> proto.ADVEncryptionType - 0, // 67: proto.DeviceListMetadata.receiverAccountType:type_name -> proto.ADVEncryptionType - 148, // 68: proto.ContextInfo.quotedMessage:type_name -> proto.Message - 325, // 69: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo - 205, // 70: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey - 322, // 71: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo - 134, // 72: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode - 143, // 73: proto.ContextInfo.actionLink:type_name -> proto.ActionLink - 133, // 74: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention - 321, // 75: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo - 137, // 76: proto.ContextInfo.forwardedNewsletterMessageInfo:type_name -> proto.ForwardedNewsletterMessageInfo - 324, // 77: proto.ContextInfo.businessMessageForwardInfo:type_name -> proto.ContextInfo.BusinessMessageForwardInfo - 323, // 78: proto.ContextInfo.dataSharingContext:type_name -> proto.ContextInfo.DataSharingContext - 28, // 79: proto.ForwardedNewsletterMessageInfo.contentType:type_name -> proto.ForwardedNewsletterMessageInfo.ContentType - 29, // 80: proto.BotPluginMetadata.provider:type_name -> proto.BotPluginMetadata.SearchProvider - 30, // 81: proto.BotPluginMetadata.pluginType:type_name -> proto.BotPluginMetadata.PluginType - 205, // 82: proto.BotPluginMetadata.parentPluginMessageKey:type_name -> proto.MessageKey - 142, // 83: proto.BotMetadata.avatarMetadata:type_name -> proto.BotAvatarMetadata - 140, // 84: proto.BotMetadata.pluginMetadata:type_name -> proto.BotPluginMetadata - 138, // 85: proto.BotMetadata.suggestedPromptMetadata:type_name -> proto.BotSuggestedPromptMetadata - 139, // 86: proto.BotMetadata.searchMetadata:type_name -> proto.BotSearchMetadata - 327, // 87: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton - 326, // 88: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton - 328, // 89: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton - 329, // 90: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData - 31, // 91: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type - 156, // 92: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 96, // 93: proto.Message.imageMessage:type_name -> proto.ImageMessage - 111, // 94: proto.Message.contactMessage:type_name -> proto.ContactMessage - 180, // 95: proto.Message.locationMessage:type_name -> proto.LocationMessage - 101, // 96: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage - 107, // 97: proto.Message.documentMessage:type_name -> proto.DocumentMessage - 121, // 98: proto.Message.audioMessage:type_name -> proto.AudioMessage - 151, // 99: proto.Message.videoMessage:type_name -> proto.VideoMessage - 115, // 100: proto.Message.call:type_name -> proto.Call - 113, // 101: proto.Message.chat:type_name -> proto.Chat - 165, // 102: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage - 110, // 103: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage - 98, // 104: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 156, // 105: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 157, // 106: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage - 181, // 107: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage - 163, // 108: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage - 109, // 109: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage - 114, // 110: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage - 152, // 111: proto.Message.templateMessage:type_name -> proto.TemplateMessage - 155, // 112: proto.Message.stickerMessage:type_name -> proto.StickerMessage - 99, // 113: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage - 153, // 114: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage - 166, // 115: proto.Message.productMessage:type_name -> proto.ProductMessage - 108, // 116: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage - 150, // 117: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo - 183, // 118: proto.Message.listMessage:type_name -> proto.ListMessage - 100, // 119: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage - 177, // 120: proto.Message.orderMessage:type_name -> proto.OrderMessage - 182, // 121: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage - 100, // 122: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage - 185, // 123: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage - 118, // 124: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage - 117, // 125: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage - 176, // 126: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage - 187, // 127: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage - 164, // 128: proto.Message.reactionMessage:type_name -> proto.ReactionMessage - 154, // 129: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage - 186, // 130: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage - 171, // 131: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage - 168, // 132: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage - 184, // 133: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage - 100, // 134: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage - 162, // 135: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage - 100, // 136: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage - 104, // 137: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage - 100, // 138: proto.Message.editedMessage:type_name -> proto.FutureProofMessage - 100, // 139: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage - 171, // 140: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage - 160, // 141: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage - 100, // 142: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage - 173, // 143: proto.Message.pinInChatMessage:type_name -> proto.PinInChatMessage - 171, // 144: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage - 159, // 145: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage - 151, // 146: proto.Message.ptvMessage:type_name -> proto.VideoMessage - 100, // 147: proto.Message.botInvokeMessage:type_name -> proto.FutureProofMessage - 116, // 148: proto.Message.callLogMesssage:type_name -> proto.CallLogMessage - 179, // 149: proto.Message.messageHistoryBundle:type_name -> proto.MessageHistoryBundle - 106, // 150: proto.Message.encCommentMessage:type_name -> proto.EncCommentMessage - 120, // 151: proto.Message.bcallMessage:type_name -> proto.BCallMessage - 100, // 152: proto.Message.lottieStickerMessage:type_name -> proto.FutureProofMessage - 103, // 153: proto.Message.eventMessage:type_name -> proto.EventMessage - 105, // 154: proto.Message.encEventResponseMessage:type_name -> proto.EncEventResponseMessage - 112, // 155: proto.Message.commentMessage:type_name -> proto.CommentMessage - 178, // 156: proto.Message.newsletterAdminInviteMessage:type_name -> proto.NewsletterAdminInviteMessage - 172, // 157: proto.Message.placeholderMessage:type_name -> proto.PlaceholderMessage - 158, // 158: proto.Message.secretEncryptedMessage:type_name -> proto.SecretEncryptedMessage - 135, // 159: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata - 141, // 160: proto.MessageContextInfo.botMetadata:type_name -> proto.BotMetadata - 131, // 161: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 136, // 162: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo - 32, // 163: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution - 131, // 164: proto.VideoMessage.annotations:type_name -> proto.InteractiveAnnotation - 136, // 165: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo - 330, // 166: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 331, // 167: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate - 330, // 168: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 187, // 169: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage - 136, // 170: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo - 136, // 171: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo - 148, // 172: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message - 205, // 173: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey - 146, // 174: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground - 205, // 175: proto.SecretEncryptedMessage.targetMessageKey:type_name -> proto.MessageKey - 33, // 176: proto.SecretEncryptedMessage.secretEncType:type_name -> proto.SecretEncryptedMessage.SecretEncType - 205, // 177: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey - 34, // 178: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType - 35, // 179: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType - 36, // 180: proto.RequestWelcomeMessageMetadata.localChatState:type_name -> proto.RequestWelcomeMessageMetadata.LocalChatState - 136, // 181: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo - 148, // 182: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message - 147, // 183: proto.RequestPaymentMessage.amount:type_name -> proto.Money - 146, // 184: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground - 205, // 185: proto.ReactionMessage.key:type_name -> proto.MessageKey - 205, // 186: proto.ProtocolMessage.key:type_name -> proto.MessageKey - 37, // 187: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type - 97, // 188: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification - 123, // 189: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare - 124, // 190: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest - 95, // 191: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync - 128, // 192: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification - 134, // 193: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode - 148, // 194: proto.ProtocolMessage.editedMessage:type_name -> proto.Message - 175, // 195: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage - 174, // 196: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage - 119, // 197: proto.ProtocolMessage.botFeedbackMessage:type_name -> proto.BotFeedbackMessage - 161, // 198: proto.ProtocolMessage.requestWelcomeMessageMetadata:type_name -> proto.RequestWelcomeMessageMetadata - 129, // 199: proto.ProtocolMessage.mediaNotifyMessage:type_name -> proto.MediaNotifyMessage - 332, // 200: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot - 333, // 201: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot - 136, // 202: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo - 205, // 203: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey - 170, // 204: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue - 169, // 205: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata - 334, // 206: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option - 136, // 207: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo - 38, // 208: proto.PlaceholderMessage.type:type_name -> proto.PlaceholderMessage.PlaceholderType - 205, // 209: proto.PinInChatMessage.key:type_name -> proto.MessageKey - 39, // 210: proto.PinInChatMessage.type:type_name -> proto.PinInChatMessage.Type - 2, // 211: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType - 335, // 212: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult - 2, // 213: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType - 340, // 214: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload - 339, // 215: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview - 342, // 216: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest - 341, // 217: proto.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest - 40, // 218: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType - 42, // 219: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus - 41, // 220: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface - 136, // 221: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo - 205, // 222: proto.OrderMessage.orderRequestMessageId:type_name -> proto.MessageKey - 136, // 223: proto.NewsletterAdminInviteMessage.contextInfo:type_name -> proto.ContextInfo - 136, // 224: proto.MessageHistoryBundle.contextInfo:type_name -> proto.ContextInfo - 136, // 225: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo - 136, // 226: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo - 43, // 227: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType - 343, // 228: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply - 136, // 229: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo - 44, // 230: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType - 344, // 231: proto.ListMessage.sections:type_name -> proto.ListMessage.Section - 348, // 232: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo - 136, // 233: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo - 205, // 234: proto.KeepInChatMessage.key:type_name -> proto.MessageKey - 1, // 235: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType - 45, // 236: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType - 351, // 237: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body - 136, // 238: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo - 350, // 239: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage - 353, // 240: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header - 357, // 241: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body - 354, // 242: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer - 136, // 243: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo - 358, // 244: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage - 355, // 245: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage - 352, // 246: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage - 356, // 247: proto.InteractiveMessage.carouselMessage:type_name -> proto.InteractiveMessage.CarouselMessage - 194, // 248: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant - 48, // 249: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason - 49, // 250: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType - 200, // 251: proto.HistorySync.conversations:type_name -> proto.Conversation - 282, // 252: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo - 191, // 253: proto.HistorySync.pushnames:type_name -> proto.Pushname - 199, // 254: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings - 190, // 255: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata - 193, // 256: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants - 270, // 257: proto.HistorySync.callLogRecords:type_name -> proto.CallLogRecord - 50, // 258: proto.HistorySync.aiWaitListState:type_name -> proto.HistorySync.BotAIWaitListState - 192, // 259: proto.HistorySync.phoneNumberToLidMappings:type_name -> proto.PhoneNumberToLIDMapping - 282, // 260: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo - 51, // 261: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank - 189, // 262: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings - 3, // 263: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility - 189, // 264: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings - 202, // 265: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings - 202, // 266: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings - 202, // 267: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings - 201, // 268: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings - 195, // 269: proto.GlobalSettings.individualNotificationSettings:type_name -> proto.NotificationSettings - 195, // 270: proto.GlobalSettings.groupNotificationSettings:type_name -> proto.NotificationSettings - 304, // 271: proto.GlobalSettings.chatLockSettings:type_name -> proto.ChatLockSettings - 197, // 272: proto.Conversation.messages:type_name -> proto.HistorySyncMsg - 52, // 273: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType - 134, // 274: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode - 198, // 275: proto.Conversation.participant:type_name -> proto.GroupParticipant - 189, // 276: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings - 3, // 277: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility - 53, // 278: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType - 206, // 279: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion - 209, // 280: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord - 214, // 281: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId - 213, // 282: proto.SyncdRecord.index:type_name -> proto.SyncdIndex - 207, // 283: proto.SyncdRecord.value:type_name -> proto.SyncdValue - 214, // 284: proto.SyncdRecord.keyId:type_name -> proto.KeyId - 206, // 285: proto.SyncdPatch.version:type_name -> proto.SyncdVersion - 212, // 286: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation - 215, // 287: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference - 214, // 288: proto.SyncdPatch.keyId:type_name -> proto.KeyId - 216, // 289: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode - 212, // 290: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation - 54, // 291: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation - 209, // 292: proto.SyncdMutation.record:type_name -> proto.SyncdRecord - 227, // 293: proto.SyncActionValue.starAction:type_name -> proto.StarAction - 258, // 294: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction - 241, // 295: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction - 238, // 296: proto.SyncActionValue.pinAction:type_name -> proto.PinAction - 228, // 297: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting - 232, // 298: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting - 231, // 299: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction - 230, // 300: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction - 248, // 301: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction - 249, // 302: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction - 246, // 303: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting - 264, // 304: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction - 252, // 305: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction - 250, // 306: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration - 244, // 307: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction - 259, // 308: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction - 254, // 309: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction - 220, // 310: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting - 236, // 311: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature - 265, // 312: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions - 266, // 313: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction - 224, // 314: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction - 219, // 315: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction - 221, // 316: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction - 240, // 317: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction - 235, // 318: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction - 225, // 319: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction - 229, // 320: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction - 261, // 321: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction - 260, // 322: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction - 237, // 323: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction - 243, // 324: proto.SyncActionValue.marketingMessageAction:type_name -> proto.MarketingMessageAction - 242, // 325: proto.SyncActionValue.marketingMessageBroadcastAction:type_name -> proto.MarketingMessageBroadcastAction - 251, // 326: proto.SyncActionValue.externalWebBetaAction:type_name -> proto.ExternalWebBetaAction - 233, // 327: proto.SyncActionValue.privacySettingRelayAllCalls:type_name -> proto.PrivacySettingRelayAllCalls - 262, // 328: proto.SyncActionValue.callLogAction:type_name -> proto.CallLogAction - 226, // 329: proto.SyncActionValue.statusPrivacy:type_name -> proto.StatusPrivacyAction - 263, // 330: proto.SyncActionValue.botWelcomeRequestAction:type_name -> proto.BotWelcomeRequestAction - 253, // 331: proto.SyncActionValue.deleteIndividualCallLog:type_name -> proto.DeleteIndividualCallLogAction - 247, // 332: proto.SyncActionValue.labelReorderingAction:type_name -> proto.LabelReorderingAction - 239, // 333: proto.SyncActionValue.paymentInfoAction:type_name -> proto.PaymentInfoAction - 255, // 334: proto.SyncActionValue.customPaymentMethodsAction:type_name -> proto.CustomPaymentMethodsAction - 245, // 335: proto.SyncActionValue.lockChatAction:type_name -> proto.LockChatAction - 304, // 336: proto.SyncActionValue.chatLockSettings:type_name -> proto.ChatLockSettings - 218, // 337: proto.SyncActionValue.wamoUserIdentifierAction:type_name -> proto.WamoUserIdentifierAction - 234, // 338: proto.SyncActionValue.privacySettingDisableLinkPreviewsAction:type_name -> proto.PrivacySettingDisableLinkPreviewsAction - 305, // 339: proto.SyncActionValue.deviceCapabilities:type_name -> proto.DeviceCapabilities - 205, // 340: proto.SyncActionMessage.key:type_name -> proto.MessageKey - 222, // 341: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage - 55, // 342: proto.StatusPrivacyAction.mode:type_name -> proto.StatusPrivacyAction.StatusDistributionMode - 268, // 343: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight - 56, // 344: proto.MarketingMessageAction.type:type_name -> proto.MarketingMessageAction.MarketingMessagePrototypeType - 223, // 345: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange - 223, // 346: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 256, // 347: proto.CustomPaymentMethodsAction.customPaymentMethods:type_name -> proto.CustomPaymentMethod - 257, // 348: proto.CustomPaymentMethod.metadata:type_name -> proto.CustomPaymentMethodMetadata - 223, // 349: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 270, // 350: proto.CallLogAction.callLogRecord:type_name -> proto.CallLogRecord - 223, // 351: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 217, // 352: proto.SyncActionData.value:type_name -> proto.SyncActionValue - 57, // 353: proto.PatchDebugData.senderPlatform:type_name -> proto.PatchDebugData.Platform - 60, // 354: proto.CallLogRecord.callResult:type_name -> proto.CallLogRecord.CallResult - 58, // 355: proto.CallLogRecord.silenceReason:type_name -> proto.CallLogRecord.SilenceReason - 360, // 356: proto.CallLogRecord.participants:type_name -> proto.CallLogRecord.ParticipantInfo - 59, // 357: proto.CallLogRecord.callType:type_name -> proto.CallLogRecord.CallType - 61, // 358: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue - 271, // 359: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate - 62, // 360: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType - 63, // 361: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType - 271, // 362: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate - 64, // 363: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType - 65, // 364: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType - 278, // 365: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello - 277, // 366: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello - 279, // 367: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish - 363, // 368: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent - 362, // 369: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo - 68, // 370: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType - 69, // 371: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason - 366, // 372: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource - 365, // 373: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData - 66, // 374: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product - 67, // 375: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension - 364, // 376: proto.ClientPayload.interopData:type_name -> proto.ClientPayload.InteropData - 282, // 377: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo - 205, // 378: proto.WebMessageInfo.key:type_name -> proto.MessageKey - 148, // 379: proto.WebMessageInfo.message:type_name -> proto.Message - 76, // 380: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status - 75, // 381: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType - 293, // 382: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo - 181, // 383: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage - 293, // 384: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo - 77, // 385: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus - 296, // 386: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData - 292, // 387: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange - 284, // 388: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt - 287, // 389: proto.WebMessageInfo.reactions:type_name -> proto.Reaction - 296, // 390: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData - 285, // 391: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA - 289, // 392: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate - 290, // 393: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata - 297, // 394: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat - 291, // 395: proto.WebMessageInfo.pinInChat:type_name -> proto.PinInChat - 288, // 396: proto.WebMessageInfo.premiumMessageInfo:type_name -> proto.PremiumMessageInfo - 300, // 397: proto.WebMessageInfo.commentMetadata:type_name -> proto.CommentMetadata - 298, // 398: proto.WebMessageInfo.eventResponses:type_name -> proto.EventResponse - 286, // 399: proto.WebMessageInfo.reportingTokenInfo:type_name -> proto.ReportingTokenInfo - 299, // 400: proto.WebMessageInfo.eventAdditionalMetadata:type_name -> proto.EventAdditionalMetadata - 78, // 401: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag - 78, // 402: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag - 78, // 403: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag - 78, // 404: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag - 78, // 405: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag - 78, // 406: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag - 78, // 407: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag - 78, // 408: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag - 78, // 409: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag - 78, // 410: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag - 78, // 411: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag - 78, // 412: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag - 78, // 413: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag - 78, // 414: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag - 78, // 415: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag - 78, // 416: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag - 78, // 417: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag - 78, // 418: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag - 78, // 419: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag - 78, // 420: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag - 78, // 421: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag - 78, // 422: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag - 78, // 423: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag - 78, // 424: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag - 78, // 425: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag - 78, // 426: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag - 78, // 427: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag - 78, // 428: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag - 78, // 429: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag - 78, // 430: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag - 78, // 431: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag - 78, // 432: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag - 78, // 433: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag - 78, // 434: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag - 78, // 435: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag - 78, // 436: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag - 78, // 437: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag - 78, // 438: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag - 78, // 439: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag - 78, // 440: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag - 78, // 441: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag - 78, // 442: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag - 78, // 443: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag - 78, // 444: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag - 78, // 445: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag - 205, // 446: proto.Reaction.key:type_name -> proto.MessageKey - 205, // 447: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey - 167, // 448: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage - 79, // 449: proto.PinInChat.type:type_name -> proto.PinInChat.Type - 205, // 450: proto.PinInChat.key:type_name -> proto.MessageKey - 295, // 451: proto.PinInChat.messageAddOnContextInfo:type_name -> proto.MessageAddOnContextInfo - 82, // 452: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency - 81, // 453: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status - 205, // 454: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey - 80, // 455: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus - 147, // 456: proto.PaymentInfo.primaryAmount:type_name -> proto.Money - 147, // 457: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money - 205, // 458: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey - 148, // 459: proto.NotificationMessageInfo.message:type_name -> proto.Message - 1, // 460: proto.KeepInChat.keepType:type_name -> proto.KeepType - 205, // 461: proto.KeepInChat.key:type_name -> proto.MessageKey - 205, // 462: proto.EventResponse.eventResponseMessageKey:type_name -> proto.MessageKey - 102, // 463: proto.EventResponse.eventResponseMessage:type_name -> proto.EventResponseMessage - 205, // 464: proto.CommentMetadata.commentParentKey:type_name -> proto.MessageKey - 370, // 465: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate - 370, // 466: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate - 306, // 467: proto.ChatLockSettings.secretCode:type_name -> proto.UserPassword - 86, // 468: proto.DeviceCapabilities.chatLockSupportLevel:type_name -> proto.DeviceCapabilities.ChatLockSupportLevel - 88, // 469: proto.UserPassword.encoding:type_name -> proto.UserPassword.Encoding - 87, // 470: proto.UserPassword.transformer:type_name -> proto.UserPassword.Transformer - 375, // 471: proto.UserPassword.transformerArg:type_name -> proto.UserPassword.TransformerArg - 311, // 472: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - 310, // 473: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - 313, // 474: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - 312, // 475: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - 7, // 476: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType - 8, // 477: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - 15, // 478: proto.CallLogMessage.CallParticipant.callOutcome:type_name -> proto.CallLogMessage.CallOutcome - 317, // 479: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText - 18, // 480: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type - 316, // 481: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo - 23, // 482: proto.HydratedTemplateButton.HydratedURLButton.webviewPresentation:type_name -> proto.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType - 26, // 483: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType - 27, // 484: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType - 98, // 485: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage - 98, // 486: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage - 98, // 487: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage - 98, // 488: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage - 98, // 489: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage - 132, // 490: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton - 107, // 491: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 96, // 492: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 151, // 493: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 180, // 494: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 98, // 495: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage - 98, // 496: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage - 144, // 497: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton - 107, // 498: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 98, // 499: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 96, // 500: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 151, // 501: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 180, // 502: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 96, // 503: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage - 96, // 504: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage - 53, // 505: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType - 155, // 506: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage - 337, // 507: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse - 336, // 508: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse - 338, // 509: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail - 205, // 510: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> proto.MessageKey - 345, // 511: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row - 346, // 512: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product - 347, // 513: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection - 349, // 514: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage - 46, // 515: proto.InteractiveResponseMessage.Body.format:type_name -> proto.InteractiveResponseMessage.Body.Format - 359, // 516: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - 107, // 517: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage - 96, // 518: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage - 151, // 519: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage - 180, // 520: proto.InteractiveMessage.Header.locationMessage:type_name -> proto.LocationMessage - 166, // 521: proto.InteractiveMessage.Header.productMessage:type_name -> proto.ProductMessage - 187, // 522: proto.InteractiveMessage.CarouselMessage.cards:type_name -> proto.InteractiveMessage - 47, // 523: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface - 60, // 524: proto.CallLogRecord.ParticipantInfo.callResult:type_name -> proto.CallLogRecord.CallResult - 272, // 525: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName - 367, // 526: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload - 70, // 527: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform - 72, // 528: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform - 368, // 529: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion - 71, // 530: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel - 73, // 531: proto.ClientPayload.UserAgent.deviceType:type_name -> proto.ClientPayload.UserAgent.DeviceType - 74, // 532: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod - 373, // 533: proto.QP.Filter.parameters:type_name -> proto.QP.FilterParameters - 83, // 534: proto.QP.Filter.filterResult:type_name -> proto.QP.FilterResult - 84, // 535: proto.QP.Filter.clientNotSupportedConfig:type_name -> proto.QP.FilterClientNotSupportedConfig - 85, // 536: proto.QP.FilterClause.clauseType:type_name -> proto.QP.ClauseType - 374, // 537: proto.QP.FilterClause.clauses:type_name -> proto.QP.FilterClause - 372, // 538: proto.QP.FilterClause.filters:type_name -> proto.QP.Filter - 376, // 539: proto.UserPassword.TransformerArg.value:type_name -> proto.UserPassword.TransformerArg.Value - 540, // [540:540] is the sub-list for method output_type - 540, // [540:540] is the sub-list for method input_type - 540, // [540:540] is the sub-list for extension type_name - 540, // [540:540] is the sub-list for extension extendee - 0, // [0:540] is the sub-list for field type_name -} - -func init() { file_binary_proto_def_proto_init() } -func file_binary_proto_def_proto_init() { - if File_binary_proto_def_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_binary_proto_def_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ADVSignedKeyIndexList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ADVSignedDeviceIdentity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ADVSignedDeviceIdentityHMAC); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ADVKeyIndexList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ADVDeviceIdentity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitialSecurityNotificationSettingSync); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySyncNotification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupInviteMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FutureProofMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtendedTextMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncReactionMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncEventResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EncCommentMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DocumentMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceSentMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeclinePaymentRequestMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactsArrayMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommentMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Chat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelPaymentRequestMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Call); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallLogMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotFeedbackMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BCallMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AudioMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyShare); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyFingerprint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateSyncKeyData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppStateFatalExceptionNotification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaNotifyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveAnnotation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupMention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisappearingMode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceListMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ForwardedNewsletterMessageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotSuggestedPromptMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotSearchMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotPluginMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotAvatarMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Point); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentBackground); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Money); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageSecretMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageContextInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButtonReplyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerSyncRMRMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SenderKeyDistributionMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendPaymentMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecretEncryptedMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduledCallEditMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduledCallCreationMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestWelcomeMessageMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestPhoneNumberMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestPaymentMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReactionMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtocolMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollVoteMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessageMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollEncValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlaceholderMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinInChatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInviteMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewsletterAdminInviteMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageHistoryBundle); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiveLocationMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InvoiceMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EphemeralSetting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WallpaperSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pushname); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PhoneNumberToLIDMapping); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PastParticipants); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PastParticipant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySync); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySyncMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupParticipant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Conversation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvatarUserSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoDownloadSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerErrorReceipt); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaRetryNotification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdSnapshot); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdRecord); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdPatch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdMutations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdMutation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdIndex); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExternalBlobReference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExitCode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WamoUserIdentifierAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserStatusMuteAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnarchiveChatsSetting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeFormatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionMessageRange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusPrivacyAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StarAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecurityNotificationSetting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRecentStickerAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecentEmojiWeightsAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuickReplyAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNameSetting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivacySettingRelayAllCalls); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivacySettingDisableLinkPreviewsAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryVersionAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryFeature); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PnForLidChatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInfoAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NuxAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketingMessageBroadcastAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketingMessageAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkChatAsReadAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LockChatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocaleSetting); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelReorderingAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelEditAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelAssociationAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyExpiration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExternalWebBetaAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMessageForMeAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteIndividualCallLogAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteChatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomPaymentMethodsAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomPaymentMethod); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CustomPaymentMethodMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearChatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatAssignmentOpenedStatusAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatAssignmentAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallLogAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotWelcomeRequestAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArchiveChatAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AndroidUnsupportedActions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecentEmojiWeight); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PatchDebugData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallLogRecord); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifiedNameCertificate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalizedName); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizIdentityInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizAccountPayload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizAccountLinkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeServerHello); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeClientHello); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeClientFinish); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebNotificationsInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebMessageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebFeatures); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserReceipt); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusPSA); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReportingTokenInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Reaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PremiumMessageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollAdditionalMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinInChat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PhotoChange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationMessageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageAddOnContextInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAdditionalMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommentMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QP); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatLockSettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceCapabilities); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPassword); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_HistorySyncConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_AppVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[225].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallLogMessage_CallParticipant); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[226].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[227].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[228].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button_ButtonText); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[229].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[230].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[231].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[232].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_UTMInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[233].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[234].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_DataSharingContext); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[235].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[236].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_AdReplyInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[237].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_URLButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[238].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_QuickReplyButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[239].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_CallButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[240].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentBackground_MediaData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[241].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[242].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage_FourRowTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[243].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage_ProductSnapshot); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[244].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage_CatalogSnapshot); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[245].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage_Option); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[246].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[247].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[248].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[249].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[250].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[251].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[252].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[253].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[254].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListResponseMessage_SingleSelectReply); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[255].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Section); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[256].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Row); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[257].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Product); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[258].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductSection); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[259].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductListInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[260].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductListHeaderImage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[261].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[262].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage_Body); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[263].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_NativeFlowMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[264].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[265].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Footer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[266].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_CollectionMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[267].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_CarouselMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[268].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Body); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[269].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_ShopMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[270].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[271].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallLogRecord_ParticipantInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[272].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifiedNameCertificate_Details); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[273].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_WebInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[274].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_UserAgent); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[275].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_InteropData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[276].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[277].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_DNSSource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[278].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[279].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_UserAgent_AppVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[280].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate_Details); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[281].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain_NoiseCertificate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[282].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain_NoiseCertificate_Details); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[283].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QP_Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[284].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QP_FilterParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[285].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QP_FilterClause); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[286].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPassword_TransformerArg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[287].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserPassword_TransformerArg_Value); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_binary_proto_def_proto_msgTypes[28].OneofWrappers = []interface{}{ - (*ButtonsResponseMessage_SelectedDisplayText)(nil), - } - file_binary_proto_def_proto_msgTypes[29].OneofWrappers = []interface{}{ - (*ButtonsMessage_Text)(nil), - (*ButtonsMessage_DocumentMessage)(nil), - (*ButtonsMessage_ImageMessage)(nil), - (*ButtonsMessage_VideoMessage)(nil), - (*ButtonsMessage_LocationMessage)(nil), - } - file_binary_proto_def_proto_msgTypes[42].OneofWrappers = []interface{}{ - (*InteractiveAnnotation_Location)(nil), - (*InteractiveAnnotation_Newsletter)(nil), - } - file_binary_proto_def_proto_msgTypes[43].OneofWrappers = []interface{}{ - (*HydratedTemplateButton_QuickReplyButton)(nil), - (*HydratedTemplateButton_UrlButton)(nil), - (*HydratedTemplateButton_CallButton)(nil), - } - file_binary_proto_def_proto_msgTypes[55].OneofWrappers = []interface{}{ - (*TemplateButton_QuickReplyButton_)(nil), - (*TemplateButton_UrlButton)(nil), - (*TemplateButton_CallButton_)(nil), - } - file_binary_proto_def_proto_msgTypes[63].OneofWrappers = []interface{}{ - (*TemplateMessage_FourRowTemplate_)(nil), - (*TemplateMessage_HydratedFourRowTemplate_)(nil), - (*TemplateMessage_InteractiveMessageTemplate)(nil), - } - file_binary_proto_def_proto_msgTypes[97].OneofWrappers = []interface{}{ - (*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), - } - file_binary_proto_def_proto_msgTypes[98].OneofWrappers = []interface{}{ - (*InteractiveMessage_ShopStorefrontMessage)(nil), - (*InteractiveMessage_CollectionMessage_)(nil), - (*InteractiveMessage_NativeFlowMessage_)(nil), - (*InteractiveMessage_CarouselMessage_)(nil), - } - file_binary_proto_def_proto_msgTypes[220].OneofWrappers = []interface{}{ - (*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil), - (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil), - } - file_binary_proto_def_proto_msgTypes[221].OneofWrappers = []interface{}{ - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil), - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil), - } - file_binary_proto_def_proto_msgTypes[241].OneofWrappers = []interface{}{ - (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage)(nil), - (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText)(nil), - (*TemplateMessage_HydratedFourRowTemplate_ImageMessage)(nil), - (*TemplateMessage_HydratedFourRowTemplate_VideoMessage)(nil), - (*TemplateMessage_HydratedFourRowTemplate_LocationMessage)(nil), - } - file_binary_proto_def_proto_msgTypes[242].OneofWrappers = []interface{}{ - (*TemplateMessage_FourRowTemplate_DocumentMessage)(nil), - (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil), - (*TemplateMessage_FourRowTemplate_ImageMessage)(nil), - (*TemplateMessage_FourRowTemplate_VideoMessage)(nil), - (*TemplateMessage_FourRowTemplate_LocationMessage)(nil), - } - file_binary_proto_def_proto_msgTypes[264].OneofWrappers = []interface{}{ - (*InteractiveMessage_Header_DocumentMessage)(nil), - (*InteractiveMessage_Header_ImageMessage)(nil), - (*InteractiveMessage_Header_JpegThumbnail)(nil), - (*InteractiveMessage_Header_VideoMessage)(nil), - (*InteractiveMessage_Header_LocationMessage)(nil), - (*InteractiveMessage_Header_ProductMessage)(nil), - } - file_binary_proto_def_proto_msgTypes[287].OneofWrappers = []interface{}{ - (*UserPassword_TransformerArg_Value_AsBlob)(nil), - (*UserPassword_TransformerArg_Value_AsUnsignedInteger)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_binary_proto_def_proto_rawDesc, - NumEnums: 89, - NumMessages: 288, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_binary_proto_def_proto_goTypes, - DependencyIndexes: file_binary_proto_def_proto_depIdxs, - EnumInfos: file_binary_proto_def_proto_enumTypes, - MessageInfos: file_binary_proto_def_proto_msgTypes, - }.Build() - File_binary_proto_def_proto = out.File - file_binary_proto_def_proto_rawDesc = nil - file_binary_proto_def_proto_goTypes = nil - file_binary_proto_def_proto_depIdxs = nil -} diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw deleted file mode 100644 index c5fa6e8ccaf2dd8ea88e9afeb6416bcdf7856980..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 92065 zcmdqKYjC4kdLA}xvb)KTH#EAZhr_wy{J+2zb|c4v3BTJ3@WNMf1TEIYDeTd72@l3k7~Kb*>+ zxLo;@s#L|Ur1CuPIp;g)yMW}3X5&hJbQ9k>@427zp7(x&oA9srW?{r7w{7P`O-5IyK$D@_07pGobQ1&zb zsUX)nIOw1D#w^wvpAI`Kmjoo0o_`~_o`gj!E7Jm=l@uG{a$9=h20SApNG69rI2AlIq4(Rnh2j|_$Okh=C#?fB zlkz+NZNa>mz2@UVM`mqleMPU}8k#Bh4u+2h<8HsleB}d&|J_uu43OBG-Uu!aTaPMj zS4 z-X*eF=MBz-4gX~j%ti>k@GJlM;OfK9aD;W1^_gFP&g=oN&{|+dWqv`-S516+8?)e@0p#FNX?gm=eoV)Zm(16 zb;sS-alQ5UxZlD-D6f}0yQBMNrp^Xp|Aw6d95GIt8xLm={maP8e>Qk>bUGOHhvQ=F z_;{y(-%QcU6wqX| zROq$q{bSr0vr@@fARMvnN%x!E{n5D7=4{PL$*ipW*Me6~2^CFM@#wVoV7D_GVV#P+ zkea8xZtwm|Ak|zLe)VUkg1{XgBI&`fdxC4zY$^LmR5|J#^m}dQ>FwhZ@<1%(&Jf!G znY>CCRrH;IJ_x>X+CnyOW7!pp%1dFJIAW5im)(Abf9F!L;GfR?d~kKIdaGKyQ_Ve* z4}vSjZB^SX=cbskSyAQ9+IzW6`76PtN;x;3p9?P6>Sa~P%@DRx*es|@?s9%Mm?@XG z%DF2nRVp`bHEZ?URVG*Jg;H)dpAVJ_)sm`JO8d>i#!k7Jo0Gb>3)Mm{;LpNNZM%@0 z&o2bC#X_^NQ$fZ88)+7I_M5kJi}}T1u2O64*SBlca&9S~3l{h(z;_$X+;aX}uxK06 zK)L*rK=Y>E!tO?8Yp=G~$X#PE@01H_zt+g**&=@4Q595jovq-jRK8s)mUB1qSA*%j zJN4X?oPpaacQgEY@Ul6bjSj9d5E9k?xO><=XmQ&%I^!|+3{Rfy>kN=`uXXRZqi@Yw z^$d1Esulwh{);(`@dVq^>`IJz`gC|K`)E$_CwIvSuG=whbZ((J6@7CT9JJ&@mkl(h z>?ilnVfVPxIBKnb?rqsW3(8Be`8%E7{qd3D+!>v(Q}Q>1D@UE~{iCs9h(%?-^0+`B zb=xSylMj+WKBSMGcDF@Zji-45eKg8|ATNMeaVwevXfioAn7(j^CR2- zlhS@HE&pOLPZ-_oXyqm;H{~bg*Ml1;-S)euAn?YIH{Bk5N@~l@11a=Wyo}o|D^hGy zHh12`Zs$?0chFgR8lbZ(`sSrEwrf>#+h7%7b1Ex~GaHpKyY(4qKbf3g3-S@9>+G`v zoRK3p0eAGl9!~dj(t|lr&^jUi9U$DjE&u!lw!B{;zZ)#${<+_2^iPKe9UNtNqGu0k^;t#Lb1u{#Ln)tD;#h;Wk+g=8>{n zD^)ftNVpXK&gI}Kj}r5ds6{_!jy1zL89fp0#nBUyqD45G3yZ$f2uJf?34{|z4ZK6= zl#d$T31&yY@iLbrl9txj%v??w)0&sgQYtFX(H@ZWs14hlp~0M93Xf@j*u9VI{Mg(B zIHts-b1I#|Ee~e={t$GG5I`Us?00@6c(#As25$!HsL~U9Cqitv&4kjKR%gQGcY=>~ zHFe4nZS?!&(RkPzRD^Cd1gqfE1$90kIHZ+9r!y?I#w`V|09|XK=6SsaBem!p{Cit=4QbRiTdk=p{Frh2~yk|Mpwhl%P*G_jYzb-+<0gsmfQh68jMea)Ye=l%5-#v8SyPN(xgW^ie}^DUaeHSqDeA-OzUyWp&59(O7J2X}39a=y{lnFF53ZNrA7hty+D)*Awg#L?@`HwEkl!R1PFmxG zBMoWE1useVR;$*ERtrDJV@zk|%MXKf%+`dO{vncOqp^JGVGah5T8rl)5xA}EU`}JhKZ8yh}eic z`l3ptf;PIY@z74U_aHisE9BH2-<7rg6*=IsQYxz|in3h`AcUyQuKUSA=j zKc~)t%D)r5m|0KL3K~$8mI9m$2kQJuS64J@R6zN_2OoEKWibiK^QhR9kN~aCdnbt8 z5*Q(}_Yl|Ku9V6(ee>0K3dQnvZKqULV3&}mr2v=1?cjRG3QRSWqep zqTOf0boh%PH!L!cdl>@X@-BJ;$cFshZkeINC!g48l6ptU_!DXY4w z?3Tf6qVgd8&8gr<`5`us0<#AlhGjwWm0%VOxg;4v@iP`}Wq_~6>JS7N6({BPPS%qjVuypr^-6}ytwgIV&cLWl6iax5QtQ6}4)HG<>*{(8UL zBMuM}7W9w(Hd43YSeP!-6rlStuR0<8;i(`G*_~BL*$Me_kORp5j=iKQ)Yh|dEq=Wt zL#04TbAgMrauUuAB=0VT*Dk&)4`pf=l>P|+EX)|tm)Nq}4&4f#>TnYkhaG;yEGD5awGa066CREA*{93FZxakGc&a(=)0%qpgJ=y%*?#ssSe4!-=PPf1_P>? z+fYMjG2JXoIJ~q;l+B_veNox^l1zl78nifgf^23%)gVv#1=0dcNR>~x4 z9ghbhW#@RH@Oy%5+CZb>oiUJ5l;=V=O!ViNyhJKQYnIs%Y&^d{i5DRP8XUDoT6Tc# zFCSqsc(&9zATbNn#j|Ckwf3xkJeYoP79wPB`180Psp7)c85M@Z)?-_m+(>r>q1|KI z@m zLJs$*pL@(!zsAU4S?V z0{ZTt)f2IMh&X>xh+NfsJ5UhZSGdK4^k7#;vE7rq{ep!oA6nUwHLuof``CW&i_ z`6p;_(kO11OM5%z5^O}E>Lqlu2opKBExDXJv*j1v9K6 z&Y(blT&gs{Sl%^!-A3RzsPLC&gC)}$d-iaH;M78bHkKB(_|Q)xWqSx^WoIY=B(kUs zi&By^MM~>JGj;WzUL}aLd`pyg|JL-UvcRwn3XVE0=zBSKBguL(KF?-oYugc=^2*?z z_GE*YTrC~kpztY1{mSe+PANefqhPW?{)@qam}h9bC~fO^RACOmsM+@BCH}=)7om&ac0c zJ^8vevwQ?sUeWyL%sJt)atK|Q8JSU-vi>n?1WTmX9(Fd5`;Wv7NYB%2XZE2QE20ur ztd@eMI7Gx`YuuojY@7mMYN(Rm85#3moC24!x)ubw`y8uB3CK*v=`tpT>shB)5M-lX zt2Ssy2oX)S(5&1p?{DtZ?f~t6cM!Ne9Y6OFOq6%)O=@r;Z4!}=;M-EIxVNjd^O1Z> zL`_-@C7K)P=g~~9n!BMf5SQ>AA!qodC zSOh=p7+btpTDTj$kZ5!lO6%?bI(<_Nq|?hA5c6!7%cYG%@z(w>lo*xzPI#LTx^kPT#T>y5wyiYm@>xrflZIc*+Agi!gaC8!6l=~P%gnY3g)fj2^iLbxv0Jr zS}yFBDwOvF{c4;~y6IS*$ZsZ4c3%1k3 zs*zAwRQ8ko7>u=P@~q;|Gv#Y33uKahDGTJd42@#83&_wYYRidZtt%n`@>a0-G1c{>k&QR1+)Rb1#qK?RVmYPFfH}oi2hL1x7HmV&O zyOTX%3obu^CzNJJ=ACC*9IVn-8VnToRlo~xuB8;K=2A^mObBH`A#1pi$cJ2T*a0S< zL2dMNA{lON!4jaji~$qA6WmN@XyZd*f-5oxTTkR3ml}kD3qJ`DgJdR!Xi|;vWsu^_ zM+l>t)dcJ&ma;R1e@Ji4LK*&a6u0^wbDXNA$K0#1HqpL~bhw1e9PI?P%UnDo{K=`{ zdZG)QUSb9GQPzUU2tpV0NjCk^b<%JXR(6r7${UUHOT{g$c+`ChtME7oZAF{t%yIes zgO1oG#EgO=YdwHN5cpn5Iw>dAYXm#OL~^_}&R49pKMK8$;5n&1l0iaX1Y>xb&C(ly zb`u&aCsNZQcQ%lPE-17&$crP6A+K;8%vzn5HhYA@ZfCRuI&gey%z>t8AQ?->9?#jN ze($~pW%E-il^#+5Y}=^V!XLgAJelbt0WsL}pnv@Me!mB=KS*`VN;RO1yTXQ2Jd!e6)&+}t)cq}F0ovpzhCAh|p5 z8xf%XfIdD4pQ?igsxvr#tRZEK%&$krvYFMb*;d|7lt$N5HRfwDjvOAF>h;XLZf3^T z6Yp(Q{hr#<#Za%S174KD0q71>qn^4qE>04}m}qMRrt3A15R|Zn2t7AAw;3Abqm)0Yf zwgdeyWPr=ua(r099SQEm$V zIz_=Sc%9lFcs83T<}Vw2JGUsNuEL#Wnv&v;%GY2EQ?J)lv#}2gm+hKifx|A`BJHfO zK3%G`U#V(2_Y+LiP7#z*L;Ni6ose6{5;ePY2}^vFZSB>!RG|c!jcaN;{F~E3Ue6MP zI_x5#Lz~0{CIyEP;+9*T$Jkp;^f$A(TqhZotrR% zb(2FLV@74*%&D)heDauQPeO>E*RbRt~g zbUf(8;y2*S9yz&~OF5~Vj02G}8+J}mjHgVqpDuy2E~=J+XgX~IEMq`(Dwf81#f1^q z0g?xrQ>pX}9iZlfF0KP4Uo=q%$Q=#-io^#QvV%S%myk`Or)4~u^VuCmgbMs3$xQi4 z)ZFR$EVNf>S~>4DcW%wr3T>f2NZ6!-nGrbIIVDE24c{nVgSIeZ5`0R*pl;%p{A$fpQi5YWP@)Sd@-$AMI~>1_T{Yv&w^MS)tA3 zoSKwPgV3y!C124@U(7{yE*vsCPFZ@|6gu53DjU64Ve`*JCY7JXKwGk6UFHQ{R9q2cZ@GR7A-L@Xs>89$LO1E@33>YLVHHAz4#fv=8M{6cJi$(_qYq@-80@x zq=H0u3JSxdy=pEkf8%;pXK&bx8FP9@loYLdI*t!A@!>za6g+=6h9>Ld1XFI};)$B| zAr7>HDXm7nOx7os%=vWn$$V;FG?AKbIC~dosPm?o(X;!!CKGNPt0EH_n&4o^w+8JF}G_kNt7u z6f8SqHNk7{WZ>9I?(BG$mGq|4<$^J`P`VajhGd5!)|E9z^0LA=gKKOX@`rU|S~eMMe&9R^8aUryYd5 z(zk)11lz@%n*6kDByN}ByX8{IxDBBH?NTt0WsLUBSAi}c0+$03XxWKuHm55CY$2Af67aki5wQox zJ7n9n49_LNtPBjEze^2UZq-<+Eu|9h`R@##N*unZtK25@k=ZJ$ns9*Cq#8&Nz@@GK zK;JPMvv?`&zFz34O>Usr^ysy*`6>Y){$+Tgq$W{_3DB&NJDE@ii*WR@3B=*|I!CRC z-TrV3kxX<B1DAuPxISQl_M$madtn`D-$MayDm((}-xruY~Ogn~14jc}8@cI^L5}oH`fPj;PK>wIc@v+%YDlWjP@8 z&AZo=y@}U5an@C+N}WiK$>b0ydleA!LcZ%f=45nwFUlq}bQN*aToRUhPPi^|0&)Y+ zuUot9)O2XlnUFC2A*;rpko;()ZW^UHbE0%%Auj}U715KmNsv@v89`pFJXgMx8c0WJ z33*OF$a&8+e>u#`0ri`t{Q4z;I+_E z>nk;er^g%xk&>3bA3PiBJiyUK;t5lSK}VJ}Y*_V32B+XbY z_m{<^hR$2IPnsZ@;D|*by9bO7oHW;#v*b*5tm5C)p0e&nG6a$@iMbbVTGUf6rmFGujKff9mQj>w4ADuCC;5pQ)s~&(vs_BmnH9kr=NSaF zL3{zzued+zidKNx8}bb2M0Hj*JTBvSG&u<)>W+)0Q6r?40EgQEf_%ejD3bk1*b?Wy z+K6R>pNV~Q^N8j`$I-Bxhap7V<`MNp3_xWR%C~}5+c{0Ji`3LsNhO$L?(DGAfa;7& zI9Q;IHo_m;YN;M`g9UQ&GQoSszNyF8W{fxvQ4Q3NISx=;A9(pHU4)Z%0%?x8+ei9t zQAoK-GaVFJm{y3Zj6x6{&mW7agO20$3F(Xt*Q<>nBuDvRkm@X3!&y5KFG)#z-qX>d zRI&tb32=^X-@Gg}*jqw^g__D$3{YbUV7+(@648qJSRw^MERjmgmxElS!?lBX^}NBP zig0U?^@nAltwgKTEcJl>>t(70FpFzW!z#K~J|%sy#q~zDnFu+ho$^du&??hiW&6x)Om+`2Io+ocDvlMzru&CsulGv~f1(w!vTmv#V^EvWpT4c>_$$ z^9ogQ4heY!O#rGhD&h8rDeG|}9Lma@Qn%IM@@attgvu&LoW$Dp25s=Ob|TlME-O@H zU9o(XF2Z^qbUFx=OBZ`v&s(v2ZYA?ox=8+RuxiQHJKgb7QO9?;6@E@CJOj&|Q8@oy z!PE9qcXood=C`G0E1I!1K?+Vyt^#hC*AiF}!K^-iUXRmdcuF8*PVC>6FT`pB@0b8k z8HHebxCjQ>Gh_O;SS=ZNIu6hENDWGO5P4taOXt;gMq${&JejePF=yW{wVt(=vkMB7 z$;g4Hu#%uCDRBZ;zAP16>a1}FD45JMa)B71^bIbYmDqQjHzC>OX!|ng_Ts1KD^i!W zeW@q1RjRJc--5J!B{mOb>?M0*3R0;xMU73S2c{-gkbeuhq47go-G)?W zum2d6=z;ONzSqaw0+h1bqD3is23ANF!MRu_r)i>FNDRxe)M77OZXXx>0zMe-o6x)( zPc#i?LUeB+C?ujuZb~ioYBW8JfvC)aM4&kI@z^LUTT+`v#5nWue3dRjvg#f?YbR%0 zs<89A!Eu=^6$3;R{Ts)9yzbG7lk6++NCjuiZe}s|L&A31e%y-n!;itHVu0kAF%emz zz*cso4lA?9bYwx%SS>SyL>A(cP)TAtwJQ}yYaYu~31DIur@Jn+;iVQMc~+`YnZ+*7 z;wcTP&a8;|-xIFdzSgCByAE|HeYMM(QHX>goCsl(h{@vPXAV;-sm>CH+HNrk1oxKA z!r@_X!?daknh&~JQRGMe7zzQG-P>A_Kw?=C_l=@P8~07jGhMVe${AzP;=+U;7eWFp~IdZ?JOYAByQ144{ksE8GA&2;99%qNjw zES*fBq!|^h77JRY58A~@`{;vdDf{2ed$RhD@|$sWeQ9(GQ)p!HCXVGd4?9y zS3hvZX@F(b59dkJP5y^)qV=WydZM)17o=#u4>2dl+1F6HbH96t!}pls7DOZpLuW6E zLUr?W5cT*@$r7n#sGo>bGAT{KJaSW-fXUATEr_9~WmP!#9AWQM~h+@i*g|2c{CmsL!&LuRI#$ zc?Z)hCo%){-qxXY{KX?1>oCO5hDGawXgw0u4TNkoM6{V-P#HO*{I^f(h+Ghn$>Hb# zIolpo?1{H^p1#0-@!!@7KLdL>XG|K8k-Jr?Z!?q$j6<5`YE8i)>(kaAzg!c}EuaktwNn^CYT^MFc5 z4vzP-g*U=1AYppMTS~@u%??*Xsbr~h_W-e9YxIDYE1k9`CPvl-H!_d5wsD6f3ScU(*`bL&j2L*xg$U?$7K2fBy@##N&~&1F43tHE#hW=;mPznYB#Zi> zA4MFijjP5WeDzPy1j~ti4O8~3f-Ydn#C!RC{g?%Zv-TAo@J#m4`2`Jh{`J7dEi-$` zG6ab|WT8Hi)&AOKwIJ90+}>khCMpL1zrQnRdUJ@_9<4D$cCRKDf*$JTnDHE2Gg#nq zZF=CP_!hJqy&bHLg+oh* z1(nX=8R+6cVcZ6^Nh2jM;plCOFrZ-CtPQmx%@+n;m_ZKl;rp^ciB5NU*78J1)Tx8RT96~S)w zKf_N4i?RH83$gC^Cx zMgh9mDMlq>k3VZu;~j=QezAbayNCcB{wp4bvlJJ2o_1vOBZQAoew7Y~W@oN3O^?Br<`Qd1KrXR;dH^iutc8t_jIr1l&o~~I?U$y4 z=Zt>tPUn~br%j7iYz6jb>9~(Zsfuhcf|m?$Y5gtJ?K4ZS(fY_0Rf(#?PX$YH2(rIA zsOJ;(1L9knCdOy@Zt%2e3+^a3GKuMJ65(o(QyBhJH@sAxB3ADmUE+8)>{E6jY8P-I;sp7>t_qwry)`-UHp%PX3!FsU?BKwze z6c|D740xDjWSt!|K`-VRF%!fba)bysk7-fiM?g!ldznz=dNMPpl0)zSIq)WAA04MV zh8eU|fuIH{5S3Yw%9BKe=Hv;f=tK^QDh-gDP&oesQ^CtR$POqE96&hM_|ss*P;dyw za@M-I>o7Ry6;c5MI|jR$OpI=O(lK&6?X9!Lt$uUmCDXgPGwMN!HK z^?(p9yjPt{i?ZqT%O7zdqNp*r2S`Xy2DtcW6g#c_r2HUw!M@pCgD;v~YGzFht`!2> z#p|e>7oI0TtMjVM<9(r5CN-Hb4O-EJxfK>pYC2I$U9@_t)}R|o#FI7_xK?Bc6;T2} zWfT&w#CgL}3J>n88>K)Z`kc8evhQ)>1?Ja3agkeFom~}&CH!P8CZcc?&hTs(yQvie zpvh!1E&M;Gjo$?bFIB!>yTupd@U~jHzFpqMd+<9^q$>$*D(Ly1uwe>H}OXJ z4qlAoyATLT9xIp&_-2IkbHBcg2le)=d%GKmCOr>n!NP92(I{+{HFdqjkk$2aS;?d0 z`?WfzPwF$>L?kbPM#yS}Fg^>=PHR-+8iR`2YVMSG5Us8pW#+*a-iSp+whdip&Mrv* zf*uotiRmuf2!H2FuoSoO1*3M=*!UVw$Ob-%!>yUmMz1wMP=m3ur9^FOA{Rul2{c`i zicP@A;B?kH?(4VE=cBhv5{(r#kZa78V#rL1xWPNxM%;kF#K=r3Fu~jF`YTDDUQ8UY z`ilt0ofs<(K?d3mTAXjpL|IvL+#$yYq~OYaJ6B*+Q#+fNAa?iPeI7!N_dnr~vMise>2x&(};l1{p z)vDrasSNg3fESP0GV`3r%kZI)?SdfSOcIPX?ET9W{|IxqsBe@!HZ|2zDkQ+BDq@;5Uq z3Q3S_?kYo0F`)nu)67Hk%;@IqZe^2@i`=IBoDu*~!;nlGOA0Nbu|}k+{#gc<0cK2S zLCE=1#J|wqnOwm$!P65f4NJj--#upuNfzO4lse*cZr0SkexmAHu(((ClP-mSW+8axf@CaB@Fvm8 zBA(LAU`_BQ)hY{cW<``agG124BlXsfzVirk{!~UUMtGA15)bb8O+&Iy>Og`zU(0}F zZE8|8tN+Vf@YIAt`P;^9XKz43E1F`z^u$=Xqfol4gNT7XGh+C%nrY~2X*~sxt#(d*8bW@Gh=I1*C$$_+fOPn|JSC17YFW4 z+Fmp2GUrS`Wvpdr_dlY(c_%%yIdyJ_R-3_#=hZ@T070Zp3$(b=Mu++W$jVy%>C3_O zjES?v3riZ}B@*E3GjY+oo}`@EG||uA=<{5HkYuf1zt@G}6*fyosRwezrLhKRw+@cP zC_d@cP6bAaY<~TlAJNig%$~m$8C~Pu)7CL#PFW?K z^1HM8Cocsrc$H)o;0@(zEA^^)DbXZLh+@4!dXkyINyY^(%?p60$YN=tStY~EYo2@G zkAQ$}CCo7LJVB+b6{yUNEcRCx{Z6+%J`&;HW#y%aB!;uG-NE#Xg?L7w3@M_M!rz$< zUdTXm;+ShT`2TxX!f9~Rh${@HQ=L;mv7ix&^uK)0UNRj9mX-b|Dp3JJjZg{>v(rj;A_E~^9-%n>-^*tm}@{TAmWt>40P#PeP)Db45R zM!jI(39Qy`R}f_IYB0T5uOPhO&s`1{eE(=JkGN7t22l1hx)XX3Q5c=Oz7v?hT*%K) z^h|S6E+eY2O@Kt;3TWW*seUThSy1~;ugM1$DyJi5z!B^F>gaTM2!={-rF7mO*2$#C9Q!jo&pkTsg$FQzOQt86m1OAoGKTOsE=Ar_2E}S$K_R!SA)6lD#T{RK137lr zC)H9WcI;@%sU%KLn)Boc%xw1$o~umbwuF&C1)Aqi4T)0k9R}K0%ZmtpTKL~Xrkscf z!*gpNih_FXTll0DHx694hCoSnf{fx+8|C5!5xS%op!9#GQpl*TLfo zI#Rbv~dR3+?o1B+Ia+76-}nv0^}<)Uise`o-{E`1hyDZ>Hk>e2Z2!YxapF&Yyj< zKp$fExg#z-`vxg#j`r$-{^U(CBH@hyK;}6kp3iB91NBpd#R3MY=_qbIoQq(wqLgpx zD*m9XVmhEoBqPwYtC10W1rMTuDG>UKxNa#5L`8Q@D{(Pb8F*(6iYL;{ul&~_DTj3p zC}WWh>yYSN$N6<@j+RwZBUuL4Hp!$UUe{tD>k#QVo+{swDXDAHh`?8ItbQ@LmTI4C zVzn9YQi@2ncp@ajvvv~Vq#-1z4Mgk3)5eYRP8siSO@%)<8_W~f%%0Q8#8x1ok|F{7!e}`J87@WP(7e{O*6wXcQ}w%sbY&&8Y=b-a1z`+B`#}WB zH?Tl<49~`pN`w>dF@5LSz*m0pdK^+ByZJ>qJgwZ6;h781r6hNOmJpq{3s!FhS53z! z%sU?L9QGfLjFiCo1NlA2Hc$ey+6bocF`=UK7Z67eO<_yvwbLJ~h}3B2hBUI(Fk$(H^5n(w^Ep}8{%W2w_VBlPb(ds{k+R>!i^~~Rjme{nZRenxq?^FYF^K4N;SXw2ZEd4z`QEYp7At( zW|xz#mI_fvWLv|ATE7hP1jQWn(k8C8pPva6jQ}Zwwr1hh zakhAq3#@J6g&FhCOoDFJkulFh_4)4!p6-F&c-YxI2F6Z=pVP?ZOGZF?MmMUHs(?q| zkfQW>tyr}qUjsKoR>n{-^S|TNxB@x>R5$S%?u}t)sEq| zZBHkEBLI(a%#$jY)}3)`6xS^=H8SyQc(elw9NHI&SKlka6`ewiW+N6qLG)FA56wUT&7;G;e z7_UlOHPNM`0Wzkko`gMw<59Cr?hQ^qNaC4(hftEq9SH zF7@Q`g;qY1ks&kGhdCiLTvb6X*<>cx0Jp3u{#4_s^ws}yI=G^b&jgB-=GE83FFE#Vs%tu_CS{y zVj}t`9nv4P4*0wbXK#_Ffbtps-lbqUvMMqLlWEl}*?LDFvx@)!I-KK#J<`?^q_8h3 z^Tj*k7=hr;WWfiSuGrL0K~|s2!1kG~pN@{W8mYaEl^U2lLo-I-;TDX}oF8Mezf&pg z!bu0>G~)k3&z*ezL4<(!0-4NZfpNM13Wu;{M0at;KxEw=w0dLNBH}LRDv6$A2ky@e z67Z;zcdkW^iRus>GXWp|Duoa6L~cDqVDKIUw4dlh9(Ld$XsPEV??IAS-`92= zB;sVd57sZASPWvg8D&4g0nK}*7*=VgyxGLj1vRY7yS3X;rA>uD3eAykp%| zYGOVyFg$}rv^Uy4Wq<J;Z95P?P8-AknzWtWL>|A2* zNPE-XiP_-c(aHok`Llzg)7}G7vdWx5cJES%GjWyQA5!(i$ygLgntbO!138{KrBo%c zT`QTfCtEoPnr_}d?%#`^xYmj#*VnCBCL*E5zDcT$kFZ+pN_!8-1>!coaZSQPB9bL@ zC>YT2r4dCQhm3b&R1`#8i)vCfRusG90O-qLG9oemm?v%n?javq!sy1&_y~Rwtik#f zCQ!gAjVWN!zr>A*=&!1SN6$fQEJ_tO41HhpGZ7`!{~W;!b-C5O)9Q-InuZY_dFEp& z^49V8BRJ!6p%MdD$ZjWo+%=NLS?^jyHMFF zY~ZQFsjw9+d4quI5FX@i}iRIJUc#@W)_$zeNXc@6L)} zAD4hMqw50}_rq52fmF1#ZY}PU6|5=1K=P0O!?j?BUmE{!?d=p4<{VP7LTR^B#XKV{ zMPrZtaq@jB{Nq8e6hF3jiyfBEu%vAAJ^P3TGZSEa;-hqXm(V;qRfy5`g$=mfwU4Em zvDgb&*fW=_lHiCMfp@Bh4-%cxEZgMHWR!uqORj}SkW2kXJzBKi>27w7q$Bd__OhdK zr3#6IxCdE;wb1EtYbdzaJ?+B>mu*{7WjFjD*n$X|eBDo1{T6}(-xq9sPJLPB@cMNK zxy~a5gX$vW8tjGryMJVDKgm(fstZ7Zh>rfZKKo59dKDq z%x9>8WLYN!*Ope30qC@=UlY~04q{XH?rXBvIqmAGLOuZG@e*msPZI_Ng0e>Un;mhC zyNm!?<{NsyCr256_(c1hp6pD~2w(lXUfFLdYv83)J2YKy;sP1rSz@sknpK&3^a{y{I^XN*gz_KCIe`1(|Q)CD=`Gb%eXl6~@w!xvh3 zVKTAe8^J&l2u~y*yybg%3wY2vk@GsM>?haA9R9XMguoiv@5~4n+C0iqq8Es80m55v zlU*<4T(&96zS#i4Ju<8Gt7cLWdqW zNj`&yAb+BI}X zAeFJGvYq5{vRM^RBowxxg#q3DlC%*|q-?7@Ds>K9@MCP8-jjQ1yQ#89*&kOdN4u1nd?IxjGhT1^1jQUO)aYr@~JY=_~qR<%)L=f36fFT3p zR##Bj!yNnxTu5tC3Gi|Voe?XPQDzEc<=au2hzrzlPF$miV3Ka{5?tN$X}XUn{qP>H zWupY=Z%#BMfg?UiZiHXaclbBp4w6Oe6OFbFvmrVm9Uc!7t9UBcz^2G+sL}#WopvTPYPcR78tXueOo_^LF`EJp?wPl!e8@= zhnoWpDX%ayDhuRovTYY&pMu}vFHFJ8la<*ZE|B=y;)bEOQcAzgs0nPRs}PNe@Jb8H zt#ONhYq^%PAT(t^X&uPMTu}T8q44Dg9o))>(YCSoFrSsS(pe#%pPl!rL&%KF;6ys_ zn-1Dw8v+8Jw)4Ky`2^IjQFF?jzlt7-gw`+*R7btgVuQ?H{PeV$%{twKKj=KI!>#xf zLOQIHWelvCPr3tvwPfO(tHtr8iC`Sq;%$-{=P^L}?+B)>_~fs+)M zO|psr^qo&XI9V@YC>9w$CrYA?KAykDon7kOJH0Rd+*%NvOa_u(icR4N*MyrzY!VWk z=S_C_7wk!}Qw`DkT;GOelda}V$z$!U$(M`C=1PH71@__TkVEhMRHTGC90nqM$qXZ^ zhz4qnGIcc~@uaQ>GDv%-W#V`hrOxzI!DTr<5pT-11ZoLk7W-u8hT+lcdyp5?3|{NTZ>EWT8Swy^F#Znz^|Mg=0`(O{VH=m(Bjgihz>6mO4dR3P9P%HgltwUiH-aT~d7}DppW^iIicojeODSx}c7k6hl&-RSlUMDv?Mh+nP0k zurgk%lDu5lTgMZ~)kt|-X59C zC@GjL_QK)L|}rMWy62bISaA+ey~uP{;& zgPAejkSeUCaW?}5k1J-RavK~#6F-z11+kdek9MmU0&%#3%kN{8_g}9febAYaIi@OWb;U#8P=Y zNBZFgQxoMo?sytSyUvTAbI_mqA?1@ktz$gxyQzngAZG%tz8mj+T33NxT_vf7OyG^qzr zSD5-K3v*5s$@&w}>b&ZR=q#@TJD3ebJ2dT3u;vh*rFvs9D!V9&BJAXcaH6&tv4h8a z3J6sQiS9_`aPyG?5Kh7*NOe{BBQPjNyKKfHqCppC zSzlu*DAV6bm2ky{Oi~@NRh=O=u<7^fu@x68DG8&pi^|*d`i%p+ewzB;koqj069s3n z`FNW?StQ>ADmX>V_!9#S7yP4s+tQeCN`)V@#yt}O)ftuW7N%&`Ljdbit-Xao&v}{h zsD$^;JB7%KP-b(FR^E~d?481z{p_?7l;qqayo$i9Osi84yB*6FeO4;7g!G*WU}|Co zIz)NwP*Hz{5S?DsGCQN6lg6SDVy>;!@bv-I7HtRmz&p(DaOcnUyYK;3Gb^>xNz3{YLpzr-&f-i9BsB9((1S)whHpD znN6YTvXM=;x4R${X_c_3Vrk*uM%>Yin-_kJGbdIawY2`GLH`+$YdQ_+ZanP5Hwyd+ zjdzq3r<9-U1$7G)v^yKXu#DX=)IhQ%ZTS!lw{}N+Xv?cXrE>MI{*>TK#agvlC^j2# z-+me5Z6~;*$`xP3Xvf)4_+316h9rpEdD?>c20RAQq|#9po-LY0oM*ZkaQ|hx8dQUo zNm3gifveh?!Fu!9^O!23EMWMjV27EMDTxB>2wLcaQ|qcai?PZ#*9XXj7VvWRym(^R z<`7U&GpJ3s@n)j^CJsO7pJGQ*ymuMCMEqb~nuf9_?Di8v;^l;}jIvEp@9Lu|zY+5M znKKAeiaEQZIO=u@;a!ADzTgcByAi10bwJdSxu@-AkdXs*;tf;{9^rAENyLC3dMYeT zp83SC#8U{q)PYlWc-(@0o_>E)e;|xWKF#|OHtj8f7tZD)X($m5W1r@t`M z*HSbevEad=E073Oi=W}^c!|#mQ03EAwuKfwx9+VQhfZ+;XA_<9wJZ%Q36RTxymUQ z8jDtIT6rn@AZSLUEz)jG9289aAp=jdJz8|p@_TG*+4 z4K6lMgeQp2mL)O7@uj_;*?saGnkVZyBUFs6y<^JLR0K&K6)OTIF<+1KNq=ngW28je z(wbadI!fgwEhm?gZf%wZ4%w1!4rd6ljoc zO4m|?b=G-IQGGOV_A`WAPfWT@ouv>`oi@`4{evT!!pr8(IhTwL6lvmOG6}ZU9pR;b zO3&;F`x(N}QEyB`l7axYLUgT8)dF^GP*W1>)F??%N|Fe+C?%1O3*b53(gfz5okZw3 z-<{2T3NJIN^k5w1h)|GLHYMDH9Ys=Do!sq2Kp$|o9|x<&iTpIo-EU;E<(MWC=QgBJ zMg=OfT=*A3>19B3hXVBoG3g@cCy>}4z&3uQk7?8B$Im#)_zffU>EJG$paj@YC;~iGJ+put!J+Lf)0jwuit+l z#1TCICgq3CU^$^zNukgWv8gtK7e&kx34qh`TJCqsQ*@5Z1Q-XGf{02t;&qr?lNMcK z>>!$nO36%OJTbh5X^#p1s7}@iAYFmIq*zL5sPiJBq5cHQd1`_%k89E$(V5qbzNfPsx*ct)SzEi7T0# zCHjsN0^FEBArRu(JTWoRi$_}&9+YlmgM>$IqV|7F{iXflF zlxz|v&gPTjwDhoM4D4rEV3_cPcAA|58})TdnCcI%s`26GGDJSy;lD(5EU{sVENdub zfNq}_vO8mh#L(9kc==c&CkfI81Hn2MpgFP$azE2v$WZoXNDE>^WYS0}xQH);A2_@P z_%=pCU6=~-^ecifC~Okr5r!Tu&}6=LXf4%XmxNo^m?~WqoaT>FmmzK$BUb9z*p#F* zWW;zl0MgC2rU4PRx@QwOV*R0+Sg~RPMdGJ%#QM921sy`FXIz;QsSrUU=QU7L2d_2owW#`lU#M$WdlZnr{;Kd;~#HB;zWcwYAV05azV1Rsp3- zPs_&cMgc~Uusf>A%X+YY)TxLHPP3#tD&w7Wd;zn`1T-w`Vhy@-o*sYG8F`z34L_fFvNOQglr|_$)M?~ z{Eq$-yJr1}J9~AB4%0TidU>Z&zO!A%qo30}(7TmJ10XZ(c%^z9d~69P9Ub4RI+y4x ztbMNz`+9g=<1tW_+l0F`%FVJHg$-a8%ti^%dZLD-Vx54?B8d+>>(&xHY?sJA~EbjVXwE zn0weWt1CTnYGqq0vG~drkd?toMpCUSTxu3DrlQ=;8ODm{4;;lXK9;t!_NkJJAH1_dA>}1CY*WP%ni`{X1H}MI zyp8}2@gY+^Al@})oONO>oMpy!LNJC~Ff@KC$R!6RL_m3GQ@60ur~~YKf@_$M!hx`{ zkeJeQKECpr^|G-eY}e0Nc}&GUsS=?rdJni8W%uB9&O~zfZ!aN~L)5y3mY2!EmGNP3 zojcyN{yH=2`lECfovdv#hBB@Sjb~0#Mo#>YlHl+Use}i1b1gU`c7V)m+5WC276##g zU1>xmm~ZLXmFrONY8!enJ@_?Kx!%-X$q&8*o&!(iTIO~^(2cUfHOB1{{!^$(wqer; zceV!|Bb0)D!n`)y-$u{_y>8BIEP^hIWxs$R)Vcd$agD8Yan5W;@rEFDQ{01xVa$TA zZ4>X_gN-2-=d6Gd&1)FQXQX}o6&?mRA~3HRE_mdFZ0;qOAh?SD8yfNA(NfTg_~Km# zD-j+E$KlCmtQ~JQKJs=d!IRN=bUS*WUYGSPo6%)`#o7^szY9dBtFXr$#2^VP;&_>p z85Mo&p+j_nM=H3AK-2V(!zYmgO9{I!NZMTsvFg|MER=Eu;8_bD-914H#L8}U<7FXL zB@7jM@`Hq{wJJB#{OFsLK7tSw3Re)$B(Rs^`)U(-gNl|9c)5pw@j_Y8s#qEVhcRM5 zv*nPIc6P53#d~I|(dW}EL`KGZ8b*fnwa3WFHZ@a^D5%n!h6Fp{f6Cgz#}tBilHixI z9p#HN-|meXV5;$A(z48+Ma%I%mZ}X6rCb4GRnrXOXm(BpaP^_)lJ?|_Dl3cq&=MC3 z-2f%N{>pzhd=N$YRd01^!6n{3+H8B>nn%S(Tk@e*=RQ^BVj<6xDqR_Oi3v{$r*qDt z4UH2Yr-@SOo=Jx!}g(xIS;ORQS`(Bdy zl8id~=GlPFL}%C^$U47_Y-hKd7`KB{excRhxe{D8N1AOR9I@txiMt?sw%?qWhenaC z>2~`GXS#Wyg0?w7f|KSWFVc7~Ohaq zN7gMkDys4Kimf@BPsCvJ@OEKTjF;~$-i0^SdRZj5Y_jtemb(BkZPGbnRAQeas0q`GGjMlX@>j}mR!NifDj(I~wv68`P}!Kr;m zU}R)6@kDNCL-^~EL$Hvt->{fl!j|xM4H<9<-}X0D?M|aiuVu2?_4w z#@*(kVNa?C2+R~vUSX=GP7bt}Fsv-_Q&M``Yn3Uz1EQn;$hJnB7)qunfd~z6ik{+S zKsu@nWv?*Qq?hJhPFlHdFDI;8f3$JhJ#HH=fExl5w^*W(Hw;l~2nNWMBz7JoY7d)&ob~0E zB<>A;-wSa>!o#sclcqyoVL~N&g~=xCs>n-g0U-$xNIDbAt3L~=nA>2oU`8O$J&x$V z;J;5`iKMANP&SAnXCniH`ZEbUp18ZlU1kyyB08r1=3V=ZQ&>@g0!A+J9U^PG6t)Ss zMakqAMVsa`gc)~yy~)2Tyt7mgP8@9eM!885JR|e%)VB+e)!}EUys@_hap8~5OcLIM z^9S*Og4cpYoc0pX#J&~bgMr)FDHLyQAb!DJNcn(E-1mE0px^lH8xZrMmd4v}!~}SDks%kavKvj*cH%;U!bKTPLxi&meo zMCoC@rtmCeZkY{lsdBj*RhFYojZQK;iEB*R*x4&bFnK*Bq!^IvAa|BFH+CwBFk*Xk zgLUu5lAa`3Wh<6;lfsUAVXK^bio@6~6w&h)4!Ks`+d)*y-Nsh#X*OuSML4@Eum~7g z%{{{kiUmBR`YcCwr(95|;WSw!)=QKmbfffALrt=>ZNkj|@Z{Q36$tV|nJ3m>&91`B?qGrf51sCw@cOCuwzJ zUFd1v95ASpJVQX6w1 zj})o`cdBIJJIaGR*eL#V9=3g#l- zDPI?MOFMxWHO2(?#Xw( z*^7GzYKI1h4o!XRB4A3nx&>lHc3FiYBH3j)o#umQMFDNWP9wqD57st57k^JmbACqY~&7ON#)z6TJC-$ySr$FxBYaR?5bRmm$E_O`qttw7K8c$CvhBkYY-s-`$P#mi6*QeWx3{F_LInA zAedhF@UdY>w5&p3(HS}PtBS$f_XDk86*_5Z60uSOIQ*x0H7pL|99u4d61HI?OdY^< zO6;v(ja!Y+uP<4XSZ$Q&UZti@uuh{MNZSOH9zoQ*WIAZY_=DP3_z~~n8dya55Js9=jRa|elZcq*fxq3zxQ8%JY1fP0(iD1+jnViSS)Pb(@pla_W}?&vG&OT3LSix*y`7UY=1KBwI04y?B9C<-vS%1zn5-~lHm_jD zyw!3!*fZ{fr6BsU;pPw|k=k>+()?x}S!6_omU zwBf~aNC6<0Ln@7^sXKbJj)M#HUeoQBFQBGbmCoRG(H%*sR1?(MmiVHS$j+oJ8sP#A zC?7z5psoME4Ta`ZW**S>vWXEI?Zhw1_^efIQAZH9xd??5Pk_2=2}UJ7kf@^p!sg*9 zd|8fywWBHfnebutKS!KmoK5(pVELP5Rb`65L%LwSw^a&2WfUTghSBH<-W0f58=`#1 zdH4#dno$`!jIJP^NuRTouS)w?>n0;eL*X9cSkf8c@8U@%OHufgw22XSyLOA59fTA` zNI=S}39btCI)oIPd(Ayn#*4kRP0;Gk1W#2V(*e5&mZ)6X$I~0tMx}|jFhR6G4G;2a zR@UYGQ^EDDj4MDBH=+zWoLUP1DtVbGM@&&>K{~BON%pA^TVO6$mCdCwOTdn$%1M>; zAhutKvfN-G^SQg)Cjl{+Rk0^a2rT*WtmZ6`9n3P!D#I*517Iu6 zO@iZ8qETDlwMo6>0BvRYNxic`wzlh9qE_3h?-x}WoL=q*Cx1&x%60)f{eEL_gQkPI zC&_%raw_2bayPk_@#N}l3fp!n)msppC37KyDym9dHrfi;GgekX#HA`|?deojp;|>G zR!GcNT~-}punP8hq1xOplu8h|Ma}tH`jsmP;hqbg*3J33I1#%w4E?$6!gw==xzA_k z!Y&en&Aq_$l&%`WTtsYqk!zODgy|;dx4O3rX)Gjs5L!T|Qz#V+jiy}=k@mS%j`8Dh zKr^;a$ht9{ZKa6K-o&9U7G#oNVh(gt`;=xhE6uyK8AZdT+{-+f%qdqTt}T*Y;UZIv zxvz~s_r=OI_i8E`mDO^eoQfzJbg0RhuDbgF+7= zM)UB{UcH24v2RRT-^4xesq>*#c@r^%F`ermLFS|gwVZu?z6Zozi^RaCc^Q4VH0Ay{q0Jzh|-_Se=>NQD0nau;^*|fqFG8*N z`~;x#d-aL}%(sEad~pJdvwQv$$GcJaTGj;!G+HMr-KaI2wcXsep9QL62u->AmwBRC zD}hEOH7La3X;dVH*=frSo?UDV0H!Hfz@|zi?x`R%Aid!G9V4?-X=}Lw|R7ljkIDU z!crB|F1IV?J0MbO#Q*OQ8O6{R5Z;~KE$$6boj}yQ56jg3%?(Z>f7Q7qp;p_GIi$WQ z4%2`|E5LKR+=Ll*NWQJ4npKG-mvXiI=YzMBmAHKN$*(Wkfw{V@f1-DmcF4V(RjtiU zRqEQyDK2xYKV~G!Lb*n2_!iQuu1P$TS)Bt)*6hZ(C%e=iqiwzZLdv)wH@;c+(n4%S27Ej9pu;kHSouuo(!B({ddOZ-&UE} z!+(JIEvnW7@;6oP59VJ8o=HJ@L-{UvgFW z+o=9``pzrD5%8q5|F6&Wjf?9dNaOJ+_bHz)_74V%@dLUT0l7D4+a;l7zLL z^$MKCy6YFPo%MiwvF`f79#9{Gne}Me4SIL^w%@idwwBxgl8d#o%h@hPWxkQsmd#DJ zp&YCZ!;y4^jDj3K%J0)mRHjLdQFk4<4FpG`nCDll$A*EGlv zPGL4yk|28!3&ir6S@@rj*#m7~-cnqltl9g?#0>jmw~~fGnOH|3 z#)upKRALeQeE~tyjQ&SM;zV4 za<|an@-(-B8cIe;QOf-pS&MkyUR8hRer5_+>2;nlF3mnnmMU9S^5?mqrB%VKq(c3X z`#HU(2vn~@0wD`cR-EP~w8HwcQ=q(`E*5YMGrRHUWYyht#OBP1u_CtOKbCH>GIJse zd%y`4u>2>oIvE|tdh6cj{!EBFgify?uEm+)k4laY;X=PxEYlUdg<$(C=x z=@;x-3A1zy{1{Fm#7N{__ezyo?ms^h2J$0_lm3zn%0IQjYRb|3%Tw?O|E!-k`9xFL zi;@sm$a?;A;v$F?#q#|#iagti{4ElDDcLdvbqE4!?c@^8p(6U!k^_}elS z@nnN9_DLXcMsj~gF7U=4h5%bT%#fW9E9}huW`tTGk=cKIyUbg%07$o^cIM6|63`U>N^LQ`$saTsXRBX+&>m7 zP4Bx>nNmh=vi47={-4^;<~NR{4CC?mBlg&F9B($sdY46Ni9@2r%8rAGKtgNBv7C)# zPudfNA|x(wgDYIPaO59gCH@1hNL={?;P<>$)m_sw-P%LA z%~ZctU0+?F&-1+8f+YEunm;=jT*`bs25fT5UBe4I>s-5;GdO?3>h9BgKN1|WrlW0U zVI9Lh119&F3pD_`niRP`17X?RT75>3m;~j$P()wIlEtIw*5Gbgh1P_B)`HWn?X>^RG|4rQ0@lz5lojiP{_oai*)Ox%PDJIJKT8N z>u|9iblG>_oWJbpa$NYjigZe%alGxcKl=MC2EnUHA~QsCW8MTrh-9)NPWrbZYQbCy z92uI#VXyWZp6Fj%4Fz-6!&gW-T)0NxU)g&F+q-+%Iq@|A(u7K)S-V8&CP(nEC=nhu zb1am$fN%!L&%W_!#Wtyk8<`F_XwaK6Qc^`Cg$51LkSYe};@vDEb^cVj^6Zt;N*Ru! ze&G>dj?q++lgv=c^xjWM6Ae}OYDc3jef3ZTxblkwbqm)S1i0hTmL@YIirU0|Jd&z3 zN=ro{B2#%hHh@&?)L7q+>r(pa*cRXCA4XBr&e5x@mZS>wtIep82;JMU`65W1!#!M z=RlsNHB=E*U$Y+=?|sgw+?2az6hBvm7GMqQD>ptW)!ayop*ph;n9(~1O& z_V~B>sE~y5Vgw<4i|cU1oK~b)8Chd&hWGS?e#8Np(6y5k@4k;$f+!ou-(`ibh@GK2<6N3cgdFhsabt)$?@?Vp>rH!A||e zKDSnp|@ zb`>tQBCP>q5Ck(`p_7&rCbc4FZmE$i>zS)k*|bmaNn84deZ#F*q*DygB9nsYUB;?qVU7~@B#*_czi8;bw zbG8>L>zSIdzF$zcTrb(@4M;nO&}y48o(_d`Jbpz8;@nWYmhp5jkQ3vp+QzgaJJET@ z@fJE5tasyrP2Z#AB1)@p66EMiIutHwCp==-<4jq(^^{qUc!G@kjN3PGXvu+O{Rr~F zAru$zpr0Vzj9ZaBMC|ME4$4-JYE7ud} zPaZcNLl3x8nR3J}FZSU7C7%J@8iqF0kaQ>7=0RS|VxrQJ#qi`m(7khPJk#v;93Ah! zCY3DXu@5#AP%(IJ5u=(g>9ac)4#k+6y`9^SQ8QCvCFv;hmi*!UZy&UIl z2t0jy_wHTm|BP*Uh(-pj8Z~lid{yok8KNK-WrHll0J@K};KtI7f(Xw5VW)22v30U9 z!v>3qbmTJ@1lMdo)(`vyedbOYEYL>s?>`;3)t6#k8!qzqiTXX^y*A{*ny4af4|S`< znrU2`=Y$^wDrwTt40aF$M=|_IW@qO7=UrE7f3gzDnQ^u31sh1O;itwIX4mcB+s+2= zp;-dGh95I)IT(Jxb$|pWC2+B7&1hO5vyHjHFGaiL!Zavz6Ydjn1m+Icd?X#66eAUE zlHX0%XR-_rk`nkf263u7?7b0!vg;LxVKt3uJNF&8`~Mb~#k;#4se)VNB)93VJxy)e zBXXzoHM-wi73@AnodR^A4`AV<__`OErZ+DIy9_{^KcCSn{PXoymk{SK_)JID^526azBVo-O)egSyE<00v?yEhWbzq!RQKf0?a3veXB6e*>{B%^&R3{ z1EJxR{$mxuS8fRVcJlRDcDT>uFqAuZH-oub--d2ta;XMtttqkXhg{?6=F5Q=OcNpW zLwco^ptZGbP?juwQpyP~8bYO6!olG>NRtb9dBCmf zO27v%%qF+FG53SEDj}5TK`R9)g0i$JzdqVViXr*y7#trl;9)kKD>*k&YI6K$%fbH- zHN8MG*9x9#<1`mJ!~4w5lIdEW8RPjrY$P9baY*OXqOYVC7F6F%#!}@=oiS-7Tp>7r z2PjBo0m(0G^?J@W1WT*@pjqL_v=XzIvHsTThxPZ+1Gh#kEG})bwAFgyLGmwTB8;LI74rI~iC>(pgvluyO=7_j*%Q0lCMHd^plMAO-p$cKe zmxm;OM{;+&*Xh3t!StnHl&PR2)JgwE6J6EibkF^!FsPtYC$?mQlBvEsf%1;_x9z@a ztN-TtPo$ITx@!2#^l5ugbo-Y^6otilt zy*X2tw5yYBr}hn^4@6t~=ew-g-;@f>=T*xd-c{|cRkc+xE=A+8P-UuOS7jQsy1nzY zHXcIU#VN8VS%7UOdgrUh98CEo^E40bfAZVOdhKa*=~p!*`a36BsIwj0FC+XrXH`)M zYt=gAa*&gd)6v{n*3;&)ONDOkEz-!ExN|OTzFgEbte4DZ{&2F`?rAz;i~sdoZs212 z+I1?7@=e%1MzCpuGnV;Gwlhn|iO3Dxr==+^{h+>3EJ3Jmcf?@3S7ff(Kfeh+J>8$B zKaSPsTx1kaS(CGHMv_Cn`~;y)29`3JbXGP?M0PL)F1uJ7`&7Gu86A~NiKfAfT?Z6_EpwRp8Yo_t>aIFzcx*fm_8THrN7 z!5yqU1BSS<+S-z|m|rZ%f#yv%FSQ^Jpc=3R^RSaT%)>T6#*?pDNW$~qiX4(_{(QyN zqrzx-Q}|JnaCA`!=BBxhQr}q{DPj(SHD1m(-t#-07Gqcwv06D^O(V19FL+vZM}4u2 z?#1VLi3>S#z0TD2Z9JN91SjLe5tp<4N3rl6HzKX%`_3Jhl{T_g+ZadLa3?_59z9{l zVaw5t7KaSA(Io?tGNQ>Y4mkss9G&bY-bvnHFNIvGcTEn2d%d4rDY6!ApO`3s;mS z5*zWs{wV%nbAjKA94#XX_onS#-7S4tpS1r>WK)OzwUgd+tKPZIOR4|Qk@2;|ehU$2 zxuejH&r4s8S1=lWw07BNDM86U%74`8Y$cj&kJmRE2b<^&3eNVuPaCxVaQMpod-R6u z_36;CN~N{8aev{`o!j_wS>NZu*~O_={2Fic*u#wgCT;Ernzk@@=d=2BShvPQz$Gel z&al+^@fO<>=&U;j1HrXBe;%uU)Wip*8Vv7u?r1yJy?Eaw(6xbTHMd|ibLH>|h`Y3E z*~A(O(Zl!r1E`iedoaIICKEvIeFwDjByzU6ZZBBV$w3DA6IlS9CwOU%E92VVgSvX~ xaC2u%D9(Vmgi#Kxb7A5R-Y;zBzu)P1o_9{T#Z|e(7-rk1osA7YKy5G7{s-MXcW(dy diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto deleted file mode 100644 index 7debec3a..00000000 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto +++ /dev/null @@ -1,3175 +0,0 @@ -syntax = "proto2"; -package proto; - -message ADVSignedKeyIndexList { - optional bytes details = 1; - optional bytes accountSignature = 2; - optional bytes accountSignatureKey = 3; -} - -message ADVSignedDeviceIdentity { - optional bytes details = 1; - optional bytes accountSignatureKey = 2; - optional bytes accountSignature = 3; - optional bytes deviceSignature = 4; -} - -message ADVSignedDeviceIdentityHMAC { - optional bytes details = 1; - optional bytes hmac = 2; - optional ADVEncryptionType accountType = 3; -} - -message ADVKeyIndexList { - optional uint32 rawId = 1; - optional uint64 timestamp = 2; - optional uint32 currentIndex = 3; - repeated uint32 validIndexes = 4 [packed=true]; - optional ADVEncryptionType accountType = 5; -} - -enum ADVEncryptionType { - E2EE = 0; - HOSTED = 1; -} -message ADVDeviceIdentity { - optional uint32 rawId = 1; - optional uint64 timestamp = 2; - optional uint32 keyIndex = 3; - optional ADVEncryptionType accountType = 4; - optional ADVEncryptionType deviceType = 5; -} - -message DeviceProps { - enum PlatformType { - UNKNOWN = 0; - CHROME = 1; - FIREFOX = 2; - IE = 3; - OPERA = 4; - SAFARI = 5; - EDGE = 6; - DESKTOP = 7; - IPAD = 8; - ANDROID_TABLET = 9; - OHANA = 10; - ALOHA = 11; - CATALINA = 12; - TCL_TV = 13; - IOS_PHONE = 14; - IOS_CATALYST = 15; - ANDROID_PHONE = 16; - ANDROID_AMBIGUOUS = 17; - WEAR_OS = 18; - AR_WRIST = 19; - AR_DEVICE = 20; - UWP = 21; - VR = 22; - } - message HistorySyncConfig { - optional uint32 fullSyncDaysLimit = 1; - optional uint32 fullSyncSizeMbLimit = 2; - optional uint32 storageQuotaMb = 3; - optional bool inlineInitialPayloadInE2EeMsg = 4; - optional uint32 recentSyncDaysLimit = 5; - optional bool supportCallLogHistory = 6; - optional bool supportBotUserAgentChatHistory = 7; - optional bool supportCagReactionsAndPolls = 8; - optional bool supportBizHostedMsg = 9; - optional bool supportRecentSyncChunkMessageCountTuning = 10; - } - - message AppVersion { - optional uint32 primary = 1; - optional uint32 secondary = 2; - optional uint32 tertiary = 3; - optional uint32 quaternary = 4; - optional uint32 quinary = 5; - } - - optional string os = 1; - optional AppVersion version = 2; - optional PlatformType platformType = 3; - optional bool requireFullSync = 4; - optional HistorySyncConfig historySyncConfig = 5; -} - -message InitialSecurityNotificationSettingSync { - optional bool securityNotificationEnabled = 1; -} - -message ImageMessage { - enum ImageSourceType { - USER_IMAGE = 0; - AI_GENERATED = 1; - AI_MODIFIED = 2; - } - optional string url = 1; - optional string mimetype = 2; - optional string caption = 3; - optional bytes fileSha256 = 4; - optional uint64 fileLength = 5; - optional uint32 height = 6; - optional uint32 width = 7; - optional bytes mediaKey = 8; - optional bytes fileEncSha256 = 9; - repeated InteractiveAnnotation interactiveAnnotations = 10; - optional string directPath = 11; - optional int64 mediaKeyTimestamp = 12; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; - optional bytes firstScanSidecar = 18; - optional uint32 firstScanLength = 19; - optional uint32 experimentGroupId = 20; - optional bytes scansSidecar = 21; - repeated uint32 scanLengths = 22; - optional bytes midQualityFileSha256 = 23; - optional bytes midQualityFileEncSha256 = 24; - optional bool viewOnce = 25; - optional string thumbnailDirectPath = 26; - optional bytes thumbnailSha256 = 27; - optional bytes thumbnailEncSha256 = 28; - optional string staticUrl = 29; - repeated InteractiveAnnotation annotations = 30; - optional ImageSourceType imageSourceType = 31; -} - -message HistorySyncNotification { - enum HistorySyncType { - INITIAL_BOOTSTRAP = 0; - INITIAL_STATUS_V3 = 1; - FULL = 2; - RECENT = 3; - PUSH_NAME = 4; - NON_BLOCKING_DATA = 5; - ON_DEMAND = 6; - } - optional bytes fileSha256 = 1; - optional uint64 fileLength = 2; - optional bytes mediaKey = 3; - optional bytes fileEncSha256 = 4; - optional string directPath = 5; - optional HistorySyncType syncType = 6; - optional uint32 chunkOrder = 7; - optional string originalMessageId = 8; - optional uint32 progress = 9; - optional int64 oldestMsgInChunkTimestampSec = 10; - optional bytes initialHistBootstrapInlinePayload = 11; - optional string peerDataRequestSessionId = 12; -} - -message HighlyStructuredMessage { - message HSMLocalizableParameter { - message HSMDateTime { - message HSMDateTimeUnixEpoch { - optional int64 timestamp = 1; - } - - message HSMDateTimeComponent { - enum DayOfWeekType { - MONDAY = 1; - TUESDAY = 2; - WEDNESDAY = 3; - THURSDAY = 4; - FRIDAY = 5; - SATURDAY = 6; - SUNDAY = 7; - } - enum CalendarType { - GREGORIAN = 1; - SOLAR_HIJRI = 2; - } - optional DayOfWeekType dayOfWeek = 1; - optional uint32 year = 2; - optional uint32 month = 3; - optional uint32 dayOfMonth = 4; - optional uint32 hour = 5; - optional uint32 minute = 6; - optional CalendarType calendar = 7; - } - - oneof datetimeOneof { - HSMDateTimeComponent component = 1; - HSMDateTimeUnixEpoch unixEpoch = 2; - } - } - - message HSMCurrency { - optional string currencyCode = 1; - optional int64 amount1000 = 2; - } - - optional string default = 1; - oneof paramOneof { - HSMCurrency currency = 2; - HSMDateTime dateTime = 3; - } - } - - optional string namespace = 1; - optional string elementName = 2; - repeated string params = 3; - optional string fallbackLg = 4; - optional string fallbackLc = 5; - repeated HSMLocalizableParameter localizableParams = 6; - optional string deterministicLg = 7; - optional string deterministicLc = 8; - optional TemplateMessage hydratedHsm = 9; -} - -message GroupInviteMessage { - enum GroupType { - DEFAULT = 0; - PARENT = 1; - } - optional string groupJid = 1; - optional string inviteCode = 2; - optional int64 inviteExpiration = 3; - optional string groupName = 4; - optional bytes jpegThumbnail = 5; - optional string caption = 6; - optional ContextInfo contextInfo = 7; - optional GroupType groupType = 8; -} - -message FutureProofMessage { - optional Message message = 1; -} - -message ExtendedTextMessage { - enum PreviewType { - NONE = 0; - VIDEO = 1; - PLACEHOLDER = 4; - IMAGE = 5; - } - enum InviteLinkGroupType { - DEFAULT = 0; - PARENT = 1; - SUB = 2; - DEFAULT_SUB = 3; - } - enum FontType { - SYSTEM = 0; - SYSTEM_TEXT = 1; - FB_SCRIPT = 2; - SYSTEM_BOLD = 6; - MORNINGBREEZE_REGULAR = 7; - CALISTOGA_REGULAR = 8; - EXO2_EXTRABOLD = 9; - COURIERPRIME_BOLD = 10; - } - optional string text = 1; - optional string matchedText = 2; - optional string canonicalUrl = 4; - optional string description = 5; - optional string title = 6; - optional fixed32 textArgb = 7; - optional fixed32 backgroundArgb = 8; - optional FontType font = 9; - optional PreviewType previewType = 10; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; - optional bool doNotPlayInline = 18; - optional string thumbnailDirectPath = 19; - optional bytes thumbnailSha256 = 20; - optional bytes thumbnailEncSha256 = 21; - optional bytes mediaKey = 22; - optional int64 mediaKeyTimestamp = 23; - optional uint32 thumbnailHeight = 24; - optional uint32 thumbnailWidth = 25; - optional InviteLinkGroupType inviteLinkGroupType = 26; - optional string inviteLinkParentGroupSubjectV2 = 27; - optional bytes inviteLinkParentGroupThumbnailV2 = 28; - optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29; - optional bool viewOnce = 30; -} - -message EventResponseMessage { - enum EventResponseType { - UNKNOWN = 0; - GOING = 1; - NOT_GOING = 2; - } - optional EventResponseType response = 1; - optional int64 timestampMs = 2; -} - -message EventMessage { - optional ContextInfo contextInfo = 1; - optional bool isCanceled = 2; - optional string name = 3; - optional string description = 4; - optional LocationMessage location = 5; - optional string joinLink = 6; - optional int64 startTime = 7; -} - -message EncReactionMessage { - optional MessageKey targetMessageKey = 1; - optional bytes encPayload = 2; - optional bytes encIv = 3; -} - -message EncEventResponseMessage { - optional MessageKey eventCreationMessageKey = 1; - optional bytes encPayload = 2; - optional bytes encIv = 3; -} - -message EncCommentMessage { - optional MessageKey targetMessageKey = 1; - optional bytes encPayload = 2; - optional bytes encIv = 3; -} - -message DocumentMessage { - optional string url = 1; - optional string mimetype = 2; - optional string title = 3; - optional bytes fileSha256 = 4; - optional uint64 fileLength = 5; - optional uint32 pageCount = 6; - optional bytes mediaKey = 7; - optional string fileName = 8; - optional bytes fileEncSha256 = 9; - optional string directPath = 10; - optional int64 mediaKeyTimestamp = 11; - optional bool contactVcard = 12; - optional string thumbnailDirectPath = 13; - optional bytes thumbnailSha256 = 14; - optional bytes thumbnailEncSha256 = 15; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; - optional uint32 thumbnailHeight = 18; - optional uint32 thumbnailWidth = 19; - optional string caption = 20; -} - -message DeviceSentMessage { - optional string destinationJid = 1; - optional Message message = 2; - optional string phash = 3; -} - -message DeclinePaymentRequestMessage { - optional MessageKey key = 1; -} - -message ContactsArrayMessage { - optional string displayName = 1; - repeated ContactMessage contacts = 2; - optional ContextInfo contextInfo = 17; -} - -message ContactMessage { - optional string displayName = 1; - optional string vcard = 16; - optional ContextInfo contextInfo = 17; -} - -message CommentMessage { - optional Message message = 1; - optional MessageKey targetMessageKey = 2; -} - -message Chat { - optional string displayName = 1; - optional string id = 2; -} - -message CancelPaymentRequestMessage { - optional MessageKey key = 1; -} - -message Call { - optional bytes callKey = 1; - optional string conversionSource = 2; - optional bytes conversionData = 3; - optional uint32 conversionDelaySeconds = 4; -} - -message CallLogMessage { - enum CallType { - REGULAR = 0; - SCHEDULED_CALL = 1; - VOICE_CHAT = 2; - } - message CallParticipant { - optional string jid = 1; - optional CallOutcome callOutcome = 2; - } - - enum CallOutcome { - CONNECTED = 0; - MISSED = 1; - FAILED = 2; - REJECTED = 3; - ACCEPTED_ELSEWHERE = 4; - ONGOING = 5; - SILENCED_BY_DND = 6; - SILENCED_UNKNOWN_CALLER = 7; - } - optional bool isVideo = 1; - optional CallOutcome callOutcome = 2; - optional int64 durationSecs = 3; - optional CallType callType = 4; - repeated CallParticipant participants = 5; -} - -message ButtonsResponseMessage { - enum Type { - UNKNOWN = 0; - DISPLAY_TEXT = 1; - } - optional string selectedButtonId = 1; - optional ContextInfo contextInfo = 3; - optional Type type = 4; - oneof response { - string selectedDisplayText = 2; - } -} - -message ButtonsMessage { - enum HeaderType { - UNKNOWN = 0; - EMPTY = 1; - TEXT = 2; - DOCUMENT = 3; - IMAGE = 4; - VIDEO = 5; - LOCATION = 6; - } - message Button { - enum Type { - UNKNOWN = 0; - RESPONSE = 1; - NATIVE_FLOW = 2; - } - message NativeFlowInfo { - optional string name = 1; - optional string paramsJson = 2; - } - - message ButtonText { - optional string displayText = 1; - } - - optional string buttonId = 1; - optional ButtonText buttonText = 2; - optional Type type = 3; - optional NativeFlowInfo nativeFlowInfo = 4; - } - - optional string contentText = 6; - optional string footerText = 7; - optional ContextInfo contextInfo = 8; - repeated Button buttons = 9; - optional HeaderType headerType = 10; - oneof header { - string text = 1; - DocumentMessage documentMessage = 2; - ImageMessage imageMessage = 3; - VideoMessage videoMessage = 4; - LocationMessage locationMessage = 5; - } -} - -message BotFeedbackMessage { - enum BotFeedbackKindMultiplePositive { - BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1; - } - enum BotFeedbackKindMultipleNegative { - BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128; - BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256; - } - enum BotFeedbackKind { - BOT_FEEDBACK_POSITIVE = 0; - BOT_FEEDBACK_NEGATIVE_GENERIC = 1; - BOT_FEEDBACK_NEGATIVE_HELPFUL = 2; - BOT_FEEDBACK_NEGATIVE_INTERESTING = 3; - BOT_FEEDBACK_NEGATIVE_ACCURATE = 4; - BOT_FEEDBACK_NEGATIVE_SAFE = 5; - BOT_FEEDBACK_NEGATIVE_OTHER = 6; - BOT_FEEDBACK_NEGATIVE_REFUSED = 7; - BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8; - BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9; - } - optional MessageKey messageKey = 1; - optional BotFeedbackKind kind = 2; - optional string text = 3; - optional uint64 kindNegative = 4; - optional uint64 kindPositive = 5; -} - -message BCallMessage { - enum MediaType { - UNKNOWN = 0; - AUDIO = 1; - VIDEO = 2; - } - optional string sessionId = 1; - optional MediaType mediaType = 2; - optional bytes masterKey = 3; - optional string caption = 4; -} - -message AudioMessage { - optional string url = 1; - optional string mimetype = 2; - optional bytes fileSha256 = 3; - optional uint64 fileLength = 4; - optional uint32 seconds = 5; - optional bool ptt = 6; - optional bytes mediaKey = 7; - optional bytes fileEncSha256 = 8; - optional string directPath = 9; - optional int64 mediaKeyTimestamp = 10; - optional ContextInfo contextInfo = 17; - optional bytes streamingSidecar = 18; - optional bytes waveform = 19; - optional fixed32 backgroundArgb = 20; - optional bool viewOnce = 21; -} - -message AppStateSyncKey { - optional AppStateSyncKeyId keyId = 1; - optional AppStateSyncKeyData keyData = 2; -} - -message AppStateSyncKeyShare { - repeated AppStateSyncKey keys = 1; -} - -message AppStateSyncKeyRequest { - repeated AppStateSyncKeyId keyIds = 1; -} - -message AppStateSyncKeyId { - optional bytes keyId = 1; -} - -message AppStateSyncKeyFingerprint { - optional uint32 rawId = 1; - optional uint32 currentIndex = 2; - repeated uint32 deviceIndexes = 3 [packed=true]; -} - -message AppStateSyncKeyData { - optional bytes keyData = 1; - optional AppStateSyncKeyFingerprint fingerprint = 2; - optional int64 timestamp = 3; -} - -message AppStateFatalExceptionNotification { - repeated string collectionNames = 1; - optional int64 timestamp = 2; -} - -message MediaNotifyMessage { - optional string expressPathUrl = 1; - optional bytes fileEncSha256 = 2; - optional uint64 fileLength = 3; -} - -message Location { - optional double degreesLatitude = 1; - optional double degreesLongitude = 2; - optional string name = 3; -} - -enum KeepType { - UNKNOWN = 0; - KEEP_FOR_ALL = 1; - UNDO_KEEP_FOR_ALL = 2; -} -message InteractiveAnnotation { - repeated Point polygonVertices = 1; - optional bool shouldSkipConfirmation = 4; - oneof action { - Location location = 2; - ForwardedNewsletterMessageInfo newsletter = 3; - } -} - -message HydratedTemplateButton { - message HydratedURLButton { - enum WebviewPresentationType { - FULL = 1; - TALL = 2; - COMPACT = 3; - } - optional string displayText = 1; - optional string url = 2; - optional string consentedUsersUrl = 3; - optional WebviewPresentationType webviewPresentation = 4; - } - - message HydratedQuickReplyButton { - optional string displayText = 1; - optional string id = 2; - } - - message HydratedCallButton { - optional string displayText = 1; - optional string phoneNumber = 2; - } - - optional uint32 index = 4; - oneof hydratedButton { - HydratedQuickReplyButton quickReplyButton = 1; - HydratedURLButton urlButton = 2; - HydratedCallButton callButton = 3; - } -} - -message GroupMention { - optional string groupJid = 1; - optional string groupSubject = 2; -} - -message DisappearingMode { - enum Trigger { - UNKNOWN = 0; - CHAT_SETTING = 1; - ACCOUNT_SETTING = 2; - BULK_CHANGE = 3; - BIZ_SUPPORTS_FB_HOSTING = 4; - } - enum Initiator { - CHANGED_IN_CHAT = 0; - INITIATED_BY_ME = 1; - INITIATED_BY_OTHER = 2; - BIZ_UPGRADE_FB_HOSTING = 3; - } - optional Initiator initiator = 1; - optional Trigger trigger = 2; - optional string initiatorDeviceJid = 3; - optional bool initiatedByMe = 4; -} - -message DeviceListMetadata { - optional bytes senderKeyHash = 1; - optional uint64 senderTimestamp = 2; - repeated uint32 senderKeyIndexes = 3 [packed=true]; - optional ADVEncryptionType senderAccountType = 4; - optional ADVEncryptionType receiverAccountType = 5; - optional bytes recipientKeyHash = 8; - optional uint64 recipientTimestamp = 9; - repeated uint32 recipientKeyIndexes = 10 [packed=true]; -} - -message ContextInfo { - message UTMInfo { - optional string utmSource = 1; - optional string utmCampaign = 2; - } - - message ExternalAdReplyInfo { - enum MediaType { - NONE = 0; - IMAGE = 1; - VIDEO = 2; - } - optional string title = 1; - optional string body = 2; - optional MediaType mediaType = 3; - optional string thumbnailUrl = 4; - optional string mediaUrl = 5; - optional bytes thumbnail = 6; - optional string sourceType = 7; - optional string sourceId = 8; - optional string sourceUrl = 9; - optional bool containsAutoReply = 10; - optional bool renderLargerThumbnail = 11; - optional bool showAdAttribution = 12; - optional string ctwaClid = 13; - optional string ref = 14; - } - - message DataSharingContext { - optional bool showMmDisclosure = 1; - } - - message BusinessMessageForwardInfo { - optional string businessOwnerJid = 1; - } - - message AdReplyInfo { - enum MediaType { - NONE = 0; - IMAGE = 1; - VIDEO = 2; - } - optional string advertiserName = 1; - optional MediaType mediaType = 2; - optional bytes jpegThumbnail = 16; - optional string caption = 17; - } - - optional string stanzaId = 1; - optional string participant = 2; - optional Message quotedMessage = 3; - optional string remoteJid = 4; - repeated string mentionedJid = 15; - optional string conversionSource = 18; - optional bytes conversionData = 19; - optional uint32 conversionDelaySeconds = 20; - optional uint32 forwardingScore = 21; - optional bool isForwarded = 22; - optional AdReplyInfo quotedAd = 23; - optional MessageKey placeholderKey = 24; - optional uint32 expiration = 25; - optional int64 ephemeralSettingTimestamp = 26; - optional bytes ephemeralSharedSecret = 27; - optional ExternalAdReplyInfo externalAdReply = 28; - optional string entryPointConversionSource = 29; - optional string entryPointConversionApp = 30; - optional uint32 entryPointConversionDelaySeconds = 31; - optional DisappearingMode disappearingMode = 32; - optional ActionLink actionLink = 33; - optional string groupSubject = 34; - optional string parentGroupJid = 35; - optional string trustBannerType = 37; - optional uint32 trustBannerAction = 38; - optional bool isSampled = 39; - repeated GroupMention groupMentions = 40; - optional UTMInfo utm = 41; - optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43; - optional BusinessMessageForwardInfo businessMessageForwardInfo = 44; - optional string smbClientCampaignId = 45; - optional string smbServerCampaignId = 46; - optional DataSharingContext dataSharingContext = 47; - optional bool alwaysShowAdAttribution = 48; -} - -message ForwardedNewsletterMessageInfo { - enum ContentType { - UPDATE = 1; - UPDATE_CARD = 2; - LINK_CARD = 3; - } - optional string newsletterJid = 1; - optional int32 serverMessageId = 2; - optional string newsletterName = 3; - optional ContentType contentType = 4; - optional string accessibilityText = 5; -} - -message BotSuggestedPromptMetadata { - repeated string suggestedPrompts = 1; - optional uint32 selectedPromptIndex = 2; -} - -message BotSearchMetadata { - optional string sessionId = 1; -} - -message BotPluginMetadata { - enum SearchProvider { - BING = 1; - GOOGLE = 2; - } - enum PluginType { - REELS = 1; - SEARCH = 2; - } - optional SearchProvider provider = 1; - optional PluginType pluginType = 2; - optional string thumbnailCdnUrl = 3; - optional string profilePhotoCdnUrl = 4; - optional string searchProviderUrl = 5; - optional uint32 referenceIndex = 6; - optional uint32 expectedLinksCount = 7; - optional string searchQuery = 9; - optional MessageKey parentPluginMessageKey = 10; -} - -message BotMetadata { - optional BotAvatarMetadata avatarMetadata = 1; - optional string personaId = 2; - optional BotPluginMetadata pluginMetadata = 3; - optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4; - optional string invokerJid = 5; - optional BotSearchMetadata searchMetadata = 6; -} - -message BotAvatarMetadata { - optional uint32 sentiment = 1; - optional string behaviorGraph = 2; - optional uint32 action = 3; - optional uint32 intensity = 4; - optional uint32 wordCount = 5; -} - -message ActionLink { - optional string url = 1; - optional string buttonTitle = 2; -} - -message TemplateButton { - message URLButton { - optional HighlyStructuredMessage displayText = 1; - optional HighlyStructuredMessage url = 2; - } - - message QuickReplyButton { - optional HighlyStructuredMessage displayText = 1; - optional string id = 2; - } - - message CallButton { - optional HighlyStructuredMessage displayText = 1; - optional HighlyStructuredMessage phoneNumber = 2; - } - - optional uint32 index = 4; - oneof button { - QuickReplyButton quickReplyButton = 1; - URLButton urlButton = 2; - CallButton callButton = 3; - } -} - -message Point { - optional int32 xDeprecated = 1; - optional int32 yDeprecated = 2; - optional double x = 3; - optional double y = 4; -} - -message PaymentBackground { - enum Type { - UNKNOWN = 0; - DEFAULT = 1; - } - message MediaData { - optional bytes mediaKey = 1; - optional int64 mediaKeyTimestamp = 2; - optional bytes fileSha256 = 3; - optional bytes fileEncSha256 = 4; - optional string directPath = 5; - } - - optional string id = 1; - optional uint64 fileLength = 2; - optional uint32 width = 3; - optional uint32 height = 4; - optional string mimetype = 5; - optional fixed32 placeholderArgb = 6; - optional fixed32 textArgb = 7; - optional fixed32 subtextArgb = 8; - optional MediaData mediaData = 9; - optional Type type = 10; -} - -message Money { - optional int64 value = 1; - optional uint32 offset = 2; - optional string currencyCode = 3; -} - -message Message { - optional string conversation = 1; - optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2; - optional ImageMessage imageMessage = 3; - optional ContactMessage contactMessage = 4; - optional LocationMessage locationMessage = 5; - optional ExtendedTextMessage extendedTextMessage = 6; - optional DocumentMessage documentMessage = 7; - optional AudioMessage audioMessage = 8; - optional VideoMessage videoMessage = 9; - optional Call call = 10; - optional Chat chat = 11; - optional ProtocolMessage protocolMessage = 12; - optional ContactsArrayMessage contactsArrayMessage = 13; - optional HighlyStructuredMessage highlyStructuredMessage = 14; - optional SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15; - optional SendPaymentMessage sendPaymentMessage = 16; - optional LiveLocationMessage liveLocationMessage = 18; - optional RequestPaymentMessage requestPaymentMessage = 22; - optional DeclinePaymentRequestMessage declinePaymentRequestMessage = 23; - optional CancelPaymentRequestMessage cancelPaymentRequestMessage = 24; - optional TemplateMessage templateMessage = 25; - optional StickerMessage stickerMessage = 26; - optional GroupInviteMessage groupInviteMessage = 28; - optional TemplateButtonReplyMessage templateButtonReplyMessage = 29; - optional ProductMessage productMessage = 30; - optional DeviceSentMessage deviceSentMessage = 31; - optional MessageContextInfo messageContextInfo = 35; - optional ListMessage listMessage = 36; - optional FutureProofMessage viewOnceMessage = 37; - optional OrderMessage orderMessage = 38; - optional ListResponseMessage listResponseMessage = 39; - optional FutureProofMessage ephemeralMessage = 40; - optional InvoiceMessage invoiceMessage = 41; - optional ButtonsMessage buttonsMessage = 42; - optional ButtonsResponseMessage buttonsResponseMessage = 43; - optional PaymentInviteMessage paymentInviteMessage = 44; - optional InteractiveMessage interactiveMessage = 45; - optional ReactionMessage reactionMessage = 46; - optional StickerSyncRMRMessage stickerSyncRmrMessage = 47; - optional InteractiveResponseMessage interactiveResponseMessage = 48; - optional PollCreationMessage pollCreationMessage = 49; - optional PollUpdateMessage pollUpdateMessage = 50; - optional KeepInChatMessage keepInChatMessage = 51; - optional FutureProofMessage documentWithCaptionMessage = 53; - optional RequestPhoneNumberMessage requestPhoneNumberMessage = 54; - optional FutureProofMessage viewOnceMessageV2 = 55; - optional EncReactionMessage encReactionMessage = 56; - optional FutureProofMessage editedMessage = 58; - optional FutureProofMessage viewOnceMessageV2Extension = 59; - optional PollCreationMessage pollCreationMessageV2 = 60; - optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61; - optional FutureProofMessage groupMentionedMessage = 62; - optional PinInChatMessage pinInChatMessage = 63; - optional PollCreationMessage pollCreationMessageV3 = 64; - optional ScheduledCallEditMessage scheduledCallEditMessage = 65; - optional VideoMessage ptvMessage = 66; - optional FutureProofMessage botInvokeMessage = 67; - optional CallLogMessage callLogMesssage = 69; - optional MessageHistoryBundle messageHistoryBundle = 70; - optional EncCommentMessage encCommentMessage = 71; - optional BCallMessage bcallMessage = 72; - optional FutureProofMessage lottieStickerMessage = 74; - optional EventMessage eventMessage = 75; - optional EncEventResponseMessage encEventResponseMessage = 76; - optional CommentMessage commentMessage = 77; - optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78; - optional PlaceholderMessage placeholderMessage = 80; - optional SecretEncryptedMessage secretEncryptedMessage = 82; -} - -message MessageSecretMessage { - optional sfixed32 version = 1; - optional bytes encIv = 2; - optional bytes encPayload = 3; -} - -message MessageContextInfo { - optional DeviceListMetadata deviceListMetadata = 1; - optional int32 deviceListMetadataVersion = 2; - optional bytes messageSecret = 3; - optional bytes paddingBytes = 4; - optional uint32 messageAddOnDurationInSecs = 5; - optional bytes botMessageSecret = 6; - optional BotMetadata botMetadata = 7; - optional int32 reportingTokenVersion = 8; -} - -message VideoMessage { - enum Attribution { - NONE = 0; - GIPHY = 1; - TENOR = 2; - } - optional string url = 1; - optional string mimetype = 2; - optional bytes fileSha256 = 3; - optional uint64 fileLength = 4; - optional uint32 seconds = 5; - optional bytes mediaKey = 6; - optional string caption = 7; - optional bool gifPlayback = 8; - optional uint32 height = 9; - optional uint32 width = 10; - optional bytes fileEncSha256 = 11; - repeated InteractiveAnnotation interactiveAnnotations = 12; - optional string directPath = 13; - optional int64 mediaKeyTimestamp = 14; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; - optional bytes streamingSidecar = 18; - optional Attribution gifAttribution = 19; - optional bool viewOnce = 20; - optional string thumbnailDirectPath = 21; - optional bytes thumbnailSha256 = 22; - optional bytes thumbnailEncSha256 = 23; - optional string staticUrl = 24; - repeated InteractiveAnnotation annotations = 25; -} - -message TemplateMessage { - message HydratedFourRowTemplate { - optional string hydratedContentText = 6; - optional string hydratedFooterText = 7; - repeated HydratedTemplateButton hydratedButtons = 8; - optional string templateId = 9; - optional bool maskLinkedDevices = 10; - oneof title { - DocumentMessage documentMessage = 1; - string hydratedTitleText = 2; - ImageMessage imageMessage = 3; - VideoMessage videoMessage = 4; - LocationMessage locationMessage = 5; - } - } - - message FourRowTemplate { - optional HighlyStructuredMessage content = 6; - optional HighlyStructuredMessage footer = 7; - repeated TemplateButton buttons = 8; - oneof title { - DocumentMessage documentMessage = 1; - HighlyStructuredMessage highlyStructuredMessage = 2; - ImageMessage imageMessage = 3; - VideoMessage videoMessage = 4; - LocationMessage locationMessage = 5; - } - } - - optional ContextInfo contextInfo = 3; - optional HydratedFourRowTemplate hydratedTemplate = 4; - optional string templateId = 9; - oneof format { - FourRowTemplate fourRowTemplate = 1; - HydratedFourRowTemplate hydratedFourRowTemplate = 2; - InteractiveMessage interactiveMessageTemplate = 5; - } -} - -message TemplateButtonReplyMessage { - optional string selectedId = 1; - optional string selectedDisplayText = 2; - optional ContextInfo contextInfo = 3; - optional uint32 selectedIndex = 4; - optional uint32 selectedCarouselCardIndex = 5; -} - -message StickerSyncRMRMessage { - repeated string filehash = 1; - optional string rmrSource = 2; - optional int64 requestTimestamp = 3; -} - -message StickerMessage { - optional string url = 1; - optional bytes fileSha256 = 2; - optional bytes fileEncSha256 = 3; - optional bytes mediaKey = 4; - optional string mimetype = 5; - optional uint32 height = 6; - optional uint32 width = 7; - optional string directPath = 8; - optional uint64 fileLength = 9; - optional int64 mediaKeyTimestamp = 10; - optional uint32 firstFrameLength = 11; - optional bytes firstFrameSidecar = 12; - optional bool isAnimated = 13; - optional bytes pngThumbnail = 16; - optional ContextInfo contextInfo = 17; - optional int64 stickerSentTs = 18; - optional bool isAvatar = 19; - optional bool isAiSticker = 20; - optional bool isLottie = 21; -} - -message SenderKeyDistributionMessage { - optional string groupId = 1; - optional bytes axolotlSenderKeyDistributionMessage = 2; -} - -message SendPaymentMessage { - optional Message noteMessage = 2; - optional MessageKey requestMessageKey = 3; - optional PaymentBackground background = 4; -} - -message SecretEncryptedMessage { - enum SecretEncType { - UNKNOWN = 0; - EVENT_EDIT = 1; - } - optional MessageKey targetMessageKey = 1; - optional bytes encPayload = 2; - optional bytes encIv = 3; - optional SecretEncType secretEncType = 4; -} - -message ScheduledCallEditMessage { - enum EditType { - UNKNOWN = 0; - CANCEL = 1; - } - optional MessageKey key = 1; - optional EditType editType = 2; -} - -message ScheduledCallCreationMessage { - enum CallType { - UNKNOWN = 0; - VOICE = 1; - VIDEO = 2; - } - optional int64 scheduledTimestampMs = 1; - optional CallType callType = 2; - optional string title = 3; -} - -message RequestWelcomeMessageMetadata { - enum LocalChatState { - EMPTY = 0; - NON_EMPTY = 1; - } - optional LocalChatState localChatState = 1; -} - -message RequestPhoneNumberMessage { - optional ContextInfo contextInfo = 1; -} - -message RequestPaymentMessage { - optional Message noteMessage = 4; - optional string currencyCodeIso4217 = 1; - optional uint64 amount1000 = 2; - optional string requestFrom = 3; - optional int64 expiryTimestamp = 5; - optional Money amount = 6; - optional PaymentBackground background = 7; -} - -message ReactionMessage { - optional MessageKey key = 1; - optional string text = 2; - optional string groupingKey = 3; - optional int64 senderTimestampMs = 4; -} - -message ProtocolMessage { - enum Type { - REVOKE = 0; - EPHEMERAL_SETTING = 3; - EPHEMERAL_SYNC_RESPONSE = 4; - HISTORY_SYNC_NOTIFICATION = 5; - APP_STATE_SYNC_KEY_SHARE = 6; - APP_STATE_SYNC_KEY_REQUEST = 7; - MSG_FANOUT_BACKFILL_REQUEST = 8; - INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9; - APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10; - SHARE_PHONE_NUMBER = 11; - MESSAGE_EDIT = 14; - PEER_DATA_OPERATION_REQUEST_MESSAGE = 16; - PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; - REQUEST_WELCOME_MESSAGE = 18; - BOT_FEEDBACK_MESSAGE = 19; - MEDIA_NOTIFY_MESSAGE = 20; - } - optional MessageKey key = 1; - optional Type type = 2; - optional uint32 ephemeralExpiration = 4; - optional int64 ephemeralSettingTimestamp = 5; - optional HistorySyncNotification historySyncNotification = 6; - optional AppStateSyncKeyShare appStateSyncKeyShare = 7; - optional AppStateSyncKeyRequest appStateSyncKeyRequest = 8; - optional InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9; - optional AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10; - optional DisappearingMode disappearingMode = 11; - optional Message editedMessage = 14; - optional int64 timestampMs = 15; - optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; - optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; - optional BotFeedbackMessage botFeedbackMessage = 18; - optional string invokerJid = 19; - optional RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20; - optional MediaNotifyMessage mediaNotifyMessage = 21; -} - -message ProductMessage { - message ProductSnapshot { - optional ImageMessage productImage = 1; - optional string productId = 2; - optional string title = 3; - optional string description = 4; - optional string currencyCode = 5; - optional int64 priceAmount1000 = 6; - optional string retailerId = 7; - optional string url = 8; - optional uint32 productImageCount = 9; - optional string firstImageId = 11; - optional int64 salePriceAmount1000 = 12; - } - - message CatalogSnapshot { - optional ImageMessage catalogImage = 1; - optional string title = 2; - optional string description = 3; - } - - optional ProductSnapshot product = 1; - optional string businessOwnerJid = 2; - optional CatalogSnapshot catalog = 4; - optional string body = 5; - optional string footer = 6; - optional ContextInfo contextInfo = 17; -} - -message PollVoteMessage { - repeated bytes selectedOptions = 1; -} - -message PollUpdateMessage { - optional MessageKey pollCreationMessageKey = 1; - optional PollEncValue vote = 2; - optional PollUpdateMessageMetadata metadata = 3; - optional int64 senderTimestampMs = 4; -} - -message PollUpdateMessageMetadata { -} - -message PollEncValue { - optional bytes encPayload = 1; - optional bytes encIv = 2; -} - -message PollCreationMessage { - message Option { - optional string optionName = 1; - } - - optional bytes encKey = 1; - optional string name = 2; - repeated Option options = 3; - optional uint32 selectableOptionsCount = 4; - optional ContextInfo contextInfo = 5; -} - -message PlaceholderMessage { - enum PlaceholderType { - MASK_LINKED_DEVICES = 0; - } - optional PlaceholderType type = 1; -} - -message PinInChatMessage { - enum Type { - UNKNOWN_TYPE = 0; - PIN_FOR_ALL = 1; - UNPIN_FOR_ALL = 2; - } - optional MessageKey key = 1; - optional Type type = 2; - optional int64 senderTimestampMs = 3; -} - -enum PeerDataOperationRequestType { - UPLOAD_STICKER = 0; - SEND_RECENT_STICKER_BOOTSTRAP = 1; - GENERATE_LINK_PREVIEW = 2; - HISTORY_SYNC_ON_DEMAND = 3; - PLACEHOLDER_MESSAGE_RESEND = 4; -} -message PeerDataOperationRequestResponseMessage { - message PeerDataOperationResult { - message PlaceholderMessageResendResponse { - optional bytes webMessageInfoBytes = 1; - } - - message LinkPreviewResponse { - message LinkPreviewHighQualityThumbnail { - optional string directPath = 1; - optional string thumbHash = 2; - optional string encThumbHash = 3; - optional bytes mediaKey = 4; - optional int64 mediaKeyTimestampMs = 5; - optional int32 thumbWidth = 6; - optional int32 thumbHeight = 7; - } - - optional string url = 1; - optional string title = 2; - optional string description = 3; - optional bytes thumbData = 4; - optional string canonicalUrl = 5; - optional string matchText = 6; - optional string previewType = 7; - optional LinkPreviewHighQualityThumbnail hqThumbnail = 8; - } - - optional MediaRetryNotification.ResultType mediaUploadResult = 1; - optional StickerMessage stickerMessage = 2; - optional LinkPreviewResponse linkPreviewResponse = 3; - optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4; - } - - optional PeerDataOperationRequestType peerDataOperationRequestType = 1; - optional string stanzaId = 2; - repeated PeerDataOperationResult peerDataOperationResult = 3; -} - -message PeerDataOperationRequestMessage { - message RequestUrlPreview { - optional string url = 1; - optional bool includeHqThumbnail = 2; - } - - message RequestStickerReupload { - optional string fileSha256 = 1; - } - - message PlaceholderMessageResendRequest { - optional MessageKey messageKey = 1; - } - - message HistorySyncOnDemandRequest { - optional string chatJid = 1; - optional string oldestMsgId = 2; - optional bool oldestMsgFromMe = 3; - optional int32 onDemandMsgCount = 4; - optional int64 oldestMsgTimestampMs = 5; - } - - optional PeerDataOperationRequestType peerDataOperationRequestType = 1; - repeated RequestStickerReupload requestStickerReupload = 2; - repeated RequestUrlPreview requestUrlPreview = 3; - optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4; - repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5; -} - -message PaymentInviteMessage { - enum ServiceType { - UNKNOWN = 0; - FBPAY = 1; - NOVI = 2; - UPI = 3; - } - optional ServiceType serviceType = 1; - optional int64 expiryTimestamp = 2; -} - -message OrderMessage { - enum OrderSurface { - CATALOG = 1; - } - enum OrderStatus { - INQUIRY = 1; - ACCEPTED = 2; - DECLINED = 3; - } - optional string orderId = 1; - optional bytes thumbnail = 2; - optional int32 itemCount = 3; - optional OrderStatus status = 4; - optional OrderSurface surface = 5; - optional string message = 6; - optional string orderTitle = 7; - optional string sellerJid = 8; - optional string token = 9; - optional int64 totalAmount1000 = 10; - optional string totalCurrencyCode = 11; - optional ContextInfo contextInfo = 17; - optional int32 messageVersion = 12; - optional MessageKey orderRequestMessageId = 13; -} - -message NewsletterAdminInviteMessage { - optional string newsletterJid = 1; - optional string newsletterName = 2; - optional bytes jpegThumbnail = 3; - optional string caption = 4; - optional int64 inviteExpiration = 5; - optional ContextInfo contextInfo = 6; -} - -message MessageHistoryBundle { - optional string mimetype = 2; - optional bytes fileSha256 = 3; - optional bytes mediaKey = 5; - optional bytes fileEncSha256 = 6; - optional string directPath = 7; - optional int64 mediaKeyTimestamp = 8; - optional ContextInfo contextInfo = 9; - repeated string participants = 10; -} - -message LocationMessage { - optional double degreesLatitude = 1; - optional double degreesLongitude = 2; - optional string name = 3; - optional string address = 4; - optional string url = 5; - optional bool isLive = 6; - optional uint32 accuracyInMeters = 7; - optional float speedInMps = 8; - optional uint32 degreesClockwiseFromMagneticNorth = 9; - optional string comment = 11; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; -} - -message LiveLocationMessage { - optional double degreesLatitude = 1; - optional double degreesLongitude = 2; - optional uint32 accuracyInMeters = 3; - optional float speedInMps = 4; - optional uint32 degreesClockwiseFromMagneticNorth = 5; - optional string caption = 6; - optional int64 sequenceNumber = 7; - optional uint32 timeOffset = 8; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; -} - -message ListResponseMessage { - message SingleSelectReply { - optional string selectedRowId = 1; - } - - enum ListType { - UNKNOWN = 0; - SINGLE_SELECT = 1; - } - optional string title = 1; - optional ListType listType = 2; - optional SingleSelectReply singleSelectReply = 3; - optional ContextInfo contextInfo = 4; - optional string description = 5; -} - -message ListMessage { - message Section { - optional string title = 1; - repeated Row rows = 2; - } - - message Row { - optional string title = 1; - optional string description = 2; - optional string rowId = 3; - } - - message Product { - optional string productId = 1; - } - - message ProductSection { - optional string title = 1; - repeated Product products = 2; - } - - message ProductListInfo { - repeated ProductSection productSections = 1; - optional ProductListHeaderImage headerImage = 2; - optional string businessOwnerJid = 3; - } - - message ProductListHeaderImage { - optional string productId = 1; - optional bytes jpegThumbnail = 2; - } - - enum ListType { - UNKNOWN = 0; - SINGLE_SELECT = 1; - PRODUCT_LIST = 2; - } - optional string title = 1; - optional string description = 2; - optional string buttonText = 3; - optional ListType listType = 4; - repeated Section sections = 5; - optional ProductListInfo productListInfo = 6; - optional string footerText = 7; - optional ContextInfo contextInfo = 8; -} - -message KeepInChatMessage { - optional MessageKey key = 1; - optional KeepType keepType = 2; - optional int64 timestampMs = 3; -} - -message InvoiceMessage { - enum AttachmentType { - IMAGE = 0; - PDF = 1; - } - optional string note = 1; - optional string token = 2; - optional AttachmentType attachmentType = 3; - optional string attachmentMimetype = 4; - optional bytes attachmentMediaKey = 5; - optional int64 attachmentMediaKeyTimestamp = 6; - optional bytes attachmentFileSha256 = 7; - optional bytes attachmentFileEncSha256 = 8; - optional string attachmentDirectPath = 9; - optional bytes attachmentJpegThumbnail = 10; -} - -message InteractiveResponseMessage { - message NativeFlowResponseMessage { - optional string name = 1; - optional string paramsJson = 2; - optional int32 version = 3; - } - - message Body { - enum Format { - DEFAULT = 0; - EXTENSIONS_1 = 1; - } - optional string text = 1; - optional Format format = 2; - } - - optional Body body = 1; - optional ContextInfo contextInfo = 15; - oneof interactiveResponseMessage { - NativeFlowResponseMessage nativeFlowResponseMessage = 2; - } -} - -message InteractiveMessage { - message NativeFlowMessage { - message NativeFlowButton { - optional string name = 1; - optional string buttonParamsJson = 2; - } - - repeated NativeFlowButton buttons = 1; - optional string messageParamsJson = 2; - optional int32 messageVersion = 3; - } - - message Header { - optional string title = 1; - optional string subtitle = 2; - optional bool hasMediaAttachment = 5; - oneof media { - DocumentMessage documentMessage = 3; - ImageMessage imageMessage = 4; - bytes jpegThumbnail = 6; - VideoMessage videoMessage = 7; - LocationMessage locationMessage = 8; - ProductMessage productMessage = 9; - } - } - - message Footer { - optional string text = 1; - } - - message CollectionMessage { - optional string bizJid = 1; - optional string id = 2; - optional int32 messageVersion = 3; - } - - message CarouselMessage { - repeated InteractiveMessage cards = 1; - optional int32 messageVersion = 2; - } - - message Body { - optional string text = 1; - } - - message ShopMessage { - enum Surface { - UNKNOWN_SURFACE = 0; - FB = 1; - IG = 2; - WA = 3; - } - optional string id = 1; - optional Surface surface = 2; - optional int32 messageVersion = 3; - } - - optional Header header = 1; - optional Body body = 2; - optional Footer footer = 3; - optional ContextInfo contextInfo = 15; - oneof interactiveMessage { - ShopMessage shopStorefrontMessage = 4; - CollectionMessage collectionMessage = 5; - NativeFlowMessage nativeFlowMessage = 6; - CarouselMessage carouselMessage = 7; - } -} - -message EphemeralSetting { - optional sfixed32 duration = 1; - optional sfixed64 timestamp = 2; -} - -message WallpaperSettings { - optional string filename = 1; - optional uint32 opacity = 2; -} - -message StickerMetadata { - optional string url = 1; - optional bytes fileSha256 = 2; - optional bytes fileEncSha256 = 3; - optional bytes mediaKey = 4; - optional string mimetype = 5; - optional uint32 height = 6; - optional uint32 width = 7; - optional string directPath = 8; - optional uint64 fileLength = 9; - optional float weight = 10; - optional int64 lastStickerSentTs = 11; -} - -message Pushname { - optional string id = 1; - optional string pushname = 2; -} - -message PhoneNumberToLIDMapping { - optional string pnJid = 1; - optional string lidJid = 2; -} - -message PastParticipants { - optional string groupJid = 1; - repeated PastParticipant pastParticipants = 2; -} - -message PastParticipant { - enum LeaveReason { - LEFT = 0; - REMOVED = 1; - } - optional string userJid = 1; - optional LeaveReason leaveReason = 2; - optional uint64 leaveTs = 3; -} - -message NotificationSettings { - optional string messageVibrate = 1; - optional string messagePopup = 2; - optional string messageLight = 3; - optional bool lowPriorityNotifications = 4; - optional bool reactionsMuted = 5; - optional string callVibrate = 6; -} - -enum MediaVisibility { - DEFAULT = 0; - OFF = 1; - ON = 2; -} -message HistorySync { - enum HistorySyncType { - INITIAL_BOOTSTRAP = 0; - INITIAL_STATUS_V3 = 1; - FULL = 2; - RECENT = 3; - PUSH_NAME = 4; - NON_BLOCKING_DATA = 5; - ON_DEMAND = 6; - } - enum BotAIWaitListState { - IN_WAITLIST = 0; - AI_AVAILABLE = 1; - } - required HistorySyncType syncType = 1; - repeated Conversation conversations = 2; - repeated WebMessageInfo statusV3Messages = 3; - optional uint32 chunkOrder = 5; - optional uint32 progress = 6; - repeated Pushname pushnames = 7; - optional GlobalSettings globalSettings = 8; - optional bytes threadIdUserSecret = 9; - optional uint32 threadDsTimeframeOffset = 10; - repeated StickerMetadata recentStickers = 11; - repeated PastParticipants pastParticipants = 12; - repeated CallLogRecord callLogRecords = 13; - optional BotAIWaitListState aiWaitListState = 14; - repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15; -} - -message HistorySyncMsg { - optional WebMessageInfo message = 1; - optional uint64 msgOrderId = 2; -} - -message GroupParticipant { - enum Rank { - REGULAR = 0; - ADMIN = 1; - SUPERADMIN = 2; - } - required string userJid = 1; - optional Rank rank = 2; -} - -message GlobalSettings { - optional WallpaperSettings lightThemeWallpaper = 1; - optional MediaVisibility mediaVisibility = 2; - optional WallpaperSettings darkThemeWallpaper = 3; - optional AutoDownloadSettings autoDownloadWiFi = 4; - optional AutoDownloadSettings autoDownloadCellular = 5; - optional AutoDownloadSettings autoDownloadRoaming = 6; - optional bool showIndividualNotificationsPreview = 7; - optional bool showGroupNotificationsPreview = 8; - optional int32 disappearingModeDuration = 9; - optional int64 disappearingModeTimestamp = 10; - optional AvatarUserSettings avatarUserSettings = 11; - optional int32 fontSize = 12; - optional bool securityNotifications = 13; - optional bool autoUnarchiveChats = 14; - optional int32 videoQualityMode = 15; - optional int32 photoQualityMode = 16; - optional NotificationSettings individualNotificationSettings = 17; - optional NotificationSettings groupNotificationSettings = 18; - optional ChatLockSettings chatLockSettings = 19; -} - -message Conversation { - enum EndOfHistoryTransferType { - COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; - COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; - COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2; - } - required string id = 1; - repeated HistorySyncMsg messages = 2; - optional string newJid = 3; - optional string oldJid = 4; - optional uint64 lastMsgTimestamp = 5; - optional uint32 unreadCount = 6; - optional bool readOnly = 7; - optional bool endOfHistoryTransfer = 8; - optional uint32 ephemeralExpiration = 9; - optional int64 ephemeralSettingTimestamp = 10; - optional EndOfHistoryTransferType endOfHistoryTransferType = 11; - optional uint64 conversationTimestamp = 12; - optional string name = 13; - optional string pHash = 14; - optional bool notSpam = 15; - optional bool archived = 16; - optional DisappearingMode disappearingMode = 17; - optional uint32 unreadMentionCount = 18; - optional bool markedAsUnread = 19; - repeated GroupParticipant participant = 20; - optional bytes tcToken = 21; - optional uint64 tcTokenTimestamp = 22; - optional bytes contactPrimaryIdentityKey = 23; - optional uint32 pinned = 24; - optional uint64 muteEndTime = 25; - optional WallpaperSettings wallpaper = 26; - optional MediaVisibility mediaVisibility = 27; - optional uint64 tcTokenSenderTimestamp = 28; - optional bool suspended = 29; - optional bool terminated = 30; - optional uint64 createdAt = 31; - optional string createdBy = 32; - optional string description = 33; - optional bool support = 34; - optional bool isParentGroup = 35; - optional string parentGroupId = 37; - optional bool isDefaultSubgroup = 36; - optional string displayName = 38; - optional string pnJid = 39; - optional bool shareOwnPn = 40; - optional bool pnhDuplicateLidThread = 41; - optional string lidJid = 42; - optional string username = 43; - optional string lidOriginType = 44; - optional uint32 commentsCount = 45; - optional bool locked = 46; -} - -message AvatarUserSettings { - optional string fbid = 1; - optional string password = 2; -} - -message AutoDownloadSettings { - optional bool downloadImages = 1; - optional bool downloadAudio = 2; - optional bool downloadVideo = 3; - optional bool downloadDocuments = 4; -} - -message ServerErrorReceipt { - optional string stanzaId = 1; -} - -message MediaRetryNotification { - enum ResultType { - GENERAL_ERROR = 0; - SUCCESS = 1; - NOT_FOUND = 2; - DECRYPTION_ERROR = 3; - } - optional string stanzaId = 1; - optional string directPath = 2; - optional ResultType result = 3; -} - -message MessageKey { - optional string remoteJid = 1; - optional bool fromMe = 2; - optional string id = 3; - optional string participant = 4; -} - -// Duplicate type omitted -//message MessageKey { -// optional string remoteJid = 1; -// optional bool fromMe = 2; -// optional string id = 3; -// optional string participant = 4; -//} - -message SyncdVersion { - optional uint64 version = 1; -} - -message SyncdValue { - optional bytes blob = 1; -} - -message SyncdSnapshot { - optional SyncdVersion version = 1; - repeated SyncdRecord records = 2; - optional bytes mac = 3; - optional KeyId keyId = 4; -} - -message SyncdRecord { - optional SyncdIndex index = 1; - optional SyncdValue value = 2; - optional KeyId keyId = 3; -} - -message SyncdPatch { - optional SyncdVersion version = 1; - repeated SyncdMutation mutations = 2; - optional ExternalBlobReference externalMutations = 3; - optional bytes snapshotMac = 4; - optional bytes patchMac = 5; - optional KeyId keyId = 6; - optional ExitCode exitCode = 7; - optional uint32 deviceIndex = 8; - optional bytes clientDebugData = 9; -} - -message SyncdMutations { - repeated SyncdMutation mutations = 1; -} - -message SyncdMutation { - enum SyncdOperation { - SET = 0; - REMOVE = 1; - } - optional SyncdOperation operation = 1; - optional SyncdRecord record = 2; -} - -message SyncdIndex { - optional bytes blob = 1; -} - -message KeyId { - optional bytes id = 1; -} - -message ExternalBlobReference { - optional bytes mediaKey = 1; - optional string directPath = 2; - optional string handle = 3; - optional uint64 fileSizeBytes = 4; - optional bytes fileSha256 = 5; - optional bytes fileEncSha256 = 6; -} - -message ExitCode { - optional uint64 code = 1; - optional string text = 2; -} - -message SyncActionValue { - optional int64 timestamp = 1; - optional StarAction starAction = 2; - optional ContactAction contactAction = 3; - optional MuteAction muteAction = 4; - optional PinAction pinAction = 5; - optional SecurityNotificationSetting securityNotificationSetting = 6; - optional PushNameSetting pushNameSetting = 7; - optional QuickReplyAction quickReplyAction = 8; - optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11; - optional LabelEditAction labelEditAction = 14; - optional LabelAssociationAction labelAssociationAction = 15; - optional LocaleSetting localeSetting = 16; - optional ArchiveChatAction archiveChatAction = 17; - optional DeleteMessageForMeAction deleteMessageForMeAction = 18; - optional KeyExpiration keyExpiration = 19; - optional MarkChatAsReadAction markChatAsReadAction = 20; - optional ClearChatAction clearChatAction = 21; - optional DeleteChatAction deleteChatAction = 22; - optional UnarchiveChatsSetting unarchiveChatsSetting = 23; - optional PrimaryFeature primaryFeature = 24; - optional AndroidUnsupportedActions androidUnsupportedActions = 26; - optional AgentAction agentAction = 27; - optional SubscriptionAction subscriptionAction = 28; - optional UserStatusMuteAction userStatusMuteAction = 29; - optional TimeFormatAction timeFormatAction = 30; - optional NuxAction nuxAction = 31; - optional PrimaryVersionAction primaryVersionAction = 32; - optional StickerAction stickerAction = 33; - optional RemoveRecentStickerAction removeRecentStickerAction = 34; - optional ChatAssignmentAction chatAssignment = 35; - optional ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36; - optional PnForLidChatAction pnForLidChatAction = 37; - optional MarketingMessageAction marketingMessageAction = 38; - optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39; - optional ExternalWebBetaAction externalWebBetaAction = 40; - optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41; - optional CallLogAction callLogAction = 42; - optional StatusPrivacyAction statusPrivacy = 44; - optional BotWelcomeRequestAction botWelcomeRequestAction = 45; - optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46; - optional LabelReorderingAction labelReorderingAction = 47; - optional PaymentInfoAction paymentInfoAction = 48; - optional CustomPaymentMethodsAction customPaymentMethodsAction = 49; - optional LockChatAction lockChatAction = 50; - optional ChatLockSettings chatLockSettings = 51; - optional WamoUserIdentifierAction wamoUserIdentifierAction = 52; - optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53; - optional DeviceCapabilities deviceCapabilities = 54; -} - -message WamoUserIdentifierAction { - optional string identifier = 1; -} - -message UserStatusMuteAction { - optional bool muted = 1; -} - -message UnarchiveChatsSetting { - optional bool unarchiveChats = 1; -} - -message TimeFormatAction { - optional bool isTwentyFourHourFormatEnabled = 1; -} - -message SyncActionMessage { - optional MessageKey key = 1; - optional int64 timestamp = 2; -} - -message SyncActionMessageRange { - optional int64 lastMessageTimestamp = 1; - optional int64 lastSystemMessageTimestamp = 2; - repeated SyncActionMessage messages = 3; -} - -message SubscriptionAction { - optional bool isDeactivated = 1; - optional bool isAutoRenewing = 2; - optional int64 expirationDate = 3; -} - -message StickerAction { - optional string url = 1; - optional bytes fileEncSha256 = 2; - optional bytes mediaKey = 3; - optional string mimetype = 4; - optional uint32 height = 5; - optional uint32 width = 6; - optional string directPath = 7; - optional uint64 fileLength = 8; - optional bool isFavorite = 9; - optional uint32 deviceIdHint = 10; -} - -message StatusPrivacyAction { - enum StatusDistributionMode { - ALLOW_LIST = 0; - DENY_LIST = 1; - CONTACTS = 2; - } - optional StatusDistributionMode mode = 1; - repeated string userJid = 2; -} - -message StarAction { - optional bool starred = 1; -} - -message SecurityNotificationSetting { - optional bool showNotification = 1; -} - -message RemoveRecentStickerAction { - optional int64 lastStickerSentTs = 1; -} - -message RecentEmojiWeightsAction { - repeated RecentEmojiWeight weights = 1; -} - -message QuickReplyAction { - optional string shortcut = 1; - optional string message = 2; - repeated string keywords = 3; - optional int32 count = 4; - optional bool deleted = 5; -} - -message PushNameSetting { - optional string name = 1; -} - -message PrivacySettingRelayAllCalls { - optional bool isEnabled = 1; -} - -message PrivacySettingDisableLinkPreviewsAction { - optional bool isPreviewsDisabled = 1; -} - -message PrimaryVersionAction { - optional string version = 1; -} - -message PrimaryFeature { - repeated string flags = 1; -} - -message PnForLidChatAction { - optional string pnJid = 1; -} - -message PinAction { - optional bool pinned = 1; -} - -message PaymentInfoAction { - optional string cpi = 1; -} - -message NuxAction { - optional bool acknowledged = 1; -} - -message MuteAction { - optional bool muted = 1; - optional int64 muteEndTimestamp = 2; - optional bool autoMuted = 3; -} - -message MarketingMessageBroadcastAction { - optional int32 repliedCount = 1; -} - -message MarketingMessageAction { - enum MarketingMessagePrototypeType { - PERSONALIZED = 0; - } - optional string name = 1; - optional string message = 2; - optional MarketingMessagePrototypeType type = 3; - optional int64 createdAt = 4; - optional int64 lastSentAt = 5; - optional bool isDeleted = 6; - optional string mediaId = 7; -} - -message MarkChatAsReadAction { - optional bool read = 1; - optional SyncActionMessageRange messageRange = 2; -} - -message LockChatAction { - optional bool locked = 1; -} - -message LocaleSetting { - optional string locale = 1; -} - -message LabelReorderingAction { - repeated int32 sortedLabelIds = 1; -} - -message LabelEditAction { - optional string name = 1; - optional int32 color = 2; - optional int32 predefinedId = 3; - optional bool deleted = 4; - optional int32 orderIndex = 5; -} - -message LabelAssociationAction { - optional bool labeled = 1; -} - -message KeyExpiration { - optional int32 expiredKeyEpoch = 1; -} - -message ExternalWebBetaAction { - optional bool isOptIn = 1; -} - -message DeleteMessageForMeAction { - optional bool deleteMedia = 1; - optional int64 messageTimestamp = 2; -} - -message DeleteIndividualCallLogAction { - optional string peerJid = 1; - optional bool isIncoming = 2; -} - -message DeleteChatAction { - optional SyncActionMessageRange messageRange = 1; -} - -message CustomPaymentMethodsAction { - repeated CustomPaymentMethod customPaymentMethods = 1; -} - -message CustomPaymentMethod { - required string credentialId = 1; - required string country = 2; - required string type = 3; - repeated CustomPaymentMethodMetadata metadata = 4; -} - -message CustomPaymentMethodMetadata { - required string key = 1; - required string value = 2; -} - -message ContactAction { - optional string fullName = 1; - optional string firstName = 2; - optional string lidJid = 3; - optional bool saveOnPrimaryAddressbook = 4; -} - -message ClearChatAction { - optional SyncActionMessageRange messageRange = 1; -} - -message ChatAssignmentOpenedStatusAction { - optional bool chatOpened = 1; -} - -message ChatAssignmentAction { - optional string deviceAgentID = 1; -} - -message CallLogAction { - optional CallLogRecord callLogRecord = 1; -} - -message BotWelcomeRequestAction { - optional bool isSent = 1; -} - -message ArchiveChatAction { - optional bool archived = 1; - optional SyncActionMessageRange messageRange = 2; -} - -message AndroidUnsupportedActions { - optional bool allowed = 1; -} - -message AgentAction { - optional string name = 1; - optional int32 deviceID = 2; - optional bool isDeleted = 3; -} - -message SyncActionData { - optional bytes index = 1; - optional SyncActionValue value = 2; - optional bytes padding = 3; - optional int32 version = 4; -} - -message RecentEmojiWeight { - optional string emoji = 1; - optional float weight = 2; -} - -message PatchDebugData { - enum Platform { - ANDROID = 0; - SMBA = 1; - IPHONE = 2; - SMBI = 3; - WEB = 4; - UWP = 5; - DARWIN = 6; - } - optional bytes currentLthash = 1; - optional bytes newLthash = 2; - optional bytes patchVersion = 3; - optional bytes collectionName = 4; - optional bytes firstFourBytesFromAHashOfSnapshotMacKey = 5; - optional bytes newLthashSubtract = 6; - optional int32 numberAdd = 7; - optional int32 numberRemove = 8; - optional int32 numberOverride = 9; - optional Platform senderPlatform = 10; - optional bool isSenderPrimary = 11; -} - -message CallLogRecord { - enum SilenceReason { - NONE = 0; - SCHEDULED = 1; - PRIVACY = 2; - LIGHTWEIGHT = 3; - } - message ParticipantInfo { - optional string userJid = 1; - optional CallResult callResult = 2; - } - - enum CallType { - REGULAR = 0; - SCHEDULED_CALL = 1; - VOICE_CHAT = 2; - } - enum CallResult { - CONNECTED = 0; - REJECTED = 1; - CANCELLED = 2; - ACCEPTEDELSEWHERE = 3; - MISSED = 4; - INVALID = 5; - UNAVAILABLE = 6; - UPCOMING = 7; - FAILED = 8; - ABANDONED = 9; - ONGOING = 10; - } - optional CallResult callResult = 1; - optional bool isDndMode = 2; - optional SilenceReason silenceReason = 3; - optional int64 duration = 4; - optional int64 startTime = 5; - optional bool isIncoming = 6; - optional bool isVideo = 7; - optional bool isCallLink = 8; - optional string callLinkToken = 9; - optional string scheduledCallId = 10; - optional string callId = 11; - optional string callCreatorJid = 12; - optional string groupJid = 13; - repeated ParticipantInfo participants = 14; - optional CallType callType = 15; -} - -message VerifiedNameCertificate { - message Details { - optional uint64 serial = 1; - optional string issuer = 2; - optional string verifiedName = 4; - repeated LocalizedName localizedNames = 8; - optional uint64 issueTime = 10; - } - - optional bytes details = 1; - optional bytes signature = 2; - optional bytes serverSignature = 3; -} - -message LocalizedName { - optional string lg = 1; - optional string lc = 2; - optional string verifiedName = 3; -} - -message BizIdentityInfo { - enum VerifiedLevelValue { - UNKNOWN = 0; - LOW = 1; - HIGH = 2; - } - enum HostStorageType { - ON_PREMISE = 0; - FACEBOOK = 1; - } - enum ActualActorsType { - SELF = 0; - BSP = 1; - } - optional VerifiedLevelValue vlevel = 1; - optional VerifiedNameCertificate vnameCert = 2; - optional bool signed = 3; - optional bool revoked = 4; - optional HostStorageType hostStorage = 5; - optional ActualActorsType actualActors = 6; - optional uint64 privacyModeTs = 7; - optional uint64 featureControls = 8; -} - -message BizAccountPayload { - optional VerifiedNameCertificate vnameCert = 1; - optional bytes bizAcctLinkInfo = 2; -} - -message BizAccountLinkInfo { - enum HostStorageType { - ON_PREMISE = 0; - FACEBOOK = 1; - } - enum AccountType { - ENTERPRISE = 0; - } - optional uint64 whatsappBizAcctFbid = 1; - optional string whatsappAcctNumber = 2; - optional uint64 issueTime = 3; - optional HostStorageType hostStorage = 4; - optional AccountType accountType = 5; -} - -message HandshakeMessage { - optional HandshakeClientHello clientHello = 2; - optional HandshakeServerHello serverHello = 3; - optional HandshakeClientFinish clientFinish = 4; -} - -message HandshakeServerHello { - optional bytes ephemeral = 1; - optional bytes static = 2; - optional bytes payload = 3; -} - -message HandshakeClientHello { - optional bytes ephemeral = 1; - optional bytes static = 2; - optional bytes payload = 3; -} - -message HandshakeClientFinish { - optional bytes static = 1; - optional bytes payload = 2; -} - -message ClientPayload { - message WebInfo { - message WebdPayload { - optional bool usesParticipantInKey = 1; - optional bool supportsStarredMessages = 2; - optional bool supportsDocumentMessages = 3; - optional bool supportsUrlMessages = 4; - optional bool supportsMediaRetry = 5; - optional bool supportsE2EImage = 6; - optional bool supportsE2EVideo = 7; - optional bool supportsE2EAudio = 8; - optional bool supportsE2EDocument = 9; - optional string documentTypes = 10; - optional bytes features = 11; - } - - enum WebSubPlatform { - WEB_BROWSER = 0; - APP_STORE = 1; - WIN_STORE = 2; - DARWIN = 3; - WIN32 = 4; - } - optional string refToken = 1; - optional string version = 2; - optional WebdPayload webdPayload = 3; - optional WebSubPlatform webSubPlatform = 4; - } - - message UserAgent { - enum ReleaseChannel { - RELEASE = 0; - BETA = 1; - ALPHA = 2; - DEBUG = 3; - } - enum Platform { - ANDROID = 0; - IOS = 1; - WINDOWS_PHONE = 2; - BLACKBERRY = 3; - BLACKBERRYX = 4; - S40 = 5; - S60 = 6; - PYTHON_CLIENT = 7; - TIZEN = 8; - ENTERPRISE = 9; - SMB_ANDROID = 10; - KAIOS = 11; - SMB_IOS = 12; - WINDOWS = 13; - WEB = 14; - PORTAL = 15; - GREEN_ANDROID = 16; - GREEN_IPHONE = 17; - BLUE_ANDROID = 18; - BLUE_IPHONE = 19; - FBLITE_ANDROID = 20; - MLITE_ANDROID = 21; - IGLITE_ANDROID = 22; - PAGE = 23; - MACOS = 24; - OCULUS_MSG = 25; - OCULUS_CALL = 26; - MILAN = 27; - CAPI = 28; - WEAROS = 29; - ARDEVICE = 30; - VRDEVICE = 31; - BLUE_WEB = 32; - IPAD = 33; - TEST = 34; - SMART_GLASSES = 35; - } - enum DeviceType { - PHONE = 0; - TABLET = 1; - DESKTOP = 2; - WEARABLE = 3; - VR = 4; - } - message AppVersion { - optional uint32 primary = 1; - optional uint32 secondary = 2; - optional uint32 tertiary = 3; - optional uint32 quaternary = 4; - optional uint32 quinary = 5; - } - - optional Platform platform = 1; - optional AppVersion appVersion = 2; - optional string mcc = 3; - optional string mnc = 4; - optional string osVersion = 5; - optional string manufacturer = 6; - optional string device = 7; - optional string osBuildNumber = 8; - optional string phoneId = 9; - optional ReleaseChannel releaseChannel = 10; - optional string localeLanguageIso6391 = 11; - optional string localeCountryIso31661Alpha2 = 12; - optional string deviceBoard = 13; - optional string deviceExpId = 14; - optional DeviceType deviceType = 15; - optional string deviceModelType = 16; - } - - enum Product { - WHATSAPP = 0; - MESSENGER = 1; - INTEROP = 2; - INTEROP_MSGR = 3; - } - message InteropData { - optional uint64 accountId = 1; - optional bytes token = 2; - } - - enum IOSAppExtension { - SHARE_EXTENSION = 0; - SERVICE_EXTENSION = 1; - INTENTS_EXTENSION = 2; - } - message DevicePairingRegistrationData { - optional bytes eRegid = 1; - optional bytes eKeytype = 2; - optional bytes eIdent = 3; - optional bytes eSkeyId = 4; - optional bytes eSkeyVal = 5; - optional bytes eSkeySig = 6; - optional bytes buildHash = 7; - optional bytes deviceProps = 8; - } - - message DNSSource { - enum DNSResolutionMethod { - SYSTEM = 0; - GOOGLE = 1; - HARDCODED = 2; - OVERRIDE = 3; - FALLBACK = 4; - } - optional DNSResolutionMethod dnsMethod = 15; - optional bool appCached = 16; - } - - enum ConnectType { - CELLULAR_UNKNOWN = 0; - WIFI_UNKNOWN = 1; - CELLULAR_EDGE = 100; - CELLULAR_IDEN = 101; - CELLULAR_UMTS = 102; - CELLULAR_EVDO = 103; - CELLULAR_GPRS = 104; - CELLULAR_HSDPA = 105; - CELLULAR_HSUPA = 106; - CELLULAR_HSPA = 107; - CELLULAR_CDMA = 108; - CELLULAR_1XRTT = 109; - CELLULAR_EHRPD = 110; - CELLULAR_LTE = 111; - CELLULAR_HSPAP = 112; - } - enum ConnectReason { - PUSH = 0; - USER_ACTIVATED = 1; - SCHEDULED = 2; - ERROR_RECONNECT = 3; - NETWORK_SWITCH = 4; - PING_RECONNECT = 5; - UNKNOWN = 6; - } - optional uint64 username = 1; - optional bool passive = 3; - optional UserAgent userAgent = 5; - optional WebInfo webInfo = 6; - optional string pushName = 7; - optional sfixed32 sessionId = 9; - optional bool shortConnect = 10; - optional ConnectType connectType = 12; - optional ConnectReason connectReason = 13; - repeated int32 shards = 14; - optional DNSSource dnsSource = 15; - optional uint32 connectAttemptCount = 16; - optional uint32 device = 18; - optional DevicePairingRegistrationData devicePairingData = 19; - optional Product product = 20; - optional bytes fbCat = 21; - optional bytes fbUserAgent = 22; - optional bool oc = 23; - optional int32 lc = 24; - optional IOSAppExtension iosAppExtension = 30; - optional uint64 fbAppId = 31; - optional bytes fbDeviceId = 32; - optional bool pull = 33; - optional bytes paddingBytes = 34; - optional int32 yearClass = 36; - optional int32 memClass = 37; - optional InteropData interopData = 38; -} - -message WebNotificationsInfo { - optional uint64 timestamp = 2; - optional uint32 unreadChats = 3; - optional uint32 notifyMessageCount = 4; - repeated WebMessageInfo notifyMessages = 5; -} - -message WebMessageInfo { - enum StubType { - UNKNOWN = 0; - REVOKE = 1; - CIPHERTEXT = 2; - FUTUREPROOF = 3; - NON_VERIFIED_TRANSITION = 4; - UNVERIFIED_TRANSITION = 5; - VERIFIED_TRANSITION = 6; - VERIFIED_LOW_UNKNOWN = 7; - VERIFIED_HIGH = 8; - VERIFIED_INITIAL_UNKNOWN = 9; - VERIFIED_INITIAL_LOW = 10; - VERIFIED_INITIAL_HIGH = 11; - VERIFIED_TRANSITION_ANY_TO_NONE = 12; - VERIFIED_TRANSITION_ANY_TO_HIGH = 13; - VERIFIED_TRANSITION_HIGH_TO_LOW = 14; - VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15; - VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16; - VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17; - VERIFIED_TRANSITION_NONE_TO_LOW = 18; - VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19; - GROUP_CREATE = 20; - GROUP_CHANGE_SUBJECT = 21; - GROUP_CHANGE_ICON = 22; - GROUP_CHANGE_INVITE_LINK = 23; - GROUP_CHANGE_DESCRIPTION = 24; - GROUP_CHANGE_RESTRICT = 25; - GROUP_CHANGE_ANNOUNCE = 26; - GROUP_PARTICIPANT_ADD = 27; - GROUP_PARTICIPANT_REMOVE = 28; - GROUP_PARTICIPANT_PROMOTE = 29; - GROUP_PARTICIPANT_DEMOTE = 30; - GROUP_PARTICIPANT_INVITE = 31; - GROUP_PARTICIPANT_LEAVE = 32; - GROUP_PARTICIPANT_CHANGE_NUMBER = 33; - BROADCAST_CREATE = 34; - BROADCAST_ADD = 35; - BROADCAST_REMOVE = 36; - GENERIC_NOTIFICATION = 37; - E2E_IDENTITY_CHANGED = 38; - E2E_ENCRYPTED = 39; - CALL_MISSED_VOICE = 40; - CALL_MISSED_VIDEO = 41; - INDIVIDUAL_CHANGE_NUMBER = 42; - GROUP_DELETE = 43; - GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44; - CALL_MISSED_GROUP_VOICE = 45; - CALL_MISSED_GROUP_VIDEO = 46; - PAYMENT_CIPHERTEXT = 47; - PAYMENT_FUTUREPROOF = 48; - PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49; - PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50; - PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51; - PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52; - PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53; - PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54; - PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55; - PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56; - PAYMENT_ACTION_REQUEST_DECLINED = 57; - PAYMENT_ACTION_REQUEST_EXPIRED = 58; - PAYMENT_ACTION_REQUEST_CANCELLED = 59; - BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60; - BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61; - BIZ_INTRO_TOP = 62; - BIZ_INTRO_BOTTOM = 63; - BIZ_NAME_CHANGE = 64; - BIZ_MOVE_TO_CONSUMER_APP = 65; - BIZ_TWO_TIER_MIGRATION_TOP = 66; - BIZ_TWO_TIER_MIGRATION_BOTTOM = 67; - OVERSIZED = 68; - GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69; - GROUP_V4_ADD_INVITE_SENT = 70; - GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71; - CHANGE_EPHEMERAL_SETTING = 72; - E2E_DEVICE_CHANGED = 73; - VIEWED_ONCE = 74; - E2E_ENCRYPTED_NOW = 75; - BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76; - BLUE_MSG_BSP_FB_TO_SELF_FB = 77; - BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78; - BLUE_MSG_BSP_FB_UNVERIFIED = 79; - BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80; - BLUE_MSG_BSP_FB_VERIFIED = 81; - BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82; - BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83; - BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84; - BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85; - BLUE_MSG_BSP_PREMISE_VERIFIED = 86; - BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87; - BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88; - BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89; - BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90; - BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91; - BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92; - BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93; - BLUE_MSG_SELF_FB_UNVERIFIED = 94; - BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95; - BLUE_MSG_SELF_FB_VERIFIED = 96; - BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97; - BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98; - BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99; - BLUE_MSG_SELF_PREMISE_VERIFIED = 100; - BLUE_MSG_TO_BSP_FB = 101; - BLUE_MSG_TO_CONSUMER = 102; - BLUE_MSG_TO_SELF_FB = 103; - BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104; - BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105; - BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106; - BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107; - BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108; - BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109; - BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110; - BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111; - BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112; - BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113; - BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114; - BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115; - BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116; - BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117; - E2E_IDENTITY_UNAVAILABLE = 118; - GROUP_CREATING = 119; - GROUP_CREATE_FAILED = 120; - GROUP_BOUNCED = 121; - BLOCK_CONTACT = 122; - EPHEMERAL_SETTING_NOT_APPLIED = 123; - SYNC_FAILED = 124; - SYNCING = 125; - BIZ_PRIVACY_MODE_INIT_FB = 126; - BIZ_PRIVACY_MODE_INIT_BSP = 127; - BIZ_PRIVACY_MODE_TO_FB = 128; - BIZ_PRIVACY_MODE_TO_BSP = 129; - DISAPPEARING_MODE = 130; - E2E_DEVICE_FETCH_FAILED = 131; - ADMIN_REVOKE = 132; - GROUP_INVITE_LINK_GROWTH_LOCKED = 133; - COMMUNITY_LINK_PARENT_GROUP = 134; - COMMUNITY_LINK_SIBLING_GROUP = 135; - COMMUNITY_LINK_SUB_GROUP = 136; - COMMUNITY_UNLINK_PARENT_GROUP = 137; - COMMUNITY_UNLINK_SIBLING_GROUP = 138; - COMMUNITY_UNLINK_SUB_GROUP = 139; - GROUP_PARTICIPANT_ACCEPT = 140; - GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141; - COMMUNITY_CREATE = 142; - EPHEMERAL_KEEP_IN_CHAT = 143; - GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144; - GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145; - INTEGRITY_UNLINK_PARENT_GROUP = 146; - COMMUNITY_PARTICIPANT_PROMOTE = 147; - COMMUNITY_PARTICIPANT_DEMOTE = 148; - COMMUNITY_PARENT_GROUP_DELETED = 149; - COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150; - GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151; - MASKED_THREAD_CREATED = 152; - MASKED_THREAD_UNMASKED = 153; - BIZ_CHAT_ASSIGNMENT = 154; - CHAT_PSA = 155; - CHAT_POLL_CREATION_MESSAGE = 156; - CAG_MASKED_THREAD_CREATED = 157; - COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158; - CAG_INVITE_AUTO_ADD = 159; - BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160; - CAG_INVITE_AUTO_JOINED = 161; - SCHEDULED_CALL_START_MESSAGE = 162; - COMMUNITY_INVITE_RICH = 163; - COMMUNITY_INVITE_AUTO_ADD_RICH = 164; - SUB_GROUP_INVITE_RICH = 165; - SUB_GROUP_PARTICIPANT_ADD_RICH = 166; - COMMUNITY_LINK_PARENT_GROUP_RICH = 167; - COMMUNITY_PARTICIPANT_ADD_RICH = 168; - SILENCED_UNKNOWN_CALLER_AUDIO = 169; - SILENCED_UNKNOWN_CALLER_VIDEO = 170; - GROUP_MEMBER_ADD_MODE = 171; - GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172; - COMMUNITY_CHANGE_DESCRIPTION = 173; - SENDER_INVITE = 174; - RECEIVER_INVITE = 175; - COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176; - PINNED_MESSAGE_IN_CHAT = 177; - PAYMENT_INVITE_SETUP_INVITER = 178; - PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179; - PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180; - LINKED_GROUP_CALL_START = 181; - REPORT_TO_ADMIN_ENABLED_STATUS = 182; - EMPTY_SUBGROUP_CREATE = 183; - SCHEDULED_CALL_CANCEL = 184; - SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185; - GROUP_CHANGE_RECENT_HISTORY_SHARING = 186; - PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187; - GENERAL_CHAT_CREATE = 188; - GENERAL_CHAT_ADD = 189; - GENERAL_CHAT_AUTO_ADD_DISABLED = 190; - SUGGESTED_SUBGROUP_ANNOUNCE = 191; - BIZ_BOT_1P_MESSAGING_ENABLED = 192; - CHANGE_USERNAME = 193; - BIZ_COEX_PRIVACY_INIT_SELF = 194; - BIZ_COEX_PRIVACY_TRANSITION_SELF = 195; - SUPPORT_AI_EDUCATION = 196; - BIZ_BOT_3P_MESSAGING_ENABLED = 197; - REMINDER_SETUP_MESSAGE = 198; - REMINDER_SENT_MESSAGE = 199; - REMINDER_CANCEL_MESSAGE = 200; - BIZ_COEX_PRIVACY_INIT = 201; - BIZ_COEX_PRIVACY_TRANSITION = 202; - GROUP_DEACTIVATED = 203; - COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204; - } - enum Status { - ERROR = 0; - PENDING = 1; - SERVER_ACK = 2; - DELIVERY_ACK = 3; - READ = 4; - PLAYED = 5; - } - enum BizPrivacyStatus { - E2EE = 0; - FB = 2; - BSP = 1; - BSP_AND_FB = 3; - } - required MessageKey key = 1; - optional Message message = 2; - optional uint64 messageTimestamp = 3; - optional Status status = 4; - optional string participant = 5; - optional uint64 messageC2STimestamp = 6; - optional bool ignore = 16; - optional bool starred = 17; - optional bool broadcast = 18; - optional string pushName = 19; - optional bytes mediaCiphertextSha256 = 20; - optional bool multicast = 21; - optional bool urlText = 22; - optional bool urlNumber = 23; - optional StubType messageStubType = 24; - optional bool clearMedia = 25; - repeated string messageStubParameters = 26; - optional uint32 duration = 27; - repeated string labels = 28; - optional PaymentInfo paymentInfo = 29; - optional LiveLocationMessage finalLiveLocation = 30; - optional PaymentInfo quotedPaymentInfo = 31; - optional uint64 ephemeralStartTimestamp = 32; - optional uint32 ephemeralDuration = 33; - optional bool ephemeralOffToOn = 34; - optional bool ephemeralOutOfSync = 35; - optional BizPrivacyStatus bizPrivacyStatus = 36; - optional string verifiedBizName = 37; - optional MediaData mediaData = 38; - optional PhotoChange photoChange = 39; - repeated UserReceipt userReceipt = 40; - repeated Reaction reactions = 41; - optional MediaData quotedStickerData = 42; - optional bytes futureproofData = 43; - optional StatusPSA statusPsa = 44; - repeated PollUpdate pollUpdates = 45; - optional PollAdditionalMetadata pollAdditionalMetadata = 46; - optional string agentId = 47; - optional bool statusAlreadyViewed = 48; - optional bytes messageSecret = 49; - optional KeepInChat keepInChat = 50; - optional string originalSelfAuthorUserJidString = 51; - optional uint64 revokeMessageTimestamp = 52; - optional PinInChat pinInChat = 54; - optional PremiumMessageInfo premiumMessageInfo = 55; - optional bool is1PBizBotMessage = 56; - optional bool isGroupHistoryMessage = 57; - optional string botMessageInvokerJid = 58; - optional CommentMetadata commentMetadata = 59; - repeated EventResponse eventResponses = 61; - optional ReportingTokenInfo reportingTokenInfo = 62; - optional uint64 newsletterServerId = 63; - optional EventAdditionalMetadata eventAdditionalMetadata = 64; -} - -message WebFeatures { - enum Flag { - NOT_STARTED = 0; - FORCE_UPGRADE = 1; - DEVELOPMENT = 2; - PRODUCTION = 3; - } - optional Flag labelsDisplay = 1; - optional Flag voipIndividualOutgoing = 2; - optional Flag groupsV3 = 3; - optional Flag groupsV3Create = 4; - optional Flag changeNumberV2 = 5; - optional Flag queryStatusV3Thumbnail = 6; - optional Flag liveLocations = 7; - optional Flag queryVname = 8; - optional Flag voipIndividualIncoming = 9; - optional Flag quickRepliesQuery = 10; - optional Flag payments = 11; - optional Flag stickerPackQuery = 12; - optional Flag liveLocationsFinal = 13; - optional Flag labelsEdit = 14; - optional Flag mediaUpload = 15; - optional Flag mediaUploadRichQuickReplies = 18; - optional Flag vnameV2 = 19; - optional Flag videoPlaybackUrl = 20; - optional Flag statusRanking = 21; - optional Flag voipIndividualVideo = 22; - optional Flag thirdPartyStickers = 23; - optional Flag frequentlyForwardedSetting = 24; - optional Flag groupsV4JoinPermission = 25; - optional Flag recentStickers = 26; - optional Flag catalog = 27; - optional Flag starredStickers = 28; - optional Flag voipGroupCall = 29; - optional Flag templateMessage = 30; - optional Flag templateMessageInteractivity = 31; - optional Flag ephemeralMessages = 32; - optional Flag e2ENotificationSync = 33; - optional Flag recentStickersV2 = 34; - optional Flag recentStickersV3 = 36; - optional Flag userNotice = 37; - optional Flag support = 39; - optional Flag groupUiiCleanup = 40; - optional Flag groupDogfoodingInternalOnly = 41; - optional Flag settingsSync = 42; - optional Flag archiveV2 = 43; - optional Flag ephemeralAllowGroupMembers = 44; - optional Flag ephemeral24HDuration = 45; - optional Flag mdForceUpgrade = 46; - optional Flag disappearingMode = 47; - optional Flag externalMdOptInAvailable = 48; - optional Flag noDeleteMessageTimeLimit = 49; -} - -message UserReceipt { - required string userJid = 1; - optional int64 receiptTimestamp = 2; - optional int64 readTimestamp = 3; - optional int64 playedTimestamp = 4; - repeated string pendingDeviceJid = 5; - repeated string deliveredDeviceJid = 6; -} - -message StatusPSA { - required uint64 campaignId = 44; - optional uint64 campaignExpirationTimestamp = 45; -} - -message ReportingTokenInfo { - optional bytes reportingTag = 1; -} - -message Reaction { - optional MessageKey key = 1; - optional string text = 2; - optional string groupingKey = 3; - optional int64 senderTimestampMs = 4; - optional bool unread = 5; -} - -message PremiumMessageInfo { - optional string serverCampaignId = 1; -} - -message PollUpdate { - optional MessageKey pollUpdateMessageKey = 1; - optional PollVoteMessage vote = 2; - optional int64 senderTimestampMs = 3; - optional int64 serverTimestampMs = 4; - optional bool unread = 5; -} - -message PollAdditionalMetadata { - optional bool pollInvalidated = 1; -} - -message PinInChat { - enum Type { - UNKNOWN_TYPE = 0; - PIN_FOR_ALL = 1; - UNPIN_FOR_ALL = 2; - } - optional Type type = 1; - optional MessageKey key = 2; - optional int64 senderTimestampMs = 3; - optional int64 serverTimestampMs = 4; - optional MessageAddOnContextInfo messageAddOnContextInfo = 5; -} - -message PhotoChange { - optional bytes oldPhoto = 1; - optional bytes newPhoto = 2; - optional uint32 newPhotoId = 3; -} - -message PaymentInfo { - enum TxnStatus { - UNKNOWN = 0; - PENDING_SETUP = 1; - PENDING_RECEIVER_SETUP = 2; - INIT = 3; - SUCCESS = 4; - COMPLETED = 5; - FAILED = 6; - FAILED_RISK = 7; - FAILED_PROCESSING = 8; - FAILED_RECEIVER_PROCESSING = 9; - FAILED_DA = 10; - FAILED_DA_FINAL = 11; - REFUNDED_TXN = 12; - REFUND_FAILED = 13; - REFUND_FAILED_PROCESSING = 14; - REFUND_FAILED_DA = 15; - EXPIRED_TXN = 16; - AUTH_CANCELED = 17; - AUTH_CANCEL_FAILED_PROCESSING = 18; - AUTH_CANCEL_FAILED = 19; - COLLECT_INIT = 20; - COLLECT_SUCCESS = 21; - COLLECT_FAILED = 22; - COLLECT_FAILED_RISK = 23; - COLLECT_REJECTED = 24; - COLLECT_EXPIRED = 25; - COLLECT_CANCELED = 26; - COLLECT_CANCELLING = 27; - IN_REVIEW = 28; - REVERSAL_SUCCESS = 29; - REVERSAL_PENDING = 30; - REFUND_PENDING = 31; - } - enum Status { - UNKNOWN_STATUS = 0; - PROCESSING = 1; - SENT = 2; - NEED_TO_ACCEPT = 3; - COMPLETE = 4; - COULD_NOT_COMPLETE = 5; - REFUNDED = 6; - EXPIRED = 7; - REJECTED = 8; - CANCELLED = 9; - WAITING_FOR_PAYER = 10; - WAITING = 11; - } - enum Currency { - UNKNOWN_CURRENCY = 0; - INR = 1; - } - optional Currency currencyDeprecated = 1; - optional uint64 amount1000 = 2; - optional string receiverJid = 3; - optional Status status = 4; - optional uint64 transactionTimestamp = 5; - optional MessageKey requestMessageKey = 6; - optional uint64 expiryTimestamp = 7; - optional bool futureproofed = 8; - optional string currency = 9; - optional TxnStatus txnStatus = 10; - optional bool useNoviFiatFormat = 11; - optional Money primaryAmount = 12; - optional Money exchangeAmount = 13; -} - -message NotificationMessageInfo { - optional MessageKey key = 1; - optional Message message = 2; - optional uint64 messageTimestamp = 3; - optional string participant = 4; -} - -message MessageAddOnContextInfo { - optional uint32 messageAddOnDurationInSecs = 1; -} - -message MediaData { - optional string localPath = 1; -} - -message KeepInChat { - optional KeepType keepType = 1; - optional int64 serverTimestamp = 2; - optional MessageKey key = 3; - optional string deviceJid = 4; - optional int64 clientTimestampMs = 5; - optional int64 serverTimestampMs = 6; -} - -message EventResponse { - optional MessageKey eventResponseMessageKey = 1; - optional int64 timestampMs = 2; - optional EventResponseMessage eventResponseMessage = 3; - optional bool unread = 4; -} - -message EventAdditionalMetadata { - optional bool isStale = 1; -} - -message CommentMetadata { - optional MessageKey commentParentKey = 1; - optional uint32 replyCount = 2; -} - -message NoiseCertificate { - message Details { - optional uint32 serial = 1; - optional string issuer = 2; - optional uint64 expires = 3; - optional string subject = 4; - optional bytes key = 5; - } - - optional bytes details = 1; - optional bytes signature = 2; -} - -message CertChain { - message NoiseCertificate { - message Details { - optional uint32 serial = 1; - optional uint32 issuerSerial = 2; - optional bytes key = 3; - optional uint64 notBefore = 4; - optional uint64 notAfter = 5; - } - - optional bytes details = 1; - optional bytes signature = 2; - } - - optional NoiseCertificate leaf = 1; - optional NoiseCertificate intermediate = 2; -} - -message QP { - message Filter { - required string filterName = 1; - repeated FilterParameters parameters = 2; - optional FilterResult filterResult = 3; - required FilterClientNotSupportedConfig clientNotSupportedConfig = 4; - } - - enum FilterResult { - TRUE = 1; - FALSE = 2; - UNKNOWN = 3; - } - message FilterParameters { - optional string key = 1; - optional string value = 2; - } - - enum FilterClientNotSupportedConfig { - PASS_BY_DEFAULT = 1; - FAIL_BY_DEFAULT = 2; - } - message FilterClause { - required ClauseType clauseType = 1; - repeated FilterClause clauses = 2; - repeated Filter filters = 3; - } - - enum ClauseType { - AND = 1; - OR = 2; - NOR = 3; - } -} - -message ChatLockSettings { - optional bool hideLockedChats = 1; - optional UserPassword secretCode = 2; -} - -message DeviceCapabilities { - enum ChatLockSupportLevel { - NONE = 0; - MINIMAL = 1; - FULL = 2; - } - optional ChatLockSupportLevel chatLockSupportLevel = 1; -} - -message UserPassword { - message TransformerArg { - message Value { - oneof value { - bytes asBlob = 1; - uint32 asUnsignedInteger = 2; - } - } - - optional string key = 1; - optional Value value = 2; - } - - enum Transformer { - NONE = 0; - PBKDF2_HMAC_SHA512 = 1; - PBKDF2_HMAC_SHA384 = 2; - } - enum Encoding { - UTF8 = 0; - } - optional Encoding encoding = 1; - optional Transformer transformer = 2; - repeated TransformerArg transformerArg = 3; - optional bytes transformedData = 4; -} - diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/doc.go b/vendor/go.mau.fi/whatsmeow/binary/proto/doc.go index 819b1317..3da0d53d 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/doc.go +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/doc.go @@ -1,2 +1,6 @@ -// Package proto contains the compiled protobuf structs from WhatsApp's protobuf schema. +// Package proto contains type aliases for backwards compatibility. +// +// Deprecated: New code should reference the protobuf types in the go.mau.fi/whatsmeow/proto/wa* packages directly. package proto + +//go:generate ./generatelegacy.sh diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.py b/vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.py new file mode 100644 index 00000000..3125abca --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +import os +import sys + +with open("old-types.txt") as f: + old_types = [line.rstrip("\n") for line in f] +with open("old-enums.txt") as f: + old_enums = [line.rstrip("\n") for line in f] + +os.chdir("../../proto") + +new_protos = {} +for dir in os.listdir("."): + if not dir.startswith("wa"): + continue + for file in os.listdir(dir): + if file.endswith(".pb.go"): + with open(f"{dir}/{file}") as f: + new_protos[dir] = f.read() + break + +match_type_map = { + "HandshakeServerHello": "HandshakeMessage_ServerHello", + "HandshakeClientHello": "HandshakeMessage_ClientHello", + "HandshakeClientFinish": "HandshakeMessage_ClientFinish", + "InteractiveMessage_Header_JpegThumbnail": "InteractiveMessage_Header_JPEGThumbnail", +} + +print("// DO NOT MODIFY: Generated by generatelegacy.sh") +print() +print("package proto") +print() +print("import (") +for proto in new_protos.keys(): + print(f'\t"go.mau.fi/whatsmeow/proto/{proto}"') +print(")") +print() + +print("// Deprecated: use new packages directly") +print("type (") +for type in old_types: + match_type = match_type_map.get(type, type) + for mod, proto in new_protos.items(): + if f"type {match_type} " in proto: + print(f"\t{type} = {mod}.{match_type}") + break + elif f"type ContextInfo_{match_type} " in proto: + print(f"\t{type} = {mod}.ContextInfo_{match_type}") + break + else: + print(f"{type} not found") + sys.exit(1) +print(")") +print() + +print("// Deprecated: use new packages directly") +print("const (") +for type in old_enums: + for mod, proto in new_protos.items(): + if f"\t{type} " in proto: + print(f"\t{type} = {mod}.{type}") + break + elif f"\tContextInfo_{type} " in proto: + print(f"\t{type} = {mod}.ContextInfo_{type}") + break + else: + print(f"{type} not found") + sys.exit(1) +print(")") diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.sh b/vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.sh new file mode 100644 index 00000000..949c5e5f --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/generatelegacy.sh @@ -0,0 +1,4 @@ +#!/bin/sh +cd $(dirname $0) +python3 generatelegacy.py > legacy.go +goimports -w legacy.go diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/legacy.go b/vendor/go.mau.fi/whatsmeow/binary/proto/legacy.go new file mode 100644 index 00000000..c28b8096 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/legacy.go @@ -0,0 +1,1084 @@ +// DO NOT MODIFY: Generated by generatelegacy.sh + +package proto + +import ( + "go.mau.fi/whatsmeow/proto/waAdv" + "go.mau.fi/whatsmeow/proto/waCert" + "go.mau.fi/whatsmeow/proto/waChatLockSettings" + "go.mau.fi/whatsmeow/proto/waCommon" + "go.mau.fi/whatsmeow/proto/waCompanionReg" + "go.mau.fi/whatsmeow/proto/waDeviceCapabilities" + "go.mau.fi/whatsmeow/proto/waE2E" + "go.mau.fi/whatsmeow/proto/waEphemeral" + "go.mau.fi/whatsmeow/proto/waHistorySync" + "go.mau.fi/whatsmeow/proto/waMmsRetry" + "go.mau.fi/whatsmeow/proto/waMsgTransport" + "go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces" + "go.mau.fi/whatsmeow/proto/waServerSync" + "go.mau.fi/whatsmeow/proto/waSyncAction" + "go.mau.fi/whatsmeow/proto/waUserPassword" + "go.mau.fi/whatsmeow/proto/waVnameCert" + "go.mau.fi/whatsmeow/proto/waWa6" + "go.mau.fi/whatsmeow/proto/waWeb" +) + +// Deprecated: use new packages directly +type ( + ADVEncryptionType = waAdv.ADVEncryptionType + KeepType = waE2E.KeepType + PeerDataOperationRequestType = waE2E.PeerDataOperationRequestType + MediaVisibility = waHistorySync.MediaVisibility + DeviceProps_PlatformType = waCompanionReg.DeviceProps_PlatformType + ImageMessage_ImageSourceType = waE2E.ImageMessage_ImageSourceType + HistorySyncNotification_HistorySyncType = waE2E.HistorySyncNotification_HistorySyncType + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType + GroupInviteMessage_GroupType = waE2E.GroupInviteMessage_GroupType + ExtendedTextMessage_PreviewType = waE2E.ExtendedTextMessage_PreviewType + ExtendedTextMessage_InviteLinkGroupType = waE2E.ExtendedTextMessage_InviteLinkGroupType + ExtendedTextMessage_FontType = waE2E.ExtendedTextMessage_FontType + EventResponseMessage_EventResponseType = waE2E.EventResponseMessage_EventResponseType + CallLogMessage_CallType = waE2E.CallLogMessage_CallType + CallLogMessage_CallOutcome = waE2E.CallLogMessage_CallOutcome + ButtonsResponseMessage_Type = waE2E.ButtonsResponseMessage_Type + ButtonsMessage_HeaderType = waE2E.ButtonsMessage_HeaderType + ButtonsMessage_Button_Type = waE2E.ButtonsMessage_Button_Type + BotFeedbackMessage_BotFeedbackKindMultiplePositive = waE2E.BotFeedbackMessage_BotFeedbackKindMultiplePositive + BotFeedbackMessage_BotFeedbackKindMultipleNegative = waE2E.BotFeedbackMessage_BotFeedbackKindMultipleNegative + BotFeedbackMessage_BotFeedbackKind = waE2E.BotFeedbackMessage_BotFeedbackKind + BCallMessage_MediaType = waE2E.BCallMessage_MediaType + HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = waE2E.HydratedTemplateButton_HydratedURLButton_WebviewPresentationType + DisappearingMode_Trigger = waE2E.DisappearingMode_Trigger + DisappearingMode_Initiator = waE2E.DisappearingMode_Initiator + ContextInfo_ExternalAdReplyInfo_MediaType = waE2E.ContextInfo_ExternalAdReplyInfo_MediaType + ContextInfo_AdReplyInfo_MediaType = waE2E.ContextInfo_AdReplyInfo_MediaType + ForwardedNewsletterMessageInfo_ContentType = waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType + BotPluginMetadata_SearchProvider = waE2E.BotPluginMetadata_SearchProvider + BotPluginMetadata_PluginType = waE2E.BotPluginMetadata_PluginType + PaymentBackground_Type = waE2E.PaymentBackground_Type + VideoMessage_Attribution = waE2E.VideoMessage_Attribution + SecretEncryptedMessage_SecretEncType = waE2E.SecretEncryptedMessage_SecretEncType + ScheduledCallEditMessage_EditType = waE2E.ScheduledCallEditMessage_EditType + ScheduledCallCreationMessage_CallType = waE2E.ScheduledCallCreationMessage_CallType + RequestWelcomeMessageMetadata_LocalChatState = waE2E.RequestWelcomeMessageMetadata_LocalChatState + ProtocolMessage_Type = waE2E.ProtocolMessage_Type + PlaceholderMessage_PlaceholderType = waE2E.PlaceholderMessage_PlaceholderType + PinInChatMessage_Type = waE2E.PinInChatMessage_Type + PaymentInviteMessage_ServiceType = waE2E.PaymentInviteMessage_ServiceType + OrderMessage_OrderSurface = waE2E.OrderMessage_OrderSurface + OrderMessage_OrderStatus = waE2E.OrderMessage_OrderStatus + ListResponseMessage_ListType = waE2E.ListResponseMessage_ListType + ListMessage_ListType = waE2E.ListMessage_ListType + InvoiceMessage_AttachmentType = waE2E.InvoiceMessage_AttachmentType + InteractiveResponseMessage_Body_Format = waE2E.InteractiveResponseMessage_Body_Format + InteractiveMessage_ShopMessage_Surface = waE2E.InteractiveMessage_ShopMessage_Surface + PastParticipant_LeaveReason = waHistorySync.PastParticipant_LeaveReason + HistorySync_HistorySyncType = waHistorySync.HistorySync_HistorySyncType + HistorySync_BotAIWaitListState = waHistorySync.HistorySync_BotAIWaitListState + GroupParticipant_Rank = waHistorySync.GroupParticipant_Rank + Conversation_EndOfHistoryTransferType = waHistorySync.Conversation_EndOfHistoryTransferType + MediaRetryNotification_ResultType = waMmsRetry.MediaRetryNotification_ResultType + SyncdMutation_SyncdOperation = waServerSync.SyncdMutation_SyncdOperation + StatusPrivacyAction_StatusDistributionMode = waSyncAction.StatusPrivacyAction_StatusDistributionMode + MarketingMessageAction_MarketingMessagePrototypeType = waSyncAction.MarketingMessageAction_MarketingMessagePrototypeType + PatchDebugData_Platform = waSyncAction.PatchDebugData_Platform + CallLogRecord_SilenceReason = waSyncAction.CallLogRecord_SilenceReason + CallLogRecord_CallType = waSyncAction.CallLogRecord_CallType + CallLogRecord_CallResult = waSyncAction.CallLogRecord_CallResult + BizIdentityInfo_VerifiedLevelValue = waVnameCert.BizIdentityInfo_VerifiedLevelValue + BizIdentityInfo_HostStorageType = waVnameCert.BizIdentityInfo_HostStorageType + BizIdentityInfo_ActualActorsType = waVnameCert.BizIdentityInfo_ActualActorsType + BizAccountLinkInfo_HostStorageType = waVnameCert.BizAccountLinkInfo_HostStorageType + BizAccountLinkInfo_AccountType = waVnameCert.BizAccountLinkInfo_AccountType + ClientPayload_Product = waWa6.ClientPayload_Product + ClientPayload_IOSAppExtension = waWa6.ClientPayload_IOSAppExtension + ClientPayload_ConnectType = waWa6.ClientPayload_ConnectType + ClientPayload_ConnectReason = waWa6.ClientPayload_ConnectReason + ClientPayload_WebInfo_WebSubPlatform = waWa6.ClientPayload_WebInfo_WebSubPlatform + ClientPayload_UserAgent_ReleaseChannel = waWa6.ClientPayload_UserAgent_ReleaseChannel + ClientPayload_UserAgent_Platform = waWa6.ClientPayload_UserAgent_Platform + ClientPayload_UserAgent_DeviceType = waWa6.ClientPayload_UserAgent_DeviceType + ClientPayload_DNSSource_DNSResolutionMethod = waWa6.ClientPayload_DNSSource_DNSResolutionMethod + WebMessageInfo_StubType = waWeb.WebMessageInfo_StubType + WebMessageInfo_Status = waWeb.WebMessageInfo_Status + WebMessageInfo_BizPrivacyStatus = waWeb.WebMessageInfo_BizPrivacyStatus + WebFeatures_Flag = waWeb.WebFeatures_Flag + PinInChat_Type = waWeb.PinInChat_Type + PaymentInfo_TxnStatus = waWeb.PaymentInfo_TxnStatus + PaymentInfo_Status = waWeb.PaymentInfo_Status + PaymentInfo_Currency = waWeb.PaymentInfo_Currency + QP_FilterResult = waQuickPromotionSurfaces.QP_FilterResult + QP_FilterClientNotSupportedConfig = waQuickPromotionSurfaces.QP_FilterClientNotSupportedConfig + QP_ClauseType = waQuickPromotionSurfaces.QP_ClauseType + DeviceCapabilities_ChatLockSupportLevel = waDeviceCapabilities.DeviceCapabilities_ChatLockSupportLevel + UserPassword_Transformer = waUserPassword.UserPassword_Transformer + UserPassword_Encoding = waUserPassword.UserPassword_Encoding + ADVSignedKeyIndexList = waAdv.ADVSignedKeyIndexList + ADVSignedDeviceIdentity = waAdv.ADVSignedDeviceIdentity + ADVSignedDeviceIdentityHMAC = waAdv.ADVSignedDeviceIdentityHMAC + ADVKeyIndexList = waAdv.ADVKeyIndexList + ADVDeviceIdentity = waAdv.ADVDeviceIdentity + DeviceProps = waCompanionReg.DeviceProps + InitialSecurityNotificationSettingSync = waE2E.InitialSecurityNotificationSettingSync + ImageMessage = waE2E.ImageMessage + HistorySyncNotification = waE2E.HistorySyncNotification + HighlyStructuredMessage = waE2E.HighlyStructuredMessage + GroupInviteMessage = waE2E.GroupInviteMessage + FutureProofMessage = waE2E.FutureProofMessage + ExtendedTextMessage = waE2E.ExtendedTextMessage + EventResponseMessage = waE2E.EventResponseMessage + EventMessage = waE2E.EventMessage + EncReactionMessage = waE2E.EncReactionMessage + EncEventResponseMessage = waE2E.EncEventResponseMessage + EncCommentMessage = waE2E.EncCommentMessage + DocumentMessage = waE2E.DocumentMessage + DeviceSentMessage = waE2E.DeviceSentMessage + DeclinePaymentRequestMessage = waE2E.DeclinePaymentRequestMessage + ContactsArrayMessage = waE2E.ContactsArrayMessage + ContactMessage = waE2E.ContactMessage + CommentMessage = waE2E.CommentMessage + Chat = waE2E.Chat + CancelPaymentRequestMessage = waE2E.CancelPaymentRequestMessage + Call = waE2E.Call + CallLogMessage = waE2E.CallLogMessage + ButtonsResponseMessage = waE2E.ButtonsResponseMessage + ButtonsResponseMessage_SelectedDisplayText = waE2E.ButtonsResponseMessage_SelectedDisplayText + ButtonsMessage = waE2E.ButtonsMessage + ButtonsMessage_Text = waE2E.ButtonsMessage_Text + ButtonsMessage_DocumentMessage = waE2E.ButtonsMessage_DocumentMessage + ButtonsMessage_ImageMessage = waE2E.ButtonsMessage_ImageMessage + ButtonsMessage_VideoMessage = waE2E.ButtonsMessage_VideoMessage + ButtonsMessage_LocationMessage = waE2E.ButtonsMessage_LocationMessage + BotFeedbackMessage = waE2E.BotFeedbackMessage + BCallMessage = waE2E.BCallMessage + AudioMessage = waE2E.AudioMessage + AppStateSyncKey = waE2E.AppStateSyncKey + AppStateSyncKeyShare = waE2E.AppStateSyncKeyShare + AppStateSyncKeyRequest = waE2E.AppStateSyncKeyRequest + AppStateSyncKeyId = waE2E.AppStateSyncKeyId + AppStateSyncKeyFingerprint = waE2E.AppStateSyncKeyFingerprint + AppStateSyncKeyData = waE2E.AppStateSyncKeyData + AppStateFatalExceptionNotification = waE2E.AppStateFatalExceptionNotification + MediaNotifyMessage = waE2E.MediaNotifyMessage + Location = waE2E.Location + InteractiveAnnotation = waE2E.InteractiveAnnotation + InteractiveAnnotation_Location = waE2E.InteractiveAnnotation_Location + InteractiveAnnotation_Newsletter = waE2E.InteractiveAnnotation_Newsletter + HydratedTemplateButton = waE2E.HydratedTemplateButton + HydratedTemplateButton_QuickReplyButton = waE2E.HydratedTemplateButton_QuickReplyButton + HydratedTemplateButton_UrlButton = waE2E.HydratedTemplateButton_UrlButton + HydratedTemplateButton_CallButton = waE2E.HydratedTemplateButton_CallButton + GroupMention = waE2E.GroupMention + DisappearingMode = waE2E.DisappearingMode + DeviceListMetadata = waMsgTransport.DeviceListMetadata + ContextInfo = waE2E.ContextInfo + ForwardedNewsletterMessageInfo = waE2E.ContextInfo_ForwardedNewsletterMessageInfo + BotSuggestedPromptMetadata = waE2E.BotSuggestedPromptMetadata + BotSearchMetadata = waE2E.BotSearchMetadata + BotPluginMetadata = waE2E.BotPluginMetadata + BotMetadata = waE2E.BotMetadata + BotAvatarMetadata = waE2E.BotAvatarMetadata + ActionLink = waE2E.ActionLink + TemplateButton = waE2E.TemplateButton + TemplateButton_QuickReplyButton_ = waE2E.TemplateButton_QuickReplyButton_ + TemplateButton_UrlButton = waE2E.TemplateButton_UrlButton + TemplateButton_CallButton_ = waE2E.TemplateButton_CallButton_ + Point = waE2E.Point + PaymentBackground = waE2E.PaymentBackground + Money = waE2E.Money + Message = waE2E.Message + MessageSecretMessage = waE2E.MessageSecretMessage + MessageContextInfo = waE2E.MessageContextInfo + VideoMessage = waE2E.VideoMessage + TemplateMessage = waE2E.TemplateMessage + TemplateMessage_FourRowTemplate_ = waE2E.TemplateMessage_FourRowTemplate_ + TemplateMessage_HydratedFourRowTemplate_ = waE2E.TemplateMessage_HydratedFourRowTemplate_ + TemplateMessage_InteractiveMessageTemplate = waE2E.TemplateMessage_InteractiveMessageTemplate + TemplateButtonReplyMessage = waE2E.TemplateButtonReplyMessage + StickerSyncRMRMessage = waE2E.StickerSyncRMRMessage + StickerMessage = waE2E.StickerMessage + SenderKeyDistributionMessage = waE2E.SenderKeyDistributionMessage + SendPaymentMessage = waE2E.SendPaymentMessage + SecretEncryptedMessage = waE2E.SecretEncryptedMessage + ScheduledCallEditMessage = waE2E.ScheduledCallEditMessage + ScheduledCallCreationMessage = waE2E.ScheduledCallCreationMessage + RequestWelcomeMessageMetadata = waE2E.RequestWelcomeMessageMetadata + RequestPhoneNumberMessage = waE2E.RequestPhoneNumberMessage + RequestPaymentMessage = waE2E.RequestPaymentMessage + ReactionMessage = waE2E.ReactionMessage + ProtocolMessage = waE2E.ProtocolMessage + ProductMessage = waE2E.ProductMessage + PollVoteMessage = waE2E.PollVoteMessage + PollUpdateMessage = waE2E.PollUpdateMessage + PollUpdateMessageMetadata = waE2E.PollUpdateMessageMetadata + PollEncValue = waE2E.PollEncValue + PollCreationMessage = waE2E.PollCreationMessage + PlaceholderMessage = waE2E.PlaceholderMessage + PinInChatMessage = waE2E.PinInChatMessage + PeerDataOperationRequestResponseMessage = waE2E.PeerDataOperationRequestResponseMessage + PeerDataOperationRequestMessage = waE2E.PeerDataOperationRequestMessage + PaymentInviteMessage = waE2E.PaymentInviteMessage + OrderMessage = waE2E.OrderMessage + NewsletterAdminInviteMessage = waE2E.NewsletterAdminInviteMessage + MessageHistoryBundle = waE2E.MessageHistoryBundle + LocationMessage = waE2E.LocationMessage + LiveLocationMessage = waE2E.LiveLocationMessage + ListResponseMessage = waE2E.ListResponseMessage + ListMessage = waE2E.ListMessage + KeepInChatMessage = waE2E.KeepInChatMessage + InvoiceMessage = waE2E.InvoiceMessage + InteractiveResponseMessage = waE2E.InteractiveResponseMessage + InteractiveResponseMessage_NativeFlowResponseMessage_ = waE2E.InteractiveResponseMessage_NativeFlowResponseMessage_ + InteractiveMessage = waE2E.InteractiveMessage + InteractiveMessage_ShopStorefrontMessage = waE2E.InteractiveMessage_ShopStorefrontMessage + InteractiveMessage_CollectionMessage_ = waE2E.InteractiveMessage_CollectionMessage_ + InteractiveMessage_NativeFlowMessage_ = waE2E.InteractiveMessage_NativeFlowMessage_ + InteractiveMessage_CarouselMessage_ = waE2E.InteractiveMessage_CarouselMessage_ + EphemeralSetting = waEphemeral.EphemeralSetting + WallpaperSettings = waHistorySync.WallpaperSettings + StickerMetadata = waHistorySync.StickerMetadata + Pushname = waHistorySync.Pushname + PhoneNumberToLIDMapping = waHistorySync.PhoneNumberToLIDMapping + PastParticipants = waHistorySync.PastParticipants + PastParticipant = waHistorySync.PastParticipant + NotificationSettings = waHistorySync.NotificationSettings + HistorySync = waHistorySync.HistorySync + HistorySyncMsg = waHistorySync.HistorySyncMsg + GroupParticipant = waHistorySync.GroupParticipant + GlobalSettings = waHistorySync.GlobalSettings + Conversation = waHistorySync.Conversation + AvatarUserSettings = waHistorySync.AvatarUserSettings + AutoDownloadSettings = waHistorySync.AutoDownloadSettings + ServerErrorReceipt = waMmsRetry.ServerErrorReceipt + MediaRetryNotification = waMmsRetry.MediaRetryNotification + MessageKey = waCommon.MessageKey + SyncdVersion = waServerSync.SyncdVersion + SyncdValue = waServerSync.SyncdValue + SyncdSnapshot = waServerSync.SyncdSnapshot + SyncdRecord = waServerSync.SyncdRecord + SyncdPatch = waServerSync.SyncdPatch + SyncdMutations = waServerSync.SyncdMutations + SyncdMutation = waServerSync.SyncdMutation + SyncdIndex = waServerSync.SyncdIndex + KeyId = waServerSync.KeyId + ExternalBlobReference = waServerSync.ExternalBlobReference + ExitCode = waServerSync.ExitCode + SyncActionValue = waSyncAction.SyncActionValue + WamoUserIdentifierAction = waSyncAction.WamoUserIdentifierAction + UserStatusMuteAction = waSyncAction.UserStatusMuteAction + UnarchiveChatsSetting = waSyncAction.UnarchiveChatsSetting + TimeFormatAction = waSyncAction.TimeFormatAction + SyncActionMessage = waSyncAction.SyncActionMessage + SyncActionMessageRange = waSyncAction.SyncActionMessageRange + SubscriptionAction = waSyncAction.SubscriptionAction + StickerAction = waSyncAction.StickerAction + StatusPrivacyAction = waSyncAction.StatusPrivacyAction + StarAction = waSyncAction.StarAction + SecurityNotificationSetting = waSyncAction.SecurityNotificationSetting + RemoveRecentStickerAction = waSyncAction.RemoveRecentStickerAction + RecentEmojiWeightsAction = waSyncAction.RecentEmojiWeightsAction + QuickReplyAction = waSyncAction.QuickReplyAction + PushNameSetting = waSyncAction.PushNameSetting + PrivacySettingRelayAllCalls = waSyncAction.PrivacySettingRelayAllCalls + PrivacySettingDisableLinkPreviewsAction = waSyncAction.PrivacySettingDisableLinkPreviewsAction + PrimaryVersionAction = waSyncAction.PrimaryVersionAction + PrimaryFeature = waSyncAction.PrimaryFeature + PnForLidChatAction = waSyncAction.PnForLidChatAction + PinAction = waSyncAction.PinAction + PaymentInfoAction = waSyncAction.PaymentInfoAction + NuxAction = waSyncAction.NuxAction + MuteAction = waSyncAction.MuteAction + MarketingMessageBroadcastAction = waSyncAction.MarketingMessageBroadcastAction + MarketingMessageAction = waSyncAction.MarketingMessageAction + MarkChatAsReadAction = waSyncAction.MarkChatAsReadAction + LockChatAction = waSyncAction.LockChatAction + LocaleSetting = waSyncAction.LocaleSetting + LabelReorderingAction = waSyncAction.LabelReorderingAction + LabelEditAction = waSyncAction.LabelEditAction + LabelAssociationAction = waSyncAction.LabelAssociationAction + KeyExpiration = waSyncAction.KeyExpiration + ExternalWebBetaAction = waSyncAction.ExternalWebBetaAction + DeleteMessageForMeAction = waSyncAction.DeleteMessageForMeAction + DeleteIndividualCallLogAction = waSyncAction.DeleteIndividualCallLogAction + DeleteChatAction = waSyncAction.DeleteChatAction + CustomPaymentMethodsAction = waSyncAction.CustomPaymentMethodsAction + CustomPaymentMethod = waSyncAction.CustomPaymentMethod + CustomPaymentMethodMetadata = waSyncAction.CustomPaymentMethodMetadata + ContactAction = waSyncAction.ContactAction + ClearChatAction = waSyncAction.ClearChatAction + ChatAssignmentOpenedStatusAction = waSyncAction.ChatAssignmentOpenedStatusAction + ChatAssignmentAction = waSyncAction.ChatAssignmentAction + CallLogAction = waSyncAction.CallLogAction + BotWelcomeRequestAction = waSyncAction.BotWelcomeRequestAction + ArchiveChatAction = waSyncAction.ArchiveChatAction + AndroidUnsupportedActions = waSyncAction.AndroidUnsupportedActions + AgentAction = waSyncAction.AgentAction + SyncActionData = waSyncAction.SyncActionData + RecentEmojiWeight = waSyncAction.RecentEmojiWeight + PatchDebugData = waSyncAction.PatchDebugData + CallLogRecord = waSyncAction.CallLogRecord + VerifiedNameCertificate = waVnameCert.VerifiedNameCertificate + LocalizedName = waVnameCert.LocalizedName + BizIdentityInfo = waVnameCert.BizIdentityInfo + BizAccountPayload = waVnameCert.BizAccountPayload + BizAccountLinkInfo = waVnameCert.BizAccountLinkInfo + HandshakeMessage = waWa6.HandshakeMessage + HandshakeServerHello = waWa6.HandshakeMessage_ServerHello + HandshakeClientHello = waWa6.HandshakeMessage_ClientHello + HandshakeClientFinish = waWa6.HandshakeMessage_ClientFinish + ClientPayload = waWa6.ClientPayload + WebNotificationsInfo = waWeb.WebNotificationsInfo + WebMessageInfo = waWeb.WebMessageInfo + WebFeatures = waWeb.WebFeatures + UserReceipt = waWeb.UserReceipt + StatusPSA = waWeb.StatusPSA + ReportingTokenInfo = waWeb.ReportingTokenInfo + Reaction = waWeb.Reaction + PremiumMessageInfo = waWeb.PremiumMessageInfo + PollUpdate = waWeb.PollUpdate + PollAdditionalMetadata = waWeb.PollAdditionalMetadata + PinInChat = waWeb.PinInChat + PhotoChange = waWeb.PhotoChange + PaymentInfo = waWeb.PaymentInfo + NotificationMessageInfo = waWeb.NotificationMessageInfo + MessageAddOnContextInfo = waWeb.MessageAddOnContextInfo + MediaData = waWeb.MediaData + KeepInChat = waWeb.KeepInChat + EventResponse = waWeb.EventResponse + EventAdditionalMetadata = waWeb.EventAdditionalMetadata + CommentMetadata = waWeb.CommentMetadata + NoiseCertificate = waCert.NoiseCertificate + CertChain = waCert.CertChain + QP = waQuickPromotionSurfaces.QP + ChatLockSettings = waChatLockSettings.ChatLockSettings + DeviceCapabilities = waDeviceCapabilities.DeviceCapabilities + UserPassword = waUserPassword.UserPassword + DeviceProps_HistorySyncConfig = waCompanionReg.DeviceProps_HistorySyncConfig + DeviceProps_AppVersion = waCompanionReg.DeviceProps_AppVersion + HighlyStructuredMessage_HSMLocalizableParameter = waE2E.HighlyStructuredMessage_HSMLocalizableParameter + HighlyStructuredMessage_HSMLocalizableParameter_Currency = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_Currency + HighlyStructuredMessage_HSMLocalizableParameter_DateTime = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_DateTime + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch + HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent + CallLogMessage_CallParticipant = waE2E.CallLogMessage_CallParticipant + ButtonsMessage_Button = waE2E.ButtonsMessage_Button + ButtonsMessage_Button_NativeFlowInfo = waE2E.ButtonsMessage_Button_NativeFlowInfo + ButtonsMessage_Button_ButtonText = waE2E.ButtonsMessage_Button_ButtonText + HydratedTemplateButton_HydratedURLButton = waE2E.HydratedTemplateButton_HydratedURLButton + HydratedTemplateButton_HydratedQuickReplyButton = waE2E.HydratedTemplateButton_HydratedQuickReplyButton + HydratedTemplateButton_HydratedCallButton = waE2E.HydratedTemplateButton_HydratedCallButton + ContextInfo_UTMInfo = waE2E.ContextInfo_UTMInfo + ContextInfo_ExternalAdReplyInfo = waE2E.ContextInfo_ExternalAdReplyInfo + ContextInfo_DataSharingContext = waE2E.ContextInfo_DataSharingContext + ContextInfo_BusinessMessageForwardInfo = waE2E.ContextInfo_BusinessMessageForwardInfo + ContextInfo_AdReplyInfo = waE2E.ContextInfo_AdReplyInfo + TemplateButton_URLButton = waE2E.TemplateButton_URLButton + TemplateButton_QuickReplyButton = waE2E.TemplateButton_QuickReplyButton + TemplateButton_CallButton = waE2E.TemplateButton_CallButton + PaymentBackground_MediaData = waE2E.PaymentBackground_MediaData + TemplateMessage_HydratedFourRowTemplate = waE2E.TemplateMessage_HydratedFourRowTemplate + TemplateMessage_HydratedFourRowTemplate_DocumentMessage = waE2E.TemplateMessage_HydratedFourRowTemplate_DocumentMessage + TemplateMessage_HydratedFourRowTemplate_HydratedTitleText = waE2E.TemplateMessage_HydratedFourRowTemplate_HydratedTitleText + TemplateMessage_HydratedFourRowTemplate_ImageMessage = waE2E.TemplateMessage_HydratedFourRowTemplate_ImageMessage + TemplateMessage_HydratedFourRowTemplate_VideoMessage = waE2E.TemplateMessage_HydratedFourRowTemplate_VideoMessage + TemplateMessage_HydratedFourRowTemplate_LocationMessage = waE2E.TemplateMessage_HydratedFourRowTemplate_LocationMessage + TemplateMessage_FourRowTemplate = waE2E.TemplateMessage_FourRowTemplate + TemplateMessage_FourRowTemplate_DocumentMessage = waE2E.TemplateMessage_FourRowTemplate_DocumentMessage + TemplateMessage_FourRowTemplate_HighlyStructuredMessage = waE2E.TemplateMessage_FourRowTemplate_HighlyStructuredMessage + TemplateMessage_FourRowTemplate_ImageMessage = waE2E.TemplateMessage_FourRowTemplate_ImageMessage + TemplateMessage_FourRowTemplate_VideoMessage = waE2E.TemplateMessage_FourRowTemplate_VideoMessage + TemplateMessage_FourRowTemplate_LocationMessage = waE2E.TemplateMessage_FourRowTemplate_LocationMessage + ProductMessage_ProductSnapshot = waE2E.ProductMessage_ProductSnapshot + ProductMessage_CatalogSnapshot = waE2E.ProductMessage_CatalogSnapshot + PollCreationMessage_Option = waE2E.PollCreationMessage_Option + PeerDataOperationRequestResponseMessage_PeerDataOperationResult = waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult + PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse = waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse + PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse = waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse + PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail = waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail + PeerDataOperationRequestMessage_RequestUrlPreview = waE2E.PeerDataOperationRequestMessage_RequestUrlPreview + PeerDataOperationRequestMessage_RequestStickerReupload = waE2E.PeerDataOperationRequestMessage_RequestStickerReupload + PeerDataOperationRequestMessage_PlaceholderMessageResendRequest = waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest + PeerDataOperationRequestMessage_HistorySyncOnDemandRequest = waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest + ListResponseMessage_SingleSelectReply = waE2E.ListResponseMessage_SingleSelectReply + ListMessage_Section = waE2E.ListMessage_Section + ListMessage_Row = waE2E.ListMessage_Row + ListMessage_Product = waE2E.ListMessage_Product + ListMessage_ProductSection = waE2E.ListMessage_ProductSection + ListMessage_ProductListInfo = waE2E.ListMessage_ProductListInfo + ListMessage_ProductListHeaderImage = waE2E.ListMessage_ProductListHeaderImage + InteractiveResponseMessage_NativeFlowResponseMessage = waE2E.InteractiveResponseMessage_NativeFlowResponseMessage + InteractiveResponseMessage_Body = waE2E.InteractiveResponseMessage_Body + InteractiveMessage_NativeFlowMessage = waE2E.InteractiveMessage_NativeFlowMessage + InteractiveMessage_Header = waE2E.InteractiveMessage_Header + InteractiveMessage_Header_DocumentMessage = waE2E.InteractiveMessage_Header_DocumentMessage + InteractiveMessage_Header_ImageMessage = waE2E.InteractiveMessage_Header_ImageMessage + InteractiveMessage_Header_JpegThumbnail = waE2E.InteractiveMessage_Header_JPEGThumbnail + InteractiveMessage_Header_VideoMessage = waE2E.InteractiveMessage_Header_VideoMessage + InteractiveMessage_Header_LocationMessage = waE2E.InteractiveMessage_Header_LocationMessage + InteractiveMessage_Header_ProductMessage = waE2E.InteractiveMessage_Header_ProductMessage + InteractiveMessage_Footer = waE2E.InteractiveMessage_Footer + InteractiveMessage_CollectionMessage = waE2E.InteractiveMessage_CollectionMessage + InteractiveMessage_CarouselMessage = waE2E.InteractiveMessage_CarouselMessage + InteractiveMessage_Body = waE2E.InteractiveMessage_Body + InteractiveMessage_ShopMessage = waE2E.InteractiveMessage_ShopMessage + InteractiveMessage_NativeFlowMessage_NativeFlowButton = waE2E.InteractiveMessage_NativeFlowMessage_NativeFlowButton + CallLogRecord_ParticipantInfo = waSyncAction.CallLogRecord_ParticipantInfo + VerifiedNameCertificate_Details = waVnameCert.VerifiedNameCertificate_Details + ClientPayload_WebInfo = waWa6.ClientPayload_WebInfo + ClientPayload_UserAgent = waWa6.ClientPayload_UserAgent + ClientPayload_InteropData = waWa6.ClientPayload_InteropData + ClientPayload_DevicePairingRegistrationData = waWa6.ClientPayload_DevicePairingRegistrationData + ClientPayload_DNSSource = waWa6.ClientPayload_DNSSource + ClientPayload_WebInfo_WebdPayload = waWa6.ClientPayload_WebInfo_WebdPayload + ClientPayload_UserAgent_AppVersion = waWa6.ClientPayload_UserAgent_AppVersion + NoiseCertificate_Details = waCert.NoiseCertificate_Details + CertChain_NoiseCertificate = waCert.CertChain_NoiseCertificate + CertChain_NoiseCertificate_Details = waCert.CertChain_NoiseCertificate_Details + QP_Filter = waQuickPromotionSurfaces.QP_Filter + QP_FilterParameters = waQuickPromotionSurfaces.QP_FilterParameters + QP_FilterClause = waQuickPromotionSurfaces.QP_FilterClause + UserPassword_TransformerArg = waUserPassword.UserPassword_TransformerArg + UserPassword_TransformerArg_Value = waUserPassword.UserPassword_TransformerArg_Value + UserPassword_TransformerArg_Value_AsBlob = waUserPassword.UserPassword_TransformerArg_Value_AsBlob + UserPassword_TransformerArg_Value_AsUnsignedInteger = waUserPassword.UserPassword_TransformerArg_Value_AsUnsignedInteger +) + +// Deprecated: use new packages directly +const ( + ADVEncryptionType_E2EE = waAdv.ADVEncryptionType_E2EE + ADVEncryptionType_HOSTED = waAdv.ADVEncryptionType_HOSTED + KeepType_UNKNOWN = waE2E.KeepType_UNKNOWN + KeepType_KEEP_FOR_ALL = waE2E.KeepType_KEEP_FOR_ALL + KeepType_UNDO_KEEP_FOR_ALL = waE2E.KeepType_UNDO_KEEP_FOR_ALL + PeerDataOperationRequestType_UPLOAD_STICKER = waE2E.PeerDataOperationRequestType_UPLOAD_STICKER + PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP = waE2E.PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP + PeerDataOperationRequestType_GENERATE_LINK_PREVIEW = waE2E.PeerDataOperationRequestType_GENERATE_LINK_PREVIEW + PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND = waE2E.PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND + PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND = waE2E.PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND + MediaVisibility_DEFAULT = waHistorySync.MediaVisibility_DEFAULT + MediaVisibility_OFF = waHistorySync.MediaVisibility_OFF + MediaVisibility_ON = waHistorySync.MediaVisibility_ON + DeviceProps_UNKNOWN = waCompanionReg.DeviceProps_UNKNOWN + DeviceProps_CHROME = waCompanionReg.DeviceProps_CHROME + DeviceProps_FIREFOX = waCompanionReg.DeviceProps_FIREFOX + DeviceProps_IE = waCompanionReg.DeviceProps_IE + DeviceProps_OPERA = waCompanionReg.DeviceProps_OPERA + DeviceProps_SAFARI = waCompanionReg.DeviceProps_SAFARI + DeviceProps_EDGE = waCompanionReg.DeviceProps_EDGE + DeviceProps_DESKTOP = waCompanionReg.DeviceProps_DESKTOP + DeviceProps_IPAD = waCompanionReg.DeviceProps_IPAD + DeviceProps_ANDROID_TABLET = waCompanionReg.DeviceProps_ANDROID_TABLET + DeviceProps_OHANA = waCompanionReg.DeviceProps_OHANA + DeviceProps_ALOHA = waCompanionReg.DeviceProps_ALOHA + DeviceProps_CATALINA = waCompanionReg.DeviceProps_CATALINA + DeviceProps_TCL_TV = waCompanionReg.DeviceProps_TCL_TV + DeviceProps_IOS_PHONE = waCompanionReg.DeviceProps_IOS_PHONE + DeviceProps_IOS_CATALYST = waCompanionReg.DeviceProps_IOS_CATALYST + DeviceProps_ANDROID_PHONE = waCompanionReg.DeviceProps_ANDROID_PHONE + DeviceProps_ANDROID_AMBIGUOUS = waCompanionReg.DeviceProps_ANDROID_AMBIGUOUS + DeviceProps_WEAR_OS = waCompanionReg.DeviceProps_WEAR_OS + DeviceProps_AR_WRIST = waCompanionReg.DeviceProps_AR_WRIST + DeviceProps_AR_DEVICE = waCompanionReg.DeviceProps_AR_DEVICE + DeviceProps_UWP = waCompanionReg.DeviceProps_UWP + DeviceProps_VR = waCompanionReg.DeviceProps_VR + ImageMessage_USER_IMAGE = waE2E.ImageMessage_USER_IMAGE + ImageMessage_AI_GENERATED = waE2E.ImageMessage_AI_GENERATED + ImageMessage_AI_MODIFIED = waE2E.ImageMessage_AI_MODIFIED + HistorySyncNotification_INITIAL_BOOTSTRAP = waE2E.HistorySyncNotification_INITIAL_BOOTSTRAP + HistorySyncNotification_INITIAL_STATUS_V3 = waE2E.HistorySyncNotification_INITIAL_STATUS_V3 + HistorySyncNotification_FULL = waE2E.HistorySyncNotification_FULL + HistorySyncNotification_RECENT = waE2E.HistorySyncNotification_RECENT + HistorySyncNotification_PUSH_NAME = waE2E.HistorySyncNotification_PUSH_NAME + HistorySyncNotification_NON_BLOCKING_DATA = waE2E.HistorySyncNotification_NON_BLOCKING_DATA + HistorySyncNotification_ON_DEMAND = waE2E.HistorySyncNotification_ON_DEMAND + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_TUESDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_TUESDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_WEDNESDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_WEDNESDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_THURSDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_THURSDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_FRIDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_FRIDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SATURDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SATURDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SUNDAY = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SUNDAY + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN + HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SOLAR_HIJRI = waE2E.HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SOLAR_HIJRI + GroupInviteMessage_DEFAULT = waE2E.GroupInviteMessage_DEFAULT + GroupInviteMessage_PARENT = waE2E.GroupInviteMessage_PARENT + ExtendedTextMessage_NONE = waE2E.ExtendedTextMessage_NONE + ExtendedTextMessage_VIDEO = waE2E.ExtendedTextMessage_VIDEO + ExtendedTextMessage_PLACEHOLDER = waE2E.ExtendedTextMessage_PLACEHOLDER + ExtendedTextMessage_IMAGE = waE2E.ExtendedTextMessage_IMAGE + ExtendedTextMessage_DEFAULT = waE2E.ExtendedTextMessage_DEFAULT + ExtendedTextMessage_PARENT = waE2E.ExtendedTextMessage_PARENT + ExtendedTextMessage_SUB = waE2E.ExtendedTextMessage_SUB + ExtendedTextMessage_DEFAULT_SUB = waE2E.ExtendedTextMessage_DEFAULT_SUB + ExtendedTextMessage_SYSTEM = waE2E.ExtendedTextMessage_SYSTEM + ExtendedTextMessage_SYSTEM_TEXT = waE2E.ExtendedTextMessage_SYSTEM_TEXT + ExtendedTextMessage_FB_SCRIPT = waE2E.ExtendedTextMessage_FB_SCRIPT + ExtendedTextMessage_SYSTEM_BOLD = waE2E.ExtendedTextMessage_SYSTEM_BOLD + ExtendedTextMessage_MORNINGBREEZE_REGULAR = waE2E.ExtendedTextMessage_MORNINGBREEZE_REGULAR + ExtendedTextMessage_CALISTOGA_REGULAR = waE2E.ExtendedTextMessage_CALISTOGA_REGULAR + ExtendedTextMessage_EXO2_EXTRABOLD = waE2E.ExtendedTextMessage_EXO2_EXTRABOLD + ExtendedTextMessage_COURIERPRIME_BOLD = waE2E.ExtendedTextMessage_COURIERPRIME_BOLD + EventResponseMessage_UNKNOWN = waE2E.EventResponseMessage_UNKNOWN + EventResponseMessage_GOING = waE2E.EventResponseMessage_GOING + EventResponseMessage_NOT_GOING = waE2E.EventResponseMessage_NOT_GOING + CallLogMessage_REGULAR = waE2E.CallLogMessage_REGULAR + CallLogMessage_SCHEDULED_CALL = waE2E.CallLogMessage_SCHEDULED_CALL + CallLogMessage_VOICE_CHAT = waE2E.CallLogMessage_VOICE_CHAT + CallLogMessage_CONNECTED = waE2E.CallLogMessage_CONNECTED + CallLogMessage_MISSED = waE2E.CallLogMessage_MISSED + CallLogMessage_FAILED = waE2E.CallLogMessage_FAILED + CallLogMessage_REJECTED = waE2E.CallLogMessage_REJECTED + CallLogMessage_ACCEPTED_ELSEWHERE = waE2E.CallLogMessage_ACCEPTED_ELSEWHERE + CallLogMessage_ONGOING = waE2E.CallLogMessage_ONGOING + CallLogMessage_SILENCED_BY_DND = waE2E.CallLogMessage_SILENCED_BY_DND + CallLogMessage_SILENCED_UNKNOWN_CALLER = waE2E.CallLogMessage_SILENCED_UNKNOWN_CALLER + ButtonsResponseMessage_UNKNOWN = waE2E.ButtonsResponseMessage_UNKNOWN + ButtonsResponseMessage_DISPLAY_TEXT = waE2E.ButtonsResponseMessage_DISPLAY_TEXT + ButtonsMessage_UNKNOWN = waE2E.ButtonsMessage_UNKNOWN + ButtonsMessage_EMPTY = waE2E.ButtonsMessage_EMPTY + ButtonsMessage_TEXT = waE2E.ButtonsMessage_TEXT + ButtonsMessage_DOCUMENT = waE2E.ButtonsMessage_DOCUMENT + ButtonsMessage_IMAGE = waE2E.ButtonsMessage_IMAGE + ButtonsMessage_VIDEO = waE2E.ButtonsMessage_VIDEO + ButtonsMessage_LOCATION = waE2E.ButtonsMessage_LOCATION + ButtonsMessage_Button_UNKNOWN = waE2E.ButtonsMessage_Button_UNKNOWN + ButtonsMessage_Button_RESPONSE = waE2E.ButtonsMessage_Button_RESPONSE + ButtonsMessage_Button_NATIVE_FLOW = waE2E.ButtonsMessage_Button_NATIVE_FLOW + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = waE2E.BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT + BotFeedbackMessage_BOT_FEEDBACK_POSITIVE = waE2E.BotFeedbackMessage_BOT_FEEDBACK_POSITIVE + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = waE2E.BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT + BCallMessage_UNKNOWN = waE2E.BCallMessage_UNKNOWN + BCallMessage_AUDIO = waE2E.BCallMessage_AUDIO + BCallMessage_VIDEO = waE2E.BCallMessage_VIDEO + HydratedTemplateButton_HydratedURLButton_FULL = waE2E.HydratedTemplateButton_HydratedURLButton_FULL + HydratedTemplateButton_HydratedURLButton_TALL = waE2E.HydratedTemplateButton_HydratedURLButton_TALL + HydratedTemplateButton_HydratedURLButton_COMPACT = waE2E.HydratedTemplateButton_HydratedURLButton_COMPACT + DisappearingMode_UNKNOWN = waE2E.DisappearingMode_UNKNOWN + DisappearingMode_CHAT_SETTING = waE2E.DisappearingMode_CHAT_SETTING + DisappearingMode_ACCOUNT_SETTING = waE2E.DisappearingMode_ACCOUNT_SETTING + DisappearingMode_BULK_CHANGE = waE2E.DisappearingMode_BULK_CHANGE + DisappearingMode_BIZ_SUPPORTS_FB_HOSTING = waE2E.DisappearingMode_BIZ_SUPPORTS_FB_HOSTING + DisappearingMode_CHANGED_IN_CHAT = waE2E.DisappearingMode_CHANGED_IN_CHAT + DisappearingMode_INITIATED_BY_ME = waE2E.DisappearingMode_INITIATED_BY_ME + DisappearingMode_INITIATED_BY_OTHER = waE2E.DisappearingMode_INITIATED_BY_OTHER + DisappearingMode_BIZ_UPGRADE_FB_HOSTING = waE2E.DisappearingMode_BIZ_UPGRADE_FB_HOSTING + ContextInfo_ExternalAdReplyInfo_NONE = waE2E.ContextInfo_ExternalAdReplyInfo_NONE + ContextInfo_ExternalAdReplyInfo_IMAGE = waE2E.ContextInfo_ExternalAdReplyInfo_IMAGE + ContextInfo_ExternalAdReplyInfo_VIDEO = waE2E.ContextInfo_ExternalAdReplyInfo_VIDEO + ContextInfo_AdReplyInfo_NONE = waE2E.ContextInfo_AdReplyInfo_NONE + ContextInfo_AdReplyInfo_IMAGE = waE2E.ContextInfo_AdReplyInfo_IMAGE + ContextInfo_AdReplyInfo_VIDEO = waE2E.ContextInfo_AdReplyInfo_VIDEO + ForwardedNewsletterMessageInfo_UPDATE = waE2E.ContextInfo_ForwardedNewsletterMessageInfo_UPDATE + ForwardedNewsletterMessageInfo_UPDATE_CARD = waE2E.ContextInfo_ForwardedNewsletterMessageInfo_UPDATE_CARD + ForwardedNewsletterMessageInfo_LINK_CARD = waE2E.ContextInfo_ForwardedNewsletterMessageInfo_LINK_CARD + BotPluginMetadata_BING = waE2E.BotPluginMetadata_BING + BotPluginMetadata_GOOGLE = waE2E.BotPluginMetadata_GOOGLE + BotPluginMetadata_REELS = waE2E.BotPluginMetadata_REELS + BotPluginMetadata_SEARCH = waE2E.BotPluginMetadata_SEARCH + PaymentBackground_UNKNOWN = waE2E.PaymentBackground_UNKNOWN + PaymentBackground_DEFAULT = waE2E.PaymentBackground_DEFAULT + VideoMessage_NONE = waE2E.VideoMessage_NONE + VideoMessage_GIPHY = waE2E.VideoMessage_GIPHY + VideoMessage_TENOR = waE2E.VideoMessage_TENOR + SecretEncryptedMessage_UNKNOWN = waE2E.SecretEncryptedMessage_UNKNOWN + SecretEncryptedMessage_EVENT_EDIT = waE2E.SecretEncryptedMessage_EVENT_EDIT + ScheduledCallEditMessage_UNKNOWN = waE2E.ScheduledCallEditMessage_UNKNOWN + ScheduledCallEditMessage_CANCEL = waE2E.ScheduledCallEditMessage_CANCEL + ScheduledCallCreationMessage_UNKNOWN = waE2E.ScheduledCallCreationMessage_UNKNOWN + ScheduledCallCreationMessage_VOICE = waE2E.ScheduledCallCreationMessage_VOICE + ScheduledCallCreationMessage_VIDEO = waE2E.ScheduledCallCreationMessage_VIDEO + RequestWelcomeMessageMetadata_EMPTY = waE2E.RequestWelcomeMessageMetadata_EMPTY + RequestWelcomeMessageMetadata_NON_EMPTY = waE2E.RequestWelcomeMessageMetadata_NON_EMPTY + ProtocolMessage_REVOKE = waE2E.ProtocolMessage_REVOKE + ProtocolMessage_EPHEMERAL_SETTING = waE2E.ProtocolMessage_EPHEMERAL_SETTING + ProtocolMessage_EPHEMERAL_SYNC_RESPONSE = waE2E.ProtocolMessage_EPHEMERAL_SYNC_RESPONSE + ProtocolMessage_HISTORY_SYNC_NOTIFICATION = waE2E.ProtocolMessage_HISTORY_SYNC_NOTIFICATION + ProtocolMessage_APP_STATE_SYNC_KEY_SHARE = waE2E.ProtocolMessage_APP_STATE_SYNC_KEY_SHARE + ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST = waE2E.ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST + ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST = waE2E.ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST + ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = waE2E.ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC + ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION = waE2E.ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION + ProtocolMessage_SHARE_PHONE_NUMBER = waE2E.ProtocolMessage_SHARE_PHONE_NUMBER + ProtocolMessage_MESSAGE_EDIT = waE2E.ProtocolMessage_MESSAGE_EDIT + ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE = waE2E.ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE + ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = waE2E.ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE + ProtocolMessage_REQUEST_WELCOME_MESSAGE = waE2E.ProtocolMessage_REQUEST_WELCOME_MESSAGE + ProtocolMessage_BOT_FEEDBACK_MESSAGE = waE2E.ProtocolMessage_BOT_FEEDBACK_MESSAGE + ProtocolMessage_MEDIA_NOTIFY_MESSAGE = waE2E.ProtocolMessage_MEDIA_NOTIFY_MESSAGE + PlaceholderMessage_MASK_LINKED_DEVICES = waE2E.PlaceholderMessage_MASK_LINKED_DEVICES + PinInChatMessage_UNKNOWN_TYPE = waE2E.PinInChatMessage_UNKNOWN_TYPE + PinInChatMessage_PIN_FOR_ALL = waE2E.PinInChatMessage_PIN_FOR_ALL + PinInChatMessage_UNPIN_FOR_ALL = waE2E.PinInChatMessage_UNPIN_FOR_ALL + PaymentInviteMessage_UNKNOWN = waE2E.PaymentInviteMessage_UNKNOWN + PaymentInviteMessage_FBPAY = waE2E.PaymentInviteMessage_FBPAY + PaymentInviteMessage_NOVI = waE2E.PaymentInviteMessage_NOVI + PaymentInviteMessage_UPI = waE2E.PaymentInviteMessage_UPI + OrderMessage_CATALOG = waE2E.OrderMessage_CATALOG + OrderMessage_INQUIRY = waE2E.OrderMessage_INQUIRY + OrderMessage_ACCEPTED = waE2E.OrderMessage_ACCEPTED + OrderMessage_DECLINED = waE2E.OrderMessage_DECLINED + ListResponseMessage_UNKNOWN = waE2E.ListResponseMessage_UNKNOWN + ListResponseMessage_SINGLE_SELECT = waE2E.ListResponseMessage_SINGLE_SELECT + ListMessage_UNKNOWN = waE2E.ListMessage_UNKNOWN + ListMessage_SINGLE_SELECT = waE2E.ListMessage_SINGLE_SELECT + ListMessage_PRODUCT_LIST = waE2E.ListMessage_PRODUCT_LIST + InvoiceMessage_IMAGE = waE2E.InvoiceMessage_IMAGE + InvoiceMessage_PDF = waE2E.InvoiceMessage_PDF + InteractiveResponseMessage_Body_DEFAULT = waE2E.InteractiveResponseMessage_Body_DEFAULT + InteractiveResponseMessage_Body_EXTENSIONS_1 = waE2E.InteractiveResponseMessage_Body_EXTENSIONS_1 + InteractiveMessage_ShopMessage_UNKNOWN_SURFACE = waE2E.InteractiveMessage_ShopMessage_UNKNOWN_SURFACE + InteractiveMessage_ShopMessage_FB = waE2E.InteractiveMessage_ShopMessage_FB + InteractiveMessage_ShopMessage_IG = waE2E.InteractiveMessage_ShopMessage_IG + InteractiveMessage_ShopMessage_WA = waE2E.InteractiveMessage_ShopMessage_WA + PastParticipant_LEFT = waHistorySync.PastParticipant_LEFT + PastParticipant_REMOVED = waHistorySync.PastParticipant_REMOVED + HistorySync_INITIAL_BOOTSTRAP = waHistorySync.HistorySync_INITIAL_BOOTSTRAP + HistorySync_INITIAL_STATUS_V3 = waHistorySync.HistorySync_INITIAL_STATUS_V3 + HistorySync_FULL = waHistorySync.HistorySync_FULL + HistorySync_RECENT = waHistorySync.HistorySync_RECENT + HistorySync_PUSH_NAME = waHistorySync.HistorySync_PUSH_NAME + HistorySync_NON_BLOCKING_DATA = waHistorySync.HistorySync_NON_BLOCKING_DATA + HistorySync_ON_DEMAND = waHistorySync.HistorySync_ON_DEMAND + HistorySync_IN_WAITLIST = waHistorySync.HistorySync_IN_WAITLIST + HistorySync_AI_AVAILABLE = waHistorySync.HistorySync_AI_AVAILABLE + GroupParticipant_REGULAR = waHistorySync.GroupParticipant_REGULAR + GroupParticipant_ADMIN = waHistorySync.GroupParticipant_ADMIN + GroupParticipant_SUPERADMIN = waHistorySync.GroupParticipant_SUPERADMIN + Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = waHistorySync.Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY + Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = waHistorySync.Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY + Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = waHistorySync.Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY + MediaRetryNotification_GENERAL_ERROR = waMmsRetry.MediaRetryNotification_GENERAL_ERROR + MediaRetryNotification_SUCCESS = waMmsRetry.MediaRetryNotification_SUCCESS + MediaRetryNotification_NOT_FOUND = waMmsRetry.MediaRetryNotification_NOT_FOUND + MediaRetryNotification_DECRYPTION_ERROR = waMmsRetry.MediaRetryNotification_DECRYPTION_ERROR + SyncdMutation_SET = waServerSync.SyncdMutation_SET + SyncdMutation_REMOVE = waServerSync.SyncdMutation_REMOVE + StatusPrivacyAction_ALLOW_LIST = waSyncAction.StatusPrivacyAction_ALLOW_LIST + StatusPrivacyAction_DENY_LIST = waSyncAction.StatusPrivacyAction_DENY_LIST + StatusPrivacyAction_CONTACTS = waSyncAction.StatusPrivacyAction_CONTACTS + MarketingMessageAction_PERSONALIZED = waSyncAction.MarketingMessageAction_PERSONALIZED + PatchDebugData_ANDROID = waSyncAction.PatchDebugData_ANDROID + PatchDebugData_SMBA = waSyncAction.PatchDebugData_SMBA + PatchDebugData_IPHONE = waSyncAction.PatchDebugData_IPHONE + PatchDebugData_SMBI = waSyncAction.PatchDebugData_SMBI + PatchDebugData_WEB = waSyncAction.PatchDebugData_WEB + PatchDebugData_UWP = waSyncAction.PatchDebugData_UWP + PatchDebugData_DARWIN = waSyncAction.PatchDebugData_DARWIN + CallLogRecord_NONE = waSyncAction.CallLogRecord_NONE + CallLogRecord_SCHEDULED = waSyncAction.CallLogRecord_SCHEDULED + CallLogRecord_PRIVACY = waSyncAction.CallLogRecord_PRIVACY + CallLogRecord_LIGHTWEIGHT = waSyncAction.CallLogRecord_LIGHTWEIGHT + CallLogRecord_REGULAR = waSyncAction.CallLogRecord_REGULAR + CallLogRecord_SCHEDULED_CALL = waSyncAction.CallLogRecord_SCHEDULED_CALL + CallLogRecord_VOICE_CHAT = waSyncAction.CallLogRecord_VOICE_CHAT + CallLogRecord_CONNECTED = waSyncAction.CallLogRecord_CONNECTED + CallLogRecord_REJECTED = waSyncAction.CallLogRecord_REJECTED + CallLogRecord_CANCELLED = waSyncAction.CallLogRecord_CANCELLED + CallLogRecord_ACCEPTEDELSEWHERE = waSyncAction.CallLogRecord_ACCEPTEDELSEWHERE + CallLogRecord_MISSED = waSyncAction.CallLogRecord_MISSED + CallLogRecord_INVALID = waSyncAction.CallLogRecord_INVALID + CallLogRecord_UNAVAILABLE = waSyncAction.CallLogRecord_UNAVAILABLE + CallLogRecord_UPCOMING = waSyncAction.CallLogRecord_UPCOMING + CallLogRecord_FAILED = waSyncAction.CallLogRecord_FAILED + CallLogRecord_ABANDONED = waSyncAction.CallLogRecord_ABANDONED + CallLogRecord_ONGOING = waSyncAction.CallLogRecord_ONGOING + BizIdentityInfo_UNKNOWN = waVnameCert.BizIdentityInfo_UNKNOWN + BizIdentityInfo_LOW = waVnameCert.BizIdentityInfo_LOW + BizIdentityInfo_HIGH = waVnameCert.BizIdentityInfo_HIGH + BizIdentityInfo_ON_PREMISE = waVnameCert.BizIdentityInfo_ON_PREMISE + BizIdentityInfo_FACEBOOK = waVnameCert.BizIdentityInfo_FACEBOOK + BizIdentityInfo_SELF = waVnameCert.BizIdentityInfo_SELF + BizIdentityInfo_BSP = waVnameCert.BizIdentityInfo_BSP + BizAccountLinkInfo_ON_PREMISE = waVnameCert.BizAccountLinkInfo_ON_PREMISE + BizAccountLinkInfo_FACEBOOK = waVnameCert.BizAccountLinkInfo_FACEBOOK + BizAccountLinkInfo_ENTERPRISE = waVnameCert.BizAccountLinkInfo_ENTERPRISE + ClientPayload_WHATSAPP = waWa6.ClientPayload_WHATSAPP + ClientPayload_MESSENGER = waWa6.ClientPayload_MESSENGER + ClientPayload_INTEROP = waWa6.ClientPayload_INTEROP + ClientPayload_INTEROP_MSGR = waWa6.ClientPayload_INTEROP_MSGR + ClientPayload_SHARE_EXTENSION = waWa6.ClientPayload_SHARE_EXTENSION + ClientPayload_SERVICE_EXTENSION = waWa6.ClientPayload_SERVICE_EXTENSION + ClientPayload_INTENTS_EXTENSION = waWa6.ClientPayload_INTENTS_EXTENSION + ClientPayload_CELLULAR_UNKNOWN = waWa6.ClientPayload_CELLULAR_UNKNOWN + ClientPayload_WIFI_UNKNOWN = waWa6.ClientPayload_WIFI_UNKNOWN + ClientPayload_CELLULAR_EDGE = waWa6.ClientPayload_CELLULAR_EDGE + ClientPayload_CELLULAR_IDEN = waWa6.ClientPayload_CELLULAR_IDEN + ClientPayload_CELLULAR_UMTS = waWa6.ClientPayload_CELLULAR_UMTS + ClientPayload_CELLULAR_EVDO = waWa6.ClientPayload_CELLULAR_EVDO + ClientPayload_CELLULAR_GPRS = waWa6.ClientPayload_CELLULAR_GPRS + ClientPayload_CELLULAR_HSDPA = waWa6.ClientPayload_CELLULAR_HSDPA + ClientPayload_CELLULAR_HSUPA = waWa6.ClientPayload_CELLULAR_HSUPA + ClientPayload_CELLULAR_HSPA = waWa6.ClientPayload_CELLULAR_HSPA + ClientPayload_CELLULAR_CDMA = waWa6.ClientPayload_CELLULAR_CDMA + ClientPayload_CELLULAR_1XRTT = waWa6.ClientPayload_CELLULAR_1XRTT + ClientPayload_CELLULAR_EHRPD = waWa6.ClientPayload_CELLULAR_EHRPD + ClientPayload_CELLULAR_LTE = waWa6.ClientPayload_CELLULAR_LTE + ClientPayload_CELLULAR_HSPAP = waWa6.ClientPayload_CELLULAR_HSPAP + ClientPayload_PUSH = waWa6.ClientPayload_PUSH + ClientPayload_USER_ACTIVATED = waWa6.ClientPayload_USER_ACTIVATED + ClientPayload_SCHEDULED = waWa6.ClientPayload_SCHEDULED + ClientPayload_ERROR_RECONNECT = waWa6.ClientPayload_ERROR_RECONNECT + ClientPayload_NETWORK_SWITCH = waWa6.ClientPayload_NETWORK_SWITCH + ClientPayload_PING_RECONNECT = waWa6.ClientPayload_PING_RECONNECT + ClientPayload_UNKNOWN = waWa6.ClientPayload_UNKNOWN + ClientPayload_WebInfo_WEB_BROWSER = waWa6.ClientPayload_WebInfo_WEB_BROWSER + ClientPayload_WebInfo_APP_STORE = waWa6.ClientPayload_WebInfo_APP_STORE + ClientPayload_WebInfo_WIN_STORE = waWa6.ClientPayload_WebInfo_WIN_STORE + ClientPayload_WebInfo_DARWIN = waWa6.ClientPayload_WebInfo_DARWIN + ClientPayload_WebInfo_WIN32 = waWa6.ClientPayload_WebInfo_WIN32 + ClientPayload_UserAgent_RELEASE = waWa6.ClientPayload_UserAgent_RELEASE + ClientPayload_UserAgent_BETA = waWa6.ClientPayload_UserAgent_BETA + ClientPayload_UserAgent_ALPHA = waWa6.ClientPayload_UserAgent_ALPHA + ClientPayload_UserAgent_DEBUG = waWa6.ClientPayload_UserAgent_DEBUG + ClientPayload_UserAgent_ANDROID = waWa6.ClientPayload_UserAgent_ANDROID + ClientPayload_UserAgent_IOS = waWa6.ClientPayload_UserAgent_IOS + ClientPayload_UserAgent_WINDOWS_PHONE = waWa6.ClientPayload_UserAgent_WINDOWS_PHONE + ClientPayload_UserAgent_BLACKBERRY = waWa6.ClientPayload_UserAgent_BLACKBERRY + ClientPayload_UserAgent_BLACKBERRYX = waWa6.ClientPayload_UserAgent_BLACKBERRYX + ClientPayload_UserAgent_S40 = waWa6.ClientPayload_UserAgent_S40 + ClientPayload_UserAgent_S60 = waWa6.ClientPayload_UserAgent_S60 + ClientPayload_UserAgent_PYTHON_CLIENT = waWa6.ClientPayload_UserAgent_PYTHON_CLIENT + ClientPayload_UserAgent_TIZEN = waWa6.ClientPayload_UserAgent_TIZEN + ClientPayload_UserAgent_ENTERPRISE = waWa6.ClientPayload_UserAgent_ENTERPRISE + ClientPayload_UserAgent_SMB_ANDROID = waWa6.ClientPayload_UserAgent_SMB_ANDROID + ClientPayload_UserAgent_KAIOS = waWa6.ClientPayload_UserAgent_KAIOS + ClientPayload_UserAgent_SMB_IOS = waWa6.ClientPayload_UserAgent_SMB_IOS + ClientPayload_UserAgent_WINDOWS = waWa6.ClientPayload_UserAgent_WINDOWS + ClientPayload_UserAgent_WEB = waWa6.ClientPayload_UserAgent_WEB + ClientPayload_UserAgent_PORTAL = waWa6.ClientPayload_UserAgent_PORTAL + ClientPayload_UserAgent_GREEN_ANDROID = waWa6.ClientPayload_UserAgent_GREEN_ANDROID + ClientPayload_UserAgent_GREEN_IPHONE = waWa6.ClientPayload_UserAgent_GREEN_IPHONE + ClientPayload_UserAgent_BLUE_ANDROID = waWa6.ClientPayload_UserAgent_BLUE_ANDROID + ClientPayload_UserAgent_BLUE_IPHONE = waWa6.ClientPayload_UserAgent_BLUE_IPHONE + ClientPayload_UserAgent_FBLITE_ANDROID = waWa6.ClientPayload_UserAgent_FBLITE_ANDROID + ClientPayload_UserAgent_MLITE_ANDROID = waWa6.ClientPayload_UserAgent_MLITE_ANDROID + ClientPayload_UserAgent_IGLITE_ANDROID = waWa6.ClientPayload_UserAgent_IGLITE_ANDROID + ClientPayload_UserAgent_PAGE = waWa6.ClientPayload_UserAgent_PAGE + ClientPayload_UserAgent_MACOS = waWa6.ClientPayload_UserAgent_MACOS + ClientPayload_UserAgent_OCULUS_MSG = waWa6.ClientPayload_UserAgent_OCULUS_MSG + ClientPayload_UserAgent_OCULUS_CALL = waWa6.ClientPayload_UserAgent_OCULUS_CALL + ClientPayload_UserAgent_MILAN = waWa6.ClientPayload_UserAgent_MILAN + ClientPayload_UserAgent_CAPI = waWa6.ClientPayload_UserAgent_CAPI + ClientPayload_UserAgent_WEAROS = waWa6.ClientPayload_UserAgent_WEAROS + ClientPayload_UserAgent_ARDEVICE = waWa6.ClientPayload_UserAgent_ARDEVICE + ClientPayload_UserAgent_VRDEVICE = waWa6.ClientPayload_UserAgent_VRDEVICE + ClientPayload_UserAgent_BLUE_WEB = waWa6.ClientPayload_UserAgent_BLUE_WEB + ClientPayload_UserAgent_IPAD = waWa6.ClientPayload_UserAgent_IPAD + ClientPayload_UserAgent_TEST = waWa6.ClientPayload_UserAgent_TEST + ClientPayload_UserAgent_SMART_GLASSES = waWa6.ClientPayload_UserAgent_SMART_GLASSES + ClientPayload_UserAgent_PHONE = waWa6.ClientPayload_UserAgent_PHONE + ClientPayload_UserAgent_TABLET = waWa6.ClientPayload_UserAgent_TABLET + ClientPayload_UserAgent_DESKTOP = waWa6.ClientPayload_UserAgent_DESKTOP + ClientPayload_UserAgent_WEARABLE = waWa6.ClientPayload_UserAgent_WEARABLE + ClientPayload_UserAgent_VR = waWa6.ClientPayload_UserAgent_VR + ClientPayload_DNSSource_SYSTEM = waWa6.ClientPayload_DNSSource_SYSTEM + ClientPayload_DNSSource_GOOGLE = waWa6.ClientPayload_DNSSource_GOOGLE + ClientPayload_DNSSource_HARDCODED = waWa6.ClientPayload_DNSSource_HARDCODED + ClientPayload_DNSSource_OVERRIDE = waWa6.ClientPayload_DNSSource_OVERRIDE + ClientPayload_DNSSource_FALLBACK = waWa6.ClientPayload_DNSSource_FALLBACK + WebMessageInfo_UNKNOWN = waWeb.WebMessageInfo_UNKNOWN + WebMessageInfo_REVOKE = waWeb.WebMessageInfo_REVOKE + WebMessageInfo_CIPHERTEXT = waWeb.WebMessageInfo_CIPHERTEXT + WebMessageInfo_FUTUREPROOF = waWeb.WebMessageInfo_FUTUREPROOF + WebMessageInfo_NON_VERIFIED_TRANSITION = waWeb.WebMessageInfo_NON_VERIFIED_TRANSITION + WebMessageInfo_UNVERIFIED_TRANSITION = waWeb.WebMessageInfo_UNVERIFIED_TRANSITION + WebMessageInfo_VERIFIED_TRANSITION = waWeb.WebMessageInfo_VERIFIED_TRANSITION + WebMessageInfo_VERIFIED_LOW_UNKNOWN = waWeb.WebMessageInfo_VERIFIED_LOW_UNKNOWN + WebMessageInfo_VERIFIED_HIGH = waWeb.WebMessageInfo_VERIFIED_HIGH + WebMessageInfo_VERIFIED_INITIAL_UNKNOWN = waWeb.WebMessageInfo_VERIFIED_INITIAL_UNKNOWN + WebMessageInfo_VERIFIED_INITIAL_LOW = waWeb.WebMessageInfo_VERIFIED_INITIAL_LOW + WebMessageInfo_VERIFIED_INITIAL_HIGH = waWeb.WebMessageInfo_VERIFIED_INITIAL_HIGH + WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_NONE = waWeb.WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_NONE + WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_HIGH = waWeb.WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_HIGH + WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_LOW = waWeb.WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_LOW + WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = waWeb.WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_UNKNOWN + WebMessageInfo_VERIFIED_TRANSITION_UNKNOWN_TO_LOW = waWeb.WebMessageInfo_VERIFIED_TRANSITION_UNKNOWN_TO_LOW + WebMessageInfo_VERIFIED_TRANSITION_LOW_TO_UNKNOWN = waWeb.WebMessageInfo_VERIFIED_TRANSITION_LOW_TO_UNKNOWN + WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_LOW = waWeb.WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_LOW + WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_UNKNOWN = waWeb.WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_UNKNOWN + WebMessageInfo_GROUP_CREATE = waWeb.WebMessageInfo_GROUP_CREATE + WebMessageInfo_GROUP_CHANGE_SUBJECT = waWeb.WebMessageInfo_GROUP_CHANGE_SUBJECT + WebMessageInfo_GROUP_CHANGE_ICON = waWeb.WebMessageInfo_GROUP_CHANGE_ICON + WebMessageInfo_GROUP_CHANGE_INVITE_LINK = waWeb.WebMessageInfo_GROUP_CHANGE_INVITE_LINK + WebMessageInfo_GROUP_CHANGE_DESCRIPTION = waWeb.WebMessageInfo_GROUP_CHANGE_DESCRIPTION + WebMessageInfo_GROUP_CHANGE_RESTRICT = waWeb.WebMessageInfo_GROUP_CHANGE_RESTRICT + WebMessageInfo_GROUP_CHANGE_ANNOUNCE = waWeb.WebMessageInfo_GROUP_CHANGE_ANNOUNCE + WebMessageInfo_GROUP_PARTICIPANT_ADD = waWeb.WebMessageInfo_GROUP_PARTICIPANT_ADD + WebMessageInfo_GROUP_PARTICIPANT_REMOVE = waWeb.WebMessageInfo_GROUP_PARTICIPANT_REMOVE + WebMessageInfo_GROUP_PARTICIPANT_PROMOTE = waWeb.WebMessageInfo_GROUP_PARTICIPANT_PROMOTE + WebMessageInfo_GROUP_PARTICIPANT_DEMOTE = waWeb.WebMessageInfo_GROUP_PARTICIPANT_DEMOTE + WebMessageInfo_GROUP_PARTICIPANT_INVITE = waWeb.WebMessageInfo_GROUP_PARTICIPANT_INVITE + WebMessageInfo_GROUP_PARTICIPANT_LEAVE = waWeb.WebMessageInfo_GROUP_PARTICIPANT_LEAVE + WebMessageInfo_GROUP_PARTICIPANT_CHANGE_NUMBER = waWeb.WebMessageInfo_GROUP_PARTICIPANT_CHANGE_NUMBER + WebMessageInfo_BROADCAST_CREATE = waWeb.WebMessageInfo_BROADCAST_CREATE + WebMessageInfo_BROADCAST_ADD = waWeb.WebMessageInfo_BROADCAST_ADD + WebMessageInfo_BROADCAST_REMOVE = waWeb.WebMessageInfo_BROADCAST_REMOVE + WebMessageInfo_GENERIC_NOTIFICATION = waWeb.WebMessageInfo_GENERIC_NOTIFICATION + WebMessageInfo_E2E_IDENTITY_CHANGED = waWeb.WebMessageInfo_E2E_IDENTITY_CHANGED + WebMessageInfo_E2E_ENCRYPTED = waWeb.WebMessageInfo_E2E_ENCRYPTED + WebMessageInfo_CALL_MISSED_VOICE = waWeb.WebMessageInfo_CALL_MISSED_VOICE + WebMessageInfo_CALL_MISSED_VIDEO = waWeb.WebMessageInfo_CALL_MISSED_VIDEO + WebMessageInfo_INDIVIDUAL_CHANGE_NUMBER = waWeb.WebMessageInfo_INDIVIDUAL_CHANGE_NUMBER + WebMessageInfo_GROUP_DELETE = waWeb.WebMessageInfo_GROUP_DELETE + WebMessageInfo_GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = waWeb.WebMessageInfo_GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE + WebMessageInfo_CALL_MISSED_GROUP_VOICE = waWeb.WebMessageInfo_CALL_MISSED_GROUP_VOICE + WebMessageInfo_CALL_MISSED_GROUP_VIDEO = waWeb.WebMessageInfo_CALL_MISSED_GROUP_VIDEO + WebMessageInfo_PAYMENT_CIPHERTEXT = waWeb.WebMessageInfo_PAYMENT_CIPHERTEXT + WebMessageInfo_PAYMENT_FUTUREPROOF = waWeb.WebMessageInfo_PAYMENT_FUTUREPROOF + WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = waWeb.WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED + WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = waWeb.WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED + WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = waWeb.WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED + WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = waWeb.WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP + WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = waWeb.WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP + WebMessageInfo_PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = waWeb.WebMessageInfo_PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER + WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_REMINDER = waWeb.WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_REMINDER + WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_INVITATION = waWeb.WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_INVITATION + WebMessageInfo_PAYMENT_ACTION_REQUEST_DECLINED = waWeb.WebMessageInfo_PAYMENT_ACTION_REQUEST_DECLINED + WebMessageInfo_PAYMENT_ACTION_REQUEST_EXPIRED = waWeb.WebMessageInfo_PAYMENT_ACTION_REQUEST_EXPIRED + WebMessageInfo_PAYMENT_ACTION_REQUEST_CANCELLED = waWeb.WebMessageInfo_PAYMENT_ACTION_REQUEST_CANCELLED + WebMessageInfo_BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = waWeb.WebMessageInfo_BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM + WebMessageInfo_BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = waWeb.WebMessageInfo_BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP + WebMessageInfo_BIZ_INTRO_TOP = waWeb.WebMessageInfo_BIZ_INTRO_TOP + WebMessageInfo_BIZ_INTRO_BOTTOM = waWeb.WebMessageInfo_BIZ_INTRO_BOTTOM + WebMessageInfo_BIZ_NAME_CHANGE = waWeb.WebMessageInfo_BIZ_NAME_CHANGE + WebMessageInfo_BIZ_MOVE_TO_CONSUMER_APP = waWeb.WebMessageInfo_BIZ_MOVE_TO_CONSUMER_APP + WebMessageInfo_BIZ_TWO_TIER_MIGRATION_TOP = waWeb.WebMessageInfo_BIZ_TWO_TIER_MIGRATION_TOP + WebMessageInfo_BIZ_TWO_TIER_MIGRATION_BOTTOM = waWeb.WebMessageInfo_BIZ_TWO_TIER_MIGRATION_BOTTOM + WebMessageInfo_OVERSIZED = waWeb.WebMessageInfo_OVERSIZED + WebMessageInfo_GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = waWeb.WebMessageInfo_GROUP_CHANGE_NO_FREQUENTLY_FORWARDED + WebMessageInfo_GROUP_V4_ADD_INVITE_SENT = waWeb.WebMessageInfo_GROUP_V4_ADD_INVITE_SENT + WebMessageInfo_GROUP_PARTICIPANT_ADD_REQUEST_JOIN = waWeb.WebMessageInfo_GROUP_PARTICIPANT_ADD_REQUEST_JOIN + WebMessageInfo_CHANGE_EPHEMERAL_SETTING = waWeb.WebMessageInfo_CHANGE_EPHEMERAL_SETTING + WebMessageInfo_E2E_DEVICE_CHANGED = waWeb.WebMessageInfo_E2E_DEVICE_CHANGED + WebMessageInfo_VIEWED_ONCE = waWeb.WebMessageInfo_VIEWED_ONCE + WebMessageInfo_E2E_ENCRYPTED_NOW = waWeb.WebMessageInfo_E2E_ENCRYPTED_NOW + WebMessageInfo_BLUE_MSG_BSP_FB_TO_BSP_PREMISE = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_TO_BSP_PREMISE + WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_FB = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_FB + WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_PREMISE = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_PREMISE + WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = waWeb.WebMessageInfo_BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE + WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_SELF_FB_TO_BSP_PREMISE = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_TO_BSP_PREMISE + WebMessageInfo_BLUE_MSG_SELF_FB_TO_SELF_PREMISE = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_TO_SELF_PREMISE + WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED + WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = waWeb.WebMessageInfo_BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE + WebMessageInfo_BLUE_MSG_SELF_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_SELF_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_TO_BSP_FB = waWeb.WebMessageInfo_BLUE_MSG_TO_BSP_FB + WebMessageInfo_BLUE_MSG_TO_CONSUMER = waWeb.WebMessageInfo_BLUE_MSG_TO_CONSUMER + WebMessageInfo_BLUE_MSG_TO_SELF_FB = waWeb.WebMessageInfo_BLUE_MSG_TO_SELF_FB + WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED + WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED + WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_VERIFIED + WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_VERIFIED_TO_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_VERIFIED_TO_UNVERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED + WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED + WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED + WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = waWeb.WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED + WebMessageInfo_E2E_IDENTITY_UNAVAILABLE = waWeb.WebMessageInfo_E2E_IDENTITY_UNAVAILABLE + WebMessageInfo_GROUP_CREATING = waWeb.WebMessageInfo_GROUP_CREATING + WebMessageInfo_GROUP_CREATE_FAILED = waWeb.WebMessageInfo_GROUP_CREATE_FAILED + WebMessageInfo_GROUP_BOUNCED = waWeb.WebMessageInfo_GROUP_BOUNCED + WebMessageInfo_BLOCK_CONTACT = waWeb.WebMessageInfo_BLOCK_CONTACT + WebMessageInfo_EPHEMERAL_SETTING_NOT_APPLIED = waWeb.WebMessageInfo_EPHEMERAL_SETTING_NOT_APPLIED + WebMessageInfo_SYNC_FAILED = waWeb.WebMessageInfo_SYNC_FAILED + WebMessageInfo_SYNCING = waWeb.WebMessageInfo_SYNCING + WebMessageInfo_BIZ_PRIVACY_MODE_INIT_FB = waWeb.WebMessageInfo_BIZ_PRIVACY_MODE_INIT_FB + WebMessageInfo_BIZ_PRIVACY_MODE_INIT_BSP = waWeb.WebMessageInfo_BIZ_PRIVACY_MODE_INIT_BSP + WebMessageInfo_BIZ_PRIVACY_MODE_TO_FB = waWeb.WebMessageInfo_BIZ_PRIVACY_MODE_TO_FB + WebMessageInfo_BIZ_PRIVACY_MODE_TO_BSP = waWeb.WebMessageInfo_BIZ_PRIVACY_MODE_TO_BSP + WebMessageInfo_DISAPPEARING_MODE = waWeb.WebMessageInfo_DISAPPEARING_MODE + WebMessageInfo_E2E_DEVICE_FETCH_FAILED = waWeb.WebMessageInfo_E2E_DEVICE_FETCH_FAILED + WebMessageInfo_ADMIN_REVOKE = waWeb.WebMessageInfo_ADMIN_REVOKE + WebMessageInfo_GROUP_INVITE_LINK_GROWTH_LOCKED = waWeb.WebMessageInfo_GROUP_INVITE_LINK_GROWTH_LOCKED + WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP = waWeb.WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP + WebMessageInfo_COMMUNITY_LINK_SIBLING_GROUP = waWeb.WebMessageInfo_COMMUNITY_LINK_SIBLING_GROUP + WebMessageInfo_COMMUNITY_LINK_SUB_GROUP = waWeb.WebMessageInfo_COMMUNITY_LINK_SUB_GROUP + WebMessageInfo_COMMUNITY_UNLINK_PARENT_GROUP = waWeb.WebMessageInfo_COMMUNITY_UNLINK_PARENT_GROUP + WebMessageInfo_COMMUNITY_UNLINK_SIBLING_GROUP = waWeb.WebMessageInfo_COMMUNITY_UNLINK_SIBLING_GROUP + WebMessageInfo_COMMUNITY_UNLINK_SUB_GROUP = waWeb.WebMessageInfo_COMMUNITY_UNLINK_SUB_GROUP + WebMessageInfo_GROUP_PARTICIPANT_ACCEPT = waWeb.WebMessageInfo_GROUP_PARTICIPANT_ACCEPT + WebMessageInfo_GROUP_PARTICIPANT_LINKED_GROUP_JOIN = waWeb.WebMessageInfo_GROUP_PARTICIPANT_LINKED_GROUP_JOIN + WebMessageInfo_COMMUNITY_CREATE = waWeb.WebMessageInfo_COMMUNITY_CREATE + WebMessageInfo_EPHEMERAL_KEEP_IN_CHAT = waWeb.WebMessageInfo_EPHEMERAL_KEEP_IN_CHAT + WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = waWeb.WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST + WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = waWeb.WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE + WebMessageInfo_INTEGRITY_UNLINK_PARENT_GROUP = waWeb.WebMessageInfo_INTEGRITY_UNLINK_PARENT_GROUP + WebMessageInfo_COMMUNITY_PARTICIPANT_PROMOTE = waWeb.WebMessageInfo_COMMUNITY_PARTICIPANT_PROMOTE + WebMessageInfo_COMMUNITY_PARTICIPANT_DEMOTE = waWeb.WebMessageInfo_COMMUNITY_PARTICIPANT_DEMOTE + WebMessageInfo_COMMUNITY_PARENT_GROUP_DELETED = waWeb.WebMessageInfo_COMMUNITY_PARENT_GROUP_DELETED + WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = waWeb.WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL + WebMessageInfo_GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = waWeb.WebMessageInfo_GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP + WebMessageInfo_MASKED_THREAD_CREATED = waWeb.WebMessageInfo_MASKED_THREAD_CREATED + WebMessageInfo_MASKED_THREAD_UNMASKED = waWeb.WebMessageInfo_MASKED_THREAD_UNMASKED + WebMessageInfo_BIZ_CHAT_ASSIGNMENT = waWeb.WebMessageInfo_BIZ_CHAT_ASSIGNMENT + WebMessageInfo_CHAT_PSA = waWeb.WebMessageInfo_CHAT_PSA + WebMessageInfo_CHAT_POLL_CREATION_MESSAGE = waWeb.WebMessageInfo_CHAT_POLL_CREATION_MESSAGE + WebMessageInfo_CAG_MASKED_THREAD_CREATED = waWeb.WebMessageInfo_CAG_MASKED_THREAD_CREATED + WebMessageInfo_COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = waWeb.WebMessageInfo_COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED + WebMessageInfo_CAG_INVITE_AUTO_ADD = waWeb.WebMessageInfo_CAG_INVITE_AUTO_ADD + WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN = waWeb.WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN + WebMessageInfo_CAG_INVITE_AUTO_JOINED = waWeb.WebMessageInfo_CAG_INVITE_AUTO_JOINED + WebMessageInfo_SCHEDULED_CALL_START_MESSAGE = waWeb.WebMessageInfo_SCHEDULED_CALL_START_MESSAGE + WebMessageInfo_COMMUNITY_INVITE_RICH = waWeb.WebMessageInfo_COMMUNITY_INVITE_RICH + WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH = waWeb.WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH + WebMessageInfo_SUB_GROUP_INVITE_RICH = waWeb.WebMessageInfo_SUB_GROUP_INVITE_RICH + WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH = waWeb.WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH + WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH = waWeb.WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH + WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH = waWeb.WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH + WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO = waWeb.WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO + WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO = waWeb.WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO + WebMessageInfo_GROUP_MEMBER_ADD_MODE = waWeb.WebMessageInfo_GROUP_MEMBER_ADD_MODE + WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = waWeb.WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD + WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION = waWeb.WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION + WebMessageInfo_SENDER_INVITE = waWeb.WebMessageInfo_SENDER_INVITE + WebMessageInfo_RECEIVER_INVITE = waWeb.WebMessageInfo_RECEIVER_INVITE + WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = waWeb.WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS + WebMessageInfo_PINNED_MESSAGE_IN_CHAT = waWeb.WebMessageInfo_PINNED_MESSAGE_IN_CHAT + WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER = waWeb.WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER + WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = waWeb.WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY + WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = waWeb.WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE + WebMessageInfo_LINKED_GROUP_CALL_START = waWeb.WebMessageInfo_LINKED_GROUP_CALL_START + WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS = waWeb.WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS + WebMessageInfo_EMPTY_SUBGROUP_CREATE = waWeb.WebMessageInfo_EMPTY_SUBGROUP_CREATE + WebMessageInfo_SCHEDULED_CALL_CANCEL = waWeb.WebMessageInfo_SCHEDULED_CALL_CANCEL + WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = waWeb.WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH + WebMessageInfo_GROUP_CHANGE_RECENT_HISTORY_SHARING = waWeb.WebMessageInfo_GROUP_CHANGE_RECENT_HISTORY_SHARING + WebMessageInfo_PAID_MESSAGE_SERVER_CAMPAIGN_ID = waWeb.WebMessageInfo_PAID_MESSAGE_SERVER_CAMPAIGN_ID + WebMessageInfo_GENERAL_CHAT_CREATE = waWeb.WebMessageInfo_GENERAL_CHAT_CREATE + WebMessageInfo_GENERAL_CHAT_ADD = waWeb.WebMessageInfo_GENERAL_CHAT_ADD + WebMessageInfo_GENERAL_CHAT_AUTO_ADD_DISABLED = waWeb.WebMessageInfo_GENERAL_CHAT_AUTO_ADD_DISABLED + WebMessageInfo_SUGGESTED_SUBGROUP_ANNOUNCE = waWeb.WebMessageInfo_SUGGESTED_SUBGROUP_ANNOUNCE + WebMessageInfo_BIZ_BOT_1P_MESSAGING_ENABLED = waWeb.WebMessageInfo_BIZ_BOT_1P_MESSAGING_ENABLED + WebMessageInfo_CHANGE_USERNAME = waWeb.WebMessageInfo_CHANGE_USERNAME + WebMessageInfo_BIZ_COEX_PRIVACY_INIT_SELF = waWeb.WebMessageInfo_BIZ_COEX_PRIVACY_INIT_SELF + WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION_SELF = waWeb.WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION_SELF + WebMessageInfo_SUPPORT_AI_EDUCATION = waWeb.WebMessageInfo_SUPPORT_AI_EDUCATION + WebMessageInfo_BIZ_BOT_3P_MESSAGING_ENABLED = waWeb.WebMessageInfo_BIZ_BOT_3P_MESSAGING_ENABLED + WebMessageInfo_REMINDER_SETUP_MESSAGE = waWeb.WebMessageInfo_REMINDER_SETUP_MESSAGE + WebMessageInfo_REMINDER_SENT_MESSAGE = waWeb.WebMessageInfo_REMINDER_SENT_MESSAGE + WebMessageInfo_REMINDER_CANCEL_MESSAGE = waWeb.WebMessageInfo_REMINDER_CANCEL_MESSAGE + WebMessageInfo_BIZ_COEX_PRIVACY_INIT = waWeb.WebMessageInfo_BIZ_COEX_PRIVACY_INIT + WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION = waWeb.WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION + WebMessageInfo_GROUP_DEACTIVATED = waWeb.WebMessageInfo_GROUP_DEACTIVATED + WebMessageInfo_COMMUNITY_DEACTIVATE_SIBLING_GROUP = waWeb.WebMessageInfo_COMMUNITY_DEACTIVATE_SIBLING_GROUP + WebMessageInfo_ERROR = waWeb.WebMessageInfo_ERROR + WebMessageInfo_PENDING = waWeb.WebMessageInfo_PENDING + WebMessageInfo_SERVER_ACK = waWeb.WebMessageInfo_SERVER_ACK + WebMessageInfo_DELIVERY_ACK = waWeb.WebMessageInfo_DELIVERY_ACK + WebMessageInfo_READ = waWeb.WebMessageInfo_READ + WebMessageInfo_PLAYED = waWeb.WebMessageInfo_PLAYED + WebMessageInfo_E2EE = waWeb.WebMessageInfo_E2EE + WebMessageInfo_FB = waWeb.WebMessageInfo_FB + WebMessageInfo_BSP = waWeb.WebMessageInfo_BSP + WebMessageInfo_BSP_AND_FB = waWeb.WebMessageInfo_BSP_AND_FB + WebFeatures_NOT_STARTED = waWeb.WebFeatures_NOT_STARTED + WebFeatures_FORCE_UPGRADE = waWeb.WebFeatures_FORCE_UPGRADE + WebFeatures_DEVELOPMENT = waWeb.WebFeatures_DEVELOPMENT + WebFeatures_PRODUCTION = waWeb.WebFeatures_PRODUCTION + PinInChat_UNKNOWN_TYPE = waWeb.PinInChat_UNKNOWN_TYPE + PinInChat_PIN_FOR_ALL = waWeb.PinInChat_PIN_FOR_ALL + PinInChat_UNPIN_FOR_ALL = waWeb.PinInChat_UNPIN_FOR_ALL + PaymentInfo_UNKNOWN = waWeb.PaymentInfo_UNKNOWN + PaymentInfo_PENDING_SETUP = waWeb.PaymentInfo_PENDING_SETUP + PaymentInfo_PENDING_RECEIVER_SETUP = waWeb.PaymentInfo_PENDING_RECEIVER_SETUP + PaymentInfo_INIT = waWeb.PaymentInfo_INIT + PaymentInfo_SUCCESS = waWeb.PaymentInfo_SUCCESS + PaymentInfo_COMPLETED = waWeb.PaymentInfo_COMPLETED + PaymentInfo_FAILED = waWeb.PaymentInfo_FAILED + PaymentInfo_FAILED_RISK = waWeb.PaymentInfo_FAILED_RISK + PaymentInfo_FAILED_PROCESSING = waWeb.PaymentInfo_FAILED_PROCESSING + PaymentInfo_FAILED_RECEIVER_PROCESSING = waWeb.PaymentInfo_FAILED_RECEIVER_PROCESSING + PaymentInfo_FAILED_DA = waWeb.PaymentInfo_FAILED_DA + PaymentInfo_FAILED_DA_FINAL = waWeb.PaymentInfo_FAILED_DA_FINAL + PaymentInfo_REFUNDED_TXN = waWeb.PaymentInfo_REFUNDED_TXN + PaymentInfo_REFUND_FAILED = waWeb.PaymentInfo_REFUND_FAILED + PaymentInfo_REFUND_FAILED_PROCESSING = waWeb.PaymentInfo_REFUND_FAILED_PROCESSING + PaymentInfo_REFUND_FAILED_DA = waWeb.PaymentInfo_REFUND_FAILED_DA + PaymentInfo_EXPIRED_TXN = waWeb.PaymentInfo_EXPIRED_TXN + PaymentInfo_AUTH_CANCELED = waWeb.PaymentInfo_AUTH_CANCELED + PaymentInfo_AUTH_CANCEL_FAILED_PROCESSING = waWeb.PaymentInfo_AUTH_CANCEL_FAILED_PROCESSING + PaymentInfo_AUTH_CANCEL_FAILED = waWeb.PaymentInfo_AUTH_CANCEL_FAILED + PaymentInfo_COLLECT_INIT = waWeb.PaymentInfo_COLLECT_INIT + PaymentInfo_COLLECT_SUCCESS = waWeb.PaymentInfo_COLLECT_SUCCESS + PaymentInfo_COLLECT_FAILED = waWeb.PaymentInfo_COLLECT_FAILED + PaymentInfo_COLLECT_FAILED_RISK = waWeb.PaymentInfo_COLLECT_FAILED_RISK + PaymentInfo_COLLECT_REJECTED = waWeb.PaymentInfo_COLLECT_REJECTED + PaymentInfo_COLLECT_EXPIRED = waWeb.PaymentInfo_COLLECT_EXPIRED + PaymentInfo_COLLECT_CANCELED = waWeb.PaymentInfo_COLLECT_CANCELED + PaymentInfo_COLLECT_CANCELLING = waWeb.PaymentInfo_COLLECT_CANCELLING + PaymentInfo_IN_REVIEW = waWeb.PaymentInfo_IN_REVIEW + PaymentInfo_REVERSAL_SUCCESS = waWeb.PaymentInfo_REVERSAL_SUCCESS + PaymentInfo_REVERSAL_PENDING = waWeb.PaymentInfo_REVERSAL_PENDING + PaymentInfo_REFUND_PENDING = waWeb.PaymentInfo_REFUND_PENDING + PaymentInfo_UNKNOWN_STATUS = waWeb.PaymentInfo_UNKNOWN_STATUS + PaymentInfo_PROCESSING = waWeb.PaymentInfo_PROCESSING + PaymentInfo_SENT = waWeb.PaymentInfo_SENT + PaymentInfo_NEED_TO_ACCEPT = waWeb.PaymentInfo_NEED_TO_ACCEPT + PaymentInfo_COMPLETE = waWeb.PaymentInfo_COMPLETE + PaymentInfo_COULD_NOT_COMPLETE = waWeb.PaymentInfo_COULD_NOT_COMPLETE + PaymentInfo_REFUNDED = waWeb.PaymentInfo_REFUNDED + PaymentInfo_EXPIRED = waWeb.PaymentInfo_EXPIRED + PaymentInfo_REJECTED = waWeb.PaymentInfo_REJECTED + PaymentInfo_CANCELLED = waWeb.PaymentInfo_CANCELLED + PaymentInfo_WAITING_FOR_PAYER = waWeb.PaymentInfo_WAITING_FOR_PAYER + PaymentInfo_WAITING = waWeb.PaymentInfo_WAITING + PaymentInfo_UNKNOWN_CURRENCY = waWeb.PaymentInfo_UNKNOWN_CURRENCY + PaymentInfo_INR = waWeb.PaymentInfo_INR + QP_TRUE = waQuickPromotionSurfaces.QP_TRUE + QP_FALSE = waQuickPromotionSurfaces.QP_FALSE + QP_UNKNOWN = waQuickPromotionSurfaces.QP_UNKNOWN + QP_PASS_BY_DEFAULT = waQuickPromotionSurfaces.QP_PASS_BY_DEFAULT + QP_FAIL_BY_DEFAULT = waQuickPromotionSurfaces.QP_FAIL_BY_DEFAULT + QP_AND = waQuickPromotionSurfaces.QP_AND + QP_OR = waQuickPromotionSurfaces.QP_OR + QP_NOR = waQuickPromotionSurfaces.QP_NOR + DeviceCapabilities_NONE = waDeviceCapabilities.DeviceCapabilities_NONE + DeviceCapabilities_MINIMAL = waDeviceCapabilities.DeviceCapabilities_MINIMAL + DeviceCapabilities_FULL = waDeviceCapabilities.DeviceCapabilities_FULL + UserPassword_NONE = waUserPassword.UserPassword_NONE + UserPassword_PBKDF2_HMAC_SHA512 = waUserPassword.UserPassword_PBKDF2_HMAC_SHA512 + UserPassword_PBKDF2_HMAC_SHA384 = waUserPassword.UserPassword_PBKDF2_HMAC_SHA384 + UserPassword_UTF8 = waUserPassword.UserPassword_UTF8 +) diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/old-enums.txt b/vendor/go.mau.fi/whatsmeow/binary/proto/old-enums.txt new file mode 100644 index 00000000..8365efe5 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/old-enums.txt @@ -0,0 +1,631 @@ +ADVEncryptionType_E2EE +ADVEncryptionType_HOSTED +KeepType_UNKNOWN +KeepType_KEEP_FOR_ALL +KeepType_UNDO_KEEP_FOR_ALL +PeerDataOperationRequestType_UPLOAD_STICKER +PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP +PeerDataOperationRequestType_GENERATE_LINK_PREVIEW +PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND +PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND +MediaVisibility_DEFAULT +MediaVisibility_OFF +MediaVisibility_ON +DeviceProps_UNKNOWN +DeviceProps_CHROME +DeviceProps_FIREFOX +DeviceProps_IE +DeviceProps_OPERA +DeviceProps_SAFARI +DeviceProps_EDGE +DeviceProps_DESKTOP +DeviceProps_IPAD +DeviceProps_ANDROID_TABLET +DeviceProps_OHANA +DeviceProps_ALOHA +DeviceProps_CATALINA +DeviceProps_TCL_TV +DeviceProps_IOS_PHONE +DeviceProps_IOS_CATALYST +DeviceProps_ANDROID_PHONE +DeviceProps_ANDROID_AMBIGUOUS +DeviceProps_WEAR_OS +DeviceProps_AR_WRIST +DeviceProps_AR_DEVICE +DeviceProps_UWP +DeviceProps_VR +ImageMessage_USER_IMAGE +ImageMessage_AI_GENERATED +ImageMessage_AI_MODIFIED +HistorySyncNotification_INITIAL_BOOTSTRAP +HistorySyncNotification_INITIAL_STATUS_V3 +HistorySyncNotification_FULL +HistorySyncNotification_RECENT +HistorySyncNotification_PUSH_NAME +HistorySyncNotification_NON_BLOCKING_DATA +HistorySyncNotification_ON_DEMAND +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_TUESDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_WEDNESDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_THURSDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_FRIDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SATURDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SUNDAY +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SOLAR_HIJRI +GroupInviteMessage_DEFAULT +GroupInviteMessage_PARENT +ExtendedTextMessage_NONE +ExtendedTextMessage_VIDEO +ExtendedTextMessage_PLACEHOLDER +ExtendedTextMessage_IMAGE +ExtendedTextMessage_DEFAULT +ExtendedTextMessage_PARENT +ExtendedTextMessage_SUB +ExtendedTextMessage_DEFAULT_SUB +ExtendedTextMessage_SYSTEM +ExtendedTextMessage_SYSTEM_TEXT +ExtendedTextMessage_FB_SCRIPT +ExtendedTextMessage_SYSTEM_BOLD +ExtendedTextMessage_MORNINGBREEZE_REGULAR +ExtendedTextMessage_CALISTOGA_REGULAR +ExtendedTextMessage_EXO2_EXTRABOLD +ExtendedTextMessage_COURIERPRIME_BOLD +EventResponseMessage_UNKNOWN +EventResponseMessage_GOING +EventResponseMessage_NOT_GOING +CallLogMessage_REGULAR +CallLogMessage_SCHEDULED_CALL +CallLogMessage_VOICE_CHAT +CallLogMessage_CONNECTED +CallLogMessage_MISSED +CallLogMessage_FAILED +CallLogMessage_REJECTED +CallLogMessage_ACCEPTED_ELSEWHERE +CallLogMessage_ONGOING +CallLogMessage_SILENCED_BY_DND +CallLogMessage_SILENCED_UNKNOWN_CALLER +ButtonsResponseMessage_UNKNOWN +ButtonsResponseMessage_DISPLAY_TEXT +ButtonsMessage_UNKNOWN +ButtonsMessage_EMPTY +ButtonsMessage_TEXT +ButtonsMessage_DOCUMENT +ButtonsMessage_IMAGE +ButtonsMessage_VIDEO +ButtonsMessage_LOCATION +ButtonsMessage_Button_UNKNOWN +ButtonsMessage_Button_RESPONSE +ButtonsMessage_Button_NATIVE_FLOW +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING +BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT +BotFeedbackMessage_BOT_FEEDBACK_POSITIVE +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING +BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT +BCallMessage_UNKNOWN +BCallMessage_AUDIO +BCallMessage_VIDEO +HydratedTemplateButton_HydratedURLButton_FULL +HydratedTemplateButton_HydratedURLButton_TALL +HydratedTemplateButton_HydratedURLButton_COMPACT +DisappearingMode_UNKNOWN +DisappearingMode_CHAT_SETTING +DisappearingMode_ACCOUNT_SETTING +DisappearingMode_BULK_CHANGE +DisappearingMode_BIZ_SUPPORTS_FB_HOSTING +DisappearingMode_CHANGED_IN_CHAT +DisappearingMode_INITIATED_BY_ME +DisappearingMode_INITIATED_BY_OTHER +DisappearingMode_BIZ_UPGRADE_FB_HOSTING +ContextInfo_ExternalAdReplyInfo_NONE +ContextInfo_ExternalAdReplyInfo_IMAGE +ContextInfo_ExternalAdReplyInfo_VIDEO +ContextInfo_AdReplyInfo_NONE +ContextInfo_AdReplyInfo_IMAGE +ContextInfo_AdReplyInfo_VIDEO +ForwardedNewsletterMessageInfo_UPDATE +ForwardedNewsletterMessageInfo_UPDATE_CARD +ForwardedNewsletterMessageInfo_LINK_CARD +BotPluginMetadata_BING +BotPluginMetadata_GOOGLE +BotPluginMetadata_REELS +BotPluginMetadata_SEARCH +PaymentBackground_UNKNOWN +PaymentBackground_DEFAULT +VideoMessage_NONE +VideoMessage_GIPHY +VideoMessage_TENOR +SecretEncryptedMessage_UNKNOWN +SecretEncryptedMessage_EVENT_EDIT +ScheduledCallEditMessage_UNKNOWN +ScheduledCallEditMessage_CANCEL +ScheduledCallCreationMessage_UNKNOWN +ScheduledCallCreationMessage_VOICE +ScheduledCallCreationMessage_VIDEO +RequestWelcomeMessageMetadata_EMPTY +RequestWelcomeMessageMetadata_NON_EMPTY +ProtocolMessage_REVOKE +ProtocolMessage_EPHEMERAL_SETTING +ProtocolMessage_EPHEMERAL_SYNC_RESPONSE +ProtocolMessage_HISTORY_SYNC_NOTIFICATION +ProtocolMessage_APP_STATE_SYNC_KEY_SHARE +ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST +ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST +ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC +ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION +ProtocolMessage_SHARE_PHONE_NUMBER +ProtocolMessage_MESSAGE_EDIT +ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE +ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE +ProtocolMessage_REQUEST_WELCOME_MESSAGE +ProtocolMessage_BOT_FEEDBACK_MESSAGE +ProtocolMessage_MEDIA_NOTIFY_MESSAGE +PlaceholderMessage_MASK_LINKED_DEVICES +PinInChatMessage_UNKNOWN_TYPE +PinInChatMessage_PIN_FOR_ALL +PinInChatMessage_UNPIN_FOR_ALL +PaymentInviteMessage_UNKNOWN +PaymentInviteMessage_FBPAY +PaymentInviteMessage_NOVI +PaymentInviteMessage_UPI +OrderMessage_CATALOG +OrderMessage_INQUIRY +OrderMessage_ACCEPTED +OrderMessage_DECLINED +ListResponseMessage_UNKNOWN +ListResponseMessage_SINGLE_SELECT +ListMessage_UNKNOWN +ListMessage_SINGLE_SELECT +ListMessage_PRODUCT_LIST +InvoiceMessage_IMAGE +InvoiceMessage_PDF +InteractiveResponseMessage_Body_DEFAULT +InteractiveResponseMessage_Body_EXTENSIONS_1 +InteractiveMessage_ShopMessage_UNKNOWN_SURFACE +InteractiveMessage_ShopMessage_FB +InteractiveMessage_ShopMessage_IG +InteractiveMessage_ShopMessage_WA +PastParticipant_LEFT +PastParticipant_REMOVED +HistorySync_INITIAL_BOOTSTRAP +HistorySync_INITIAL_STATUS_V3 +HistorySync_FULL +HistorySync_RECENT +HistorySync_PUSH_NAME +HistorySync_NON_BLOCKING_DATA +HistorySync_ON_DEMAND +HistorySync_IN_WAITLIST +HistorySync_AI_AVAILABLE +GroupParticipant_REGULAR +GroupParticipant_ADMIN +GroupParticipant_SUPERADMIN +Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY +Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY +Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY +MediaRetryNotification_GENERAL_ERROR +MediaRetryNotification_SUCCESS +MediaRetryNotification_NOT_FOUND +MediaRetryNotification_DECRYPTION_ERROR +SyncdMutation_SET +SyncdMutation_REMOVE +StatusPrivacyAction_ALLOW_LIST +StatusPrivacyAction_DENY_LIST +StatusPrivacyAction_CONTACTS +MarketingMessageAction_PERSONALIZED +PatchDebugData_ANDROID +PatchDebugData_SMBA +PatchDebugData_IPHONE +PatchDebugData_SMBI +PatchDebugData_WEB +PatchDebugData_UWP +PatchDebugData_DARWIN +CallLogRecord_NONE +CallLogRecord_SCHEDULED +CallLogRecord_PRIVACY +CallLogRecord_LIGHTWEIGHT +CallLogRecord_REGULAR +CallLogRecord_SCHEDULED_CALL +CallLogRecord_VOICE_CHAT +CallLogRecord_CONNECTED +CallLogRecord_REJECTED +CallLogRecord_CANCELLED +CallLogRecord_ACCEPTEDELSEWHERE +CallLogRecord_MISSED +CallLogRecord_INVALID +CallLogRecord_UNAVAILABLE +CallLogRecord_UPCOMING +CallLogRecord_FAILED +CallLogRecord_ABANDONED +CallLogRecord_ONGOING +BizIdentityInfo_UNKNOWN +BizIdentityInfo_LOW +BizIdentityInfo_HIGH +BizIdentityInfo_ON_PREMISE +BizIdentityInfo_FACEBOOK +BizIdentityInfo_SELF +BizIdentityInfo_BSP +BizAccountLinkInfo_ON_PREMISE +BizAccountLinkInfo_FACEBOOK +BizAccountLinkInfo_ENTERPRISE +ClientPayload_WHATSAPP +ClientPayload_MESSENGER +ClientPayload_INTEROP +ClientPayload_INTEROP_MSGR +ClientPayload_SHARE_EXTENSION +ClientPayload_SERVICE_EXTENSION +ClientPayload_INTENTS_EXTENSION +ClientPayload_CELLULAR_UNKNOWN +ClientPayload_WIFI_UNKNOWN +ClientPayload_CELLULAR_EDGE +ClientPayload_CELLULAR_IDEN +ClientPayload_CELLULAR_UMTS +ClientPayload_CELLULAR_EVDO +ClientPayload_CELLULAR_GPRS +ClientPayload_CELLULAR_HSDPA +ClientPayload_CELLULAR_HSUPA +ClientPayload_CELLULAR_HSPA +ClientPayload_CELLULAR_CDMA +ClientPayload_CELLULAR_1XRTT +ClientPayload_CELLULAR_EHRPD +ClientPayload_CELLULAR_LTE +ClientPayload_CELLULAR_HSPAP +ClientPayload_PUSH +ClientPayload_USER_ACTIVATED +ClientPayload_SCHEDULED +ClientPayload_ERROR_RECONNECT +ClientPayload_NETWORK_SWITCH +ClientPayload_PING_RECONNECT +ClientPayload_UNKNOWN +ClientPayload_WebInfo_WEB_BROWSER +ClientPayload_WebInfo_APP_STORE +ClientPayload_WebInfo_WIN_STORE +ClientPayload_WebInfo_DARWIN +ClientPayload_WebInfo_WIN32 +ClientPayload_UserAgent_RELEASE +ClientPayload_UserAgent_BETA +ClientPayload_UserAgent_ALPHA +ClientPayload_UserAgent_DEBUG +ClientPayload_UserAgent_ANDROID +ClientPayload_UserAgent_IOS +ClientPayload_UserAgent_WINDOWS_PHONE +ClientPayload_UserAgent_BLACKBERRY +ClientPayload_UserAgent_BLACKBERRYX +ClientPayload_UserAgent_S40 +ClientPayload_UserAgent_S60 +ClientPayload_UserAgent_PYTHON_CLIENT +ClientPayload_UserAgent_TIZEN +ClientPayload_UserAgent_ENTERPRISE +ClientPayload_UserAgent_SMB_ANDROID +ClientPayload_UserAgent_KAIOS +ClientPayload_UserAgent_SMB_IOS +ClientPayload_UserAgent_WINDOWS +ClientPayload_UserAgent_WEB +ClientPayload_UserAgent_PORTAL +ClientPayload_UserAgent_GREEN_ANDROID +ClientPayload_UserAgent_GREEN_IPHONE +ClientPayload_UserAgent_BLUE_ANDROID +ClientPayload_UserAgent_BLUE_IPHONE +ClientPayload_UserAgent_FBLITE_ANDROID +ClientPayload_UserAgent_MLITE_ANDROID +ClientPayload_UserAgent_IGLITE_ANDROID +ClientPayload_UserAgent_PAGE +ClientPayload_UserAgent_MACOS +ClientPayload_UserAgent_OCULUS_MSG +ClientPayload_UserAgent_OCULUS_CALL +ClientPayload_UserAgent_MILAN +ClientPayload_UserAgent_CAPI +ClientPayload_UserAgent_WEAROS +ClientPayload_UserAgent_ARDEVICE +ClientPayload_UserAgent_VRDEVICE +ClientPayload_UserAgent_BLUE_WEB +ClientPayload_UserAgent_IPAD +ClientPayload_UserAgent_TEST +ClientPayload_UserAgent_SMART_GLASSES +ClientPayload_UserAgent_PHONE +ClientPayload_UserAgent_TABLET +ClientPayload_UserAgent_DESKTOP +ClientPayload_UserAgent_WEARABLE +ClientPayload_UserAgent_VR +ClientPayload_DNSSource_SYSTEM +ClientPayload_DNSSource_GOOGLE +ClientPayload_DNSSource_HARDCODED +ClientPayload_DNSSource_OVERRIDE +ClientPayload_DNSSource_FALLBACK +WebMessageInfo_UNKNOWN +WebMessageInfo_REVOKE +WebMessageInfo_CIPHERTEXT +WebMessageInfo_FUTUREPROOF +WebMessageInfo_NON_VERIFIED_TRANSITION +WebMessageInfo_UNVERIFIED_TRANSITION +WebMessageInfo_VERIFIED_TRANSITION +WebMessageInfo_VERIFIED_LOW_UNKNOWN +WebMessageInfo_VERIFIED_HIGH +WebMessageInfo_VERIFIED_INITIAL_UNKNOWN +WebMessageInfo_VERIFIED_INITIAL_LOW +WebMessageInfo_VERIFIED_INITIAL_HIGH +WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_NONE +WebMessageInfo_VERIFIED_TRANSITION_ANY_TO_HIGH +WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_LOW +WebMessageInfo_VERIFIED_TRANSITION_HIGH_TO_UNKNOWN +WebMessageInfo_VERIFIED_TRANSITION_UNKNOWN_TO_LOW +WebMessageInfo_VERIFIED_TRANSITION_LOW_TO_UNKNOWN +WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_LOW +WebMessageInfo_VERIFIED_TRANSITION_NONE_TO_UNKNOWN +WebMessageInfo_GROUP_CREATE +WebMessageInfo_GROUP_CHANGE_SUBJECT +WebMessageInfo_GROUP_CHANGE_ICON +WebMessageInfo_GROUP_CHANGE_INVITE_LINK +WebMessageInfo_GROUP_CHANGE_DESCRIPTION +WebMessageInfo_GROUP_CHANGE_RESTRICT +WebMessageInfo_GROUP_CHANGE_ANNOUNCE +WebMessageInfo_GROUP_PARTICIPANT_ADD +WebMessageInfo_GROUP_PARTICIPANT_REMOVE +WebMessageInfo_GROUP_PARTICIPANT_PROMOTE +WebMessageInfo_GROUP_PARTICIPANT_DEMOTE +WebMessageInfo_GROUP_PARTICIPANT_INVITE +WebMessageInfo_GROUP_PARTICIPANT_LEAVE +WebMessageInfo_GROUP_PARTICIPANT_CHANGE_NUMBER +WebMessageInfo_BROADCAST_CREATE +WebMessageInfo_BROADCAST_ADD +WebMessageInfo_BROADCAST_REMOVE +WebMessageInfo_GENERIC_NOTIFICATION +WebMessageInfo_E2E_IDENTITY_CHANGED +WebMessageInfo_E2E_ENCRYPTED +WebMessageInfo_CALL_MISSED_VOICE +WebMessageInfo_CALL_MISSED_VIDEO +WebMessageInfo_INDIVIDUAL_CHANGE_NUMBER +WebMessageInfo_GROUP_DELETE +WebMessageInfo_GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE +WebMessageInfo_CALL_MISSED_GROUP_VOICE +WebMessageInfo_CALL_MISSED_GROUP_VIDEO +WebMessageInfo_PAYMENT_CIPHERTEXT +WebMessageInfo_PAYMENT_FUTUREPROOF +WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED +WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED +WebMessageInfo_PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED +WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP +WebMessageInfo_PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP +WebMessageInfo_PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER +WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_REMINDER +WebMessageInfo_PAYMENT_ACTION_SEND_PAYMENT_INVITATION +WebMessageInfo_PAYMENT_ACTION_REQUEST_DECLINED +WebMessageInfo_PAYMENT_ACTION_REQUEST_EXPIRED +WebMessageInfo_PAYMENT_ACTION_REQUEST_CANCELLED +WebMessageInfo_BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM +WebMessageInfo_BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP +WebMessageInfo_BIZ_INTRO_TOP +WebMessageInfo_BIZ_INTRO_BOTTOM +WebMessageInfo_BIZ_NAME_CHANGE +WebMessageInfo_BIZ_MOVE_TO_CONSUMER_APP +WebMessageInfo_BIZ_TWO_TIER_MIGRATION_TOP +WebMessageInfo_BIZ_TWO_TIER_MIGRATION_BOTTOM +WebMessageInfo_OVERSIZED +WebMessageInfo_GROUP_CHANGE_NO_FREQUENTLY_FORWARDED +WebMessageInfo_GROUP_V4_ADD_INVITE_SENT +WebMessageInfo_GROUP_PARTICIPANT_ADD_REQUEST_JOIN +WebMessageInfo_CHANGE_EPHEMERAL_SETTING +WebMessageInfo_E2E_DEVICE_CHANGED +WebMessageInfo_VIEWED_ONCE +WebMessageInfo_E2E_ENCRYPTED_NOW +WebMessageInfo_BLUE_MSG_BSP_FB_TO_BSP_PREMISE +WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_FB +WebMessageInfo_BLUE_MSG_BSP_FB_TO_SELF_PREMISE +WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE +WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_SELF_FB_TO_BSP_PREMISE +WebMessageInfo_BLUE_MSG_SELF_FB_TO_SELF_PREMISE +WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED +WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE +WebMessageInfo_BLUE_MSG_SELF_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_SELF_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_TO_BSP_FB +WebMessageInfo_BLUE_MSG_TO_CONSUMER +WebMessageInfo_BLUE_MSG_TO_SELF_FB +WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED +WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED +WebMessageInfo_BLUE_MSG_UNVERIFIED_TO_VERIFIED +WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_VERIFIED_TO_UNVERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED +WebMessageInfo_BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED +WebMessageInfo_BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED +WebMessageInfo_BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED +WebMessageInfo_E2E_IDENTITY_UNAVAILABLE +WebMessageInfo_GROUP_CREATING +WebMessageInfo_GROUP_CREATE_FAILED +WebMessageInfo_GROUP_BOUNCED +WebMessageInfo_BLOCK_CONTACT +WebMessageInfo_EPHEMERAL_SETTING_NOT_APPLIED +WebMessageInfo_SYNC_FAILED +WebMessageInfo_SYNCING +WebMessageInfo_BIZ_PRIVACY_MODE_INIT_FB +WebMessageInfo_BIZ_PRIVACY_MODE_INIT_BSP +WebMessageInfo_BIZ_PRIVACY_MODE_TO_FB +WebMessageInfo_BIZ_PRIVACY_MODE_TO_BSP +WebMessageInfo_DISAPPEARING_MODE +WebMessageInfo_E2E_DEVICE_FETCH_FAILED +WebMessageInfo_ADMIN_REVOKE +WebMessageInfo_GROUP_INVITE_LINK_GROWTH_LOCKED +WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP +WebMessageInfo_COMMUNITY_LINK_SIBLING_GROUP +WebMessageInfo_COMMUNITY_LINK_SUB_GROUP +WebMessageInfo_COMMUNITY_UNLINK_PARENT_GROUP +WebMessageInfo_COMMUNITY_UNLINK_SIBLING_GROUP +WebMessageInfo_COMMUNITY_UNLINK_SUB_GROUP +WebMessageInfo_GROUP_PARTICIPANT_ACCEPT +WebMessageInfo_GROUP_PARTICIPANT_LINKED_GROUP_JOIN +WebMessageInfo_COMMUNITY_CREATE +WebMessageInfo_EPHEMERAL_KEEP_IN_CHAT +WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST +WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE +WebMessageInfo_INTEGRITY_UNLINK_PARENT_GROUP +WebMessageInfo_COMMUNITY_PARTICIPANT_PROMOTE +WebMessageInfo_COMMUNITY_PARTICIPANT_DEMOTE +WebMessageInfo_COMMUNITY_PARENT_GROUP_DELETED +WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL +WebMessageInfo_GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP +WebMessageInfo_MASKED_THREAD_CREATED +WebMessageInfo_MASKED_THREAD_UNMASKED +WebMessageInfo_BIZ_CHAT_ASSIGNMENT +WebMessageInfo_CHAT_PSA +WebMessageInfo_CHAT_POLL_CREATION_MESSAGE +WebMessageInfo_CAG_MASKED_THREAD_CREATED +WebMessageInfo_COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED +WebMessageInfo_CAG_INVITE_AUTO_ADD +WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN +WebMessageInfo_CAG_INVITE_AUTO_JOINED +WebMessageInfo_SCHEDULED_CALL_START_MESSAGE +WebMessageInfo_COMMUNITY_INVITE_RICH +WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH +WebMessageInfo_SUB_GROUP_INVITE_RICH +WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH +WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH +WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH +WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO +WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO +WebMessageInfo_GROUP_MEMBER_ADD_MODE +WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD +WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION +WebMessageInfo_SENDER_INVITE +WebMessageInfo_RECEIVER_INVITE +WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS +WebMessageInfo_PINNED_MESSAGE_IN_CHAT +WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER +WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY +WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE +WebMessageInfo_LINKED_GROUP_CALL_START +WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS +WebMessageInfo_EMPTY_SUBGROUP_CREATE +WebMessageInfo_SCHEDULED_CALL_CANCEL +WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH +WebMessageInfo_GROUP_CHANGE_RECENT_HISTORY_SHARING +WebMessageInfo_PAID_MESSAGE_SERVER_CAMPAIGN_ID +WebMessageInfo_GENERAL_CHAT_CREATE +WebMessageInfo_GENERAL_CHAT_ADD +WebMessageInfo_GENERAL_CHAT_AUTO_ADD_DISABLED +WebMessageInfo_SUGGESTED_SUBGROUP_ANNOUNCE +WebMessageInfo_BIZ_BOT_1P_MESSAGING_ENABLED +WebMessageInfo_CHANGE_USERNAME +WebMessageInfo_BIZ_COEX_PRIVACY_INIT_SELF +WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION_SELF +WebMessageInfo_SUPPORT_AI_EDUCATION +WebMessageInfo_BIZ_BOT_3P_MESSAGING_ENABLED +WebMessageInfo_REMINDER_SETUP_MESSAGE +WebMessageInfo_REMINDER_SENT_MESSAGE +WebMessageInfo_REMINDER_CANCEL_MESSAGE +WebMessageInfo_BIZ_COEX_PRIVACY_INIT +WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION +WebMessageInfo_GROUP_DEACTIVATED +WebMessageInfo_COMMUNITY_DEACTIVATE_SIBLING_GROUP +WebMessageInfo_ERROR +WebMessageInfo_PENDING +WebMessageInfo_SERVER_ACK +WebMessageInfo_DELIVERY_ACK +WebMessageInfo_READ +WebMessageInfo_PLAYED +WebMessageInfo_E2EE +WebMessageInfo_FB +WebMessageInfo_BSP +WebMessageInfo_BSP_AND_FB +WebFeatures_NOT_STARTED +WebFeatures_FORCE_UPGRADE +WebFeatures_DEVELOPMENT +WebFeatures_PRODUCTION +PinInChat_UNKNOWN_TYPE +PinInChat_PIN_FOR_ALL +PinInChat_UNPIN_FOR_ALL +PaymentInfo_UNKNOWN +PaymentInfo_PENDING_SETUP +PaymentInfo_PENDING_RECEIVER_SETUP +PaymentInfo_INIT +PaymentInfo_SUCCESS +PaymentInfo_COMPLETED +PaymentInfo_FAILED +PaymentInfo_FAILED_RISK +PaymentInfo_FAILED_PROCESSING +PaymentInfo_FAILED_RECEIVER_PROCESSING +PaymentInfo_FAILED_DA +PaymentInfo_FAILED_DA_FINAL +PaymentInfo_REFUNDED_TXN +PaymentInfo_REFUND_FAILED +PaymentInfo_REFUND_FAILED_PROCESSING +PaymentInfo_REFUND_FAILED_DA +PaymentInfo_EXPIRED_TXN +PaymentInfo_AUTH_CANCELED +PaymentInfo_AUTH_CANCEL_FAILED_PROCESSING +PaymentInfo_AUTH_CANCEL_FAILED +PaymentInfo_COLLECT_INIT +PaymentInfo_COLLECT_SUCCESS +PaymentInfo_COLLECT_FAILED +PaymentInfo_COLLECT_FAILED_RISK +PaymentInfo_COLLECT_REJECTED +PaymentInfo_COLLECT_EXPIRED +PaymentInfo_COLLECT_CANCELED +PaymentInfo_COLLECT_CANCELLING +PaymentInfo_IN_REVIEW +PaymentInfo_REVERSAL_SUCCESS +PaymentInfo_REVERSAL_PENDING +PaymentInfo_REFUND_PENDING +PaymentInfo_UNKNOWN_STATUS +PaymentInfo_PROCESSING +PaymentInfo_SENT +PaymentInfo_NEED_TO_ACCEPT +PaymentInfo_COMPLETE +PaymentInfo_COULD_NOT_COMPLETE +PaymentInfo_REFUNDED +PaymentInfo_EXPIRED +PaymentInfo_REJECTED +PaymentInfo_CANCELLED +PaymentInfo_WAITING_FOR_PAYER +PaymentInfo_WAITING +PaymentInfo_UNKNOWN_CURRENCY +PaymentInfo_INR +QP_TRUE +QP_FALSE +QP_UNKNOWN +QP_PASS_BY_DEFAULT +QP_FAIL_BY_DEFAULT +QP_AND +QP_OR +QP_NOR +DeviceCapabilities_NONE +DeviceCapabilities_MINIMAL +DeviceCapabilities_FULL +UserPassword_NONE +UserPassword_PBKDF2_HMAC_SHA512 +UserPassword_PBKDF2_HMAC_SHA384 +UserPassword_UTF8 diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/old-types.txt b/vendor/go.mau.fi/whatsmeow/binary/proto/old-types.txt new file mode 100644 index 00000000..5476b031 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/old-types.txt @@ -0,0 +1,421 @@ +ADVEncryptionType +KeepType +PeerDataOperationRequestType +MediaVisibility +DeviceProps_PlatformType +ImageMessage_ImageSourceType +HistorySyncNotification_HistorySyncType +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType +GroupInviteMessage_GroupType +ExtendedTextMessage_PreviewType +ExtendedTextMessage_InviteLinkGroupType +ExtendedTextMessage_FontType +EventResponseMessage_EventResponseType +CallLogMessage_CallType +CallLogMessage_CallOutcome +ButtonsResponseMessage_Type +ButtonsMessage_HeaderType +ButtonsMessage_Button_Type +BotFeedbackMessage_BotFeedbackKindMultiplePositive +BotFeedbackMessage_BotFeedbackKindMultipleNegative +BotFeedbackMessage_BotFeedbackKind +BCallMessage_MediaType +HydratedTemplateButton_HydratedURLButton_WebviewPresentationType +DisappearingMode_Trigger +DisappearingMode_Initiator +ContextInfo_ExternalAdReplyInfo_MediaType +ContextInfo_AdReplyInfo_MediaType +ForwardedNewsletterMessageInfo_ContentType +BotPluginMetadata_SearchProvider +BotPluginMetadata_PluginType +PaymentBackground_Type +VideoMessage_Attribution +SecretEncryptedMessage_SecretEncType +ScheduledCallEditMessage_EditType +ScheduledCallCreationMessage_CallType +RequestWelcomeMessageMetadata_LocalChatState +ProtocolMessage_Type +PlaceholderMessage_PlaceholderType +PinInChatMessage_Type +PaymentInviteMessage_ServiceType +OrderMessage_OrderSurface +OrderMessage_OrderStatus +ListResponseMessage_ListType +ListMessage_ListType +InvoiceMessage_AttachmentType +InteractiveResponseMessage_Body_Format +InteractiveMessage_ShopMessage_Surface +PastParticipant_LeaveReason +HistorySync_HistorySyncType +HistorySync_BotAIWaitListState +GroupParticipant_Rank +Conversation_EndOfHistoryTransferType +MediaRetryNotification_ResultType +SyncdMutation_SyncdOperation +StatusPrivacyAction_StatusDistributionMode +MarketingMessageAction_MarketingMessagePrototypeType +PatchDebugData_Platform +CallLogRecord_SilenceReason +CallLogRecord_CallType +CallLogRecord_CallResult +BizIdentityInfo_VerifiedLevelValue +BizIdentityInfo_HostStorageType +BizIdentityInfo_ActualActorsType +BizAccountLinkInfo_HostStorageType +BizAccountLinkInfo_AccountType +ClientPayload_Product +ClientPayload_IOSAppExtension +ClientPayload_ConnectType +ClientPayload_ConnectReason +ClientPayload_WebInfo_WebSubPlatform +ClientPayload_UserAgent_ReleaseChannel +ClientPayload_UserAgent_Platform +ClientPayload_UserAgent_DeviceType +ClientPayload_DNSSource_DNSResolutionMethod +WebMessageInfo_StubType +WebMessageInfo_Status +WebMessageInfo_BizPrivacyStatus +WebFeatures_Flag +PinInChat_Type +PaymentInfo_TxnStatus +PaymentInfo_Status +PaymentInfo_Currency +QP_FilterResult +QP_FilterClientNotSupportedConfig +QP_ClauseType +DeviceCapabilities_ChatLockSupportLevel +UserPassword_Transformer +UserPassword_Encoding +ADVSignedKeyIndexList +ADVSignedDeviceIdentity +ADVSignedDeviceIdentityHMAC +ADVKeyIndexList +ADVDeviceIdentity +DeviceProps +InitialSecurityNotificationSettingSync +ImageMessage +HistorySyncNotification +HighlyStructuredMessage +GroupInviteMessage +FutureProofMessage +ExtendedTextMessage +EventResponseMessage +EventMessage +EncReactionMessage +EncEventResponseMessage +EncCommentMessage +DocumentMessage +DeviceSentMessage +DeclinePaymentRequestMessage +ContactsArrayMessage +ContactMessage +CommentMessage +Chat +CancelPaymentRequestMessage +Call +CallLogMessage +ButtonsResponseMessage +ButtonsResponseMessage_SelectedDisplayText +ButtonsMessage +ButtonsMessage_Text +ButtonsMessage_DocumentMessage +ButtonsMessage_ImageMessage +ButtonsMessage_VideoMessage +ButtonsMessage_LocationMessage +BotFeedbackMessage +BCallMessage +AudioMessage +AppStateSyncKey +AppStateSyncKeyShare +AppStateSyncKeyRequest +AppStateSyncKeyId +AppStateSyncKeyFingerprint +AppStateSyncKeyData +AppStateFatalExceptionNotification +MediaNotifyMessage +Location +InteractiveAnnotation +InteractiveAnnotation_Location +InteractiveAnnotation_Newsletter +HydratedTemplateButton +HydratedTemplateButton_QuickReplyButton +HydratedTemplateButton_UrlButton +HydratedTemplateButton_CallButton +GroupMention +DisappearingMode +DeviceListMetadata +ContextInfo +ForwardedNewsletterMessageInfo +BotSuggestedPromptMetadata +BotSearchMetadata +BotPluginMetadata +BotMetadata +BotAvatarMetadata +ActionLink +TemplateButton +TemplateButton_QuickReplyButton_ +TemplateButton_UrlButton +TemplateButton_CallButton_ +Point +PaymentBackground +Money +Message +MessageSecretMessage +MessageContextInfo +VideoMessage +TemplateMessage +TemplateMessage_FourRowTemplate_ +TemplateMessage_HydratedFourRowTemplate_ +TemplateMessage_InteractiveMessageTemplate +TemplateButtonReplyMessage +StickerSyncRMRMessage +StickerMessage +SenderKeyDistributionMessage +SendPaymentMessage +SecretEncryptedMessage +ScheduledCallEditMessage +ScheduledCallCreationMessage +RequestWelcomeMessageMetadata +RequestPhoneNumberMessage +RequestPaymentMessage +ReactionMessage +ProtocolMessage +ProductMessage +PollVoteMessage +PollUpdateMessage +PollUpdateMessageMetadata +PollEncValue +PollCreationMessage +PlaceholderMessage +PinInChatMessage +PeerDataOperationRequestResponseMessage +PeerDataOperationRequestMessage +PaymentInviteMessage +OrderMessage +NewsletterAdminInviteMessage +MessageHistoryBundle +LocationMessage +LiveLocationMessage +ListResponseMessage +ListMessage +KeepInChatMessage +InvoiceMessage +InteractiveResponseMessage +InteractiveResponseMessage_NativeFlowResponseMessage_ +InteractiveMessage +InteractiveMessage_ShopStorefrontMessage +InteractiveMessage_CollectionMessage_ +InteractiveMessage_NativeFlowMessage_ +InteractiveMessage_CarouselMessage_ +EphemeralSetting +WallpaperSettings +StickerMetadata +Pushname +PhoneNumberToLIDMapping +PastParticipants +PastParticipant +NotificationSettings +HistorySync +HistorySyncMsg +GroupParticipant +GlobalSettings +Conversation +AvatarUserSettings +AutoDownloadSettings +ServerErrorReceipt +MediaRetryNotification +MessageKey +SyncdVersion +SyncdValue +SyncdSnapshot +SyncdRecord +SyncdPatch +SyncdMutations +SyncdMutation +SyncdIndex +KeyId +ExternalBlobReference +ExitCode +SyncActionValue +WamoUserIdentifierAction +UserStatusMuteAction +UnarchiveChatsSetting +TimeFormatAction +SyncActionMessage +SyncActionMessageRange +SubscriptionAction +StickerAction +StatusPrivacyAction +StarAction +SecurityNotificationSetting +RemoveRecentStickerAction +RecentEmojiWeightsAction +QuickReplyAction +PushNameSetting +PrivacySettingRelayAllCalls +PrivacySettingDisableLinkPreviewsAction +PrimaryVersionAction +PrimaryFeature +PnForLidChatAction +PinAction +PaymentInfoAction +NuxAction +MuteAction +MarketingMessageBroadcastAction +MarketingMessageAction +MarkChatAsReadAction +LockChatAction +LocaleSetting +LabelReorderingAction +LabelEditAction +LabelAssociationAction +KeyExpiration +ExternalWebBetaAction +DeleteMessageForMeAction +DeleteIndividualCallLogAction +DeleteChatAction +CustomPaymentMethodsAction +CustomPaymentMethod +CustomPaymentMethodMetadata +ContactAction +ClearChatAction +ChatAssignmentOpenedStatusAction +ChatAssignmentAction +CallLogAction +BotWelcomeRequestAction +ArchiveChatAction +AndroidUnsupportedActions +AgentAction +SyncActionData +RecentEmojiWeight +PatchDebugData +CallLogRecord +VerifiedNameCertificate +LocalizedName +BizIdentityInfo +BizAccountPayload +BizAccountLinkInfo +HandshakeMessage +HandshakeServerHello +HandshakeClientHello +HandshakeClientFinish +ClientPayload +WebNotificationsInfo +WebMessageInfo +WebFeatures +UserReceipt +StatusPSA +ReportingTokenInfo +Reaction +PremiumMessageInfo +PollUpdate +PollAdditionalMetadata +PinInChat +PhotoChange +PaymentInfo +NotificationMessageInfo +MessageAddOnContextInfo +MediaData +KeepInChat +EventResponse +EventAdditionalMetadata +CommentMetadata +NoiseCertificate +CertChain +QP +ChatLockSettings +DeviceCapabilities +UserPassword +DeviceProps_HistorySyncConfig +DeviceProps_AppVersion +HighlyStructuredMessage_HSMLocalizableParameter +HighlyStructuredMessage_HSMLocalizableParameter_Currency +HighlyStructuredMessage_HSMLocalizableParameter_DateTime +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch +HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch +HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent +CallLogMessage_CallParticipant +ButtonsMessage_Button +ButtonsMessage_Button_NativeFlowInfo +ButtonsMessage_Button_ButtonText +HydratedTemplateButton_HydratedURLButton +HydratedTemplateButton_HydratedQuickReplyButton +HydratedTemplateButton_HydratedCallButton +ContextInfo_UTMInfo +ContextInfo_ExternalAdReplyInfo +ContextInfo_DataSharingContext +ContextInfo_BusinessMessageForwardInfo +ContextInfo_AdReplyInfo +TemplateButton_URLButton +TemplateButton_QuickReplyButton +TemplateButton_CallButton +PaymentBackground_MediaData +TemplateMessage_HydratedFourRowTemplate +TemplateMessage_HydratedFourRowTemplate_DocumentMessage +TemplateMessage_HydratedFourRowTemplate_HydratedTitleText +TemplateMessage_HydratedFourRowTemplate_ImageMessage +TemplateMessage_HydratedFourRowTemplate_VideoMessage +TemplateMessage_HydratedFourRowTemplate_LocationMessage +TemplateMessage_FourRowTemplate +TemplateMessage_FourRowTemplate_DocumentMessage +TemplateMessage_FourRowTemplate_HighlyStructuredMessage +TemplateMessage_FourRowTemplate_ImageMessage +TemplateMessage_FourRowTemplate_VideoMessage +TemplateMessage_FourRowTemplate_LocationMessage +ProductMessage_ProductSnapshot +ProductMessage_CatalogSnapshot +PollCreationMessage_Option +PeerDataOperationRequestResponseMessage_PeerDataOperationResult +PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse +PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse +PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail +PeerDataOperationRequestMessage_RequestUrlPreview +PeerDataOperationRequestMessage_RequestStickerReupload +PeerDataOperationRequestMessage_PlaceholderMessageResendRequest +PeerDataOperationRequestMessage_HistorySyncOnDemandRequest +ListResponseMessage_SingleSelectReply +ListMessage_Section +ListMessage_Row +ListMessage_Product +ListMessage_ProductSection +ListMessage_ProductListInfo +ListMessage_ProductListHeaderImage +InteractiveResponseMessage_NativeFlowResponseMessage +InteractiveResponseMessage_Body +InteractiveMessage_NativeFlowMessage +InteractiveMessage_Header +InteractiveMessage_Header_DocumentMessage +InteractiveMessage_Header_ImageMessage +InteractiveMessage_Header_JpegThumbnail +InteractiveMessage_Header_VideoMessage +InteractiveMessage_Header_LocationMessage +InteractiveMessage_Header_ProductMessage +InteractiveMessage_Footer +InteractiveMessage_CollectionMessage +InteractiveMessage_CarouselMessage +InteractiveMessage_Body +InteractiveMessage_ShopMessage +InteractiveMessage_NativeFlowMessage_NativeFlowButton +CallLogRecord_ParticipantInfo +VerifiedNameCertificate_Details +ClientPayload_WebInfo +ClientPayload_UserAgent +ClientPayload_InteropData +ClientPayload_DevicePairingRegistrationData +ClientPayload_DNSSource +ClientPayload_WebInfo_WebdPayload +ClientPayload_UserAgent_AppVersion +NoiseCertificate_Details +CertChain_NoiseCertificate +CertChain_NoiseCertificate_Details +QP_Filter +QP_FilterParameters +QP_FilterClause +UserPassword_TransformerArg +UserPassword_TransformerArg_Value +UserPassword_TransformerArg_Value_AsBlob +UserPassword_TransformerArg_Value_AsUnsignedInteger diff --git a/vendor/go.mau.fi/whatsmeow/connectionevents.go b/vendor/go.mau.fi/whatsmeow/connectionevents.go index 881c6d70..5feaed25 100644 --- a/vendor/go.mau.fi/whatsmeow/connectionevents.go +++ b/vendor/go.mau.fi/whatsmeow/connectionevents.go @@ -28,7 +28,7 @@ func (cli *Client) handleStreamError(node *waBinary.Node) { cli.Disconnect() err := cli.Connect() if err != nil { - cli.Log.Errorf("Failed to reconnect after 515 code:", err) + cli.Log.Errorf("Failed to reconnect after 515 code: %v", err) } }() case code == "401" && conflictType == "device_removed": diff --git a/vendor/go.mau.fi/whatsmeow/download.go b/vendor/go.mau.fi/whatsmeow/download.go index b4cdb3d4..0407eb30 100644 --- a/vendor/go.mau.fi/whatsmeow/download.go +++ b/vendor/go.mau.fi/whatsmeow/download.go @@ -22,8 +22,8 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport" waProto "go.mau.fi/whatsmeow/binary/proto" + "go.mau.fi/whatsmeow/proto/waMediaTransport" "go.mau.fi/whatsmeow/socket" "go.mau.fi/whatsmeow/util/cbcutil" "go.mau.fi/whatsmeow/util/hkdfutil" @@ -53,8 +53,8 @@ type DownloadableMessage interface { proto.Message GetDirectPath() string GetMediaKey() []byte - GetFileSha256() []byte - GetFileEncSha256() []byte + GetFileSHA256() []byte + GetFileEncSHA256() []byte } // DownloadableThumbnail represents a protobuf message that contains a thumbnail attachment. @@ -63,8 +63,8 @@ type DownloadableMessage interface { type DownloadableThumbnail interface { proto.Message GetThumbnailDirectPath() string - GetThumbnailSha256() []byte - GetThumbnailEncSha256() []byte + GetThumbnailSHA256() []byte + GetThumbnailEncSHA256() []byte GetMediaKey() []byte } @@ -167,7 +167,7 @@ func (cli *Client) DownloadThumbnail(msg DownloadableThumbnail) ([]byte, error) if !ok { return nil, fmt.Errorf("%w '%s'", ErrUnknownMediaType, string(msg.ProtoReflect().Descriptor().Name())) } else if len(msg.GetThumbnailDirectPath()) > 0 { - return cli.DownloadMediaWithPath(msg.GetThumbnailDirectPath(), msg.GetThumbnailEncSha256(), msg.GetThumbnailSha256(), msg.GetMediaKey(), -1, mediaType, mediaTypeToMMSType[mediaType]) + return cli.DownloadMediaWithPath(msg.GetThumbnailDirectPath(), msg.GetThumbnailEncSHA256(), msg.GetThumbnailSHA256(), msg.GetMediaKey(), -1, mediaType, mediaTypeToMMSType[mediaType]) } else { return nil, ErrNoURLPresent } @@ -200,9 +200,9 @@ func (cli *Client) Download(msg DownloadableMessage) ([]byte, error) { isWebWhatsappNetURL = strings.HasPrefix(url, "https://web.whatsapp.net") } if len(url) > 0 && !isWebWhatsappNetURL { - return cli.downloadAndDecrypt(url, msg.GetMediaKey(), mediaType, getSize(msg), msg.GetFileEncSha256(), msg.GetFileSha256()) + return cli.downloadAndDecrypt(url, msg.GetMediaKey(), mediaType, getSize(msg), msg.GetFileEncSHA256(), msg.GetFileSHA256()) } else if len(msg.GetDirectPath()) > 0 { - return cli.DownloadMediaWithPath(msg.GetDirectPath(), msg.GetFileEncSha256(), msg.GetFileSha256(), msg.GetMediaKey(), getSize(msg), mediaType, mediaTypeToMMSType[mediaType]) + return cli.DownloadMediaWithPath(msg.GetDirectPath(), msg.GetFileEncSHA256(), msg.GetFileSHA256(), msg.GetMediaKey(), getSize(msg), mediaType, mediaTypeToMMSType[mediaType]) } else { if isWebWhatsappNetURL { cli.Log.Warnf("Got a media message with a web.whatsapp.net URL (%s) and no direct path", url) @@ -240,12 +240,12 @@ func (cli *Client) DownloadMediaWithPath(directPath string, encFileHash, fileHas return } -func (cli *Client) downloadAndDecrypt(url string, mediaKey []byte, appInfo MediaType, fileLength int, fileEncSha256, fileSha256 []byte) (data []byte, err error) { +func (cli *Client) downloadAndDecrypt(url string, mediaKey []byte, appInfo MediaType, fileLength int, fileEncSHA256, fileSHA256 []byte) (data []byte, err error) { iv, cipherKey, macKey, _ := getMediaKeys(mediaKey, appInfo) var ciphertext, mac []byte - if ciphertext, mac, err = cli.downloadPossiblyEncryptedMediaWithRetries(url, fileEncSha256); err != nil { + if ciphertext, mac, err = cli.downloadPossiblyEncryptedMediaWithRetries(url, fileEncSHA256); err != nil { - } else if mediaKey == nil && fileEncSha256 == nil && mac == nil { + } else if mediaKey == nil && fileEncSHA256 == nil && mac == nil { // Unencrypted media, just return the downloaded data data = ciphertext } else if err = validateMedia(iv, ciphertext, macKey, mac); err != nil { @@ -254,7 +254,7 @@ func (cli *Client) downloadAndDecrypt(url string, mediaKey []byte, appInfo Media err = fmt.Errorf("failed to decrypt file: %w", err) } else if fileLength >= 0 && len(data) != fileLength { err = fmt.Errorf("%w: expected %d, got %d", ErrFileLengthMismatch, fileLength, len(data)) - } else if len(fileSha256) == 32 && sha256.Sum256(data) != *(*[32]byte)(fileSha256) { + } else if len(fileSHA256) == 32 && sha256.Sum256(data) != *(*[32]byte)(fileSHA256) { err = ErrInvalidMediaSHA256 } return diff --git a/vendor/go.mau.fi/whatsmeow/mediaretry.go b/vendor/go.mau.fi/whatsmeow/mediaretry.go index 48e13639..2f973ba5 100644 --- a/vendor/go.mau.fi/whatsmeow/mediaretry.go +++ b/vendor/go.mau.fi/whatsmeow/mediaretry.go @@ -26,7 +26,7 @@ func getMediaRetryKey(mediaKey []byte) (cipherKey []byte) { func encryptMediaRetryReceipt(messageID types.MessageID, mediaKey []byte) (ciphertext, iv []byte, err error) { receipt := &waProto.ServerErrorReceipt{ - StanzaId: proto.String(messageID), + StanzaID: proto.String(messageID), } var plaintext []byte plaintext, err = proto.Marshal(receipt) diff --git a/vendor/go.mau.fi/whatsmeow/msgsecret.go b/vendor/go.mau.fi/whatsmeow/msgsecret.go index c4cf4fb6..69989dab 100644 --- a/vendor/go.mau.fi/whatsmeow/msgsecret.go +++ b/vendor/go.mau.fi/whatsmeow/msgsecret.go @@ -70,7 +70,7 @@ func getOrigSenderFromKey(msg *events.Message, key *waProto.MessageKey) (types.J } type messageEncryptedSecret interface { - GetEncIv() []byte + GetEncIV() []byte GetEncPayload() []byte } @@ -86,7 +86,7 @@ func (cli *Client) decryptMsgSecret(msg *events.Message, useCase MsgSecretType, return nil, ErrOriginalMessageSecretNotFound } secretKey, additionalData := generateMsgSecretKey(useCase, msg.Info.Sender, origMsgKey.GetId(), pollSender, baseEncKey) - plaintext, err := gcmutil.Decrypt(secretKey, encrypted.GetEncIv(), encrypted.GetEncPayload(), additionalData) + plaintext, err := gcmutil.Decrypt(secretKey, encrypted.GetEncIV(), encrypted.GetEncPayload(), additionalData) if err != nil { return nil, fmt.Errorf("failed to decrypt secret message: %w", err) } @@ -175,9 +175,9 @@ func (cli *Client) DecryptPollVote(vote *events.Message) (*waProto.PollVoteMessa func getKeyFromInfo(msgInfo *types.MessageInfo) *waProto.MessageKey { creationKey := &waProto.MessageKey{ - RemoteJid: proto.String(msgInfo.Chat.String()), + RemoteJID: proto.String(msgInfo.Chat.String()), FromMe: proto.Bool(msgInfo.IsFromMe), - Id: proto.String(msgInfo.ID), + ID: proto.String(msgInfo.ID), } if msgInfo.IsGroup { creationKey.Participant = proto.String(msgInfo.Sender.String()) @@ -255,8 +255,8 @@ func (cli *Client) EncryptPollVote(pollInfo *types.MessageInfo, vote *waProto.Po PollCreationMessageKey: getKeyFromInfo(pollInfo), Vote: &waProto.PollEncValue{ EncPayload: ciphertext, - EncIv: iv, + EncIV: iv, }, - SenderTimestampMs: proto.Int64(time.Now().UnixMilli()), + SenderTimestampMS: proto.Int64(time.Now().UnixMilli()), }, nil } diff --git a/vendor/go.mau.fi/whatsmeow/pair.go b/vendor/go.mau.fi/whatsmeow/pair.go index 573b0387..c0e957ab 100644 --- a/vendor/go.mau.fi/whatsmeow/pair.go +++ b/vendor/go.mau.fi/whatsmeow/pair.go @@ -107,7 +107,7 @@ func (cli *Client) handlePair(deviceIdentityBytes []byte, reqID, businessName, p h := hmac.New(sha256.New, cli.Store.AdvSecretKey) h.Write(deviceIdentityContainer.Details) - if !bytes.Equal(h.Sum(nil), deviceIdentityContainer.Hmac) { + if !bytes.Equal(h.Sum(nil), deviceIdentityContainer.HMAC) { cli.Log.Warnf("Invalid HMAC from pair success message") cli.sendPairError(reqID, 401, "not-authorized") return ErrPairInvalidDeviceIdentityHMAC diff --git a/vendor/go.mau.fi/whatsmeow/proto/.gitignore b/vendor/go.mau.fi/whatsmeow/proto/.gitignore new file mode 100644 index 00000000..e106b2e3 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/.gitignore @@ -0,0 +1 @@ +protos.js diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/armadilloutil/decode.go b/vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go similarity index 91% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/armadilloutil/decode.go rename to vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go index dacd50f8..31389d33 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/armadilloutil/decode.go +++ b/vendor/go.mau.fi/whatsmeow/proto/armadilloutil/decode.go @@ -6,7 +6,7 @@ import ( "google.golang.org/protobuf/proto" - "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + "go.mau.fi/whatsmeow/proto/waCommon" ) var ErrUnsupportedVersion = errors.New("unsupported subprotocol version") @@ -27,6 +27,6 @@ func Marshal[T proto.Message](msg T, version int32) (*waCommon.SubProtocol, erro } return &waCommon.SubProtocol{ Payload: payload, - Version: version, + Version: &version, }, nil } diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/extra.go b/vendor/go.mau.fi/whatsmeow/proto/extra.go similarity index 80% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/extra.go rename to vendor/go.mau.fi/whatsmeow/proto/extra.go index d4b157ad..a4a5fe7b 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/extra.go +++ b/vendor/go.mau.fi/whatsmeow/proto/extra.go @@ -1,10 +1,10 @@ package armadillo import ( - "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waCommon" - "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice" + "go.mau.fi/whatsmeow/proto/waArmadilloApplication" + "go.mau.fi/whatsmeow/proto/waCommon" + "go.mau.fi/whatsmeow/proto/waConsumerApplication" + "go.mau.fi/whatsmeow/proto/waMultiDevice" ) type MessageApplicationSub interface { diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/generate.sh b/vendor/go.mau.fi/whatsmeow/proto/generate.sh similarity index 51% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/generate.sh rename to vendor/go.mau.fi/whatsmeow/proto/generate.sh index d0a4556d..11e855b2 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/generate.sh +++ b/vendor/go.mau.fi/whatsmeow/proto/generate.sh @@ -1,9 +1,10 @@ #!/bin/bash cd $(dirname $0) set -euo pipefail -if [[ ! -f "e2ee.js" ]]; then - echo "Please download the encryption javascript file and save it to e2ee.js first" +if [[ ! -f "protos.js" ]]; then + echo "Please download the WhatsApp JavaScript modules with protobuf schemas into protos.js first" exit 1 fi node parse-proto.js protoc --go_out=. --go_opt=paths=source_relative --go_opt=embed_raw=true */*.proto +pre-commit run -a diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/parse-proto.js b/vendor/go.mau.fi/whatsmeow/proto/parse-proto.js similarity index 58% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/parse-proto.js rename to vendor/go.mau.fi/whatsmeow/proto/parse-proto.js index 518a64bc..2ba0a4a1 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/parse-proto.js +++ b/vendor/go.mau.fi/whatsmeow/proto/parse-proto.js @@ -14,7 +14,20 @@ const modules = { }, } +const depRenameMap = { + "WAProtocol.pb": "WACommon.pb", + "WAWebProtobufsProtocol.pb": "WACommon.pb", + "WAWebProtobufsAdv.pb": "WAAdv.pb", + "WAWebProtobufsMmsRetry.pb": "WAMmsRetry.pb", + "WAWebProtobufSyncAction.pb": "WASyncAction.pb", + "WAWebProtobufsFingerprintV3.pb": "WAFingerprint.pb", + "WAWebProtobufsDeviceCapabilities.pb": "WAProtobufsDeviceCapabilities.pb", + "WAWebProtobufsChatLockSettings.pb": "WAProtobufsChatLockSettings.pb", + "WAWebProtobufsUserPassword.pb": "WAProtobufsUserPassword.pb", +} + function requireModule(name) { + name = depRenameMap[name] ?? name if (!modules[name]) { throw new Error(`Unknown requirement ${name}`) } @@ -34,6 +47,16 @@ function ignoreModule(name) { } else if (name.startsWith("MAWArmadillo") && (name.endsWith("TableSchema.pb") || name.endsWith("TablesSchema.pb"))) { // Ignore internal table schemas return true + } else if (name.startsWith("WAWebProtobufsMdStorage")) { + return true + } else if (["WAWebProtobufsAdv.pb", "WAWebProtobufsMmsRetry.pb", "WAWebProtobufSyncAction.pb", "WAWebProtobufsFingerprintV3.pb", + "WAWebProtobufsDeviceCapabilities.pb", "WAWebProtobufsChatLockSettings.pb", "WAWebProtobufsUserPassword.pb", + "WAProtocol.pb", "WAWebProtobufsProtocol.pb"].includes(name)) { + // Ignore duplicates (e.g. WAAdv.pb is the same as WAWebProtobufsAdv.pb) + return true + } else if (["WAWa5.pb", "WAE2E.pb"].includes(name)) { + // Ignore the shorter version of duplicates when the WebProtobufs one has more fields + return true } else if (name === "WASignalLocalStorageProtocol.pb" || name === "WASignalWhisperTextProtocol.pb") { // Ignore standard signal protocol stuff return true @@ -42,23 +65,89 @@ function ignoreModule(name) { } } +const lazyModules = {} + function defineModule(name, dependencies, callback, unknownIntOrNull) { if (ignoreModule(name)) { return + } else if (modules[name]) { + return // ignore duplicates } - const exports = {} - if (dependencies.length > 0) { - callback(null, requireDefault, null, requireModule, null, null, exports) - } else { - callback(null, requireDefault, null, requireModule, exports, exports) + dependencies = dependencies.map(dep => depRenameMap[dep] ?? dep) + lazyModules[name] = { + dependencies, + load: () => { + const exports = {} + if (dependencies.length > 0) { + callback(null, requireDefault, null, requireModule, null, null, exports) + } else { + callback(null, requireDefault, null, requireModule, exports, exports) + } + modules[name] = {exports, dependencies} + } + } +} + +function loadLazyModule(name) { + if (modules[name]) { + return + } + const mod = lazyModules[name] + for (const dep of mod.dependencies) { + loadLazyModule(dep) + } + console.log("Loading", name, mod.dependencies) + mod.load() +} + +function loadLazyModules() { + for (const name of Object.keys(lazyModules)) { + loadLazyModule(name) } - modules[name] = {exports, dependencies} } global.self = global global.__d = defineModule +global.window = {} -require("./e2ee.js") +/*const neededFiles = new Map() +require("child_process").spawnSync("grep", ["-Er", `^__d\\("([A-Za-z0-9]+\\.pb|WAProtoConst)",`, 'js']) + .stdout + .toString() + .split("\n") + .forEach(line => { + if (!line) { + return + } + const match = line.match(/^(.+\.js):__d\("([A-Za-z0-9]+\.pb|WAProtoConst)",/) + const file = match[1] + const module = match[2] + if (module.startsWith("MAWArmadillo") && (module.endsWith("TableSchema.pb") || module.endsWith("TablesSchema.pb"))) { + return + } else if (module.startsWith("Instamadillo")) { + return + } + if (!neededFiles.has(file)) { + neededFiles.set(file, []) + } + neededFiles.get(file).push(module) + }) +const neededFilesList = [...neededFiles.entries()] + +const alreadyImported = new Set() +for (const [file, modules] of neededFilesList) { + if (modules.every(mod => alreadyImported.has(mod))) { + console.log("Skipping", file, "(only duplicates)") + } else { + modules.forEach(mod => alreadyImported.add(mod)) + console.log("Requiring", file, "for", modules) + require(`./${file}`) + } +}*/ +require("./protos.js") +console.log("Requirements loaded, evaluating...") +loadLazyModules() +console.log("Everything required") function dereference(obj, module, currentPath, next, ...remainder) { if (!next) { @@ -91,10 +180,16 @@ function renameDependencies(dependencies) { return dependencies .filter(name => name.endsWith(".pb")) .map(renameModule) - .map(name => name === "WAProtocol" ? "WACommon" : name) + // .map(name => name === "WAProtocol" ? "WACommon" : name) } function renameType(protoName, fieldName, field) { + fieldName = fieldName.replace(/Spec$/, "") + if (protoName === "WAWebProtobufsE2E" && fieldName.startsWith("Message$")) { + fieldName = fieldName.replace(/^Message\$/, "") + } else if (protoName === "WASyncAction" && fieldName.startsWith("SyncActionValue$")) { + fieldName = fieldName.replace(/^SyncActionValue\$/, "") + } return fieldName } @@ -106,15 +201,15 @@ for (const [name, module] of Object.entries(modules)) { continue } // Slightly hacky way to get rid of WAProtocol.pb and just use the MessageKey in WACommon - if (name === "WAProtocol.pb") { - if (Object.entries(module.exports).length > 1) { - console.warn("WAProtocol.pb has more than one export") - } - module.exports["MessageKeySpec"].__name__ = "MessageKey" - module.exports["MessageKeySpec"].__module__ = "WACommon" - module.exports["MessageKeySpec"].__path__ = [] - continue - } + // if (name === "WAProtocol.pb" || name === "WAWebProtobufsProtocol.pb") { + // if (Object.entries(module.exports).length > 1) { + // console.warn("WAProtocol.pb has more than one export") + // } + // module.exports["MessageKeySpec"].__name__ = "MessageKey" + // module.exports["MessageKeySpec"].__module__ = "WACommon" + // module.exports["MessageKeySpec"].__path__ = [] + // continue + // } const proto = { __protobuf__: true, messages: {}, @@ -124,8 +219,8 @@ for (const [name, module] of Object.entries(modules)) { } const upperSnakeEnums = [] for (const [name, field] of Object.entries(module.exports)) { - const namePath = name.replace(/Spec$/, "").split("$") - field.__name__ = renameType(proto.__name__, namePath[namePath.length - 1], field) + const namePath = renameType(proto.__name__, name, field).split("$") + field.__name__ = namePath[namePath.length - 1] namePath[namePath.length - 1] = field.__name__ field.__path__ = namePath.slice(0, -1) field.__module__ = proto.__name__ @@ -165,10 +260,10 @@ function flattenWithBlankLines(...items) { .flatMap(item => item) } -function protoifyChildren(container) { +function protoifyChildren(container, proto3) { return flattenWithBlankLines( ...Object.values(container.enums).map(protoifyEnum), - ...Object.values(container.messages).map(protoifyMessage), + ...Object.values(container.messages).map(msg => protoifyMessage(msg, proto3)), ) } @@ -180,7 +275,7 @@ function protoifyEnum(enumDef) { enumDef[names["-1"]] = 0 } else { // TODO add snake case - values.push(`${enumDef.__name__.toUpperCase()}_UNKNOWN = 0;`) + // values.push(`${enumDef.__name__.toUpperCase()}_AUTOGEN_UNKNOWN = 0;`) } } for (const [name, value] of Object.entries(enumDef)) { @@ -194,6 +289,14 @@ function protoifyEnum(enumDef) { const {TYPES, TYPE_MASK, FLAGS} = requireModule("WAProtoConst") +function mapFieldTypeName(ref, parentModule, parentPath) { + if (typeof ref === "object") { + return fieldTypeName(TYPES.MESSAGE, ref, parentModule, parentPath) + } else { + return fieldTypeName(ref, undefined, parentModule, parentPath) + } +} + function fieldTypeName(typeID, typeRef, parentModule, parentPath) { switch (typeID) { case TYPES.INT32: @@ -228,6 +331,8 @@ function fieldTypeName(typeID, typeRef, parentModule, parentPath) { namePath.push(...typeRef.__path__.slice(pathStartIndex)) namePath.push(typeRef.__name__) return namePath.join(".") + case TYPES.MAP: + return `map<${mapFieldTypeName(typeRef[0], parentModule, parentPath)}, ${mapFieldTypeName(typeRef[1], parentModule, parentPath)}>` case TYPES.FIXED64: return "fixed64" case TYPES.SFIXED64: @@ -279,17 +384,21 @@ function fixFieldName(name) { .replace("Sha256", "SHA256") } -function protoifyField(name, [index, flags, typeRef], parentModule, parentPath) { +function protoifyField(name, [index, flags, typeRef], parentModule, parentPath, isOneOf, proto3) { const preflags = [] const postflags = [""] - if ((flags & FLAGS.REPEATED) !== 0) { - preflags.push("repeated") + const isMap = (flags & TYPE_MASK) === TYPES.MAP + if (!isOneOf) { + if ((flags & FLAGS.REPEATED) !== 0) { + preflags.push("repeated") + } else if (!proto3) { + if ((flags & FLAGS.REQUIRED) === 0) { + preflags.push("optional") + } else { + preflags.push("required") + } + } } - // if ((flags & FLAGS.REQUIRED) === 0) { - // preflags.push("optional") - // } else { - // preflags.push("required") - // } preflags.push(fieldTypeName(flags & TYPE_MASK, typeRef, parentModule, parentPath)) if ((flags & FLAGS.PACKED) !== 0) { postflags.push(`[packed=true]`) @@ -297,12 +406,12 @@ function protoifyField(name, [index, flags, typeRef], parentModule, parentPath) return `${preflags.join(" ")} ${fixFieldName(name)} = ${index}${postflags.join(" ")};` } -function protoifyFields(fields, parentModule, parentPath) { - return Object.entries(fields).map(([name, definition]) => protoifyField(name, definition, parentModule, parentPath)) +function protoifyFields(fields, parentModule, parentPath, isOneOf, proto3) { + return Object.entries(fields).map(([name, definition]) => protoifyField(name, definition, parentModule, parentPath, isOneOf, proto3)) } -function protoifyMessage(message) { - const sections = [protoifyChildren(message)] +function protoifyMessage(message, proto3) { + const sections = [protoifyChildren(message, proto3)] const spec = message.message const fullMessagePath = message.__path__.concat([message.__name__]) for (const [name, fieldNames] of Object.entries(spec.__oneofs__ ?? {})) { @@ -311,26 +420,35 @@ function protoifyMessage(message) { delete spec[fieldName] return [fieldName, def] })) - sections.push([`oneof ${name} ` + "{", ...indent(protoifyFields(fields, message.__module__, fullMessagePath)), "}"]) + sections.push([`oneof ${name} ` + "{", ...indent(protoifyFields(fields, message.__module__, fullMessagePath, true, proto3)), "}"]) } if (spec.__reserved__) { console.warn("Found reserved keys:", message.__name__, spec.__reserved__) } delete spec.__oneofs__ delete spec.__reserved__ - sections.push(protoifyFields(spec, message.__module__, fullMessagePath)) + sections.push(protoifyFields(spec, message.__module__, fullMessagePath, false, proto3)) return [`message ${message.__name__} ` + "{", ...indent(flattenWithBlankLines(...sections)), "}"] } function goPackageName(name) { - return name.replace(/^WA/, "wa") + return name.replace(/^WA/, "wa").replace("WebProtobufs", "").replace("Protobufs", "") +} + +const needsProto3 = { + "WAWebProtobufsReporting": true } function protoifyModule(module) { const output = [] - output.push(`syntax = "proto3";`) + const proto3 = needsProto3[module.__name__] + if (proto3) { + output.push(`syntax = "proto3";`) + } else { + output.push(`syntax = "proto2";`) + } output.push(`package ${module.__name__};`) - output.push(`option go_package = "go.mau.fi/whatsmeow/binary/armadillo/${goPackageName(module.__name__)}";`) + output.push(`option go_package = "go.mau.fi/whatsmeow/proto/${goPackageName(module.__name__)}";`) output.push("") if (module.dependencies.length > 0) { for (const dependency of module.dependencies) { @@ -338,7 +456,7 @@ function protoifyModule(module) { } output.push("") } - const children = protoifyChildren(module) + const children = protoifyChildren(module, proto3) children.push("") return output.concat(children) } diff --git a/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go new file mode 100644 index 00000000..80b12712 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go @@ -0,0 +1,562 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waAdv/WAAdv.proto + +package waAdv + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ADVEncryptionType int32 + +const ( + ADVEncryptionType_E2EE ADVEncryptionType = 0 + ADVEncryptionType_HOSTED ADVEncryptionType = 1 +) + +// Enum value maps for ADVEncryptionType. +var ( + ADVEncryptionType_name = map[int32]string{ + 0: "E2EE", + 1: "HOSTED", + } + ADVEncryptionType_value = map[string]int32{ + "E2EE": 0, + "HOSTED": 1, + } +) + +func (x ADVEncryptionType) Enum() *ADVEncryptionType { + p := new(ADVEncryptionType) + *p = x + return p +} + +func (x ADVEncryptionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ADVEncryptionType) Descriptor() protoreflect.EnumDescriptor { + return file_waAdv_WAAdv_proto_enumTypes[0].Descriptor() +} + +func (ADVEncryptionType) Type() protoreflect.EnumType { + return &file_waAdv_WAAdv_proto_enumTypes[0] +} + +func (x ADVEncryptionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ADVEncryptionType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ADVEncryptionType(num) + return nil +} + +// Deprecated: Use ADVEncryptionType.Descriptor instead. +func (ADVEncryptionType) EnumDescriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{0} +} + +type ADVKeyIndexList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawID *uint32 `protobuf:"varint,1,opt,name=rawID" json:"rawID,omitempty"` + Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` + CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"` + ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"` + AccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"` +} + +func (x *ADVKeyIndexList) Reset() { + *x = ADVKeyIndexList{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVKeyIndexList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVKeyIndexList) ProtoMessage() {} + +func (x *ADVKeyIndexList) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVKeyIndexList.ProtoReflect.Descriptor instead. +func (*ADVKeyIndexList) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{0} +} + +func (x *ADVKeyIndexList) GetRawID() uint32 { + if x != nil && x.RawID != nil { + return *x.RawID + } + return 0 +} + +func (x *ADVKeyIndexList) GetTimestamp() uint64 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +func (x *ADVKeyIndexList) GetCurrentIndex() uint32 { + if x != nil && x.CurrentIndex != nil { + return *x.CurrentIndex + } + return 0 +} + +func (x *ADVKeyIndexList) GetValidIndexes() []uint32 { + if x != nil { + return x.ValidIndexes + } + return nil +} + +func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return ADVEncryptionType_E2EE +} + +type ADVSignedKeyIndexList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"` + AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"` +} + +func (x *ADVSignedKeyIndexList) Reset() { + *x = ADVSignedKeyIndexList{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVSignedKeyIndexList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVSignedKeyIndexList) ProtoMessage() {} + +func (x *ADVSignedKeyIndexList) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVSignedKeyIndexList.ProtoReflect.Descriptor instead. +func (*ADVSignedKeyIndexList) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{1} +} + +func (x *ADVSignedKeyIndexList) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte { + if x != nil { + return x.AccountSignature + } + return nil +} + +func (x *ADVSignedKeyIndexList) GetAccountSignatureKey() []byte { + if x != nil { + return x.AccountSignatureKey + } + return nil +} + +type ADVDeviceIdentity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawID *uint32 `protobuf:"varint,1,opt,name=rawID" json:"rawID,omitempty"` + Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` + KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"` + AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"` + DeviceType *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,enum=WAAdv.ADVEncryptionType" json:"deviceType,omitempty"` +} + +func (x *ADVDeviceIdentity) Reset() { + *x = ADVDeviceIdentity{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVDeviceIdentity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVDeviceIdentity) ProtoMessage() {} + +func (x *ADVDeviceIdentity) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVDeviceIdentity.ProtoReflect.Descriptor instead. +func (*ADVDeviceIdentity) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{2} +} + +func (x *ADVDeviceIdentity) GetRawID() uint32 { + if x != nil && x.RawID != nil { + return *x.RawID + } + return 0 +} + +func (x *ADVDeviceIdentity) GetTimestamp() uint64 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +func (x *ADVDeviceIdentity) GetKeyIndex() uint32 { + if x != nil && x.KeyIndex != nil { + return *x.KeyIndex + } + return 0 +} + +func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return ADVEncryptionType_E2EE +} + +func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType { + if x != nil && x.DeviceType != nil { + return *x.DeviceType + } + return ADVEncryptionType_E2EE +} + +type ADVSignedDeviceIdentity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"` + AccountSignature []byte `protobuf:"bytes,3,opt,name=accountSignature" json:"accountSignature,omitempty"` + DeviceSignature []byte `protobuf:"bytes,4,opt,name=deviceSignature" json:"deviceSignature,omitempty"` +} + +func (x *ADVSignedDeviceIdentity) Reset() { + *x = ADVSignedDeviceIdentity{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVSignedDeviceIdentity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVSignedDeviceIdentity) ProtoMessage() {} + +func (x *ADVSignedDeviceIdentity) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVSignedDeviceIdentity.ProtoReflect.Descriptor instead. +func (*ADVSignedDeviceIdentity) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{3} +} + +func (x *ADVSignedDeviceIdentity) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *ADVSignedDeviceIdentity) GetAccountSignatureKey() []byte { + if x != nil { + return x.AccountSignatureKey + } + return nil +} + +func (x *ADVSignedDeviceIdentity) GetAccountSignature() []byte { + if x != nil { + return x.AccountSignature + } + return nil +} + +func (x *ADVSignedDeviceIdentity) GetDeviceSignature() []byte { + if x != nil { + return x.DeviceSignature + } + return nil +} + +type ADVSignedDeviceIdentityHMAC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + HMAC []byte `protobuf:"bytes,2,opt,name=HMAC" json:"HMAC,omitempty"` + AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"` +} + +func (x *ADVSignedDeviceIdentityHMAC) Reset() { + *x = ADVSignedDeviceIdentityHMAC{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVSignedDeviceIdentityHMAC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVSignedDeviceIdentityHMAC) ProtoMessage() {} + +func (x *ADVSignedDeviceIdentityHMAC) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVSignedDeviceIdentityHMAC.ProtoReflect.Descriptor instead. +func (*ADVSignedDeviceIdentityHMAC) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{4} +} + +func (x *ADVSignedDeviceIdentityHMAC) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *ADVSignedDeviceIdentityHMAC) GetHMAC() []byte { + if x != nil { + return x.HMAC + } + return nil +} + +func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return ADVEncryptionType_E2EE +} + +var File_waAdv_WAAdv_proto protoreflect.FileDescriptor + +//go:embed WAAdv.pb.raw +var file_waAdv_WAAdv_proto_rawDesc []byte + +var ( + file_waAdv_WAAdv_proto_rawDescOnce sync.Once + file_waAdv_WAAdv_proto_rawDescData = file_waAdv_WAAdv_proto_rawDesc +) + +func file_waAdv_WAAdv_proto_rawDescGZIP() []byte { + file_waAdv_WAAdv_proto_rawDescOnce.Do(func() { + file_waAdv_WAAdv_proto_rawDescData = protoimpl.X.CompressGZIP(file_waAdv_WAAdv_proto_rawDescData) + }) + return file_waAdv_WAAdv_proto_rawDescData +} + +var file_waAdv_WAAdv_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waAdv_WAAdv_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_waAdv_WAAdv_proto_goTypes = []interface{}{ + (ADVEncryptionType)(0), // 0: WAAdv.ADVEncryptionType + (*ADVKeyIndexList)(nil), // 1: WAAdv.ADVKeyIndexList + (*ADVSignedKeyIndexList)(nil), // 2: WAAdv.ADVSignedKeyIndexList + (*ADVDeviceIdentity)(nil), // 3: WAAdv.ADVDeviceIdentity + (*ADVSignedDeviceIdentity)(nil), // 4: WAAdv.ADVSignedDeviceIdentity + (*ADVSignedDeviceIdentityHMAC)(nil), // 5: WAAdv.ADVSignedDeviceIdentityHMAC +} +var file_waAdv_WAAdv_proto_depIdxs = []int32{ + 0, // 0: WAAdv.ADVKeyIndexList.accountType:type_name -> WAAdv.ADVEncryptionType + 0, // 1: WAAdv.ADVDeviceIdentity.accountType:type_name -> WAAdv.ADVEncryptionType + 0, // 2: WAAdv.ADVDeviceIdentity.deviceType:type_name -> WAAdv.ADVEncryptionType + 0, // 3: WAAdv.ADVSignedDeviceIdentityHMAC.accountType:type_name -> WAAdv.ADVEncryptionType + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_waAdv_WAAdv_proto_init() } +func file_waAdv_WAAdv_proto_init() { + if File_waAdv_WAAdv_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waAdv_WAAdv_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVKeyIndexList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVSignedKeyIndexList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVDeviceIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVSignedDeviceIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVSignedDeviceIdentityHMAC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waAdv_WAAdv_proto_rawDesc, + NumEnums: 1, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waAdv_WAAdv_proto_goTypes, + DependencyIndexes: file_waAdv_WAAdv_proto_depIdxs, + EnumInfos: file_waAdv_WAAdv_proto_enumTypes, + MessageInfos: file_waAdv_WAAdv_proto_msgTypes, + }.Build() + File_waAdv_WAAdv_proto = out.File + file_waAdv_WAAdv_proto_rawDesc = nil + file_waAdv_WAAdv_proto_goTypes = nil + file_waAdv_WAAdv_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..d894e36f1259e56e8eec02f2fd4275593db79075 GIT binary patch literal 1006 zcmbVL%TB^T6m_5|UW>q}u~8GT3xh0L!^*fT(gdQ$q!3NqP1+GBLQC2KA41FIn0J>RD;7w0HRv30J8PeJaJHgg1m z28vWj7BiJZ4q0=3d!-ve$c^udwh`X*sSqezzxwzbcH-FZ79m%*7A>h?2=XDL zD(y3y)}7EH#)tp%_yE!`<2jA}oz!v9q(69uF900DZY8^Cu<8eb{fXN#h0Fb3;$f7j z#U3u4P?WGm6DmS>q-HwI$PL+wx79ZUhfCPkZjCFvTmc3tLX1-){^Jvf=&hRC(wT_J we6DdCB(rRqxit*1Ub|~F&1w!+P9Be2p4K5f?TP7wXTpOH^#;0l)Vg@)-w%Q^uK)l5 literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto b/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto new file mode 100644 index 00000000..07c96c84 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.proto @@ -0,0 +1,43 @@ +syntax = "proto2"; +package WAAdv; +option go_package = "go.mau.fi/whatsmeow/proto/waAdv"; + +enum ADVEncryptionType { + E2EE = 0; + HOSTED = 1; +} + +message ADVKeyIndexList { + optional uint32 rawID = 1; + optional uint64 timestamp = 2; + optional uint32 currentIndex = 3; + repeated uint32 validIndexes = 4 [packed=true]; + optional ADVEncryptionType accountType = 5; +} + +message ADVSignedKeyIndexList { + optional bytes details = 1; + optional bytes accountSignature = 2; + optional bytes accountSignatureKey = 3; +} + +message ADVDeviceIdentity { + optional uint32 rawID = 1; + optional uint64 timestamp = 2; + optional uint32 keyIndex = 3; + optional ADVEncryptionType accountType = 4; + optional ADVEncryptionType deviceType = 5; +} + +message ADVSignedDeviceIdentity { + optional bytes details = 1; + optional bytes accountSignatureKey = 2; + optional bytes accountSignature = 3; + optional bytes deviceSignature = 4; +} + +message ADVSignedDeviceIdentityHMAC { + optional bytes details = 1; + optional bytes HMAC = 2; + optional ADVEncryptionType accountType = 3; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go similarity index 86% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go index 24befe4c..20054351 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waArmadilloApplication/WAArmadilloApplication.proto @@ -10,8 +10,8 @@ import ( reflect "reflect" sync "sync" - waArmadilloXMA "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA" - waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + waArmadilloXMA "go.mau.fi/whatsmeow/proto/waArmadilloXMA" + waCommon "go.mau.fi/whatsmeow/proto/waCommon" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -28,22 +28,19 @@ const ( type Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus int32 const ( - Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EPOCHSTATUS_UNKNOWN Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 0 - Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_OPEN Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 1 - Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_CLOSE Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 2 + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_OPEN Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 1 + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_CLOSE Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 2 ) // Enum value maps for Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus. var ( Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus_name = map[int32]string{ - 0: "EPOCHSTATUS_UNKNOWN", 1: "ES_OPEN", 2: "ES_CLOSE", } Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus_value = map[string]int32{ - "EPOCHSTATUS_UNKNOWN": 0, - "ES_OPEN": 1, - "ES_CLOSE": 2, + "ES_OPEN": 1, + "ES_CLOSE": 2, } ) @@ -69,6 +66,16 @@ func (x Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) Number() pro return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus(num) + return nil +} + // Deprecated: Use Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus.Descriptor instead. func (Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) EnumDescriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 3, 0, 0, 0} @@ -172,6 +179,16 @@ func (x Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) Number() pro return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Armadillo_Content_PaymentsTransactionMessage_PaymentStatus(num) + return nil +} + // Deprecated: Use Armadillo_Content_PaymentsTransactionMessage_PaymentStatus.Descriptor instead. func (Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) EnumDescriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 0, 0} @@ -180,22 +197,19 @@ func (Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) EnumDescriptor type Armadillo_Content_ScreenshotAction_ScreenshotType int32 const ( - Armadillo_Content_ScreenshotAction_SCREENSHOTTYPE_UNKNOWN Armadillo_Content_ScreenshotAction_ScreenshotType = 0 - Armadillo_Content_ScreenshotAction_SCREENSHOT_IMAGE Armadillo_Content_ScreenshotAction_ScreenshotType = 1 - Armadillo_Content_ScreenshotAction_SCREEN_RECORDING Armadillo_Content_ScreenshotAction_ScreenshotType = 2 + Armadillo_Content_ScreenshotAction_SCREENSHOT_IMAGE Armadillo_Content_ScreenshotAction_ScreenshotType = 1 + Armadillo_Content_ScreenshotAction_SCREEN_RECORDING Armadillo_Content_ScreenshotAction_ScreenshotType = 2 ) // Enum value maps for Armadillo_Content_ScreenshotAction_ScreenshotType. var ( Armadillo_Content_ScreenshotAction_ScreenshotType_name = map[int32]string{ - 0: "SCREENSHOTTYPE_UNKNOWN", 1: "SCREENSHOT_IMAGE", 2: "SCREEN_RECORDING", } Armadillo_Content_ScreenshotAction_ScreenshotType_value = map[string]int32{ - "SCREENSHOTTYPE_UNKNOWN": 0, - "SCREENSHOT_IMAGE": 1, - "SCREEN_RECORDING": 2, + "SCREENSHOT_IMAGE": 1, + "SCREEN_RECORDING": 2, } ) @@ -221,6 +235,16 @@ func (x Armadillo_Content_ScreenshotAction_ScreenshotType) Number() protoreflect return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Armadillo_Content_ScreenshotAction_ScreenshotType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Armadillo_Content_ScreenshotAction_ScreenshotType(num) + return nil +} + // Deprecated: Use Armadillo_Content_ScreenshotAction_ScreenshotType.Descriptor instead. func (Armadillo_Content_ScreenshotAction_ScreenshotType) EnumDescriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 4, 0} @@ -270,6 +294,16 @@ func (x Armadillo_Content_RavenActionNotifMessage_ActionType) Number() protorefl return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Armadillo_Content_RavenActionNotifMessage_ActionType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Armadillo_Content_RavenActionNotifMessage_ActionType(num) + return nil +} + // Deprecated: Use Armadillo_Content_RavenActionNotifMessage_ActionType.Descriptor instead. func (Armadillo_Content_RavenActionNotifMessage_ActionType) EnumDescriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 6, 0} @@ -319,6 +353,16 @@ func (x Armadillo_Content_RavenMessage_EphemeralType) Number() protoreflect.Enum return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Armadillo_Content_RavenMessage_EphemeralType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Armadillo_Content_RavenMessage_EphemeralType(num) + return nil +} + // Deprecated: Use Armadillo_Content_RavenMessage_EphemeralType.Descriptor instead. func (Armadillo_Content_RavenMessage_EphemeralType) EnumDescriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 7, 0} @@ -327,25 +371,22 @@ func (Armadillo_Content_RavenMessage_EphemeralType) EnumDescriptor() ([]byte, [] type Armadillo_Content_CommonSticker_StickerType int32 const ( - Armadillo_Content_CommonSticker_STICKERTYPE_UNKNOWN Armadillo_Content_CommonSticker_StickerType = 0 - Armadillo_Content_CommonSticker_SMALL_LIKE Armadillo_Content_CommonSticker_StickerType = 1 - Armadillo_Content_CommonSticker_MEDIUM_LIKE Armadillo_Content_CommonSticker_StickerType = 2 - Armadillo_Content_CommonSticker_LARGE_LIKE Armadillo_Content_CommonSticker_StickerType = 3 + Armadillo_Content_CommonSticker_SMALL_LIKE Armadillo_Content_CommonSticker_StickerType = 1 + Armadillo_Content_CommonSticker_MEDIUM_LIKE Armadillo_Content_CommonSticker_StickerType = 2 + Armadillo_Content_CommonSticker_LARGE_LIKE Armadillo_Content_CommonSticker_StickerType = 3 ) // Enum value maps for Armadillo_Content_CommonSticker_StickerType. var ( Armadillo_Content_CommonSticker_StickerType_name = map[int32]string{ - 0: "STICKERTYPE_UNKNOWN", 1: "SMALL_LIKE", 2: "MEDIUM_LIKE", 3: "LARGE_LIKE", } Armadillo_Content_CommonSticker_StickerType_value = map[string]int32{ - "STICKERTYPE_UNKNOWN": 0, - "SMALL_LIKE": 1, - "MEDIUM_LIKE": 2, - "LARGE_LIKE": 3, + "SMALL_LIKE": 1, + "MEDIUM_LIKE": 2, + "LARGE_LIKE": 3, } ) @@ -371,6 +412,16 @@ func (x Armadillo_Content_CommonSticker_StickerType) Number() protoreflect.EnumN return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Armadillo_Content_CommonSticker_StickerType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Armadillo_Content_CommonSticker_StickerType(num) + return nil +} + // Deprecated: Use Armadillo_Content_CommonSticker_StickerType.Descriptor instead. func (Armadillo_Content_CommonSticker_StickerType) EnumDescriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 8, 0} @@ -381,8 +432,8 @@ type Armadillo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Payload *Armadillo_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Metadata *Armadillo_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Payload *Armadillo_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` + Metadata *Armadillo_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } func (x *Armadillo) Reset() { @@ -555,19 +606,19 @@ type isArmadillo_Payload_Payload interface { } type Armadillo_Payload_Content struct { - Content *Armadillo_Content `protobuf:"bytes,1,opt,name=content,proto3,oneof"` + Content *Armadillo_Content `protobuf:"bytes,1,opt,name=content,oneof"` } type Armadillo_Payload_ApplicationData struct { - ApplicationData *Armadillo_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,proto3,oneof"` + ApplicationData *Armadillo_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,oneof"` } type Armadillo_Payload_Signal struct { - Signal *Armadillo_Signal `protobuf:"bytes,3,opt,name=signal,proto3,oneof"` + Signal *Armadillo_Signal `protobuf:"bytes,3,opt,name=signal,oneof"` } type Armadillo_Payload_SubProtocol struct { - SubProtocol *Armadillo_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,oneof"` + SubProtocol *Armadillo_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,oneof"` } func (*Armadillo_Payload_Content) isArmadillo_Payload_Payload() {} @@ -583,7 +634,7 @@ type Armadillo_SubProtocolPayload struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` + FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` } func (x *Armadillo_SubProtocolPayload) Reset() { @@ -619,8 +670,8 @@ func (*Armadillo_SubProtocolPayload) Descriptor() ([]byte, []int) { } func (x *Armadillo_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior { - if x != nil { - return x.FutureProof + if x != nil && x.FutureProof != nil { + return *x.FutureProof } return waCommon.FutureProofBehavior(0) } @@ -687,7 +738,7 @@ type isArmadillo_Signal_Signal interface { } type Armadillo_Signal_EncryptedBackupsSecrets_ struct { - EncryptedBackupsSecrets *Armadillo_Signal_EncryptedBackupsSecrets `protobuf:"bytes,1,opt,name=encryptedBackupsSecrets,proto3,oneof"` + EncryptedBackupsSecrets *Armadillo_Signal_EncryptedBackupsSecrets `protobuf:"bytes,1,opt,name=encryptedBackupsSecrets,oneof"` } func (*Armadillo_Signal_EncryptedBackupsSecrets_) isArmadillo_Signal_Signal() {} @@ -762,11 +813,11 @@ type isArmadillo_ApplicationData_ApplicationData interface { } type Armadillo_ApplicationData_MetadataSync struct { - MetadataSync *Armadillo_ApplicationData_MetadataSyncNotification `protobuf:"bytes,1,opt,name=metadataSync,proto3,oneof"` + MetadataSync *Armadillo_ApplicationData_MetadataSyncNotification `protobuf:"bytes,1,opt,name=metadataSync,oneof"` } type Armadillo_ApplicationData_AiBotResponse struct { - AiBotResponse *Armadillo_ApplicationData_AIBotResponseMessage `protobuf:"bytes,2,opt,name=aiBotResponse,proto3,oneof"` + AiBotResponse *Armadillo_ApplicationData_AIBotResponseMessage `protobuf:"bytes,2,opt,name=aiBotResponse,oneof"` } func (*Armadillo_ApplicationData_MetadataSync) isArmadillo_ApplicationData_ApplicationData() {} @@ -790,6 +841,7 @@ type Armadillo_Content struct { // *Armadillo_Content_PaymentsTransactionMessage_ // *Armadillo_Content_BumpExistingMessage_ // *Armadillo_Content_NoteReplyMessage_ + // *Armadillo_Content_RavenMessageMsgr Content isArmadillo_Content_Content `protobuf_oneof:"content"` } @@ -902,48 +954,59 @@ func (x *Armadillo_Content) GetNoteReplyMessage() *Armadillo_Content_NoteReplyMe return nil } +func (x *Armadillo_Content) GetRavenMessageMsgr() *Armadillo_Content_RavenMessage { + if x, ok := x.GetContent().(*Armadillo_Content_RavenMessageMsgr); ok { + return x.RavenMessageMsgr + } + return nil +} + type isArmadillo_Content_Content interface { isArmadillo_Content_Content() } type Armadillo_Content_CommonSticker_ struct { - CommonSticker *Armadillo_Content_CommonSticker `protobuf:"bytes,1,opt,name=commonSticker,proto3,oneof"` + CommonSticker *Armadillo_Content_CommonSticker `protobuf:"bytes,1,opt,name=commonSticker,oneof"` } type Armadillo_Content_ScreenshotAction_ struct { - ScreenshotAction *Armadillo_Content_ScreenshotAction `protobuf:"bytes,3,opt,name=screenshotAction,proto3,oneof"` + ScreenshotAction *Armadillo_Content_ScreenshotAction `protobuf:"bytes,3,opt,name=screenshotAction,oneof"` } type Armadillo_Content_ExtendedContentMessage struct { - ExtendedContentMessage *waArmadilloXMA.ExtendedContentMessage `protobuf:"bytes,4,opt,name=extendedContentMessage,proto3,oneof"` + ExtendedContentMessage *waArmadilloXMA.ExtendedContentMessage `protobuf:"bytes,4,opt,name=extendedContentMessage,oneof"` } type Armadillo_Content_RavenMessage_ struct { - RavenMessage *Armadillo_Content_RavenMessage `protobuf:"bytes,5,opt,name=ravenMessage,proto3,oneof"` + RavenMessage *Armadillo_Content_RavenMessage `protobuf:"bytes,5,opt,name=ravenMessage,oneof"` } type Armadillo_Content_RavenActionNotifMessage_ struct { - RavenActionNotifMessage *Armadillo_Content_RavenActionNotifMessage `protobuf:"bytes,6,opt,name=ravenActionNotifMessage,proto3,oneof"` + RavenActionNotifMessage *Armadillo_Content_RavenActionNotifMessage `protobuf:"bytes,6,opt,name=ravenActionNotifMessage,oneof"` } type Armadillo_Content_ExtendedMessageContentWithSear struct { - ExtendedMessageContentWithSear *Armadillo_Content_ExtendedContentMessageWithSear `protobuf:"bytes,7,opt,name=extendedMessageContentWithSear,proto3,oneof"` + ExtendedMessageContentWithSear *Armadillo_Content_ExtendedContentMessageWithSear `protobuf:"bytes,7,opt,name=extendedMessageContentWithSear,oneof"` } type Armadillo_Content_ImageGalleryMessage_ struct { - ImageGalleryMessage *Armadillo_Content_ImageGalleryMessage `protobuf:"bytes,8,opt,name=imageGalleryMessage,proto3,oneof"` + ImageGalleryMessage *Armadillo_Content_ImageGalleryMessage `protobuf:"bytes,8,opt,name=imageGalleryMessage,oneof"` } type Armadillo_Content_PaymentsTransactionMessage_ struct { - PaymentsTransactionMessage *Armadillo_Content_PaymentsTransactionMessage `protobuf:"bytes,10,opt,name=paymentsTransactionMessage,proto3,oneof"` + PaymentsTransactionMessage *Armadillo_Content_PaymentsTransactionMessage `protobuf:"bytes,10,opt,name=paymentsTransactionMessage,oneof"` } type Armadillo_Content_BumpExistingMessage_ struct { - BumpExistingMessage *Armadillo_Content_BumpExistingMessage `protobuf:"bytes,11,opt,name=bumpExistingMessage,proto3,oneof"` + BumpExistingMessage *Armadillo_Content_BumpExistingMessage `protobuf:"bytes,11,opt,name=bumpExistingMessage,oneof"` } type Armadillo_Content_NoteReplyMessage_ struct { - NoteReplyMessage *Armadillo_Content_NoteReplyMessage `protobuf:"bytes,13,opt,name=noteReplyMessage,proto3,oneof"` + NoteReplyMessage *Armadillo_Content_NoteReplyMessage `protobuf:"bytes,13,opt,name=noteReplyMessage,oneof"` +} + +type Armadillo_Content_RavenMessageMsgr struct { + RavenMessageMsgr *Armadillo_Content_RavenMessage `protobuf:"bytes,14,opt,name=ravenMessageMsgr,oneof"` } func (*Armadillo_Content_CommonSticker_) isArmadillo_Content_Content() {} @@ -966,17 +1029,19 @@ func (*Armadillo_Content_BumpExistingMessage_) isArmadillo_Content_Content() {} func (*Armadillo_Content_NoteReplyMessage_) isArmadillo_Content_Content() {} +func (*Armadillo_Content_RavenMessageMsgr) isArmadillo_Content_Content() {} + type Armadillo_Signal_EncryptedBackupsSecrets struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - BackupID uint64 `protobuf:"varint,1,opt,name=backupID,proto3" json:"backupID,omitempty"` - ServerDataID uint64 `protobuf:"varint,2,opt,name=serverDataID,proto3" json:"serverDataID,omitempty"` - Epoch []*Armadillo_Signal_EncryptedBackupsSecrets_Epoch `protobuf:"bytes,3,rep,name=epoch,proto3" json:"epoch,omitempty"` - TempOcmfClientState []byte `protobuf:"bytes,4,opt,name=tempOcmfClientState,proto3" json:"tempOcmfClientState,omitempty"` - MailboxRootKey []byte `protobuf:"bytes,5,opt,name=mailboxRootKey,proto3" json:"mailboxRootKey,omitempty"` - ObliviousValidationToken []byte `protobuf:"bytes,6,opt,name=obliviousValidationToken,proto3" json:"obliviousValidationToken,omitempty"` + BackupID *uint64 `protobuf:"varint,1,opt,name=backupID" json:"backupID,omitempty"` + ServerDataID *uint64 `protobuf:"varint,2,opt,name=serverDataID" json:"serverDataID,omitempty"` + Epoch []*Armadillo_Signal_EncryptedBackupsSecrets_Epoch `protobuf:"bytes,3,rep,name=epoch" json:"epoch,omitempty"` + TempOcmfClientState []byte `protobuf:"bytes,4,opt,name=tempOcmfClientState" json:"tempOcmfClientState,omitempty"` + MailboxRootKey []byte `protobuf:"bytes,5,opt,name=mailboxRootKey" json:"mailboxRootKey,omitempty"` + ObliviousValidationToken []byte `protobuf:"bytes,6,opt,name=obliviousValidationToken" json:"obliviousValidationToken,omitempty"` } func (x *Armadillo_Signal_EncryptedBackupsSecrets) Reset() { @@ -1012,15 +1077,15 @@ func (*Armadillo_Signal_EncryptedBackupsSecrets) Descriptor() ([]byte, []int) { } func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetBackupID() uint64 { - if x != nil { - return x.BackupID + if x != nil && x.BackupID != nil { + return *x.BackupID } return 0 } func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetServerDataID() uint64 { - if x != nil { - return x.ServerDataID + if x != nil && x.ServerDataID != nil { + return *x.ServerDataID } return 0 } @@ -1058,10 +1123,10 @@ type Armadillo_Signal_EncryptedBackupsSecrets_Epoch struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` - AnonID []byte `protobuf:"bytes,2,opt,name=anonID,proto3" json:"anonID,omitempty"` - RootKey []byte `protobuf:"bytes,3,opt,name=rootKey,proto3" json:"rootKey,omitempty"` - Status Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus `protobuf:"varint,4,opt,name=status,proto3,enum=WAArmadilloApplication.Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus" json:"status,omitempty"` + ID *uint64 `protobuf:"varint,1,opt,name=ID" json:"ID,omitempty"` + AnonID []byte `protobuf:"bytes,2,opt,name=anonID" json:"anonID,omitempty"` + RootKey []byte `protobuf:"bytes,3,opt,name=rootKey" json:"rootKey,omitempty"` + Status *Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus `protobuf:"varint,4,opt,name=status,enum=WAArmadilloApplication.Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus" json:"status,omitempty"` } func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) Reset() { @@ -1097,8 +1162,8 @@ func (*Armadillo_Signal_EncryptedBackupsSecrets_Epoch) Descriptor() ([]byte, []i } func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetID() uint64 { - if x != nil { - return x.ID + if x != nil && x.ID != nil { + return *x.ID } return 0 } @@ -1118,10 +1183,10 @@ func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetRootKey() []byte { } func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetStatus() Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus { - if x != nil { - return x.Status + if x != nil && x.Status != nil { + return *x.Status } - return Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EPOCHSTATUS_UNKNOWN + return Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_OPEN } type Armadillo_ApplicationData_AIBotResponseMessage struct { @@ -1129,9 +1194,9 @@ type Armadillo_ApplicationData_AIBotResponseMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SummonToken string `protobuf:"bytes,1,opt,name=summonToken,proto3" json:"summonToken,omitempty"` - MessageText string `protobuf:"bytes,2,opt,name=messageText,proto3" json:"messageText,omitempty"` - SerializedExtras string `protobuf:"bytes,3,opt,name=serializedExtras,proto3" json:"serializedExtras,omitempty"` + SummonToken *string `protobuf:"bytes,1,opt,name=summonToken" json:"summonToken,omitempty"` + MessageText *string `protobuf:"bytes,2,opt,name=messageText" json:"messageText,omitempty"` + SerializedExtras *string `protobuf:"bytes,3,opt,name=serializedExtras" json:"serializedExtras,omitempty"` } func (x *Armadillo_ApplicationData_AIBotResponseMessage) Reset() { @@ -1167,22 +1232,22 @@ func (*Armadillo_ApplicationData_AIBotResponseMessage) Descriptor() ([]byte, []i } func (x *Armadillo_ApplicationData_AIBotResponseMessage) GetSummonToken() string { - if x != nil { - return x.SummonToken + if x != nil && x.SummonToken != nil { + return *x.SummonToken } return "" } func (x *Armadillo_ApplicationData_AIBotResponseMessage) GetMessageText() string { - if x != nil { - return x.MessageText + if x != nil && x.MessageText != nil { + return *x.MessageText } return "" } func (x *Armadillo_ApplicationData_AIBotResponseMessage) GetSerializedExtras() string { - if x != nil { - return x.SerializedExtras + if x != nil && x.SerializedExtras != nil { + return *x.SerializedExtras } return "" } @@ -1197,7 +1262,7 @@ type Armadillo_ApplicationData_MetadataSyncAction struct { // *Armadillo_ApplicationData_MetadataSyncAction_ChatAction // *Armadillo_ApplicationData_MetadataSyncAction_MessageAction ActionType isArmadillo_ApplicationData_MetadataSyncAction_ActionType `protobuf_oneof:"actionType"` - ActionTimestamp int64 `protobuf:"varint,1,opt,name=actionTimestamp,proto3" json:"actionTimestamp,omitempty"` + ActionTimestamp *int64 `protobuf:"varint,1,opt,name=actionTimestamp" json:"actionTimestamp,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction) Reset() { @@ -1254,8 +1319,8 @@ func (x *Armadillo_ApplicationData_MetadataSyncAction) GetMessageAction() *Armad } func (x *Armadillo_ApplicationData_MetadataSyncAction) GetActionTimestamp() int64 { - if x != nil { - return x.ActionTimestamp + if x != nil && x.ActionTimestamp != nil { + return *x.ActionTimestamp } return 0 } @@ -1265,11 +1330,11 @@ type isArmadillo_ApplicationData_MetadataSyncAction_ActionType interface { } type Armadillo_ApplicationData_MetadataSyncAction_ChatAction struct { - ChatAction *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction `protobuf:"bytes,101,opt,name=chatAction,proto3,oneof"` + ChatAction *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction `protobuf:"bytes,101,opt,name=chatAction,oneof"` } type Armadillo_ApplicationData_MetadataSyncAction_MessageAction struct { - MessageAction *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction `protobuf:"bytes,102,opt,name=messageAction,proto3,oneof"` + MessageAction *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction `protobuf:"bytes,102,opt,name=messageAction,oneof"` } func (*Armadillo_ApplicationData_MetadataSyncAction_ChatAction) isArmadillo_ApplicationData_MetadataSyncAction_ActionType() { @@ -1283,7 +1348,7 @@ type Armadillo_ApplicationData_MetadataSyncNotification struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Actions []*Armadillo_ApplicationData_MetadataSyncAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` + Actions []*Armadillo_ApplicationData_MetadataSyncAction `protobuf:"bytes,2,rep,name=actions" json:"actions,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncNotification) Reset() { @@ -1334,7 +1399,7 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction struct { // // *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete Action isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action `protobuf_oneof:"action"` - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) Reset() { @@ -1395,7 +1460,7 @@ type isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action int } type Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete struct { - MessageDelete *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete `protobuf:"bytes,101,opt,name=messageDelete,proto3,oneof"` + MessageDelete *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete `protobuf:"bytes,101,opt,name=messageDelete,oneof"` } func (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete) isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action() { @@ -1412,7 +1477,7 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction struct { // *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete // *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead Action isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action `protobuf_oneof:"action"` - ChatID string `protobuf:"bytes,1,opt,name=chatID,proto3" json:"chatID,omitempty"` + ChatID *string `protobuf:"bytes,1,opt,name=chatID" json:"chatID,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) Reset() { @@ -1476,8 +1541,8 @@ func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetChatRea } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetChatID() string { - if x != nil { - return x.ChatID + if x != nil && x.ChatID != nil { + return *x.ChatID } return "" } @@ -1487,15 +1552,15 @@ type isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action interf } type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive struct { - ChatArchive *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive `protobuf:"bytes,101,opt,name=chatArchive,proto3,oneof"` + ChatArchive *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive `protobuf:"bytes,101,opt,name=chatArchive,oneof"` } type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete struct { - ChatDelete *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete `protobuf:"bytes,102,opt,name=chatDelete,proto3,oneof"` + ChatDelete *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete `protobuf:"bytes,102,opt,name=chatDelete,oneof"` } type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead struct { - ChatRead *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead `protobuf:"bytes,103,opt,name=chatRead,proto3,oneof"` + ChatRead *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead `protobuf:"bytes,103,opt,name=chatRead,oneof"` } func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive) isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action() { @@ -1512,8 +1577,8 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) Reset() { @@ -1556,8 +1621,8 @@ func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) GetKey( } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) GetTimestamp() int64 { - if x != nil { - return x.Timestamp + if x != nil && x.Timestamp != nil { + return *x.Timestamp } return 0 } @@ -1567,9 +1632,9 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange struct sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - LastMessageTimestamp int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp,proto3" json:"lastMessageTimestamp,omitempty"` - LastSystemMessageTimestamp int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp,proto3" json:"lastSystemMessageTimestamp,omitempty"` - Messages []*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` + LastMessageTimestamp *int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp" json:"lastMessageTimestamp,omitempty"` + LastSystemMessageTimestamp *int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp" json:"lastSystemMessageTimestamp,omitempty"` + Messages []*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage `protobuf:"bytes,3,rep,name=messages" json:"messages,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) Reset() { @@ -1605,15 +1670,15 @@ func (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) Desc } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) GetLastMessageTimestamp() int64 { - if x != nil { - return x.LastMessageTimestamp + if x != nil && x.LastMessageTimestamp != nil { + return *x.LastMessageTimestamp } return 0 } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) GetLastSystemMessageTimestamp() int64 { - if x != nil { - return x.LastSystemMessageTimestamp + if x != nil && x.LastSystemMessageTimestamp != nil { + return *x.LastSystemMessageTimestamp } return 0 } @@ -1669,8 +1734,8 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` - Read bool `protobuf:"varint,2,opt,name=read,proto3" json:"read,omitempty"` + MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"` + Read *bool `protobuf:"varint,2,opt,name=read" json:"read,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) Reset() { @@ -1713,8 +1778,8 @@ func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatR } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) GetRead() bool { - if x != nil { - return x.Read + if x != nil && x.Read != nil { + return *x.Read } return false } @@ -1724,7 +1789,7 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelet sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` + MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) Reset() { @@ -1771,8 +1836,8 @@ type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchi sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` - Archived bool `protobuf:"varint,2,opt,name=archived,proto3" json:"archived,omitempty"` + MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange" json:"messageRange,omitempty"` + Archived *bool `protobuf:"varint,2,opt,name=archived" json:"archived,omitempty"` } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) Reset() { @@ -1816,8 +1881,8 @@ func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatA } func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) GetArchived() bool { - if x != nil { - return x.Archived + if x != nil && x.Archived != nil { + return *x.Archived } return false } @@ -1827,11 +1892,11 @@ type Armadillo_Content_PaymentsTransactionMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransactionID uint64 `protobuf:"varint,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` - Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` - Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` - PaymentStatus Armadillo_Content_PaymentsTransactionMessage_PaymentStatus `protobuf:"varint,4,opt,name=paymentStatus,proto3,enum=WAArmadilloApplication.Armadillo_Content_PaymentsTransactionMessage_PaymentStatus" json:"paymentStatus,omitempty"` - ExtendedContentMessage *waArmadilloXMA.ExtendedContentMessage `protobuf:"bytes,5,opt,name=extendedContentMessage,proto3" json:"extendedContentMessage,omitempty"` + TransactionID *uint64 `protobuf:"varint,1,opt,name=transactionID" json:"transactionID,omitempty"` + Amount *string `protobuf:"bytes,2,opt,name=amount" json:"amount,omitempty"` + Currency *string `protobuf:"bytes,3,opt,name=currency" json:"currency,omitempty"` + PaymentStatus *Armadillo_Content_PaymentsTransactionMessage_PaymentStatus `protobuf:"varint,4,opt,name=paymentStatus,enum=WAArmadilloApplication.Armadillo_Content_PaymentsTransactionMessage_PaymentStatus" json:"paymentStatus,omitempty"` + ExtendedContentMessage *waArmadilloXMA.ExtendedContentMessage `protobuf:"bytes,5,opt,name=extendedContentMessage" json:"extendedContentMessage,omitempty"` } func (x *Armadillo_Content_PaymentsTransactionMessage) Reset() { @@ -1867,29 +1932,29 @@ func (*Armadillo_Content_PaymentsTransactionMessage) Descriptor() ([]byte, []int } func (x *Armadillo_Content_PaymentsTransactionMessage) GetTransactionID() uint64 { - if x != nil { - return x.TransactionID + if x != nil && x.TransactionID != nil { + return *x.TransactionID } return 0 } func (x *Armadillo_Content_PaymentsTransactionMessage) GetAmount() string { - if x != nil { - return x.Amount + if x != nil && x.Amount != nil { + return *x.Amount } return "" } func (x *Armadillo_Content_PaymentsTransactionMessage) GetCurrency() string { - if x != nil { - return x.Currency + if x != nil && x.Currency != nil { + return *x.Currency } return "" } func (x *Armadillo_Content_PaymentsTransactionMessage) GetPaymentStatus() Armadillo_Content_PaymentsTransactionMessage_PaymentStatus { - if x != nil { - return x.PaymentStatus + if x != nil && x.PaymentStatus != nil { + return *x.PaymentStatus } return Armadillo_Content_PaymentsTransactionMessage_PAYMENT_UNKNOWN } @@ -1906,10 +1971,15 @@ type Armadillo_Content_NoteReplyMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NoteID string `protobuf:"bytes,1,opt,name=noteID,proto3" json:"noteID,omitempty"` - NoteText *waCommon.MessageText `protobuf:"bytes,2,opt,name=noteText,proto3" json:"noteText,omitempty"` - NoteTimestampMS int64 `protobuf:"varint,3,opt,name=noteTimestampMS,proto3" json:"noteTimestampMS,omitempty"` - NoteReplyText *waCommon.MessageText `protobuf:"bytes,4,opt,name=noteReplyText,proto3" json:"noteReplyText,omitempty"` + // Types that are assignable to NoteReplyContent: + // + // *Armadillo_Content_NoteReplyMessage_TextContent + // *Armadillo_Content_NoteReplyMessage_StickerContent + // *Armadillo_Content_NoteReplyMessage_VideoContent + NoteReplyContent isArmadillo_Content_NoteReplyMessage_NoteReplyContent `protobuf_oneof:"noteReplyContent"` + NoteID *string `protobuf:"bytes,1,opt,name=noteID" json:"noteID,omitempty"` + NoteText *waCommon.MessageText `protobuf:"bytes,2,opt,name=noteText" json:"noteText,omitempty"` + NoteTimestampMS *int64 `protobuf:"varint,3,opt,name=noteTimestampMS" json:"noteTimestampMS,omitempty"` } func (x *Armadillo_Content_NoteReplyMessage) Reset() { @@ -1944,9 +2014,37 @@ func (*Armadillo_Content_NoteReplyMessage) Descriptor() ([]byte, []int) { return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 1} } +func (m *Armadillo_Content_NoteReplyMessage) GetNoteReplyContent() isArmadillo_Content_NoteReplyMessage_NoteReplyContent { + if m != nil { + return m.NoteReplyContent + } + return nil +} + +func (x *Armadillo_Content_NoteReplyMessage) GetTextContent() *waCommon.MessageText { + if x, ok := x.GetNoteReplyContent().(*Armadillo_Content_NoteReplyMessage_TextContent); ok { + return x.TextContent + } + return nil +} + +func (x *Armadillo_Content_NoteReplyMessage) GetStickerContent() *waCommon.SubProtocol { + if x, ok := x.GetNoteReplyContent().(*Armadillo_Content_NoteReplyMessage_StickerContent); ok { + return x.StickerContent + } + return nil +} + +func (x *Armadillo_Content_NoteReplyMessage) GetVideoContent() *waCommon.SubProtocol { + if x, ok := x.GetNoteReplyContent().(*Armadillo_Content_NoteReplyMessage_VideoContent); ok { + return x.VideoContent + } + return nil +} + func (x *Armadillo_Content_NoteReplyMessage) GetNoteID() string { - if x != nil { - return x.NoteID + if x != nil && x.NoteID != nil { + return *x.NoteID } return "" } @@ -1959,17 +2057,35 @@ func (x *Armadillo_Content_NoteReplyMessage) GetNoteText() *waCommon.MessageText } func (x *Armadillo_Content_NoteReplyMessage) GetNoteTimestampMS() int64 { - if x != nil { - return x.NoteTimestampMS + if x != nil && x.NoteTimestampMS != nil { + return *x.NoteTimestampMS } return 0 } -func (x *Armadillo_Content_NoteReplyMessage) GetNoteReplyText() *waCommon.MessageText { - if x != nil { - return x.NoteReplyText - } - return nil +type isArmadillo_Content_NoteReplyMessage_NoteReplyContent interface { + isArmadillo_Content_NoteReplyMessage_NoteReplyContent() +} + +type Armadillo_Content_NoteReplyMessage_TextContent struct { + TextContent *waCommon.MessageText `protobuf:"bytes,4,opt,name=textContent,oneof"` +} + +type Armadillo_Content_NoteReplyMessage_StickerContent struct { + StickerContent *waCommon.SubProtocol `protobuf:"bytes,5,opt,name=stickerContent,oneof"` +} + +type Armadillo_Content_NoteReplyMessage_VideoContent struct { + VideoContent *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=videoContent,oneof"` +} + +func (*Armadillo_Content_NoteReplyMessage_TextContent) isArmadillo_Content_NoteReplyMessage_NoteReplyContent() { +} + +func (*Armadillo_Content_NoteReplyMessage_StickerContent) isArmadillo_Content_NoteReplyMessage_NoteReplyContent() { +} + +func (*Armadillo_Content_NoteReplyMessage_VideoContent) isArmadillo_Content_NoteReplyMessage_NoteReplyContent() { } type Armadillo_Content_BumpExistingMessage struct { @@ -1977,7 +2093,7 @@ type Armadillo_Content_BumpExistingMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` } func (x *Armadillo_Content_BumpExistingMessage) Reset() { @@ -2024,7 +2140,7 @@ type Armadillo_Content_ImageGalleryMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Images []*waCommon.SubProtocol `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` + Images []*waCommon.SubProtocol `protobuf:"bytes,1,rep,name=images" json:"images,omitempty"` } func (x *Armadillo_Content_ImageGalleryMessage) Reset() { @@ -2071,7 +2187,7 @@ type Armadillo_Content_ScreenshotAction struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ScreenshotType Armadillo_Content_ScreenshotAction_ScreenshotType `protobuf:"varint,1,opt,name=screenshotType,proto3,enum=WAArmadilloApplication.Armadillo_Content_ScreenshotAction_ScreenshotType" json:"screenshotType,omitempty"` + ScreenshotType *Armadillo_Content_ScreenshotAction_ScreenshotType `protobuf:"varint,1,opt,name=screenshotType,enum=WAArmadilloApplication.Armadillo_Content_ScreenshotAction_ScreenshotType" json:"screenshotType,omitempty"` } func (x *Armadillo_Content_ScreenshotAction) Reset() { @@ -2107,10 +2223,10 @@ func (*Armadillo_Content_ScreenshotAction) Descriptor() ([]byte, []int) { } func (x *Armadillo_Content_ScreenshotAction) GetScreenshotType() Armadillo_Content_ScreenshotAction_ScreenshotType { - if x != nil { - return x.ScreenshotType + if x != nil && x.ScreenshotType != nil { + return *x.ScreenshotType } - return Armadillo_Content_ScreenshotAction_SCREENSHOTTYPE_UNKNOWN + return Armadillo_Content_ScreenshotAction_SCREENSHOT_IMAGE } type Armadillo_Content_ExtendedContentMessageWithSear struct { @@ -2118,11 +2234,11 @@ type Armadillo_Content_ExtendedContentMessageWithSear struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SearID string `protobuf:"bytes,1,opt,name=searID,proto3" json:"searID,omitempty"` - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - NativeURL string `protobuf:"bytes,3,opt,name=nativeURL,proto3" json:"nativeURL,omitempty"` - SearAssociatedMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=searAssociatedMessage,proto3" json:"searAssociatedMessage,omitempty"` - SearSentWithMessageID string `protobuf:"bytes,5,opt,name=searSentWithMessageID,proto3" json:"searSentWithMessageID,omitempty"` + SearID *string `protobuf:"bytes,1,opt,name=searID" json:"searID,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` + NativeURL *string `protobuf:"bytes,3,opt,name=nativeURL" json:"nativeURL,omitempty"` + SearAssociatedMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=searAssociatedMessage" json:"searAssociatedMessage,omitempty"` + SearSentWithMessageID *string `protobuf:"bytes,5,opt,name=searSentWithMessageID" json:"searSentWithMessageID,omitempty"` } func (x *Armadillo_Content_ExtendedContentMessageWithSear) Reset() { @@ -2158,8 +2274,8 @@ func (*Armadillo_Content_ExtendedContentMessageWithSear) Descriptor() ([]byte, [ } func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetSearID() string { - if x != nil { - return x.SearID + if x != nil && x.SearID != nil { + return *x.SearID } return "" } @@ -2172,8 +2288,8 @@ func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetPayload() []byte { } func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetNativeURL() string { - if x != nil { - return x.NativeURL + if x != nil && x.NativeURL != nil { + return *x.NativeURL } return "" } @@ -2186,8 +2302,8 @@ func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetSearAssociatedMess } func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetSearSentWithMessageID() string { - if x != nil { - return x.SearSentWithMessageID + if x != nil && x.SearSentWithMessageID != nil { + return *x.SearSentWithMessageID } return "" } @@ -2197,9 +2313,9 @@ type Armadillo_Content_RavenActionNotifMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - ActionTimestamp int64 `protobuf:"varint,2,opt,name=actionTimestamp,proto3" json:"actionTimestamp,omitempty"` - ActionType Armadillo_Content_RavenActionNotifMessage_ActionType `protobuf:"varint,3,opt,name=actionType,proto3,enum=WAArmadilloApplication.Armadillo_Content_RavenActionNotifMessage_ActionType" json:"actionType,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + ActionTimestamp *int64 `protobuf:"varint,2,opt,name=actionTimestamp" json:"actionTimestamp,omitempty"` + ActionType *Armadillo_Content_RavenActionNotifMessage_ActionType `protobuf:"varint,3,opt,name=actionType,enum=WAArmadilloApplication.Armadillo_Content_RavenActionNotifMessage_ActionType" json:"actionType,omitempty"` } func (x *Armadillo_Content_RavenActionNotifMessage) Reset() { @@ -2242,15 +2358,15 @@ func (x *Armadillo_Content_RavenActionNotifMessage) GetKey() *waCommon.MessageKe } func (x *Armadillo_Content_RavenActionNotifMessage) GetActionTimestamp() int64 { - if x != nil { - return x.ActionTimestamp + if x != nil && x.ActionTimestamp != nil { + return *x.ActionTimestamp } return 0 } func (x *Armadillo_Content_RavenActionNotifMessage) GetActionType() Armadillo_Content_RavenActionNotifMessage_ActionType { - if x != nil { - return x.ActionType + if x != nil && x.ActionType != nil { + return *x.ActionType } return Armadillo_Content_RavenActionNotifMessage_PLAYED } @@ -2265,7 +2381,7 @@ type Armadillo_Content_RavenMessage struct { // *Armadillo_Content_RavenMessage_ImageMessage // *Armadillo_Content_RavenMessage_VideoMessage MediaContent isArmadillo_Content_RavenMessage_MediaContent `protobuf_oneof:"mediaContent"` - EphemeralType Armadillo_Content_RavenMessage_EphemeralType `protobuf:"varint,1,opt,name=ephemeralType,proto3,enum=WAArmadilloApplication.Armadillo_Content_RavenMessage_EphemeralType" json:"ephemeralType,omitempty"` + EphemeralType *Armadillo_Content_RavenMessage_EphemeralType `protobuf:"varint,1,opt,name=ephemeralType,enum=WAArmadilloApplication.Armadillo_Content_RavenMessage_EphemeralType" json:"ephemeralType,omitempty"` } func (x *Armadillo_Content_RavenMessage) Reset() { @@ -2322,8 +2438,8 @@ func (x *Armadillo_Content_RavenMessage) GetVideoMessage() *waCommon.SubProtocol } func (x *Armadillo_Content_RavenMessage) GetEphemeralType() Armadillo_Content_RavenMessage_EphemeralType { - if x != nil { - return x.EphemeralType + if x != nil && x.EphemeralType != nil { + return *x.EphemeralType } return Armadillo_Content_RavenMessage_VIEW_ONCE } @@ -2333,11 +2449,11 @@ type isArmadillo_Content_RavenMessage_MediaContent interface { } type Armadillo_Content_RavenMessage_ImageMessage struct { - ImageMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=imageMessage,proto3,oneof"` + ImageMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=imageMessage,oneof"` } type Armadillo_Content_RavenMessage_VideoMessage struct { - VideoMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=videoMessage,proto3,oneof"` + VideoMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=videoMessage,oneof"` } func (*Armadillo_Content_RavenMessage_ImageMessage) isArmadillo_Content_RavenMessage_MediaContent() {} @@ -2349,7 +2465,7 @@ type Armadillo_Content_CommonSticker struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StickerType Armadillo_Content_CommonSticker_StickerType `protobuf:"varint,1,opt,name=stickerType,proto3,enum=WAArmadilloApplication.Armadillo_Content_CommonSticker_StickerType" json:"stickerType,omitempty"` + StickerType *Armadillo_Content_CommonSticker_StickerType `protobuf:"varint,1,opt,name=stickerType,enum=WAArmadilloApplication.Armadillo_Content_CommonSticker_StickerType" json:"stickerType,omitempty"` } func (x *Armadillo_Content_CommonSticker) Reset() { @@ -2385,10 +2501,10 @@ func (*Armadillo_Content_CommonSticker) Descriptor() ([]byte, []int) { } func (x *Armadillo_Content_CommonSticker) GetStickerType() Armadillo_Content_CommonSticker_StickerType { - if x != nil { - return x.StickerType + if x != nil && x.StickerType != nil { + return *x.StickerType } - return Armadillo_Content_CommonSticker_STICKERTYPE_UNKNOWN + return Armadillo_Content_CommonSticker_SMALL_LIKE } var File_waArmadilloApplication_WAArmadilloApplication_proto protoreflect.FileDescriptor @@ -2473,40 +2589,43 @@ var file_waArmadilloApplication_WAArmadilloApplication_proto_depIdxs = []int32{ 26, // 17: WAArmadilloApplication.Armadillo.Content.paymentsTransactionMessage:type_name -> WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage 28, // 18: WAArmadilloApplication.Armadillo.Content.bumpExistingMessage:type_name -> WAArmadilloApplication.Armadillo.Content.BumpExistingMessage 27, // 19: WAArmadilloApplication.Armadillo.Content.noteReplyMessage:type_name -> WAArmadilloApplication.Armadillo.Content.NoteReplyMessage - 14, // 20: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.epoch:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch - 0, // 21: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.status:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.EpochStatus - 19, // 22: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.chatAction:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction - 18, // 23: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.messageAction:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction - 16, // 24: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncNotification.actions:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction - 22, // 25: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.messageDelete:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete - 37, // 26: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.key:type_name -> WACommon.MessageKey - 25, // 27: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatArchive:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive - 24, // 28: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatDelete:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete - 23, // 29: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatRead:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead - 37, // 30: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage.key:type_name -> WACommon.MessageKey - 20, // 31: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange.messages:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage - 21, // 32: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange - 21, // 33: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange - 21, // 34: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange - 1, // 35: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.paymentStatus:type_name -> WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.PaymentStatus - 36, // 36: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.extendedContentMessage:type_name -> WAArmadilloXMA.ExtendedContentMessage - 38, // 37: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.noteText:type_name -> WACommon.MessageText - 38, // 38: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.noteReplyText:type_name -> WACommon.MessageText - 37, // 39: WAArmadilloApplication.Armadillo.Content.BumpExistingMessage.key:type_name -> WACommon.MessageKey - 39, // 40: WAArmadilloApplication.Armadillo.Content.ImageGalleryMessage.images:type_name -> WACommon.SubProtocol - 2, // 41: WAArmadilloApplication.Armadillo.Content.ScreenshotAction.screenshotType:type_name -> WAArmadilloApplication.Armadillo.Content.ScreenshotAction.ScreenshotType - 39, // 42: WAArmadilloApplication.Armadillo.Content.ExtendedContentMessageWithSear.searAssociatedMessage:type_name -> WACommon.SubProtocol - 37, // 43: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.key:type_name -> WACommon.MessageKey - 3, // 44: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.actionType:type_name -> WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.ActionType - 39, // 45: WAArmadilloApplication.Armadillo.Content.RavenMessage.imageMessage:type_name -> WACommon.SubProtocol - 39, // 46: WAArmadilloApplication.Armadillo.Content.RavenMessage.videoMessage:type_name -> WACommon.SubProtocol - 4, // 47: WAArmadilloApplication.Armadillo.Content.RavenMessage.ephemeralType:type_name -> WAArmadilloApplication.Armadillo.Content.RavenMessage.EphemeralType - 5, // 48: WAArmadilloApplication.Armadillo.Content.CommonSticker.stickerType:type_name -> WAArmadilloApplication.Armadillo.Content.CommonSticker.StickerType - 49, // [49:49] is the sub-list for method output_type - 49, // [49:49] is the sub-list for method input_type - 49, // [49:49] is the sub-list for extension type_name - 49, // [49:49] is the sub-list for extension extendee - 0, // [0:49] is the sub-list for field type_name + 33, // 20: WAArmadilloApplication.Armadillo.Content.ravenMessageMsgr:type_name -> WAArmadilloApplication.Armadillo.Content.RavenMessage + 14, // 21: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.epoch:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch + 0, // 22: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.status:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.EpochStatus + 19, // 23: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.chatAction:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction + 18, // 24: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.messageAction:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction + 16, // 25: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncNotification.actions:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction + 22, // 26: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.messageDelete:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete + 37, // 27: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.key:type_name -> WACommon.MessageKey + 25, // 28: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatArchive:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive + 24, // 29: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatDelete:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete + 23, // 30: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatRead:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead + 37, // 31: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage.key:type_name -> WACommon.MessageKey + 20, // 32: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange.messages:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage + 21, // 33: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + 21, // 34: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + 21, // 35: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + 1, // 36: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.paymentStatus:type_name -> WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.PaymentStatus + 36, // 37: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.extendedContentMessage:type_name -> WAArmadilloXMA.ExtendedContentMessage + 38, // 38: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.textContent:type_name -> WACommon.MessageText + 39, // 39: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.stickerContent:type_name -> WACommon.SubProtocol + 39, // 40: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.videoContent:type_name -> WACommon.SubProtocol + 38, // 41: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.noteText:type_name -> WACommon.MessageText + 37, // 42: WAArmadilloApplication.Armadillo.Content.BumpExistingMessage.key:type_name -> WACommon.MessageKey + 39, // 43: WAArmadilloApplication.Armadillo.Content.ImageGalleryMessage.images:type_name -> WACommon.SubProtocol + 2, // 44: WAArmadilloApplication.Armadillo.Content.ScreenshotAction.screenshotType:type_name -> WAArmadilloApplication.Armadillo.Content.ScreenshotAction.ScreenshotType + 39, // 45: WAArmadilloApplication.Armadillo.Content.ExtendedContentMessageWithSear.searAssociatedMessage:type_name -> WACommon.SubProtocol + 37, // 46: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.key:type_name -> WACommon.MessageKey + 3, // 47: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.actionType:type_name -> WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.ActionType + 39, // 48: WAArmadilloApplication.Armadillo.Content.RavenMessage.imageMessage:type_name -> WACommon.SubProtocol + 39, // 49: WAArmadilloApplication.Armadillo.Content.RavenMessage.videoMessage:type_name -> WACommon.SubProtocol + 4, // 50: WAArmadilloApplication.Armadillo.Content.RavenMessage.ephemeralType:type_name -> WAArmadilloApplication.Armadillo.Content.RavenMessage.EphemeralType + 5, // 51: WAArmadilloApplication.Armadillo.Content.CommonSticker.stickerType:type_name -> WAArmadilloApplication.Armadillo.Content.CommonSticker.StickerType + 52, // [52:52] is the sub-list for method output_type + 52, // [52:52] is the sub-list for method input_type + 52, // [52:52] is the sub-list for extension type_name + 52, // [52:52] is the sub-list for extension extendee + 0, // [0:52] is the sub-list for field type_name } func init() { file_waArmadilloApplication_WAArmadilloApplication_proto_init() } @@ -2888,6 +3007,7 @@ func file_waArmadilloApplication_WAArmadilloApplication_proto_init() { (*Armadillo_Content_PaymentsTransactionMessage_)(nil), (*Armadillo_Content_BumpExistingMessage_)(nil), (*Armadillo_Content_NoteReplyMessage_)(nil), + (*Armadillo_Content_RavenMessageMsgr)(nil), } file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[10].OneofWrappers = []interface{}{ (*Armadillo_ApplicationData_MetadataSyncAction_ChatAction)(nil), @@ -2901,6 +3021,11 @@ func file_waArmadilloApplication_WAArmadilloApplication_proto_init() { (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete)(nil), (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead)(nil), } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[21].OneofWrappers = []interface{}{ + (*Armadillo_Content_NoteReplyMessage_TextContent)(nil), + (*Armadillo_Content_NoteReplyMessage_StickerContent)(nil), + (*Armadillo_Content_NoteReplyMessage_VideoContent)(nil), + } file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[27].OneofWrappers = []interface{}{ (*Armadillo_Content_RavenMessage_ImageMessage)(nil), (*Armadillo_Content_RavenMessage_VideoMessage)(nil), diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw similarity index 87% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw index 5af063fa9fd6602b307e5a875871ae3fea3188ed..7ee41cb72ea010157850d4e8e867e6eb1b6b98db 100644 GIT binary patch delta 343 zcmbPiv%+>l57RU2jeX%vjE5#aW9ndBzd4`TpONwYi6WO^dES(Cq!MNBA#OQ0yREH%$JwYWGjJ=M23y-0#@a-o2|AcpwnRl@t2m98*x z3Hargqz0uHUMQC!3c&V_H5SKt6%oR{;btT#v4^Q4I(JpAi z#TT4hl$x4XoRMD=Qdy9?Ia9KonQ`0Xk1`c}c3j-S5SM^tCQp#HWj2a3n0!H2grlG+ Oza(G3JaO_zRuKS41bC4E delta 325 zcmZ2sJK1JJ57R!YjeX%vjJGF0W9nc$u{odFpONv$KQVVh_eN&5z6Vp>CH%XKV2w8LS=D{RFQY$837nkD;LKWhYY-hYb zd6HziZUh%!aB@*o@lNW9I4LUW)xhBk8SxcEB<_5iK67JQRK? zN^Ra)i)Ul`Mdv?=UKj56vmm7kR_Y1CLwC^ekpg79N-WR9u3jTh&NV=)9x#Iqcu!0d z0K} z%f+e-zy8uDF>OaDboTXIK{MslqG%pAN{6QBkg9P6htY*R+TJ?OpYcM#dWF+gv476Q YW#IFEvD4*(7yAr%1J-P{+q`b#UnS6T-2eap delta 209 zcmZ1}wODe3KhtE1je#pz7>`f>#d2cu2iB!_)?B>KC5cX@B_;WJA(aKGLXupf&LNIY zp&=puej$+ouJNIM-hTe!egX_a{9N4r0j_@WevToYVXgw)O5T%qu*pn*$fj?p^pT58 z*tMc0H7_MK#W_C@$S46DC(kAA8WG~^=i=((3^dTyF9g-l%|`4lER)%IelVLx8Bb>9 n6;V&h%u6h))K4tRO-#wm$;sC*PjrN_BYYi`*b0jBOY)5Yl~O{< diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.proto b/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto similarity index 60% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.proto rename to vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto index 7197a241..f71aa556 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.proto +++ b/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto @@ -1,6 +1,6 @@ -syntax = "proto3"; +syntax = "proto2"; package WAArmadilloXMA; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA"; +option go_package = "go.mau.fi/whatsmeow/proto/waArmadilloXMA"; import "waCommon/WACommon.proto"; @@ -19,19 +19,19 @@ message ExtendedContentMessage { } enum CtaButtonType { - CTABUTTONTYPE_UNKNOWN = 0; OPEN_NATIVE = 11; } enum XmaLayoutType { SINGLE = 0; + HSCROLL = 1; PORTRAIT = 3; STANDARD_DXMA = 12; LIST_DXMA = 15; + GRID = 16; } enum ExtendedContentType { - EXTENDEDCONTENTTYPE_UNKNOWN = 0; IG_STORY_PHOTO_MENTION = 4; IG_SINGLE_IMAGE_POST_SHARE = 9; IG_MULTIPOST_SHARE = 10; @@ -73,6 +73,12 @@ message ExtendedContentMessage { MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008; MSG_REELS_LIST = 2009; MSG_CONTACT = 2010; + MSG_THREADS_POST_SHARE = 2011; + MSG_FILE = 2012; + MSG_AVATAR_DETAILS = 2013; + MSG_AI_CONTACT = 2014; + MSG_MEMORIES_SHARE = 2015; + MSG_SHARED_ALBUM_REPLY = 2016; RTC_AUDIO_CALL = 3000; RTC_VIDEO_CALL = 3001; RTC_MISSED_AUDIO_CALL = 3002; @@ -85,34 +91,35 @@ message ExtendedContentMessage { } message CTA { - CtaButtonType buttonType = 1; - string title = 2; - string actionURL = 3; - string nativeURL = 4; - string ctaType = 5; + optional CtaButtonType buttonType = 1; + optional string title = 2; + optional string actionURL = 3; + optional string nativeURL = 4; + optional string ctaType = 5; + optional string actionContentBlob = 6; } - WACommon.SubProtocol associatedMessage = 1; - ExtendedContentType targetType = 2; - string targetUsername = 3; - string targetID = 4; - int64 targetExpiringAtSec = 5; - XmaLayoutType xmaLayoutType = 6; + optional WACommon.SubProtocol associatedMessage = 1; + optional ExtendedContentType targetType = 2; + optional string targetUsername = 3; + optional string targetID = 4; + optional int64 targetExpiringAtSec = 5; + optional XmaLayoutType xmaLayoutType = 6; repeated CTA ctas = 7; repeated WACommon.SubProtocol previews = 8; - string titleText = 9; - string subtitleText = 10; - uint32 maxTitleNumOfLines = 11; - uint32 maxSubtitleNumOfLines = 12; - WACommon.SubProtocol favicon = 13; - WACommon.SubProtocol headerImage = 14; - string headerTitle = 15; - OverlayIconGlyph overlayIconGlyph = 16; - string overlayTitle = 17; - string overlayDescription = 18; - string sentWithMessageID = 19; - string messageText = 20; - string headerSubtitle = 21; - string xmaDataclass = 22; - string contentRef = 23; + optional string titleText = 9; + optional string subtitleText = 10; + optional uint32 maxTitleNumOfLines = 11; + optional uint32 maxSubtitleNumOfLines = 12; + optional WACommon.SubProtocol favicon = 13; + optional WACommon.SubProtocol headerImage = 14; + optional string headerTitle = 15; + optional OverlayIconGlyph overlayIconGlyph = 16; + optional string overlayTitle = 17; + optional string overlayDescription = 18; + optional string sentWithMessageID = 19; + optional string messageText = 20; + optional string headerSubtitle = 21; + optional string xmaDataclass = 22; + optional string contentRef = 23; } diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go new file mode 100644 index 00000000..2e7e9a24 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go @@ -0,0 +1,469 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waCert/WACert.proto + +package waCert + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type NoiseCertificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` +} + +func (x *NoiseCertificate) Reset() { + *x = NoiseCertificate{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NoiseCertificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoiseCertificate) ProtoMessage() {} + +func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoiseCertificate.ProtoReflect.Descriptor instead. +func (*NoiseCertificate) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{0} +} + +func (x *NoiseCertificate) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *NoiseCertificate) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type CertChain struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Leaf *CertChain_NoiseCertificate `protobuf:"bytes,1,opt,name=leaf" json:"leaf,omitempty"` + Intermediate *CertChain_NoiseCertificate `protobuf:"bytes,2,opt,name=intermediate" json:"intermediate,omitempty"` +} + +func (x *CertChain) Reset() { + *x = CertChain{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertChain) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertChain) ProtoMessage() {} + +func (x *CertChain) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertChain.ProtoReflect.Descriptor instead. +func (*CertChain) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{1} +} + +func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate { + if x != nil { + return x.Leaf + } + return nil +} + +func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate { + if x != nil { + return x.Intermediate + } + return nil +} + +type NoiseCertificate_Details struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"` + Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"` + Expires *uint64 `protobuf:"varint,3,opt,name=expires" json:"expires,omitempty"` + Subject *string `protobuf:"bytes,4,opt,name=subject" json:"subject,omitempty"` + Key []byte `protobuf:"bytes,5,opt,name=key" json:"key,omitempty"` +} + +func (x *NoiseCertificate_Details) Reset() { + *x = NoiseCertificate_Details{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NoiseCertificate_Details) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoiseCertificate_Details) ProtoMessage() {} + +func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoiseCertificate_Details.ProtoReflect.Descriptor instead. +func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *NoiseCertificate_Details) GetSerial() uint32 { + if x != nil && x.Serial != nil { + return *x.Serial + } + return 0 +} + +func (x *NoiseCertificate_Details) GetIssuer() string { + if x != nil && x.Issuer != nil { + return *x.Issuer + } + return "" +} + +func (x *NoiseCertificate_Details) GetExpires() uint64 { + if x != nil && x.Expires != nil { + return *x.Expires + } + return 0 +} + +func (x *NoiseCertificate_Details) GetSubject() string { + if x != nil && x.Subject != nil { + return *x.Subject + } + return "" +} + +func (x *NoiseCertificate_Details) GetKey() []byte { + if x != nil { + return x.Key + } + return nil +} + +type CertChain_NoiseCertificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` +} + +func (x *CertChain_NoiseCertificate) Reset() { + *x = CertChain_NoiseCertificate{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertChain_NoiseCertificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertChain_NoiseCertificate) ProtoMessage() {} + +func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertChain_NoiseCertificate.ProtoReflect.Descriptor instead. +func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *CertChain_NoiseCertificate) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *CertChain_NoiseCertificate) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type CertChain_NoiseCertificate_Details struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Serial *uint32 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"` + IssuerSerial *uint32 `protobuf:"varint,2,opt,name=issuerSerial" json:"issuerSerial,omitempty"` + Key []byte `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` + NotBefore *uint64 `protobuf:"varint,4,opt,name=notBefore" json:"notBefore,omitempty"` + NotAfter *uint64 `protobuf:"varint,5,opt,name=notAfter" json:"notAfter,omitempty"` +} + +func (x *CertChain_NoiseCertificate_Details) Reset() { + *x = CertChain_NoiseCertificate_Details{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertChain_NoiseCertificate_Details) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertChain_NoiseCertificate_Details) ProtoMessage() {} + +func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead. +func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{1, 0, 0} +} + +func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 { + if x != nil && x.Serial != nil { + return *x.Serial + } + return 0 +} + +func (x *CertChain_NoiseCertificate_Details) GetIssuerSerial() uint32 { + if x != nil && x.IssuerSerial != nil { + return *x.IssuerSerial + } + return 0 +} + +func (x *CertChain_NoiseCertificate_Details) GetKey() []byte { + if x != nil { + return x.Key + } + return nil +} + +func (x *CertChain_NoiseCertificate_Details) GetNotBefore() uint64 { + if x != nil && x.NotBefore != nil { + return *x.NotBefore + } + return 0 +} + +func (x *CertChain_NoiseCertificate_Details) GetNotAfter() uint64 { + if x != nil && x.NotAfter != nil { + return *x.NotAfter + } + return 0 +} + +var File_waCert_WACert_proto protoreflect.FileDescriptor + +//go:embed WACert.pb.raw +var file_waCert_WACert_proto_rawDesc []byte + +var ( + file_waCert_WACert_proto_rawDescOnce sync.Once + file_waCert_WACert_proto_rawDescData = file_waCert_WACert_proto_rawDesc +) + +func file_waCert_WACert_proto_rawDescGZIP() []byte { + file_waCert_WACert_proto_rawDescOnce.Do(func() { + file_waCert_WACert_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCert_WACert_proto_rawDescData) + }) + return file_waCert_WACert_proto_rawDescData +} + +var file_waCert_WACert_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_waCert_WACert_proto_goTypes = []interface{}{ + (*NoiseCertificate)(nil), // 0: WACert.NoiseCertificate + (*CertChain)(nil), // 1: WACert.CertChain + (*NoiseCertificate_Details)(nil), // 2: WACert.NoiseCertificate.Details + (*CertChain_NoiseCertificate)(nil), // 3: WACert.CertChain.NoiseCertificate + (*CertChain_NoiseCertificate_Details)(nil), // 4: WACert.CertChain.NoiseCertificate.Details +} +var file_waCert_WACert_proto_depIdxs = []int32{ + 3, // 0: WACert.CertChain.leaf:type_name -> WACert.CertChain.NoiseCertificate + 3, // 1: WACert.CertChain.intermediate:type_name -> WACert.CertChain.NoiseCertificate + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_waCert_WACert_proto_init() } +func file_waCert_WACert_proto_init() { + if File_waCert_WACert_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waCert_WACert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain_NoiseCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain_NoiseCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waCert_WACert_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waCert_WACert_proto_goTypes, + DependencyIndexes: file_waCert_WACert_proto_depIdxs, + MessageInfos: file_waCert_WACert_proto_msgTypes, + }.Build() + File_waCert_WACert_proto = out.File + file_waCert_WACert_proto_rawDesc = nil + file_waCert_WACert_proto_goTypes = nil + file_waCert_WACert_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw new file mode 100644 index 00000000..ae70c93c --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw @@ -0,0 +1,23 @@ + +waCert/WACert.protoWACert"Ë +NoiseCertificate +details ( Rdetails + signature ( R signature +Details +serial ( Rserial +issuer ( Rissuer +expires (Rexpires +subject ( Rsubject +key ( Rkey"ì + CertChain6 +leaf ( 2".WACert.CertChain.NoiseCertificateRleafF + intermediate ( 2".WACert.CertChain.NoiseCertificateR intermediateÞ +NoiseCertificate +details ( Rdetails + signature ( R signature‘ +Details +serial ( Rserial" + issuerSerial ( R issuerSerial +key ( Rkey + notBefore (R notBefore +notAfter (RnotAfterB"Z go.mau.fi/whatsmeow/proto/waCert \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto b/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto new file mode 100644 index 00000000..1da8c826 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.proto @@ -0,0 +1,34 @@ +syntax = "proto2"; +package WACert; +option go_package = "go.mau.fi/whatsmeow/proto/waCert"; + +message NoiseCertificate { + message Details { + optional uint32 serial = 1; + optional string issuer = 2; + optional uint64 expires = 3; + optional string subject = 4; + optional bytes key = 5; + } + + optional bytes details = 1; + optional bytes signature = 2; +} + +message CertChain { + message NoiseCertificate { + message Details { + optional uint32 serial = 1; + optional uint32 issuerSerial = 2; + optional bytes key = 3; + optional uint64 notBefore = 4; + optional uint64 notAfter = 5; + } + + optional bytes details = 1; + optional bytes signature = 2; + } + + optional NoiseCertificate leaf = 1; + optional NoiseCertificate intermediate = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go new file mode 100644 index 00000000..d7e98ed4 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go @@ -0,0 +1,150 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waChatLockSettings/WAProtobufsChatLockSettings.proto + +package waChatLockSettings + +import ( + reflect "reflect" + sync "sync" + + waUserPassword "go.mau.fi/whatsmeow/proto/waUserPassword" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ChatLockSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HideLockedChats *bool `protobuf:"varint,1,opt,name=hideLockedChats" json:"hideLockedChats,omitempty"` + SecretCode *waUserPassword.UserPassword `protobuf:"bytes,2,opt,name=secretCode" json:"secretCode,omitempty"` +} + +func (x *ChatLockSettings) Reset() { + *x = ChatLockSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatLockSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatLockSettings) ProtoMessage() {} + +func (x *ChatLockSettings) ProtoReflect() protoreflect.Message { + mi := &file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatLockSettings.ProtoReflect.Descriptor instead. +func (*ChatLockSettings) Descriptor() ([]byte, []int) { + return file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescGZIP(), []int{0} +} + +func (x *ChatLockSettings) GetHideLockedChats() bool { + if x != nil && x.HideLockedChats != nil { + return *x.HideLockedChats + } + return false +} + +func (x *ChatLockSettings) GetSecretCode() *waUserPassword.UserPassword { + if x != nil { + return x.SecretCode + } + return nil +} + +var File_waChatLockSettings_WAProtobufsChatLockSettings_proto protoreflect.FileDescriptor + +//go:embed WAProtobufsChatLockSettings.pb.raw +var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc []byte + +var ( + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescOnce sync.Once + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData = file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc +) + +func file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescGZIP() []byte { + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescOnce.Do(func() { + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData = protoimpl.X.CompressGZIP(file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData) + }) + return file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDescData +} + +var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes = []interface{}{ + (*ChatLockSettings)(nil), // 0: WAProtobufsChatLockSettings.ChatLockSettings + (*waUserPassword.UserPassword)(nil), // 1: WAProtobufsUserPassword.UserPassword +} +var file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs = []int32{ + 1, // 0: WAProtobufsChatLockSettings.ChatLockSettings.secretCode:type_name -> WAProtobufsUserPassword.UserPassword + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_waChatLockSettings_WAProtobufsChatLockSettings_proto_init() } +func file_waChatLockSettings_WAProtobufsChatLockSettings_proto_init() { + if File_waChatLockSettings_WAProtobufsChatLockSettings_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatLockSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes, + DependencyIndexes: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs, + MessageInfos: file_waChatLockSettings_WAProtobufsChatLockSettings_proto_msgTypes, + }.Build() + File_waChatLockSettings_WAProtobufsChatLockSettings_proto = out.File + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_rawDesc = nil + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_goTypes = nil + file_waChatLockSettings_WAProtobufsChatLockSettings_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw new file mode 100644 index 00000000..92c0c343 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw @@ -0,0 +1,7 @@ + +4waChatLockSettings/WAProtobufsChatLockSettings.protoWAProtobufsChatLockSettings,waUserPassword/WAProtobufsUserPassword.proto"ƒ +ChatLockSettings( +hideLockedChats (RhideLockedChatsE + +secretCode ( 2%.WAProtobufsUserPassword.UserPasswordR +secretCodeB.Z,go.mau.fi/whatsmeow/proto/waChatLockSettings \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto b/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto new file mode 100644 index 00000000..574529a5 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.proto @@ -0,0 +1,10 @@ +syntax = "proto2"; +package WAProtobufsChatLockSettings; +option go_package = "go.mau.fi/whatsmeow/proto/waChatLockSettings"; + +import "waUserPassword/WAProtobufsUserPassword.proto"; + +message ChatLockSettings { + optional bool hideLockedChats = 1; + optional WAProtobufsUserPassword.UserPassword secretCode = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go similarity index 81% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go index 1224d43a..7d565952 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waCommon/WACommon.proto @@ -67,6 +67,16 @@ func (x FutureProofBehavior) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *FutureProofBehavior) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FutureProofBehavior(num) + return nil +} + // Deprecated: Use FutureProofBehavior.Descriptor instead. func (FutureProofBehavior) EnumDescriptor() ([]byte, []int) { return file_waCommon_WACommon_proto_rawDescGZIP(), []int{0} @@ -75,25 +85,25 @@ func (FutureProofBehavior) EnumDescriptor() ([]byte, []int) { type Command_CommandType int32 const ( - Command_COMMANDTYPE_UNKNOWN Command_CommandType = 0 - Command_EVERYONE Command_CommandType = 1 - Command_SILENT Command_CommandType = 2 - Command_AI Command_CommandType = 3 + Command_EVERYONE Command_CommandType = 1 + Command_SILENT Command_CommandType = 2 + Command_AI Command_CommandType = 3 + Command_AI_IMAGINE Command_CommandType = 4 ) // Enum value maps for Command_CommandType. var ( Command_CommandType_name = map[int32]string{ - 0: "COMMANDTYPE_UNKNOWN", 1: "EVERYONE", 2: "SILENT", 3: "AI", + 4: "AI_IMAGINE", } Command_CommandType_value = map[string]int32{ - "COMMANDTYPE_UNKNOWN": 0, - "EVERYONE": 1, - "SILENT": 2, - "AI": 3, + "EVERYONE": 1, + "SILENT": 2, + "AI": 3, + "AI_IMAGINE": 4, } ) @@ -119,6 +129,16 @@ func (x Command_CommandType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *Command_CommandType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Command_CommandType(num) + return nil +} + // Deprecated: Use Command_CommandType.Descriptor instead. func (Command_CommandType) EnumDescriptor() ([]byte, []int) { return file_waCommon_WACommon_proto_rawDescGZIP(), []int{1, 0} @@ -129,10 +149,10 @@ type MessageKey struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RemoteJID string `protobuf:"bytes,1,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` - FromMe bool `protobuf:"varint,2,opt,name=fromMe,proto3" json:"fromMe,omitempty"` - ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"` - Participant string `protobuf:"bytes,4,opt,name=participant,proto3" json:"participant,omitempty"` + RemoteJID *string `protobuf:"bytes,1,opt,name=remoteJID" json:"remoteJID,omitempty"` + FromMe *bool `protobuf:"varint,2,opt,name=fromMe" json:"fromMe,omitempty"` + ID *string `protobuf:"bytes,3,opt,name=ID" json:"ID,omitempty"` + Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` } func (x *MessageKey) Reset() { @@ -168,29 +188,29 @@ func (*MessageKey) Descriptor() ([]byte, []int) { } func (x *MessageKey) GetRemoteJID() string { - if x != nil { - return x.RemoteJID + if x != nil && x.RemoteJID != nil { + return *x.RemoteJID } return "" } func (x *MessageKey) GetFromMe() bool { - if x != nil { - return x.FromMe + if x != nil && x.FromMe != nil { + return *x.FromMe } return false } func (x *MessageKey) GetID() string { - if x != nil { - return x.ID + if x != nil && x.ID != nil { + return *x.ID } return "" } func (x *MessageKey) GetParticipant() string { - if x != nil { - return x.Participant + if x != nil && x.Participant != nil { + return *x.Participant } return "" } @@ -200,10 +220,10 @@ type Command struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CommandType Command_CommandType `protobuf:"varint,1,opt,name=commandType,proto3,enum=WACommon.Command_CommandType" json:"commandType,omitempty"` - Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` - ValidationToken string `protobuf:"bytes,4,opt,name=validationToken,proto3" json:"validationToken,omitempty"` + CommandType *Command_CommandType `protobuf:"varint,1,opt,name=commandType,enum=WACommon.Command_CommandType" json:"commandType,omitempty"` + Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` + Length *uint32 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"` + ValidationToken *string `protobuf:"bytes,4,opt,name=validationToken" json:"validationToken,omitempty"` } func (x *Command) Reset() { @@ -239,29 +259,29 @@ func (*Command) Descriptor() ([]byte, []int) { } func (x *Command) GetCommandType() Command_CommandType { - if x != nil { - return x.CommandType + if x != nil && x.CommandType != nil { + return *x.CommandType } - return Command_COMMANDTYPE_UNKNOWN + return Command_EVERYONE } func (x *Command) GetOffset() uint32 { - if x != nil { - return x.Offset + if x != nil && x.Offset != nil { + return *x.Offset } return 0 } func (x *Command) GetLength() uint32 { - if x != nil { - return x.Length + if x != nil && x.Length != nil { + return *x.Length } return 0 } func (x *Command) GetValidationToken() string { - if x != nil { - return x.ValidationToken + if x != nil && x.ValidationToken != nil { + return *x.ValidationToken } return "" } @@ -271,9 +291,9 @@ type MessageText struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID,proto3" json:"mentionedJID,omitempty"` - Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` + Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID" json:"mentionedJID,omitempty"` + Commands []*Command `protobuf:"bytes,3,rep,name=commands" json:"commands,omitempty"` } func (x *MessageText) Reset() { @@ -309,8 +329,8 @@ func (*MessageText) Descriptor() ([]byte, []int) { } func (x *MessageText) GetText() string { - if x != nil { - return x.Text + if x != nil && x.Text != nil { + return *x.Text } return "" } @@ -334,8 +354,8 @@ type SubProtocol struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + Payload []byte `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` + Version *int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` } func (x *SubProtocol) Reset() { @@ -378,8 +398,8 @@ func (x *SubProtocol) GetPayload() []byte { } func (x *SubProtocol) GetVersion() int32 { - if x != nil { - return x.Version + if x != nil && x.Version != nil { + return *x.Version } return 0 } diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw similarity index 73% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw index ae70e896257d8e7508997ce8b40b7fe0a00a29bf..7d8083043a26022a3e197b2a4eb386ce9157256f 100644 GIT binary patch delta 90 zcmX@Yx`K7WEXJo3XD{Qk=i+wG&&^HDO9`ngNS&O)s3ai7$HnF78Sm-q= delta 117 zcmZ3%dW3btEXH>eXD?It;No`9&&^HDO9`ngNEH(25_b0Y^>y@f35g7FjSuzn_VW+- z6JVI^Jyk&%hfLO)73Jzp<3u~aWDQ@=bTv7|URHNRXxDKjszs8T<%C^s=BGbbls TzdR9SZhl@8TR~BNNxm@v_|hlA diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto b/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto new file mode 100644 index 00000000..85082cdd --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto @@ -0,0 +1,41 @@ +syntax = "proto2"; +package WACommon; +option go_package = "go.mau.fi/whatsmeow/proto/waCommon"; + +enum FutureProofBehavior { + PLACEHOLDER = 0; + NO_PLACEHOLDER = 1; + IGNORE = 2; +} + +message MessageKey { + optional string remoteJID = 1; + optional bool fromMe = 2; + optional string ID = 3; + optional string participant = 4; +} + +message Command { + enum CommandType { + EVERYONE = 1; + SILENT = 2; + AI = 3; + AI_IMAGINE = 4; + } + + optional CommandType commandType = 1; + optional uint32 offset = 2; + optional uint32 length = 3; + optional string validationToken = 4; +} + +message MessageText { + optional string text = 1; + repeated string mentionedJID = 2; + repeated Command commands = 3; +} + +message SubProtocol { + optional bytes payload = 1; + optional int32 version = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go b/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go new file mode 100644 index 00000000..cde4c858 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCommon/legacy.go @@ -0,0 +1,11 @@ +package waCommon + +// Deprecated: Use GetID +func (x *MessageKey) GetId() string { + return x.GetID() +} + +// Deprecated: Use GetRemoteJID +func (x *MessageKey) GetRemoteJid() string { + return x.GetRemoteJID() +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go new file mode 100644 index 00000000..505d4121 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.go @@ -0,0 +1,744 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waCompanionReg/WAWebProtobufsCompanionReg.proto + +package waCompanionReg + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type DeviceProps_PlatformType int32 + +const ( + DeviceProps_UNKNOWN DeviceProps_PlatformType = 0 + DeviceProps_CHROME DeviceProps_PlatformType = 1 + DeviceProps_FIREFOX DeviceProps_PlatformType = 2 + DeviceProps_IE DeviceProps_PlatformType = 3 + DeviceProps_OPERA DeviceProps_PlatformType = 4 + DeviceProps_SAFARI DeviceProps_PlatformType = 5 + DeviceProps_EDGE DeviceProps_PlatformType = 6 + DeviceProps_DESKTOP DeviceProps_PlatformType = 7 + DeviceProps_IPAD DeviceProps_PlatformType = 8 + DeviceProps_ANDROID_TABLET DeviceProps_PlatformType = 9 + DeviceProps_OHANA DeviceProps_PlatformType = 10 + DeviceProps_ALOHA DeviceProps_PlatformType = 11 + DeviceProps_CATALINA DeviceProps_PlatformType = 12 + DeviceProps_TCL_TV DeviceProps_PlatformType = 13 + DeviceProps_IOS_PHONE DeviceProps_PlatformType = 14 + DeviceProps_IOS_CATALYST DeviceProps_PlatformType = 15 + DeviceProps_ANDROID_PHONE DeviceProps_PlatformType = 16 + DeviceProps_ANDROID_AMBIGUOUS DeviceProps_PlatformType = 17 + DeviceProps_WEAR_OS DeviceProps_PlatformType = 18 + DeviceProps_AR_WRIST DeviceProps_PlatformType = 19 + DeviceProps_AR_DEVICE DeviceProps_PlatformType = 20 + DeviceProps_UWP DeviceProps_PlatformType = 21 + DeviceProps_VR DeviceProps_PlatformType = 22 + DeviceProps_CLOUD_API DeviceProps_PlatformType = 23 +) + +// Enum value maps for DeviceProps_PlatformType. +var ( + DeviceProps_PlatformType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CHROME", + 2: "FIREFOX", + 3: "IE", + 4: "OPERA", + 5: "SAFARI", + 6: "EDGE", + 7: "DESKTOP", + 8: "IPAD", + 9: "ANDROID_TABLET", + 10: "OHANA", + 11: "ALOHA", + 12: "CATALINA", + 13: "TCL_TV", + 14: "IOS_PHONE", + 15: "IOS_CATALYST", + 16: "ANDROID_PHONE", + 17: "ANDROID_AMBIGUOUS", + 18: "WEAR_OS", + 19: "AR_WRIST", + 20: "AR_DEVICE", + 21: "UWP", + 22: "VR", + 23: "CLOUD_API", + } + DeviceProps_PlatformType_value = map[string]int32{ + "UNKNOWN": 0, + "CHROME": 1, + "FIREFOX": 2, + "IE": 3, + "OPERA": 4, + "SAFARI": 5, + "EDGE": 6, + "DESKTOP": 7, + "IPAD": 8, + "ANDROID_TABLET": 9, + "OHANA": 10, + "ALOHA": 11, + "CATALINA": 12, + "TCL_TV": 13, + "IOS_PHONE": 14, + "IOS_CATALYST": 15, + "ANDROID_PHONE": 16, + "ANDROID_AMBIGUOUS": 17, + "WEAR_OS": 18, + "AR_WRIST": 19, + "AR_DEVICE": 20, + "UWP": 21, + "VR": 22, + "CLOUD_API": 23, + } +) + +func (x DeviceProps_PlatformType) Enum() *DeviceProps_PlatformType { + p := new(DeviceProps_PlatformType) + *p = x + return p +} + +func (x DeviceProps_PlatformType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes[0].Descriptor() +} + +func (DeviceProps_PlatformType) Type() protoreflect.EnumType { + return &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes[0] +} + +func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *DeviceProps_PlatformType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = DeviceProps_PlatformType(num) + return nil +} + +// Deprecated: Use DeviceProps_PlatformType.Descriptor instead. +func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0, 0} +} + +type DeviceProps struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Os *string `protobuf:"bytes,1,opt,name=os" json:"os,omitempty"` + Version *DeviceProps_AppVersion `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + PlatformType *DeviceProps_PlatformType `protobuf:"varint,3,opt,name=platformType,enum=WAWebProtobufsCompanionReg.DeviceProps_PlatformType" json:"platformType,omitempty"` + RequireFullSync *bool `protobuf:"varint,4,opt,name=requireFullSync" json:"requireFullSync,omitempty"` + HistorySyncConfig *DeviceProps_HistorySyncConfig `protobuf:"bytes,5,opt,name=historySyncConfig" json:"historySyncConfig,omitempty"` +} + +func (x *DeviceProps) Reset() { + *x = DeviceProps{} + if protoimpl.UnsafeEnabled { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceProps) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceProps) ProtoMessage() {} + +func (x *DeviceProps) ProtoReflect() protoreflect.Message { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceProps.ProtoReflect.Descriptor instead. +func (*DeviceProps) Descriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0} +} + +func (x *DeviceProps) GetOs() string { + if x != nil && x.Os != nil { + return *x.Os + } + return "" +} + +func (x *DeviceProps) GetVersion() *DeviceProps_AppVersion { + if x != nil { + return x.Version + } + return nil +} + +func (x *DeviceProps) GetPlatformType() DeviceProps_PlatformType { + if x != nil && x.PlatformType != nil { + return *x.PlatformType + } + return DeviceProps_UNKNOWN +} + +func (x *DeviceProps) GetRequireFullSync() bool { + if x != nil && x.RequireFullSync != nil { + return *x.RequireFullSync + } + return false +} + +func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig { + if x != nil { + return x.HistorySyncConfig + } + return nil +} + +type CompanionEphemeralIdentity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"` + DeviceType *DeviceProps_PlatformType `protobuf:"varint,2,opt,name=deviceType,enum=WAWebProtobufsCompanionReg.DeviceProps_PlatformType" json:"deviceType,omitempty"` + Ref *string `protobuf:"bytes,3,opt,name=ref" json:"ref,omitempty"` +} + +func (x *CompanionEphemeralIdentity) Reset() { + *x = CompanionEphemeralIdentity{} + if protoimpl.UnsafeEnabled { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompanionEphemeralIdentity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompanionEphemeralIdentity) ProtoMessage() {} + +func (x *CompanionEphemeralIdentity) ProtoReflect() protoreflect.Message { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompanionEphemeralIdentity.ProtoReflect.Descriptor instead. +func (*CompanionEphemeralIdentity) Descriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{1} +} + +func (x *CompanionEphemeralIdentity) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil +} + +func (x *CompanionEphemeralIdentity) GetDeviceType() DeviceProps_PlatformType { + if x != nil && x.DeviceType != nil { + return *x.DeviceType + } + return DeviceProps_UNKNOWN +} + +func (x *CompanionEphemeralIdentity) GetRef() string { + if x != nil && x.Ref != nil { + return *x.Ref + } + return "" +} + +type PrimaryEphemeralIdentity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"` +} + +func (x *PrimaryEphemeralIdentity) Reset() { + *x = PrimaryEphemeralIdentity{} + if protoimpl.UnsafeEnabled { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryEphemeralIdentity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryEphemeralIdentity) ProtoMessage() {} + +func (x *PrimaryEphemeralIdentity) ProtoReflect() protoreflect.Message { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryEphemeralIdentity.ProtoReflect.Descriptor instead. +func (*PrimaryEphemeralIdentity) Descriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{2} +} + +func (x *PrimaryEphemeralIdentity) GetPublicKey() []byte { + if x != nil { + return x.PublicKey + } + return nil +} + +type EncryptedPairingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncryptedPayload []byte `protobuf:"bytes,1,opt,name=encryptedPayload" json:"encryptedPayload,omitempty"` + IV []byte `protobuf:"bytes,2,opt,name=IV" json:"IV,omitempty"` +} + +func (x *EncryptedPairingRequest) Reset() { + *x = EncryptedPairingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EncryptedPairingRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EncryptedPairingRequest) ProtoMessage() {} + +func (x *EncryptedPairingRequest) ProtoReflect() protoreflect.Message { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EncryptedPairingRequest.ProtoReflect.Descriptor instead. +func (*EncryptedPairingRequest) Descriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{3} +} + +func (x *EncryptedPairingRequest) GetEncryptedPayload() []byte { + if x != nil { + return x.EncryptedPayload + } + return nil +} + +func (x *EncryptedPairingRequest) GetIV() []byte { + if x != nil { + return x.IV + } + return nil +} + +type DeviceProps_HistorySyncConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"` + FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"` + StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"` + InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"` + RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"` + SupportCallLogHistory *bool `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"` + SupportBotUserAgentChatHistory *bool `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"` + SupportCagReactionsAndPolls *bool `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"` + SupportBizHostedMsg *bool `protobuf:"varint,9,opt,name=supportBizHostedMsg" json:"supportBizHostedMsg,omitempty"` + SupportRecentSyncChunkMessageCountTuning *bool `protobuf:"varint,10,opt,name=supportRecentSyncChunkMessageCountTuning" json:"supportRecentSyncChunkMessageCountTuning,omitempty"` + SupportHostedGroupMsg *bool `protobuf:"varint,11,opt,name=supportHostedGroupMsg" json:"supportHostedGroupMsg,omitempty"` + SupportFbidBotChatHistory *bool `protobuf:"varint,12,opt,name=supportFbidBotChatHistory" json:"supportFbidBotChatHistory,omitempty"` +} + +func (x *DeviceProps_HistorySyncConfig) Reset() { + *x = DeviceProps_HistorySyncConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceProps_HistorySyncConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceProps_HistorySyncConfig) ProtoMessage() {} + +func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceProps_HistorySyncConfig.ProtoReflect.Descriptor instead. +func (*DeviceProps_HistorySyncConfig) Descriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *DeviceProps_HistorySyncConfig) GetFullSyncDaysLimit() uint32 { + if x != nil && x.FullSyncDaysLimit != nil { + return *x.FullSyncDaysLimit + } + return 0 +} + +func (x *DeviceProps_HistorySyncConfig) GetFullSyncSizeMbLimit() uint32 { + if x != nil && x.FullSyncSizeMbLimit != nil { + return *x.FullSyncSizeMbLimit + } + return 0 +} + +func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 { + if x != nil && x.StorageQuotaMb != nil { + return *x.StorageQuotaMb + } + return 0 +} + +func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool { + if x != nil && x.InlineInitialPayloadInE2EeMsg != nil { + return *x.InlineInitialPayloadInE2EeMsg + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 { + if x != nil && x.RecentSyncDaysLimit != nil { + return *x.RecentSyncDaysLimit + } + return 0 +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool { + if x != nil && x.SupportCallLogHistory != nil { + return *x.SupportCallLogHistory + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool { + if x != nil && x.SupportBotUserAgentChatHistory != nil { + return *x.SupportBotUserAgentChatHistory + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool { + if x != nil && x.SupportCagReactionsAndPolls != nil { + return *x.SupportCagReactionsAndPolls + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool { + if x != nil && x.SupportBizHostedMsg != nil { + return *x.SupportBizHostedMsg + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool { + if x != nil && x.SupportRecentSyncChunkMessageCountTuning != nil { + return *x.SupportRecentSyncChunkMessageCountTuning + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportHostedGroupMsg() bool { + if x != nil && x.SupportHostedGroupMsg != nil { + return *x.SupportHostedGroupMsg + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportFbidBotChatHistory() bool { + if x != nil && x.SupportFbidBotChatHistory != nil { + return *x.SupportFbidBotChatHistory + } + return false +} + +type DeviceProps_AppVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"` + Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"` + Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"` + Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"` + Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"` +} + +func (x *DeviceProps_AppVersion) Reset() { + *x = DeviceProps_AppVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceProps_AppVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceProps_AppVersion) ProtoMessage() {} + +func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message { + mi := &file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceProps_AppVersion.ProtoReflect.Descriptor instead. +func (*DeviceProps_AppVersion) Descriptor() ([]byte, []int) { + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *DeviceProps_AppVersion) GetPrimary() uint32 { + if x != nil && x.Primary != nil { + return *x.Primary + } + return 0 +} + +func (x *DeviceProps_AppVersion) GetSecondary() uint32 { + if x != nil && x.Secondary != nil { + return *x.Secondary + } + return 0 +} + +func (x *DeviceProps_AppVersion) GetTertiary() uint32 { + if x != nil && x.Tertiary != nil { + return *x.Tertiary + } + return 0 +} + +func (x *DeviceProps_AppVersion) GetQuaternary() uint32 { + if x != nil && x.Quaternary != nil { + return *x.Quaternary + } + return 0 +} + +func (x *DeviceProps_AppVersion) GetQuinary() uint32 { + if x != nil && x.Quinary != nil { + return *x.Quinary + } + return 0 +} + +var File_waCompanionReg_WAWebProtobufsCompanionReg_proto protoreflect.FileDescriptor + +//go:embed WAWebProtobufsCompanionReg.pb.raw +var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc []byte + +var ( + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescOnce sync.Once + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData = file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc +) + +func file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescGZIP() []byte { + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescOnce.Do(func() { + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData) + }) + return file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDescData +} + +var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_goTypes = []interface{}{ + (DeviceProps_PlatformType)(0), // 0: WAWebProtobufsCompanionReg.DeviceProps.PlatformType + (*DeviceProps)(nil), // 1: WAWebProtobufsCompanionReg.DeviceProps + (*CompanionEphemeralIdentity)(nil), // 2: WAWebProtobufsCompanionReg.CompanionEphemeralIdentity + (*PrimaryEphemeralIdentity)(nil), // 3: WAWebProtobufsCompanionReg.PrimaryEphemeralIdentity + (*EncryptedPairingRequest)(nil), // 4: WAWebProtobufsCompanionReg.EncryptedPairingRequest + (*DeviceProps_HistorySyncConfig)(nil), // 5: WAWebProtobufsCompanionReg.DeviceProps.HistorySyncConfig + (*DeviceProps_AppVersion)(nil), // 6: WAWebProtobufsCompanionReg.DeviceProps.AppVersion +} +var file_waCompanionReg_WAWebProtobufsCompanionReg_proto_depIdxs = []int32{ + 6, // 0: WAWebProtobufsCompanionReg.DeviceProps.version:type_name -> WAWebProtobufsCompanionReg.DeviceProps.AppVersion + 0, // 1: WAWebProtobufsCompanionReg.DeviceProps.platformType:type_name -> WAWebProtobufsCompanionReg.DeviceProps.PlatformType + 5, // 2: WAWebProtobufsCompanionReg.DeviceProps.historySyncConfig:type_name -> WAWebProtobufsCompanionReg.DeviceProps.HistorySyncConfig + 0, // 3: WAWebProtobufsCompanionReg.CompanionEphemeralIdentity.deviceType:type_name -> WAWebProtobufsCompanionReg.DeviceProps.PlatformType + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_waCompanionReg_WAWebProtobufsCompanionReg_proto_init() } +func file_waCompanionReg_WAWebProtobufsCompanionReg_proto_init() { + if File_waCompanionReg_WAWebProtobufsCompanionReg_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceProps); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompanionEphemeralIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrimaryEphemeralIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncryptedPairingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceProps_HistorySyncConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceProps_AppVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc, + NumEnums: 1, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_goTypes, + DependencyIndexes: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_depIdxs, + EnumInfos: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_enumTypes, + MessageInfos: file_waCompanionReg_WAWebProtobufsCompanionReg_proto_msgTypes, + }.Build() + File_waCompanionReg_WAWebProtobufsCompanionReg_proto = out.File + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_rawDesc = nil + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_goTypes = nil + file_waCompanionReg_WAWebProtobufsCompanionReg_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..edefd4db6d9f348195d5354c6299721fd3f11b77 GIT binary patch literal 1999 zcmbVNTaVgC6fW!qIKXC@bQ_npQN%;FiXt{z<)M}OP_JzkYXQ51fiy43z~CL#*p4q* zk)KkjFa1A#?EmS^01Memy6xM{`Of*ynQzX_fzxYO3m1_aurMIhI~}PbIsu;Ti|9*sXLP}b=OHl>^)O7Icn!$irw$eol3U*QfEKF~Pfsgyi7me0L9>xo28Bt}AQy!hYc`T*96H7i}!YA+~rtdQr(^lsD{bev! z_BnZx+%{tmYF8{t!+0sYv@n=6PdSih`|+`bv~LrTyPWmE51@9(5x;`kd|jdLE|U&h zuvF?@C3gY*8lG;v`|Km_PFDWnDyrl@2!9Vp;&84yc?lc+DIQyQc~%k6oDoV>n!Ap8c7lPrqDIMrO=?}Xl3 zBIQtC*Zm-F!Si+0d6*6o8mk^ps$IG1CcGfS|HTXc4By;j_Xu^TDevq=4Q6)e`-xJN zB%gB;C*D-TKDNUor8A*cNk-lW;dgMdjvzNuX;)eBTbCvYzb7rsg4D?Z7I+Fsnn(NZ zsJSZTA`Y`i)Kiv38#O-#@lWvex}w&E&A6hwLRMtt!w&V|a{$}NjTIv2&0166Xf$Ik)YXD){Wfr^J*B|8?8lfQKdu3Bxg zZTyvo%I-IT%TO5fE_>FfhrYl7hgzFhT?6F=&@ze9vfiRRK7_n!pgmlI1IspuiuQ$X zUu~(xL1 zvlkuke?R*j9xlvYOy{y^N<=IhKY(JdTJS$s*ciYwBbdg^h(BZ7Wifw)gpU!Lr1&Ku yx`pKDC>y*&?%2iDG>5XqD}=AkU%or>!sf!wnsat~&3~z6LBs1)IgW3Q?|%Rtx^Bn- literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto b/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto new file mode 100644 index 00000000..14ef9ada --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.proto @@ -0,0 +1,76 @@ +syntax = "proto2"; +package WAWebProtobufsCompanionReg; +option go_package = "go.mau.fi/whatsmeow/proto/waCompanionReg"; + +message DeviceProps { + enum PlatformType { + UNKNOWN = 0; + CHROME = 1; + FIREFOX = 2; + IE = 3; + OPERA = 4; + SAFARI = 5; + EDGE = 6; + DESKTOP = 7; + IPAD = 8; + ANDROID_TABLET = 9; + OHANA = 10; + ALOHA = 11; + CATALINA = 12; + TCL_TV = 13; + IOS_PHONE = 14; + IOS_CATALYST = 15; + ANDROID_PHONE = 16; + ANDROID_AMBIGUOUS = 17; + WEAR_OS = 18; + AR_WRIST = 19; + AR_DEVICE = 20; + UWP = 21; + VR = 22; + CLOUD_API = 23; + } + + message HistorySyncConfig { + optional uint32 fullSyncDaysLimit = 1; + optional uint32 fullSyncSizeMbLimit = 2; + optional uint32 storageQuotaMb = 3; + optional bool inlineInitialPayloadInE2EeMsg = 4; + optional uint32 recentSyncDaysLimit = 5; + optional bool supportCallLogHistory = 6; + optional bool supportBotUserAgentChatHistory = 7; + optional bool supportCagReactionsAndPolls = 8; + optional bool supportBizHostedMsg = 9; + optional bool supportRecentSyncChunkMessageCountTuning = 10; + optional bool supportHostedGroupMsg = 11; + optional bool supportFbidBotChatHistory = 12; + } + + message AppVersion { + optional uint32 primary = 1; + optional uint32 secondary = 2; + optional uint32 tertiary = 3; + optional uint32 quaternary = 4; + optional uint32 quinary = 5; + } + + optional string os = 1; + optional AppVersion version = 2; + optional PlatformType platformType = 3; + optional bool requireFullSync = 4; + optional HistorySyncConfig historySyncConfig = 5; +} + +message CompanionEphemeralIdentity { + optional bytes publicKey = 1; + optional DeviceProps.PlatformType deviceType = 2; + optional string ref = 3; +} + +message PrimaryEphemeralIdentity { + optional bytes publicKey = 1; +} + +message EncryptedPairingRequest { + optional bytes encryptedPayload = 1; + optional bytes IV = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go similarity index 89% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go index 38b42f23..f7a35736 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waConsumerApplication/WAConsumerApplication.proto @@ -10,7 +10,7 @@ import ( reflect "reflect" sync "sync" - waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + waCommon "go.mau.fi/whatsmeow/proto/waCommon" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -27,25 +27,22 @@ const ( type ConsumerApplication_Metadata_SpecialTextSize int32 const ( - ConsumerApplication_Metadata_SPECIALTEXTSIZE_UNKNOWN ConsumerApplication_Metadata_SpecialTextSize = 0 - ConsumerApplication_Metadata_SMALL ConsumerApplication_Metadata_SpecialTextSize = 1 - ConsumerApplication_Metadata_MEDIUM ConsumerApplication_Metadata_SpecialTextSize = 2 - ConsumerApplication_Metadata_LARGE ConsumerApplication_Metadata_SpecialTextSize = 3 + ConsumerApplication_Metadata_SMALL ConsumerApplication_Metadata_SpecialTextSize = 1 + ConsumerApplication_Metadata_MEDIUM ConsumerApplication_Metadata_SpecialTextSize = 2 + ConsumerApplication_Metadata_LARGE ConsumerApplication_Metadata_SpecialTextSize = 3 ) // Enum value maps for ConsumerApplication_Metadata_SpecialTextSize. var ( ConsumerApplication_Metadata_SpecialTextSize_name = map[int32]string{ - 0: "SPECIALTEXTSIZE_UNKNOWN", 1: "SMALL", 2: "MEDIUM", 3: "LARGE", } ConsumerApplication_Metadata_SpecialTextSize_value = map[string]int32{ - "SPECIALTEXTSIZE_UNKNOWN": 0, - "SMALL": 1, - "MEDIUM": 2, - "LARGE": 3, + "SMALL": 1, + "MEDIUM": 2, + "LARGE": 3, } ) @@ -71,6 +68,16 @@ func (x ConsumerApplication_Metadata_SpecialTextSize) Number() protoreflect.Enum return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *ConsumerApplication_Metadata_SpecialTextSize) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ConsumerApplication_Metadata_SpecialTextSize(num) + return nil +} + // Deprecated: Use ConsumerApplication_Metadata_SpecialTextSize.Descriptor instead. func (ConsumerApplication_Metadata_SpecialTextSize) EnumDescriptor() ([]byte, []int) { return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 2, 0} @@ -129,6 +136,16 @@ func (x ConsumerApplication_StatusTextMesage_FontType) Number() protoreflect.Enu return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *ConsumerApplication_StatusTextMesage_FontType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ConsumerApplication_StatusTextMesage_FontType(num) + return nil +} + // Deprecated: Use ConsumerApplication_StatusTextMesage_FontType.Descriptor instead. func (ConsumerApplication_StatusTextMesage_FontType) EnumDescriptor() ([]byte, []int) { return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 20, 0} @@ -175,6 +192,16 @@ func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Number() protorefle return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *ConsumerApplication_ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ConsumerApplication_ExtendedTextMessage_PreviewType(num) + return nil +} + // Deprecated: Use ConsumerApplication_ExtendedTextMessage_PreviewType.Descriptor instead. func (ConsumerApplication_ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) { return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 21, 0} @@ -185,8 +212,8 @@ type ConsumerApplication struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Payload *ConsumerApplication_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Metadata *ConsumerApplication_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Payload *ConsumerApplication_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` + Metadata *ConsumerApplication_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } func (x *ConsumerApplication) Reset() { @@ -321,19 +348,19 @@ type isConsumerApplication_Payload_Payload interface { } type ConsumerApplication_Payload_Content struct { - Content *ConsumerApplication_Content `protobuf:"bytes,1,opt,name=content,proto3,oneof"` + Content *ConsumerApplication_Content `protobuf:"bytes,1,opt,name=content,oneof"` } type ConsumerApplication_Payload_ApplicationData struct { - ApplicationData *ConsumerApplication_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,proto3,oneof"` + ApplicationData *ConsumerApplication_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,oneof"` } type ConsumerApplication_Payload_Signal struct { - Signal *ConsumerApplication_Signal `protobuf:"bytes,3,opt,name=signal,proto3,oneof"` + Signal *ConsumerApplication_Signal `protobuf:"bytes,3,opt,name=signal,oneof"` } type ConsumerApplication_Payload_SubProtocol struct { - SubProtocol *ConsumerApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,oneof"` + SubProtocol *ConsumerApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,oneof"` } func (*ConsumerApplication_Payload_Content) isConsumerApplication_Payload_Payload() {} @@ -349,7 +376,7 @@ type ConsumerApplication_SubProtocolPayload struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` + FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` } func (x *ConsumerApplication_SubProtocolPayload) Reset() { @@ -385,8 +412,8 @@ func (*ConsumerApplication_SubProtocolPayload) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior { - if x != nil { - return x.FutureProof + if x != nil && x.FutureProof != nil { + return *x.FutureProof } return waCommon.FutureProofBehavior(0) } @@ -396,7 +423,7 @@ type ConsumerApplication_Metadata struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SpecialTextSize ConsumerApplication_Metadata_SpecialTextSize `protobuf:"varint,1,opt,name=specialTextSize,proto3,enum=WAConsumerApplication.ConsumerApplication_Metadata_SpecialTextSize" json:"specialTextSize,omitempty"` + SpecialTextSize *ConsumerApplication_Metadata_SpecialTextSize `protobuf:"varint,1,opt,name=specialTextSize,enum=WAConsumerApplication.ConsumerApplication_Metadata_SpecialTextSize" json:"specialTextSize,omitempty"` } func (x *ConsumerApplication_Metadata) Reset() { @@ -432,10 +459,10 @@ func (*ConsumerApplication_Metadata) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_Metadata) GetSpecialTextSize() ConsumerApplication_Metadata_SpecialTextSize { - if x != nil { - return x.SpecialTextSize + if x != nil && x.SpecialTextSize != nil { + return *x.SpecialTextSize } - return ConsumerApplication_Metadata_SPECIALTEXTSIZE_UNKNOWN + return ConsumerApplication_Metadata_SMALL } type ConsumerApplication_Signal struct { @@ -538,7 +565,7 @@ type isConsumerApplication_ApplicationData_ApplicationContent interface { } type ConsumerApplication_ApplicationData_Revoke struct { - Revoke *ConsumerApplication_RevokeMessage `protobuf:"bytes,1,opt,name=revoke,proto3,oneof"` + Revoke *ConsumerApplication_RevokeMessage `protobuf:"bytes,1,opt,name=revoke,oneof"` } func (*ConsumerApplication_ApplicationData_Revoke) isConsumerApplication_ApplicationData_ApplicationContent() { @@ -742,75 +769,75 @@ type isConsumerApplication_Content_Content interface { } type ConsumerApplication_Content_MessageText struct { - MessageText *waCommon.MessageText `protobuf:"bytes,1,opt,name=messageText,proto3,oneof"` + MessageText *waCommon.MessageText `protobuf:"bytes,1,opt,name=messageText,oneof"` } type ConsumerApplication_Content_ImageMessage struct { - ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,2,opt,name=imageMessage,proto3,oneof"` + ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,2,opt,name=imageMessage,oneof"` } type ConsumerApplication_Content_ContactMessage struct { - ContactMessage *ConsumerApplication_ContactMessage `protobuf:"bytes,3,opt,name=contactMessage,proto3,oneof"` + ContactMessage *ConsumerApplication_ContactMessage `protobuf:"bytes,3,opt,name=contactMessage,oneof"` } type ConsumerApplication_Content_LocationMessage struct { - LocationMessage *ConsumerApplication_LocationMessage `protobuf:"bytes,4,opt,name=locationMessage,proto3,oneof"` + LocationMessage *ConsumerApplication_LocationMessage `protobuf:"bytes,4,opt,name=locationMessage,oneof"` } type ConsumerApplication_Content_ExtendedTextMessage struct { - ExtendedTextMessage *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,5,opt,name=extendedTextMessage,proto3,oneof"` + ExtendedTextMessage *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,5,opt,name=extendedTextMessage,oneof"` } type ConsumerApplication_Content_StatusTextMessage struct { - StatusTextMessage *ConsumerApplication_StatusTextMesage `protobuf:"bytes,6,opt,name=statusTextMessage,proto3,oneof"` + StatusTextMessage *ConsumerApplication_StatusTextMesage `protobuf:"bytes,6,opt,name=statusTextMessage,oneof"` } type ConsumerApplication_Content_DocumentMessage struct { - DocumentMessage *ConsumerApplication_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,proto3,oneof"` + DocumentMessage *ConsumerApplication_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,oneof"` } type ConsumerApplication_Content_AudioMessage struct { - AudioMessage *ConsumerApplication_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,proto3,oneof"` + AudioMessage *ConsumerApplication_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,oneof"` } type ConsumerApplication_Content_VideoMessage struct { - VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,proto3,oneof"` + VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,oneof"` } type ConsumerApplication_Content_ContactsArrayMessage struct { - ContactsArrayMessage *ConsumerApplication_ContactsArrayMessage `protobuf:"bytes,10,opt,name=contactsArrayMessage,proto3,oneof"` + ContactsArrayMessage *ConsumerApplication_ContactsArrayMessage `protobuf:"bytes,10,opt,name=contactsArrayMessage,oneof"` } type ConsumerApplication_Content_LiveLocationMessage struct { - LiveLocationMessage *ConsumerApplication_LiveLocationMessage `protobuf:"bytes,11,opt,name=liveLocationMessage,proto3,oneof"` + LiveLocationMessage *ConsumerApplication_LiveLocationMessage `protobuf:"bytes,11,opt,name=liveLocationMessage,oneof"` } type ConsumerApplication_Content_StickerMessage struct { - StickerMessage *ConsumerApplication_StickerMessage `protobuf:"bytes,12,opt,name=stickerMessage,proto3,oneof"` + StickerMessage *ConsumerApplication_StickerMessage `protobuf:"bytes,12,opt,name=stickerMessage,oneof"` } type ConsumerApplication_Content_GroupInviteMessage struct { - GroupInviteMessage *ConsumerApplication_GroupInviteMessage `protobuf:"bytes,13,opt,name=groupInviteMessage,proto3,oneof"` + GroupInviteMessage *ConsumerApplication_GroupInviteMessage `protobuf:"bytes,13,opt,name=groupInviteMessage,oneof"` } type ConsumerApplication_Content_ViewOnceMessage struct { - ViewOnceMessage *ConsumerApplication_ViewOnceMessage `protobuf:"bytes,14,opt,name=viewOnceMessage,proto3,oneof"` + ViewOnceMessage *ConsumerApplication_ViewOnceMessage `protobuf:"bytes,14,opt,name=viewOnceMessage,oneof"` } type ConsumerApplication_Content_ReactionMessage struct { - ReactionMessage *ConsumerApplication_ReactionMessage `protobuf:"bytes,16,opt,name=reactionMessage,proto3,oneof"` + ReactionMessage *ConsumerApplication_ReactionMessage `protobuf:"bytes,16,opt,name=reactionMessage,oneof"` } type ConsumerApplication_Content_PollCreationMessage struct { - PollCreationMessage *ConsumerApplication_PollCreationMessage `protobuf:"bytes,17,opt,name=pollCreationMessage,proto3,oneof"` + PollCreationMessage *ConsumerApplication_PollCreationMessage `protobuf:"bytes,17,opt,name=pollCreationMessage,oneof"` } type ConsumerApplication_Content_PollUpdateMessage struct { - PollUpdateMessage *ConsumerApplication_PollUpdateMessage `protobuf:"bytes,18,opt,name=pollUpdateMessage,proto3,oneof"` + PollUpdateMessage *ConsumerApplication_PollUpdateMessage `protobuf:"bytes,18,opt,name=pollUpdateMessage,oneof"` } type ConsumerApplication_Content_EditMessage struct { - EditMessage *ConsumerApplication_EditMessage `protobuf:"bytes,19,opt,name=editMessage,proto3,oneof"` + EditMessage *ConsumerApplication_EditMessage `protobuf:"bytes,19,opt,name=editMessage,oneof"` } func (*ConsumerApplication_Content_MessageText) isConsumerApplication_Content_Content() {} @@ -854,9 +881,9 @@ type ConsumerApplication_EditMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Message *waCommon.MessageText `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - TimestampMS int64 `protobuf:"varint,3,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Message *waCommon.MessageText `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` + TimestampMS *int64 `protobuf:"varint,3,opt,name=timestampMS" json:"timestampMS,omitempty"` } func (x *ConsumerApplication_EditMessage) Reset() { @@ -906,8 +933,8 @@ func (x *ConsumerApplication_EditMessage) GetMessage() *waCommon.MessageText { } func (x *ConsumerApplication_EditMessage) GetTimestampMS() int64 { - if x != nil { - return x.TimestampMS + if x != nil && x.TimestampMS != nil { + return *x.TimestampMS } return 0 } @@ -917,7 +944,7 @@ type ConsumerApplication_PollAddOptionMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PollOption []*ConsumerApplication_Option `protobuf:"bytes,1,rep,name=pollOption,proto3" json:"pollOption,omitempty"` + PollOption []*ConsumerApplication_Option `protobuf:"bytes,1,rep,name=pollOption" json:"pollOption,omitempty"` } func (x *ConsumerApplication_PollAddOptionMessage) Reset() { @@ -964,8 +991,8 @@ type ConsumerApplication_PollVoteMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions,proto3" json:"selectedOptions,omitempty"` - SenderTimestampMS int64 `protobuf:"varint,2,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` + SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions" json:"selectedOptions,omitempty"` + SenderTimestampMS *int64 `protobuf:"varint,2,opt,name=senderTimestampMS" json:"senderTimestampMS,omitempty"` } func (x *ConsumerApplication_PollVoteMessage) Reset() { @@ -1008,8 +1035,8 @@ func (x *ConsumerApplication_PollVoteMessage) GetSelectedOptions() [][]byte { } func (x *ConsumerApplication_PollVoteMessage) GetSenderTimestampMS() int64 { - if x != nil { - return x.SenderTimestampMS + if x != nil && x.SenderTimestampMS != nil { + return *x.SenderTimestampMS } return 0 } @@ -1019,8 +1046,8 @@ type ConsumerApplication_PollEncValue struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload,proto3" json:"encPayload,omitempty"` - EncIV []byte `protobuf:"bytes,2,opt,name=encIV,proto3" json:"encIV,omitempty"` + EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload" json:"encPayload,omitempty"` + EncIV []byte `protobuf:"bytes,2,opt,name=encIV" json:"encIV,omitempty"` } func (x *ConsumerApplication_PollEncValue) Reset() { @@ -1074,9 +1101,9 @@ type ConsumerApplication_PollUpdateMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PollCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey,proto3" json:"pollCreationMessageKey,omitempty"` - Vote *ConsumerApplication_PollEncValue `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` - AddOption *ConsumerApplication_PollEncValue `protobuf:"bytes,3,opt,name=addOption,proto3" json:"addOption,omitempty"` + PollCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey" json:"pollCreationMessageKey,omitempty"` + Vote *ConsumerApplication_PollEncValue `protobuf:"bytes,2,opt,name=vote" json:"vote,omitempty"` + AddOption *ConsumerApplication_PollEncValue `protobuf:"bytes,3,opt,name=addOption" json:"addOption,omitempty"` } func (x *ConsumerApplication_PollUpdateMessage) Reset() { @@ -1137,10 +1164,10 @@ type ConsumerApplication_PollCreationMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EncKey []byte `protobuf:"bytes,1,opt,name=encKey,proto3" json:"encKey,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Options []*ConsumerApplication_Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` - SelectableOptionsCount uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount,proto3" json:"selectableOptionsCount,omitempty"` + EncKey []byte `protobuf:"bytes,1,opt,name=encKey" json:"encKey,omitempty"` + Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` + Options []*ConsumerApplication_Option `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"` + SelectableOptionsCount *uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount" json:"selectableOptionsCount,omitempty"` } func (x *ConsumerApplication_PollCreationMessage) Reset() { @@ -1183,8 +1210,8 @@ func (x *ConsumerApplication_PollCreationMessage) GetEncKey() []byte { } func (x *ConsumerApplication_PollCreationMessage) GetName() string { - if x != nil { - return x.Name + if x != nil && x.Name != nil { + return *x.Name } return "" } @@ -1197,8 +1224,8 @@ func (x *ConsumerApplication_PollCreationMessage) GetOptions() []*ConsumerApplic } func (x *ConsumerApplication_PollCreationMessage) GetSelectableOptionsCount() uint32 { - if x != nil { - return x.SelectableOptionsCount + if x != nil && x.SelectableOptionsCount != nil { + return *x.SelectableOptionsCount } return 0 } @@ -1208,7 +1235,7 @@ type ConsumerApplication_Option struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - OptionName string `protobuf:"bytes,1,opt,name=optionName,proto3" json:"optionName,omitempty"` + OptionName *string `protobuf:"bytes,1,opt,name=optionName" json:"optionName,omitempty"` } func (x *ConsumerApplication_Option) Reset() { @@ -1244,8 +1271,8 @@ func (*ConsumerApplication_Option) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_Option) GetOptionName() string { - if x != nil { - return x.OptionName + if x != nil && x.OptionName != nil { + return *x.OptionName } return "" } @@ -1255,12 +1282,12 @@ type ConsumerApplication_ReactionMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - GroupingKey string `protobuf:"bytes,3,opt,name=groupingKey,proto3" json:"groupingKey,omitempty"` - SenderTimestampMS int64 `protobuf:"varint,4,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` - ReactionMetadataDataclassData string `protobuf:"bytes,5,opt,name=reactionMetadataDataclassData,proto3" json:"reactionMetadataDataclassData,omitempty"` - Style int32 `protobuf:"varint,6,opt,name=style,proto3" json:"style,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` + GroupingKey *string `protobuf:"bytes,3,opt,name=groupingKey" json:"groupingKey,omitempty"` + SenderTimestampMS *int64 `protobuf:"varint,4,opt,name=senderTimestampMS" json:"senderTimestampMS,omitempty"` + ReactionMetadataDataclassData *string `protobuf:"bytes,5,opt,name=reactionMetadataDataclassData" json:"reactionMetadataDataclassData,omitempty"` + Style *int32 `protobuf:"varint,6,opt,name=style" json:"style,omitempty"` } func (x *ConsumerApplication_ReactionMessage) Reset() { @@ -1303,36 +1330,36 @@ func (x *ConsumerApplication_ReactionMessage) GetKey() *waCommon.MessageKey { } func (x *ConsumerApplication_ReactionMessage) GetText() string { - if x != nil { - return x.Text + if x != nil && x.Text != nil { + return *x.Text } return "" } func (x *ConsumerApplication_ReactionMessage) GetGroupingKey() string { - if x != nil { - return x.GroupingKey + if x != nil && x.GroupingKey != nil { + return *x.GroupingKey } return "" } func (x *ConsumerApplication_ReactionMessage) GetSenderTimestampMS() int64 { - if x != nil { - return x.SenderTimestampMS + if x != nil && x.SenderTimestampMS != nil { + return *x.SenderTimestampMS } return 0 } func (x *ConsumerApplication_ReactionMessage) GetReactionMetadataDataclassData() string { - if x != nil { - return x.ReactionMetadataDataclassData + if x != nil && x.ReactionMetadataDataclassData != nil { + return *x.ReactionMetadataDataclassData } return "" } func (x *ConsumerApplication_ReactionMessage) GetStyle() int32 { - if x != nil { - return x.Style + if x != nil && x.Style != nil { + return *x.Style } return 0 } @@ -1342,7 +1369,7 @@ type ConsumerApplication_RevokeMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` } func (x *ConsumerApplication_RevokeMessage) Reset() { @@ -1454,11 +1481,11 @@ type isConsumerApplication_ViewOnceMessage_ViewOnceContent interface { } type ConsumerApplication_ViewOnceMessage_ImageMessage struct { - ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,1,opt,name=imageMessage,proto3,oneof"` + ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,1,opt,name=imageMessage,oneof"` } type ConsumerApplication_ViewOnceMessage_VideoMessage struct { - VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,2,opt,name=videoMessage,proto3,oneof"` + VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,2,opt,name=videoMessage,oneof"` } func (*ConsumerApplication_ViewOnceMessage_ImageMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() { @@ -1472,12 +1499,12 @@ type ConsumerApplication_GroupInviteMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupJID string `protobuf:"bytes,1,opt,name=groupJID,proto3" json:"groupJID,omitempty"` - InviteCode string `protobuf:"bytes,2,opt,name=inviteCode,proto3" json:"inviteCode,omitempty"` - InviteExpiration int64 `protobuf:"varint,3,opt,name=inviteExpiration,proto3" json:"inviteExpiration,omitempty"` - GroupName string `protobuf:"bytes,4,opt,name=groupName,proto3" json:"groupName,omitempty"` - JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` - Caption *waCommon.MessageText `protobuf:"bytes,6,opt,name=caption,proto3" json:"caption,omitempty"` + GroupJID *string `protobuf:"bytes,1,opt,name=groupJID" json:"groupJID,omitempty"` + InviteCode *string `protobuf:"bytes,2,opt,name=inviteCode" json:"inviteCode,omitempty"` + InviteExpiration *int64 `protobuf:"varint,3,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"` + GroupName *string `protobuf:"bytes,4,opt,name=groupName" json:"groupName,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail" json:"JPEGThumbnail,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` } func (x *ConsumerApplication_GroupInviteMessage) Reset() { @@ -1513,29 +1540,29 @@ func (*ConsumerApplication_GroupInviteMessage) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_GroupInviteMessage) GetGroupJID() string { - if x != nil { - return x.GroupJID + if x != nil && x.GroupJID != nil { + return *x.GroupJID } return "" } func (x *ConsumerApplication_GroupInviteMessage) GetInviteCode() string { - if x != nil { - return x.InviteCode + if x != nil && x.InviteCode != nil { + return *x.InviteCode } return "" } func (x *ConsumerApplication_GroupInviteMessage) GetInviteExpiration() int64 { - if x != nil { - return x.InviteExpiration + if x != nil && x.InviteExpiration != nil { + return *x.InviteExpiration } return 0 } func (x *ConsumerApplication_GroupInviteMessage) GetGroupName() string { - if x != nil { - return x.GroupName + if x != nil && x.GroupName != nil { + return *x.GroupName } return "" } @@ -1559,13 +1586,13 @@ type ConsumerApplication_LiveLocationMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - AccuracyInMeters uint32 `protobuf:"varint,2,opt,name=accuracyInMeters,proto3" json:"accuracyInMeters,omitempty"` - SpeedInMps float32 `protobuf:"fixed32,3,opt,name=speedInMps,proto3" json:"speedInMps,omitempty"` - DegreesClockwiseFromMagneticNorth uint32 `protobuf:"varint,4,opt,name=degreesClockwiseFromMagneticNorth,proto3" json:"degreesClockwiseFromMagneticNorth,omitempty"` - Caption *waCommon.MessageText `protobuf:"bytes,5,opt,name=caption,proto3" json:"caption,omitempty"` - SequenceNumber int64 `protobuf:"varint,6,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"` - TimeOffset uint32 `protobuf:"varint,7,opt,name=timeOffset,proto3" json:"timeOffset,omitempty"` + Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"` + AccuracyInMeters *uint32 `protobuf:"varint,2,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` + SpeedInMps *float32 `protobuf:"fixed32,3,opt,name=speedInMps" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,4,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,5,opt,name=caption" json:"caption,omitempty"` + SequenceNumber *int64 `protobuf:"varint,6,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"` + TimeOffset *uint32 `protobuf:"varint,7,opt,name=timeOffset" json:"timeOffset,omitempty"` } func (x *ConsumerApplication_LiveLocationMessage) Reset() { @@ -1608,22 +1635,22 @@ func (x *ConsumerApplication_LiveLocationMessage) GetLocation() *ConsumerApplica } func (x *ConsumerApplication_LiveLocationMessage) GetAccuracyInMeters() uint32 { - if x != nil { - return x.AccuracyInMeters + if x != nil && x.AccuracyInMeters != nil { + return *x.AccuracyInMeters } return 0 } func (x *ConsumerApplication_LiveLocationMessage) GetSpeedInMps() float32 { - if x != nil { - return x.SpeedInMps + if x != nil && x.SpeedInMps != nil { + return *x.SpeedInMps } return 0 } func (x *ConsumerApplication_LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { - if x != nil { - return x.DegreesClockwiseFromMagneticNorth + if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { + return *x.DegreesClockwiseFromMagneticNorth } return 0 } @@ -1636,15 +1663,15 @@ func (x *ConsumerApplication_LiveLocationMessage) GetCaption() *waCommon.Message } func (x *ConsumerApplication_LiveLocationMessage) GetSequenceNumber() int64 { - if x != nil { - return x.SequenceNumber + if x != nil && x.SequenceNumber != nil { + return *x.SequenceNumber } return 0 } func (x *ConsumerApplication_LiveLocationMessage) GetTimeOffset() uint32 { - if x != nil { - return x.TimeOffset + if x != nil && x.TimeOffset != nil { + return *x.TimeOffset } return 0 } @@ -1654,8 +1681,8 @@ type ConsumerApplication_ContactsArrayMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` - Contacts []*ConsumerApplication_ContactMessage `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"` + DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` + Contacts []*ConsumerApplication_ContactMessage `protobuf:"bytes,2,rep,name=contacts" json:"contacts,omitempty"` } func (x *ConsumerApplication_ContactsArrayMessage) Reset() { @@ -1691,8 +1718,8 @@ func (*ConsumerApplication_ContactsArrayMessage) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_ContactsArrayMessage) GetDisplayName() string { - if x != nil { - return x.DisplayName + if x != nil && x.DisplayName != nil { + return *x.DisplayName } return "" } @@ -1709,7 +1736,7 @@ type ConsumerApplication_ContactMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Contact *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"` + Contact *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=contact" json:"contact,omitempty"` } func (x *ConsumerApplication_ContactMessage) Reset() { @@ -1756,10 +1783,10 @@ type ConsumerApplication_StatusTextMesage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Text *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - TextArgb uint32 `protobuf:"fixed32,6,opt,name=textArgb,proto3" json:"textArgb,omitempty"` - BackgroundArgb uint32 `protobuf:"fixed32,7,opt,name=backgroundArgb,proto3" json:"backgroundArgb,omitempty"` - Font ConsumerApplication_StatusTextMesage_FontType `protobuf:"varint,8,opt,name=font,proto3,enum=WAConsumerApplication.ConsumerApplication_StatusTextMesage_FontType" json:"font,omitempty"` + Text *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + TextArgb *uint32 `protobuf:"fixed32,6,opt,name=textArgb" json:"textArgb,omitempty"` + BackgroundArgb *uint32 `protobuf:"fixed32,7,opt,name=backgroundArgb" json:"backgroundArgb,omitempty"` + Font *ConsumerApplication_StatusTextMesage_FontType `protobuf:"varint,8,opt,name=font,enum=WAConsumerApplication.ConsumerApplication_StatusTextMesage_FontType" json:"font,omitempty"` } func (x *ConsumerApplication_StatusTextMesage) Reset() { @@ -1802,22 +1829,22 @@ func (x *ConsumerApplication_StatusTextMesage) GetText() *ConsumerApplication_Ex } func (x *ConsumerApplication_StatusTextMesage) GetTextArgb() uint32 { - if x != nil { - return x.TextArgb + if x != nil && x.TextArgb != nil { + return *x.TextArgb } return 0 } func (x *ConsumerApplication_StatusTextMesage) GetBackgroundArgb() uint32 { - if x != nil { - return x.BackgroundArgb + if x != nil && x.BackgroundArgb != nil { + return *x.BackgroundArgb } return 0 } func (x *ConsumerApplication_StatusTextMesage) GetFont() ConsumerApplication_StatusTextMesage_FontType { - if x != nil { - return x.Font + if x != nil && x.Font != nil { + return *x.Font } return ConsumerApplication_StatusTextMesage_SANS_SERIF } @@ -1827,13 +1854,13 @@ type ConsumerApplication_ExtendedTextMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Text *waCommon.MessageText `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` - MatchedText string `protobuf:"bytes,2,opt,name=matchedText,proto3" json:"matchedText,omitempty"` - CanonicalURL string `protobuf:"bytes,3,opt,name=canonicalURL,proto3" json:"canonicalURL,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` - Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` - Thumbnail *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` - PreviewType ConsumerApplication_ExtendedTextMessage_PreviewType `protobuf:"varint,7,opt,name=previewType,proto3,enum=WAConsumerApplication.ConsumerApplication_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` + Text *waCommon.MessageText `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + MatchedText *string `protobuf:"bytes,2,opt,name=matchedText" json:"matchedText,omitempty"` + CanonicalURL *string `protobuf:"bytes,3,opt,name=canonicalURL" json:"canonicalURL,omitempty"` + Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` + Title *string `protobuf:"bytes,5,opt,name=title" json:"title,omitempty"` + Thumbnail *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=thumbnail" json:"thumbnail,omitempty"` + PreviewType *ConsumerApplication_ExtendedTextMessage_PreviewType `protobuf:"varint,7,opt,name=previewType,enum=WAConsumerApplication.ConsumerApplication_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` } func (x *ConsumerApplication_ExtendedTextMessage) Reset() { @@ -1876,29 +1903,29 @@ func (x *ConsumerApplication_ExtendedTextMessage) GetText() *waCommon.MessageTex } func (x *ConsumerApplication_ExtendedTextMessage) GetMatchedText() string { - if x != nil { - return x.MatchedText + if x != nil && x.MatchedText != nil { + return *x.MatchedText } return "" } func (x *ConsumerApplication_ExtendedTextMessage) GetCanonicalURL() string { - if x != nil { - return x.CanonicalURL + if x != nil && x.CanonicalURL != nil { + return *x.CanonicalURL } return "" } func (x *ConsumerApplication_ExtendedTextMessage) GetDescription() string { - if x != nil { - return x.Description + if x != nil && x.Description != nil { + return *x.Description } return "" } func (x *ConsumerApplication_ExtendedTextMessage) GetTitle() string { - if x != nil { - return x.Title + if x != nil && x.Title != nil { + return *x.Title } return "" } @@ -1911,8 +1938,8 @@ func (x *ConsumerApplication_ExtendedTextMessage) GetThumbnail() *waCommon.SubPr } func (x *ConsumerApplication_ExtendedTextMessage) GetPreviewType() ConsumerApplication_ExtendedTextMessage_PreviewType { - if x != nil { - return x.PreviewType + if x != nil && x.PreviewType != nil { + return *x.PreviewType } return ConsumerApplication_ExtendedTextMessage_NONE } @@ -1922,8 +1949,8 @@ type ConsumerApplication_LocationMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"` + Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` } func (x *ConsumerApplication_LocationMessage) Reset() { @@ -1966,8 +1993,8 @@ func (x *ConsumerApplication_LocationMessage) GetLocation() *ConsumerApplication } func (x *ConsumerApplication_LocationMessage) GetAddress() string { - if x != nil { - return x.Address + if x != nil && x.Address != nil { + return *x.Address } return "" } @@ -1977,7 +2004,7 @@ type ConsumerApplication_StickerMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Sticker *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=sticker,proto3" json:"sticker,omitempty"` + Sticker *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=sticker" json:"sticker,omitempty"` } func (x *ConsumerApplication_StickerMessage) Reset() { @@ -2024,8 +2051,8 @@ type ConsumerApplication_DocumentMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Document *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` - FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName,omitempty"` + Document *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"` + FileName *string `protobuf:"bytes,2,opt,name=fileName" json:"fileName,omitempty"` } func (x *ConsumerApplication_DocumentMessage) Reset() { @@ -2068,8 +2095,8 @@ func (x *ConsumerApplication_DocumentMessage) GetDocument() *waCommon.SubProtoco } func (x *ConsumerApplication_DocumentMessage) GetFileName() string { - if x != nil { - return x.FileName + if x != nil && x.FileName != nil { + return *x.FileName } return "" } @@ -2079,8 +2106,8 @@ type ConsumerApplication_VideoMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Video *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` - Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` + Video *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=video" json:"video,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"` } func (x *ConsumerApplication_VideoMessage) Reset() { @@ -2134,8 +2161,8 @@ type ConsumerApplication_AudioMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Audio *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=audio,proto3" json:"audio,omitempty"` - PTT bool `protobuf:"varint,2,opt,name=PTT,proto3" json:"PTT,omitempty"` + Audio *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=audio" json:"audio,omitempty"` + PTT *bool `protobuf:"varint,2,opt,name=PTT" json:"PTT,omitempty"` } func (x *ConsumerApplication_AudioMessage) Reset() { @@ -2178,8 +2205,8 @@ func (x *ConsumerApplication_AudioMessage) GetAudio() *waCommon.SubProtocol { } func (x *ConsumerApplication_AudioMessage) GetPTT() bool { - if x != nil { - return x.PTT + if x != nil && x.PTT != nil { + return *x.PTT } return false } @@ -2189,8 +2216,8 @@ type ConsumerApplication_ImageMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Image *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` + Image *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=image" json:"image,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"` } func (x *ConsumerApplication_ImageMessage) Reset() { @@ -2248,7 +2275,7 @@ type ConsumerApplication_InteractiveAnnotation struct { // // *ConsumerApplication_InteractiveAnnotation_Location Action isConsumerApplication_InteractiveAnnotation_Action `protobuf_oneof:"action"` - PolygonVertices []*ConsumerApplication_Point `protobuf:"bytes,1,rep,name=polygonVertices,proto3" json:"polygonVertices,omitempty"` + PolygonVertices []*ConsumerApplication_Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"` } func (x *ConsumerApplication_InteractiveAnnotation) Reset() { @@ -2309,7 +2336,7 @@ type isConsumerApplication_InteractiveAnnotation_Action interface { } type ConsumerApplication_InteractiveAnnotation_Location struct { - Location *ConsumerApplication_Location `protobuf:"bytes,2,opt,name=location,proto3,oneof"` + Location *ConsumerApplication_Location `protobuf:"bytes,2,opt,name=location,oneof"` } func (*ConsumerApplication_InteractiveAnnotation_Location) isConsumerApplication_InteractiveAnnotation_Action() { @@ -2320,8 +2347,8 @@ type ConsumerApplication_Point struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` - Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` + X *float64 `protobuf:"fixed64,1,opt,name=x" json:"x,omitempty"` + Y *float64 `protobuf:"fixed64,2,opt,name=y" json:"y,omitempty"` } func (x *ConsumerApplication_Point) Reset() { @@ -2357,15 +2384,15 @@ func (*ConsumerApplication_Point) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_Point) GetX() float64 { - if x != nil { - return x.X + if x != nil && x.X != nil { + return *x.X } return 0 } func (x *ConsumerApplication_Point) GetY() float64 { - if x != nil { - return x.Y + if x != nil && x.Y != nil { + return *x.Y } return 0 } @@ -2375,9 +2402,9 @@ type ConsumerApplication_Location struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DegreesLatitude float64 `protobuf:"fixed64,1,opt,name=degreesLatitude,proto3" json:"degreesLatitude,omitempty"` - DegreesLongitude float64 `protobuf:"fixed64,2,opt,name=degreesLongitude,proto3" json:"degreesLongitude,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` + DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` } func (x *ConsumerApplication_Location) Reset() { @@ -2413,22 +2440,22 @@ func (*ConsumerApplication_Location) Descriptor() ([]byte, []int) { } func (x *ConsumerApplication_Location) GetDegreesLatitude() float64 { - if x != nil { - return x.DegreesLatitude + if x != nil && x.DegreesLatitude != nil { + return *x.DegreesLatitude } return 0 } func (x *ConsumerApplication_Location) GetDegreesLongitude() float64 { - if x != nil { - return x.DegreesLongitude + if x != nil && x.DegreesLongitude != nil { + return *x.DegreesLongitude } return 0 } func (x *ConsumerApplication_Location) GetName() string { - if x != nil { - return x.Name + if x != nil && x.Name != nil { + return *x.Name } return "" } @@ -2438,7 +2465,7 @@ type ConsumerApplication_MediaPayload struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Protocol *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` + Protocol *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"` } func (x *ConsumerApplication_MediaPayload) Reset() { diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw similarity index 95% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw index 54bdd5a835e025c7e15480ce768035a3302d9721..6964bb5b9b14fcd968992b781ab85cc436b0ced9 100644 GIT binary patch delta 83 zcmaE6zRi3>3d>wGF5!t2g*R50F)^;2{E4Yr$e4>ixF9t-GchM5wW1_AvnqA-9A;Jt mdBZ6E^nAVC#8SPqO#SkV#FFCN)ckV&f};GAeEsr7pdkS586Fh? delta 129 zcmdmH{>*$r3d=4tF5!t2g*R50F)^N={E4YrKY)urxF9t-GchM5wW1_Avno|cnoB%5 zz}4B)(I><;A|%)|$~8XJ&)d&G+)sdEb3HSwgqls1ReHW&ZepokTBd$^Mq){EZfbtH heo|&$Vo{}jVo`2lN@h;Z WAProtobufsDeviceCapabilities.DeviceCapabilities.ChatLockSupportLevel + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_init() } +func file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_init() { + if File_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceCapabilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_goTypes, + DependencyIndexes: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_depIdxs, + EnumInfos: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_enumTypes, + MessageInfos: file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_msgTypes, + }.Build() + File_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto = out.File + file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_rawDesc = nil + file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_goTypes = nil + file_waDeviceCapabilities_WAProtobufsDeviceCapabilities_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..27c69f6a89cf5839c28a092ea00a737c8b55d434 GIT binary patch literal 343 zcmd|KD9SI%Pby6-#+2170Lcl-;#H({l95XY zQ?F1Jmq>C(Vu??Fa&~ZOK|y{|iBD=-YK{b>0;2|>k((Y~L-jBX)N{sSS`bz{l+3wA zu&EZ};9~Lf_j46s5aQ-y_x1Gi^mX(RU<3)fh5GmiFgY1S>80oE WAWebProtobufsE2E.PlaceholderMessage.PlaceholderType + 3, // 1: WAWebProtobufsE2E.BCallMessage.mediaType:type_name -> WAWebProtobufsE2E.BCallMessage.MediaType + 4, // 2: WAWebProtobufsE2E.CallLogMessage.callOutcome:type_name -> WAWebProtobufsE2E.CallLogMessage.CallOutcome + 5, // 3: WAWebProtobufsE2E.CallLogMessage.callType:type_name -> WAWebProtobufsE2E.CallLogMessage.CallType + 154, // 4: WAWebProtobufsE2E.CallLogMessage.participants:type_name -> WAWebProtobufsE2E.CallLogMessage.CallParticipant + 209, // 5: WAWebProtobufsE2E.ScheduledCallEditMessage.key:type_name -> WACommon.MessageKey + 6, // 6: WAWebProtobufsE2E.ScheduledCallEditMessage.editType:type_name -> WAWebProtobufsE2E.ScheduledCallEditMessage.EditType + 7, // 7: WAWebProtobufsE2E.ScheduledCallCreationMessage.callType:type_name -> WAWebProtobufsE2E.ScheduledCallCreationMessage.CallType + 8, // 8: WAWebProtobufsE2E.EventResponseMessage.response:type_name -> WAWebProtobufsE2E.EventResponseMessage.EventResponseType + 209, // 9: WAWebProtobufsE2E.PinInChatMessage.key:type_name -> WACommon.MessageKey + 9, // 10: WAWebProtobufsE2E.PinInChatMessage.type:type_name -> WAWebProtobufsE2E.PinInChatMessage.Type + 80, // 11: WAWebProtobufsE2E.ButtonsResponseMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 10, // 12: WAWebProtobufsE2E.ButtonsResponseMessage.type:type_name -> WAWebProtobufsE2E.ButtonsResponseMessage.Type + 134, // 13: WAWebProtobufsE2E.ButtonsMessage.documentMessage:type_name -> WAWebProtobufsE2E.DocumentMessage + 79, // 14: WAWebProtobufsE2E.ButtonsMessage.imageMessage:type_name -> WAWebProtobufsE2E.ImageMessage + 76, // 15: WAWebProtobufsE2E.ButtonsMessage.videoMessage:type_name -> WAWebProtobufsE2E.VideoMessage + 135, // 16: WAWebProtobufsE2E.ButtonsMessage.locationMessage:type_name -> WAWebProtobufsE2E.LocationMessage + 80, // 17: WAWebProtobufsE2E.ButtonsMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 155, // 18: WAWebProtobufsE2E.ButtonsMessage.buttons:type_name -> WAWebProtobufsE2E.ButtonsMessage.Button + 11, // 19: WAWebProtobufsE2E.ButtonsMessage.headerType:type_name -> WAWebProtobufsE2E.ButtonsMessage.HeaderType + 209, // 20: WAWebProtobufsE2E.SecretEncryptedMessage.targetMessageKey:type_name -> WACommon.MessageKey + 13, // 21: WAWebProtobufsE2E.SecretEncryptedMessage.secretEncType:type_name -> WAWebProtobufsE2E.SecretEncryptedMessage.SecretEncType + 80, // 22: WAWebProtobufsE2E.GroupInviteMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 14, // 23: WAWebProtobufsE2E.GroupInviteMessage.groupType:type_name -> WAWebProtobufsE2E.GroupInviteMessage.GroupType + 159, // 24: WAWebProtobufsE2E.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> WAWebProtobufsE2E.InteractiveResponseMessage.NativeFlowResponseMessage + 158, // 25: WAWebProtobufsE2E.InteractiveResponseMessage.body:type_name -> WAWebProtobufsE2E.InteractiveResponseMessage.Body + 80, // 26: WAWebProtobufsE2E.InteractiveResponseMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 160, // 27: WAWebProtobufsE2E.InteractiveMessage.shopStorefrontMessage:type_name -> WAWebProtobufsE2E.InteractiveMessage.ShopMessage + 163, // 28: WAWebProtobufsE2E.InteractiveMessage.collectionMessage:type_name -> WAWebProtobufsE2E.InteractiveMessage.CollectionMessage + 162, // 29: WAWebProtobufsE2E.InteractiveMessage.nativeFlowMessage:type_name -> WAWebProtobufsE2E.InteractiveMessage.NativeFlowMessage + 161, // 30: WAWebProtobufsE2E.InteractiveMessage.carouselMessage:type_name -> WAWebProtobufsE2E.InteractiveMessage.CarouselMessage + 166, // 31: WAWebProtobufsE2E.InteractiveMessage.header:type_name -> WAWebProtobufsE2E.InteractiveMessage.Header + 165, // 32: WAWebProtobufsE2E.InteractiveMessage.body:type_name -> WAWebProtobufsE2E.InteractiveMessage.Body + 164, // 33: WAWebProtobufsE2E.InteractiveMessage.footer:type_name -> WAWebProtobufsE2E.InteractiveMessage.Footer + 80, // 34: WAWebProtobufsE2E.InteractiveMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 17, // 35: WAWebProtobufsE2E.ListResponseMessage.listType:type_name -> WAWebProtobufsE2E.ListResponseMessage.ListType + 168, // 36: WAWebProtobufsE2E.ListResponseMessage.singleSelectReply:type_name -> WAWebProtobufsE2E.ListResponseMessage.SingleSelectReply + 80, // 37: WAWebProtobufsE2E.ListResponseMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 18, // 38: WAWebProtobufsE2E.ListMessage.listType:type_name -> WAWebProtobufsE2E.ListMessage.ListType + 173, // 39: WAWebProtobufsE2E.ListMessage.sections:type_name -> WAWebProtobufsE2E.ListMessage.Section + 169, // 40: WAWebProtobufsE2E.ListMessage.productListInfo:type_name -> WAWebProtobufsE2E.ListMessage.ProductListInfo + 80, // 41: WAWebProtobufsE2E.ListMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 20, // 42: WAWebProtobufsE2E.OrderMessage.status:type_name -> WAWebProtobufsE2E.OrderMessage.OrderStatus + 19, // 43: WAWebProtobufsE2E.OrderMessage.surface:type_name -> WAWebProtobufsE2E.OrderMessage.OrderSurface + 80, // 44: WAWebProtobufsE2E.OrderMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 209, // 45: WAWebProtobufsE2E.OrderMessage.orderRequestMessageID:type_name -> WACommon.MessageKey + 21, // 46: WAWebProtobufsE2E.PaymentInviteMessage.serviceType:type_name -> WAWebProtobufsE2E.PaymentInviteMessage.ServiceType + 175, // 47: WAWebProtobufsE2E.HighlyStructuredMessage.localizableParams:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter + 113, // 48: WAWebProtobufsE2E.HighlyStructuredMessage.hydratedHsm:type_name -> WAWebProtobufsE2E.TemplateMessage + 24, // 49: WAWebProtobufsE2E.HistorySyncNotification.syncType:type_name -> WAWebProtobufsE2E.HistorySyncNotification.HistorySyncType + 25, // 50: WAWebProtobufsE2E.RequestWelcomeMessageMetadata.localChatState:type_name -> WAWebProtobufsE2E.RequestWelcomeMessageMetadata.LocalChatState + 209, // 51: WAWebProtobufsE2E.ProtocolMessage.key:type_name -> WACommon.MessageKey + 26, // 52: WAWebProtobufsE2E.ProtocolMessage.type:type_name -> WAWebProtobufsE2E.ProtocolMessage.Type + 71, // 53: WAWebProtobufsE2E.ProtocolMessage.historySyncNotification:type_name -> WAWebProtobufsE2E.HistorySyncNotification + 126, // 54: WAWebProtobufsE2E.ProtocolMessage.appStateSyncKeyShare:type_name -> WAWebProtobufsE2E.AppStateSyncKeyShare + 125, // 55: WAWebProtobufsE2E.ProtocolMessage.appStateSyncKeyRequest:type_name -> WAWebProtobufsE2E.AppStateSyncKeyRequest + 121, // 56: WAWebProtobufsE2E.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> WAWebProtobufsE2E.InitialSecurityNotificationSettingSync + 124, // 57: WAWebProtobufsE2E.ProtocolMessage.appStateFatalExceptionNotification:type_name -> WAWebProtobufsE2E.AppStateFatalExceptionNotification + 88, // 58: WAWebProtobufsE2E.ProtocolMessage.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode + 90, // 59: WAWebProtobufsE2E.ProtocolMessage.editedMessage:type_name -> WAWebProtobufsE2E.Message + 123, // 60: WAWebProtobufsE2E.ProtocolMessage.peerDataOperationRequestMessage:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestMessage + 122, // 61: WAWebProtobufsE2E.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage + 75, // 62: WAWebProtobufsE2E.ProtocolMessage.botFeedbackMessage:type_name -> WAWebProtobufsE2E.BotFeedbackMessage + 72, // 63: WAWebProtobufsE2E.ProtocolMessage.requestWelcomeMessageMetadata:type_name -> WAWebProtobufsE2E.RequestWelcomeMessageMetadata + 152, // 64: WAWebProtobufsE2E.ProtocolMessage.mediaNotifyMessage:type_name -> WAWebProtobufsE2E.MediaNotifyMessage + 74, // 65: WAWebProtobufsE2E.ProtocolMessage.cloudApiThreadControlNotification:type_name -> WAWebProtobufsE2E.CloudAPIThreadControlNotification + 153, // 66: WAWebProtobufsE2E.ProtocolMessage.lidMigrationMappingSyncMessage:type_name -> WAWebProtobufsE2E.LIDMigrationMappingSyncMessage + 27, // 67: WAWebProtobufsE2E.CloudAPIThreadControlNotification.status:type_name -> WAWebProtobufsE2E.CloudAPIThreadControlNotification.CloudAPIThreadControl + 209, // 68: WAWebProtobufsE2E.BotFeedbackMessage.messageKey:type_name -> WACommon.MessageKey + 31, // 69: WAWebProtobufsE2E.BotFeedbackMessage.kind:type_name -> WAWebProtobufsE2E.BotFeedbackMessage.BotFeedbackKind + 28, // 70: WAWebProtobufsE2E.BotFeedbackMessage.kindReport:type_name -> WAWebProtobufsE2E.BotFeedbackMessage.ReportKind + 144, // 71: WAWebProtobufsE2E.VideoMessage.interactiveAnnotations:type_name -> WAWebProtobufsE2E.InteractiveAnnotation + 80, // 72: WAWebProtobufsE2E.VideoMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 32, // 73: WAWebProtobufsE2E.VideoMessage.gifAttribution:type_name -> WAWebProtobufsE2E.VideoMessage.Attribution + 144, // 74: WAWebProtobufsE2E.VideoMessage.annotations:type_name -> WAWebProtobufsE2E.InteractiveAnnotation + 89, // 75: WAWebProtobufsE2E.VideoMessage.processedVideos:type_name -> WAWebProtobufsE2E.ProcessedVideo + 35, // 76: WAWebProtobufsE2E.ExtendedTextMessage.font:type_name -> WAWebProtobufsE2E.ExtendedTextMessage.FontType + 34, // 77: WAWebProtobufsE2E.ExtendedTextMessage.previewType:type_name -> WAWebProtobufsE2E.ExtendedTextMessage.PreviewType + 80, // 78: WAWebProtobufsE2E.ExtendedTextMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 33, // 79: WAWebProtobufsE2E.ExtendedTextMessage.inviteLinkGroupType:type_name -> WAWebProtobufsE2E.ExtendedTextMessage.InviteLinkGroupType + 33, // 80: WAWebProtobufsE2E.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> WAWebProtobufsE2E.ExtendedTextMessage.InviteLinkGroupType + 36, // 81: WAWebProtobufsE2E.InvoiceMessage.attachmentType:type_name -> WAWebProtobufsE2E.InvoiceMessage.AttachmentType + 144, // 82: WAWebProtobufsE2E.ImageMessage.interactiveAnnotations:type_name -> WAWebProtobufsE2E.InteractiveAnnotation + 80, // 83: WAWebProtobufsE2E.ImageMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 144, // 84: WAWebProtobufsE2E.ImageMessage.annotations:type_name -> WAWebProtobufsE2E.InteractiveAnnotation + 37, // 85: WAWebProtobufsE2E.ImageMessage.imageSourceType:type_name -> WAWebProtobufsE2E.ImageMessage.ImageSourceType + 90, // 86: WAWebProtobufsE2E.ContextInfo.quotedMessage:type_name -> WAWebProtobufsE2E.Message + 182, // 87: WAWebProtobufsE2E.ContextInfo.quotedAd:type_name -> WAWebProtobufsE2E.ContextInfo.AdReplyInfo + 209, // 88: WAWebProtobufsE2E.ContextInfo.placeholderKey:type_name -> WACommon.MessageKey + 181, // 89: WAWebProtobufsE2E.ContextInfo.externalAdReply:type_name -> WAWebProtobufsE2E.ContextInfo.ExternalAdReplyInfo + 88, // 90: WAWebProtobufsE2E.ContextInfo.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode + 149, // 91: WAWebProtobufsE2E.ContextInfo.actionLink:type_name -> WAWebProtobufsE2E.ActionLink + 150, // 92: WAWebProtobufsE2E.ContextInfo.groupMentions:type_name -> WAWebProtobufsE2E.GroupMention + 185, // 93: WAWebProtobufsE2E.ContextInfo.utm:type_name -> WAWebProtobufsE2E.ContextInfo.UTMInfo + 180, // 94: WAWebProtobufsE2E.ContextInfo.forwardedNewsletterMessageInfo:type_name -> WAWebProtobufsE2E.ContextInfo.ForwardedNewsletterMessageInfo + 186, // 95: WAWebProtobufsE2E.ContextInfo.businessMessageForwardInfo:type_name -> WAWebProtobufsE2E.ContextInfo.BusinessMessageForwardInfo + 184, // 96: WAWebProtobufsE2E.ContextInfo.dataSharingContext:type_name -> WAWebProtobufsE2E.ContextInfo.DataSharingContext + 183, // 97: WAWebProtobufsE2E.ContextInfo.featureEligibilities:type_name -> WAWebProtobufsE2E.ContextInfo.FeatureEligibilities + 42, // 98: WAWebProtobufsE2E.BotPluginMetadata.provider:type_name -> WAWebProtobufsE2E.BotPluginMetadata.SearchProvider + 41, // 99: WAWebProtobufsE2E.BotPluginMetadata.pluginType:type_name -> WAWebProtobufsE2E.BotPluginMetadata.PluginType + 209, // 100: WAWebProtobufsE2E.BotPluginMetadata.parentPluginMessageKey:type_name -> WACommon.MessageKey + 41, // 101: WAWebProtobufsE2E.BotPluginMetadata.parentPluginType:type_name -> WAWebProtobufsE2E.BotPluginMetadata.PluginType + 43, // 102: WAWebProtobufsE2E.BotSearchMetadata.sessionSource:type_name -> WAWebProtobufsE2E.BotSearchMetadata.SessionSource + 209, // 103: WAWebProtobufsE2E.BotReminderMetadata.requestMessageKey:type_name -> WACommon.MessageKey + 45, // 104: WAWebProtobufsE2E.BotReminderMetadata.action:type_name -> WAWebProtobufsE2E.BotReminderMetadata.ReminderAction + 44, // 105: WAWebProtobufsE2E.BotReminderMetadata.frequency:type_name -> WAWebProtobufsE2E.BotReminderMetadata.ReminderFrequency + 46, // 106: WAWebProtobufsE2E.MessageAssociation.associationType:type_name -> WAWebProtobufsE2E.MessageAssociation.AssociationType + 209, // 107: WAWebProtobufsE2E.MessageAssociation.parentMessageKey:type_name -> WACommon.MessageKey + 143, // 108: WAWebProtobufsE2E.MessageContextInfo.deviceListMetadata:type_name -> WAWebProtobufsE2E.DeviceListMetadata + 142, // 109: WAWebProtobufsE2E.MessageContextInfo.botMetadata:type_name -> WAWebProtobufsE2E.BotMetadata + 47, // 110: WAWebProtobufsE2E.MessageContextInfo.messageAddOnExpiryType:type_name -> WAWebProtobufsE2E.MessageContextInfo.MessageAddonExpiryType + 84, // 111: WAWebProtobufsE2E.MessageContextInfo.messageAssociation:type_name -> WAWebProtobufsE2E.MessageAssociation + 189, // 112: WAWebProtobufsE2E.HydratedTemplateButton.quickReplyButton:type_name -> WAWebProtobufsE2E.HydratedTemplateButton.HydratedQuickReplyButton + 187, // 113: WAWebProtobufsE2E.HydratedTemplateButton.urlButton:type_name -> WAWebProtobufsE2E.HydratedTemplateButton.HydratedURLButton + 188, // 114: WAWebProtobufsE2E.HydratedTemplateButton.callButton:type_name -> WAWebProtobufsE2E.HydratedTemplateButton.HydratedCallButton + 190, // 115: WAWebProtobufsE2E.PaymentBackground.mediaData:type_name -> WAWebProtobufsE2E.PaymentBackground.MediaData + 49, // 116: WAWebProtobufsE2E.PaymentBackground.type:type_name -> WAWebProtobufsE2E.PaymentBackground.Type + 51, // 117: WAWebProtobufsE2E.DisappearingMode.initiator:type_name -> WAWebProtobufsE2E.DisappearingMode.Initiator + 50, // 118: WAWebProtobufsE2E.DisappearingMode.trigger:type_name -> WAWebProtobufsE2E.DisappearingMode.Trigger + 52, // 119: WAWebProtobufsE2E.ProcessedVideo.quality:type_name -> WAWebProtobufsE2E.ProcessedVideo.VideoQuality + 137, // 120: WAWebProtobufsE2E.Message.senderKeyDistributionMessage:type_name -> WAWebProtobufsE2E.SenderKeyDistributionMessage + 79, // 121: WAWebProtobufsE2E.Message.imageMessage:type_name -> WAWebProtobufsE2E.ImageMessage + 136, // 122: WAWebProtobufsE2E.Message.contactMessage:type_name -> WAWebProtobufsE2E.ContactMessage + 135, // 123: WAWebProtobufsE2E.Message.locationMessage:type_name -> WAWebProtobufsE2E.LocationMessage + 77, // 124: WAWebProtobufsE2E.Message.extendedTextMessage:type_name -> WAWebProtobufsE2E.ExtendedTextMessage + 134, // 125: WAWebProtobufsE2E.Message.documentMessage:type_name -> WAWebProtobufsE2E.DocumentMessage + 133, // 126: WAWebProtobufsE2E.Message.audioMessage:type_name -> WAWebProtobufsE2E.AudioMessage + 76, // 127: WAWebProtobufsE2E.Message.videoMessage:type_name -> WAWebProtobufsE2E.VideoMessage + 132, // 128: WAWebProtobufsE2E.Message.call:type_name -> WAWebProtobufsE2E.Call + 131, // 129: WAWebProtobufsE2E.Message.chat:type_name -> WAWebProtobufsE2E.Chat + 73, // 130: WAWebProtobufsE2E.Message.protocolMessage:type_name -> WAWebProtobufsE2E.ProtocolMessage + 120, // 131: WAWebProtobufsE2E.Message.contactsArrayMessage:type_name -> WAWebProtobufsE2E.ContactsArrayMessage + 70, // 132: WAWebProtobufsE2E.Message.highlyStructuredMessage:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 137, // 133: WAWebProtobufsE2E.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> WAWebProtobufsE2E.SenderKeyDistributionMessage + 119, // 134: WAWebProtobufsE2E.Message.sendPaymentMessage:type_name -> WAWebProtobufsE2E.SendPaymentMessage + 115, // 135: WAWebProtobufsE2E.Message.liveLocationMessage:type_name -> WAWebProtobufsE2E.LiveLocationMessage + 118, // 136: WAWebProtobufsE2E.Message.requestPaymentMessage:type_name -> WAWebProtobufsE2E.RequestPaymentMessage + 117, // 137: WAWebProtobufsE2E.Message.declinePaymentRequestMessage:type_name -> WAWebProtobufsE2E.DeclinePaymentRequestMessage + 116, // 138: WAWebProtobufsE2E.Message.cancelPaymentRequestMessage:type_name -> WAWebProtobufsE2E.CancelPaymentRequestMessage + 113, // 139: WAWebProtobufsE2E.Message.templateMessage:type_name -> WAWebProtobufsE2E.TemplateMessage + 114, // 140: WAWebProtobufsE2E.Message.stickerMessage:type_name -> WAWebProtobufsE2E.StickerMessage + 63, // 141: WAWebProtobufsE2E.Message.groupInviteMessage:type_name -> WAWebProtobufsE2E.GroupInviteMessage + 112, // 142: WAWebProtobufsE2E.Message.templateButtonReplyMessage:type_name -> WAWebProtobufsE2E.TemplateButtonReplyMessage + 111, // 143: WAWebProtobufsE2E.Message.productMessage:type_name -> WAWebProtobufsE2E.ProductMessage + 108, // 144: WAWebProtobufsE2E.Message.deviceSentMessage:type_name -> WAWebProtobufsE2E.DeviceSentMessage + 85, // 145: WAWebProtobufsE2E.Message.messageContextInfo:type_name -> WAWebProtobufsE2E.MessageContextInfo + 67, // 146: WAWebProtobufsE2E.Message.listMessage:type_name -> WAWebProtobufsE2E.ListMessage + 107, // 147: WAWebProtobufsE2E.Message.viewOnceMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 68, // 148: WAWebProtobufsE2E.Message.orderMessage:type_name -> WAWebProtobufsE2E.OrderMessage + 66, // 149: WAWebProtobufsE2E.Message.listResponseMessage:type_name -> WAWebProtobufsE2E.ListResponseMessage + 107, // 150: WAWebProtobufsE2E.Message.ephemeralMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 78, // 151: WAWebProtobufsE2E.Message.invoiceMessage:type_name -> WAWebProtobufsE2E.InvoiceMessage + 61, // 152: WAWebProtobufsE2E.Message.buttonsMessage:type_name -> WAWebProtobufsE2E.ButtonsMessage + 60, // 153: WAWebProtobufsE2E.Message.buttonsResponseMessage:type_name -> WAWebProtobufsE2E.ButtonsResponseMessage + 69, // 154: WAWebProtobufsE2E.Message.paymentInviteMessage:type_name -> WAWebProtobufsE2E.PaymentInviteMessage + 65, // 155: WAWebProtobufsE2E.Message.interactiveMessage:type_name -> WAWebProtobufsE2E.InteractiveMessage + 106, // 156: WAWebProtobufsE2E.Message.reactionMessage:type_name -> WAWebProtobufsE2E.ReactionMessage + 105, // 157: WAWebProtobufsE2E.Message.stickerSyncRmrMessage:type_name -> WAWebProtobufsE2E.StickerSyncRMRMessage + 64, // 158: WAWebProtobufsE2E.Message.interactiveResponseMessage:type_name -> WAWebProtobufsE2E.InteractiveResponseMessage + 104, // 159: WAWebProtobufsE2E.Message.pollCreationMessage:type_name -> WAWebProtobufsE2E.PollCreationMessage + 103, // 160: WAWebProtobufsE2E.Message.pollUpdateMessage:type_name -> WAWebProtobufsE2E.PollUpdateMessage + 98, // 161: WAWebProtobufsE2E.Message.keepInChatMessage:type_name -> WAWebProtobufsE2E.KeepInChatMessage + 107, // 162: WAWebProtobufsE2E.Message.documentWithCaptionMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 109, // 163: WAWebProtobufsE2E.Message.requestPhoneNumberMessage:type_name -> WAWebProtobufsE2E.RequestPhoneNumberMessage + 107, // 164: WAWebProtobufsE2E.Message.viewOnceMessageV2:type_name -> WAWebProtobufsE2E.FutureProofMessage + 97, // 165: WAWebProtobufsE2E.Message.encReactionMessage:type_name -> WAWebProtobufsE2E.EncReactionMessage + 107, // 166: WAWebProtobufsE2E.Message.editedMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 107, // 167: WAWebProtobufsE2E.Message.viewOnceMessageV2Extension:type_name -> WAWebProtobufsE2E.FutureProofMessage + 104, // 168: WAWebProtobufsE2E.Message.pollCreationMessageV2:type_name -> WAWebProtobufsE2E.PollCreationMessage + 57, // 169: WAWebProtobufsE2E.Message.scheduledCallCreationMessage:type_name -> WAWebProtobufsE2E.ScheduledCallCreationMessage + 107, // 170: WAWebProtobufsE2E.Message.groupMentionedMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 59, // 171: WAWebProtobufsE2E.Message.pinInChatMessage:type_name -> WAWebProtobufsE2E.PinInChatMessage + 104, // 172: WAWebProtobufsE2E.Message.pollCreationMessageV3:type_name -> WAWebProtobufsE2E.PollCreationMessage + 56, // 173: WAWebProtobufsE2E.Message.scheduledCallEditMessage:type_name -> WAWebProtobufsE2E.ScheduledCallEditMessage + 76, // 174: WAWebProtobufsE2E.Message.ptvMessage:type_name -> WAWebProtobufsE2E.VideoMessage + 107, // 175: WAWebProtobufsE2E.Message.botInvokeMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 55, // 176: WAWebProtobufsE2E.Message.callLogMesssage:type_name -> WAWebProtobufsE2E.CallLogMessage + 92, // 177: WAWebProtobufsE2E.Message.messageHistoryBundle:type_name -> WAWebProtobufsE2E.MessageHistoryBundle + 96, // 178: WAWebProtobufsE2E.Message.encCommentMessage:type_name -> WAWebProtobufsE2E.EncCommentMessage + 54, // 179: WAWebProtobufsE2E.Message.bcallMessage:type_name -> WAWebProtobufsE2E.BCallMessage + 107, // 180: WAWebProtobufsE2E.Message.lottieStickerMessage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 94, // 181: WAWebProtobufsE2E.Message.eventMessage:type_name -> WAWebProtobufsE2E.EventMessage + 93, // 182: WAWebProtobufsE2E.Message.encEventResponseMessage:type_name -> WAWebProtobufsE2E.EncEventResponseMessage + 95, // 183: WAWebProtobufsE2E.Message.commentMessage:type_name -> WAWebProtobufsE2E.CommentMessage + 110, // 184: WAWebProtobufsE2E.Message.newsletterAdminInviteMessage:type_name -> WAWebProtobufsE2E.NewsletterAdminInviteMessage + 53, // 185: WAWebProtobufsE2E.Message.placeholderMessage:type_name -> WAWebProtobufsE2E.PlaceholderMessage + 62, // 186: WAWebProtobufsE2E.Message.secretEncryptedMessage:type_name -> WAWebProtobufsE2E.SecretEncryptedMessage + 91, // 187: WAWebProtobufsE2E.Message.albumMessage:type_name -> WAWebProtobufsE2E.AlbumMessage + 99, // 188: WAWebProtobufsE2E.Message.pollResultSnapshotMessage:type_name -> WAWebProtobufsE2E.PollResultSnapshotMessage + 107, // 189: WAWebProtobufsE2E.Message.eventCoverImage:type_name -> WAWebProtobufsE2E.FutureProofMessage + 80, // 190: WAWebProtobufsE2E.MessageHistoryBundle.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 209, // 191: WAWebProtobufsE2E.EncEventResponseMessage.eventCreationMessageKey:type_name -> WACommon.MessageKey + 80, // 192: WAWebProtobufsE2E.EventMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 135, // 193: WAWebProtobufsE2E.EventMessage.location:type_name -> WAWebProtobufsE2E.LocationMessage + 90, // 194: WAWebProtobufsE2E.CommentMessage.message:type_name -> WAWebProtobufsE2E.Message + 209, // 195: WAWebProtobufsE2E.CommentMessage.targetMessageKey:type_name -> WACommon.MessageKey + 209, // 196: WAWebProtobufsE2E.EncCommentMessage.targetMessageKey:type_name -> WACommon.MessageKey + 209, // 197: WAWebProtobufsE2E.EncReactionMessage.targetMessageKey:type_name -> WACommon.MessageKey + 209, // 198: WAWebProtobufsE2E.KeepInChatMessage.key:type_name -> WACommon.MessageKey + 1, // 199: WAWebProtobufsE2E.KeepInChatMessage.keepType:type_name -> WAWebProtobufsE2E.KeepType + 191, // 200: WAWebProtobufsE2E.PollResultSnapshotMessage.pollVotes:type_name -> WAWebProtobufsE2E.PollResultSnapshotMessage.PollVote + 80, // 201: WAWebProtobufsE2E.PollResultSnapshotMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 209, // 202: WAWebProtobufsE2E.PollUpdateMessage.pollCreationMessageKey:type_name -> WACommon.MessageKey + 101, // 203: WAWebProtobufsE2E.PollUpdateMessage.vote:type_name -> WAWebProtobufsE2E.PollEncValue + 102, // 204: WAWebProtobufsE2E.PollUpdateMessage.metadata:type_name -> WAWebProtobufsE2E.PollUpdateMessageMetadata + 192, // 205: WAWebProtobufsE2E.PollCreationMessage.options:type_name -> WAWebProtobufsE2E.PollCreationMessage.Option + 80, // 206: WAWebProtobufsE2E.PollCreationMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 209, // 207: WAWebProtobufsE2E.ReactionMessage.key:type_name -> WACommon.MessageKey + 90, // 208: WAWebProtobufsE2E.FutureProofMessage.message:type_name -> WAWebProtobufsE2E.Message + 90, // 209: WAWebProtobufsE2E.DeviceSentMessage.message:type_name -> WAWebProtobufsE2E.Message + 80, // 210: WAWebProtobufsE2E.RequestPhoneNumberMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 80, // 211: WAWebProtobufsE2E.NewsletterAdminInviteMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 193, // 212: WAWebProtobufsE2E.ProductMessage.product:type_name -> WAWebProtobufsE2E.ProductMessage.ProductSnapshot + 194, // 213: WAWebProtobufsE2E.ProductMessage.catalog:type_name -> WAWebProtobufsE2E.ProductMessage.CatalogSnapshot + 80, // 214: WAWebProtobufsE2E.ProductMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 80, // 215: WAWebProtobufsE2E.TemplateButtonReplyMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 196, // 216: WAWebProtobufsE2E.TemplateMessage.fourRowTemplate:type_name -> WAWebProtobufsE2E.TemplateMessage.FourRowTemplate + 195, // 217: WAWebProtobufsE2E.TemplateMessage.hydratedFourRowTemplate:type_name -> WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate + 65, // 218: WAWebProtobufsE2E.TemplateMessage.interactiveMessageTemplate:type_name -> WAWebProtobufsE2E.InteractiveMessage + 80, // 219: WAWebProtobufsE2E.TemplateMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 195, // 220: WAWebProtobufsE2E.TemplateMessage.hydratedTemplate:type_name -> WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate + 80, // 221: WAWebProtobufsE2E.StickerMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 80, // 222: WAWebProtobufsE2E.LiveLocationMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 209, // 223: WAWebProtobufsE2E.CancelPaymentRequestMessage.key:type_name -> WACommon.MessageKey + 209, // 224: WAWebProtobufsE2E.DeclinePaymentRequestMessage.key:type_name -> WACommon.MessageKey + 90, // 225: WAWebProtobufsE2E.RequestPaymentMessage.noteMessage:type_name -> WAWebProtobufsE2E.Message + 148, // 226: WAWebProtobufsE2E.RequestPaymentMessage.amount:type_name -> WAWebProtobufsE2E.Money + 87, // 227: WAWebProtobufsE2E.RequestPaymentMessage.background:type_name -> WAWebProtobufsE2E.PaymentBackground + 90, // 228: WAWebProtobufsE2E.SendPaymentMessage.noteMessage:type_name -> WAWebProtobufsE2E.Message + 209, // 229: WAWebProtobufsE2E.SendPaymentMessage.requestMessageKey:type_name -> WACommon.MessageKey + 87, // 230: WAWebProtobufsE2E.SendPaymentMessage.background:type_name -> WAWebProtobufsE2E.PaymentBackground + 136, // 231: WAWebProtobufsE2E.ContactsArrayMessage.contacts:type_name -> WAWebProtobufsE2E.ContactMessage + 80, // 232: WAWebProtobufsE2E.ContactsArrayMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 0, // 233: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestType + 197, // 234: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + 0, // 235: WAWebProtobufsE2E.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestType + 205, // 236: WAWebProtobufsE2E.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestMessage.RequestStickerReupload + 204, // 237: WAWebProtobufsE2E.PeerDataOperationRequestMessage.requestURLPreview:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestMessage.RequestUrlPreview + 203, // 238: WAWebProtobufsE2E.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + 202, // 239: WAWebProtobufsE2E.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + 129, // 240: WAWebProtobufsE2E.AppStateSyncKeyRequest.keyIDs:type_name -> WAWebProtobufsE2E.AppStateSyncKeyId + 130, // 241: WAWebProtobufsE2E.AppStateSyncKeyShare.keys:type_name -> WAWebProtobufsE2E.AppStateSyncKey + 128, // 242: WAWebProtobufsE2E.AppStateSyncKeyData.fingerprint:type_name -> WAWebProtobufsE2E.AppStateSyncKeyFingerprint + 129, // 243: WAWebProtobufsE2E.AppStateSyncKey.keyID:type_name -> WAWebProtobufsE2E.AppStateSyncKeyId + 127, // 244: WAWebProtobufsE2E.AppStateSyncKey.keyData:type_name -> WAWebProtobufsE2E.AppStateSyncKeyData + 80, // 245: WAWebProtobufsE2E.AudioMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 80, // 246: WAWebProtobufsE2E.DocumentMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 80, // 247: WAWebProtobufsE2E.LocationMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 80, // 248: WAWebProtobufsE2E.ContactMessage.contextInfo:type_name -> WAWebProtobufsE2E.ContextInfo + 140, // 249: WAWebProtobufsE2E.BotMemuMetadata.faceImages:type_name -> WAWebProtobufsE2E.BotMediaMetadata + 138, // 250: WAWebProtobufsE2E.BotMetadata.avatarMetadata:type_name -> WAWebProtobufsE2E.BotAvatarMetadata + 81, // 251: WAWebProtobufsE2E.BotMetadata.pluginMetadata:type_name -> WAWebProtobufsE2E.BotPluginMetadata + 139, // 252: WAWebProtobufsE2E.BotMetadata.suggestedPromptMetadata:type_name -> WAWebProtobufsE2E.BotSuggestedPromptMetadata + 82, // 253: WAWebProtobufsE2E.BotMetadata.searchMetadata:type_name -> WAWebProtobufsE2E.BotSearchMetadata + 141, // 254: WAWebProtobufsE2E.BotMetadata.memuMetadata:type_name -> WAWebProtobufsE2E.BotMemuMetadata + 83, // 255: WAWebProtobufsE2E.BotMetadata.reminderMetadata:type_name -> WAWebProtobufsE2E.BotReminderMetadata + 210, // 256: WAWebProtobufsE2E.DeviceListMetadata.senderAccountType:type_name -> WAAdv.ADVEncryptionType + 210, // 257: WAWebProtobufsE2E.DeviceListMetadata.receiverAccountType:type_name -> WAAdv.ADVEncryptionType + 146, // 258: WAWebProtobufsE2E.InteractiveAnnotation.location:type_name -> WAWebProtobufsE2E.Location + 180, // 259: WAWebProtobufsE2E.InteractiveAnnotation.newsletter:type_name -> WAWebProtobufsE2E.ContextInfo.ForwardedNewsletterMessageInfo + 145, // 260: WAWebProtobufsE2E.InteractiveAnnotation.polygonVertices:type_name -> WAWebProtobufsE2E.Point + 208, // 261: WAWebProtobufsE2E.TemplateButton.quickReplyButton:type_name -> WAWebProtobufsE2E.TemplateButton.QuickReplyButton + 207, // 262: WAWebProtobufsE2E.TemplateButton.urlButton:type_name -> WAWebProtobufsE2E.TemplateButton.URLButton + 206, // 263: WAWebProtobufsE2E.TemplateButton.callButton:type_name -> WAWebProtobufsE2E.TemplateButton.CallButton + 4, // 264: WAWebProtobufsE2E.CallLogMessage.CallParticipant.callOutcome:type_name -> WAWebProtobufsE2E.CallLogMessage.CallOutcome + 157, // 265: WAWebProtobufsE2E.ButtonsMessage.Button.buttonText:type_name -> WAWebProtobufsE2E.ButtonsMessage.Button.ButtonText + 12, // 266: WAWebProtobufsE2E.ButtonsMessage.Button.type:type_name -> WAWebProtobufsE2E.ButtonsMessage.Button.Type + 156, // 267: WAWebProtobufsE2E.ButtonsMessage.Button.nativeFlowInfo:type_name -> WAWebProtobufsE2E.ButtonsMessage.Button.NativeFlowInfo + 15, // 268: WAWebProtobufsE2E.InteractiveResponseMessage.Body.format:type_name -> WAWebProtobufsE2E.InteractiveResponseMessage.Body.Format + 16, // 269: WAWebProtobufsE2E.InteractiveMessage.ShopMessage.surface:type_name -> WAWebProtobufsE2E.InteractiveMessage.ShopMessage.Surface + 65, // 270: WAWebProtobufsE2E.InteractiveMessage.CarouselMessage.cards:type_name -> WAWebProtobufsE2E.InteractiveMessage + 167, // 271: WAWebProtobufsE2E.InteractiveMessage.NativeFlowMessage.buttons:type_name -> WAWebProtobufsE2E.InteractiveMessage.NativeFlowMessage.NativeFlowButton + 134, // 272: WAWebProtobufsE2E.InteractiveMessage.Header.documentMessage:type_name -> WAWebProtobufsE2E.DocumentMessage + 79, // 273: WAWebProtobufsE2E.InteractiveMessage.Header.imageMessage:type_name -> WAWebProtobufsE2E.ImageMessage + 76, // 274: WAWebProtobufsE2E.InteractiveMessage.Header.videoMessage:type_name -> WAWebProtobufsE2E.VideoMessage + 135, // 275: WAWebProtobufsE2E.InteractiveMessage.Header.locationMessage:type_name -> WAWebProtobufsE2E.LocationMessage + 111, // 276: WAWebProtobufsE2E.InteractiveMessage.Header.productMessage:type_name -> WAWebProtobufsE2E.ProductMessage + 171, // 277: WAWebProtobufsE2E.ListMessage.ProductListInfo.productSections:type_name -> WAWebProtobufsE2E.ListMessage.ProductSection + 170, // 278: WAWebProtobufsE2E.ListMessage.ProductListInfo.headerImage:type_name -> WAWebProtobufsE2E.ListMessage.ProductListHeaderImage + 172, // 279: WAWebProtobufsE2E.ListMessage.ProductSection.products:type_name -> WAWebProtobufsE2E.ListMessage.Product + 174, // 280: WAWebProtobufsE2E.ListMessage.Section.rows:type_name -> WAWebProtobufsE2E.ListMessage.Row + 177, // 281: WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + 176, // 282: WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + 178, // 283: WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + 179, // 284: WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + 23, // 285: WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + 22, // 286: WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + 38, // 287: WAWebProtobufsE2E.ContextInfo.ForwardedNewsletterMessageInfo.contentType:type_name -> WAWebProtobufsE2E.ContextInfo.ForwardedNewsletterMessageInfo.ContentType + 39, // 288: WAWebProtobufsE2E.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> WAWebProtobufsE2E.ContextInfo.ExternalAdReplyInfo.MediaType + 40, // 289: WAWebProtobufsE2E.ContextInfo.AdReplyInfo.mediaType:type_name -> WAWebProtobufsE2E.ContextInfo.AdReplyInfo.MediaType + 48, // 290: WAWebProtobufsE2E.HydratedTemplateButton.HydratedURLButton.webviewPresentation:type_name -> WAWebProtobufsE2E.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType + 79, // 291: WAWebProtobufsE2E.ProductMessage.ProductSnapshot.productImage:type_name -> WAWebProtobufsE2E.ImageMessage + 79, // 292: WAWebProtobufsE2E.ProductMessage.CatalogSnapshot.catalogImage:type_name -> WAWebProtobufsE2E.ImageMessage + 134, // 293: WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> WAWebProtobufsE2E.DocumentMessage + 79, // 294: WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> WAWebProtobufsE2E.ImageMessage + 76, // 295: WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> WAWebProtobufsE2E.VideoMessage + 135, // 296: WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> WAWebProtobufsE2E.LocationMessage + 86, // 297: WAWebProtobufsE2E.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> WAWebProtobufsE2E.HydratedTemplateButton + 134, // 298: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.documentMessage:type_name -> WAWebProtobufsE2E.DocumentMessage + 70, // 299: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 79, // 300: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.imageMessage:type_name -> WAWebProtobufsE2E.ImageMessage + 76, // 301: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.videoMessage:type_name -> WAWebProtobufsE2E.VideoMessage + 135, // 302: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.locationMessage:type_name -> WAWebProtobufsE2E.LocationMessage + 70, // 303: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.content:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 70, // 304: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.footer:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 147, // 305: WAWebProtobufsE2E.TemplateMessage.FourRowTemplate.buttons:type_name -> WAWebProtobufsE2E.TemplateButton + 211, // 306: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> WAMmsRetry.MediaRetryNotification.ResultType + 114, // 307: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> WAWebProtobufsE2E.StickerMessage + 200, // 308: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + 199, // 309: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + 198, // 310: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.waffleNonceFetchRequestResponse:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.WaffleNonceFetchResponse + 201, // 311: WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> WAWebProtobufsE2E.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + 209, // 312: WAWebProtobufsE2E.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> WACommon.MessageKey + 70, // 313: WAWebProtobufsE2E.TemplateButton.CallButton.displayText:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 70, // 314: WAWebProtobufsE2E.TemplateButton.CallButton.phoneNumber:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 70, // 315: WAWebProtobufsE2E.TemplateButton.URLButton.displayText:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 70, // 316: WAWebProtobufsE2E.TemplateButton.URLButton.URL:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 70, // 317: WAWebProtobufsE2E.TemplateButton.QuickReplyButton.displayText:type_name -> WAWebProtobufsE2E.HighlyStructuredMessage + 318, // [318:318] is the sub-list for method output_type + 318, // [318:318] is the sub-list for method input_type + 318, // [318:318] is the sub-list for extension type_name + 318, // [318:318] is the sub-list for extension extendee + 0, // [0:318] is the sub-list for field type_name +} + +func init() { file_waE2E_WAWebProtobufsE2E_proto_init() } +func file_waE2E_WAWebProtobufsE2E_proto_init() { + if File_waE2E_WAWebProtobufsE2E_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlaceholderMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BCallMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScheduledCallEditMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScheduledCallCreationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PinInChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ButtonsResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ButtonsMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretEncryptedMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrderMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighlyStructuredMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HistorySyncNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWelcomeMessageMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtocolMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudAPIThreadControlNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotFeedbackMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtendedTextMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvoiceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotPluginMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotSearchMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotReminderMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageAssociation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageContextInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentBackground); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisappearingMode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessedVideo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AlbumMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageHistoryBundle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncEventResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncCommentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncReactionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeepInChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollResultSnapshotMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollVoteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollEncValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollUpdateMessageMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollUpdateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollCreationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerSyncRMRMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReactionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FutureProofMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceSentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestPhoneNumberMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewsletterAdminInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButtonReplyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LiveLocationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelPaymentRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeclinePaymentRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestPaymentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPaymentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactsArrayMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitialSecurityNotificationSettingSync); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateFatalExceptionNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateSyncKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateSyncKeyShare); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateSyncKeyData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateSyncKeyFingerprint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateSyncKeyId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppStateSyncKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Chat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Call); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AudioMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SenderKeyDistributionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotAvatarMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotSuggestedPromptMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotMediaMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotMemuMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceListMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Point); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Location); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Money); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActionLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupMention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageSecretMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaNotifyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LIDMigrationMappingSyncMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogMessage_CallParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ButtonsMessage_Button); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ButtonsMessage_Button_ButtonText); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveResponseMessage_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_ShopMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_CarouselMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_NativeFlowMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_CollectionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_Footer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListResponseMessage_SingleSelectReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_ProductListInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_ProductListHeaderImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_ProductSection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_Product); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_Section); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_Row); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_ForwardedNewsletterMessageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_AdReplyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_FeatureEligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_DataSharingContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_UTMInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentBackground_MediaData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollResultSnapshotMessage_PollVote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollCreationMessage_Option); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductMessage_ProductSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductMessage_CatalogSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateMessage_FourRowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton_CallButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton_URLButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton_QuickReplyButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*ButtonsResponseMessage_SelectedDisplayText)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*ButtonsMessage_Text)(nil), + (*ButtonsMessage_DocumentMessage)(nil), + (*ButtonsMessage_ImageMessage)(nil), + (*ButtonsMessage_VideoMessage)(nil), + (*ButtonsMessage_LocationMessage)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[11].OneofWrappers = []interface{}{ + (*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*InteractiveMessage_ShopStorefrontMessage)(nil), + (*InteractiveMessage_CollectionMessage_)(nil), + (*InteractiveMessage_NativeFlowMessage_)(nil), + (*InteractiveMessage_CarouselMessage_)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[33].OneofWrappers = []interface{}{ + (*HydratedTemplateButton_QuickReplyButton)(nil), + (*HydratedTemplateButton_UrlButton)(nil), + (*HydratedTemplateButton_CallButton)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[60].OneofWrappers = []interface{}{ + (*TemplateMessage_FourRowTemplate_)(nil), + (*TemplateMessage_HydratedFourRowTemplate_)(nil), + (*TemplateMessage_InteractiveMessageTemplate)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[91].OneofWrappers = []interface{}{ + (*InteractiveAnnotation_Location)(nil), + (*InteractiveAnnotation_Newsletter)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[94].OneofWrappers = []interface{}{ + (*TemplateButton_QuickReplyButton_)(nil), + (*TemplateButton_UrlButton)(nil), + (*TemplateButton_CallButton_)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[113].OneofWrappers = []interface{}{ + (*InteractiveMessage_Header_DocumentMessage)(nil), + (*InteractiveMessage_Header_ImageMessage)(nil), + (*InteractiveMessage_Header_JPEGThumbnail)(nil), + (*InteractiveMessage_Header_VideoMessage)(nil), + (*InteractiveMessage_Header_LocationMessage)(nil), + (*InteractiveMessage_Header_ProductMessage)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[122].OneofWrappers = []interface{}{ + (*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil), + (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[123].OneofWrappers = []interface{}{ + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil), + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[142].OneofWrappers = []interface{}{ + (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage)(nil), + (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText)(nil), + (*TemplateMessage_HydratedFourRowTemplate_ImageMessage)(nil), + (*TemplateMessage_HydratedFourRowTemplate_VideoMessage)(nil), + (*TemplateMessage_HydratedFourRowTemplate_LocationMessage)(nil), + } + file_waE2E_WAWebProtobufsE2E_proto_msgTypes[143].OneofWrappers = []interface{}{ + (*TemplateMessage_FourRowTemplate_DocumentMessage)(nil), + (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil), + (*TemplateMessage_FourRowTemplate_ImageMessage)(nil), + (*TemplateMessage_FourRowTemplate_VideoMessage)(nil), + (*TemplateMessage_FourRowTemplate_LocationMessage)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waE2E_WAWebProtobufsE2E_proto_rawDesc, + NumEnums: 53, + NumMessages: 156, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waE2E_WAWebProtobufsE2E_proto_goTypes, + DependencyIndexes: file_waE2E_WAWebProtobufsE2E_proto_depIdxs, + EnumInfos: file_waE2E_WAWebProtobufsE2E_proto_enumTypes, + MessageInfos: file_waE2E_WAWebProtobufsE2E_proto_msgTypes, + }.Build() + File_waE2E_WAWebProtobufsE2E_proto = out.File + file_waE2E_WAWebProtobufsE2E_proto_rawDesc = nil + file_waE2E_WAWebProtobufsE2E_proto_goTypes = nil + file_waE2E_WAWebProtobufsE2E_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..def5a418e5d3058e873c2da2a5bb91a8e8cc8e23 GIT binary patch literal 54238 zcmdsgX>4R$e%E;GwvU%~-(H?yy}f4Uy*FZs@(m01kxl?7Lf%-i2{idNPrJPVF_Xp10Rt10)j}0fbxY!5D-Ejg2V?v;tRju z|D1F0x%Zy(@|Hp3i(U6D|Fi$ke?RJlC#~{I`O|kxciZfu1QhyABWcRy|BGf!G;y~D%a5wgq=lTrNHF%>nst-bcc zUU$FUueJw+)`NCbQIo@`$L*!Dm&aaTSoz#?t_REcN`BHdDr*5zd_!IF$}%H*MqR6x znzwhiDz)3?_1*RIoyuCdx%iRdzZp|=t81-p*Y)FhH8Vh$I=!RHx^!knCkfFlHFMbB z@3aVXX?gI+qL@L+Tur|88ubfS+CR=$N2M3WxZTq954R-lv?2Mwt5fT2m!n^ zxYOBh_hfw2+I>cKHM@th^^@UV@6e6!2Lj_uLtN&kt)zVjQBlq9pY&TCNVB~+kbzF< zR9dv5rrD^>Cg9>oXIDORK3I*UrcQw= z4Am75&nplus)@Jb&B31^_{0@|bxh5Avl`8-nYDVYR$kjKuVby1x>T(+oA^D(-y5aM z7JiRMb81?b-!`QtqMIrzt*w;HT)X4 zblQQ6URJY1Z`L>)6WULTURPJz?+*K|TPK*?wcg3mPzE@qv&qG>x|(Y$y|O@(<_wJS zbk*wHyXJG8=(Ae7w_0ADDE`MWwbY#mu8`9rNyeTGhKBI`XSQofy&K=n8dyO(qUtL^7%O~L&F|Fwr19e4 z7*{t}PliJ*a(1m()U`po+uj?t_t!gv<8JHeHkLr{zM0LB=ul?#hFWxW4AdA~=F+3D z;}?H(MlD#t?p$0)PdGV5V4NKJifZc0esAyO5C_Q?l-ZkIDF(W_ zo-PR>*~(E_&2_1UN99zAzY}6>Kqr@vCuk-QJ#$ z266KeQfPEr>5?2>rZSO$Ebh@z_Sq#)rCo266uqd_L9YkWNeWz+0$xgXM@>s_F1VvE z-#4dWX-24s(AiC|{j&Mgu41&M)Wdd*$Csp{LMIkhJ{4G_44BQhj`r#o{?UZGWJ*Q_ zHGN+?7aywlJ8CLr@?>g=cV<`KI=fK=*$#nKwFf3D+4IGHwy+W+2TlEf-69r_cf6uq zwQz(j^0>Xx?LComZg$%j&fT|Ks=CgAE3B)9bO{h6lSeHOv2qr*{N~O9iP$@eCk8skjot8bX6L8}(YV3}g%JTPtl>?v!^ow(5650R5;^ z$r|Twq;j>feGk>90huUANV@g<+D^4x+g_aD)l{jLZjp+MiTo*&eOvW4G*hoFURs@2 zm(0#9{sz!G=uMhN$OIZl?lG7YWxDK($UPfsw2(efQk zi15LD@TtzLx)g#!X7X+A@bvIj=Cd-*LwSgLz>ZE3a>tsUw-$v zV>lm~fC-&TCl4s?)VNPM4`4Opgy>^x{_RHj*7n1b!}~|APFK+CoK7eDoT5RMj#JE{ zLE^~^UaVEyKUpWD(S?;y2M%n02A3sC*2fHpKZ_qzGjTfCWxc#n+S%GR>`bGixx>eb zzdxx870?6y)*cZ?mK^!%G4*VMN;0|jUcD9Qw@CWmmBHw1vTfQqky z*B^)9 zGw`BycazzxDMUX7Ae;MD+gmXDWA>mLawsHR3c&CVD0*S&P0O5|vlkmeqw>&@R{a2u z`R_v}orz5WhhDT^^kD4Rkd(vB(!%@2QQOa z{Jgqs>r$fRSkUH<-YBh+3%#VqH&#K|;D6;7$Qt~=TUwkbJf?UpwTq&!s3~lO{Q(x8 z61jF*FB3T-f!nK47=5!9eq~Z!GDkhcVjHeF#Du;F7JD>rd@76mYL9$}53G0VR@G5JSvVB|Bgw zl7^2mA0)L0C-+T;**o!fw5+0sEijc(x0Hs%*4{%(P=pGe)`6VW%WCS7g;%eusFTnF z_CywcXF^@u>I`zi%y7qUtLZKZ3+c;_g-PE4yk({d=^F!x4j{_w96ji^n<7cm?c=Ud z`pm9`guNlC&1`)L0kcWjJI3tV3rRl6^R@?j{f<#SkwAg;#Y-xDNnOqLg}jOr_-Qcs zPH~n_gkEmiO-`CGgG90kZNyf2w^`nT_5y6c|Cv^^ENoYA#P-Q_*X$s_yX4mlz7vTE zkplR&Bqdt&*4eP4uLX9u*OSotu3{G(%Fd~sUOfW{m{byiI<6OeLtU|ljg5(n#87P^ zfu`Rdd-7Z@odv@wFf@ov0dWhaAW6yYnv2WJ3jci!8drk=TsNY-@p$Z5-F+SsAO*(b zX2=c4K>^@dBi<0yYgxV!%^3j7By(j*W$i;E>wf!WOV~`}|nR;&7EK^_jmRhjT?Wjj=f9yNk)&TQBV(F}XXTj>YUg0%$*(RRe z^}=0HcxKm*=*{QVWWV>s^(1)bBnNsKctT70LQ_rPV+7E%PdM;5nvK`Wd_W&^Zd^m1 zNkiAychcOPs+DX3;f#OpUyv+)%d`1?TT}8PIO1<)g>l}dODDLQObwlPrx4%toq`j!HLFT2+ zu=+Y&rTCoPZjOb5bPVF$(pLQzuENi&Sy?`_?z}lGwRd(ZnsQ=Dew~Wn%8JWtuyKJg zz(nz%kE!br&ys3N%Qtt_?4aF$+}Udjc|(G1A*dz@)rR~vuBv@FMmYey4(gT~-r2jS9x}@8;Dro1F&_yHA_LJ_ys3 zej?JwHl)OVa7+%^P?<>rrTHMfI2j^twWNZVM9#)&2Y~e_uv6`q+@CO1xZm1)wDrKs zY1KiTlFHwcGsyeZME67-OhJf_q%Pwcj1T;U9ScX{D|Q#Z#Ju>*?ll=2o`i6 zI9Fnyd54`NVBF3gx@}HvHaTB%Z^<0sOvydSVrCyc-G@ZGy}vm)l*1g>@ol#cp(T!` z>9}K)YK7laSikT>0PWdhPvB52wvx4sa!L3v6v4z2siCa-9#TwRH=Xt+^H` zxZH0av`)HKIjr4h;jdm+v*@F%75&7Rnt}Bd>@CRc7?sT42Qv?@4bF-C4GSC76uO(V zE4?^5>bzS%?(IFatMMWBV#hVbUc~Jd{>h}e9_nlKr!h(Ut*7;ayY2QPnWTl4Z+{;q zX?fi>DjZ(Y2g+KWwp)Ffs(CHHdGo>karjX7*St0#L>JQas$`MpnActkAwBG!^aYUs z5`Pml;VhpF+j2F}Yx@=b+?ZGo!At~A^N2639DhHi0ft-Brr~pel;jJ>iF1Aq?P_kp zJglxOrJB)&HtR4I+uf|Zt%25ykJNl>LdCAFURxLJk9%%=r`+VnI3e9Fuh-1y1h2jA z%^fY7lVSm?{eX@sl62MI3eJi)sbwa2|W{=A+26f^E|{% zs2{a^2ZeX!xH^YH4Yp_@AeE#SNg7c-nk= zv{&m5I|m(OU?Epc2V#WH(#q#PFP(+X^&n1h`CILy2iSIOY0~7I6pC9!L_%#ZS(`Z> zf0H#KBxs5)cy3LwCaFZ(y`4VzfJO@~82NzOk5i&MV1?0ZAuLEnF06bxxFLh%TlU6n zww8m%cK05h96b_BNVYmoO_D+?vDfcB=p412HUgBGxytexoCh#Y5BgyB~URAFtr*9d=q>j%XF~%>k^|pl0rZy>u#b(y(*- z?1Isk)zWdh-3Q8USz@ypTPTw@ozWxni@yfeJTt4&4Ry6rt87ZNsjjt;AA*SOx4NEvfw@CMSf!k^4 z&@9y)GM23vba4g%ea?oWpBz&~H|`A_By5+xw#an-t_d!i4LV!6IT&48pQ8a7#xKH# z3OxaBguPd#(G2n4?8-+2Cm05%siHbp8T|b`Wc-OC)6#-KD+Hj~qp8ysvR1~lx5!u- z{|WVy!?*QgoHdcurnvm2MQJr;^wF@GdPGfq7U<}g$JA@1n$H-hEE(}e=!PBDjSK{R z-lpJQ5#8?%H`?ueGQxIlmm-;mkcxISS6BxC@Lq?#6huNIZoLL@#-7TiM32=AeKYmp z8)E6Y^x)0F`k#6q=+nV+xI!t(ae3;7dt>BqtJFND3hMxX=*P#@D|_AE$$sg$v;7e6 z1N$^V|i1W3HdavN!>=+}JEv%Ni6(v%I}c&y)!|p?JynYHPc?Z0#y1 zqZib(mX6qMGOJeKu547S4dfJv`lV8%u}eAzN+lM!UB0&q!WIrNm$2yyfm~gF2mHqN z;^pWi^<1@iYj>kmtM6>@u9ntrZ&bFn(7Y)y4b|iuj)H2I*LHMe`(COCZWPk=;tW&^ zuO(T2BuHo*>3LI(u<4Ho9a`i6?D@Y*SN~LcVO<8x7O;_a-11Km~nj-?h+g2 z@;c`x&bh{%Dr_rDW=!|uoa@mi)W_Gh>O1SZrAB3UdsCN7a1pB4wsn0gJpnhkI@o2q z)yge9pep8$L?zd8@g~^nMP05|YU>!f8{;!vGj^(4uI}vCYpeB=US}OwV5#^=YS+X}fPFn4zrVZFM8q^|XiMXB>79%{R5|CEZ44Eg&dh5i3cf+cQ2I zVB-nC)_x#%<}yc5ep(0|L7XIWtb`c>WrH6ZMNt;yrZ`S?agTZ6qy{Pi$mv8J_DJY z{U&vsNcXJ7&P#FmR^CTBKw91hwZou|I{?O%6xGecuG4&`B!Oa;=1Brk%Xyz0wUPVe zo%5h`0O$IrWCDbRp4NU6CDjkxP|yvnT+Mz_7XGBO50N1~p&$#FkG#y$$iy--#~)QU zJ$tUw(Ge8Kvv%NL<4&AT49p| zf5R?&RdfafH__ux`$_!>3Rm)B(>nep@e$iatjF@%(#Lq8reT&4iRmMw$}sd14nAB+=-VzvWF$~QYimqzsAnG#y6}+sc-8b!w ziHqnrb+j)fDD}UrGpVq(nLGfiEodoh%o&&qc)q~t6qs2{WjO249{1ba^P=D|UY#K+ zPzY8dsi}Q1-#2_gvw$9W4&ra4iV$=$O&8--@~FdW#53nTyu=9SKD@*W;lu0etPDO# zbXGyUOgs?8%RYkHG?x^S!MulHOfolBj9~7{we_qN%%sAI;F|IF+v*%Wik;i!yoVKE zp?zVDb5am=2rMkUUQAkp9SIBsq|N5Z{ck}dcV`8-gNN>nQb2ew2jOfxGz&=21Jay6 zvmA_DZX~ec832G60O0-2K^SoA(s>b$_?He4%wzhr+tqyu+4I^@;!Q6l%&NXD1-z8v zrn(kb5At0>cSTwzHFs9Q!NAeime^&&L=lQ&@5HCEv5C$j-oXejuvXrzZ$X-2oO+Fa z?-au{zzm9hzY?{mxp=Agm!R%<7)f;7_nO<~DiAyxZ^~~QsDK))jn&=enyxhHM4aTW zq9sVczzJ0Ax&|&|RhP@(EJL-KkvH0e zKCMWE_%R8DjaaQOcitQnTygJ{JaCB5q|+0Eh!^3U9+jPL%_Gr_ou=1Xl9z5R?Vilb zFx6Tr8{WSQrMUlGACe+wuYZK6sIk5QTgUGyHRrq3T##S#I2R+`i8+@vC&fiS&2oZ^ zoaUqwzJ}`v3mn7cBzz4yrI@er?<}(l$(@z6v*3K^>?}s}JnDk<>G^mbGG6E4d1!7B zyjyeL>K`7@bI|DzhD{Kb8J;JbPKF{*vn(k-l~^E#hF zQg?vn2d;fXyQI=c>avV!cCd64i-w!XOXBf6?CigD0*lV!)8s%e88#-E$K#i-lN@$Z zGB|!CvQxJvX&L|49Kos?uI0Sc9!ZaLQ+tNGIFnT)4MAJ-QLNgF7d#3nR_&g;(qVj@ zCJgMXB{b=UFmK@Fq-FU?s_8785nLdNjTzh=IsUM?uC8QYGHx2ghkDmxNN9gb6(g*L zP?K@raHk`sT3?6Wi^1QDfA9ig#(`e}r$qN5E;(lI=sT_0X(9gR_Jpmo3zjDe2k>)V z5*6*=KEXBZB8G_cX?EpQMSH3Ox$b`Z5FqGCW3JgGfrp5P4U&lVJ_}sIT7qBn(;#JC zgz(CG{F@0Ej%7yY(n+!>WoarU0**PINsT_QZhGa~V1;0FArdlk-bdsLGU@f7z%iN9 zmOVra5LpJ1NjjNx+ZiB00?W4darAlG{3M1vG*eaDm*XBbq*+VWa=Ap6LKj@yK~KkZ zVcoL;Q)?GVlhg^Zz^Kr9nX)8>#V}uFX-kH|@lsB=9U^i#)pqE!>PBLDM0=in%rhd< z2#+$S!l}hpo&KIguGXDw`}{G=Zkv!+PsXQiVlig`E|Ki zLJru{e_KwcYhim#oD2__J^}DyPdtCa?rc|Old=lUwO+JnqzxtHlR+1@dU0%AmRtIy zK>b=^S$wE5+6e;DXEXxKkb-l8w49p-C|&rJbRlHD=67M$`cUQp=u?1GQeSdMFCvtSGu(W;c@g+SuA(@US0VTFuc{9*A* zNmtYXV8S4EpR}G15UJxyX&)?4EO37l?M#Cm3unXB_4)zAiNd3)+=U^t$d5bi!O~}> zd!Z<9e)l#4RdoxGbKShg)WSgAdjLv5izhsFk1Bud? zod&F&ZHzbb8$oY1!|+1-!a&pJbE5FOQ%2C9xt|hYx0zil?1p*5ea4kCQV|m)>YIMp zX(JE$>KU^VxDdmUsDZv?S*Its_tQv9ikgf0W`^Q#qSm;qSUez-b(}yVV~`NoMxE%T z2$3rJ*gVEuf7+Bs2oXRwzuByjN+bzfzCBP#tj1wT8A^)1_DH7&M|plw2{l;SoVepdk*6|t3!;xDaSyJDbX21?~9*A zUwhro-lOf_T^P61@D;u@UC_aV9?Bv?X6yw)*I3aaEM^ZoR33>%>a-qRp!i8Ya(GHN zWOxieY6|I8QKF34jOcW0}+P2noAA8gIgU5ign zFI1=?qP!tYc=|w^Sgy;gc9K9Q2f6OrwZQ$P!X^wjMv?*?nxi!0U<;;^Tzc`ZPpPXg zWodLz;NKIwhSbG}hr;~6OiI{=Iad$<%dP(2LwH$8RdM{0U!beiu{0r4XR~=j@ecDK zP0vK=?12zs*5R48^%}95x%Lu;wn^rGfj<&WJz%Ie?AgLrG@Z{8yp$S7f|wB-+8-Y> zczA(u+Vq}pSAYZGwO)joRQ7^WFm7&g0s|AZzz8-2IU?hd#@;z;_n%q}4VQ4XFG=u& zx@pLMw|4T@0~u9Hi$^i4BkI6WWYLEv%S5?lSY&hRGUWgv0=!C=k+Ny%MYfudv*4z0 zmP>kV6CxJOWP1Bht+Ps7Eh%@aUPllcl=~lJvSUrzc*pWSiygP@iHZ{t00!Z5 z=FAQZF}@gD8Zg7|oRD(;GF^@*qL9Z}acxe+>xgcL+*;B2t!=SUs zrd936R;jrO9Tg0e<4=SY-$Gp5oyOu+@t+~U5_+cFut$;58P&o*3roq#IV)m7K?IGo6z8 z?}_4%kE_V8S!pon?R7*{glNuJTFIvzLoR1{Rr2+hJy?P>v(O-WwCB^?Fgy*THcYN` zv7)YITA{qu*ru1ZR(GlxHMTiz`5Ie0w<@q#7B>Wm4!l;s6H8tvivM9Mo&;eftaKF) zBKxoe*=w6HLuRkrZ5{H5S_4 zNP*39YoBt=)u%&nm_{3xN~5UERx0i9*N@iiD=w8I0CvWNr<9QUz2{7dY-gxBgKgUV zOgb&$B+bqtFPw197Mvr8OtoLdQ1>*s#+ZccaWh7iVv5v#ATt`OoBkNZqw=Y2XEGZL zDrWD zKNy&dkMSL(^>U*O-wBu%!1u(4T^=v~i%aU}rVZ5LB6zGyph%c_EPne0jEZnrCe7~i zVEB?CkYxw^oeU%de8@q^ML%=W@7ku!!T(Bt-E}b2{f(Of>0>}hPzeVw`Vn}NgVD0k zc|c}^D}4rZGHWq-4UZywb!G=ZPw^xvEW zYcFj0UPILHfEyc-_A_)P`QCH}C5zXdwC~eo4J;!wjkw>4R+{f)R+sT~SQf0H^H6)m zFRN!pl;^!B4(2B6J>Mu9r@alFjv6Jz0-Pv(Lq%@tl372;++lW)J--(-hkjCFOD#Fb z*^PM)_$C0a0gI5QtBY#kq22vvXB7W%QeCw{lvZOSMO-}Tz`fQs!K$bUFKv4e+fH+p zV;h6SB7tj}SR_zZeQVl7Fed>OW+i5`i`lw~**%bdw2=5>IeogkJx zdrLnFbpMRVi$o7cWIDSN3S*d?8Y2K;E&Em)e@0(}!w$uP#@sUGv7HAbJ5j0?{yu`m zRB5Cmz?>+{5uttv3>>YTHMbC)L6Zl&Y}QoS+_b)NJ}zT&bcu@I+_UM#jOn>qFwgY7 z_;Tot3C|pDtoSb{)MD0i8ivI)#wQ(dL@aw83cQ%Dw`}~-Q3?7HaY@Hd=tnL?j7_rG zlHZ{~bvaO$lGd&+`O6rlA%`ehHmEC*Lu$sBZ||?d2Ujrav`!}?h|Fc%Qrb%m8gsrm z=3Fsx`5|lr98BsvxcZ!zshGyC?rcF;yIHE?T@7(NU9Ef*MtqG%U2ivcVMn)Fw|+;( zj+%*Qi119U^<6x$BoCZ@go(yAl&`MgK{bTO7$eJ+N;Ezy<2YqE+15@2u8!+?A|z>Q zqWJH}B?_cx;hotl=C<(m3iG++?2aTNNgFvOD8pcqoDq}3B-S}2jh47G(`X42xBDH0 zHHo7VxzA`*UH-PQYZ2VB5I+3hg zlU+s3pYn!;!4umuzPvIDb@6;Kw-I_dbmjrO!%QD-%2I(+EYc$ zBVZrtXmUAB;aJWjZj*vyLE(J^xo01364o~y4UR!os8h8wlz;E(8|oS^lB^SgjV}@k zXIjpe)*%q=XZGDK!&-zwlV*Z~=U?5zDzr}aJMnW_U0tYsOV36OB4lC%_(!cZ^Rpc}!$$VOrO<%~ht=*P8zhZTnznlVUF z{gUF2;wLb!3l0x=&Y;xqx8fiQ^8zvy`o?a&RB;^yVnWjd<3QSoAa4ZbWiuQ(lA&pW zpcrTFjRU;Os>SzZh*N*sITqc`dpQ0VXoB1$F_0yA9NwX^W%#88_BUNv2LM3$c&!Vc z=FDle;XOj9a4TP0hd_Yc0{1NuQq$cKyQtZfknf%jl_wJ)022Wv!}G0c;%d=)%+_{O zLvzaTnyjBvO`i%BEb(*D;_S8YEUd&=&9rH(utF5?+UQ#PG>|-+h$9RtJr1lX7F*$? z=@?>%KeAQfO~1gnppRk`6LDDy-v-T8L7l0{4Jo!W#%sdOIt@I-8&V8tQiXK@Ky;`I zZoGz<66u2jPgAYg;8S#N==n+t9vpdqDb7AVvqCDk&|ra$txVojJz}o-nyV-+^l{~;Dz1`@It9; zzY26_SDXi^gYxl_z1ldTbql7icVG+aY;E3<5>?qjdsU!?Zb*p)=-{L(8Egiuoqo1f z?7qT=SsY)cG_hGOF?vTW##W84i?3f~z`5$&dYzQBj5Qz&d4Q%JUUa4+L4h9SE3U3@ zZ%E%lpv(br1>r84s>rx$HYGDJ)(|bkgSr`qAp@2{OW~%aTv}l;Ym-J!Z!89gm zp}WyyV<}(NuB%}%M55j#WY%Sg_Gn=w>P<$bl0F3>kKHjIDO_%t!4uVsd&19!g-HP7znB3_(ghhh1s+DHEASd<#O6X_YhdPXYK<)f!J^O z=G2J`$sfDOq=jM7`W?~g(x>(Z1#T#!WFu2l=PHj{fVY;u{{9!>Em-v~rRJ)P{pn6> zNg4>rQd5)fRna4XML!7ZrQu@-dR0J&$flHF!K*^j23lBB7>}IW?$VloIVZ--RcCYy zN-DN`57;lNrI*SAF+`AXC)tuH$j2b#Z`LHaaA?$?Hp1*G0zP!xOB(_)L@wCLNEO#X zAiNBKkPr-?9Hg7XTLL+B!2lnn%fd}Cn?zFfJ_q5zZ3?*1nyhl{wwO*;itefF-5%oh zw$p6b(%S;;oGTLq!Tz-$d&9jwvVUc-m`+uq90nto0vS?aX-nXR}NPz}1z1T#q3 zB099cHdO&0+()T`lwSH3i4hZ1^wK`egHq(=QcVDdFk<3Tk*}st1 zYuHG%ac)}#0FX!@xW}|p&wDRv0UaXJjV%UNAXPz+0K`qw>fS#&bbW3L;Ls*6dBq_1 z^u9>1@Q%Xn&| zz^NKWionm|=uPogXupavKZ<=%2ascn=cngBrl-T`lUk%#Py|7Bdw2@%fsQn%ZCf)R5s!9E`1txQhw zXT}h6G>ykUn><%$rusC`WcRWeEep}T2W^LaxM_GIM{Sy1>Eh4Av==)w)0+@n)2(o5 z(;VFQxC`+BOoZNKn4{n@zaQPfOY~QBj56%cCmx+)^2-9z7t}O4a1D6FaG+tdUoV>5+5v1(Tq0cz)dy7JL?Yo*WHtbp+_c1 z0$pYfYwH9~7Duq77sC;SZ8hxxbIbHhOn=%ko6dVFwDvLi?1nMs=d|KMwoG#ID|pbt zcGsaZaqi=L_3iz-G-BTGM2H9X(yL8I^ny87#x}gu>YlVSJDJ_Wjh0|o8pz?Raz_r{ zoHieL0#6nwCAM+Kp2c5)^&Hzs@Y>a8NCmSe_`aRp6=u5`dy)~k+0#Jk=7Oi; zb#=+Kch*@b{z-KsC_3f!Mw=PDH2n}qh?GeD&Figy*!SEq5R4>Fpoz1U!o^EwQBN+t z_#1eJCyS)dixyqHYP)t+{}AJehz0h}Tx@PVT>D;{@S>D{xqiWoNm;ZnS>+t9;eKt5?U&xmaKX%tgOeL7-G<|C)}@{qsI`Bijlf3 zgAjxhI+vcE9MXLkJDSCxxh&>uo~9JypvzXtYPVC!=RU1nUACW&Y19rv(1FmLkemY{ z8wLT~>h{d@owF6M(lPa7(^&Xj zgz?VI0eNyekA}ZBTQ_uLr47RTO2lpM+qmrmx5WvGYq~v8Lk49PlW6aC_yDs(dp-Z1 zUNcFlG%-T%!*RxY`j`6)WXW+lnMfTGV_HDZe0bS%u1ShBjwf@G7{|LoFt(Gqg~(SR zDo8GaoTx+slW9T=bS6X$B0o){OyGUPM!IWa7d3&n6#1;eF96qPb`O`#?w^Y-nO`Yc z6tmB5ynqY`Xs-f~DJ=f-xGIdci{LCfk`8lV$;c!{W&rQxk`jc?Bji}dS;2JTnk(pK zWw$-Mbg^wuT;~8+aEUo*igY5KrCh1C7DCYA1ON9;4Q{=8J-R^gw-?kEH!Y6p{SkzW zLpTE6d*X5|stUPbx+1nRf(55)!tEpr49^)o<6HzXr7hhVddn%>j&oVaKtOw=fI|)8 zD{gIv9b79G2nixRO|Y$mR!#x+0WAH2T69wscaWH7Hu#dHE8^B*#N6l{Om6$3wWz|j zCyszvEJ-Q+B;Vn*?i`t!j%s<+QiFs;hLRc6Qf>>UB(}YVJmhLTW@6fH(0H;TW>7kx z1%v$eViF8kscHn1GDkJj9J)w+tr5Za)i@hY!ej?@enAswBU70O$IXVw$`Epe^I?Qf zp)AUiT#XGpwh1PR70iVZ$bnM(iYsr8RuFuIEKo>dz8Umr(^&{-Z75RYhpoXQ3etc{ z#r2cIPYEWH%UHdv41O>CuSs>~!`^=feCRP~0&CGyNQ<)>u7MRD1?>OxeY*}alcI4% znKuOU1!hgVs(63a(URQ1;n091raq=SzXI0`W6x#xbx2X>P^UQo+SQ16-s&`a(npa0 z;_po%@IlHB)X`psT#$!MfKX5MKFMh-NEhS+-}?Fv;v-+*!92+M#2L&`mhm@9a1)YO z=00(Ui=F2!DFS|-($G2)5+vMT~hDp zfhkIYcnnXL+M+IitDjBhdJgdTCrH@pv2n~F*Io)lp08N= zc&Bae(UZ=gz0vO-R$C8_+L-JbT;R>C-1GYEf>h90-KD);-6y3r1De~z#@)Ue$Kx{r z>+e*m+<7>W^@D=}LVJ=C!?WC!#haA8%wiEmax#mrr&VVc-+{%ldhQg{`txcaiW}~ zW^sWsZ_fjfB`G|3R*1=cN@G*tRt0(V+=#?MPzf)1DFKQ>1k3VtcmfHzzq=s7P#G$ zIRQ7wo{@>HO_!s3A3MtTx|M^NNG6X+2QW^gFEayoFDMs+4*inSalN630q zlZC%9r=A&635IyaOMd5=1{20WN7iRSJaVds1KmcDW#h{)KWn{V=b!^w7L4H$_=ru* zbmigD(#ui}4n=aN!uvK&k>)&;{wzXYz%T3(;$F~@*UgFGxY?D14}LnA$=YRFqZ>&s zG5QB%>gBva7@=c2zore1o|IymUIYdsJN8*MxeW^cTB z0K6t4f}RAtIn@qiiLvNKGL`JkZuNvnJ`+_;ahp61vl z3DC#CeAaC8)CD*Q!6j16q20Mms&i)`NZ?7T8zj!J^GGA4$o znO)RY36eoEzV~pOh;y=!xdDQ_|K`bNk_6sO$H{wVRutnWMSmF~Mjw7VVNFOp&aV8_ z*oUxP0#oUqRdUldctG48?f0$lOXKP#4@js2DJ_qsG+W3^iD!J1nr6F?WC@r+Mh(Qa zG%p2=7(bQ9`@@ANu}caSQ`xk0z;{VvV?ReUua&!qQGJbqJbe^ z{W$6&;xpMx!QSNS@4fY%e%DA6*y}%~gBZfLwGUgoQKaWK;zRX4 zv~Er413>jD4Mx9?OJejjXF4@?VdBOu$Y{JPko8$j7w%&F<_)dwO(-y6jo>{(F89JH zOF^$(;SaG6qo+*RZiHJ%Y#=T(`T{}W0e-p$KZ#c#k zO)|v}J-Yz_EwRU$(z$fLMHE-hqmN)-VTUm)WtNgn8MvS%=+9mkvXo5^*>hwt_3RvF za|&NnH^V252+NZ%S_GS<6uYX3mpGaTaMs?S^1l4;UfY<*dE_T2a1Vx4P-lV|C6i?A z+GgNzl1>(c?W_uADPY`6(T12A7VoH=t~DMDSmD@igYUcqYsSjD0UTy%GgT}5+SV!7 z)b&gzUma+}$Z8T$9n6rPDN_xv-J^W*&w&cg;deG+I^_w zAAz!U^kLV+J}&yNM3BIiTo}O%V%KEJ*Rxu6vt$gshG|~<@EKxnoPR`@C zSrLwyG_3Tzam1G*SZDH4^Q+^FV>+Et{Diui=|N?m4a+jhsfU@Od=wE8nz(7C|dP^O#{TticBJ`Tp{F$QENI3aQjGP*Tgl|p_ zlBOoDb~>RiMVSa+S3XG@BWzJ71{Dxrf4>4&ZiI8cHI7wy(t6yc?#MpE6@PP+BoaRf zAIN97^3OE`hV#C4;(qsiVR8R2T~b#vO85)zotVoqWVz+C(mRSfChfXo^X-lzDW2X@ zG{K6Elt_Tj!vxDEoVtfFJG}Tr>}RZ>;%|!FnO8pAvvJ_KdCu5h)LfmzDTq3&;Qk^y zHgd*0c!YjmtfQuZj=eN;D8f%1wL0D8MN#`uMktF{bzH-aWkJT0P3De>OC|&7QySqn zr7=foQ_2rVEs+|5eUmssr_S}_^ff7%eR0}T+3?`Z5LFA2GvZY6ZOX6`>|epMaLYOd zS(2Llb?U1RPyrT-wvKTi1a%+Ya>ABi9QMN&0^PF(P6Vt=rz zVl!ea$l`DCa93n}hbQsy*1%-qMa>GWhaIyO3M`SG7wuIm{=uZ0l>&B|w$wsP>>gY* zR+13X1)^ShYwAp0ZWugOJm?+qVOK-tCJC?*z&oG*LpfI8F`_N^FpKFaf|;f2!fy1L z%m#~xz=a9(g&4w!4XZ~%JL zJiv;FW|LL7n&%KxEz6jc}Q@r5i8Sh1TwVa9_Vnr z)Vcb_zc+z*qVkVM06hU$8T2aBV{nvKvl= z6sknx0I)j8d`}Wgl1z)?v~uYro#L|bEXZO_>Oc;pf^0H|?WTy1>_)y2$}ZvwfE%7Y zb%~FLiAps3lINn$C7BI6zB*zJ29}9;_O4Qi^N>C2@9&XNfcHSc9PtXAET2B;9o^yc zZwT28lQw1Y^s&oPEpyYnp#$10mwGuWW>35vBXJ96w$Gm`Q!u zfGf(3O#5~phFoDY&?tT~b-3*k2$a5cfRvo$hxsV{_Lx#h6 zEWo(FkLfKgl+XlN4RIX@1>G~IggmyOpv_kz?%jL3)`L~15yPb1%8FlCs+2rR4VfIL zh+D#Pk-!V46WjE#u!NJJ1kwB4Ek0yjB_q%~;_WV6NusEUzu6n)CLPZ zve=E*@L@6=nbbU0&as39MieVqVHP`)5@vyxesQa^UhO=zb+8$6f;)cx^ z;g9yPeET-jjmS_d;mkLF54__jB{S&=_+u{YG`8xcbv$QRS-V}Ql`z1`-$ z+8W@uDg;wn}T|&HC0l9to?Ko6XX#G8$rgcpMM;cS{=^TLvgz2HdUj z(YD=<@-|)&oOY=3!``Q1sj^c3zu^-)H2?qr literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto b/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto new file mode 100644 index 00000000..caf80eea --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto @@ -0,0 +1,1725 @@ +syntax = "proto2"; +package WAWebProtobufsE2E; +option go_package = "go.mau.fi/whatsmeow/proto/waE2E"; + +import "waAdv/WAAdv.proto"; +import "waMmsRetry/WAMmsRetry.proto"; +import "waCommon/WACommon.proto"; + +enum PeerDataOperationRequestType { + UPLOAD_STICKER = 0; + SEND_RECENT_STICKER_BOOTSTRAP = 1; + GENERATE_LINK_PREVIEW = 2; + HISTORY_SYNC_ON_DEMAND = 3; + PLACEHOLDER_MESSAGE_RESEND = 4; + WAFFLE_LINKING_NONCE_FETCH = 5; +} + +enum KeepType { + UNKNOWN = 0; + KEEP_FOR_ALL = 1; + UNDO_KEEP_FOR_ALL = 2; +} + +message PlaceholderMessage { + enum PlaceholderType { + MASK_LINKED_DEVICES = 0; + } + + optional PlaceholderType type = 1; +} + +message BCallMessage { + enum MediaType { + UNKNOWN = 0; + AUDIO = 1; + VIDEO = 2; + } + + optional string sessionID = 1; + optional MediaType mediaType = 2; + optional bytes masterKey = 3; + optional string caption = 4; +} + +message CallLogMessage { + enum CallOutcome { + CONNECTED = 0; + MISSED = 1; + FAILED = 2; + REJECTED = 3; + ACCEPTED_ELSEWHERE = 4; + ONGOING = 5; + SILENCED_BY_DND = 6; + SILENCED_UNKNOWN_CALLER = 7; + } + + enum CallType { + REGULAR = 0; + SCHEDULED_CALL = 1; + VOICE_CHAT = 2; + } + + message CallParticipant { + optional string JID = 1; + optional CallOutcome callOutcome = 2; + } + + optional bool isVideo = 1; + optional CallOutcome callOutcome = 2; + optional int64 durationSecs = 3; + optional CallType callType = 4; + repeated CallParticipant participants = 5; +} + +message ScheduledCallEditMessage { + enum EditType { + UNKNOWN = 0; + CANCEL = 1; + } + + optional WACommon.MessageKey key = 1; + optional EditType editType = 2; +} + +message ScheduledCallCreationMessage { + enum CallType { + UNKNOWN = 0; + VOICE = 1; + VIDEO = 2; + } + + optional int64 scheduledTimestampMS = 1; + optional CallType callType = 2; + optional string title = 3; +} + +message EventResponseMessage { + enum EventResponseType { + UNKNOWN = 0; + GOING = 1; + NOT_GOING = 2; + MAYBE = 3; + } + + optional EventResponseType response = 1; + optional int64 timestampMS = 2; + optional int32 extraGuestCount = 3; +} + +message PinInChatMessage { + enum Type { + UNKNOWN_TYPE = 0; + PIN_FOR_ALL = 1; + UNPIN_FOR_ALL = 2; + } + + optional WACommon.MessageKey key = 1; + optional Type type = 2; + optional int64 senderTimestampMS = 3; +} + +message ButtonsResponseMessage { + enum Type { + UNKNOWN = 0; + DISPLAY_TEXT = 1; + } + + oneof response { + string selectedDisplayText = 2; + } + + optional string selectedButtonID = 1; + optional ContextInfo contextInfo = 3; + optional Type type = 4; +} + +message ButtonsMessage { + enum HeaderType { + UNKNOWN = 0; + EMPTY = 1; + TEXT = 2; + DOCUMENT = 3; + IMAGE = 4; + VIDEO = 5; + LOCATION = 6; + } + + message Button { + enum Type { + UNKNOWN = 0; + RESPONSE = 1; + NATIVE_FLOW = 2; + } + + message NativeFlowInfo { + optional string name = 1; + optional string paramsJSON = 2; + } + + message ButtonText { + optional string displayText = 1; + } + + optional string buttonID = 1; + optional ButtonText buttonText = 2; + optional Type type = 3; + optional NativeFlowInfo nativeFlowInfo = 4; + } + + oneof header { + string text = 1; + DocumentMessage documentMessage = 2; + ImageMessage imageMessage = 3; + VideoMessage videoMessage = 4; + LocationMessage locationMessage = 5; + } + + optional string contentText = 6; + optional string footerText = 7; + optional ContextInfo contextInfo = 8; + repeated Button buttons = 9; + optional HeaderType headerType = 10; +} + +message SecretEncryptedMessage { + enum SecretEncType { + UNKNOWN = 0; + EVENT_EDIT = 1; + } + + optional WACommon.MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIV = 3; + optional SecretEncType secretEncType = 4; +} + +message GroupInviteMessage { + enum GroupType { + DEFAULT = 0; + PARENT = 1; + } + + optional string groupJID = 1; + optional string inviteCode = 2; + optional int64 inviteExpiration = 3; + optional string groupName = 4; + optional bytes JPEGThumbnail = 5; + optional string caption = 6; + optional ContextInfo contextInfo = 7; + optional GroupType groupType = 8; +} + +message InteractiveResponseMessage { + message Body { + enum Format { + DEFAULT = 0; + EXTENSIONS_1 = 1; + } + + optional string text = 1; + optional Format format = 2; + } + + message NativeFlowResponseMessage { + optional string name = 1; + optional string paramsJSON = 2; + optional int32 version = 3; + } + + oneof interactiveResponseMessage { + NativeFlowResponseMessage nativeFlowResponseMessage = 2; + } + + optional Body body = 1; + optional ContextInfo contextInfo = 15; +} + +message InteractiveMessage { + message ShopMessage { + enum Surface { + UNKNOWN_SURFACE = 0; + FB = 1; + IG = 2; + WA = 3; + } + + optional string ID = 1; + optional Surface surface = 2; + optional int32 messageVersion = 3; + } + + message CarouselMessage { + repeated InteractiveMessage cards = 1; + optional int32 messageVersion = 2; + } + + message NativeFlowMessage { + message NativeFlowButton { + optional string name = 1; + optional string buttonParamsJSON = 2; + } + + repeated NativeFlowButton buttons = 1; + optional string messageParamsJSON = 2; + optional int32 messageVersion = 3; + } + + message CollectionMessage { + optional string bizJID = 1; + optional string ID = 2; + optional int32 messageVersion = 3; + } + + message Footer { + optional string text = 1; + } + + message Body { + optional string text = 1; + } + + message Header { + oneof media { + DocumentMessage documentMessage = 3; + ImageMessage imageMessage = 4; + bytes JPEGThumbnail = 6; + VideoMessage videoMessage = 7; + LocationMessage locationMessage = 8; + ProductMessage productMessage = 9; + } + + optional string title = 1; + optional string subtitle = 2; + optional bool hasMediaAttachment = 5; + } + + oneof interactiveMessage { + ShopMessage shopStorefrontMessage = 4; + CollectionMessage collectionMessage = 5; + NativeFlowMessage nativeFlowMessage = 6; + CarouselMessage carouselMessage = 7; + } + + optional Header header = 1; + optional Body body = 2; + optional Footer footer = 3; + optional ContextInfo contextInfo = 15; +} + +message ListResponseMessage { + enum ListType { + UNKNOWN = 0; + SINGLE_SELECT = 1; + } + + message SingleSelectReply { + optional string selectedRowID = 1; + } + + optional string title = 1; + optional ListType listType = 2; + optional SingleSelectReply singleSelectReply = 3; + optional ContextInfo contextInfo = 4; + optional string description = 5; +} + +message ListMessage { + enum ListType { + UNKNOWN = 0; + SINGLE_SELECT = 1; + PRODUCT_LIST = 2; + } + + message ProductListInfo { + repeated ProductSection productSections = 1; + optional ProductListHeaderImage headerImage = 2; + optional string businessOwnerJID = 3; + } + + message ProductListHeaderImage { + optional string productID = 1; + optional bytes JPEGThumbnail = 2; + } + + message ProductSection { + optional string title = 1; + repeated Product products = 2; + } + + message Product { + optional string productID = 1; + } + + message Section { + optional string title = 1; + repeated Row rows = 2; + } + + message Row { + optional string title = 1; + optional string description = 2; + optional string rowID = 3; + } + + optional string title = 1; + optional string description = 2; + optional string buttonText = 3; + optional ListType listType = 4; + repeated Section sections = 5; + optional ProductListInfo productListInfo = 6; + optional string footerText = 7; + optional ContextInfo contextInfo = 8; +} + +message OrderMessage { + enum OrderSurface { + CATALOG = 1; + } + + enum OrderStatus { + INQUIRY = 1; + ACCEPTED = 2; + DECLINED = 3; + } + + optional string orderID = 1; + optional bytes thumbnail = 2; + optional int32 itemCount = 3; + optional OrderStatus status = 4; + optional OrderSurface surface = 5; + optional string message = 6; + optional string orderTitle = 7; + optional string sellerJID = 8; + optional string token = 9; + optional int64 totalAmount1000 = 10; + optional string totalCurrencyCode = 11; + optional ContextInfo contextInfo = 17; + optional int32 messageVersion = 12; + optional WACommon.MessageKey orderRequestMessageID = 13; +} + +message PaymentInviteMessage { + enum ServiceType { + UNKNOWN = 0; + FBPAY = 1; + NOVI = 2; + UPI = 3; + } + + optional ServiceType serviceType = 1; + optional int64 expiryTimestamp = 2; +} + +message HighlyStructuredMessage { + message HSMLocalizableParameter { + message HSMDateTime { + message HSMDateTimeComponent { + enum CalendarType { + GREGORIAN = 1; + SOLAR_HIJRI = 2; + } + + enum DayOfWeekType { + MONDAY = 1; + TUESDAY = 2; + WEDNESDAY = 3; + THURSDAY = 4; + FRIDAY = 5; + SATURDAY = 6; + SUNDAY = 7; + } + + optional DayOfWeekType dayOfWeek = 1; + optional uint32 year = 2; + optional uint32 month = 3; + optional uint32 dayOfMonth = 4; + optional uint32 hour = 5; + optional uint32 minute = 6; + optional CalendarType calendar = 7; + } + + message HSMDateTimeUnixEpoch { + optional int64 timestamp = 1; + } + + oneof datetimeOneof { + HSMDateTimeComponent component = 1; + HSMDateTimeUnixEpoch unixEpoch = 2; + } + } + + message HSMCurrency { + optional string currencyCode = 1; + optional int64 amount1000 = 2; + } + + oneof paramOneof { + HSMCurrency currency = 2; + HSMDateTime dateTime = 3; + } + + optional string default = 1; + } + + optional string namespace = 1; + optional string elementName = 2; + repeated string params = 3; + optional string fallbackLg = 4; + optional string fallbackLc = 5; + repeated HSMLocalizableParameter localizableParams = 6; + optional string deterministicLg = 7; + optional string deterministicLc = 8; + optional TemplateMessage hydratedHsm = 9; +} + +message HistorySyncNotification { + enum HistorySyncType { + INITIAL_BOOTSTRAP = 0; + INITIAL_STATUS_V3 = 1; + FULL = 2; + RECENT = 3; + PUSH_NAME = 4; + NON_BLOCKING_DATA = 5; + ON_DEMAND = 6; + NO_HISTORY = 7; + } + + optional bytes fileSHA256 = 1; + optional uint64 fileLength = 2; + optional bytes mediaKey = 3; + optional bytes fileEncSHA256 = 4; + optional string directPath = 5; + optional HistorySyncType syncType = 6; + optional uint32 chunkOrder = 7; + optional string originalMessageID = 8; + optional uint32 progress = 9; + optional int64 oldestMsgInChunkTimestampSec = 10; + optional bytes initialHistBootstrapInlinePayload = 11; + optional string peerDataRequestSessionID = 12; +} + +message RequestWelcomeMessageMetadata { + enum LocalChatState { + EMPTY = 0; + NON_EMPTY = 1; + } + + optional LocalChatState localChatState = 1; +} + +message ProtocolMessage { + enum Type { + REVOKE = 0; + EPHEMERAL_SETTING = 3; + EPHEMERAL_SYNC_RESPONSE = 4; + HISTORY_SYNC_NOTIFICATION = 5; + APP_STATE_SYNC_KEY_SHARE = 6; + APP_STATE_SYNC_KEY_REQUEST = 7; + MSG_FANOUT_BACKFILL_REQUEST = 8; + INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9; + APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10; + SHARE_PHONE_NUMBER = 11; + MESSAGE_EDIT = 14; + PEER_DATA_OPERATION_REQUEST_MESSAGE = 16; + PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; + REQUEST_WELCOME_MESSAGE = 18; + BOT_FEEDBACK_MESSAGE = 19; + MEDIA_NOTIFY_MESSAGE = 20; + CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21; + LID_MIGRATION_MAPPING_SYNC = 22; + REMINDER_MESSAGE = 23; + BOT_MEMU_ONBOARDING_MESSAGE = 24; + } + + optional WACommon.MessageKey key = 1; + optional Type type = 2; + optional uint32 ephemeralExpiration = 4; + optional int64 ephemeralSettingTimestamp = 5; + optional HistorySyncNotification historySyncNotification = 6; + optional AppStateSyncKeyShare appStateSyncKeyShare = 7; + optional AppStateSyncKeyRequest appStateSyncKeyRequest = 8; + optional InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9; + optional AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10; + optional DisappearingMode disappearingMode = 11; + optional Message editedMessage = 14; + optional int64 timestampMS = 15; + optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; + optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; + optional BotFeedbackMessage botFeedbackMessage = 18; + optional string invokerJID = 19; + optional RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20; + optional MediaNotifyMessage mediaNotifyMessage = 21; + optional CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22; + optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23; +} + +message CloudAPIThreadControlNotification { + enum CloudAPIThreadControl { + UNKNOWN = 0; + CONTROL_PASSED = 1; + CONTROL_TAKEN = 2; + } + + optional CloudAPIThreadControl status = 1; + optional int64 senderNotificationTimestampMS = 2; + optional string consumerLid = 3; + optional string consumerPhoneNumber = 4; +} + +message BotFeedbackMessage { + enum ReportKind { + GENERIC = 0; + } + + enum BotFeedbackKindMultiplePositive { + BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1; + } + + enum BotFeedbackKindMultipleNegative { + BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256; + } + + enum BotFeedbackKind { + BOT_FEEDBACK_POSITIVE = 0; + BOT_FEEDBACK_NEGATIVE_GENERIC = 1; + BOT_FEEDBACK_NEGATIVE_HELPFUL = 2; + BOT_FEEDBACK_NEGATIVE_INTERESTING = 3; + BOT_FEEDBACK_NEGATIVE_ACCURATE = 4; + BOT_FEEDBACK_NEGATIVE_SAFE = 5; + BOT_FEEDBACK_NEGATIVE_OTHER = 6; + BOT_FEEDBACK_NEGATIVE_REFUSED = 7; + BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8; + BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9; + } + + optional WACommon.MessageKey messageKey = 1; + optional BotFeedbackKind kind = 2; + optional string text = 3; + optional uint64 kindNegative = 4; + optional uint64 kindPositive = 5; + optional ReportKind kindReport = 6; +} + +message VideoMessage { + enum Attribution { + NONE = 0; + GIPHY = 1; + TENOR = 2; + } + + optional string URL = 1; + optional string mimetype = 2; + optional bytes fileSHA256 = 3; + optional uint64 fileLength = 4; + optional uint32 seconds = 5; + optional bytes mediaKey = 6; + optional string caption = 7; + optional bool gifPlayback = 8; + optional uint32 height = 9; + optional uint32 width = 10; + optional bytes fileEncSHA256 = 11; + repeated InteractiveAnnotation interactiveAnnotations = 12; + optional string directPath = 13; + optional int64 mediaKeyTimestamp = 14; + optional bytes JPEGThumbnail = 16; + optional ContextInfo contextInfo = 17; + optional bytes streamingSidecar = 18; + optional Attribution gifAttribution = 19; + optional bool viewOnce = 20; + optional string thumbnailDirectPath = 21; + optional bytes thumbnailSHA256 = 22; + optional bytes thumbnailEncSHA256 = 23; + optional string staticURL = 24; + repeated InteractiveAnnotation annotations = 25; + optional string accessibilityLabel = 26; + repeated ProcessedVideo processedVideos = 27; +} + +message ExtendedTextMessage { + enum InviteLinkGroupType { + DEFAULT = 0; + PARENT = 1; + SUB = 2; + DEFAULT_SUB = 3; + } + + enum PreviewType { + NONE = 0; + VIDEO = 1; + PLACEHOLDER = 4; + IMAGE = 5; + PAYMENT_LINKS = 6; + } + + enum FontType { + SYSTEM = 0; + SYSTEM_TEXT = 1; + FB_SCRIPT = 2; + SYSTEM_BOLD = 6; + MORNINGBREEZE_REGULAR = 7; + CALISTOGA_REGULAR = 8; + EXO2_EXTRABOLD = 9; + COURIERPRIME_BOLD = 10; + } + + optional string text = 1; + optional string matchedText = 2; + optional string canonicalURL = 4; + optional string description = 5; + optional string title = 6; + optional fixed32 textArgb = 7; + optional fixed32 backgroundArgb = 8; + optional FontType font = 9; + optional PreviewType previewType = 10; + optional bytes JPEGThumbnail = 16; + optional ContextInfo contextInfo = 17; + optional bool doNotPlayInline = 18; + optional string thumbnailDirectPath = 19; + optional bytes thumbnailSHA256 = 20; + optional bytes thumbnailEncSHA256 = 21; + optional bytes mediaKey = 22; + optional int64 mediaKeyTimestamp = 23; + optional uint32 thumbnailHeight = 24; + optional uint32 thumbnailWidth = 25; + optional InviteLinkGroupType inviteLinkGroupType = 26; + optional string inviteLinkParentGroupSubjectV2 = 27; + optional bytes inviteLinkParentGroupThumbnailV2 = 28; + optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29; + optional bool viewOnce = 30; + optional uint32 videoHeight = 31; + optional uint32 videoWidth = 32; +} + +message InvoiceMessage { + enum AttachmentType { + IMAGE = 0; + PDF = 1; + } + + optional string note = 1; + optional string token = 2; + optional AttachmentType attachmentType = 3; + optional string attachmentMimetype = 4; + optional bytes attachmentMediaKey = 5; + optional int64 attachmentMediaKeyTimestamp = 6; + optional bytes attachmentFileSHA256 = 7; + optional bytes attachmentFileEncSHA256 = 8; + optional string attachmentDirectPath = 9; + optional bytes attachmentJPEGThumbnail = 10; +} + +message ImageMessage { + enum ImageSourceType { + USER_IMAGE = 0; + AI_GENERATED = 1; + AI_MODIFIED = 2; + } + + optional string URL = 1; + optional string mimetype = 2; + optional string caption = 3; + optional bytes fileSHA256 = 4; + optional uint64 fileLength = 5; + optional uint32 height = 6; + optional uint32 width = 7; + optional bytes mediaKey = 8; + optional bytes fileEncSHA256 = 9; + repeated InteractiveAnnotation interactiveAnnotations = 10; + optional string directPath = 11; + optional int64 mediaKeyTimestamp = 12; + optional bytes JPEGThumbnail = 16; + optional ContextInfo contextInfo = 17; + optional bytes firstScanSidecar = 18; + optional uint32 firstScanLength = 19; + optional uint32 experimentGroupID = 20; + optional bytes scansSidecar = 21; + repeated uint32 scanLengths = 22; + optional bytes midQualityFileSHA256 = 23; + optional bytes midQualityFileEncSHA256 = 24; + optional bool viewOnce = 25; + optional string thumbnailDirectPath = 26; + optional bytes thumbnailSHA256 = 27; + optional bytes thumbnailEncSHA256 = 28; + optional string staticURL = 29; + repeated InteractiveAnnotation annotations = 30; + optional ImageSourceType imageSourceType = 31; + optional string accessibilityLabel = 32; +} + +message ContextInfo { + message ForwardedNewsletterMessageInfo { + enum ContentType { + UPDATE = 1; + UPDATE_CARD = 2; + LINK_CARD = 3; + } + + optional string newsletterJID = 1; + optional int32 serverMessageID = 2; + optional string newsletterName = 3; + optional ContentType contentType = 4; + optional string accessibilityText = 5; + } + + message ExternalAdReplyInfo { + enum MediaType { + NONE = 0; + IMAGE = 1; + VIDEO = 2; + } + + optional string title = 1; + optional string body = 2; + optional MediaType mediaType = 3; + optional string thumbnailURL = 4; + optional string mediaURL = 5; + optional bytes thumbnail = 6; + optional string sourceType = 7; + optional string sourceID = 8; + optional string sourceURL = 9; + optional bool containsAutoReply = 10; + optional bool renderLargerThumbnail = 11; + optional bool showAdAttribution = 12; + optional string ctwaClid = 13; + optional string ref = 14; + optional bool clickToWhatsappCall = 15; + optional bool adContextPreviewDismissed = 16; + } + + message AdReplyInfo { + enum MediaType { + NONE = 0; + IMAGE = 1; + VIDEO = 2; + } + + optional string advertiserName = 1; + optional MediaType mediaType = 2; + optional bytes JPEGThumbnail = 16; + optional string caption = 17; + } + + message FeatureEligibilities { + optional bool cannotBeReactedTo = 1; + optional bool canRequestFeedback = 2; + } + + message DataSharingContext { + optional bool showMmDisclosure = 1; + optional string encryptedSignalTokenConsented = 2; + } + + message UTMInfo { + optional string utmSource = 1; + optional string utmCampaign = 2; + } + + message BusinessMessageForwardInfo { + optional string businessOwnerJID = 1; + } + + optional string stanzaID = 1; + optional string participant = 2; + optional Message quotedMessage = 3; + optional string remoteJID = 4; + repeated string mentionedJID = 15; + optional string conversionSource = 18; + optional bytes conversionData = 19; + optional uint32 conversionDelaySeconds = 20; + optional uint32 forwardingScore = 21; + optional bool isForwarded = 22; + optional AdReplyInfo quotedAd = 23; + optional WACommon.MessageKey placeholderKey = 24; + optional uint32 expiration = 25; + optional int64 ephemeralSettingTimestamp = 26; + optional bytes ephemeralSharedSecret = 27; + optional ExternalAdReplyInfo externalAdReply = 28; + optional string entryPointConversionSource = 29; + optional string entryPointConversionApp = 30; + optional uint32 entryPointConversionDelaySeconds = 31; + optional DisappearingMode disappearingMode = 32; + optional ActionLink actionLink = 33; + optional string groupSubject = 34; + optional string parentGroupJID = 35; + optional string trustBannerType = 37; + optional uint32 trustBannerAction = 38; + optional bool isSampled = 39; + repeated GroupMention groupMentions = 40; + optional UTMInfo utm = 41; + optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43; + optional BusinessMessageForwardInfo businessMessageForwardInfo = 44; + optional string smbClientCampaignID = 45; + optional string smbServerCampaignID = 46; + optional DataSharingContext dataSharingContext = 47; + optional bool alwaysShowAdAttribution = 48; + optional FeatureEligibilities featureEligibilities = 49; +} + +message BotPluginMetadata { + enum PluginType { + REELS = 1; + SEARCH = 2; + } + + enum SearchProvider { + BING = 1; + GOOGLE = 2; + } + + optional SearchProvider provider = 1; + optional PluginType pluginType = 2; + optional string thumbnailCDNURL = 3; + optional string profilePhotoCDNURL = 4; + optional string searchProviderURL = 5; + optional uint32 referenceIndex = 6; + optional uint32 expectedLinksCount = 7; + optional string searchQuery = 9; + optional WACommon.MessageKey parentPluginMessageKey = 10; + optional PluginType parentPluginType = 11; +} + +message BotSearchMetadata { + enum SessionSource { + NULL_STATE = 1; + TYPEAHEAD = 2; + USER_INPUT = 3; + EMU_FLASH = 4; + EMU_FLASH_FOLLOWUP = 5; + } + + optional string sessionID = 1; + optional SessionSource sessionSource = 2; +} + +message BotReminderMetadata { + enum ReminderFrequency { + ONCE = 1; + DAILY = 2; + WEEKLY = 3; + BIWEEKLY = 4; + MONTHLY = 5; + } + + enum ReminderAction { + NOTIFY = 1; + CREATE = 2; + DELETE = 3; + } + + optional WACommon.MessageKey requestMessageKey = 1; + optional ReminderAction action = 2; + optional string name = 3; + optional uint64 nextTriggerTimestamp = 4; + optional ReminderFrequency frequency = 5; +} + +message MessageAssociation { + enum AssociationType { + MEDIA_ALBUM = 1; + BOT_PLUGIN = 2; + EVENT_COVER_IMAGE = 3; + } + + optional AssociationType associationType = 1; + optional WACommon.MessageKey parentMessageKey = 2; +} + +message MessageContextInfo { + enum MessageAddonExpiryType { + STATIC = 1; + DEPENDENT_ON_PARENT = 2; + } + + optional DeviceListMetadata deviceListMetadata = 1; + optional int32 deviceListMetadataVersion = 2; + optional bytes messageSecret = 3; + optional bytes paddingBytes = 4; + optional uint32 messageAddOnDurationInSecs = 5; + optional bytes botMessageSecret = 6; + optional BotMetadata botMetadata = 7; + optional int32 reportingTokenVersion = 8; + optional MessageAddonExpiryType messageAddOnExpiryType = 9; + optional MessageAssociation messageAssociation = 10; +} + +message HydratedTemplateButton { + message HydratedURLButton { + enum WebviewPresentationType { + FULL = 1; + TALL = 2; + COMPACT = 3; + } + + optional string displayText = 1; + optional string URL = 2; + optional string consentedUsersURL = 3; + optional WebviewPresentationType webviewPresentation = 4; + } + + message HydratedCallButton { + optional string displayText = 1; + optional string phoneNumber = 2; + } + + message HydratedQuickReplyButton { + optional string displayText = 1; + optional string ID = 2; + } + + oneof hydratedButton { + HydratedQuickReplyButton quickReplyButton = 1; + HydratedURLButton urlButton = 2; + HydratedCallButton callButton = 3; + } + + optional uint32 index = 4; +} + +message PaymentBackground { + enum Type { + UNKNOWN = 0; + DEFAULT = 1; + } + + message MediaData { + optional bytes mediaKey = 1; + optional int64 mediaKeyTimestamp = 2; + optional bytes fileSHA256 = 3; + optional bytes fileEncSHA256 = 4; + optional string directPath = 5; + } + + optional string ID = 1; + optional uint64 fileLength = 2; + optional uint32 width = 3; + optional uint32 height = 4; + optional string mimetype = 5; + optional fixed32 placeholderArgb = 6; + optional fixed32 textArgb = 7; + optional fixed32 subtextArgb = 8; + optional MediaData mediaData = 9; + optional Type type = 10; +} + +message DisappearingMode { + enum Trigger { + UNKNOWN = 0; + CHAT_SETTING = 1; + ACCOUNT_SETTING = 2; + BULK_CHANGE = 3; + BIZ_SUPPORTS_FB_HOSTING = 4; + } + + enum Initiator { + CHANGED_IN_CHAT = 0; + INITIATED_BY_ME = 1; + INITIATED_BY_OTHER = 2; + BIZ_UPGRADE_FB_HOSTING = 3; + } + + optional Initiator initiator = 1; + optional Trigger trigger = 2; + optional string initiatorDeviceJID = 3; + optional bool initiatedByMe = 4; +} + +message ProcessedVideo { + enum VideoQuality { + UNDEFINED = 0; + LOW = 1; + MID = 2; + HIGH = 3; + } + + optional string directPath = 1; + optional bytes fileSHA256 = 2; + optional uint32 height = 3; + optional uint32 width = 4; + optional uint64 fileLength = 5; + optional uint32 bitrate = 6; + optional VideoQuality quality = 7; + repeated string capabilities = 8; +} + +message Message { + optional string conversation = 1; + optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2; + optional ImageMessage imageMessage = 3; + optional ContactMessage contactMessage = 4; + optional LocationMessage locationMessage = 5; + optional ExtendedTextMessage extendedTextMessage = 6; + optional DocumentMessage documentMessage = 7; + optional AudioMessage audioMessage = 8; + optional VideoMessage videoMessage = 9; + optional Call call = 10; + optional Chat chat = 11; + optional ProtocolMessage protocolMessage = 12; + optional ContactsArrayMessage contactsArrayMessage = 13; + optional HighlyStructuredMessage highlyStructuredMessage = 14; + optional SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15; + optional SendPaymentMessage sendPaymentMessage = 16; + optional LiveLocationMessage liveLocationMessage = 18; + optional RequestPaymentMessage requestPaymentMessage = 22; + optional DeclinePaymentRequestMessage declinePaymentRequestMessage = 23; + optional CancelPaymentRequestMessage cancelPaymentRequestMessage = 24; + optional TemplateMessage templateMessage = 25; + optional StickerMessage stickerMessage = 26; + optional GroupInviteMessage groupInviteMessage = 28; + optional TemplateButtonReplyMessage templateButtonReplyMessage = 29; + optional ProductMessage productMessage = 30; + optional DeviceSentMessage deviceSentMessage = 31; + optional MessageContextInfo messageContextInfo = 35; + optional ListMessage listMessage = 36; + optional FutureProofMessage viewOnceMessage = 37; + optional OrderMessage orderMessage = 38; + optional ListResponseMessage listResponseMessage = 39; + optional FutureProofMessage ephemeralMessage = 40; + optional InvoiceMessage invoiceMessage = 41; + optional ButtonsMessage buttonsMessage = 42; + optional ButtonsResponseMessage buttonsResponseMessage = 43; + optional PaymentInviteMessage paymentInviteMessage = 44; + optional InteractiveMessage interactiveMessage = 45; + optional ReactionMessage reactionMessage = 46; + optional StickerSyncRMRMessage stickerSyncRmrMessage = 47; + optional InteractiveResponseMessage interactiveResponseMessage = 48; + optional PollCreationMessage pollCreationMessage = 49; + optional PollUpdateMessage pollUpdateMessage = 50; + optional KeepInChatMessage keepInChatMessage = 51; + optional FutureProofMessage documentWithCaptionMessage = 53; + optional RequestPhoneNumberMessage requestPhoneNumberMessage = 54; + optional FutureProofMessage viewOnceMessageV2 = 55; + optional EncReactionMessage encReactionMessage = 56; + optional FutureProofMessage editedMessage = 58; + optional FutureProofMessage viewOnceMessageV2Extension = 59; + optional PollCreationMessage pollCreationMessageV2 = 60; + optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61; + optional FutureProofMessage groupMentionedMessage = 62; + optional PinInChatMessage pinInChatMessage = 63; + optional PollCreationMessage pollCreationMessageV3 = 64; + optional ScheduledCallEditMessage scheduledCallEditMessage = 65; + optional VideoMessage ptvMessage = 66; + optional FutureProofMessage botInvokeMessage = 67; + optional CallLogMessage callLogMesssage = 69; + optional MessageHistoryBundle messageHistoryBundle = 70; + optional EncCommentMessage encCommentMessage = 71; + optional BCallMessage bcallMessage = 72; + optional FutureProofMessage lottieStickerMessage = 74; + optional EventMessage eventMessage = 75; + optional EncEventResponseMessage encEventResponseMessage = 76; + optional CommentMessage commentMessage = 77; + optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78; + optional PlaceholderMessage placeholderMessage = 80; + optional SecretEncryptedMessage secretEncryptedMessage = 82; + optional AlbumMessage albumMessage = 83; + optional PollResultSnapshotMessage pollResultSnapshotMessage = 84; + optional FutureProofMessage eventCoverImage = 85; +} + +message AlbumMessage { + optional string caption = 1; +} + +message MessageHistoryBundle { + optional string mimetype = 2; + optional bytes fileSHA256 = 3; + optional bytes mediaKey = 5; + optional bytes fileEncSHA256 = 6; + optional string directPath = 7; + optional int64 mediaKeyTimestamp = 8; + optional ContextInfo contextInfo = 9; + repeated string participants = 10; +} + +message EncEventResponseMessage { + optional WACommon.MessageKey eventCreationMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIV = 3; +} + +message EventMessage { + optional ContextInfo contextInfo = 1; + optional bool isCanceled = 2; + optional string name = 3; + optional string description = 4; + optional LocationMessage location = 5; + optional string joinLink = 6; + optional int64 startTime = 7; + optional int64 endTime = 8; + optional bool extraGuestsAllowed = 9; +} + +message CommentMessage { + optional Message message = 1; + optional WACommon.MessageKey targetMessageKey = 2; +} + +message EncCommentMessage { + optional WACommon.MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIV = 3; +} + +message EncReactionMessage { + optional WACommon.MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIV = 3; +} + +message KeepInChatMessage { + optional WACommon.MessageKey key = 1; + optional KeepType keepType = 2; + optional int64 timestampMS = 3; +} + +message PollResultSnapshotMessage { + message PollVote { + optional string optionName = 1; + optional int64 optionVoteCount = 2; + } + + optional string name = 1; + repeated PollVote pollVotes = 2; + optional ContextInfo contextInfo = 3; +} + +message PollVoteMessage { + repeated bytes selectedOptions = 1; +} + +message PollEncValue { + optional bytes encPayload = 1; + optional bytes encIV = 2; +} + +message PollUpdateMessageMetadata { +} + +message PollUpdateMessage { + optional WACommon.MessageKey pollCreationMessageKey = 1; + optional PollEncValue vote = 2; + optional PollUpdateMessageMetadata metadata = 3; + optional int64 senderTimestampMS = 4; +} + +message PollCreationMessage { + message Option { + optional string optionName = 1; + } + + optional bytes encKey = 1; + optional string name = 2; + repeated Option options = 3; + optional uint32 selectableOptionsCount = 4; + optional ContextInfo contextInfo = 5; +} + +message StickerSyncRMRMessage { + repeated string filehash = 1; + optional string rmrSource = 2; + optional int64 requestTimestamp = 3; +} + +message ReactionMessage { + optional WACommon.MessageKey key = 1; + optional string text = 2; + optional string groupingKey = 3; + optional int64 senderTimestampMS = 4; +} + +message FutureProofMessage { + optional Message message = 1; +} + +message DeviceSentMessage { + optional string destinationJID = 1; + optional Message message = 2; + optional string phash = 3; +} + +message RequestPhoneNumberMessage { + optional ContextInfo contextInfo = 1; +} + +message NewsletterAdminInviteMessage { + optional string newsletterJID = 1; + optional string newsletterName = 2; + optional bytes JPEGThumbnail = 3; + optional string caption = 4; + optional int64 inviteExpiration = 5; + optional ContextInfo contextInfo = 6; +} + +message ProductMessage { + message ProductSnapshot { + optional ImageMessage productImage = 1; + optional string productID = 2; + optional string title = 3; + optional string description = 4; + optional string currencyCode = 5; + optional int64 priceAmount1000 = 6; + optional string retailerID = 7; + optional string URL = 8; + optional uint32 productImageCount = 9; + optional string firstImageID = 11; + optional int64 salePriceAmount1000 = 12; + } + + message CatalogSnapshot { + optional ImageMessage catalogImage = 1; + optional string title = 2; + optional string description = 3; + } + + optional ProductSnapshot product = 1; + optional string businessOwnerJID = 2; + optional CatalogSnapshot catalog = 4; + optional string body = 5; + optional string footer = 6; + optional ContextInfo contextInfo = 17; +} + +message TemplateButtonReplyMessage { + optional string selectedID = 1; + optional string selectedDisplayText = 2; + optional ContextInfo contextInfo = 3; + optional uint32 selectedIndex = 4; + optional uint32 selectedCarouselCardIndex = 5; +} + +message TemplateMessage { + message HydratedFourRowTemplate { + oneof title { + DocumentMessage documentMessage = 1; + string hydratedTitleText = 2; + ImageMessage imageMessage = 3; + VideoMessage videoMessage = 4; + LocationMessage locationMessage = 5; + } + + optional string hydratedContentText = 6; + optional string hydratedFooterText = 7; + repeated HydratedTemplateButton hydratedButtons = 8; + optional string templateID = 9; + optional bool maskLinkedDevices = 10; + } + + message FourRowTemplate { + oneof title { + DocumentMessage documentMessage = 1; + HighlyStructuredMessage highlyStructuredMessage = 2; + ImageMessage imageMessage = 3; + VideoMessage videoMessage = 4; + LocationMessage locationMessage = 5; + } + + optional HighlyStructuredMessage content = 6; + optional HighlyStructuredMessage footer = 7; + repeated TemplateButton buttons = 8; + } + + oneof format { + FourRowTemplate fourRowTemplate = 1; + HydratedFourRowTemplate hydratedFourRowTemplate = 2; + InteractiveMessage interactiveMessageTemplate = 5; + } + + optional ContextInfo contextInfo = 3; + optional HydratedFourRowTemplate hydratedTemplate = 4; + optional string templateID = 9; +} + +message StickerMessage { + optional string URL = 1; + optional bytes fileSHA256 = 2; + optional bytes fileEncSHA256 = 3; + optional bytes mediaKey = 4; + optional string mimetype = 5; + optional uint32 height = 6; + optional uint32 width = 7; + optional string directPath = 8; + optional uint64 fileLength = 9; + optional int64 mediaKeyTimestamp = 10; + optional uint32 firstFrameLength = 11; + optional bytes firstFrameSidecar = 12; + optional bool isAnimated = 13; + optional bytes pngThumbnail = 16; + optional ContextInfo contextInfo = 17; + optional int64 stickerSentTS = 18; + optional bool isAvatar = 19; + optional bool isAiSticker = 20; + optional bool isLottie = 21; + optional string accessibilityLabel = 22; +} + +message LiveLocationMessage { + optional double degreesLatitude = 1; + optional double degreesLongitude = 2; + optional uint32 accuracyInMeters = 3; + optional float speedInMps = 4; + optional uint32 degreesClockwiseFromMagneticNorth = 5; + optional string caption = 6; + optional int64 sequenceNumber = 7; + optional uint32 timeOffset = 8; + optional bytes JPEGThumbnail = 16; + optional ContextInfo contextInfo = 17; +} + +message CancelPaymentRequestMessage { + optional WACommon.MessageKey key = 1; +} + +message DeclinePaymentRequestMessage { + optional WACommon.MessageKey key = 1; +} + +message RequestPaymentMessage { + optional Message noteMessage = 4; + optional string currencyCodeIso4217 = 1; + optional uint64 amount1000 = 2; + optional string requestFrom = 3; + optional int64 expiryTimestamp = 5; + optional Money amount = 6; + optional PaymentBackground background = 7; +} + +message SendPaymentMessage { + optional Message noteMessage = 2; + optional WACommon.MessageKey requestMessageKey = 3; + optional PaymentBackground background = 4; +} + +message ContactsArrayMessage { + optional string displayName = 1; + repeated ContactMessage contacts = 2; + optional ContextInfo contextInfo = 17; +} + +message InitialSecurityNotificationSettingSync { + optional bool securityNotificationEnabled = 1; +} + +message PeerDataOperationRequestResponseMessage { + message PeerDataOperationResult { + message WaffleNonceFetchResponse { + optional string nonce = 1; + optional string waEntFbid = 2; + } + + message PlaceholderMessageResendResponse { + optional bytes webMessageInfoBytes = 1; + } + + message LinkPreviewResponse { + message LinkPreviewHighQualityThumbnail { + optional string directPath = 1; + optional string thumbHash = 2; + optional string encThumbHash = 3; + optional bytes mediaKey = 4; + optional int64 mediaKeyTimestampMS = 5; + optional int32 thumbWidth = 6; + optional int32 thumbHeight = 7; + } + + optional string URL = 1; + optional string title = 2; + optional string description = 3; + optional bytes thumbData = 4; + optional string canonicalURL = 5; + optional string matchText = 6; + optional string previewType = 7; + optional LinkPreviewHighQualityThumbnail hqThumbnail = 8; + } + + optional WAMmsRetry.MediaRetryNotification.ResultType mediaUploadResult = 1; + optional StickerMessage stickerMessage = 2; + optional LinkPreviewResponse linkPreviewResponse = 3; + optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4; + optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5; + } + + optional PeerDataOperationRequestType peerDataOperationRequestType = 1; + optional string stanzaID = 2; + repeated PeerDataOperationResult peerDataOperationResult = 3; +} + +message PeerDataOperationRequestMessage { + message PlaceholderMessageResendRequest { + optional WACommon.MessageKey messageKey = 1; + } + + message HistorySyncOnDemandRequest { + optional string chatJID = 1; + optional string oldestMsgID = 2; + optional bool oldestMsgFromMe = 3; + optional int32 onDemandMsgCount = 4; + optional int64 oldestMsgTimestampMS = 5; + } + + message RequestUrlPreview { + optional string URL = 1; + optional bool includeHqThumbnail = 2; + } + + message RequestStickerReupload { + optional string fileSHA256 = 1; + } + + optional PeerDataOperationRequestType peerDataOperationRequestType = 1; + repeated RequestStickerReupload requestStickerReupload = 2; + repeated RequestUrlPreview requestURLPreview = 3; + optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4; + repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5; +} + +message AppStateFatalExceptionNotification { + repeated string collectionNames = 1; + optional int64 timestamp = 2; +} + +message AppStateSyncKeyRequest { + repeated AppStateSyncKeyId keyIDs = 1; +} + +message AppStateSyncKeyShare { + repeated AppStateSyncKey keys = 1; +} + +message AppStateSyncKeyData { + optional bytes keyData = 1; + optional AppStateSyncKeyFingerprint fingerprint = 2; + optional int64 timestamp = 3; +} + +message AppStateSyncKeyFingerprint { + optional uint32 rawID = 1; + optional uint32 currentIndex = 2; + repeated uint32 deviceIndexes = 3 [packed=true]; +} + +message AppStateSyncKeyId { + optional bytes keyID = 1; +} + +message AppStateSyncKey { + optional AppStateSyncKeyId keyID = 1; + optional AppStateSyncKeyData keyData = 2; +} + +message Chat { + optional string displayName = 1; + optional string ID = 2; +} + +message Call { + optional bytes callKey = 1; + optional string conversionSource = 2; + optional bytes conversionData = 3; + optional uint32 conversionDelaySeconds = 4; +} + +message AudioMessage { + optional string URL = 1; + optional string mimetype = 2; + optional bytes fileSHA256 = 3; + optional uint64 fileLength = 4; + optional uint32 seconds = 5; + optional bool PTT = 6; + optional bytes mediaKey = 7; + optional bytes fileEncSHA256 = 8; + optional string directPath = 9; + optional int64 mediaKeyTimestamp = 10; + optional ContextInfo contextInfo = 17; + optional bytes streamingSidecar = 18; + optional bytes waveform = 19; + optional fixed32 backgroundArgb = 20; + optional bool viewOnce = 21; + optional string accessibilityLabel = 22; +} + +message DocumentMessage { + optional string URL = 1; + optional string mimetype = 2; + optional string title = 3; + optional bytes fileSHA256 = 4; + optional uint64 fileLength = 5; + optional uint32 pageCount = 6; + optional bytes mediaKey = 7; + optional string fileName = 8; + optional bytes fileEncSHA256 = 9; + optional string directPath = 10; + optional int64 mediaKeyTimestamp = 11; + optional bool contactVcard = 12; + optional string thumbnailDirectPath = 13; + optional bytes thumbnailSHA256 = 14; + optional bytes thumbnailEncSHA256 = 15; + optional bytes JPEGThumbnail = 16; + optional ContextInfo contextInfo = 17; + optional uint32 thumbnailHeight = 18; + optional uint32 thumbnailWidth = 19; + optional string caption = 20; + optional string accessibilityLabel = 21; +} + +message LocationMessage { + optional double degreesLatitude = 1; + optional double degreesLongitude = 2; + optional string name = 3; + optional string address = 4; + optional string URL = 5; + optional bool isLive = 6; + optional uint32 accuracyInMeters = 7; + optional float speedInMps = 8; + optional uint32 degreesClockwiseFromMagneticNorth = 9; + optional string comment = 11; + optional bytes JPEGThumbnail = 16; + optional ContextInfo contextInfo = 17; +} + +message ContactMessage { + optional string displayName = 1; + optional string vcard = 16; + optional ContextInfo contextInfo = 17; +} + +message SenderKeyDistributionMessage { + optional string groupID = 1; + optional bytes axolotlSenderKeyDistributionMessage = 2; +} + +message BotAvatarMetadata { + optional uint32 sentiment = 1; + optional string behaviorGraph = 2; + optional uint32 action = 3; + optional uint32 intensity = 4; + optional uint32 wordCount = 5; +} + +message BotSuggestedPromptMetadata { + repeated string suggestedPrompts = 1; + optional uint32 selectedPromptIndex = 2; +} + +message BotMediaMetadata { + optional bytes fileSHA256 = 1; + optional bytes mediaKey = 2; + optional bytes fileEncSHA256 = 3; + optional string directPath = 4; + optional int64 mediaKeyTimestamp = 5; + optional string mimetype = 6; +} + +message BotMemuMetadata { + repeated BotMediaMetadata faceImages = 1; +} + +message BotMetadata { + optional BotAvatarMetadata avatarMetadata = 1; + optional string personaID = 2; + optional BotPluginMetadata pluginMetadata = 3; + optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4; + optional string invokerJID = 5; + optional BotSearchMetadata searchMetadata = 6; + optional BotMemuMetadata memuMetadata = 7; + optional string timezone = 8; + optional BotReminderMetadata reminderMetadata = 9; +} + +message DeviceListMetadata { + optional bytes senderKeyHash = 1; + optional uint64 senderTimestamp = 2; + repeated uint32 senderKeyIndexes = 3 [packed=true]; + optional WAAdv.ADVEncryptionType senderAccountType = 4; + optional WAAdv.ADVEncryptionType receiverAccountType = 5; + optional bytes recipientKeyHash = 8; + optional uint64 recipientTimestamp = 9; + repeated uint32 recipientKeyIndexes = 10 [packed=true]; +} + +message InteractiveAnnotation { + oneof action { + Location location = 2; + ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3; + } + + repeated Point polygonVertices = 1; + optional bool shouldSkipConfirmation = 4; +} + +message Point { + optional int32 xDeprecated = 1; + optional int32 yDeprecated = 2; + optional double x = 3; + optional double y = 4; +} + +message Location { + optional double degreesLatitude = 1; + optional double degreesLongitude = 2; + optional string name = 3; +} + +message TemplateButton { + message CallButton { + optional HighlyStructuredMessage displayText = 1; + optional HighlyStructuredMessage phoneNumber = 2; + } + + message URLButton { + optional HighlyStructuredMessage displayText = 1; + optional HighlyStructuredMessage URL = 2; + } + + message QuickReplyButton { + optional HighlyStructuredMessage displayText = 1; + optional string ID = 2; + } + + oneof button { + QuickReplyButton quickReplyButton = 1; + URLButton urlButton = 2; + CallButton callButton = 3; + } + + optional uint32 index = 4; +} + +message Money { + optional int64 value = 1; + optional uint32 offset = 2; + optional string currencyCode = 3; +} + +message ActionLink { + optional string URL = 1; + optional string buttonTitle = 2; +} + +message GroupMention { + optional string groupJID = 1; + optional string groupSubject = 2; +} + +message MessageSecretMessage { + optional sfixed32 version = 1; + optional bytes encIV = 2; + optional bytes encPayload = 3; +} + +message MediaNotifyMessage { + optional string expressPathURL = 1; + optional bytes fileEncSHA256 = 2; + optional uint64 fileLength = 3; +} + +message LIDMigrationMappingSyncMessage { + optional bytes encodedMappingPayload = 1; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go b/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go new file mode 100644 index 00000000..c5af65f1 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waE2E/legacy.go @@ -0,0 +1,31 @@ +package waE2E + +// Deprecated: Use GetKeyID +func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId { + return x.GetKeyID() +} + +// Deprecated: Use GetKeyID +func (x *AppStateSyncKeyId) GetKeyId() []byte { + return x.GetKeyID() +} + +// Deprecated: Use GetStanzaID +func (x *PeerDataOperationRequestResponseMessage) GetStanzaId() string { + return x.GetStanzaID() +} + +// Deprecated: Use GetMentionedJID +func (x *ContextInfo) GetMentionedJid() []string { + return x.GetMentionedJID() +} + +// Deprecated: Use GetRemoteJID +func (x *ContextInfo) GetRemoteJid() string { + return x.GetRemoteJID() +} + +// Deprecated: Use GetStanzaID +func (x *ContextInfo) GetStanzaId() string { + return x.GetStanzaID() +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.go new file mode 100644 index 00000000..02e03dcd --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.go @@ -0,0 +1,147 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waEphemeral/WAWebProtobufsEphemeral.proto + +package waEphemeral + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type EphemeralSetting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Duration *int32 `protobuf:"fixed32,1,opt,name=duration" json:"duration,omitempty"` + Timestamp *int64 `protobuf:"fixed64,2,opt,name=timestamp" json:"timestamp,omitempty"` +} + +func (x *EphemeralSetting) Reset() { + *x = EphemeralSetting{} + if protoimpl.UnsafeEnabled { + mi := &file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EphemeralSetting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EphemeralSetting) ProtoMessage() {} + +func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { + mi := &file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EphemeralSetting.ProtoReflect.Descriptor instead. +func (*EphemeralSetting) Descriptor() ([]byte, []int) { + return file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescGZIP(), []int{0} +} + +func (x *EphemeralSetting) GetDuration() int32 { + if x != nil && x.Duration != nil { + return *x.Duration + } + return 0 +} + +func (x *EphemeralSetting) GetTimestamp() int64 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp + } + return 0 +} + +var File_waEphemeral_WAWebProtobufsEphemeral_proto protoreflect.FileDescriptor + +//go:embed WAWebProtobufsEphemeral.pb.raw +var file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc []byte + +var ( + file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescOnce sync.Once + file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData = file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc +) + +func file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescGZIP() []byte { + file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescOnce.Do(func() { + file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData = protoimpl.X.CompressGZIP(file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData) + }) + return file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDescData +} + +var file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes = []interface{}{ + (*EphemeralSetting)(nil), // 0: WAWebProtobufsEphemeral.EphemeralSetting +} +var file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_waEphemeral_WAWebProtobufsEphemeral_proto_init() } +func file_waEphemeral_WAWebProtobufsEphemeral_proto_init() { + if File_waEphemeral_WAWebProtobufsEphemeral_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EphemeralSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes, + DependencyIndexes: file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs, + MessageInfos: file_waEphemeral_WAWebProtobufsEphemeral_proto_msgTypes, + }.Build() + File_waEphemeral_WAWebProtobufsEphemeral_proto = out.File + file_waEphemeral_WAWebProtobufsEphemeral_proto_rawDesc = nil + file_waEphemeral_WAWebProtobufsEphemeral_proto_goTypes = nil + file_waEphemeral_WAWebProtobufsEphemeral_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.raw new file mode 100644 index 00000000..851ffd9b --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.pb.raw @@ -0,0 +1,5 @@ + +)waEphemeral/WAWebProtobufsEphemeral.protoWAWebProtobufsEphemeral"L +EphemeralSetting +duration (Rduration + timestamp (R timestampB'Z%go.mau.fi/whatsmeow/proto/waEphemeral \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.proto b/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.proto new file mode 100644 index 00000000..ef93a6d2 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waEphemeral/WAWebProtobufsEphemeral.proto @@ -0,0 +1,8 @@ +syntax = "proto2"; +package WAWebProtobufsEphemeral; +option go_package = "go.mau.fi/whatsmeow/proto/waEphemeral"; + +message EphemeralSetting { + optional sfixed32 duration = 1; + optional sfixed64 timestamp = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go new file mode 100644 index 00000000..2bb00908 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go @@ -0,0 +1,2226 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waHistorySync/WAWebProtobufsHistorySync.proto + +package waHistorySync + +import ( + reflect "reflect" + sync "sync" + + waChatLockSettings "go.mau.fi/whatsmeow/proto/waChatLockSettings" + waE2E "go.mau.fi/whatsmeow/proto/waE2E" + waSyncAction "go.mau.fi/whatsmeow/proto/waSyncAction" + waWeb "go.mau.fi/whatsmeow/proto/waWeb" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MediaVisibility int32 + +const ( + MediaVisibility_DEFAULT MediaVisibility = 0 + MediaVisibility_OFF MediaVisibility = 1 + MediaVisibility_ON MediaVisibility = 2 +) + +// Enum value maps for MediaVisibility. +var ( + MediaVisibility_name = map[int32]string{ + 0: "DEFAULT", + 1: "OFF", + 2: "ON", + } + MediaVisibility_value = map[string]int32{ + "DEFAULT": 0, + "OFF": 1, + "ON": 2, + } +) + +func (x MediaVisibility) Enum() *MediaVisibility { + p := new(MediaVisibility) + *p = x + return p +} + +func (x MediaVisibility) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[0].Descriptor() +} + +func (MediaVisibility) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[0] +} + +func (x MediaVisibility) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *MediaVisibility) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = MediaVisibility(num) + return nil +} + +// Deprecated: Use MediaVisibility.Descriptor instead. +func (MediaVisibility) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0} +} + +type PrivacySystemMessage int32 + +const ( + PrivacySystemMessage_E2EE_MSG PrivacySystemMessage = 1 + PrivacySystemMessage_NE2EE_SELF PrivacySystemMessage = 2 + PrivacySystemMessage_NE2EE_OTHER PrivacySystemMessage = 3 +) + +// Enum value maps for PrivacySystemMessage. +var ( + PrivacySystemMessage_name = map[int32]string{ + 1: "E2EE_MSG", + 2: "NE2EE_SELF", + 3: "NE2EE_OTHER", + } + PrivacySystemMessage_value = map[string]int32{ + "E2EE_MSG": 1, + "NE2EE_SELF": 2, + "NE2EE_OTHER": 3, + } +) + +func (x PrivacySystemMessage) Enum() *PrivacySystemMessage { + p := new(PrivacySystemMessage) + *p = x + return p +} + +func (x PrivacySystemMessage) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PrivacySystemMessage) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[1].Descriptor() +} + +func (PrivacySystemMessage) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[1] +} + +func (x PrivacySystemMessage) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PrivacySystemMessage) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PrivacySystemMessage(num) + return nil +} + +// Deprecated: Use PrivacySystemMessage.Descriptor instead. +func (PrivacySystemMessage) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1} +} + +type HistorySync_BotAIWaitListState int32 + +const ( + HistorySync_IN_WAITLIST HistorySync_BotAIWaitListState = 0 + HistorySync_AI_AVAILABLE HistorySync_BotAIWaitListState = 1 +) + +// Enum value maps for HistorySync_BotAIWaitListState. +var ( + HistorySync_BotAIWaitListState_name = map[int32]string{ + 0: "IN_WAITLIST", + 1: "AI_AVAILABLE", + } + HistorySync_BotAIWaitListState_value = map[string]int32{ + "IN_WAITLIST": 0, + "AI_AVAILABLE": 1, + } +) + +func (x HistorySync_BotAIWaitListState) Enum() *HistorySync_BotAIWaitListState { + p := new(HistorySync_BotAIWaitListState) + *p = x + return p +} + +func (x HistorySync_BotAIWaitListState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HistorySync_BotAIWaitListState) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[2].Descriptor() +} + +func (HistorySync_BotAIWaitListState) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[2] +} + +func (x HistorySync_BotAIWaitListState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *HistorySync_BotAIWaitListState) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = HistorySync_BotAIWaitListState(num) + return nil +} + +// Deprecated: Use HistorySync_BotAIWaitListState.Descriptor instead. +func (HistorySync_BotAIWaitListState) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0, 0} +} + +type HistorySync_HistorySyncType int32 + +const ( + HistorySync_INITIAL_BOOTSTRAP HistorySync_HistorySyncType = 0 + HistorySync_INITIAL_STATUS_V3 HistorySync_HistorySyncType = 1 + HistorySync_FULL HistorySync_HistorySyncType = 2 + HistorySync_RECENT HistorySync_HistorySyncType = 3 + HistorySync_PUSH_NAME HistorySync_HistorySyncType = 4 + HistorySync_NON_BLOCKING_DATA HistorySync_HistorySyncType = 5 + HistorySync_ON_DEMAND HistorySync_HistorySyncType = 6 +) + +// Enum value maps for HistorySync_HistorySyncType. +var ( + HistorySync_HistorySyncType_name = map[int32]string{ + 0: "INITIAL_BOOTSTRAP", + 1: "INITIAL_STATUS_V3", + 2: "FULL", + 3: "RECENT", + 4: "PUSH_NAME", + 5: "NON_BLOCKING_DATA", + 6: "ON_DEMAND", + } + HistorySync_HistorySyncType_value = map[string]int32{ + "INITIAL_BOOTSTRAP": 0, + "INITIAL_STATUS_V3": 1, + "FULL": 2, + "RECENT": 3, + "PUSH_NAME": 4, + "NON_BLOCKING_DATA": 5, + "ON_DEMAND": 6, + } +) + +func (x HistorySync_HistorySyncType) Enum() *HistorySync_HistorySyncType { + p := new(HistorySync_HistorySyncType) + *p = x + return p +} + +func (x HistorySync_HistorySyncType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[3].Descriptor() +} + +func (HistorySync_HistorySyncType) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[3] +} + +func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = HistorySync_HistorySyncType(num) + return nil +} + +// Deprecated: Use HistorySync_HistorySyncType.Descriptor instead. +func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0, 1} +} + +type Conversation_EndOfHistoryTransferType int32 + +const ( + Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0 + Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1 + Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2 +) + +// Enum value maps for Conversation_EndOfHistoryTransferType. +var ( + Conversation_EndOfHistoryTransferType_name = map[int32]string{ + 0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY", + 1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY", + 2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY", + } + Conversation_EndOfHistoryTransferType_value = map[string]int32{ + "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0, + "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1, + "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2, + } +) + +func (x Conversation_EndOfHistoryTransferType) Enum() *Conversation_EndOfHistoryTransferType { + p := new(Conversation_EndOfHistoryTransferType) + *p = x + return p +} + +func (x Conversation_EndOfHistoryTransferType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[4].Descriptor() +} + +func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[4] +} + +func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Conversation_EndOfHistoryTransferType(num) + return nil +} + +// Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead. +func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1, 0} +} + +type GroupParticipant_Rank int32 + +const ( + GroupParticipant_REGULAR GroupParticipant_Rank = 0 + GroupParticipant_ADMIN GroupParticipant_Rank = 1 + GroupParticipant_SUPERADMIN GroupParticipant_Rank = 2 +) + +// Enum value maps for GroupParticipant_Rank. +var ( + GroupParticipant_Rank_name = map[int32]string{ + 0: "REGULAR", + 1: "ADMIN", + 2: "SUPERADMIN", + } + GroupParticipant_Rank_value = map[string]int32{ + "REGULAR": 0, + "ADMIN": 1, + "SUPERADMIN": 2, + } +) + +func (x GroupParticipant_Rank) Enum() *GroupParticipant_Rank { + p := new(GroupParticipant_Rank) + *p = x + return p +} + +func (x GroupParticipant_Rank) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[5].Descriptor() +} + +func (GroupParticipant_Rank) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[5] +} + +func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = GroupParticipant_Rank(num) + return nil +} + +// Deprecated: Use GroupParticipant_Rank.Descriptor instead. +func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{2, 0} +} + +type PastParticipant_LeaveReason int32 + +const ( + PastParticipant_LEFT PastParticipant_LeaveReason = 0 + PastParticipant_REMOVED PastParticipant_LeaveReason = 1 +) + +// Enum value maps for PastParticipant_LeaveReason. +var ( + PastParticipant_LeaveReason_name = map[int32]string{ + 0: "LEFT", + 1: "REMOVED", + } + PastParticipant_LeaveReason_value = map[string]int32{ + "LEFT": 0, + "REMOVED": 1, + } +) + +func (x PastParticipant_LeaveReason) Enum() *PastParticipant_LeaveReason { + p := new(PastParticipant_LeaveReason) + *p = x + return p +} + +func (x PastParticipant_LeaveReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[6].Descriptor() +} + +func (PastParticipant_LeaveReason) Type() protoreflect.EnumType { + return &file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes[6] +} + +func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PastParticipant_LeaveReason(num) + return nil +} + +// Deprecated: Use PastParticipant_LeaveReason.Descriptor instead. +func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{3, 0} +} + +type HistorySync struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=WAWebProtobufsHistorySync.HistorySync_HistorySyncType" json:"syncType,omitempty"` + Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"` + StatusV3Messages []*waWeb.WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"` + ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"` + Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"` + Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"` + GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"` + ThreadIDUserSecret []byte `protobuf:"bytes,9,opt,name=threadIDUserSecret" json:"threadIDUserSecret,omitempty"` + ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"` + RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"` + PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"` + CallLogRecords []*waSyncAction.CallLogRecord `protobuf:"bytes,13,rep,name=callLogRecords" json:"callLogRecords,omitempty"` + AiWaitListState *HistorySync_BotAIWaitListState `protobuf:"varint,14,opt,name=aiWaitListState,enum=WAWebProtobufsHistorySync.HistorySync_BotAIWaitListState" json:"aiWaitListState,omitempty"` + PhoneNumberToLidMappings []*PhoneNumberToLIDMapping `protobuf:"bytes,15,rep,name=phoneNumberToLidMappings" json:"phoneNumberToLidMappings,omitempty"` +} + +func (x *HistorySync) Reset() { + *x = HistorySync{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HistorySync) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HistorySync) ProtoMessage() {} + +func (x *HistorySync) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HistorySync.ProtoReflect.Descriptor instead. +func (*HistorySync) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{0} +} + +func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType { + if x != nil && x.SyncType != nil { + return *x.SyncType + } + return HistorySync_INITIAL_BOOTSTRAP +} + +func (x *HistorySync) GetConversations() []*Conversation { + if x != nil { + return x.Conversations + } + return nil +} + +func (x *HistorySync) GetStatusV3Messages() []*waWeb.WebMessageInfo { + if x != nil { + return x.StatusV3Messages + } + return nil +} + +func (x *HistorySync) GetChunkOrder() uint32 { + if x != nil && x.ChunkOrder != nil { + return *x.ChunkOrder + } + return 0 +} + +func (x *HistorySync) GetProgress() uint32 { + if x != nil && x.Progress != nil { + return *x.Progress + } + return 0 +} + +func (x *HistorySync) GetPushnames() []*Pushname { + if x != nil { + return x.Pushnames + } + return nil +} + +func (x *HistorySync) GetGlobalSettings() *GlobalSettings { + if x != nil { + return x.GlobalSettings + } + return nil +} + +func (x *HistorySync) GetThreadIDUserSecret() []byte { + if x != nil { + return x.ThreadIDUserSecret + } + return nil +} + +func (x *HistorySync) GetThreadDsTimeframeOffset() uint32 { + if x != nil && x.ThreadDsTimeframeOffset != nil { + return *x.ThreadDsTimeframeOffset + } + return 0 +} + +func (x *HistorySync) GetRecentStickers() []*StickerMetadata { + if x != nil { + return x.RecentStickers + } + return nil +} + +func (x *HistorySync) GetPastParticipants() []*PastParticipants { + if x != nil { + return x.PastParticipants + } + return nil +} + +func (x *HistorySync) GetCallLogRecords() []*waSyncAction.CallLogRecord { + if x != nil { + return x.CallLogRecords + } + return nil +} + +func (x *HistorySync) GetAiWaitListState() HistorySync_BotAIWaitListState { + if x != nil && x.AiWaitListState != nil { + return *x.AiWaitListState + } + return HistorySync_IN_WAITLIST +} + +func (x *HistorySync) GetPhoneNumberToLidMappings() []*PhoneNumberToLIDMapping { + if x != nil { + return x.PhoneNumberToLidMappings + } + return nil +} + +type Conversation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *string `protobuf:"bytes,1,req,name=ID" json:"ID,omitempty"` + Messages []*HistorySyncMsg `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"` + NewJID *string `protobuf:"bytes,3,opt,name=newJID" json:"newJID,omitempty"` + OldJID *string `protobuf:"bytes,4,opt,name=oldJID" json:"oldJID,omitempty"` + LastMsgTimestamp *uint64 `protobuf:"varint,5,opt,name=lastMsgTimestamp" json:"lastMsgTimestamp,omitempty"` + UnreadCount *uint32 `protobuf:"varint,6,opt,name=unreadCount" json:"unreadCount,omitempty"` + ReadOnly *bool `protobuf:"varint,7,opt,name=readOnly" json:"readOnly,omitempty"` + EndOfHistoryTransfer *bool `protobuf:"varint,8,opt,name=endOfHistoryTransfer" json:"endOfHistoryTransfer,omitempty"` + EphemeralExpiration *uint32 `protobuf:"varint,9,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` + EphemeralSettingTimestamp *int64 `protobuf:"varint,10,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` + EndOfHistoryTransferType *Conversation_EndOfHistoryTransferType `protobuf:"varint,11,opt,name=endOfHistoryTransferType,enum=WAWebProtobufsHistorySync.Conversation_EndOfHistoryTransferType" json:"endOfHistoryTransferType,omitempty"` + ConversationTimestamp *uint64 `protobuf:"varint,12,opt,name=conversationTimestamp" json:"conversationTimestamp,omitempty"` + Name *string `protobuf:"bytes,13,opt,name=name" json:"name,omitempty"` + PHash *string `protobuf:"bytes,14,opt,name=pHash" json:"pHash,omitempty"` + NotSpam *bool `protobuf:"varint,15,opt,name=notSpam" json:"notSpam,omitempty"` + Archived *bool `protobuf:"varint,16,opt,name=archived" json:"archived,omitempty"` + DisappearingMode *waE2E.DisappearingMode `protobuf:"bytes,17,opt,name=disappearingMode" json:"disappearingMode,omitempty"` + UnreadMentionCount *uint32 `protobuf:"varint,18,opt,name=unreadMentionCount" json:"unreadMentionCount,omitempty"` + MarkedAsUnread *bool `protobuf:"varint,19,opt,name=markedAsUnread" json:"markedAsUnread,omitempty"` + Participant []*GroupParticipant `protobuf:"bytes,20,rep,name=participant" json:"participant,omitempty"` + TcToken []byte `protobuf:"bytes,21,opt,name=tcToken" json:"tcToken,omitempty"` + TcTokenTimestamp *uint64 `protobuf:"varint,22,opt,name=tcTokenTimestamp" json:"tcTokenTimestamp,omitempty"` + ContactPrimaryIdentityKey []byte `protobuf:"bytes,23,opt,name=contactPrimaryIdentityKey" json:"contactPrimaryIdentityKey,omitempty"` + Pinned *uint32 `protobuf:"varint,24,opt,name=pinned" json:"pinned,omitempty"` + MuteEndTime *uint64 `protobuf:"varint,25,opt,name=muteEndTime" json:"muteEndTime,omitempty"` + Wallpaper *WallpaperSettings `protobuf:"bytes,26,opt,name=wallpaper" json:"wallpaper,omitempty"` + MediaVisibility *MediaVisibility `protobuf:"varint,27,opt,name=mediaVisibility,enum=WAWebProtobufsHistorySync.MediaVisibility" json:"mediaVisibility,omitempty"` + TcTokenSenderTimestamp *uint64 `protobuf:"varint,28,opt,name=tcTokenSenderTimestamp" json:"tcTokenSenderTimestamp,omitempty"` + Suspended *bool `protobuf:"varint,29,opt,name=suspended" json:"suspended,omitempty"` + Terminated *bool `protobuf:"varint,30,opt,name=terminated" json:"terminated,omitempty"` + CreatedAt *uint64 `protobuf:"varint,31,opt,name=createdAt" json:"createdAt,omitempty"` + CreatedBy *string `protobuf:"bytes,32,opt,name=createdBy" json:"createdBy,omitempty"` + Description *string `protobuf:"bytes,33,opt,name=description" json:"description,omitempty"` + Support *bool `protobuf:"varint,34,opt,name=support" json:"support,omitempty"` + IsParentGroup *bool `protobuf:"varint,35,opt,name=isParentGroup" json:"isParentGroup,omitempty"` + ParentGroupID *string `protobuf:"bytes,37,opt,name=parentGroupID" json:"parentGroupID,omitempty"` + IsDefaultSubgroup *bool `protobuf:"varint,36,opt,name=isDefaultSubgroup" json:"isDefaultSubgroup,omitempty"` + DisplayName *string `protobuf:"bytes,38,opt,name=displayName" json:"displayName,omitempty"` + PnJID *string `protobuf:"bytes,39,opt,name=pnJID" json:"pnJID,omitempty"` + ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"` + PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"` + LidJID *string `protobuf:"bytes,42,opt,name=lidJID" json:"lidJID,omitempty"` + Username *string `protobuf:"bytes,43,opt,name=username" json:"username,omitempty"` + LidOriginType *string `protobuf:"bytes,44,opt,name=lidOriginType" json:"lidOriginType,omitempty"` + CommentsCount *uint32 `protobuf:"varint,45,opt,name=commentsCount" json:"commentsCount,omitempty"` + Locked *bool `protobuf:"varint,46,opt,name=locked" json:"locked,omitempty"` + SystemMessageToInsert *PrivacySystemMessage `protobuf:"varint,47,opt,name=systemMessageToInsert,enum=WAWebProtobufsHistorySync.PrivacySystemMessage" json:"systemMessageToInsert,omitempty"` +} + +func (x *Conversation) Reset() { + *x = Conversation{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Conversation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Conversation) ProtoMessage() {} + +func (x *Conversation) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Conversation.ProtoReflect.Descriptor instead. +func (*Conversation) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{1} +} + +func (x *Conversation) GetID() string { + if x != nil && x.ID != nil { + return *x.ID + } + return "" +} + +func (x *Conversation) GetMessages() []*HistorySyncMsg { + if x != nil { + return x.Messages + } + return nil +} + +func (x *Conversation) GetNewJID() string { + if x != nil && x.NewJID != nil { + return *x.NewJID + } + return "" +} + +func (x *Conversation) GetOldJID() string { + if x != nil && x.OldJID != nil { + return *x.OldJID + } + return "" +} + +func (x *Conversation) GetLastMsgTimestamp() uint64 { + if x != nil && x.LastMsgTimestamp != nil { + return *x.LastMsgTimestamp + } + return 0 +} + +func (x *Conversation) GetUnreadCount() uint32 { + if x != nil && x.UnreadCount != nil { + return *x.UnreadCount + } + return 0 +} + +func (x *Conversation) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *Conversation) GetEndOfHistoryTransfer() bool { + if x != nil && x.EndOfHistoryTransfer != nil { + return *x.EndOfHistoryTransfer + } + return false +} + +func (x *Conversation) GetEphemeralExpiration() uint32 { + if x != nil && x.EphemeralExpiration != nil { + return *x.EphemeralExpiration + } + return 0 +} + +func (x *Conversation) GetEphemeralSettingTimestamp() int64 { + if x != nil && x.EphemeralSettingTimestamp != nil { + return *x.EphemeralSettingTimestamp + } + return 0 +} + +func (x *Conversation) GetEndOfHistoryTransferType() Conversation_EndOfHistoryTransferType { + if x != nil && x.EndOfHistoryTransferType != nil { + return *x.EndOfHistoryTransferType + } + return Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY +} + +func (x *Conversation) GetConversationTimestamp() uint64 { + if x != nil && x.ConversationTimestamp != nil { + return *x.ConversationTimestamp + } + return 0 +} + +func (x *Conversation) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *Conversation) GetPHash() string { + if x != nil && x.PHash != nil { + return *x.PHash + } + return "" +} + +func (x *Conversation) GetNotSpam() bool { + if x != nil && x.NotSpam != nil { + return *x.NotSpam + } + return false +} + +func (x *Conversation) GetArchived() bool { + if x != nil && x.Archived != nil { + return *x.Archived + } + return false +} + +func (x *Conversation) GetDisappearingMode() *waE2E.DisappearingMode { + if x != nil { + return x.DisappearingMode + } + return nil +} + +func (x *Conversation) GetUnreadMentionCount() uint32 { + if x != nil && x.UnreadMentionCount != nil { + return *x.UnreadMentionCount + } + return 0 +} + +func (x *Conversation) GetMarkedAsUnread() bool { + if x != nil && x.MarkedAsUnread != nil { + return *x.MarkedAsUnread + } + return false +} + +func (x *Conversation) GetParticipant() []*GroupParticipant { + if x != nil { + return x.Participant + } + return nil +} + +func (x *Conversation) GetTcToken() []byte { + if x != nil { + return x.TcToken + } + return nil +} + +func (x *Conversation) GetTcTokenTimestamp() uint64 { + if x != nil && x.TcTokenTimestamp != nil { + return *x.TcTokenTimestamp + } + return 0 +} + +func (x *Conversation) GetContactPrimaryIdentityKey() []byte { + if x != nil { + return x.ContactPrimaryIdentityKey + } + return nil +} + +func (x *Conversation) GetPinned() uint32 { + if x != nil && x.Pinned != nil { + return *x.Pinned + } + return 0 +} + +func (x *Conversation) GetMuteEndTime() uint64 { + if x != nil && x.MuteEndTime != nil { + return *x.MuteEndTime + } + return 0 +} + +func (x *Conversation) GetWallpaper() *WallpaperSettings { + if x != nil { + return x.Wallpaper + } + return nil +} + +func (x *Conversation) GetMediaVisibility() MediaVisibility { + if x != nil && x.MediaVisibility != nil { + return *x.MediaVisibility + } + return MediaVisibility_DEFAULT +} + +func (x *Conversation) GetTcTokenSenderTimestamp() uint64 { + if x != nil && x.TcTokenSenderTimestamp != nil { + return *x.TcTokenSenderTimestamp + } + return 0 +} + +func (x *Conversation) GetSuspended() bool { + if x != nil && x.Suspended != nil { + return *x.Suspended + } + return false +} + +func (x *Conversation) GetTerminated() bool { + if x != nil && x.Terminated != nil { + return *x.Terminated + } + return false +} + +func (x *Conversation) GetCreatedAt() uint64 { + if x != nil && x.CreatedAt != nil { + return *x.CreatedAt + } + return 0 +} + +func (x *Conversation) GetCreatedBy() string { + if x != nil && x.CreatedBy != nil { + return *x.CreatedBy + } + return "" +} + +func (x *Conversation) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +func (x *Conversation) GetSupport() bool { + if x != nil && x.Support != nil { + return *x.Support + } + return false +} + +func (x *Conversation) GetIsParentGroup() bool { + if x != nil && x.IsParentGroup != nil { + return *x.IsParentGroup + } + return false +} + +func (x *Conversation) GetParentGroupID() string { + if x != nil && x.ParentGroupID != nil { + return *x.ParentGroupID + } + return "" +} + +func (x *Conversation) GetIsDefaultSubgroup() bool { + if x != nil && x.IsDefaultSubgroup != nil { + return *x.IsDefaultSubgroup + } + return false +} + +func (x *Conversation) GetDisplayName() string { + if x != nil && x.DisplayName != nil { + return *x.DisplayName + } + return "" +} + +func (x *Conversation) GetPnJID() string { + if x != nil && x.PnJID != nil { + return *x.PnJID + } + return "" +} + +func (x *Conversation) GetShareOwnPn() bool { + if x != nil && x.ShareOwnPn != nil { + return *x.ShareOwnPn + } + return false +} + +func (x *Conversation) GetPnhDuplicateLidThread() bool { + if x != nil && x.PnhDuplicateLidThread != nil { + return *x.PnhDuplicateLidThread + } + return false +} + +func (x *Conversation) GetLidJID() string { + if x != nil && x.LidJID != nil { + return *x.LidJID + } + return "" +} + +func (x *Conversation) GetUsername() string { + if x != nil && x.Username != nil { + return *x.Username + } + return "" +} + +func (x *Conversation) GetLidOriginType() string { + if x != nil && x.LidOriginType != nil { + return *x.LidOriginType + } + return "" +} + +func (x *Conversation) GetCommentsCount() uint32 { + if x != nil && x.CommentsCount != nil { + return *x.CommentsCount + } + return 0 +} + +func (x *Conversation) GetLocked() bool { + if x != nil && x.Locked != nil { + return *x.Locked + } + return false +} + +func (x *Conversation) GetSystemMessageToInsert() PrivacySystemMessage { + if x != nil && x.SystemMessageToInsert != nil { + return *x.SystemMessageToInsert + } + return PrivacySystemMessage_E2EE_MSG +} + +type GroupParticipant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserJID *string `protobuf:"bytes,1,req,name=userJID" json:"userJID,omitempty"` + Rank *GroupParticipant_Rank `protobuf:"varint,2,opt,name=rank,enum=WAWebProtobufsHistorySync.GroupParticipant_Rank" json:"rank,omitempty"` +} + +func (x *GroupParticipant) Reset() { + *x = GroupParticipant{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupParticipant) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupParticipant) ProtoMessage() {} + +func (x *GroupParticipant) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupParticipant.ProtoReflect.Descriptor instead. +func (*GroupParticipant) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{2} +} + +func (x *GroupParticipant) GetUserJID() string { + if x != nil && x.UserJID != nil { + return *x.UserJID + } + return "" +} + +func (x *GroupParticipant) GetRank() GroupParticipant_Rank { + if x != nil && x.Rank != nil { + return *x.Rank + } + return GroupParticipant_REGULAR +} + +type PastParticipant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserJID *string `protobuf:"bytes,1,opt,name=userJID" json:"userJID,omitempty"` + LeaveReason *PastParticipant_LeaveReason `protobuf:"varint,2,opt,name=leaveReason,enum=WAWebProtobufsHistorySync.PastParticipant_LeaveReason" json:"leaveReason,omitempty"` + LeaveTS *uint64 `protobuf:"varint,3,opt,name=leaveTS" json:"leaveTS,omitempty"` +} + +func (x *PastParticipant) Reset() { + *x = PastParticipant{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PastParticipant) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PastParticipant) ProtoMessage() {} + +func (x *PastParticipant) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PastParticipant.ProtoReflect.Descriptor instead. +func (*PastParticipant) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{3} +} + +func (x *PastParticipant) GetUserJID() string { + if x != nil && x.UserJID != nil { + return *x.UserJID + } + return "" +} + +func (x *PastParticipant) GetLeaveReason() PastParticipant_LeaveReason { + if x != nil && x.LeaveReason != nil { + return *x.LeaveReason + } + return PastParticipant_LEFT +} + +func (x *PastParticipant) GetLeaveTS() uint64 { + if x != nil && x.LeaveTS != nil { + return *x.LeaveTS + } + return 0 +} + +type PhoneNumberToLIDMapping struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PnJID *string `protobuf:"bytes,1,opt,name=pnJID" json:"pnJID,omitempty"` + LidJID *string `protobuf:"bytes,2,opt,name=lidJID" json:"lidJID,omitempty"` +} + +func (x *PhoneNumberToLIDMapping) Reset() { + *x = PhoneNumberToLIDMapping{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PhoneNumberToLIDMapping) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PhoneNumberToLIDMapping) ProtoMessage() {} + +func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PhoneNumberToLIDMapping.ProtoReflect.Descriptor instead. +func (*PhoneNumberToLIDMapping) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{4} +} + +func (x *PhoneNumberToLIDMapping) GetPnJID() string { + if x != nil && x.PnJID != nil { + return *x.PnJID + } + return "" +} + +func (x *PhoneNumberToLIDMapping) GetLidJID() string { + if x != nil && x.LidJID != nil { + return *x.LidJID + } + return "" +} + +type HistorySyncMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *waWeb.WebMessageInfo `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` + MsgOrderID *uint64 `protobuf:"varint,2,opt,name=msgOrderID" json:"msgOrderID,omitempty"` +} + +func (x *HistorySyncMsg) Reset() { + *x = HistorySyncMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HistorySyncMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HistorySyncMsg) ProtoMessage() {} + +func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead. +func (*HistorySyncMsg) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{5} +} + +func (x *HistorySyncMsg) GetMessage() *waWeb.WebMessageInfo { + if x != nil { + return x.Message + } + return nil +} + +func (x *HistorySyncMsg) GetMsgOrderID() uint64 { + if x != nil && x.MsgOrderID != nil { + return *x.MsgOrderID + } + return 0 +} + +type Pushname struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` + Pushname *string `protobuf:"bytes,2,opt,name=pushname" json:"pushname,omitempty"` +} + +func (x *Pushname) Reset() { + *x = Pushname{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Pushname) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Pushname) ProtoMessage() {} + +func (x *Pushname) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Pushname.ProtoReflect.Descriptor instead. +func (*Pushname) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{6} +} + +func (x *Pushname) GetID() string { + if x != nil && x.ID != nil { + return *x.ID + } + return "" +} + +func (x *Pushname) GetPushname() string { + if x != nil && x.Pushname != nil { + return *x.Pushname + } + return "" +} + +type WallpaperSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"` + Opacity *uint32 `protobuf:"varint,2,opt,name=opacity" json:"opacity,omitempty"` +} + +func (x *WallpaperSettings) Reset() { + *x = WallpaperSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WallpaperSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WallpaperSettings) ProtoMessage() {} + +func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead. +func (*WallpaperSettings) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{7} +} + +func (x *WallpaperSettings) GetFilename() string { + if x != nil && x.Filename != nil { + return *x.Filename + } + return "" +} + +func (x *WallpaperSettings) GetOpacity() uint32 { + if x != nil && x.Opacity != nil { + return *x.Opacity + } + return 0 +} + +type GlobalSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LightThemeWallpaper *WallpaperSettings `protobuf:"bytes,1,opt,name=lightThemeWallpaper" json:"lightThemeWallpaper,omitempty"` + MediaVisibility *MediaVisibility `protobuf:"varint,2,opt,name=mediaVisibility,enum=WAWebProtobufsHistorySync.MediaVisibility" json:"mediaVisibility,omitempty"` + DarkThemeWallpaper *WallpaperSettings `protobuf:"bytes,3,opt,name=darkThemeWallpaper" json:"darkThemeWallpaper,omitempty"` + AutoDownloadWiFi *AutoDownloadSettings `protobuf:"bytes,4,opt,name=autoDownloadWiFi" json:"autoDownloadWiFi,omitempty"` + AutoDownloadCellular *AutoDownloadSettings `protobuf:"bytes,5,opt,name=autoDownloadCellular" json:"autoDownloadCellular,omitempty"` + AutoDownloadRoaming *AutoDownloadSettings `protobuf:"bytes,6,opt,name=autoDownloadRoaming" json:"autoDownloadRoaming,omitempty"` + ShowIndividualNotificationsPreview *bool `protobuf:"varint,7,opt,name=showIndividualNotificationsPreview" json:"showIndividualNotificationsPreview,omitempty"` + ShowGroupNotificationsPreview *bool `protobuf:"varint,8,opt,name=showGroupNotificationsPreview" json:"showGroupNotificationsPreview,omitempty"` + DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"` + DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"` + AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"` + FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"` + SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"` + AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"` + VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"` + PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"` + IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"` + GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"` + ChatLockSettings *waChatLockSettings.ChatLockSettings `protobuf:"bytes,19,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"` +} + +func (x *GlobalSettings) Reset() { + *x = GlobalSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GlobalSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GlobalSettings) ProtoMessage() {} + +func (x *GlobalSettings) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead. +func (*GlobalSettings) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{8} +} + +func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings { + if x != nil { + return x.LightThemeWallpaper + } + return nil +} + +func (x *GlobalSettings) GetMediaVisibility() MediaVisibility { + if x != nil && x.MediaVisibility != nil { + return *x.MediaVisibility + } + return MediaVisibility_DEFAULT +} + +func (x *GlobalSettings) GetDarkThemeWallpaper() *WallpaperSettings { + if x != nil { + return x.DarkThemeWallpaper + } + return nil +} + +func (x *GlobalSettings) GetAutoDownloadWiFi() *AutoDownloadSettings { + if x != nil { + return x.AutoDownloadWiFi + } + return nil +} + +func (x *GlobalSettings) GetAutoDownloadCellular() *AutoDownloadSettings { + if x != nil { + return x.AutoDownloadCellular + } + return nil +} + +func (x *GlobalSettings) GetAutoDownloadRoaming() *AutoDownloadSettings { + if x != nil { + return x.AutoDownloadRoaming + } + return nil +} + +func (x *GlobalSettings) GetShowIndividualNotificationsPreview() bool { + if x != nil && x.ShowIndividualNotificationsPreview != nil { + return *x.ShowIndividualNotificationsPreview + } + return false +} + +func (x *GlobalSettings) GetShowGroupNotificationsPreview() bool { + if x != nil && x.ShowGroupNotificationsPreview != nil { + return *x.ShowGroupNotificationsPreview + } + return false +} + +func (x *GlobalSettings) GetDisappearingModeDuration() int32 { + if x != nil && x.DisappearingModeDuration != nil { + return *x.DisappearingModeDuration + } + return 0 +} + +func (x *GlobalSettings) GetDisappearingModeTimestamp() int64 { + if x != nil && x.DisappearingModeTimestamp != nil { + return *x.DisappearingModeTimestamp + } + return 0 +} + +func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings { + if x != nil { + return x.AvatarUserSettings + } + return nil +} + +func (x *GlobalSettings) GetFontSize() int32 { + if x != nil && x.FontSize != nil { + return *x.FontSize + } + return 0 +} + +func (x *GlobalSettings) GetSecurityNotifications() bool { + if x != nil && x.SecurityNotifications != nil { + return *x.SecurityNotifications + } + return false +} + +func (x *GlobalSettings) GetAutoUnarchiveChats() bool { + if x != nil && x.AutoUnarchiveChats != nil { + return *x.AutoUnarchiveChats + } + return false +} + +func (x *GlobalSettings) GetVideoQualityMode() int32 { + if x != nil && x.VideoQualityMode != nil { + return *x.VideoQualityMode + } + return 0 +} + +func (x *GlobalSettings) GetPhotoQualityMode() int32 { + if x != nil && x.PhotoQualityMode != nil { + return *x.PhotoQualityMode + } + return 0 +} + +func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings { + if x != nil { + return x.IndividualNotificationSettings + } + return nil +} + +func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings { + if x != nil { + return x.GroupNotificationSettings + } + return nil +} + +func (x *GlobalSettings) GetChatLockSettings() *waChatLockSettings.ChatLockSettings { + if x != nil { + return x.ChatLockSettings + } + return nil +} + +type AutoDownloadSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DownloadImages *bool `protobuf:"varint,1,opt,name=downloadImages" json:"downloadImages,omitempty"` + DownloadAudio *bool `protobuf:"varint,2,opt,name=downloadAudio" json:"downloadAudio,omitempty"` + DownloadVideo *bool `protobuf:"varint,3,opt,name=downloadVideo" json:"downloadVideo,omitempty"` + DownloadDocuments *bool `protobuf:"varint,4,opt,name=downloadDocuments" json:"downloadDocuments,omitempty"` +} + +func (x *AutoDownloadSettings) Reset() { + *x = AutoDownloadSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoDownloadSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoDownloadSettings) ProtoMessage() {} + +func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead. +func (*AutoDownloadSettings) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{9} +} + +func (x *AutoDownloadSettings) GetDownloadImages() bool { + if x != nil && x.DownloadImages != nil { + return *x.DownloadImages + } + return false +} + +func (x *AutoDownloadSettings) GetDownloadAudio() bool { + if x != nil && x.DownloadAudio != nil { + return *x.DownloadAudio + } + return false +} + +func (x *AutoDownloadSettings) GetDownloadVideo() bool { + if x != nil && x.DownloadVideo != nil { + return *x.DownloadVideo + } + return false +} + +func (x *AutoDownloadSettings) GetDownloadDocuments() bool { + if x != nil && x.DownloadDocuments != nil { + return *x.DownloadDocuments + } + return false +} + +type StickerMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL *string `protobuf:"bytes,1,opt,name=URL" json:"URL,omitempty"` + FileSHA256 []byte `protobuf:"bytes,2,opt,name=fileSHA256" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` + Mimetype *string `protobuf:"bytes,5,opt,name=mimetype" json:"mimetype,omitempty"` + Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` + DirectPath *string `protobuf:"bytes,8,opt,name=directPath" json:"directPath,omitempty"` + FileLength *uint64 `protobuf:"varint,9,opt,name=fileLength" json:"fileLength,omitempty"` + Weight *float32 `protobuf:"fixed32,10,opt,name=weight" json:"weight,omitempty"` + LastStickerSentTS *int64 `protobuf:"varint,11,opt,name=lastStickerSentTS" json:"lastStickerSentTS,omitempty"` + IsLottie *bool `protobuf:"varint,12,opt,name=isLottie" json:"isLottie,omitempty"` +} + +func (x *StickerMetadata) Reset() { + *x = StickerMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StickerMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StickerMetadata) ProtoMessage() {} + +func (x *StickerMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead. +func (*StickerMetadata) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{10} +} + +func (x *StickerMetadata) GetURL() string { + if x != nil && x.URL != nil { + return *x.URL + } + return "" +} + +func (x *StickerMetadata) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *StickerMetadata) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *StickerMetadata) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *StickerMetadata) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype + } + return "" +} + +func (x *StickerMetadata) GetHeight() uint32 { + if x != nil && x.Height != nil { + return *x.Height + } + return 0 +} + +func (x *StickerMetadata) GetWidth() uint32 { + if x != nil && x.Width != nil { + return *x.Width + } + return 0 +} + +func (x *StickerMetadata) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath + } + return "" +} + +func (x *StickerMetadata) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength + } + return 0 +} + +func (x *StickerMetadata) GetWeight() float32 { + if x != nil && x.Weight != nil { + return *x.Weight + } + return 0 +} + +func (x *StickerMetadata) GetLastStickerSentTS() int64 { + if x != nil && x.LastStickerSentTS != nil { + return *x.LastStickerSentTS + } + return 0 +} + +func (x *StickerMetadata) GetIsLottie() bool { + if x != nil && x.IsLottie != nil { + return *x.IsLottie + } + return false +} + +type PastParticipants struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupJID *string `protobuf:"bytes,1,opt,name=groupJID" json:"groupJID,omitempty"` + PastParticipants []*PastParticipant `protobuf:"bytes,2,rep,name=pastParticipants" json:"pastParticipants,omitempty"` +} + +func (x *PastParticipants) Reset() { + *x = PastParticipants{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PastParticipants) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PastParticipants) ProtoMessage() {} + +func (x *PastParticipants) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead. +func (*PastParticipants) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{11} +} + +func (x *PastParticipants) GetGroupJID() string { + if x != nil && x.GroupJID != nil { + return *x.GroupJID + } + return "" +} + +func (x *PastParticipants) GetPastParticipants() []*PastParticipant { + if x != nil { + return x.PastParticipants + } + return nil +} + +type AvatarUserSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FBID *string `protobuf:"bytes,1,opt,name=FBID" json:"FBID,omitempty"` + Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` +} + +func (x *AvatarUserSettings) Reset() { + *x = AvatarUserSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvatarUserSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvatarUserSettings) ProtoMessage() {} + +func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead. +func (*AvatarUserSettings) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{12} +} + +func (x *AvatarUserSettings) GetFBID() string { + if x != nil && x.FBID != nil { + return *x.FBID + } + return "" +} + +func (x *AvatarUserSettings) GetPassword() string { + if x != nil && x.Password != nil { + return *x.Password + } + return "" +} + +type NotificationSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"` + MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"` + MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"` + LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"` + ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"` + CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"` +} + +func (x *NotificationSettings) Reset() { + *x = NotificationSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NotificationSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NotificationSettings) ProtoMessage() {} + +func (x *NotificationSettings) ProtoReflect() protoreflect.Message { + mi := &file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead. +func (*NotificationSettings) Descriptor() ([]byte, []int) { + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP(), []int{13} +} + +func (x *NotificationSettings) GetMessageVibrate() string { + if x != nil && x.MessageVibrate != nil { + return *x.MessageVibrate + } + return "" +} + +func (x *NotificationSettings) GetMessagePopup() string { + if x != nil && x.MessagePopup != nil { + return *x.MessagePopup + } + return "" +} + +func (x *NotificationSettings) GetMessageLight() string { + if x != nil && x.MessageLight != nil { + return *x.MessageLight + } + return "" +} + +func (x *NotificationSettings) GetLowPriorityNotifications() bool { + if x != nil && x.LowPriorityNotifications != nil { + return *x.LowPriorityNotifications + } + return false +} + +func (x *NotificationSettings) GetReactionsMuted() bool { + if x != nil && x.ReactionsMuted != nil { + return *x.ReactionsMuted + } + return false +} + +func (x *NotificationSettings) GetCallVibrate() string { + if x != nil && x.CallVibrate != nil { + return *x.CallVibrate + } + return "" +} + +var File_waHistorySync_WAWebProtobufsHistorySync_proto protoreflect.FileDescriptor + +//go:embed WAWebProtobufsHistorySync.pb.raw +var file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc []byte + +var ( + file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescOnce sync.Once + file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData = file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc +) + +func file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescGZIP() []byte { + file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescOnce.Do(func() { + file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData = protoimpl.X.CompressGZIP(file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData) + }) + return file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDescData +} + +var file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = []interface{}{ + (MediaVisibility)(0), // 0: WAWebProtobufsHistorySync.MediaVisibility + (PrivacySystemMessage)(0), // 1: WAWebProtobufsHistorySync.PrivacySystemMessage + (HistorySync_BotAIWaitListState)(0), // 2: WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState + (HistorySync_HistorySyncType)(0), // 3: WAWebProtobufsHistorySync.HistorySync.HistorySyncType + (Conversation_EndOfHistoryTransferType)(0), // 4: WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType + (GroupParticipant_Rank)(0), // 5: WAWebProtobufsHistorySync.GroupParticipant.Rank + (PastParticipant_LeaveReason)(0), // 6: WAWebProtobufsHistorySync.PastParticipant.LeaveReason + (*HistorySync)(nil), // 7: WAWebProtobufsHistorySync.HistorySync + (*Conversation)(nil), // 8: WAWebProtobufsHistorySync.Conversation + (*GroupParticipant)(nil), // 9: WAWebProtobufsHistorySync.GroupParticipant + (*PastParticipant)(nil), // 10: WAWebProtobufsHistorySync.PastParticipant + (*PhoneNumberToLIDMapping)(nil), // 11: WAWebProtobufsHistorySync.PhoneNumberToLIDMapping + (*HistorySyncMsg)(nil), // 12: WAWebProtobufsHistorySync.HistorySyncMsg + (*Pushname)(nil), // 13: WAWebProtobufsHistorySync.Pushname + (*WallpaperSettings)(nil), // 14: WAWebProtobufsHistorySync.WallpaperSettings + (*GlobalSettings)(nil), // 15: WAWebProtobufsHistorySync.GlobalSettings + (*AutoDownloadSettings)(nil), // 16: WAWebProtobufsHistorySync.AutoDownloadSettings + (*StickerMetadata)(nil), // 17: WAWebProtobufsHistorySync.StickerMetadata + (*PastParticipants)(nil), // 18: WAWebProtobufsHistorySync.PastParticipants + (*AvatarUserSettings)(nil), // 19: WAWebProtobufsHistorySync.AvatarUserSettings + (*NotificationSettings)(nil), // 20: WAWebProtobufsHistorySync.NotificationSettings + (*waWeb.WebMessageInfo)(nil), // 21: WAWebProtobufsWeb.WebMessageInfo + (*waSyncAction.CallLogRecord)(nil), // 22: WASyncAction.CallLogRecord + (*waE2E.DisappearingMode)(nil), // 23: WAWebProtobufsE2E.DisappearingMode + (*waChatLockSettings.ChatLockSettings)(nil), // 24: WAProtobufsChatLockSettings.ChatLockSettings +} +var file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = []int32{ + 3, // 0: WAWebProtobufsHistorySync.HistorySync.syncType:type_name -> WAWebProtobufsHistorySync.HistorySync.HistorySyncType + 8, // 1: WAWebProtobufsHistorySync.HistorySync.conversations:type_name -> WAWebProtobufsHistorySync.Conversation + 21, // 2: WAWebProtobufsHistorySync.HistorySync.statusV3Messages:type_name -> WAWebProtobufsWeb.WebMessageInfo + 13, // 3: WAWebProtobufsHistorySync.HistorySync.pushnames:type_name -> WAWebProtobufsHistorySync.Pushname + 15, // 4: WAWebProtobufsHistorySync.HistorySync.globalSettings:type_name -> WAWebProtobufsHistorySync.GlobalSettings + 17, // 5: WAWebProtobufsHistorySync.HistorySync.recentStickers:type_name -> WAWebProtobufsHistorySync.StickerMetadata + 18, // 6: WAWebProtobufsHistorySync.HistorySync.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipants + 22, // 7: WAWebProtobufsHistorySync.HistorySync.callLogRecords:type_name -> WASyncAction.CallLogRecord + 2, // 8: WAWebProtobufsHistorySync.HistorySync.aiWaitListState:type_name -> WAWebProtobufsHistorySync.HistorySync.BotAIWaitListState + 11, // 9: WAWebProtobufsHistorySync.HistorySync.phoneNumberToLidMappings:type_name -> WAWebProtobufsHistorySync.PhoneNumberToLIDMapping + 12, // 10: WAWebProtobufsHistorySync.Conversation.messages:type_name -> WAWebProtobufsHistorySync.HistorySyncMsg + 4, // 11: WAWebProtobufsHistorySync.Conversation.endOfHistoryTransferType:type_name -> WAWebProtobufsHistorySync.Conversation.EndOfHistoryTransferType + 23, // 12: WAWebProtobufsHistorySync.Conversation.disappearingMode:type_name -> WAWebProtobufsE2E.DisappearingMode + 9, // 13: WAWebProtobufsHistorySync.Conversation.participant:type_name -> WAWebProtobufsHistorySync.GroupParticipant + 14, // 14: WAWebProtobufsHistorySync.Conversation.wallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings + 0, // 15: WAWebProtobufsHistorySync.Conversation.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility + 1, // 16: WAWebProtobufsHistorySync.Conversation.systemMessageToInsert:type_name -> WAWebProtobufsHistorySync.PrivacySystemMessage + 5, // 17: WAWebProtobufsHistorySync.GroupParticipant.rank:type_name -> WAWebProtobufsHistorySync.GroupParticipant.Rank + 6, // 18: WAWebProtobufsHistorySync.PastParticipant.leaveReason:type_name -> WAWebProtobufsHistorySync.PastParticipant.LeaveReason + 21, // 19: WAWebProtobufsHistorySync.HistorySyncMsg.message:type_name -> WAWebProtobufsWeb.WebMessageInfo + 14, // 20: WAWebProtobufsHistorySync.GlobalSettings.lightThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings + 0, // 21: WAWebProtobufsHistorySync.GlobalSettings.mediaVisibility:type_name -> WAWebProtobufsHistorySync.MediaVisibility + 14, // 22: WAWebProtobufsHistorySync.GlobalSettings.darkThemeWallpaper:type_name -> WAWebProtobufsHistorySync.WallpaperSettings + 16, // 23: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadWiFi:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings + 16, // 24: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadCellular:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings + 16, // 25: WAWebProtobufsHistorySync.GlobalSettings.autoDownloadRoaming:type_name -> WAWebProtobufsHistorySync.AutoDownloadSettings + 19, // 26: WAWebProtobufsHistorySync.GlobalSettings.avatarUserSettings:type_name -> WAWebProtobufsHistorySync.AvatarUserSettings + 20, // 27: WAWebProtobufsHistorySync.GlobalSettings.individualNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings + 20, // 28: WAWebProtobufsHistorySync.GlobalSettings.groupNotificationSettings:type_name -> WAWebProtobufsHistorySync.NotificationSettings + 24, // 29: WAWebProtobufsHistorySync.GlobalSettings.chatLockSettings:type_name -> WAProtobufsChatLockSettings.ChatLockSettings + 10, // 30: WAWebProtobufsHistorySync.PastParticipants.pastParticipants:type_name -> WAWebProtobufsHistorySync.PastParticipant + 31, // [31:31] is the sub-list for method output_type + 31, // [31:31] is the sub-list for method input_type + 31, // [31:31] is the sub-list for extension type_name + 31, // [31:31] is the sub-list for extension extendee + 0, // [0:31] is the sub-list for field type_name +} + +func init() { file_waHistorySync_WAWebProtobufsHistorySync_proto_init() } +func file_waHistorySync_WAWebProtobufsHistorySync_proto_init() { + if File_waHistorySync_WAWebProtobufsHistorySync_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HistorySync); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Conversation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PastParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhoneNumberToLIDMapping); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HistorySyncMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pushname); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WallpaperSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlobalSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoDownloadSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PastParticipants); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvatarUserSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotificationSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc, + NumEnums: 7, + NumMessages: 14, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes, + DependencyIndexes: file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs, + EnumInfos: file_waHistorySync_WAWebProtobufsHistorySync_proto_enumTypes, + MessageInfos: file_waHistorySync_WAWebProtobufsHistorySync_proto_msgTypes, + }.Build() + File_waHistorySync_WAWebProtobufsHistorySync_proto = out.File + file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = nil + file_waHistorySync_WAWebProtobufsHistorySync_proto_goTypes = nil + file_waHistorySync_WAWebProtobufsHistorySync_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..42902631591d5b9f49819f7c30ad9695415c6564 GIT binary patch literal 7072 zcmbsu*>c;~wbW+vQljW<*@m4saTqt29h=H9sk=TD5+Ruhw_H$C-Hihgmn23YfWabG zoj&)W)34}P^r3H^&h!WRA^n4%a{-Vb2r^3_G^4ZLb1%+L@_MShH9X&TZ`E6CaC9kO z@~f_E`}S2Z^b(Y+gGl;lCBx$nry8n|2fkrjplA++vX8%*YA0jOZ`y-vmHWP7jXYqR z9hRm=QctFuQd3ff0cK7Hi&JF4gyhP<3#6F11!W}ffswsihfBGq8;7OZo9fCdRTGlQ z|52LF^w1XB8`#zjcRdZS?nxU@HxG-o=W7(7B>35)G^i_kzUBws#pf;VdD@73(x%Y( zQA#6T6aFHuhBdU=k|_Ovkij^xt~;*IU1|Gi?r@JKF!V9W!>1j&aFnzos56+#q~HYJ z*wQ9o!yRG6$0-|t4^8@SzLW=?sS+2oZ7NRb=p%lFJ9&@>Sm$T*C*J zisBJot}#AhZE;`IHD6;X4fK+f9nJH*nhQD&N3(oS+7((qU8A*|5@Ab9=m{weG}CO_ zBgO}|t9#O(Q2QRJO~m3!l82>4=z#2N#-(QXO-KqVxFMHH@J6NDPuCci^nqjBmm3QT zSXv{sh~$iIi?@Tx6?c1f)6iR*<6uIN_Jz&0HK%nKL>u);l&#cR`7xo(X3>38Y_$8A za--L5sJ-$JXqoKFjlO&#H=6QsQz_>vf60;k#N{yV>3wpy(Qfn_aGaedle-|C zK&w5ucdqs?J}>8Jo@||-H=E@RO2`gVPLy`9yh-;+p?j{r?YHHYQr<$@cBkDxZgx(- zYP8S#b-5>(w~-65b)_Y@>*bxwKkt&=WZs}9veBrEELLFfA5};m;xtScVG3FoWQlvV zyb+s;(g$S6;?pld^(K7z0*fHT+oq2Atq>nV^d%{q;GLiZqYF~k#1Uy`i!I^lQ&J2p z4BZnuu>2_BBvF`-klwM(TgW)M!#tb8v_=lNrFVvr={;Aoydfkt%qV%5Nu!^Ud)yiG z33oM9`GaG)B1emCvB$DV^cUpOOd?8J^NV4^*kr32=%0v`WuquKMG!94e!0fCli#Ve|kW+owu4d7U5rDAwVT^$FhCZ z(Iyb6_~#kTyr7FTei-nyTDVdrK<_n^?HhxEeT@< z2;Ha!xfx1s=uH$ z^sZ*WsD;F8!B>%hb&o|5M&cy!Irtb_AUzU?CsFiEQkX)ma5M)(>@m=bwO4Cg_cG>< z3q6~Q(;nHMaNW=@49~bSOfX)04>Xo)>ndq$QG%sa&^P2k^ja#!98{87{&`YJusi!PN-eSb8S(Efa**hUb{tZ5z|XCqiQpLOMo?Y++$(crIw$ z4g&a+-WZJOOs%dZ9SZdc3}!3G8rK8IGzRdV&<6BGUnji~tl32LXwwjN=%qL;f-nOG z&<=`B_Nk!EV0;yj>A1$outX|;B^VZw$ThGh6L>r?%qXvcYY+SL1X7$2BMkUP707wE zV+x3Ja^Ji4d_IZ#@t)nVz#d;Z0=81^Xie-uVBcs1n7|U^EL&UUA2}kesti!=UY&GW z-KNr0`p4(JeyhWjeoIkR`Akv!3|a|jd7!E2vPMg0@1Sp~k?KqW`iy?NvmlfqlcPT) zZ)P&H4yCWYYo8~HT$&|S;h92nPZhn`7K_2kGg3@QVVl`hPO*sL7v4yvQ-Y<-_%7l~_`$hV5awlpw;gex)_!h%yEP;t( z;*G>a3ZER0+F}Vzk(S9$6~PZpCTzO&Y|@8Gjw@Zh|(&6e=U3(F9HffolT;7#M{ zlzd=hI#C=%(O9*v*GOJF7GvL_mQKhc(IaLFOE`C}50xx2wpt^7N6LfLrdUjDp?j>} z7^hdrY)MV!?>TZHXQUsT5%nmGH6~)|ip3(&Qdn#fV?H_14O1 z2_&}Rv97v32t?;8(r2D66Dt4RAp5E9BJ8X-&skH{paR2xv9@BlQ{T$9AH5OA?Xm<0 zEkn9u4I&mS1-on!i7_MwHk>hW-Ls1eA{gKR7BrZ&eB7bqJ{c`(QYS# zu-%v%x<3|KZjXfk+Nv9{VTEldkT7c%SOOE@rOB-k&~d{HeF9n^V(_$ScpB!M4HiN8 zuDFtl9t(y;A37+^FPm(cfcG)HrVVK*%onh7is8zipjpW<3P!OZ33rDV z#uXF+{B;CXmZByv!qN)ajWAu?ftfLE6Blp^o~H1GaE%!A2pkq4)1JcIV=t#-^tU`) zNk>~@{uVzoc`evs=)wyjQWvo}w&FrOz7YPnQD8~b%OkR%S~6h&Tvtxz^CmXacgSYv z^b`h!9kS7Bmp5K2d-ivVlkO;dwL{(Vmn&+LGFK}#piqg literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto new file mode 100644 index 00000000..6f854263 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto @@ -0,0 +1,213 @@ +syntax = "proto2"; +package WAWebProtobufsHistorySync; +option go_package = "go.mau.fi/whatsmeow/proto/waHistorySync"; + +import "waSyncAction/WASyncAction.proto"; +import "waChatLockSettings/WAProtobufsChatLockSettings.proto"; +import "waE2E/WAWebProtobufsE2E.proto"; +import "waWeb/WAWebProtobufsWeb.proto"; + +enum MediaVisibility { + DEFAULT = 0; + OFF = 1; + ON = 2; +} + +enum PrivacySystemMessage { + E2EE_MSG = 1; + NE2EE_SELF = 2; + NE2EE_OTHER = 3; +} + +message HistorySync { + enum BotAIWaitListState { + IN_WAITLIST = 0; + AI_AVAILABLE = 1; + } + + enum HistorySyncType { + INITIAL_BOOTSTRAP = 0; + INITIAL_STATUS_V3 = 1; + FULL = 2; + RECENT = 3; + PUSH_NAME = 4; + NON_BLOCKING_DATA = 5; + ON_DEMAND = 6; + } + + required HistorySyncType syncType = 1; + repeated Conversation conversations = 2; + repeated WAWebProtobufsWeb.WebMessageInfo statusV3Messages = 3; + optional uint32 chunkOrder = 5; + optional uint32 progress = 6; + repeated Pushname pushnames = 7; + optional GlobalSettings globalSettings = 8; + optional bytes threadIDUserSecret = 9; + optional uint32 threadDsTimeframeOffset = 10; + repeated StickerMetadata recentStickers = 11; + repeated PastParticipants pastParticipants = 12; + repeated WASyncAction.CallLogRecord callLogRecords = 13; + optional BotAIWaitListState aiWaitListState = 14; + repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15; +} + +message Conversation { + enum EndOfHistoryTransferType { + COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; + COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; + COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2; + } + + required string ID = 1; + repeated HistorySyncMsg messages = 2; + optional string newJID = 3; + optional string oldJID = 4; + optional uint64 lastMsgTimestamp = 5; + optional uint32 unreadCount = 6; + optional bool readOnly = 7; + optional bool endOfHistoryTransfer = 8; + optional uint32 ephemeralExpiration = 9; + optional int64 ephemeralSettingTimestamp = 10; + optional EndOfHistoryTransferType endOfHistoryTransferType = 11; + optional uint64 conversationTimestamp = 12; + optional string name = 13; + optional string pHash = 14; + optional bool notSpam = 15; + optional bool archived = 16; + optional WAWebProtobufsE2E.DisappearingMode disappearingMode = 17; + optional uint32 unreadMentionCount = 18; + optional bool markedAsUnread = 19; + repeated GroupParticipant participant = 20; + optional bytes tcToken = 21; + optional uint64 tcTokenTimestamp = 22; + optional bytes contactPrimaryIdentityKey = 23; + optional uint32 pinned = 24; + optional uint64 muteEndTime = 25; + optional WallpaperSettings wallpaper = 26; + optional MediaVisibility mediaVisibility = 27; + optional uint64 tcTokenSenderTimestamp = 28; + optional bool suspended = 29; + optional bool terminated = 30; + optional uint64 createdAt = 31; + optional string createdBy = 32; + optional string description = 33; + optional bool support = 34; + optional bool isParentGroup = 35; + optional string parentGroupID = 37; + optional bool isDefaultSubgroup = 36; + optional string displayName = 38; + optional string pnJID = 39; + optional bool shareOwnPn = 40; + optional bool pnhDuplicateLidThread = 41; + optional string lidJID = 42; + optional string username = 43; + optional string lidOriginType = 44; + optional uint32 commentsCount = 45; + optional bool locked = 46; + optional PrivacySystemMessage systemMessageToInsert = 47; +} + +message GroupParticipant { + enum Rank { + REGULAR = 0; + ADMIN = 1; + SUPERADMIN = 2; + } + + required string userJID = 1; + optional Rank rank = 2; +} + +message PastParticipant { + enum LeaveReason { + LEFT = 0; + REMOVED = 1; + } + + optional string userJID = 1; + optional LeaveReason leaveReason = 2; + optional uint64 leaveTS = 3; +} + +message PhoneNumberToLIDMapping { + optional string pnJID = 1; + optional string lidJID = 2; +} + +message HistorySyncMsg { + optional WAWebProtobufsWeb.WebMessageInfo message = 1; + optional uint64 msgOrderID = 2; +} + +message Pushname { + optional string ID = 1; + optional string pushname = 2; +} + +message WallpaperSettings { + optional string filename = 1; + optional uint32 opacity = 2; +} + +message GlobalSettings { + optional WallpaperSettings lightThemeWallpaper = 1; + optional MediaVisibility mediaVisibility = 2; + optional WallpaperSettings darkThemeWallpaper = 3; + optional AutoDownloadSettings autoDownloadWiFi = 4; + optional AutoDownloadSettings autoDownloadCellular = 5; + optional AutoDownloadSettings autoDownloadRoaming = 6; + optional bool showIndividualNotificationsPreview = 7; + optional bool showGroupNotificationsPreview = 8; + optional int32 disappearingModeDuration = 9; + optional int64 disappearingModeTimestamp = 10; + optional AvatarUserSettings avatarUserSettings = 11; + optional int32 fontSize = 12; + optional bool securityNotifications = 13; + optional bool autoUnarchiveChats = 14; + optional int32 videoQualityMode = 15; + optional int32 photoQualityMode = 16; + optional NotificationSettings individualNotificationSettings = 17; + optional NotificationSettings groupNotificationSettings = 18; + optional WAProtobufsChatLockSettings.ChatLockSettings chatLockSettings = 19; +} + +message AutoDownloadSettings { + optional bool downloadImages = 1; + optional bool downloadAudio = 2; + optional bool downloadVideo = 3; + optional bool downloadDocuments = 4; +} + +message StickerMetadata { + optional string URL = 1; + optional bytes fileSHA256 = 2; + optional bytes fileEncSHA256 = 3; + optional bytes mediaKey = 4; + optional string mimetype = 5; + optional uint32 height = 6; + optional uint32 width = 7; + optional string directPath = 8; + optional uint64 fileLength = 9; + optional float weight = 10; + optional int64 lastStickerSentTS = 11; + optional bool isLottie = 12; +} + +message PastParticipants { + optional string groupJID = 1; + repeated PastParticipant pastParticipants = 2; +} + +message AvatarUserSettings { + optional string FBID = 1; + optional string password = 2; +} + +message NotificationSettings { + optional string messageVibrate = 1; + optional string messagePopup = 2; + optional string messageLight = 3; + optional bool lowPriorityNotifications = 4; + optional bool reactionsMuted = 5; + optional string callVibrate = 6; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go new file mode 100644 index 00000000..410a80fe --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/legacy.go @@ -0,0 +1,11 @@ +package waHistorySync + +// Deprecated: Use GetID +func (x *Conversation) GetId() string { + return x.GetID() +} + +// Deprecated: Use GetID +func (x *Pushname) GetId() string { + return x.GetID() +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go similarity index 67% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go index b2777161..92d13e1a 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waMediaTransport/WAMediaTransport.proto @@ -10,7 +10,7 @@ import ( reflect "reflect" sync "sync" - waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + waCommon "go.mau.fi/whatsmeow/proto/waCommon" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -68,6 +68,16 @@ func (x ImageTransport_Ancillary_HdType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *ImageTransport_Ancillary_HdType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ImageTransport_Ancillary_HdType(num) + return nil +} + // Deprecated: Use ImageTransport_Ancillary_HdType.Descriptor instead. func (ImageTransport_Ancillary_HdType) EnumDescriptor() ([]byte, []int) { return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{1, 0, 0} @@ -117,18 +127,149 @@ func (x VideoTransport_Ancillary_Attribution) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *VideoTransport_Ancillary_Attribution) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = VideoTransport_Ancillary_Attribution(num) + return nil +} + // Deprecated: Use VideoTransport_Ancillary_Attribution.Descriptor instead. func (VideoTransport_Ancillary_Attribution) EnumDescriptor() ([]byte, []int) { return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{2, 0, 0} } +type AudioTransport_Ancillary_AvatarAudio_AnimationsType int32 + +const ( + AudioTransport_Ancillary_AvatarAudio_TALKING_A AudioTransport_Ancillary_AvatarAudio_AnimationsType = 0 + AudioTransport_Ancillary_AvatarAudio_IDLE_A AudioTransport_Ancillary_AvatarAudio_AnimationsType = 1 + AudioTransport_Ancillary_AvatarAudio_TALKING_B AudioTransport_Ancillary_AvatarAudio_AnimationsType = 2 + AudioTransport_Ancillary_AvatarAudio_IDLE_B AudioTransport_Ancillary_AvatarAudio_AnimationsType = 3 + AudioTransport_Ancillary_AvatarAudio_BACKGROUND AudioTransport_Ancillary_AvatarAudio_AnimationsType = 4 +) + +// Enum value maps for AudioTransport_Ancillary_AvatarAudio_AnimationsType. +var ( + AudioTransport_Ancillary_AvatarAudio_AnimationsType_name = map[int32]string{ + 0: "TALKING_A", + 1: "IDLE_A", + 2: "TALKING_B", + 3: "IDLE_B", + 4: "BACKGROUND", + } + AudioTransport_Ancillary_AvatarAudio_AnimationsType_value = map[string]int32{ + "TALKING_A": 0, + "IDLE_A": 1, + "TALKING_B": 2, + "IDLE_B": 3, + "BACKGROUND": 4, + } +) + +func (x AudioTransport_Ancillary_AvatarAudio_AnimationsType) Enum() *AudioTransport_Ancillary_AvatarAudio_AnimationsType { + p := new(AudioTransport_Ancillary_AvatarAudio_AnimationsType) + *p = x + return p +} + +func (x AudioTransport_Ancillary_AvatarAudio_AnimationsType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AudioTransport_Ancillary_AvatarAudio_AnimationsType) Descriptor() protoreflect.EnumDescriptor { + return file_waMediaTransport_WAMediaTransport_proto_enumTypes[2].Descriptor() +} + +func (AudioTransport_Ancillary_AvatarAudio_AnimationsType) Type() protoreflect.EnumType { + return &file_waMediaTransport_WAMediaTransport_proto_enumTypes[2] +} + +func (x AudioTransport_Ancillary_AvatarAudio_AnimationsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *AudioTransport_Ancillary_AvatarAudio_AnimationsType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = AudioTransport_Ancillary_AvatarAudio_AnimationsType(num) + return nil +} + +// Deprecated: Use AudioTransport_Ancillary_AvatarAudio_AnimationsType.Descriptor instead. +func (AudioTransport_Ancillary_AvatarAudio_AnimationsType) EnumDescriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3, 0, 0, 0} +} + +type AudioTransport_Integral_AudioFormat int32 + +const ( + AudioTransport_Integral_UNKNOWN AudioTransport_Integral_AudioFormat = 0 + AudioTransport_Integral_OPUS AudioTransport_Integral_AudioFormat = 1 +) + +// Enum value maps for AudioTransport_Integral_AudioFormat. +var ( + AudioTransport_Integral_AudioFormat_name = map[int32]string{ + 0: "UNKNOWN", + 1: "OPUS", + } + AudioTransport_Integral_AudioFormat_value = map[string]int32{ + "UNKNOWN": 0, + "OPUS": 1, + } +) + +func (x AudioTransport_Integral_AudioFormat) Enum() *AudioTransport_Integral_AudioFormat { + p := new(AudioTransport_Integral_AudioFormat) + *p = x + return p +} + +func (x AudioTransport_Integral_AudioFormat) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AudioTransport_Integral_AudioFormat) Descriptor() protoreflect.EnumDescriptor { + return file_waMediaTransport_WAMediaTransport_proto_enumTypes[3].Descriptor() +} + +func (AudioTransport_Integral_AudioFormat) Type() protoreflect.EnumType { + return &file_waMediaTransport_WAMediaTransport_proto_enumTypes[3] +} + +func (x AudioTransport_Integral_AudioFormat) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *AudioTransport_Integral_AudioFormat) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = AudioTransport_Integral_AudioFormat(num) + return nil +} + +// Deprecated: Use AudioTransport_Integral_AudioFormat.Descriptor instead. +func (AudioTransport_Integral_AudioFormat) EnumDescriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3, 1, 0} +} + type WAMediaTransport struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *WAMediaTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *WAMediaTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *WAMediaTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *WAMediaTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *WAMediaTransport) Reset() { @@ -182,8 +323,8 @@ type ImageTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *ImageTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *ImageTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *ImageTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *ImageTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *ImageTransport) Reset() { @@ -237,8 +378,8 @@ type VideoTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *VideoTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *VideoTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *VideoTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *VideoTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *VideoTransport) Reset() { @@ -292,8 +433,8 @@ type AudioTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *AudioTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *AudioTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *AudioTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *AudioTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *AudioTransport) Reset() { @@ -347,8 +488,8 @@ type DocumentTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *DocumentTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *DocumentTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *DocumentTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *DocumentTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *DocumentTransport) Reset() { @@ -402,8 +543,8 @@ type StickerTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *StickerTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *StickerTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *StickerTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *StickerTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *StickerTransport) Reset() { @@ -457,8 +598,8 @@ type ContactTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *ContactTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *ContactTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *ContactTransport_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *ContactTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *ContactTransport) Reset() { @@ -512,10 +653,10 @@ type WAMediaTransport_Ancillary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FileLength uint64 `protobuf:"varint,1,opt,name=fileLength,proto3" json:"fileLength,omitempty"` - Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` - Thumbnail *WAMediaTransport_Ancillary_Thumbnail `protobuf:"bytes,3,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` - ObjectID string `protobuf:"bytes,4,opt,name=objectID,proto3" json:"objectID,omitempty"` + FileLength *uint64 `protobuf:"varint,1,opt,name=fileLength" json:"fileLength,omitempty"` + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + Thumbnail *WAMediaTransport_Ancillary_Thumbnail `protobuf:"bytes,3,opt,name=thumbnail" json:"thumbnail,omitempty"` + ObjectID *string `protobuf:"bytes,4,opt,name=objectID" json:"objectID,omitempty"` } func (x *WAMediaTransport_Ancillary) Reset() { @@ -551,15 +692,15 @@ func (*WAMediaTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *WAMediaTransport_Ancillary) GetFileLength() uint64 { - if x != nil { - return x.FileLength + if x != nil && x.FileLength != nil { + return *x.FileLength } return 0 } func (x *WAMediaTransport_Ancillary) GetMimetype() string { - if x != nil { - return x.Mimetype + if x != nil && x.Mimetype != nil { + return *x.Mimetype } return "" } @@ -572,8 +713,8 @@ func (x *WAMediaTransport_Ancillary) GetThumbnail() *WAMediaTransport_Ancillary_ } func (x *WAMediaTransport_Ancillary) GetObjectID() string { - if x != nil { - return x.ObjectID + if x != nil && x.ObjectID != nil { + return *x.ObjectID } return "" } @@ -583,11 +724,11 @@ type WAMediaTransport_Integral struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` - MediaKey []byte `protobuf:"bytes,2,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` - FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` - DirectPath string `protobuf:"bytes,4,opt,name=directPath,proto3" json:"directPath,omitempty"` - MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256" json:"fileSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,2,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"` + DirectPath *string `protobuf:"bytes,4,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` } func (x *WAMediaTransport_Integral) Reset() { @@ -644,15 +785,15 @@ func (x *WAMediaTransport_Integral) GetFileEncSHA256() []byte { } func (x *WAMediaTransport_Integral) GetDirectPath() string { - if x != nil { - return x.DirectPath + if x != nil && x.DirectPath != nil { + return *x.DirectPath } return "" } func (x *WAMediaTransport_Integral) GetMediaKeyTimestamp() int64 { - if x != nil { - return x.MediaKeyTimestamp + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp } return 0 } @@ -662,10 +803,10 @@ type WAMediaTransport_Ancillary_Thumbnail struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - JPEGThumbnail []byte `protobuf:"bytes,1,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` - DownloadableThumbnail *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail `protobuf:"bytes,2,opt,name=downloadableThumbnail,proto3" json:"downloadableThumbnail,omitempty"` - ThumbnailWidth uint32 `protobuf:"varint,3,opt,name=thumbnailWidth,proto3" json:"thumbnailWidth,omitempty"` - ThumbnailHeight uint32 `protobuf:"varint,4,opt,name=thumbnailHeight,proto3" json:"thumbnailHeight,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,1,opt,name=JPEGThumbnail" json:"JPEGThumbnail,omitempty"` + DownloadableThumbnail *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail `protobuf:"bytes,2,opt,name=downloadableThumbnail" json:"downloadableThumbnail,omitempty"` + ThumbnailWidth *uint32 `protobuf:"varint,3,opt,name=thumbnailWidth" json:"thumbnailWidth,omitempty"` + ThumbnailHeight *uint32 `protobuf:"varint,4,opt,name=thumbnailHeight" json:"thumbnailHeight,omitempty"` } func (x *WAMediaTransport_Ancillary_Thumbnail) Reset() { @@ -715,15 +856,15 @@ func (x *WAMediaTransport_Ancillary_Thumbnail) GetDownloadableThumbnail() *WAMed } func (x *WAMediaTransport_Ancillary_Thumbnail) GetThumbnailWidth() uint32 { - if x != nil { - return x.ThumbnailWidth + if x != nil && x.ThumbnailWidth != nil { + return *x.ThumbnailWidth } return 0 } func (x *WAMediaTransport_Ancillary_Thumbnail) GetThumbnailHeight() uint32 { - if x != nil { - return x.ThumbnailHeight + if x != nil && x.ThumbnailHeight != nil { + return *x.ThumbnailHeight } return 0 } @@ -733,12 +874,14 @@ type WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` - FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` - DirectPath string `protobuf:"bytes,3,opt,name=directPath,proto3" json:"directPath,omitempty"` - MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` - MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` - ObjectID string `protobuf:"bytes,6,opt,name=objectID,proto3" json:"objectID,omitempty"` + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"` + DirectPath *string `protobuf:"bytes,3,opt,name=directPath" json:"directPath,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + ObjectID *string `protobuf:"bytes,6,opt,name=objectID" json:"objectID,omitempty"` + ThumbnailScansSidecar []byte `protobuf:"bytes,7,opt,name=thumbnailScansSidecar" json:"thumbnailScansSidecar,omitempty"` + ThumbnailScanLengths []uint32 `protobuf:"varint,8,rep,name=thumbnailScanLengths" json:"thumbnailScanLengths,omitempty"` } func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) Reset() { @@ -788,8 +931,8 @@ func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetFileEncS } func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetDirectPath() string { - if x != nil { - return x.DirectPath + if x != nil && x.DirectPath != nil { + return *x.DirectPath } return "" } @@ -802,30 +945,44 @@ func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetMediaKey } func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetMediaKeyTimestamp() int64 { - if x != nil { - return x.MediaKeyTimestamp + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp } return 0 } func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetObjectID() string { - if x != nil { - return x.ObjectID + if x != nil && x.ObjectID != nil { + return *x.ObjectID } return "" } +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetThumbnailScansSidecar() []byte { + if x != nil { + return x.ThumbnailScansSidecar + } + return nil +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetThumbnailScanLengths() []uint32 { + if x != nil { + return x.ThumbnailScanLengths + } + return nil +} + type ImageTransport_Ancillary struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - ScansSidecar []byte `protobuf:"bytes,3,opt,name=scansSidecar,proto3" json:"scansSidecar,omitempty"` - ScanLengths []uint32 `protobuf:"varint,4,rep,packed,name=scanLengths,proto3" json:"scanLengths,omitempty"` - MidQualityFileSHA256 []byte `protobuf:"bytes,5,opt,name=midQualityFileSHA256,proto3" json:"midQualityFileSHA256,omitempty"` - HdType ImageTransport_Ancillary_HdType `protobuf:"varint,6,opt,name=hdType,proto3,enum=WAMediaTransport.ImageTransport_Ancillary_HdType" json:"hdType,omitempty"` + Height *uint32 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,2,opt,name=width" json:"width,omitempty"` + ScansSidecar []byte `protobuf:"bytes,3,opt,name=scansSidecar" json:"scansSidecar,omitempty"` + ScanLengths []uint32 `protobuf:"varint,4,rep,name=scanLengths" json:"scanLengths,omitempty"` + MidQualityFileSHA256 []byte `protobuf:"bytes,5,opt,name=midQualityFileSHA256" json:"midQualityFileSHA256,omitempty"` + HdType *ImageTransport_Ancillary_HdType `protobuf:"varint,6,opt,name=hdType,enum=WAMediaTransport.ImageTransport_Ancillary_HdType" json:"hdType,omitempty"` } func (x *ImageTransport_Ancillary) Reset() { @@ -861,15 +1018,15 @@ func (*ImageTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *ImageTransport_Ancillary) GetHeight() uint32 { - if x != nil { - return x.Height + if x != nil && x.Height != nil { + return *x.Height } return 0 } func (x *ImageTransport_Ancillary) GetWidth() uint32 { - if x != nil { - return x.Width + if x != nil && x.Width != nil { + return *x.Width } return 0 } @@ -896,8 +1053,8 @@ func (x *ImageTransport_Ancillary) GetMidQualityFileSHA256() []byte { } func (x *ImageTransport_Ancillary) GetHdType() ImageTransport_Ancillary_HdType { - if x != nil { - return x.HdType + if x != nil && x.HdType != nil { + return *x.HdType } return ImageTransport_Ancillary_NONE } @@ -907,7 +1064,7 @@ type ImageTransport_Integral struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport" json:"transport,omitempty"` } func (x *ImageTransport_Integral) Reset() { @@ -954,13 +1111,13 @@ type VideoTransport_Ancillary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Seconds uint32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` - Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` - GifPlayback bool `protobuf:"varint,3,opt,name=gifPlayback,proto3" json:"gifPlayback,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` - Sidecar []byte `protobuf:"bytes,6,opt,name=sidecar,proto3" json:"sidecar,omitempty"` - GifAttribution VideoTransport_Ancillary_Attribution `protobuf:"varint,7,opt,name=gifAttribution,proto3,enum=WAMediaTransport.VideoTransport_Ancillary_Attribution" json:"gifAttribution,omitempty"` + Seconds *uint32 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"` + GifPlayback *bool `protobuf:"varint,3,opt,name=gifPlayback" json:"gifPlayback,omitempty"` + Height *uint32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,5,opt,name=width" json:"width,omitempty"` + Sidecar []byte `protobuf:"bytes,6,opt,name=sidecar" json:"sidecar,omitempty"` + GifAttribution *VideoTransport_Ancillary_Attribution `protobuf:"varint,7,opt,name=gifAttribution,enum=WAMediaTransport.VideoTransport_Ancillary_Attribution" json:"gifAttribution,omitempty"` } func (x *VideoTransport_Ancillary) Reset() { @@ -996,8 +1153,8 @@ func (*VideoTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *VideoTransport_Ancillary) GetSeconds() uint32 { - if x != nil { - return x.Seconds + if x != nil && x.Seconds != nil { + return *x.Seconds } return 0 } @@ -1010,22 +1167,22 @@ func (x *VideoTransport_Ancillary) GetCaption() *waCommon.MessageText { } func (x *VideoTransport_Ancillary) GetGifPlayback() bool { - if x != nil { - return x.GifPlayback + if x != nil && x.GifPlayback != nil { + return *x.GifPlayback } return false } func (x *VideoTransport_Ancillary) GetHeight() uint32 { - if x != nil { - return x.Height + if x != nil && x.Height != nil { + return *x.Height } return 0 } func (x *VideoTransport_Ancillary) GetWidth() uint32 { - if x != nil { - return x.Width + if x != nil && x.Width != nil { + return *x.Width } return 0 } @@ -1038,8 +1195,8 @@ func (x *VideoTransport_Ancillary) GetSidecar() []byte { } func (x *VideoTransport_Ancillary) GetGifAttribution() VideoTransport_Ancillary_Attribution { - if x != nil { - return x.GifAttribution + if x != nil && x.GifAttribution != nil { + return *x.GifAttribution } return VideoTransport_Ancillary_NONE } @@ -1049,7 +1206,7 @@ type VideoTransport_Integral struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport" json:"transport,omitempty"` } func (x *VideoTransport_Integral) Reset() { @@ -1096,7 +1253,8 @@ type AudioTransport_Ancillary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Seconds uint32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + Seconds *uint32 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` + AvatarAudio *AudioTransport_Ancillary_AvatarAudio `protobuf:"bytes,2,opt,name=avatarAudio" json:"avatarAudio,omitempty"` } func (x *AudioTransport_Ancillary) Reset() { @@ -1132,18 +1290,26 @@ func (*AudioTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *AudioTransport_Ancillary) GetSeconds() uint32 { - if x != nil { - return x.Seconds + if x != nil && x.Seconds != nil { + return *x.Seconds } return 0 } +func (x *AudioTransport_Ancillary) GetAvatarAudio() *AudioTransport_Ancillary_AvatarAudio { + if x != nil { + return x.AvatarAudio + } + return nil +} + type AudioTransport_Integral struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport" json:"transport,omitempty"` + AudioFormat *AudioTransport_Integral_AudioFormat `protobuf:"varint,2,opt,name=audioFormat,enum=WAMediaTransport.AudioTransport_Integral_AudioFormat" json:"audioFormat,omitempty"` } func (x *AudioTransport_Integral) Reset() { @@ -1185,18 +1351,175 @@ func (x *AudioTransport_Integral) GetTransport() *WAMediaTransport { return nil } +func (x *AudioTransport_Integral) GetAudioFormat() AudioTransport_Integral_AudioFormat { + if x != nil && x.AudioFormat != nil { + return *x.AudioFormat + } + return AudioTransport_Integral_UNKNOWN +} + +type AudioTransport_Ancillary_AvatarAudio struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PoseID *uint32 `protobuf:"varint,1,opt,name=poseID" json:"poseID,omitempty"` + AvatarAnimations []*AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations `protobuf:"bytes,2,rep,name=avatarAnimations" json:"avatarAnimations,omitempty"` +} + +func (x *AudioTransport_Ancillary_AvatarAudio) Reset() { + *x = AudioTransport_Ancillary_AvatarAudio{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AudioTransport_Ancillary_AvatarAudio) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AudioTransport_Ancillary_AvatarAudio) ProtoMessage() {} + +func (x *AudioTransport_Ancillary_AvatarAudio) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AudioTransport_Ancillary_AvatarAudio.ProtoReflect.Descriptor instead. +func (*AudioTransport_Ancillary_AvatarAudio) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3, 0, 0} +} + +func (x *AudioTransport_Ancillary_AvatarAudio) GetPoseID() uint32 { + if x != nil && x.PoseID != nil { + return *x.PoseID + } + return 0 +} + +func (x *AudioTransport_Ancillary_AvatarAudio) GetAvatarAnimations() []*AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations { + if x != nil { + return x.AvatarAnimations + } + return nil +} + +type AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"` + DirectPath *string `protobuf:"bytes,3,opt,name=directPath" json:"directPath,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + ObjectID *string `protobuf:"bytes,6,opt,name=objectID" json:"objectID,omitempty"` + AnimationsType *AudioTransport_Ancillary_AvatarAudio_AnimationsType `protobuf:"varint,7,opt,name=animationsType,enum=WAMediaTransport.AudioTransport_Ancillary_AvatarAudio_AnimationsType" json:"animationsType,omitempty"` +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) Reset() { + *x = AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) ProtoMessage() {} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations.ProtoReflect.Descriptor instead. +func (*AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3, 0, 0, 0} +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath + } + return "" +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp + } + return 0 +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetObjectID() string { + if x != nil && x.ObjectID != nil { + return *x.ObjectID + } + return "" +} + +func (x *AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations) GetAnimationsType() AudioTransport_Ancillary_AvatarAudio_AnimationsType { + if x != nil && x.AnimationsType != nil { + return *x.AnimationsType + } + return AudioTransport_Ancillary_AvatarAudio_TALKING_A +} + type DocumentTransport_Ancillary struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PageCount uint32 `protobuf:"varint,1,opt,name=pageCount,proto3" json:"pageCount,omitempty"` + PageCount *uint32 `protobuf:"varint,1,opt,name=pageCount" json:"pageCount,omitempty"` } func (x *DocumentTransport_Ancillary) Reset() { *x = DocumentTransport_Ancillary{} if protoimpl.UnsafeEnabled { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[17] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1209,7 +1532,7 @@ func (x *DocumentTransport_Ancillary) String() string { func (*DocumentTransport_Ancillary) ProtoMessage() {} func (x *DocumentTransport_Ancillary) ProtoReflect() protoreflect.Message { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[17] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1226,8 +1549,8 @@ func (*DocumentTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *DocumentTransport_Ancillary) GetPageCount() uint32 { - if x != nil { - return x.PageCount + if x != nil && x.PageCount != nil { + return *x.PageCount } return 0 } @@ -1237,13 +1560,13 @@ type DocumentTransport_Integral struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport" json:"transport,omitempty"` } func (x *DocumentTransport_Integral) Reset() { *x = DocumentTransport_Integral{} if protoimpl.UnsafeEnabled { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[18] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1256,7 +1579,7 @@ func (x *DocumentTransport_Integral) String() string { func (*DocumentTransport_Integral) ProtoMessage() {} func (x *DocumentTransport_Integral) ProtoReflect() protoreflect.Message { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[18] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1284,20 +1607,20 @@ type StickerTransport_Ancillary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PageCount uint32 `protobuf:"varint,1,opt,name=pageCount,proto3" json:"pageCount,omitempty"` - Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - FirstFrameLength uint32 `protobuf:"varint,4,opt,name=firstFrameLength,proto3" json:"firstFrameLength,omitempty"` - FirstFrameSidecar []byte `protobuf:"bytes,5,opt,name=firstFrameSidecar,proto3" json:"firstFrameSidecar,omitempty"` - MustacheText string `protobuf:"bytes,6,opt,name=mustacheText,proto3" json:"mustacheText,omitempty"` - IsThirdParty bool `protobuf:"varint,7,opt,name=isThirdParty,proto3" json:"isThirdParty,omitempty"` - ReceiverFetchID string `protobuf:"bytes,8,opt,name=receiverFetchID,proto3" json:"receiverFetchID,omitempty"` + PageCount *uint32 `protobuf:"varint,1,opt,name=pageCount" json:"pageCount,omitempty"` + Height *uint32 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"` + FirstFrameLength *uint32 `protobuf:"varint,4,opt,name=firstFrameLength" json:"firstFrameLength,omitempty"` + FirstFrameSidecar []byte `protobuf:"bytes,5,opt,name=firstFrameSidecar" json:"firstFrameSidecar,omitempty"` + MustacheText *string `protobuf:"bytes,6,opt,name=mustacheText" json:"mustacheText,omitempty"` + IsThirdParty *bool `protobuf:"varint,7,opt,name=isThirdParty" json:"isThirdParty,omitempty"` + ReceiverFetchID *string `protobuf:"bytes,8,opt,name=receiverFetchID" json:"receiverFetchID,omitempty"` } func (x *StickerTransport_Ancillary) Reset() { *x = StickerTransport_Ancillary{} if protoimpl.UnsafeEnabled { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[19] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1310,7 +1633,7 @@ func (x *StickerTransport_Ancillary) String() string { func (*StickerTransport_Ancillary) ProtoMessage() {} func (x *StickerTransport_Ancillary) ProtoReflect() protoreflect.Message { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[19] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1327,29 +1650,29 @@ func (*StickerTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *StickerTransport_Ancillary) GetPageCount() uint32 { - if x != nil { - return x.PageCount + if x != nil && x.PageCount != nil { + return *x.PageCount } return 0 } func (x *StickerTransport_Ancillary) GetHeight() uint32 { - if x != nil { - return x.Height + if x != nil && x.Height != nil { + return *x.Height } return 0 } func (x *StickerTransport_Ancillary) GetWidth() uint32 { - if x != nil { - return x.Width + if x != nil && x.Width != nil { + return *x.Width } return 0 } func (x *StickerTransport_Ancillary) GetFirstFrameLength() uint32 { - if x != nil { - return x.FirstFrameLength + if x != nil && x.FirstFrameLength != nil { + return *x.FirstFrameLength } return 0 } @@ -1362,22 +1685,22 @@ func (x *StickerTransport_Ancillary) GetFirstFrameSidecar() []byte { } func (x *StickerTransport_Ancillary) GetMustacheText() string { - if x != nil { - return x.MustacheText + if x != nil && x.MustacheText != nil { + return *x.MustacheText } return "" } func (x *StickerTransport_Ancillary) GetIsThirdParty() bool { - if x != nil { - return x.IsThirdParty + if x != nil && x.IsThirdParty != nil { + return *x.IsThirdParty } return false } func (x *StickerTransport_Ancillary) GetReceiverFetchID() string { - if x != nil { - return x.ReceiverFetchID + if x != nil && x.ReceiverFetchID != nil { + return *x.ReceiverFetchID } return "" } @@ -1387,15 +1710,15 @@ type StickerTransport_Integral struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` - IsAnimated bool `protobuf:"varint,2,opt,name=isAnimated,proto3" json:"isAnimated,omitempty"` - ReceiverFetchID string `protobuf:"bytes,3,opt,name=receiverFetchID,proto3" json:"receiverFetchID,omitempty"` + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport" json:"transport,omitempty"` + IsAnimated *bool `protobuf:"varint,2,opt,name=isAnimated" json:"isAnimated,omitempty"` + ReceiverFetchID *string `protobuf:"bytes,3,opt,name=receiverFetchID" json:"receiverFetchID,omitempty"` } func (x *StickerTransport_Integral) Reset() { *x = StickerTransport_Integral{} if protoimpl.UnsafeEnabled { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[20] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1408,7 +1731,7 @@ func (x *StickerTransport_Integral) String() string { func (*StickerTransport_Integral) ProtoMessage() {} func (x *StickerTransport_Integral) ProtoReflect() protoreflect.Message { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[20] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1432,15 +1755,15 @@ func (x *StickerTransport_Integral) GetTransport() *WAMediaTransport { } func (x *StickerTransport_Integral) GetIsAnimated() bool { - if x != nil { - return x.IsAnimated + if x != nil && x.IsAnimated != nil { + return *x.IsAnimated } return false } func (x *StickerTransport_Integral) GetReceiverFetchID() string { - if x != nil { - return x.ReceiverFetchID + if x != nil && x.ReceiverFetchID != nil { + return *x.ReceiverFetchID } return "" } @@ -1450,13 +1773,13 @@ type ContactTransport_Ancillary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` + DisplayName *string `protobuf:"bytes,1,opt,name=displayName" json:"displayName,omitempty"` } func (x *ContactTransport_Ancillary) Reset() { *x = ContactTransport_Ancillary{} if protoimpl.UnsafeEnabled { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[21] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1469,7 +1792,7 @@ func (x *ContactTransport_Ancillary) String() string { func (*ContactTransport_Ancillary) ProtoMessage() {} func (x *ContactTransport_Ancillary) ProtoReflect() protoreflect.Message { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[21] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1486,8 +1809,8 @@ func (*ContactTransport_Ancillary) Descriptor() ([]byte, []int) { } func (x *ContactTransport_Ancillary) GetDisplayName() string { - if x != nil { - return x.DisplayName + if x != nil && x.DisplayName != nil { + return *x.DisplayName } return "" } @@ -1507,7 +1830,7 @@ type ContactTransport_Integral struct { func (x *ContactTransport_Integral) Reset() { *x = ContactTransport_Integral{} if protoimpl.UnsafeEnabled { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[22] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1520,7 +1843,7 @@ func (x *ContactTransport_Integral) String() string { func (*ContactTransport_Integral) ProtoMessage() {} func (x *ContactTransport_Integral) ProtoReflect() protoreflect.Message { - mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[22] + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1562,11 +1885,11 @@ type isContactTransport_Integral_Contact interface { } type ContactTransport_Integral_Vcard struct { - Vcard string `protobuf:"bytes,1,opt,name=vcard,proto3,oneof"` + Vcard string `protobuf:"bytes,1,opt,name=vcard,oneof"` } type ContactTransport_Integral_DownloadableVcard struct { - DownloadableVcard *WAMediaTransport `protobuf:"bytes,2,opt,name=downloadableVcard,proto3,oneof"` + DownloadableVcard *WAMediaTransport `protobuf:"bytes,2,opt,name=downloadableVcard,oneof"` } func (*ContactTransport_Integral_Vcard) isContactTransport_Integral_Contact() {} @@ -1590,67 +1913,75 @@ func file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP() []byte { return file_waMediaTransport_WAMediaTransport_proto_rawDescData } -var file_waMediaTransport_WAMediaTransport_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_waMediaTransport_WAMediaTransport_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_waMediaTransport_WAMediaTransport_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_waMediaTransport_WAMediaTransport_proto_msgTypes = make([]protoimpl.MessageInfo, 25) var file_waMediaTransport_WAMediaTransport_proto_goTypes = []interface{}{ - (ImageTransport_Ancillary_HdType)(0), // 0: WAMediaTransport.ImageTransport.Ancillary.HdType - (VideoTransport_Ancillary_Attribution)(0), // 1: WAMediaTransport.VideoTransport.Ancillary.Attribution - (*WAMediaTransport)(nil), // 2: WAMediaTransport.WAMediaTransport - (*ImageTransport)(nil), // 3: WAMediaTransport.ImageTransport - (*VideoTransport)(nil), // 4: WAMediaTransport.VideoTransport - (*AudioTransport)(nil), // 5: WAMediaTransport.AudioTransport - (*DocumentTransport)(nil), // 6: WAMediaTransport.DocumentTransport - (*StickerTransport)(nil), // 7: WAMediaTransport.StickerTransport - (*ContactTransport)(nil), // 8: WAMediaTransport.ContactTransport - (*WAMediaTransport_Ancillary)(nil), // 9: WAMediaTransport.WAMediaTransport.Ancillary - (*WAMediaTransport_Integral)(nil), // 10: WAMediaTransport.WAMediaTransport.Integral - (*WAMediaTransport_Ancillary_Thumbnail)(nil), // 11: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail - (*WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail)(nil), // 12: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail - (*ImageTransport_Ancillary)(nil), // 13: WAMediaTransport.ImageTransport.Ancillary - (*ImageTransport_Integral)(nil), // 14: WAMediaTransport.ImageTransport.Integral - (*VideoTransport_Ancillary)(nil), // 15: WAMediaTransport.VideoTransport.Ancillary - (*VideoTransport_Integral)(nil), // 16: WAMediaTransport.VideoTransport.Integral - (*AudioTransport_Ancillary)(nil), // 17: WAMediaTransport.AudioTransport.Ancillary - (*AudioTransport_Integral)(nil), // 18: WAMediaTransport.AudioTransport.Integral - (*DocumentTransport_Ancillary)(nil), // 19: WAMediaTransport.DocumentTransport.Ancillary - (*DocumentTransport_Integral)(nil), // 20: WAMediaTransport.DocumentTransport.Integral - (*StickerTransport_Ancillary)(nil), // 21: WAMediaTransport.StickerTransport.Ancillary - (*StickerTransport_Integral)(nil), // 22: WAMediaTransport.StickerTransport.Integral - (*ContactTransport_Ancillary)(nil), // 23: WAMediaTransport.ContactTransport.Ancillary - (*ContactTransport_Integral)(nil), // 24: WAMediaTransport.ContactTransport.Integral - (*waCommon.MessageText)(nil), // 25: WACommon.MessageText + (ImageTransport_Ancillary_HdType)(0), // 0: WAMediaTransport.ImageTransport.Ancillary.HdType + (VideoTransport_Ancillary_Attribution)(0), // 1: WAMediaTransport.VideoTransport.Ancillary.Attribution + (AudioTransport_Ancillary_AvatarAudio_AnimationsType)(0), // 2: WAMediaTransport.AudioTransport.Ancillary.AvatarAudio.AnimationsType + (AudioTransport_Integral_AudioFormat)(0), // 3: WAMediaTransport.AudioTransport.Integral.AudioFormat + (*WAMediaTransport)(nil), // 4: WAMediaTransport.WAMediaTransport + (*ImageTransport)(nil), // 5: WAMediaTransport.ImageTransport + (*VideoTransport)(nil), // 6: WAMediaTransport.VideoTransport + (*AudioTransport)(nil), // 7: WAMediaTransport.AudioTransport + (*DocumentTransport)(nil), // 8: WAMediaTransport.DocumentTransport + (*StickerTransport)(nil), // 9: WAMediaTransport.StickerTransport + (*ContactTransport)(nil), // 10: WAMediaTransport.ContactTransport + (*WAMediaTransport_Ancillary)(nil), // 11: WAMediaTransport.WAMediaTransport.Ancillary + (*WAMediaTransport_Integral)(nil), // 12: WAMediaTransport.WAMediaTransport.Integral + (*WAMediaTransport_Ancillary_Thumbnail)(nil), // 13: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail + (*WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail)(nil), // 14: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail + (*ImageTransport_Ancillary)(nil), // 15: WAMediaTransport.ImageTransport.Ancillary + (*ImageTransport_Integral)(nil), // 16: WAMediaTransport.ImageTransport.Integral + (*VideoTransport_Ancillary)(nil), // 17: WAMediaTransport.VideoTransport.Ancillary + (*VideoTransport_Integral)(nil), // 18: WAMediaTransport.VideoTransport.Integral + (*AudioTransport_Ancillary)(nil), // 19: WAMediaTransport.AudioTransport.Ancillary + (*AudioTransport_Integral)(nil), // 20: WAMediaTransport.AudioTransport.Integral + (*AudioTransport_Ancillary_AvatarAudio)(nil), // 21: WAMediaTransport.AudioTransport.Ancillary.AvatarAudio + (*AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations)(nil), // 22: WAMediaTransport.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations + (*DocumentTransport_Ancillary)(nil), // 23: WAMediaTransport.DocumentTransport.Ancillary + (*DocumentTransport_Integral)(nil), // 24: WAMediaTransport.DocumentTransport.Integral + (*StickerTransport_Ancillary)(nil), // 25: WAMediaTransport.StickerTransport.Ancillary + (*StickerTransport_Integral)(nil), // 26: WAMediaTransport.StickerTransport.Integral + (*ContactTransport_Ancillary)(nil), // 27: WAMediaTransport.ContactTransport.Ancillary + (*ContactTransport_Integral)(nil), // 28: WAMediaTransport.ContactTransport.Integral + (*waCommon.MessageText)(nil), // 29: WACommon.MessageText } var file_waMediaTransport_WAMediaTransport_proto_depIdxs = []int32{ - 10, // 0: WAMediaTransport.WAMediaTransport.integral:type_name -> WAMediaTransport.WAMediaTransport.Integral - 9, // 1: WAMediaTransport.WAMediaTransport.ancillary:type_name -> WAMediaTransport.WAMediaTransport.Ancillary - 14, // 2: WAMediaTransport.ImageTransport.integral:type_name -> WAMediaTransport.ImageTransport.Integral - 13, // 3: WAMediaTransport.ImageTransport.ancillary:type_name -> WAMediaTransport.ImageTransport.Ancillary - 16, // 4: WAMediaTransport.VideoTransport.integral:type_name -> WAMediaTransport.VideoTransport.Integral - 15, // 5: WAMediaTransport.VideoTransport.ancillary:type_name -> WAMediaTransport.VideoTransport.Ancillary - 18, // 6: WAMediaTransport.AudioTransport.integral:type_name -> WAMediaTransport.AudioTransport.Integral - 17, // 7: WAMediaTransport.AudioTransport.ancillary:type_name -> WAMediaTransport.AudioTransport.Ancillary - 20, // 8: WAMediaTransport.DocumentTransport.integral:type_name -> WAMediaTransport.DocumentTransport.Integral - 19, // 9: WAMediaTransport.DocumentTransport.ancillary:type_name -> WAMediaTransport.DocumentTransport.Ancillary - 22, // 10: WAMediaTransport.StickerTransport.integral:type_name -> WAMediaTransport.StickerTransport.Integral - 21, // 11: WAMediaTransport.StickerTransport.ancillary:type_name -> WAMediaTransport.StickerTransport.Ancillary - 24, // 12: WAMediaTransport.ContactTransport.integral:type_name -> WAMediaTransport.ContactTransport.Integral - 23, // 13: WAMediaTransport.ContactTransport.ancillary:type_name -> WAMediaTransport.ContactTransport.Ancillary - 11, // 14: WAMediaTransport.WAMediaTransport.Ancillary.thumbnail:type_name -> WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail - 12, // 15: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.downloadableThumbnail:type_name -> WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail + 12, // 0: WAMediaTransport.WAMediaTransport.integral:type_name -> WAMediaTransport.WAMediaTransport.Integral + 11, // 1: WAMediaTransport.WAMediaTransport.ancillary:type_name -> WAMediaTransport.WAMediaTransport.Ancillary + 16, // 2: WAMediaTransport.ImageTransport.integral:type_name -> WAMediaTransport.ImageTransport.Integral + 15, // 3: WAMediaTransport.ImageTransport.ancillary:type_name -> WAMediaTransport.ImageTransport.Ancillary + 18, // 4: WAMediaTransport.VideoTransport.integral:type_name -> WAMediaTransport.VideoTransport.Integral + 17, // 5: WAMediaTransport.VideoTransport.ancillary:type_name -> WAMediaTransport.VideoTransport.Ancillary + 20, // 6: WAMediaTransport.AudioTransport.integral:type_name -> WAMediaTransport.AudioTransport.Integral + 19, // 7: WAMediaTransport.AudioTransport.ancillary:type_name -> WAMediaTransport.AudioTransport.Ancillary + 24, // 8: WAMediaTransport.DocumentTransport.integral:type_name -> WAMediaTransport.DocumentTransport.Integral + 23, // 9: WAMediaTransport.DocumentTransport.ancillary:type_name -> WAMediaTransport.DocumentTransport.Ancillary + 26, // 10: WAMediaTransport.StickerTransport.integral:type_name -> WAMediaTransport.StickerTransport.Integral + 25, // 11: WAMediaTransport.StickerTransport.ancillary:type_name -> WAMediaTransport.StickerTransport.Ancillary + 28, // 12: WAMediaTransport.ContactTransport.integral:type_name -> WAMediaTransport.ContactTransport.Integral + 27, // 13: WAMediaTransport.ContactTransport.ancillary:type_name -> WAMediaTransport.ContactTransport.Ancillary + 13, // 14: WAMediaTransport.WAMediaTransport.Ancillary.thumbnail:type_name -> WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail + 14, // 15: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.downloadableThumbnail:type_name -> WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail 0, // 16: WAMediaTransport.ImageTransport.Ancillary.hdType:type_name -> WAMediaTransport.ImageTransport.Ancillary.HdType - 2, // 17: WAMediaTransport.ImageTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport - 25, // 18: WAMediaTransport.VideoTransport.Ancillary.caption:type_name -> WACommon.MessageText + 4, // 17: WAMediaTransport.ImageTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 29, // 18: WAMediaTransport.VideoTransport.Ancillary.caption:type_name -> WACommon.MessageText 1, // 19: WAMediaTransport.VideoTransport.Ancillary.gifAttribution:type_name -> WAMediaTransport.VideoTransport.Ancillary.Attribution - 2, // 20: WAMediaTransport.VideoTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport - 2, // 21: WAMediaTransport.AudioTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport - 2, // 22: WAMediaTransport.DocumentTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport - 2, // 23: WAMediaTransport.StickerTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport - 2, // 24: WAMediaTransport.ContactTransport.Integral.downloadableVcard:type_name -> WAMediaTransport.WAMediaTransport - 25, // [25:25] is the sub-list for method output_type - 25, // [25:25] is the sub-list for method input_type - 25, // [25:25] is the sub-list for extension type_name - 25, // [25:25] is the sub-list for extension extendee - 0, // [0:25] is the sub-list for field type_name + 4, // 20: WAMediaTransport.VideoTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 21, // 21: WAMediaTransport.AudioTransport.Ancillary.avatarAudio:type_name -> WAMediaTransport.AudioTransport.Ancillary.AvatarAudio + 4, // 22: WAMediaTransport.AudioTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 3, // 23: WAMediaTransport.AudioTransport.Integral.audioFormat:type_name -> WAMediaTransport.AudioTransport.Integral.AudioFormat + 22, // 24: WAMediaTransport.AudioTransport.Ancillary.AvatarAudio.avatarAnimations:type_name -> WAMediaTransport.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations + 2, // 25: WAMediaTransport.AudioTransport.Ancillary.AvatarAudio.DownloadableAvatarAnimations.animationsType:type_name -> WAMediaTransport.AudioTransport.Ancillary.AvatarAudio.AnimationsType + 4, // 26: WAMediaTransport.DocumentTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 4, // 27: WAMediaTransport.StickerTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 4, // 28: WAMediaTransport.ContactTransport.Integral.downloadableVcard:type_name -> WAMediaTransport.WAMediaTransport + 29, // [29:29] is the sub-list for method output_type + 29, // [29:29] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name } func init() { file_waMediaTransport_WAMediaTransport_proto_init() } @@ -1864,7 +2195,7 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } file_waMediaTransport_WAMediaTransport_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DocumentTransport_Ancillary); i { + switch v := v.(*AudioTransport_Ancillary_AvatarAudio); i { case 0: return &v.state case 1: @@ -1876,7 +2207,7 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } file_waMediaTransport_WAMediaTransport_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DocumentTransport_Integral); i { + switch v := v.(*AudioTransport_Ancillary_AvatarAudio_DownloadableAvatarAnimations); i { case 0: return &v.state case 1: @@ -1888,7 +2219,7 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } file_waMediaTransport_WAMediaTransport_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerTransport_Ancillary); i { + switch v := v.(*DocumentTransport_Ancillary); i { case 0: return &v.state case 1: @@ -1900,7 +2231,7 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } file_waMediaTransport_WAMediaTransport_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerTransport_Integral); i { + switch v := v.(*DocumentTransport_Integral); i { case 0: return &v.state case 1: @@ -1912,7 +2243,7 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } file_waMediaTransport_WAMediaTransport_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactTransport_Ancillary); i { + switch v := v.(*StickerTransport_Ancillary); i { case 0: return &v.state case 1: @@ -1924,6 +2255,30 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } file_waMediaTransport_WAMediaTransport_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContactTransport_Integral); i { case 0: return &v.state @@ -1936,7 +2291,7 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { } } } - file_waMediaTransport_WAMediaTransport_proto_msgTypes[22].OneofWrappers = []interface{}{ + file_waMediaTransport_WAMediaTransport_proto_msgTypes[24].OneofWrappers = []interface{}{ (*ContactTransport_Integral_Vcard)(nil), (*ContactTransport_Integral_DownloadableVcard)(nil), } @@ -1945,8 +2300,8 @@ func file_waMediaTransport_WAMediaTransport_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_waMediaTransport_WAMediaTransport_proto_rawDesc, - NumEnums: 2, - NumMessages: 23, + NumEnums: 4, + NumMessages: 25, NumExtensions: 0, NumServices: 0, }, diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw similarity index 74% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw index 21385d32c0f61fc65b4188c41e02c04153dbb64f..beb765467efcc391be41113c399f0160694f3486 100644 GIT binary patch delta 748 zcmaJ<&x_MQ7E*`-aPlVAb8)^vx=a2_b>3`So>2KZ}aiq``+Vw^K9+a=JPiC`C{h{ewm69I>sM` z@mnOJ2D~Bqg}GqN>|| zH|m82aXqn>wa&!UV+3N=kL+$hU9tvn_H$gBYKRukn{;%%sgcc>o#um_{_v z2OWnMFb|R`-Hxx|3vo@#KhpFCXe~3<&jMtYKynFEeHPkPqk#C1tTmm;2$ZRT?|3wF zm>+VN1b1o9T=te-G=mL&m(dPAaP6tVTxtEYOZ|l5^8Y09SA41x4`e#u(t6UjCnuLn z+p`R#l??g{*ZNDlu>GfLGtnBN`IRcQX8ue}dM$1rH!E>mrB!~=9*6-9R zR->IZ4Mk8-Q2bP^=gBT_<#!)4$LR`on8org?Or9XZ8ek4B+qvth9xu!t3h^q$>uXe;2K Iwa;ynJS~X{HE^T3TE@o*jcW7aBb8TgBcQ0aTZeenH mFJW?RVPt7+Y;P}jVNGRZX<<}yVQzD9Z*p{E25@q3bZ;}3aV~2B diff --git a/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto b/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto new file mode 100644 index 00000000..3b924b9e --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto @@ -0,0 +1,186 @@ +syntax = "proto2"; +package WAMediaTransport; +option go_package = "go.mau.fi/whatsmeow/proto/waMediaTransport"; + +import "waCommon/WACommon.proto"; + +message WAMediaTransport { + message Ancillary { + message Thumbnail { + message DownloadableThumbnail { + optional bytes fileSHA256 = 1; + optional bytes fileEncSHA256 = 2; + optional string directPath = 3; + optional bytes mediaKey = 4; + optional int64 mediaKeyTimestamp = 5; + optional string objectID = 6; + optional bytes thumbnailScansSidecar = 7; + repeated uint32 thumbnailScanLengths = 8; + } + + optional bytes JPEGThumbnail = 1; + optional DownloadableThumbnail downloadableThumbnail = 2; + optional uint32 thumbnailWidth = 3; + optional uint32 thumbnailHeight = 4; + } + + optional uint64 fileLength = 1; + optional string mimetype = 2; + optional Thumbnail thumbnail = 3; + optional string objectID = 4; + } + + message Integral { + optional bytes fileSHA256 = 1; + optional bytes mediaKey = 2; + optional bytes fileEncSHA256 = 3; + optional string directPath = 4; + optional int64 mediaKeyTimestamp = 5; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} + +message ImageTransport { + message Ancillary { + enum HdType { + NONE = 0; + LQ_4K = 1; + HQ_4K = 2; + } + + optional uint32 height = 1; + optional uint32 width = 2; + optional bytes scansSidecar = 3; + repeated uint32 scanLengths = 4; + optional bytes midQualityFileSHA256 = 5; + optional HdType hdType = 6; + } + + message Integral { + optional WAMediaTransport transport = 1; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} + +message VideoTransport { + message Ancillary { + enum Attribution { + NONE = 0; + GIPHY = 1; + TENOR = 2; + } + + optional uint32 seconds = 1; + optional WACommon.MessageText caption = 2; + optional bool gifPlayback = 3; + optional uint32 height = 4; + optional uint32 width = 5; + optional bytes sidecar = 6; + optional Attribution gifAttribution = 7; + } + + message Integral { + optional WAMediaTransport transport = 1; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} + +message AudioTransport { + message Ancillary { + message AvatarAudio { + enum AnimationsType { + TALKING_A = 0; + IDLE_A = 1; + TALKING_B = 2; + IDLE_B = 3; + BACKGROUND = 4; + } + + message DownloadableAvatarAnimations { + optional bytes fileSHA256 = 1; + optional bytes fileEncSHA256 = 2; + optional string directPath = 3; + optional bytes mediaKey = 4; + optional int64 mediaKeyTimestamp = 5; + optional string objectID = 6; + optional AnimationsType animationsType = 7; + } + + optional uint32 poseID = 1; + repeated DownloadableAvatarAnimations avatarAnimations = 2; + } + + optional uint32 seconds = 1; + optional AvatarAudio avatarAudio = 2; + } + + message Integral { + enum AudioFormat { + UNKNOWN = 0; + OPUS = 1; + } + + optional WAMediaTransport transport = 1; + optional AudioFormat audioFormat = 2; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} + +message DocumentTransport { + message Ancillary { + optional uint32 pageCount = 1; + } + + message Integral { + optional WAMediaTransport transport = 1; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} + +message StickerTransport { + message Ancillary { + optional uint32 pageCount = 1; + optional uint32 height = 2; + optional uint32 width = 3; + optional uint32 firstFrameLength = 4; + optional bytes firstFrameSidecar = 5; + optional string mustacheText = 6; + optional bool isThirdParty = 7; + optional string receiverFetchID = 8; + } + + message Integral { + optional WAMediaTransport transport = 1; + optional bool isAnimated = 2; + optional string receiverFetchID = 3; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} + +message ContactTransport { + message Ancillary { + optional string displayName = 1; + } + + message Integral { + oneof contact { + string vcard = 1; + WAMediaTransport downloadableVcard = 2; + } + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go new file mode 100644 index 00000000..998d2f98 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go @@ -0,0 +1,281 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waMmsRetry/WAMmsRetry.proto + +package waMmsRetry + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MediaRetryNotification_ResultType int32 + +const ( + MediaRetryNotification_GENERAL_ERROR MediaRetryNotification_ResultType = 0 + MediaRetryNotification_SUCCESS MediaRetryNotification_ResultType = 1 + MediaRetryNotification_NOT_FOUND MediaRetryNotification_ResultType = 2 + MediaRetryNotification_DECRYPTION_ERROR MediaRetryNotification_ResultType = 3 +) + +// Enum value maps for MediaRetryNotification_ResultType. +var ( + MediaRetryNotification_ResultType_name = map[int32]string{ + 0: "GENERAL_ERROR", + 1: "SUCCESS", + 2: "NOT_FOUND", + 3: "DECRYPTION_ERROR", + } + MediaRetryNotification_ResultType_value = map[string]int32{ + "GENERAL_ERROR": 0, + "SUCCESS": 1, + "NOT_FOUND": 2, + "DECRYPTION_ERROR": 3, + } +) + +func (x MediaRetryNotification_ResultType) Enum() *MediaRetryNotification_ResultType { + p := new(MediaRetryNotification_ResultType) + *p = x + return p +} + +func (x MediaRetryNotification_ResultType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor { + return file_waMmsRetry_WAMmsRetry_proto_enumTypes[0].Descriptor() +} + +func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType { + return &file_waMmsRetry_WAMmsRetry_proto_enumTypes[0] +} + +func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *MediaRetryNotification_ResultType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = MediaRetryNotification_ResultType(num) + return nil +} + +// Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead. +func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) { + return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{0, 0} +} + +type MediaRetryNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StanzaID *string `protobuf:"bytes,1,opt,name=stanzaID" json:"stanzaID,omitempty"` + DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"` + Result *MediaRetryNotification_ResultType `protobuf:"varint,3,opt,name=result,enum=WAMmsRetry.MediaRetryNotification_ResultType" json:"result,omitempty"` +} + +func (x *MediaRetryNotification) Reset() { + *x = MediaRetryNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaRetryNotification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaRetryNotification) ProtoMessage() {} + +func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaRetryNotification.ProtoReflect.Descriptor instead. +func (*MediaRetryNotification) Descriptor() ([]byte, []int) { + return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{0} +} + +func (x *MediaRetryNotification) GetStanzaID() string { + if x != nil && x.StanzaID != nil { + return *x.StanzaID + } + return "" +} + +func (x *MediaRetryNotification) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath + } + return "" +} + +func (x *MediaRetryNotification) GetResult() MediaRetryNotification_ResultType { + if x != nil && x.Result != nil { + return *x.Result + } + return MediaRetryNotification_GENERAL_ERROR +} + +type ServerErrorReceipt struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StanzaID *string `protobuf:"bytes,1,opt,name=stanzaID" json:"stanzaID,omitempty"` +} + +func (x *ServerErrorReceipt) Reset() { + *x = ServerErrorReceipt{} + if protoimpl.UnsafeEnabled { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerErrorReceipt) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerErrorReceipt) ProtoMessage() {} + +func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerErrorReceipt.ProtoReflect.Descriptor instead. +func (*ServerErrorReceipt) Descriptor() ([]byte, []int) { + return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{1} +} + +func (x *ServerErrorReceipt) GetStanzaID() string { + if x != nil && x.StanzaID != nil { + return *x.StanzaID + } + return "" +} + +var File_waMmsRetry_WAMmsRetry_proto protoreflect.FileDescriptor + +//go:embed WAMmsRetry.pb.raw +var file_waMmsRetry_WAMmsRetry_proto_rawDesc []byte + +var ( + file_waMmsRetry_WAMmsRetry_proto_rawDescOnce sync.Once + file_waMmsRetry_WAMmsRetry_proto_rawDescData = file_waMmsRetry_WAMmsRetry_proto_rawDesc +) + +func file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP() []byte { + file_waMmsRetry_WAMmsRetry_proto_rawDescOnce.Do(func() { + file_waMmsRetry_WAMmsRetry_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMmsRetry_WAMmsRetry_proto_rawDescData) + }) + return file_waMmsRetry_WAMmsRetry_proto_rawDescData +} + +var file_waMmsRetry_WAMmsRetry_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waMmsRetry_WAMmsRetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_waMmsRetry_WAMmsRetry_proto_goTypes = []interface{}{ + (MediaRetryNotification_ResultType)(0), // 0: WAMmsRetry.MediaRetryNotification.ResultType + (*MediaRetryNotification)(nil), // 1: WAMmsRetry.MediaRetryNotification + (*ServerErrorReceipt)(nil), // 2: WAMmsRetry.ServerErrorReceipt +} +var file_waMmsRetry_WAMmsRetry_proto_depIdxs = []int32{ + 0, // 0: WAMmsRetry.MediaRetryNotification.result:type_name -> WAMmsRetry.MediaRetryNotification.ResultType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_waMmsRetry_WAMmsRetry_proto_init() } +func file_waMmsRetry_WAMmsRetry_proto_init() { + if File_waMmsRetry_WAMmsRetry_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMmsRetry_WAMmsRetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaRetryNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMmsRetry_WAMmsRetry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerErrorReceipt); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMmsRetry_WAMmsRetry_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMmsRetry_WAMmsRetry_proto_goTypes, + DependencyIndexes: file_waMmsRetry_WAMmsRetry_proto_depIdxs, + EnumInfos: file_waMmsRetry_WAMmsRetry_proto_enumTypes, + MessageInfos: file_waMmsRetry_WAMmsRetry_proto_msgTypes, + }.Build() + File_waMmsRetry_WAMmsRetry_proto = out.File + file_waMmsRetry_WAMmsRetry_proto_rawDesc = nil + file_waMmsRetry_WAMmsRetry_proto_goTypes = nil + file_waMmsRetry_WAMmsRetry_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..aa22282a34d21f59c6ce1c0462b8fc4dbc18b42e GIT binary patch literal 372 zcmaKo(MrQW5JgQ3YDX$@5eW(+LBtm~;vclhRtk1gHz}eoWl6Vo!F0oBYN#LWH&jA3 zK8SBK=g#Fa7tSg<%1fcpu7juE_ecwC&=6>d|LMTVNX@jYZ@ED|*O^3ZmgE%nOO(qG zIgC8#!ny8N^H&k zBS1sR5p?evXQKBoWkSTl-603CmrTNtC5h{hE_8UDP6zRXM{bK8gB!6>Jde|1%(srV se+wj0_FY+Kt+7I7N*DOwul=i+%U45lxuSC&R11k^u1powT?S3h8-WdSn*aa+ literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto b/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto new file mode 100644 index 00000000..0b298c87 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto @@ -0,0 +1,20 @@ +syntax = "proto2"; +package WAMmsRetry; +option go_package = "go.mau.fi/whatsmeow/proto/waMmsRetry"; + +message MediaRetryNotification { + enum ResultType { + GENERAL_ERROR = 0; + SUCCESS = 1; + NOT_FOUND = 2; + DECRYPTION_ERROR = 3; + } + + optional string stanzaID = 1; + optional string directPath = 2; + optional ResultType result = 3; +} + +message ServerErrorReceipt { + optional string stanzaID = 1; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go similarity index 87% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go index 4f0b25bc..3ea35ef5 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waMsgApplication/WAMsgApplication.proto @@ -10,7 +10,7 @@ import ( reflect "reflect" sync "sync" - waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + waCommon "go.mau.fi/whatsmeow/proto/waCommon" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -68,6 +68,16 @@ func (x MessageApplication_Metadata_ThreadType) Number() protoreflect.EnumNumber return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *MessageApplication_Metadata_ThreadType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = MessageApplication_Metadata_ThreadType(num) + return nil +} + // Deprecated: Use MessageApplication_Metadata_ThreadType.Descriptor instead. func (MessageApplication_Metadata_ThreadType) EnumDescriptor() ([]byte, []int) { return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 0, 0} @@ -78,8 +88,8 @@ type MessageApplication struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Payload *MessageApplication_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Metadata *MessageApplication_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Payload *MessageApplication_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` + Metadata *MessageApplication_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } func (x *MessageApplication) Reset() { @@ -139,19 +149,19 @@ type MessageApplication_Metadata struct { // *MessageApplication_Metadata_EphemeralSettingList // *MessageApplication_Metadata_EphemeralSharedSecret Ephemeral isMessageApplication_Metadata_Ephemeral `protobuf_oneof:"ephemeral"` - ForwardingScore uint32 `protobuf:"varint,5,opt,name=forwardingScore,proto3" json:"forwardingScore,omitempty"` - IsForwarded bool `protobuf:"varint,6,opt,name=isForwarded,proto3" json:"isForwarded,omitempty"` - BusinessMetadata *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=businessMetadata,proto3" json:"businessMetadata,omitempty"` - FrankingKey []byte `protobuf:"bytes,8,opt,name=frankingKey,proto3" json:"frankingKey,omitempty"` - FrankingVersion int32 `protobuf:"varint,9,opt,name=frankingVersion,proto3" json:"frankingVersion,omitempty"` - QuotedMessage *MessageApplication_Metadata_QuotedMessage `protobuf:"bytes,10,opt,name=quotedMessage,proto3" json:"quotedMessage,omitempty"` - ThreadType MessageApplication_Metadata_ThreadType `protobuf:"varint,11,opt,name=threadType,proto3,enum=WAMsgApplication.MessageApplication_Metadata_ThreadType" json:"threadType,omitempty"` - ReadonlyMetadataDataclass string `protobuf:"bytes,12,opt,name=readonlyMetadataDataclass,proto3" json:"readonlyMetadataDataclass,omitempty"` - GroupID string `protobuf:"bytes,13,opt,name=groupID,proto3" json:"groupID,omitempty"` - GroupSize uint32 `protobuf:"varint,14,opt,name=groupSize,proto3" json:"groupSize,omitempty"` - GroupIndex uint32 `protobuf:"varint,15,opt,name=groupIndex,proto3" json:"groupIndex,omitempty"` - BotResponseID string `protobuf:"bytes,16,opt,name=botResponseID,proto3" json:"botResponseID,omitempty"` - CollapsibleID string `protobuf:"bytes,17,opt,name=collapsibleID,proto3" json:"collapsibleID,omitempty"` + ForwardingScore *uint32 `protobuf:"varint,5,opt,name=forwardingScore" json:"forwardingScore,omitempty"` + IsForwarded *bool `protobuf:"varint,6,opt,name=isForwarded" json:"isForwarded,omitempty"` + BusinessMetadata *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=businessMetadata" json:"businessMetadata,omitempty"` + FrankingKey []byte `protobuf:"bytes,8,opt,name=frankingKey" json:"frankingKey,omitempty"` + FrankingVersion *int32 `protobuf:"varint,9,opt,name=frankingVersion" json:"frankingVersion,omitempty"` + QuotedMessage *MessageApplication_Metadata_QuotedMessage `protobuf:"bytes,10,opt,name=quotedMessage" json:"quotedMessage,omitempty"` + ThreadType *MessageApplication_Metadata_ThreadType `protobuf:"varint,11,opt,name=threadType,enum=WAMsgApplication.MessageApplication_Metadata_ThreadType" json:"threadType,omitempty"` + ReadonlyMetadataDataclass *string `protobuf:"bytes,12,opt,name=readonlyMetadataDataclass" json:"readonlyMetadataDataclass,omitempty"` + GroupID *string `protobuf:"bytes,13,opt,name=groupID" json:"groupID,omitempty"` + GroupSize *uint32 `protobuf:"varint,14,opt,name=groupSize" json:"groupSize,omitempty"` + GroupIndex *uint32 `protobuf:"varint,15,opt,name=groupIndex" json:"groupIndex,omitempty"` + BotResponseID *string `protobuf:"bytes,16,opt,name=botResponseID" json:"botResponseID,omitempty"` + CollapsibleID *string `protobuf:"bytes,17,opt,name=collapsibleID" json:"collapsibleID,omitempty"` } func (x *MessageApplication_Metadata) Reset() { @@ -215,15 +225,15 @@ func (x *MessageApplication_Metadata) GetEphemeralSharedSecret() []byte { } func (x *MessageApplication_Metadata) GetForwardingScore() uint32 { - if x != nil { - return x.ForwardingScore + if x != nil && x.ForwardingScore != nil { + return *x.ForwardingScore } return 0 } func (x *MessageApplication_Metadata) GetIsForwarded() bool { - if x != nil { - return x.IsForwarded + if x != nil && x.IsForwarded != nil { + return *x.IsForwarded } return false } @@ -243,8 +253,8 @@ func (x *MessageApplication_Metadata) GetFrankingKey() []byte { } func (x *MessageApplication_Metadata) GetFrankingVersion() int32 { - if x != nil { - return x.FrankingVersion + if x != nil && x.FrankingVersion != nil { + return *x.FrankingVersion } return 0 } @@ -257,50 +267,50 @@ func (x *MessageApplication_Metadata) GetQuotedMessage() *MessageApplication_Met } func (x *MessageApplication_Metadata) GetThreadType() MessageApplication_Metadata_ThreadType { - if x != nil { - return x.ThreadType + if x != nil && x.ThreadType != nil { + return *x.ThreadType } return MessageApplication_Metadata_DEFAULT } func (x *MessageApplication_Metadata) GetReadonlyMetadataDataclass() string { - if x != nil { - return x.ReadonlyMetadataDataclass + if x != nil && x.ReadonlyMetadataDataclass != nil { + return *x.ReadonlyMetadataDataclass } return "" } func (x *MessageApplication_Metadata) GetGroupID() string { - if x != nil { - return x.GroupID + if x != nil && x.GroupID != nil { + return *x.GroupID } return "" } func (x *MessageApplication_Metadata) GetGroupSize() uint32 { - if x != nil { - return x.GroupSize + if x != nil && x.GroupSize != nil { + return *x.GroupSize } return 0 } func (x *MessageApplication_Metadata) GetGroupIndex() uint32 { - if x != nil { - return x.GroupIndex + if x != nil && x.GroupIndex != nil { + return *x.GroupIndex } return 0 } func (x *MessageApplication_Metadata) GetBotResponseID() string { - if x != nil { - return x.BotResponseID + if x != nil && x.BotResponseID != nil { + return *x.BotResponseID } return "" } func (x *MessageApplication_Metadata) GetCollapsibleID() string { - if x != nil { - return x.CollapsibleID + if x != nil && x.CollapsibleID != nil { + return *x.CollapsibleID } return "" } @@ -310,15 +320,15 @@ type isMessageApplication_Metadata_Ephemeral interface { } type MessageApplication_Metadata_ChatEphemeralSetting struct { - ChatEphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,1,opt,name=chatEphemeralSetting,proto3,oneof"` + ChatEphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,1,opt,name=chatEphemeralSetting,oneof"` } type MessageApplication_Metadata_EphemeralSettingList struct { - EphemeralSettingList *MessageApplication_Metadata_EphemeralSettingMap `protobuf:"bytes,2,opt,name=ephemeralSettingList,proto3,oneof"` + EphemeralSettingList *MessageApplication_Metadata_EphemeralSettingMap `protobuf:"bytes,2,opt,name=ephemeralSettingList,oneof"` } type MessageApplication_Metadata_EphemeralSharedSecret struct { - EphemeralSharedSecret []byte `protobuf:"bytes,3,opt,name=ephemeralSharedSecret,proto3,oneof"` + EphemeralSharedSecret []byte `protobuf:"bytes,3,opt,name=ephemeralSharedSecret,oneof"` } func (*MessageApplication_Metadata_ChatEphemeralSetting) isMessageApplication_Metadata_Ephemeral() {} @@ -413,19 +423,19 @@ type isMessageApplication_Payload_Content interface { } type MessageApplication_Payload_CoreContent struct { - CoreContent *MessageApplication_Content `protobuf:"bytes,1,opt,name=coreContent,proto3,oneof"` + CoreContent *MessageApplication_Content `protobuf:"bytes,1,opt,name=coreContent,oneof"` } type MessageApplication_Payload_Signal struct { - Signal *MessageApplication_Signal `protobuf:"bytes,2,opt,name=signal,proto3,oneof"` + Signal *MessageApplication_Signal `protobuf:"bytes,2,opt,name=signal,oneof"` } type MessageApplication_Payload_ApplicationData struct { - ApplicationData *MessageApplication_ApplicationData `protobuf:"bytes,3,opt,name=applicationData,proto3,oneof"` + ApplicationData *MessageApplication_ApplicationData `protobuf:"bytes,3,opt,name=applicationData,oneof"` } type MessageApplication_Payload_SubProtocol struct { - SubProtocol *MessageApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,oneof"` + SubProtocol *MessageApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,oneof"` } func (*MessageApplication_Payload_CoreContent) isMessageApplication_Payload_Content() {} @@ -450,7 +460,7 @@ type MessageApplication_SubProtocolPayload struct { // *MessageApplication_SubProtocolPayload_Voip // *MessageApplication_SubProtocolPayload_Armadillo SubProtocol isMessageApplication_SubProtocolPayload_SubProtocol `protobuf_oneof:"subProtocol"` - FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` + FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` } func (x *MessageApplication_SubProtocolPayload) Reset() { @@ -535,8 +545,8 @@ func (x *MessageApplication_SubProtocolPayload) GetArmadillo() *waCommon.SubProt } func (x *MessageApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior { - if x != nil { - return x.FutureProof + if x != nil && x.FutureProof != nil { + return *x.FutureProof } return waCommon.FutureProofBehavior(0) } @@ -546,27 +556,27 @@ type isMessageApplication_SubProtocolPayload_SubProtocol interface { } type MessageApplication_SubProtocolPayload_ConsumerMessage struct { - ConsumerMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=consumerMessage,proto3,oneof"` + ConsumerMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=consumerMessage,oneof"` } type MessageApplication_SubProtocolPayload_BusinessMessage struct { - BusinessMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=businessMessage,proto3,oneof"` + BusinessMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=businessMessage,oneof"` } type MessageApplication_SubProtocolPayload_PaymentMessage struct { - PaymentMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=paymentMessage,proto3,oneof"` + PaymentMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=paymentMessage,oneof"` } type MessageApplication_SubProtocolPayload_MultiDevice struct { - MultiDevice *waCommon.SubProtocol `protobuf:"bytes,5,opt,name=multiDevice,proto3,oneof"` + MultiDevice *waCommon.SubProtocol `protobuf:"bytes,5,opt,name=multiDevice,oneof"` } type MessageApplication_SubProtocolPayload_Voip struct { - Voip *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=voip,proto3,oneof"` + Voip *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=voip,oneof"` } type MessageApplication_SubProtocolPayload_Armadillo struct { - Armadillo *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=armadillo,proto3,oneof"` + Armadillo *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=armadillo,oneof"` } func (*MessageApplication_SubProtocolPayload_ConsumerMessage) isMessageApplication_SubProtocolPayload_SubProtocol() { @@ -706,9 +716,9 @@ type MessageApplication_EphemeralSetting struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EphemeralExpiration uint32 `protobuf:"varint,2,opt,name=ephemeralExpiration,proto3" json:"ephemeralExpiration,omitempty"` - EphemeralSettingTimestamp int64 `protobuf:"varint,3,opt,name=ephemeralSettingTimestamp,proto3" json:"ephemeralSettingTimestamp,omitempty"` - IsEphemeralSettingReset bool `protobuf:"varint,4,opt,name=isEphemeralSettingReset,proto3" json:"isEphemeralSettingReset,omitempty"` + EphemeralExpiration *uint32 `protobuf:"varint,2,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` + EphemeralSettingTimestamp *int64 `protobuf:"varint,3,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` + IsEphemeralSettingReset *bool `protobuf:"varint,4,opt,name=isEphemeralSettingReset" json:"isEphemeralSettingReset,omitempty"` } func (x *MessageApplication_EphemeralSetting) Reset() { @@ -744,22 +754,22 @@ func (*MessageApplication_EphemeralSetting) Descriptor() ([]byte, []int) { } func (x *MessageApplication_EphemeralSetting) GetEphemeralExpiration() uint32 { - if x != nil { - return x.EphemeralExpiration + if x != nil && x.EphemeralExpiration != nil { + return *x.EphemeralExpiration } return 0 } func (x *MessageApplication_EphemeralSetting) GetEphemeralSettingTimestamp() int64 { - if x != nil { - return x.EphemeralSettingTimestamp + if x != nil && x.EphemeralSettingTimestamp != nil { + return *x.EphemeralSettingTimestamp } return 0 } func (x *MessageApplication_EphemeralSetting) GetIsEphemeralSettingReset() bool { - if x != nil { - return x.IsEphemeralSettingReset + if x != nil && x.IsEphemeralSettingReset != nil { + return *x.IsEphemeralSettingReset } return false } @@ -769,10 +779,10 @@ type MessageApplication_Metadata_QuotedMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StanzaID string `protobuf:"bytes,1,opt,name=stanzaID,proto3" json:"stanzaID,omitempty"` - RemoteJID string `protobuf:"bytes,2,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` - Participant string `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` - Payload *MessageApplication_Payload `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` + StanzaID *string `protobuf:"bytes,1,opt,name=stanzaID" json:"stanzaID,omitempty"` + RemoteJID *string `protobuf:"bytes,2,opt,name=remoteJID" json:"remoteJID,omitempty"` + Participant *string `protobuf:"bytes,3,opt,name=participant" json:"participant,omitempty"` + Payload *MessageApplication_Payload `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"` } func (x *MessageApplication_Metadata_QuotedMessage) Reset() { @@ -808,22 +818,22 @@ func (*MessageApplication_Metadata_QuotedMessage) Descriptor() ([]byte, []int) { } func (x *MessageApplication_Metadata_QuotedMessage) GetStanzaID() string { - if x != nil { - return x.StanzaID + if x != nil && x.StanzaID != nil { + return *x.StanzaID } return "" } func (x *MessageApplication_Metadata_QuotedMessage) GetRemoteJID() string { - if x != nil { - return x.RemoteJID + if x != nil && x.RemoteJID != nil { + return *x.RemoteJID } return "" } func (x *MessageApplication_Metadata_QuotedMessage) GetParticipant() string { - if x != nil { - return x.Participant + if x != nil && x.Participant != nil { + return *x.Participant } return "" } @@ -840,8 +850,8 @@ type MessageApplication_Metadata_EphemeralSettingMap struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ChatJID string `protobuf:"bytes,1,opt,name=chatJID,proto3" json:"chatJID,omitempty"` - EphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,2,opt,name=ephemeralSetting,proto3" json:"ephemeralSetting,omitempty"` + ChatJID *string `protobuf:"bytes,1,opt,name=chatJID" json:"chatJID,omitempty"` + EphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,2,opt,name=ephemeralSetting" json:"ephemeralSetting,omitempty"` } func (x *MessageApplication_Metadata_EphemeralSettingMap) Reset() { @@ -877,8 +887,8 @@ func (*MessageApplication_Metadata_EphemeralSettingMap) Descriptor() ([]byte, [] } func (x *MessageApplication_Metadata_EphemeralSettingMap) GetChatJID() string { - if x != nil { - return x.ChatJID + if x != nil && x.ChatJID != nil { + return *x.ChatJID } return "" } diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw similarity index 95% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw index 3beddc2ca6a0dc6058dd8c3e94f325d35a7ffef3..d9bfeed9a922966fe2385c1d84f757a06f37e7bf 100644 GIT binary patch delta 53 zcmZ1`I$3l>8keq4lvaAaUT$KkURtJpc}8MMac*jUxqd-Weo4N5d7^J|x?@2>PG)jq INoIZ?0R0yexBvhE delta 72 zcmbO%x=eIK8kd84lxcdtUT$KkURtJpc}8MMac*jUxqeb+USd(DeqvE>VoGLCPQHG5 bqHl4!V?jYqW^!UlW`150TR~BNNxm@v!G;>; diff --git a/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto new file mode 100644 index 00000000..1bbe5330 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto @@ -0,0 +1,87 @@ +syntax = "proto2"; +package WAMsgApplication; +option go_package = "go.mau.fi/whatsmeow/proto/waMsgApplication"; + +import "waCommon/WACommon.proto"; + +message MessageApplication { + message Metadata { + enum ThreadType { + DEFAULT = 0; + VANISH_MODE = 1; + DISAPPEARING_MESSAGES = 2; + } + + message QuotedMessage { + optional string stanzaID = 1; + optional string remoteJID = 2; + optional string participant = 3; + optional Payload payload = 4; + } + + message EphemeralSettingMap { + optional string chatJID = 1; + optional EphemeralSetting ephemeralSetting = 2; + } + + oneof ephemeral { + EphemeralSetting chatEphemeralSetting = 1; + EphemeralSettingMap ephemeralSettingList = 2; + bytes ephemeralSharedSecret = 3; + } + + optional uint32 forwardingScore = 5; + optional bool isForwarded = 6; + optional WACommon.SubProtocol businessMetadata = 7; + optional bytes frankingKey = 8; + optional int32 frankingVersion = 9; + optional QuotedMessage quotedMessage = 10; + optional ThreadType threadType = 11; + optional string readonlyMetadataDataclass = 12; + optional string groupID = 13; + optional uint32 groupSize = 14; + optional uint32 groupIndex = 15; + optional string botResponseID = 16; + optional string collapsibleID = 17; + } + + message Payload { + oneof content { + Content coreContent = 1; + Signal signal = 2; + ApplicationData applicationData = 3; + SubProtocolPayload subProtocol = 4; + } + } + + message SubProtocolPayload { + oneof subProtocol { + WACommon.SubProtocol consumerMessage = 2; + WACommon.SubProtocol businessMessage = 3; + WACommon.SubProtocol paymentMessage = 4; + WACommon.SubProtocol multiDevice = 5; + WACommon.SubProtocol voip = 6; + WACommon.SubProtocol armadillo = 7; + } + + optional WACommon.FutureProofBehavior futureProof = 1; + } + + message ApplicationData { + } + + message Signal { + } + + message Content { + } + + message EphemeralSetting { + optional uint32 ephemeralExpiration = 2; + optional int64 ephemeralSettingTimestamp = 3; + optional bool isEphemeralSettingReset = 4; + } + + optional Payload payload = 1; + optional Metadata metadata = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/extra.go b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go similarity index 86% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/extra.go rename to vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go index 9f2a1f7c..b98f7810 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/extra.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/extra.go @@ -1,10 +1,10 @@ package waMsgApplication import ( - "go.mau.fi/whatsmeow/binary/armadillo/armadilloutil" - "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice" + "go.mau.fi/whatsmeow/proto/armadilloutil" + "go.mau.fi/whatsmeow/proto/waArmadilloApplication" + "go.mau.fi/whatsmeow/proto/waConsumerApplication" + "go.mau.fi/whatsmeow/proto/waMultiDevice" ) const ( diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go similarity index 89% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go index 7b7dde6e..ff46f8d8 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waMsgTransport/WAMsgTransport.proto @@ -10,7 +10,7 @@ import ( reflect "reflect" sync "sync" - waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + waCommon "go.mau.fi/whatsmeow/proto/waCommon" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -71,6 +71,16 @@ func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Number() return protoreflect.EnumNumber(x) } +// Deprecated: Do not use. +func (x *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = MessageTransport_Protocol_Ancillary_BackupDirective_ActionType(num) + return nil +} + // Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective_ActionType.Descriptor instead. func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) EnumDescriptor() ([]byte, []int) { return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 0, 0} @@ -81,8 +91,8 @@ type MessageTransport struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Payload *MessageTransport_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Protocol *MessageTransport_Protocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` + Payload *MessageTransport_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` + Protocol *MessageTransport_Protocol `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"` } func (x *MessageTransport) Reset() { @@ -136,10 +146,10 @@ type DeviceListMetadata struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash,proto3" json:"senderKeyHash,omitempty"` - SenderTimestamp uint64 `protobuf:"varint,2,opt,name=senderTimestamp,proto3" json:"senderTimestamp,omitempty"` - RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash,proto3" json:"recipientKeyHash,omitempty"` - RecipientTimestamp uint64 `protobuf:"varint,9,opt,name=recipientTimestamp,proto3" json:"recipientTimestamp,omitempty"` + SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"` + SenderTimestamp *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"` + RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"` + RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"` } func (x *DeviceListMetadata) Reset() { @@ -182,8 +192,8 @@ func (x *DeviceListMetadata) GetSenderKeyHash() []byte { } func (x *DeviceListMetadata) GetSenderTimestamp() uint64 { - if x != nil { - return x.SenderTimestamp + if x != nil && x.SenderTimestamp != nil { + return *x.SenderTimestamp } return 0 } @@ -196,8 +206,8 @@ func (x *DeviceListMetadata) GetRecipientKeyHash() []byte { } func (x *DeviceListMetadata) GetRecipientTimestamp() uint64 { - if x != nil { - return x.RecipientTimestamp + if x != nil && x.RecipientTimestamp != nil { + return *x.RecipientTimestamp } return 0 } @@ -207,8 +217,8 @@ type MessageTransport_Payload struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ApplicationPayload *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=applicationPayload,proto3" json:"applicationPayload,omitempty"` - FutureProof waCommon.FutureProofBehavior `protobuf:"varint,3,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` + ApplicationPayload *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=applicationPayload" json:"applicationPayload,omitempty"` + FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,3,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` } func (x *MessageTransport_Payload) Reset() { @@ -251,8 +261,8 @@ func (x *MessageTransport_Payload) GetApplicationPayload() *waCommon.SubProtocol } func (x *MessageTransport_Payload) GetFutureProof() waCommon.FutureProofBehavior { - if x != nil { - return x.FutureProof + if x != nil && x.FutureProof != nil { + return *x.FutureProof } return waCommon.FutureProofBehavior(0) } @@ -262,8 +272,8 @@ type MessageTransport_Protocol struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Integral *MessageTransport_Protocol_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` - Ancillary *MessageTransport_Protocol_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` + Integral *MessageTransport_Protocol_Integral `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"` + Ancillary *MessageTransport_Protocol_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"` } func (x *MessageTransport_Protocol) Reset() { @@ -317,10 +327,10 @@ type MessageTransport_Protocol_Ancillary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Skdm *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=skdm,proto3" json:"skdm,omitempty"` - DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,3,opt,name=deviceListMetadata,proto3" json:"deviceListMetadata,omitempty"` - Icdc *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices `protobuf:"bytes,4,opt,name=icdc,proto3" json:"icdc,omitempty"` - BackupDirective *MessageTransport_Protocol_Ancillary_BackupDirective `protobuf:"bytes,5,opt,name=backupDirective,proto3" json:"backupDirective,omitempty"` + Skdm *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=skdm" json:"skdm,omitempty"` + DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,3,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"` + Icdc *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices `protobuf:"bytes,4,opt,name=icdc" json:"icdc,omitempty"` + BackupDirective *MessageTransport_Protocol_Ancillary_BackupDirective `protobuf:"bytes,5,opt,name=backupDirective" json:"backupDirective,omitempty"` } func (x *MessageTransport_Protocol_Ancillary) Reset() { @@ -388,8 +398,8 @@ type MessageTransport_Protocol_Integral struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Padding []byte `protobuf:"bytes,1,opt,name=padding,proto3" json:"padding,omitempty"` - DSM *MessageTransport_Protocol_Integral_DeviceSentMessage `protobuf:"bytes,2,opt,name=DSM,proto3" json:"DSM,omitempty"` + Padding []byte `protobuf:"bytes,1,opt,name=padding" json:"padding,omitempty"` + DSM *MessageTransport_Protocol_Integral_DeviceSentMessage `protobuf:"bytes,2,opt,name=DSM" json:"DSM,omitempty"` } func (x *MessageTransport_Protocol_Integral) Reset() { @@ -443,9 +453,9 @@ type MessageTransport_Protocol_Ancillary_BackupDirective struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"` - ActionType MessageTransport_Protocol_Ancillary_BackupDirective_ActionType `protobuf:"varint,2,opt,name=actionType,proto3,enum=WAMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective_ActionType" json:"actionType,omitempty"` - SupplementalKey string `protobuf:"bytes,3,opt,name=supplementalKey,proto3" json:"supplementalKey,omitempty"` + MessageID *string `protobuf:"bytes,1,opt,name=messageID" json:"messageID,omitempty"` + ActionType *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType `protobuf:"varint,2,opt,name=actionType,enum=WAMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective_ActionType" json:"actionType,omitempty"` + SupplementalKey *string `protobuf:"bytes,3,opt,name=supplementalKey" json:"supplementalKey,omitempty"` } func (x *MessageTransport_Protocol_Ancillary_BackupDirective) Reset() { @@ -481,22 +491,22 @@ func (*MessageTransport_Protocol_Ancillary_BackupDirective) Descriptor() ([]byte } func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetMessageID() string { - if x != nil { - return x.MessageID + if x != nil && x.MessageID != nil { + return *x.MessageID } return "" } func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetActionType() MessageTransport_Protocol_Ancillary_BackupDirective_ActionType { - if x != nil { - return x.ActionType + if x != nil && x.ActionType != nil { + return *x.ActionType } return MessageTransport_Protocol_Ancillary_BackupDirective_NOOP } func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetSupplementalKey() string { - if x != nil { - return x.SupplementalKey + if x != nil && x.SupplementalKey != nil { + return *x.SupplementalKey } return "" } @@ -506,9 +516,9 @@ type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SenderIdentity *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,1,opt,name=senderIdentity,proto3" json:"senderIdentity,omitempty"` - RecipientIdentities []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,2,rep,name=recipientIdentities,proto3" json:"recipientIdentities,omitempty"` - RecipientUserJIDs []string `protobuf:"bytes,3,rep,name=recipientUserJIDs,proto3" json:"recipientUserJIDs,omitempty"` + SenderIdentity *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,1,opt,name=senderIdentity" json:"senderIdentity,omitempty"` + RecipientIdentities []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,2,rep,name=recipientIdentities" json:"recipientIdentities,omitempty"` + RecipientUserJIDs []string `protobuf:"bytes,3,rep,name=recipientUserJIDs" json:"recipientUserJIDs,omitempty"` } func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Reset() { @@ -569,8 +579,8 @@ type MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` - AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage,proto3" json:"axolotlSenderKeyDistributionMessage,omitempty"` + GroupID *string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"` + AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage" json:"axolotlSenderKeyDistributionMessage,omitempty"` } func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Reset() { @@ -606,8 +616,8 @@ func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Descrip } func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetGroupID() string { - if x != nil { - return x.GroupID + if x != nil && x.GroupID != nil { + return *x.GroupID } return "" } @@ -624,10 +634,10 @@ type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityList sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Seq int32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` - SigningDevice []byte `protobuf:"bytes,2,opt,name=signingDevice,proto3" json:"signingDevice,omitempty"` - UnknownDevices [][]byte `protobuf:"bytes,3,rep,name=unknownDevices,proto3" json:"unknownDevices,omitempty"` - UnknownDeviceIDs []int32 `protobuf:"varint,4,rep,packed,name=unknownDeviceIDs,proto3" json:"unknownDeviceIDs,omitempty"` + Seq *int32 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"` + SigningDevice []byte `protobuf:"bytes,2,opt,name=signingDevice" json:"signingDevice,omitempty"` + UnknownDevices [][]byte `protobuf:"bytes,3,rep,name=unknownDevices" json:"unknownDevices,omitempty"` + UnknownDeviceIDs []int32 `protobuf:"varint,4,rep,name=unknownDeviceIDs" json:"unknownDeviceIDs,omitempty"` } func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Reset() { @@ -664,8 +674,8 @@ func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityLi } func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSeq() int32 { - if x != nil { - return x.Seq + if x != nil && x.Seq != nil { + return *x.Seq } return 0 } @@ -696,8 +706,8 @@ type MessageTransport_Protocol_Integral_DeviceSentMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DestinationJID string `protobuf:"bytes,1,opt,name=destinationJID,proto3" json:"destinationJID,omitempty"` - Phash string `protobuf:"bytes,2,opt,name=phash,proto3" json:"phash,omitempty"` + DestinationJID *string `protobuf:"bytes,1,opt,name=destinationJID" json:"destinationJID,omitempty"` + Phash *string `protobuf:"bytes,2,opt,name=phash" json:"phash,omitempty"` } func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) Reset() { @@ -733,15 +743,15 @@ func (*MessageTransport_Protocol_Integral_DeviceSentMessage) Descriptor() ([]byt } func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetDestinationJID() string { - if x != nil { - return x.DestinationJID + if x != nil && x.DestinationJID != nil { + return *x.DestinationJID } return "" } func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetPhash() string { - if x != nil { - return x.Phash + if x != nil && x.Phash != nil { + return *x.Phash } return "" } diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw similarity index 95% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw index 70e02e149d35810ce9f2b281cb9e8f56b71139ab..befef488ec7df1fbd3f694a045135e76f305c8ac 100644 GIT binary patch delta 51 zcmca7bXsVG0;jfClty~KUT$KkURtJpc}8MMac*jUxqd-Weo4N5d7^J|dPq@XUU5Nw GQ3(Lv0~0O) delta 70 zcmX>tbWdo50;ip6lyQ2#UT$KkURtJpc}8MMac*jUxqeb+USd(DeqvE>VoGLCPQHG5 ZqHl3}NKs;5aY24jNfKK@QGQ9jF#wjO8e0GW diff --git a/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto new file mode 100644 index 00000000..fb5bfdad --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.proto @@ -0,0 +1,75 @@ +syntax = "proto2"; +package WAMsgTransport; +option go_package = "go.mau.fi/whatsmeow/proto/waMsgTransport"; + +import "waCommon/WACommon.proto"; + +message MessageTransport { + message Payload { + optional WACommon.SubProtocol applicationPayload = 1; + optional WACommon.FutureProofBehavior futureProof = 3; + } + + message Protocol { + message Ancillary { + message BackupDirective { + enum ActionType { + NOOP = 0; + UPSERT = 1; + DELETE = 2; + UPSERT_AND_DELETE = 3; + } + + optional string messageID = 1; + optional ActionType actionType = 2; + optional string supplementalKey = 3; + } + + message ICDCParticipantDevices { + message ICDCIdentityListDescription { + optional int32 seq = 1; + optional bytes signingDevice = 2; + repeated bytes unknownDevices = 3; + repeated int32 unknownDeviceIDs = 4; + } + + optional ICDCIdentityListDescription senderIdentity = 1; + repeated ICDCIdentityListDescription recipientIdentities = 2; + repeated string recipientUserJIDs = 3; + } + + message SenderKeyDistributionMessage { + optional string groupID = 1; + optional bytes axolotlSenderKeyDistributionMessage = 2; + } + + optional SenderKeyDistributionMessage skdm = 2; + optional DeviceListMetadata deviceListMetadata = 3; + optional ICDCParticipantDevices icdc = 4; + optional BackupDirective backupDirective = 5; + } + + message Integral { + message DeviceSentMessage { + optional string destinationJID = 1; + optional string phash = 2; + } + + optional bytes padding = 1; + optional DeviceSentMessage DSM = 2; + } + + optional Integral integral = 1; + optional Ancillary ancillary = 2; + } + + optional Payload payload = 1; + optional Protocol protocol = 2; +} + +message DeviceListMetadata { + optional bytes senderKeyHash = 1; + optional uint64 senderTimestamp = 2; + optional bytes recipientKeyHash = 8; + optional uint64 recipientTimestamp = 9; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/extra.go b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go similarity index 81% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/extra.go rename to vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go index e688fa75..c774dfee 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/extra.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go @@ -1,8 +1,8 @@ package waMsgTransport import ( - "go.mau.fi/whatsmeow/binary/armadillo/armadilloutil" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" + "go.mau.fi/whatsmeow/proto/armadilloutil" + "go.mau.fi/whatsmeow/proto/waMsgApplication" ) const ( diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go similarity index 96% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.go rename to vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go index d76a4316..e4df33a8 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.go +++ b/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.1 // protoc v3.21.12 // source: waMultiDevice/WAMultiDevice.proto @@ -28,8 +28,8 @@ type MultiDevice struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Payload *MultiDevice_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Metadata *MultiDevice_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Payload *MultiDevice_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` + Metadata *MultiDevice_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } func (x *MultiDevice) Reset() { @@ -186,11 +186,11 @@ type isMultiDevice_Payload_Payload interface { } type MultiDevice_Payload_ApplicationData struct { - ApplicationData *MultiDevice_ApplicationData `protobuf:"bytes,1,opt,name=applicationData,proto3,oneof"` + ApplicationData *MultiDevice_ApplicationData `protobuf:"bytes,1,opt,name=applicationData,oneof"` } type MultiDevice_Payload_Signal struct { - Signal *MultiDevice_Signal `protobuf:"bytes,2,opt,name=signal,proto3,oneof"` + Signal *MultiDevice_Signal `protobuf:"bytes,2,opt,name=signal,oneof"` } func (*MultiDevice_Payload_ApplicationData) isMultiDevice_Payload_Payload() {} @@ -267,11 +267,11 @@ type isMultiDevice_ApplicationData_ApplicationData interface { } type MultiDevice_ApplicationData_AppStateSyncKeyShare struct { - AppStateSyncKeyShare *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage `protobuf:"bytes,1,opt,name=appStateSyncKeyShare,proto3,oneof"` + AppStateSyncKeyShare *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage `protobuf:"bytes,1,opt,name=appStateSyncKeyShare,oneof"` } type MultiDevice_ApplicationData_AppStateSyncKeyRequest struct { - AppStateSyncKeyRequest *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage `protobuf:"bytes,2,opt,name=appStateSyncKeyRequest,proto3,oneof"` + AppStateSyncKeyRequest *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage `protobuf:"bytes,2,opt,name=appStateSyncKeyRequest,oneof"` } func (*MultiDevice_ApplicationData_AppStateSyncKeyShare) isMultiDevice_ApplicationData_ApplicationData() { @@ -323,7 +323,7 @@ type MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - KeyIDs []*MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIDs,proto3" json:"keyIDs,omitempty"` + KeyIDs []*MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIDs" json:"keyIDs,omitempty"` } func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) Reset() { @@ -370,7 +370,7 @@ type MultiDevice_ApplicationData_AppStateSyncKeyShareMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Keys []*MultiDevice_ApplicationData_AppStateSyncKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` + Keys []*MultiDevice_ApplicationData_AppStateSyncKey `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` } func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) Reset() { @@ -417,8 +417,8 @@ type MultiDevice_ApplicationData_AppStateSyncKey struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - KeyID *MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` - KeyData *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData,proto3" json:"keyData,omitempty"` + KeyID *MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyID" json:"keyID,omitempty"` + KeyData *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData" json:"keyData,omitempty"` } func (x *MultiDevice_ApplicationData_AppStateSyncKey) Reset() { @@ -472,7 +472,7 @@ type MultiDevice_ApplicationData_AppStateSyncKeyId struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` + KeyID []byte `protobuf:"bytes,1,opt,name=keyID" json:"keyID,omitempty"` } func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) Reset() { @@ -519,9 +519,9 @@ type MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - KeyData []byte `protobuf:"bytes,1,opt,name=keyData,proto3" json:"keyData,omitempty"` - Fingerprint *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + KeyData []byte `protobuf:"bytes,1,opt,name=keyData" json:"keyData,omitempty"` + Fingerprint *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint" json:"fingerprint,omitempty"` + Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` } func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) Reset() { @@ -571,8 +571,8 @@ func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetFin } func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetTimestamp() int64 { - if x != nil { - return x.Timestamp + if x != nil && x.Timestamp != nil { + return *x.Timestamp } return 0 } @@ -582,9 +582,9 @@ type MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyn sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RawID uint32 `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"` - CurrentIndex uint32 `protobuf:"varint,2,opt,name=currentIndex,proto3" json:"currentIndex,omitempty"` - DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes,proto3" json:"deviceIndexes,omitempty"` + RawID *uint32 `protobuf:"varint,1,opt,name=rawID" json:"rawID,omitempty"` + CurrentIndex *uint32 `protobuf:"varint,2,opt,name=currentIndex" json:"currentIndex,omitempty"` + DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes" json:"deviceIndexes,omitempty"` } func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) Reset() { @@ -621,15 +621,15 @@ func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateS } func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetRawID() uint32 { - if x != nil { - return x.RawID + if x != nil && x.RawID != nil { + return *x.RawID } return 0 } func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetCurrentIndex() uint32 { - if x != nil { - return x.CurrentIndex + if x != nil && x.CurrentIndex != nil { + return *x.CurrentIndex } return 0 } diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw similarity index 95% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.raw rename to vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw index 1c01f2df6feb9e7056e432b591cba874c2234b62..41d9cb1cc917f5b3cbcf0a73cc7a1e29e83d0fac 100644 GIT binary patch delta 50 zcmZ3_GlyrxCsr-ZDE0Jwz1+l7y|hgI@{Gii;@s5ya{Yp${E~eA@vdrYvB({R0{E~cQ0Fe9|BLDyZ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.proto b/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto similarity index 62% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.proto rename to vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto index a5485d03..3ddc2308 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.proto +++ b/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.proto @@ -1,6 +1,6 @@ -syntax = "proto3"; +syntax = "proto2"; package WAMultiDevice; -option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice"; +option go_package = "go.mau.fi/whatsmeow/proto/waMultiDevice"; message MultiDevice { message Metadata { @@ -25,22 +25,22 @@ message MultiDevice { message AppStateSyncKey { message AppStateSyncKeyData { message AppStateSyncKeyFingerprint { - uint32 rawID = 1; - uint32 currentIndex = 2; + optional uint32 rawID = 1; + optional uint32 currentIndex = 2; repeated uint32 deviceIndexes = 3 [packed=true]; } - bytes keyData = 1; - AppStateSyncKeyFingerprint fingerprint = 2; - int64 timestamp = 3; + optional bytes keyData = 1; + optional AppStateSyncKeyFingerprint fingerprint = 2; + optional int64 timestamp = 3; } - AppStateSyncKeyId keyID = 1; - AppStateSyncKeyData keyData = 2; + optional AppStateSyncKeyId keyID = 1; + optional AppStateSyncKeyData keyData = 2; } message AppStateSyncKeyId { - bytes keyID = 1; + optional bytes keyID = 1; } oneof applicationData { @@ -52,6 +52,6 @@ message MultiDevice { message Signal { } - Payload payload = 1; - Metadata metadata = 2; + optional Payload payload = 1; + optional Metadata metadata = 2; } diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/extra.go b/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go similarity index 100% rename from vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/extra.go rename to vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/extra.go diff --git a/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go new file mode 100644 index 00000000..e04a730a --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.go @@ -0,0 +1,543 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto + +package waQuickPromotionSurfaces + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type QP_FilterResult int32 + +const ( + QP_TRUE QP_FilterResult = 1 + QP_FALSE QP_FilterResult = 2 + QP_UNKNOWN QP_FilterResult = 3 +) + +// Enum value maps for QP_FilterResult. +var ( + QP_FilterResult_name = map[int32]string{ + 1: "TRUE", + 2: "FALSE", + 3: "UNKNOWN", + } + QP_FilterResult_value = map[string]int32{ + "TRUE": 1, + "FALSE": 2, + "UNKNOWN": 3, + } +) + +func (x QP_FilterResult) Enum() *QP_FilterResult { + p := new(QP_FilterResult) + *p = x + return p +} + +func (x QP_FilterResult) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QP_FilterResult) Descriptor() protoreflect.EnumDescriptor { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[0].Descriptor() +} + +func (QP_FilterResult) Type() protoreflect.EnumType { + return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[0] +} + +func (x QP_FilterResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *QP_FilterResult) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = QP_FilterResult(num) + return nil +} + +// Deprecated: Use QP_FilterResult.Descriptor instead. +func (QP_FilterResult) EnumDescriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 0} +} + +type QP_FilterClientNotSupportedConfig int32 + +const ( + QP_PASS_BY_DEFAULT QP_FilterClientNotSupportedConfig = 1 + QP_FAIL_BY_DEFAULT QP_FilterClientNotSupportedConfig = 2 +) + +// Enum value maps for QP_FilterClientNotSupportedConfig. +var ( + QP_FilterClientNotSupportedConfig_name = map[int32]string{ + 1: "PASS_BY_DEFAULT", + 2: "FAIL_BY_DEFAULT", + } + QP_FilterClientNotSupportedConfig_value = map[string]int32{ + "PASS_BY_DEFAULT": 1, + "FAIL_BY_DEFAULT": 2, + } +) + +func (x QP_FilterClientNotSupportedConfig) Enum() *QP_FilterClientNotSupportedConfig { + p := new(QP_FilterClientNotSupportedConfig) + *p = x + return p +} + +func (x QP_FilterClientNotSupportedConfig) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QP_FilterClientNotSupportedConfig) Descriptor() protoreflect.EnumDescriptor { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[1].Descriptor() +} + +func (QP_FilterClientNotSupportedConfig) Type() protoreflect.EnumType { + return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[1] +} + +func (x QP_FilterClientNotSupportedConfig) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *QP_FilterClientNotSupportedConfig) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = QP_FilterClientNotSupportedConfig(num) + return nil +} + +// Deprecated: Use QP_FilterClientNotSupportedConfig.Descriptor instead. +func (QP_FilterClientNotSupportedConfig) EnumDescriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 1} +} + +type QP_ClauseType int32 + +const ( + QP_AND QP_ClauseType = 1 + QP_OR QP_ClauseType = 2 + QP_NOR QP_ClauseType = 3 +) + +// Enum value maps for QP_ClauseType. +var ( + QP_ClauseType_name = map[int32]string{ + 1: "AND", + 2: "OR", + 3: "NOR", + } + QP_ClauseType_value = map[string]int32{ + "AND": 1, + "OR": 2, + "NOR": 3, + } +) + +func (x QP_ClauseType) Enum() *QP_ClauseType { + p := new(QP_ClauseType) + *p = x + return p +} + +func (x QP_ClauseType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QP_ClauseType) Descriptor() protoreflect.EnumDescriptor { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[2].Descriptor() +} + +func (QP_ClauseType) Type() protoreflect.EnumType { + return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[2] +} + +func (x QP_ClauseType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *QP_ClauseType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = QP_ClauseType(num) + return nil +} + +// Deprecated: Use QP_ClauseType.Descriptor instead. +func (QP_ClauseType) EnumDescriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 2} +} + +type QP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *QP) Reset() { + *x = QP{} + if protoimpl.UnsafeEnabled { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP) ProtoMessage() {} + +func (x *QP) ProtoReflect() protoreflect.Message { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP.ProtoReflect.Descriptor instead. +func (*QP) Descriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0} +} + +type QP_FilterClause struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClauseType *QP_ClauseType `protobuf:"varint,1,req,name=clauseType,enum=WAWebProtobufsQuickPromotionSurfaces.QP_ClauseType" json:"clauseType,omitempty"` + Clauses []*QP_FilterClause `protobuf:"bytes,2,rep,name=clauses" json:"clauses,omitempty"` + Filters []*QP_Filter `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"` +} + +func (x *QP_FilterClause) Reset() { + *x = QP_FilterClause{} + if protoimpl.UnsafeEnabled { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP_FilterClause) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP_FilterClause) ProtoMessage() {} + +func (x *QP_FilterClause) ProtoReflect() protoreflect.Message { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP_FilterClause.ProtoReflect.Descriptor instead. +func (*QP_FilterClause) Descriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *QP_FilterClause) GetClauseType() QP_ClauseType { + if x != nil && x.ClauseType != nil { + return *x.ClauseType + } + return QP_AND +} + +func (x *QP_FilterClause) GetClauses() []*QP_FilterClause { + if x != nil { + return x.Clauses + } + return nil +} + +func (x *QP_FilterClause) GetFilters() []*QP_Filter { + if x != nil { + return x.Filters + } + return nil +} + +type QP_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FilterName *string `protobuf:"bytes,1,req,name=filterName" json:"filterName,omitempty"` + Parameters []*QP_FilterParameters `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"` + FilterResult *QP_FilterResult `protobuf:"varint,3,opt,name=filterResult,enum=WAWebProtobufsQuickPromotionSurfaces.QP_FilterResult" json:"filterResult,omitempty"` + ClientNotSupportedConfig *QP_FilterClientNotSupportedConfig `protobuf:"varint,4,req,name=clientNotSupportedConfig,enum=WAWebProtobufsQuickPromotionSurfaces.QP_FilterClientNotSupportedConfig" json:"clientNotSupportedConfig,omitempty"` +} + +func (x *QP_Filter) Reset() { + *x = QP_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP_Filter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP_Filter) ProtoMessage() {} + +func (x *QP_Filter) ProtoReflect() protoreflect.Message { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP_Filter.ProtoReflect.Descriptor instead. +func (*QP_Filter) Descriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *QP_Filter) GetFilterName() string { + if x != nil && x.FilterName != nil { + return *x.FilterName + } + return "" +} + +func (x *QP_Filter) GetParameters() []*QP_FilterParameters { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *QP_Filter) GetFilterResult() QP_FilterResult { + if x != nil && x.FilterResult != nil { + return *x.FilterResult + } + return QP_TRUE +} + +func (x *QP_Filter) GetClientNotSupportedConfig() QP_FilterClientNotSupportedConfig { + if x != nil && x.ClientNotSupportedConfig != nil { + return *x.ClientNotSupportedConfig + } + return QP_PASS_BY_DEFAULT +} + +type QP_FilterParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` +} + +func (x *QP_FilterParameters) Reset() { + *x = QP_FilterParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP_FilterParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP_FilterParameters) ProtoMessage() {} + +func (x *QP_FilterParameters) ProtoReflect() protoreflect.Message { + mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP_FilterParameters.ProtoReflect.Descriptor instead. +func (*QP_FilterParameters) Descriptor() ([]byte, []int) { + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *QP_FilterParameters) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *QP_FilterParameters) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +var File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto protoreflect.FileDescriptor + +//go:embed WAWebProtobufsQuickPromotionSurfaces.pb.raw +var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc []byte + +var ( + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescOnce sync.Once + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData = file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc +) + +func file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP() []byte { + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescOnce.Do(func() { + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData = protoimpl.X.CompressGZIP(file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData) + }) + return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData +} + +var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes = []interface{}{ + (QP_FilterResult)(0), // 0: WAWebProtobufsQuickPromotionSurfaces.QP.FilterResult + (QP_FilterClientNotSupportedConfig)(0), // 1: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfig + (QP_ClauseType)(0), // 2: WAWebProtobufsQuickPromotionSurfaces.QP.ClauseType + (*QP)(nil), // 3: WAWebProtobufsQuickPromotionSurfaces.QP + (*QP_FilterClause)(nil), // 4: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause + (*QP_Filter)(nil), // 5: WAWebProtobufsQuickPromotionSurfaces.QP.Filter + (*QP_FilterParameters)(nil), // 6: WAWebProtobufsQuickPromotionSurfaces.QP.FilterParameters +} +var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs = []int32{ + 2, // 0: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.clauseType:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.ClauseType + 4, // 1: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.clauses:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause + 5, // 2: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.filters:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.Filter + 6, // 3: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.parameters:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterParameters + 0, // 4: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.filterResult:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterResult + 1, // 5: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.clientNotSupportedConfig:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfig + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_init() } +func file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_init() { + if File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP_FilterClause); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP_FilterParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc, + NumEnums: 3, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes, + DependencyIndexes: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs, + EnumInfos: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes, + MessageInfos: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes, + }.Build() + File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto = out.File + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc = nil + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes = nil + file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.raw new file mode 100644 index 00000000..dce06624 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.pb.raw @@ -0,0 +1,33 @@ + +CwaQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto$WAWebProtobufsQuickPromotionSurfaces"Ï +QPÿ + FilterClauseS + +clauseType (23.WAWebProtobufsQuickPromotionSurfaces.QP.ClauseTypeR +clauseTypeO +clauses ( 25.WAWebProtobufsQuickPromotionSurfaces.QP.FilterClauseRclausesI +filters ( 2/.WAWebProtobufsQuickPromotionSurfaces.QP.FilterRfiltersä +Filter + +filterName ( R +filterNameY + +parameters ( 29.WAWebProtobufsQuickPromotionSurfaces.QP.FilterParametersR +parametersY + filterResult (25.WAWebProtobufsQuickPromotionSurfaces.QP.FilterResultR filterResultƒ +clientNotSupportedConfig (2G.WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfigRclientNotSupportedConfig: +FilterParameters +key ( Rkey +value ( Rvalue"0 + FilterResult +TRUE +FALSE +UNKNOWN"J +FilterClientNotSupportedConfig +PASS_BY_DEFAULT +FAIL_BY_DEFAULT"& + +ClauseType +AND +OR +NORB4Z2go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto b/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto new file mode 100644 index 00000000..4fb26432 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto @@ -0,0 +1,40 @@ +syntax = "proto2"; +package WAWebProtobufsQuickPromotionSurfaces; +option go_package = "go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces"; + +message QP { + enum FilterResult { + TRUE = 1; + FALSE = 2; + UNKNOWN = 3; + } + + enum FilterClientNotSupportedConfig { + PASS_BY_DEFAULT = 1; + FAIL_BY_DEFAULT = 2; + } + + enum ClauseType { + AND = 1; + OR = 2; + NOR = 3; + } + + message FilterClause { + required ClauseType clauseType = 1; + repeated FilterClause clauses = 2; + repeated Filter filters = 3; + } + + message Filter { + required string filterName = 1; + repeated FilterParameters parameters = 2; + optional FilterResult filterResult = 3; + required FilterClientNotSupportedConfig clientNotSupportedConfig = 4; + } + + message FilterParameters { + optional string key = 1; + optional string value = 2; + } +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go new file mode 100644 index 00000000..5b89300d --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go @@ -0,0 +1,972 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waServerSync/WAServerSync.proto + +package waServerSync + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SyncdMutation_SyncdOperation int32 + +const ( + SyncdMutation_SET SyncdMutation_SyncdOperation = 0 + SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1 +) + +// Enum value maps for SyncdMutation_SyncdOperation. +var ( + SyncdMutation_SyncdOperation_name = map[int32]string{ + 0: "SET", + 1: "REMOVE", + } + SyncdMutation_SyncdOperation_value = map[string]int32{ + "SET": 0, + "REMOVE": 1, + } +) + +func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation { + p := new(SyncdMutation_SyncdOperation) + *p = x + return p +} + +func (x SyncdMutation_SyncdOperation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor { + return file_waServerSync_WAServerSync_proto_enumTypes[0].Descriptor() +} + +func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType { + return &file_waServerSync_WAServerSync_proto_enumTypes[0] +} + +func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = SyncdMutation_SyncdOperation(num) + return nil +} + +// Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead. +func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0, 0} +} + +type SyncdMutation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Operation *SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"` + Record *SyncdRecord `protobuf:"bytes,2,opt,name=record" json:"record,omitempty"` +} + +func (x *SyncdMutation) Reset() { + *x = SyncdMutation{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdMutation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdMutation) ProtoMessage() {} + +func (x *SyncdMutation) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead. +func (*SyncdMutation) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0} +} + +func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { + if x != nil && x.Operation != nil { + return *x.Operation + } + return SyncdMutation_SET +} + +func (x *SyncdMutation) GetRecord() *SyncdRecord { + if x != nil { + return x.Record + } + return nil +} + +type SyncdVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` +} + +func (x *SyncdVersion) Reset() { + *x = SyncdVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdVersion) ProtoMessage() {} + +func (x *SyncdVersion) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead. +func (*SyncdVersion) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{1} +} + +func (x *SyncdVersion) GetVersion() uint64 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +type ExitCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code *uint64 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` + Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` +} + +func (x *ExitCode) Reset() { + *x = ExitCode{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitCode) ProtoMessage() {} + +func (x *ExitCode) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitCode.ProtoReflect.Descriptor instead. +func (*ExitCode) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{2} +} + +func (x *ExitCode) GetCode() uint64 { + if x != nil && x.Code != nil { + return *x.Code + } + return 0 +} + +func (x *ExitCode) GetText() string { + if x != nil && x.Text != nil { + return *x.Text + } + return "" +} + +type SyncdIndex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"` +} + +func (x *SyncdIndex) Reset() { + *x = SyncdIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdIndex) ProtoMessage() {} + +func (x *SyncdIndex) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead. +func (*SyncdIndex) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{3} +} + +func (x *SyncdIndex) GetBlob() []byte { + if x != nil { + return x.Blob + } + return nil +} + +type SyncdValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Blob []byte `protobuf:"bytes,1,opt,name=blob" json:"blob,omitempty"` +} + +func (x *SyncdValue) Reset() { + *x = SyncdValue{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdValue) ProtoMessage() {} + +func (x *SyncdValue) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead. +func (*SyncdValue) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{4} +} + +func (x *SyncdValue) GetBlob() []byte { + if x != nil { + return x.Blob + } + return nil +} + +type KeyId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID []byte `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` +} + +func (x *KeyId) Reset() { + *x = KeyId{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyId) ProtoMessage() {} + +func (x *KeyId) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyId.ProtoReflect.Descriptor instead. +func (*KeyId) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{5} +} + +func (x *KeyId) GetID() []byte { + if x != nil { + return x.ID + } + return nil +} + +type SyncdRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index *SyncdIndex `protobuf:"bytes,1,opt,name=index" json:"index,omitempty"` + Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` + KeyID *KeyId `protobuf:"bytes,3,opt,name=keyID" json:"keyID,omitempty"` +} + +func (x *SyncdRecord) Reset() { + *x = SyncdRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdRecord) ProtoMessage() {} + +func (x *SyncdRecord) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead. +func (*SyncdRecord) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{6} +} + +func (x *SyncdRecord) GetIndex() *SyncdIndex { + if x != nil { + return x.Index + } + return nil +} + +func (x *SyncdRecord) GetValue() *SyncdValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *SyncdRecord) GetKeyID() *KeyId { + if x != nil { + return x.KeyID + } + return nil +} + +type ExternalBlobReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"` + DirectPath *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"` + Handle *string `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"` + FileSizeBytes *uint64 `protobuf:"varint,4,opt,name=fileSizeBytes" json:"fileSizeBytes,omitempty"` + FileSHA256 []byte `protobuf:"bytes,5,opt,name=fileSHA256" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,6,opt,name=fileEncSHA256" json:"fileEncSHA256,omitempty"` +} + +func (x *ExternalBlobReference) Reset() { + *x = ExternalBlobReference{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExternalBlobReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExternalBlobReference) ProtoMessage() {} + +func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead. +func (*ExternalBlobReference) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{7} +} + +func (x *ExternalBlobReference) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *ExternalBlobReference) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath + } + return "" +} + +func (x *ExternalBlobReference) GetHandle() string { + if x != nil && x.Handle != nil { + return *x.Handle + } + return "" +} + +func (x *ExternalBlobReference) GetFileSizeBytes() uint64 { + if x != nil && x.FileSizeBytes != nil { + return *x.FileSizeBytes + } + return 0 +} + +func (x *ExternalBlobReference) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *ExternalBlobReference) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +type SyncdSnapshot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` + Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records" json:"records,omitempty"` + Mac []byte `protobuf:"bytes,3,opt,name=mac" json:"mac,omitempty"` + KeyID *KeyId `protobuf:"bytes,4,opt,name=keyID" json:"keyID,omitempty"` +} + +func (x *SyncdSnapshot) Reset() { + *x = SyncdSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdSnapshot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdSnapshot) ProtoMessage() {} + +func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead. +func (*SyncdSnapshot) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{8} +} + +func (x *SyncdSnapshot) GetVersion() *SyncdVersion { + if x != nil { + return x.Version + } + return nil +} + +func (x *SyncdSnapshot) GetRecords() []*SyncdRecord { + if x != nil { + return x.Records + } + return nil +} + +func (x *SyncdSnapshot) GetMac() []byte { + if x != nil { + return x.Mac + } + return nil +} + +func (x *SyncdSnapshot) GetKeyID() *KeyId { + if x != nil { + return x.KeyID + } + return nil +} + +type SyncdMutations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations" json:"mutations,omitempty"` +} + +func (x *SyncdMutations) Reset() { + *x = SyncdMutations{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdMutations) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdMutations) ProtoMessage() {} + +func (x *SyncdMutations) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead. +func (*SyncdMutations) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{9} +} + +func (x *SyncdMutations) GetMutations() []*SyncdMutation { + if x != nil { + return x.Mutations + } + return nil +} + +type SyncdPatch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version *SyncdVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` + Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"` + ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations" json:"externalMutations,omitempty"` + SnapshotMAC []byte `protobuf:"bytes,4,opt,name=snapshotMAC" json:"snapshotMAC,omitempty"` + PatchMAC []byte `protobuf:"bytes,5,opt,name=patchMAC" json:"patchMAC,omitempty"` + KeyID *KeyId `protobuf:"bytes,6,opt,name=keyID" json:"keyID,omitempty"` + ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"` + DeviceIndex *uint32 `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"` + ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData" json:"clientDebugData,omitempty"` +} + +func (x *SyncdPatch) Reset() { + *x = SyncdPatch{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdPatch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdPatch) ProtoMessage() {} + +func (x *SyncdPatch) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead. +func (*SyncdPatch) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{10} +} + +func (x *SyncdPatch) GetVersion() *SyncdVersion { + if x != nil { + return x.Version + } + return nil +} + +func (x *SyncdPatch) GetMutations() []*SyncdMutation { + if x != nil { + return x.Mutations + } + return nil +} + +func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference { + if x != nil { + return x.ExternalMutations + } + return nil +} + +func (x *SyncdPatch) GetSnapshotMAC() []byte { + if x != nil { + return x.SnapshotMAC + } + return nil +} + +func (x *SyncdPatch) GetPatchMAC() []byte { + if x != nil { + return x.PatchMAC + } + return nil +} + +func (x *SyncdPatch) GetKeyID() *KeyId { + if x != nil { + return x.KeyID + } + return nil +} + +func (x *SyncdPatch) GetExitCode() *ExitCode { + if x != nil { + return x.ExitCode + } + return nil +} + +func (x *SyncdPatch) GetDeviceIndex() uint32 { + if x != nil && x.DeviceIndex != nil { + return *x.DeviceIndex + } + return 0 +} + +func (x *SyncdPatch) GetClientDebugData() []byte { + if x != nil { + return x.ClientDebugData + } + return nil +} + +var File_waServerSync_WAServerSync_proto protoreflect.FileDescriptor + +//go:embed WAServerSync.pb.raw +var file_waServerSync_WAServerSync_proto_rawDesc []byte + +var ( + file_waServerSync_WAServerSync_proto_rawDescOnce sync.Once + file_waServerSync_WAServerSync_proto_rawDescData = file_waServerSync_WAServerSync_proto_rawDesc +) + +func file_waServerSync_WAServerSync_proto_rawDescGZIP() []byte { + file_waServerSync_WAServerSync_proto_rawDescOnce.Do(func() { + file_waServerSync_WAServerSync_proto_rawDescData = protoimpl.X.CompressGZIP(file_waServerSync_WAServerSync_proto_rawDescData) + }) + return file_waServerSync_WAServerSync_proto_rawDescData +} + +var file_waServerSync_WAServerSync_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waServerSync_WAServerSync_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_waServerSync_WAServerSync_proto_goTypes = []interface{}{ + (SyncdMutation_SyncdOperation)(0), // 0: WAServerSync.SyncdMutation.SyncdOperation + (*SyncdMutation)(nil), // 1: WAServerSync.SyncdMutation + (*SyncdVersion)(nil), // 2: WAServerSync.SyncdVersion + (*ExitCode)(nil), // 3: WAServerSync.ExitCode + (*SyncdIndex)(nil), // 4: WAServerSync.SyncdIndex + (*SyncdValue)(nil), // 5: WAServerSync.SyncdValue + (*KeyId)(nil), // 6: WAServerSync.KeyId + (*SyncdRecord)(nil), // 7: WAServerSync.SyncdRecord + (*ExternalBlobReference)(nil), // 8: WAServerSync.ExternalBlobReference + (*SyncdSnapshot)(nil), // 9: WAServerSync.SyncdSnapshot + (*SyncdMutations)(nil), // 10: WAServerSync.SyncdMutations + (*SyncdPatch)(nil), // 11: WAServerSync.SyncdPatch +} +var file_waServerSync_WAServerSync_proto_depIdxs = []int32{ + 0, // 0: WAServerSync.SyncdMutation.operation:type_name -> WAServerSync.SyncdMutation.SyncdOperation + 7, // 1: WAServerSync.SyncdMutation.record:type_name -> WAServerSync.SyncdRecord + 4, // 2: WAServerSync.SyncdRecord.index:type_name -> WAServerSync.SyncdIndex + 5, // 3: WAServerSync.SyncdRecord.value:type_name -> WAServerSync.SyncdValue + 6, // 4: WAServerSync.SyncdRecord.keyID:type_name -> WAServerSync.KeyId + 2, // 5: WAServerSync.SyncdSnapshot.version:type_name -> WAServerSync.SyncdVersion + 7, // 6: WAServerSync.SyncdSnapshot.records:type_name -> WAServerSync.SyncdRecord + 6, // 7: WAServerSync.SyncdSnapshot.keyID:type_name -> WAServerSync.KeyId + 1, // 8: WAServerSync.SyncdMutations.mutations:type_name -> WAServerSync.SyncdMutation + 2, // 9: WAServerSync.SyncdPatch.version:type_name -> WAServerSync.SyncdVersion + 1, // 10: WAServerSync.SyncdPatch.mutations:type_name -> WAServerSync.SyncdMutation + 8, // 11: WAServerSync.SyncdPatch.externalMutations:type_name -> WAServerSync.ExternalBlobReference + 6, // 12: WAServerSync.SyncdPatch.keyID:type_name -> WAServerSync.KeyId + 3, // 13: WAServerSync.SyncdPatch.exitCode:type_name -> WAServerSync.ExitCode + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_waServerSync_WAServerSync_proto_init() } +func file_waServerSync_WAServerSync_proto_init() { + if File_waServerSync_WAServerSync_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waServerSync_WAServerSync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdMutation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdIndex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalBlobReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdMutations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdPatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waServerSync_WAServerSync_proto_rawDesc, + NumEnums: 1, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waServerSync_WAServerSync_proto_goTypes, + DependencyIndexes: file_waServerSync_WAServerSync_proto_depIdxs, + EnumInfos: file_waServerSync_WAServerSync_proto_enumTypes, + MessageInfos: file_waServerSync_WAServerSync_proto_msgTypes, + }.Build() + File_waServerSync_WAServerSync_proto = out.File + file_waServerSync_WAServerSync_proto_rawDesc = nil + file_waServerSync_WAServerSync_proto_goTypes = nil + file_waServerSync_WAServerSync_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..8e26c95f62c707c149f4029188b8ea4d15da5784 GIT binary patch literal 1538 zcmbVM+iuf95GCZ+Ox#iyQB0AbG8Y9N5@9Y9k8KmFRaF%>s7SnR?P+6?*paPnIIFb>wiZSPB1y(iE zKb%P+gD7Ns(2AxQlVex5DxEd=RkxVaE#Xt|D9hlBWcC^wF?vz#+qYGjw)=2N8BPFh zfX;JRqw0A*)`aSC@Ok|f18DHU;nDG6z2bDhBG@s;iRNrWQ+2FOVqD{y>$tEom@yPPVfJK-Kp{ALklzGLB9t%i?6`h+{FHQQd2Z2T(u2%YC1% z!R`INNmiEgqXKQJo_5ZDyJ> z!M$>Q;>c5k^QQv$2Xl#WD8@UgWsav9W9T8UflzSMO764A0DhqMEI$f4GIK0M z*akF4BJ{^d3|icH>=~?{24frs-*M+sVq(`6!5S|Ib#+4RZM*N@+jRx8cp;Ki8HC<2 zg)|64Rq~+oD^vL}6w_oBN%pp^n6|rF9!ybQxtiD;Xr_uzRHN0KC7mJJI#egZqwX!P z&Bac1%We0jogA18kzLP(eSp@)+|@)aL$i3agnO327ii~q)hJu7${YRX3`*yxQ~1a8 z*(bQG?i%SUqn8+6J}tMfREGR|Hrs-BVs?7Cy-OOhcrm24JJs##->H6bf3XOynj06v z)I);iA+ei;-ndFReP(!$)8u?S4?LtBY_F)aRbC9S4&3p^0fw@VC$qD@kiu>$l*O-x fcRF8RoJHM WASyncAction.CallLogRecord.CallResult + 1, // 1: WASyncAction.CallLogRecord.silenceReason:type_name -> WASyncAction.CallLogRecord.SilenceReason + 67, // 2: WASyncAction.CallLogRecord.participants:type_name -> WASyncAction.CallLogRecord.ParticipantInfo + 0, // 3: WASyncAction.CallLogRecord.callType:type_name -> WASyncAction.CallLogRecord.CallType + 3, // 4: WASyncAction.WaffleAccountLinkStateAction.linkState:type_name -> WASyncAction.WaffleAccountLinkStateAction.AccountLinkState + 4, // 5: WASyncAction.MerchantPaymentPartnerAction.status:type_name -> WASyncAction.MerchantPaymentPartnerAction.Status + 5, // 6: WASyncAction.NoteEditAction.type:type_name -> WASyncAction.NoteEditAction.NoteType + 6, // 7: WASyncAction.StatusPrivacyAction.mode:type_name -> WASyncAction.StatusPrivacyAction.StatusDistributionMode + 7, // 8: WASyncAction.MarketingMessageAction.type:type_name -> WASyncAction.MarketingMessageAction.MarketingMessagePrototypeType + 8, // 9: WASyncAction.PatchDebugData.senderPlatform:type_name -> WASyncAction.PatchDebugData.Platform + 65, // 10: WASyncAction.SyncActionValue.starAction:type_name -> WASyncAction.StarAction + 64, // 11: WASyncAction.SyncActionValue.contactAction:type_name -> WASyncAction.ContactAction + 63, // 12: WASyncAction.SyncActionValue.muteAction:type_name -> WASyncAction.MuteAction + 62, // 13: WASyncAction.SyncActionValue.pinAction:type_name -> WASyncAction.PinAction + 61, // 14: WASyncAction.SyncActionValue.securityNotificationSetting:type_name -> WASyncAction.SecurityNotificationSetting + 60, // 15: WASyncAction.SyncActionValue.pushNameSetting:type_name -> WASyncAction.PushNameSetting + 58, // 16: WASyncAction.SyncActionValue.quickReplyAction:type_name -> WASyncAction.QuickReplyAction + 55, // 17: WASyncAction.SyncActionValue.recentEmojiWeightsAction:type_name -> WASyncAction.RecentEmojiWeightsAction + 56, // 18: WASyncAction.SyncActionValue.labelEditAction:type_name -> WASyncAction.LabelEditAction + 57, // 19: WASyncAction.SyncActionValue.labelAssociationAction:type_name -> WASyncAction.LabelAssociationAction + 59, // 20: WASyncAction.SyncActionValue.localeSetting:type_name -> WASyncAction.LocaleSetting + 54, // 21: WASyncAction.SyncActionValue.archiveChatAction:type_name -> WASyncAction.ArchiveChatAction + 53, // 22: WASyncAction.SyncActionValue.deleteMessageForMeAction:type_name -> WASyncAction.DeleteMessageForMeAction + 46, // 23: WASyncAction.SyncActionValue.keyExpiration:type_name -> WASyncAction.KeyExpiration + 52, // 24: WASyncAction.SyncActionValue.markChatAsReadAction:type_name -> WASyncAction.MarkChatAsReadAction + 51, // 25: WASyncAction.SyncActionValue.clearChatAction:type_name -> WASyncAction.ClearChatAction + 50, // 26: WASyncAction.SyncActionValue.deleteChatAction:type_name -> WASyncAction.DeleteChatAction + 49, // 27: WASyncAction.SyncActionValue.unarchiveChatsSetting:type_name -> WASyncAction.UnarchiveChatsSetting + 45, // 28: WASyncAction.SyncActionValue.primaryFeature:type_name -> WASyncAction.PrimaryFeature + 44, // 29: WASyncAction.SyncActionValue.androidUnsupportedActions:type_name -> WASyncAction.AndroidUnsupportedActions + 43, // 30: WASyncAction.SyncActionValue.agentAction:type_name -> WASyncAction.AgentAction + 42, // 31: WASyncAction.SyncActionValue.subscriptionAction:type_name -> WASyncAction.SubscriptionAction + 41, // 32: WASyncAction.SyncActionValue.userStatusMuteAction:type_name -> WASyncAction.UserStatusMuteAction + 40, // 33: WASyncAction.SyncActionValue.timeFormatAction:type_name -> WASyncAction.TimeFormatAction + 39, // 34: WASyncAction.SyncActionValue.nuxAction:type_name -> WASyncAction.NuxAction + 38, // 35: WASyncAction.SyncActionValue.primaryVersionAction:type_name -> WASyncAction.PrimaryVersionAction + 36, // 36: WASyncAction.SyncActionValue.stickerAction:type_name -> WASyncAction.StickerAction + 37, // 37: WASyncAction.SyncActionValue.removeRecentStickerAction:type_name -> WASyncAction.RemoveRecentStickerAction + 35, // 38: WASyncAction.SyncActionValue.chatAssignment:type_name -> WASyncAction.ChatAssignmentAction + 34, // 39: WASyncAction.SyncActionValue.chatAssignmentOpenedStatus:type_name -> WASyncAction.ChatAssignmentOpenedStatusAction + 33, // 40: WASyncAction.SyncActionValue.pnForLidChatAction:type_name -> WASyncAction.PnForLidChatAction + 14, // 41: WASyncAction.SyncActionValue.marketingMessageAction:type_name -> WASyncAction.MarketingMessageAction + 32, // 42: WASyncAction.SyncActionValue.marketingMessageBroadcastAction:type_name -> WASyncAction.MarketingMessageBroadcastAction + 31, // 43: WASyncAction.SyncActionValue.externalWebBetaAction:type_name -> WASyncAction.ExternalWebBetaAction + 30, // 44: WASyncAction.SyncActionValue.privacySettingRelayAllCalls:type_name -> WASyncAction.PrivacySettingRelayAllCalls + 29, // 45: WASyncAction.SyncActionValue.callLogAction:type_name -> WASyncAction.CallLogAction + 13, // 46: WASyncAction.SyncActionValue.statusPrivacy:type_name -> WASyncAction.StatusPrivacyAction + 28, // 47: WASyncAction.SyncActionValue.botWelcomeRequestAction:type_name -> WASyncAction.BotWelcomeRequestAction + 27, // 48: WASyncAction.SyncActionValue.deleteIndividualCallLog:type_name -> WASyncAction.DeleteIndividualCallLogAction + 26, // 49: WASyncAction.SyncActionValue.labelReorderingAction:type_name -> WASyncAction.LabelReorderingAction + 25, // 50: WASyncAction.SyncActionValue.paymentInfoAction:type_name -> WASyncAction.PaymentInfoAction + 22, // 51: WASyncAction.SyncActionValue.customPaymentMethodsAction:type_name -> WASyncAction.CustomPaymentMethodsAction + 21, // 52: WASyncAction.SyncActionValue.lockChatAction:type_name -> WASyncAction.LockChatAction + 69, // 53: WASyncAction.SyncActionValue.chatLockSettings:type_name -> WAProtobufsChatLockSettings.ChatLockSettings + 20, // 54: WASyncAction.SyncActionValue.wamoUserIdentifierAction:type_name -> WASyncAction.WamoUserIdentifierAction + 19, // 55: WASyncAction.SyncActionValue.privacySettingDisableLinkPreviewsAction:type_name -> WASyncAction.PrivacySettingDisableLinkPreviewsAction + 70, // 56: WASyncAction.SyncActionValue.deviceCapabilities:type_name -> WAProtobufsDeviceCapabilities.DeviceCapabilities + 12, // 57: WASyncAction.SyncActionValue.noteEditAction:type_name -> WASyncAction.NoteEditAction + 18, // 58: WASyncAction.SyncActionValue.favorites:type_name -> WASyncAction.FavoritesAction + 11, // 59: WASyncAction.SyncActionValue.merchantPaymentPartnerAction:type_name -> WASyncAction.MerchantPaymentPartnerAction + 10, // 60: WASyncAction.SyncActionValue.waffleAccountLinkStateAction:type_name -> WASyncAction.WaffleAccountLinkStateAction + 68, // 61: WASyncAction.FavoritesAction.favorites:type_name -> WASyncAction.FavoritesAction.Favorite + 23, // 62: WASyncAction.CustomPaymentMethodsAction.customPaymentMethods:type_name -> WASyncAction.CustomPaymentMethod + 24, // 63: WASyncAction.CustomPaymentMethod.metadata:type_name -> WASyncAction.CustomPaymentMethodMetadata + 9, // 64: WASyncAction.CallLogAction.callLogRecord:type_name -> WASyncAction.CallLogRecord + 71, // 65: WASyncAction.SyncActionMessage.key:type_name -> WACommon.MessageKey + 47, // 66: WASyncAction.SyncActionMessageRange.messages:type_name -> WASyncAction.SyncActionMessage + 48, // 67: WASyncAction.DeleteChatAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange + 48, // 68: WASyncAction.ClearChatAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange + 48, // 69: WASyncAction.MarkChatAsReadAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange + 48, // 70: WASyncAction.ArchiveChatAction.messageRange:type_name -> WASyncAction.SyncActionMessageRange + 16, // 71: WASyncAction.RecentEmojiWeightsAction.weights:type_name -> WASyncAction.RecentEmojiWeight + 17, // 72: WASyncAction.SyncActionData.value:type_name -> WASyncAction.SyncActionValue + 2, // 73: WASyncAction.CallLogRecord.ParticipantInfo.callResult:type_name -> WASyncAction.CallLogRecord.CallResult + 74, // [74:74] is the sub-list for method output_type + 74, // [74:74] is the sub-list for method input_type + 74, // [74:74] is the sub-list for extension type_name + 74, // [74:74] is the sub-list for extension extendee + 0, // [0:74] is the sub-list for field type_name +} + +func init() { file_waSyncAction_WASyncAction_proto_init() } +func file_waSyncAction_WASyncAction_proto_init() { + if File_waSyncAction_WASyncAction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waSyncAction_WASyncAction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaffleAccountLinkStateAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MerchantPaymentPartnerAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoteEditAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusPrivacyAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketingMessageAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PatchDebugData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecentEmojiWeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FavoritesAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivacySettingDisableLinkPreviewsAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WamoUserIdentifierAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LockChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomPaymentMethodsAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomPaymentMethod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomPaymentMethodMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentInfoAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelReorderingAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteIndividualCallLogAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotWelcomeRequestAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivacySettingRelayAllCalls); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalWebBetaAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketingMessageBroadcastAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PnForLidChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatAssignmentOpenedStatusAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChatAssignmentAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRecentStickerAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrimaryVersionAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NuxAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeFormatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserStatusMuteAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AndroidUnsupportedActions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrimaryFeature); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyExpiration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionMessageRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnarchiveChatsSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClearChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkChatAsReadAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteMessageForMeAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArchiveChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecentEmojiWeightsAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelEditAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelAssociationAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuickReplyAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocaleSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PushNameSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecurityNotificationSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PinAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MuteAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StarAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogRecord_ParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FavoritesAction_Favorite); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waSyncAction_WASyncAction_proto_rawDesc, + NumEnums: 9, + NumMessages: 60, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waSyncAction_WASyncAction_proto_goTypes, + DependencyIndexes: file_waSyncAction_WASyncAction_proto_depIdxs, + EnumInfos: file_waSyncAction_WASyncAction_proto_enumTypes, + MessageInfos: file_waSyncAction_WASyncAction_proto_msgTypes, + }.Build() + File_waSyncAction_WASyncAction_proto = out.File + file_waSyncAction_WASyncAction_proto_rawDesc = nil + file_waSyncAction_WASyncAction_proto_goTypes = nil + file_waSyncAction_WASyncAction_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..8898a0aa4c2cb3e6969cb2a165426085c7abf42b GIT binary patch literal 12002 zcmb_C%W@mZk;9h+7GF>gCG}9!NbY$^9*?OR+VW~V8@mevkccq|!UaA&UPnwc(M7UN zpd0RP5W`>C%U*o(VSm9sY{Y)SZfxvff5LZvf+L)nRo&>SZom@`A4DOuGqYa#s?1_f zCvNXH=-2v*9|kYaYExi$6opA>t>rF}{p+4c5=i`gm{3d1W zyq>rXapU(z-5t5-{=iRsq45>JD$a*6UN{`m)Z`EO!TFyG+o-#PK|8$Uq8~<{^@g!N zAh?LfgT!8Vw(w$e@8jM4>~}Q=f+RK1aaxbrsvkE3?=bX)y$E6|e2TD+*hcIRM9>#p zxN#WROEl2;=MB`$GjN^X+F=!M9J#pt_A^85bC4U*X2e75vrZSM#3&Z9e}Zv_`2*92Jq!YVka!Q<<3#33G5qeHDd=( z5Z&di(^~!O>Y}y9*4nMN2ghek{99de{;I#m1(y5)+ zTJ73?yIH-1(oeeeqr+C`ZS^kly@7AQSHY2L`?XF37SyP&qL`!3+asi7&VMej$7k-v z#X!{h{cs#4sPw(WO#nulw7zDmgA_&XU~}(FT_5JL@0wEiRGRaeRn5;h?^^x1b&6XL zzq_>)T>Ap8uG4OHeg@E@^Cy_~p@{ldpz>Y!b|~<_C<#QQX5C_Uz;h(y7#!guXw>KW zl;`p8;_AmSR{~IVX=9>WSpFiat^%!RZ0!;@YU18@TyRk630HX@WjSoU9|;ep=eubB z=-^hlhI1TtM~9V@@fgKXNgY{$mfZHfUmTW3Qs}nGxqK{h?8jCPsXs`dKe_I zW^&o9yzGxP zauZ(bn^3}_&bHyhT>bMgDmaEYPEzttY7xBX)JZu__CQKAInk4VOF26GrrqitOLx&| zcD|M%sV#VbV>rkjsO|qQvImE5bS*G(I23X0UZ!SdvE=}jNP0*5jq@2wqV${;Xq~FV zm%(>mUw8QkyC#~F7F3~}W@zUxqjB#1A>a<&IO)OBf_lh!oWrQhL1~DL$Cx=tgj|j1 zyP$O#j$wC)fkzc_NStFJCW->Jf1OVeXs;ubdMctA6B69tb&QWw90l!gFc9P($?$Qb z*7;^%!&<*!&oBHaPTqv$X#X}5@tY_d)(&81M;E=o9mQ8+a#*YXOx)5|uJi9oZhgw` zWozh-&y&dQCzSuJ^Wq0u@pyO+uF>;o=T~6GDFRn40WOB&ji6*`g=;umv7|Y=5m5vQ z73D)K+`w9gY%>;tC!+4aO)kP{Ncqs_p5dJIbK6acxxtM2l^=t$p}@!=y5N8@eX4L1 z?VPYmDg~n(ggSl%LGm38>lLSpis?W_-p@6_?K6Swar#wr+)1#OO*g-coX_gmb%Cl&SyR_;8$tesc1K!4I?VJV$H2Vyh!RPy?fDSlfH358O>Z^C_iu%^t-9 zEYweKAsqM@exGgv>TX3!y|!muE_$;W_&jOWTedYC$5&{x=>X`7*7lwlGu4T>$z^@T zs=pcg{cA2p0~LzMaMt$T*CqYjpyCBS>zvtm1;M?zxZ_`Zofv;%aX9NX%3HXlf=IFLL7H$c#q?>o;L^s3Nv)kyPV`ErVT= zn$MJjtG*Vu&2LA(x&^;mwrU6yQxdLoKsvAu?(v$I9K*fbQw!fFNshj747DaDFXczQ z=?{b(<@WMEi8KtRt`l*S3k^o@V@}col4KZ++`lOmFYv*Ir1u<=_90KB-wsMg5NU)PYHOQ+UhbZ9-qhk$RA-6tYkbU8P9YX zkYN~fyo48Z5O4T0O`Zk``w7W3bnv8vl9%$M>R@mL%Nu3}{XWSwR0oShc`9Du!ypxm zzg3HUN{$CNTA{GdU+D4 zp5;N*wTKco85J~I+aYm=uE{*Fgq+Wo1c$KMM}Hc}{$+r-ZTo|=wUgauG;)_9FV;A% zfbHm*qmc-NCl$y3kmT;_DyYlN)2lJ&NJLd11)vyh-y=EFTt1?43{~$I=y(Y)MnQD9 z#ao>HF-bM*W$18=w0wpPYr>wI()Xj#_4;u2Qi}JShWVksN#-yH6aQ;c(Xone6A=aO z;7pwFi^NsKy`bR?$J#6-<>eAE%>xU%{MC{5J)tZ&%E^DsFR z1E^9%#r!v8Nc+{Sen=vXyU~6*F`p#`9Kb^vSzCeU-}v6xr9Fj}*}F7=Q3;j-wm__A zKT8(s1|@!6K&wGSP`*&Bcu9j8x%%!AL*(2#jwt&5&spH`W5A19e z-62vb+lcKSksP$|*_|a6nP=h!F_^th++m2pwna6_3qK1rKc*p!?DcF0HJ>TR`u7F) zTsLhfk-6ssfpz3=1YIvNNjLu$jrmI7eBI1vGV|{`isdrPD>U2epU~J?2F|v$r0G^f z@e*Np@_|;3wf}*{8z+wi&gqp4$|V{M3Eb+1dlSOlSH$*f5@6)jZ_>}oJg4*!MIR66 z6u|8-NZu#&))4|Nl4a~b+;aO|cq zpEB-1FD*qw@pciak+S3pznrhx^Y5sR)-JPrhz?S}mDYMBs=`aYI6r0fEbF3nWM-dg zIt()a4(JERw9R&vOB+r z;(Q5pq4|NG7^C@tMd2CE6)1>Pe`ATbWaFaADnm$1JSg`s0eG$;BVG-!``O4k()s^IXmV?pN6^(1 z-d6L(pV&jWfX5ompx-;F?Y;U5)t{kEWe zWRV;T#2Z{exMLIFORlKgyTK)ZyW#l}v{|5EaHU#CIShWsX|+Xg3E%M%$1=}hr0%D# zo;nt!`zZ!bSngV@ap1!V$}y;2B^W%aiLC>RHhVkUb5A!RDmmT``1A@0sFYjOhm&uzhG6f zKmq~vi60+NU~;$Eq&k3qvVfx7+I%ADV4Z(uYh*IYj>>wlpaH3t z&|oX@Jc+W)RzvzF>6$$<1o=`*_B)+d?7f+FJv>=(h~Xq#X$m?pcclxezK9!nF>o(s zc!20bfb#|0&}zciE~7;Y5Amb0FFT+s+(bh_xi{@esaiGcnTmQ?$KQs$Q9UpP~;8Iw7Y#U8N;ZPajik)@9O21kE#CFJxZsSA@3!HNF zITVm$gJ+^PdkhDJ34?K^EY3A!z`$KvJx2A?E6_??4XpDkR+ZX8UYo9n)&W~rGooD~ z&O+a$I4j&iu5p6$ZW(p=zoYPkZDWL#;bz)VfX7tJ@IE9pPx@UL6_4d_ThbM?<%X%F z25*$MTkx@sN0xPnuLjhP=TX)ttg5zls$5b<3V7!hUR#+BAoTXCuaGVYb6U1fDcw!UC@WgA%T;`0xSJojeYGmOO#N^B)MsR2G7=lK7ThGpz6&#@S;JXljL4Aj%wI({btt z73lnSfmO}+DV`8Kn~0MBSY~9aJcCh`I(}Ljy)PltN3LseJAo-mF92LAjLwxVAk^$$ z;S$I%6;qYzODE?!+km^+v;nEEVt^o(T&1fRKyW+Q>gs*uvg3d(;?bObHtIAic#`jp zE7dRHoe$V*)?>$MK|dZ2Q;{pk889|&&XmV!G9-xH&A=-fl7Yt<=t4k7nOO|X5YB%r zz->W$VE|`wF&+%)-Hgm>G8kpiiy8Wemb(fUcORb6Ac8j9_b{Rpvtv5b;|VI2o%RBb;nh# za|u{Kn%)#k`s-5>^b$l}BvIQ&uIFJsBOe^4Abv>`Kuo4rcna>n_~pl!;qK5K?_T&X VCva WAProtobufsUserPassword.UserPassword.Encoding + 0, // 1: WAProtobufsUserPassword.UserPassword.transformer:type_name -> WAProtobufsUserPassword.UserPassword.Transformer + 3, // 2: WAProtobufsUserPassword.UserPassword.transformerArg:type_name -> WAProtobufsUserPassword.UserPassword.TransformerArg + 4, // 3: WAProtobufsUserPassword.UserPassword.TransformerArg.value:type_name -> WAProtobufsUserPassword.UserPassword.TransformerArg.Value + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_waUserPassword_WAProtobufsUserPassword_proto_init() } +func file_waUserPassword_WAProtobufsUserPassword_proto_init() { + if File_waUserPassword_WAProtobufsUserPassword_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPassword); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPassword_TransformerArg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPassword_TransformerArg_Value); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*UserPassword_TransformerArg_Value_AsBlob)(nil), + (*UserPassword_TransformerArg_Value_AsUnsignedInteger)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waUserPassword_WAProtobufsUserPassword_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waUserPassword_WAProtobufsUserPassword_proto_goTypes, + DependencyIndexes: file_waUserPassword_WAProtobufsUserPassword_proto_depIdxs, + EnumInfos: file_waUserPassword_WAProtobufsUserPassword_proto_enumTypes, + MessageInfos: file_waUserPassword_WAProtobufsUserPassword_proto_msgTypes, + }.Build() + File_waUserPassword_WAProtobufsUserPassword_proto = out.File + file_waUserPassword_WAProtobufsUserPassword_proto_rawDesc = nil + file_waUserPassword_WAProtobufsUserPassword_proto_goTypes = nil + file_waUserPassword_WAProtobufsUserPassword_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..bae794d2ac49f011bd6bbf65d419ed3eff26434d GIT binary patch literal 752 zcmbV~-%G+!6vtg^*_r9O4>f!eAs7)?Tn5tHmYOB$m|7r#T-$X?y2b8n^k4S(^whRi zE=#E1?)mZk-0wLYIP%DVQAZ<;dA4JeZxqe3U3G9mYt6O~TZfJr4iNwi0?2BMiHQ4J-RKCMdN`C!8_&rCPo`z>p15pIZLb`jZ29YbzX6I(^Y;J% literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto b/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto new file mode 100644 index 00000000..db1c4f19 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.proto @@ -0,0 +1,33 @@ +syntax = "proto2"; +package WAProtobufsUserPassword; +option go_package = "go.mau.fi/whatsmeow/proto/waUserPassword"; + +message UserPassword { + enum Transformer { + NONE = 0; + PBKDF2_HMAC_SHA512 = 1; + PBKDF2_HMAC_SHA384 = 2; + } + + enum Encoding { + UTF8 = 0; + UTF8_BROKEN = 1; + } + + message TransformerArg { + message Value { + oneof value { + bytes asBlob = 1; + uint32 asUnsignedInteger = 2; + } + } + + optional string key = 1; + optional Value value = 2; + } + + optional Encoding encoding = 1; + optional Transformer transformer = 2; + repeated TransformerArg transformerArg = 3; + optional bytes transformedData = 4; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go new file mode 100644 index 00000000..3722eeed --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go @@ -0,0 +1,894 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waVnameCert/WAWebProtobufsVnameCert.proto + +package waVnameCert + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BizAccountLinkInfo_AccountType int32 + +const ( + BizAccountLinkInfo_ENTERPRISE BizAccountLinkInfo_AccountType = 0 +) + +// Enum value maps for BizAccountLinkInfo_AccountType. +var ( + BizAccountLinkInfo_AccountType_name = map[int32]string{ + 0: "ENTERPRISE", + } + BizAccountLinkInfo_AccountType_value = map[string]int32{ + "ENTERPRISE": 0, + } +) + +func (x BizAccountLinkInfo_AccountType) Enum() *BizAccountLinkInfo_AccountType { + p := new(BizAccountLinkInfo_AccountType) + *p = x + return p +} + +func (x BizAccountLinkInfo_AccountType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0].Descriptor() +} + +func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType { + return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[0] +} + +func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BizAccountLinkInfo_AccountType(num) + return nil +} + +// Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead. +func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 0} +} + +type BizAccountLinkInfo_HostStorageType int32 + +const ( + BizAccountLinkInfo_ON_PREMISE BizAccountLinkInfo_HostStorageType = 0 + BizAccountLinkInfo_FACEBOOK BizAccountLinkInfo_HostStorageType = 1 +) + +// Enum value maps for BizAccountLinkInfo_HostStorageType. +var ( + BizAccountLinkInfo_HostStorageType_name = map[int32]string{ + 0: "ON_PREMISE", + 1: "FACEBOOK", + } + BizAccountLinkInfo_HostStorageType_value = map[string]int32{ + "ON_PREMISE": 0, + "FACEBOOK": 1, + } +) + +func (x BizAccountLinkInfo_HostStorageType) Enum() *BizAccountLinkInfo_HostStorageType { + p := new(BizAccountLinkInfo_HostStorageType) + *p = x + return p +} + +func (x BizAccountLinkInfo_HostStorageType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1].Descriptor() +} + +func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType { + return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[1] +} + +func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BizAccountLinkInfo_HostStorageType(num) + return nil +} + +// Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead. +func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0, 1} +} + +type BizIdentityInfo_ActualActorsType int32 + +const ( + BizIdentityInfo_SELF BizIdentityInfo_ActualActorsType = 0 + BizIdentityInfo_BSP BizIdentityInfo_ActualActorsType = 1 +) + +// Enum value maps for BizIdentityInfo_ActualActorsType. +var ( + BizIdentityInfo_ActualActorsType_name = map[int32]string{ + 0: "SELF", + 1: "BSP", + } + BizIdentityInfo_ActualActorsType_value = map[string]int32{ + "SELF": 0, + "BSP": 1, + } +) + +func (x BizIdentityInfo_ActualActorsType) Enum() *BizIdentityInfo_ActualActorsType { + p := new(BizIdentityInfo_ActualActorsType) + *p = x + return p +} + +func (x BizIdentityInfo_ActualActorsType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2].Descriptor() +} + +func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType { + return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[2] +} + +func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BizIdentityInfo_ActualActorsType(num) + return nil +} + +// Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead. +func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 0} +} + +type BizIdentityInfo_HostStorageType int32 + +const ( + BizIdentityInfo_ON_PREMISE BizIdentityInfo_HostStorageType = 0 + BizIdentityInfo_FACEBOOK BizIdentityInfo_HostStorageType = 1 +) + +// Enum value maps for BizIdentityInfo_HostStorageType. +var ( + BizIdentityInfo_HostStorageType_name = map[int32]string{ + 0: "ON_PREMISE", + 1: "FACEBOOK", + } + BizIdentityInfo_HostStorageType_value = map[string]int32{ + "ON_PREMISE": 0, + "FACEBOOK": 1, + } +) + +func (x BizIdentityInfo_HostStorageType) Enum() *BizIdentityInfo_HostStorageType { + p := new(BizIdentityInfo_HostStorageType) + *p = x + return p +} + +func (x BizIdentityInfo_HostStorageType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3].Descriptor() +} + +func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType { + return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[3] +} + +func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BizIdentityInfo_HostStorageType(num) + return nil +} + +// Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead. +func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 1} +} + +type BizIdentityInfo_VerifiedLevelValue int32 + +const ( + BizIdentityInfo_UNKNOWN BizIdentityInfo_VerifiedLevelValue = 0 + BizIdentityInfo_LOW BizIdentityInfo_VerifiedLevelValue = 1 + BizIdentityInfo_HIGH BizIdentityInfo_VerifiedLevelValue = 2 +) + +// Enum value maps for BizIdentityInfo_VerifiedLevelValue. +var ( + BizIdentityInfo_VerifiedLevelValue_name = map[int32]string{ + 0: "UNKNOWN", + 1: "LOW", + 2: "HIGH", + } + BizIdentityInfo_VerifiedLevelValue_value = map[string]int32{ + "UNKNOWN": 0, + "LOW": 1, + "HIGH": 2, + } +) + +func (x BizIdentityInfo_VerifiedLevelValue) Enum() *BizIdentityInfo_VerifiedLevelValue { + p := new(BizIdentityInfo_VerifiedLevelValue) + *p = x + return p +} + +func (x BizIdentityInfo_VerifiedLevelValue) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4].Descriptor() +} + +func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType { + return &file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes[4] +} + +func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BizIdentityInfo_VerifiedLevelValue(num) + return nil +} + +// Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead. +func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1, 2} +} + +type BizAccountLinkInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WhatsappBizAcctFbid *uint64 `protobuf:"varint,1,opt,name=whatsappBizAcctFbid" json:"whatsappBizAcctFbid,omitempty"` + WhatsappAcctNumber *string `protobuf:"bytes,2,opt,name=whatsappAcctNumber" json:"whatsappAcctNumber,omitempty"` + IssueTime *uint64 `protobuf:"varint,3,opt,name=issueTime" json:"issueTime,omitempty"` + HostStorage *BizAccountLinkInfo_HostStorageType `protobuf:"varint,4,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_HostStorageType" json:"hostStorage,omitempty"` + AccountType *BizAccountLinkInfo_AccountType `protobuf:"varint,5,opt,name=accountType,enum=WAWebProtobufsVnameCert.BizAccountLinkInfo_AccountType" json:"accountType,omitempty"` +} + +func (x *BizAccountLinkInfo) Reset() { + *x = BizAccountLinkInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BizAccountLinkInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BizAccountLinkInfo) ProtoMessage() {} + +func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead. +func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{0} +} + +func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 { + if x != nil && x.WhatsappBizAcctFbid != nil { + return *x.WhatsappBizAcctFbid + } + return 0 +} + +func (x *BizAccountLinkInfo) GetWhatsappAcctNumber() string { + if x != nil && x.WhatsappAcctNumber != nil { + return *x.WhatsappAcctNumber + } + return "" +} + +func (x *BizAccountLinkInfo) GetIssueTime() uint64 { + if x != nil && x.IssueTime != nil { + return *x.IssueTime + } + return 0 +} + +func (x *BizAccountLinkInfo) GetHostStorage() BizAccountLinkInfo_HostStorageType { + if x != nil && x.HostStorage != nil { + return *x.HostStorage + } + return BizAccountLinkInfo_ON_PREMISE +} + +func (x *BizAccountLinkInfo) GetAccountType() BizAccountLinkInfo_AccountType { + if x != nil && x.AccountType != nil { + return *x.AccountType + } + return BizAccountLinkInfo_ENTERPRISE +} + +type BizIdentityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Vlevel *BizIdentityInfo_VerifiedLevelValue `protobuf:"varint,1,opt,name=vlevel,enum=WAWebProtobufsVnameCert.BizIdentityInfo_VerifiedLevelValue" json:"vlevel,omitempty"` + VnameCert *VerifiedNameCertificate `protobuf:"bytes,2,opt,name=vnameCert" json:"vnameCert,omitempty"` + Signed *bool `protobuf:"varint,3,opt,name=signed" json:"signed,omitempty"` + Revoked *bool `protobuf:"varint,4,opt,name=revoked" json:"revoked,omitempty"` + HostStorage *BizIdentityInfo_HostStorageType `protobuf:"varint,5,opt,name=hostStorage,enum=WAWebProtobufsVnameCert.BizIdentityInfo_HostStorageType" json:"hostStorage,omitempty"` + ActualActors *BizIdentityInfo_ActualActorsType `protobuf:"varint,6,opt,name=actualActors,enum=WAWebProtobufsVnameCert.BizIdentityInfo_ActualActorsType" json:"actualActors,omitempty"` + PrivacyModeTS *uint64 `protobuf:"varint,7,opt,name=privacyModeTS" json:"privacyModeTS,omitempty"` + FeatureControls *uint64 `protobuf:"varint,8,opt,name=featureControls" json:"featureControls,omitempty"` +} + +func (x *BizIdentityInfo) Reset() { + *x = BizIdentityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BizIdentityInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BizIdentityInfo) ProtoMessage() {} + +func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BizIdentityInfo.ProtoReflect.Descriptor instead. +func (*BizIdentityInfo) Descriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{1} +} + +func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue { + if x != nil && x.Vlevel != nil { + return *x.Vlevel + } + return BizIdentityInfo_UNKNOWN +} + +func (x *BizIdentityInfo) GetVnameCert() *VerifiedNameCertificate { + if x != nil { + return x.VnameCert + } + return nil +} + +func (x *BizIdentityInfo) GetSigned() bool { + if x != nil && x.Signed != nil { + return *x.Signed + } + return false +} + +func (x *BizIdentityInfo) GetRevoked() bool { + if x != nil && x.Revoked != nil { + return *x.Revoked + } + return false +} + +func (x *BizIdentityInfo) GetHostStorage() BizIdentityInfo_HostStorageType { + if x != nil && x.HostStorage != nil { + return *x.HostStorage + } + return BizIdentityInfo_ON_PREMISE +} + +func (x *BizIdentityInfo) GetActualActors() BizIdentityInfo_ActualActorsType { + if x != nil && x.ActualActors != nil { + return *x.ActualActors + } + return BizIdentityInfo_SELF +} + +func (x *BizIdentityInfo) GetPrivacyModeTS() uint64 { + if x != nil && x.PrivacyModeTS != nil { + return *x.PrivacyModeTS + } + return 0 +} + +func (x *BizIdentityInfo) GetFeatureControls() uint64 { + if x != nil && x.FeatureControls != nil { + return *x.FeatureControls + } + return 0 +} + +type LocalizedName struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Lg *string `protobuf:"bytes,1,opt,name=lg" json:"lg,omitempty"` + Lc *string `protobuf:"bytes,2,opt,name=lc" json:"lc,omitempty"` + VerifiedName *string `protobuf:"bytes,3,opt,name=verifiedName" json:"verifiedName,omitempty"` +} + +func (x *LocalizedName) Reset() { + *x = LocalizedName{} + if protoimpl.UnsafeEnabled { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LocalizedName) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LocalizedName) ProtoMessage() {} + +func (x *LocalizedName) ProtoReflect() protoreflect.Message { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead. +func (*LocalizedName) Descriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{2} +} + +func (x *LocalizedName) GetLg() string { + if x != nil && x.Lg != nil { + return *x.Lg + } + return "" +} + +func (x *LocalizedName) GetLc() string { + if x != nil && x.Lc != nil { + return *x.Lc + } + return "" +} + +func (x *LocalizedName) GetVerifiedName() string { + if x != nil && x.VerifiedName != nil { + return *x.VerifiedName + } + return "" +} + +type VerifiedNameCertificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` + ServerSignature []byte `protobuf:"bytes,3,opt,name=serverSignature" json:"serverSignature,omitempty"` +} + +func (x *VerifiedNameCertificate) Reset() { + *x = VerifiedNameCertificate{} + if protoimpl.UnsafeEnabled { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifiedNameCertificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifiedNameCertificate) ProtoMessage() {} + +func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifiedNameCertificate.ProtoReflect.Descriptor instead. +func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3} +} + +func (x *VerifiedNameCertificate) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *VerifiedNameCertificate) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *VerifiedNameCertificate) GetServerSignature() []byte { + if x != nil { + return x.ServerSignature + } + return nil +} + +type BizAccountPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VnameCert *VerifiedNameCertificate `protobuf:"bytes,1,opt,name=vnameCert" json:"vnameCert,omitempty"` + BizAcctLinkInfo []byte `protobuf:"bytes,2,opt,name=bizAcctLinkInfo" json:"bizAcctLinkInfo,omitempty"` +} + +func (x *BizAccountPayload) Reset() { + *x = BizAccountPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BizAccountPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BizAccountPayload) ProtoMessage() {} + +func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BizAccountPayload.ProtoReflect.Descriptor instead. +func (*BizAccountPayload) Descriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{4} +} + +func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate { + if x != nil { + return x.VnameCert + } + return nil +} + +func (x *BizAccountPayload) GetBizAcctLinkInfo() []byte { + if x != nil { + return x.BizAcctLinkInfo + } + return nil +} + +type VerifiedNameCertificate_Details struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Serial *uint64 `protobuf:"varint,1,opt,name=serial" json:"serial,omitempty"` + Issuer *string `protobuf:"bytes,2,opt,name=issuer" json:"issuer,omitempty"` + VerifiedName *string `protobuf:"bytes,4,opt,name=verifiedName" json:"verifiedName,omitempty"` + LocalizedNames []*LocalizedName `protobuf:"bytes,8,rep,name=localizedNames" json:"localizedNames,omitempty"` + IssueTime *uint64 `protobuf:"varint,10,opt,name=issueTime" json:"issueTime,omitempty"` +} + +func (x *VerifiedNameCertificate_Details) Reset() { + *x = VerifiedNameCertificate_Details{} + if protoimpl.UnsafeEnabled { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifiedNameCertificate_Details) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifiedNameCertificate_Details) ProtoMessage() {} + +func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message { + mi := &file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead. +func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) { + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *VerifiedNameCertificate_Details) GetSerial() uint64 { + if x != nil && x.Serial != nil { + return *x.Serial + } + return 0 +} + +func (x *VerifiedNameCertificate_Details) GetIssuer() string { + if x != nil && x.Issuer != nil { + return *x.Issuer + } + return "" +} + +func (x *VerifiedNameCertificate_Details) GetVerifiedName() string { + if x != nil && x.VerifiedName != nil { + return *x.VerifiedName + } + return "" +} + +func (x *VerifiedNameCertificate_Details) GetLocalizedNames() []*LocalizedName { + if x != nil { + return x.LocalizedNames + } + return nil +} + +func (x *VerifiedNameCertificate_Details) GetIssueTime() uint64 { + if x != nil && x.IssueTime != nil { + return *x.IssueTime + } + return 0 +} + +var File_waVnameCert_WAWebProtobufsVnameCert_proto protoreflect.FileDescriptor + +//go:embed WAWebProtobufsVnameCert.pb.raw +var file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc []byte + +var ( + file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce sync.Once + file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData = file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc +) + +func file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescGZIP() []byte { + file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescOnce.Do(func() { + file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData = protoimpl.X.CompressGZIP(file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData) + }) + return file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDescData +} + +var file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = []interface{}{ + (BizAccountLinkInfo_AccountType)(0), // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType + (BizAccountLinkInfo_HostStorageType)(0), // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType + (BizIdentityInfo_ActualActorsType)(0), // 2: WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType + (BizIdentityInfo_HostStorageType)(0), // 3: WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType + (BizIdentityInfo_VerifiedLevelValue)(0), // 4: WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue + (*BizAccountLinkInfo)(nil), // 5: WAWebProtobufsVnameCert.BizAccountLinkInfo + (*BizIdentityInfo)(nil), // 6: WAWebProtobufsVnameCert.BizIdentityInfo + (*LocalizedName)(nil), // 7: WAWebProtobufsVnameCert.LocalizedName + (*VerifiedNameCertificate)(nil), // 8: WAWebProtobufsVnameCert.VerifiedNameCertificate + (*BizAccountPayload)(nil), // 9: WAWebProtobufsVnameCert.BizAccountPayload + (*VerifiedNameCertificate_Details)(nil), // 10: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details +} +var file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = []int32{ + 1, // 0: WAWebProtobufsVnameCert.BizAccountLinkInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.HostStorageType + 0, // 1: WAWebProtobufsVnameCert.BizAccountLinkInfo.accountType:type_name -> WAWebProtobufsVnameCert.BizAccountLinkInfo.AccountType + 4, // 2: WAWebProtobufsVnameCert.BizIdentityInfo.vlevel:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.VerifiedLevelValue + 8, // 3: WAWebProtobufsVnameCert.BizIdentityInfo.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate + 3, // 4: WAWebProtobufsVnameCert.BizIdentityInfo.hostStorage:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.HostStorageType + 2, // 5: WAWebProtobufsVnameCert.BizIdentityInfo.actualActors:type_name -> WAWebProtobufsVnameCert.BizIdentityInfo.ActualActorsType + 8, // 6: WAWebProtobufsVnameCert.BizAccountPayload.vnameCert:type_name -> WAWebProtobufsVnameCert.VerifiedNameCertificate + 7, // 7: WAWebProtobufsVnameCert.VerifiedNameCertificate.Details.localizedNames:type_name -> WAWebProtobufsVnameCert.LocalizedName + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_waVnameCert_WAWebProtobufsVnameCert_proto_init() } +func file_waVnameCert_WAWebProtobufsVnameCert_proto_init() { + if File_waVnameCert_WAWebProtobufsVnameCert_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BizAccountLinkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BizIdentityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocalizedName); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifiedNameCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BizAccountPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifiedNameCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc, + NumEnums: 5, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes, + DependencyIndexes: file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs, + EnumInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_enumTypes, + MessageInfos: file_waVnameCert_WAWebProtobufsVnameCert_proto_msgTypes, + }.Build() + File_waVnameCert_WAWebProtobufsVnameCert_proto = out.File + file_waVnameCert_WAWebProtobufsVnameCert_proto_rawDesc = nil + file_waVnameCert_WAWebProtobufsVnameCert_proto_goTypes = nil + file_waVnameCert_WAWebProtobufsVnameCert_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..0b6c10c19415cd3f46f3c2cb5ce35ca8ac68d6d8 GIT binary patch literal 1731 zcmbtV-EPw`6kdO}wx``zjKm@Y5{ej%n{=9x0CClhj#cZ@$|s+^>y= z3+=23t3NV;YW8i_G~Hmtn)c|rG3vW$A0FRa5$2Qecot z*wWI!wsHMbZb2o;A5{NS<>ZMd4_Tw$JSwlD z9As)nn~USYYI+MOqHZApRD|3Y{X}nd^%;1x)h(yQdB=^<$K|wYz-H4miDTbVOEAtQ zn|20Ld)8fhD|fhz9%A<3}6wJz}(!aMJzsR|;~UW=BY+^4pTxbINk1N=x|Vh>FHoXx*t! z$T(3Qe@$D?a?1qMnZ4q{tCfn2br>hI)RFiEexr9Q;~mBW$D-Y4P@dY0{{R3 literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto b/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto new file mode 100644 index 00000000..93b274ab --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.proto @@ -0,0 +1,72 @@ +syntax = "proto2"; +package WAWebProtobufsVnameCert; +option go_package = "go.mau.fi/whatsmeow/proto/waVnameCert"; + +message BizAccountLinkInfo { + enum AccountType { + ENTERPRISE = 0; + } + + enum HostStorageType { + ON_PREMISE = 0; + FACEBOOK = 1; + } + + optional uint64 whatsappBizAcctFbid = 1; + optional string whatsappAcctNumber = 2; + optional uint64 issueTime = 3; + optional HostStorageType hostStorage = 4; + optional AccountType accountType = 5; +} + +message BizIdentityInfo { + enum ActualActorsType { + SELF = 0; + BSP = 1; + } + + enum HostStorageType { + ON_PREMISE = 0; + FACEBOOK = 1; + } + + enum VerifiedLevelValue { + UNKNOWN = 0; + LOW = 1; + HIGH = 2; + } + + optional VerifiedLevelValue vlevel = 1; + optional VerifiedNameCertificate vnameCert = 2; + optional bool signed = 3; + optional bool revoked = 4; + optional HostStorageType hostStorage = 5; + optional ActualActorsType actualActors = 6; + optional uint64 privacyModeTS = 7; + optional uint64 featureControls = 8; +} + +message LocalizedName { + optional string lg = 1; + optional string lc = 2; + optional string verifiedName = 3; +} + +message VerifiedNameCertificate { + message Details { + optional uint64 serial = 1; + optional string issuer = 2; + optional string verifiedName = 4; + repeated LocalizedName localizedNames = 8; + optional uint64 issueTime = 10; + } + + optional bytes details = 1; + optional bytes signature = 2; + optional bytes serverSignature = 3; +} + +message BizAccountPayload { + optional VerifiedNameCertificate vnameCert = 1; + optional bytes bizAcctLinkInfo = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go b/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go new file mode 100644 index 00000000..deefc404 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go @@ -0,0 +1,2131 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc v3.21.12 +// source: waWa6/WAWebProtobufsWa6.proto + +package waWa6 + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientPayload_Product int32 + +const ( + ClientPayload_WHATSAPP ClientPayload_Product = 0 + ClientPayload_MESSENGER ClientPayload_Product = 1 + ClientPayload_INTEROP ClientPayload_Product = 2 + ClientPayload_INTEROP_MSGR ClientPayload_Product = 3 +) + +// Enum value maps for ClientPayload_Product. +var ( + ClientPayload_Product_name = map[int32]string{ + 0: "WHATSAPP", + 1: "MESSENGER", + 2: "INTEROP", + 3: "INTEROP_MSGR", + } + ClientPayload_Product_value = map[string]int32{ + "WHATSAPP": 0, + "MESSENGER": 1, + "INTEROP": 2, + "INTEROP_MSGR": 3, + } +) + +func (x ClientPayload_Product) Enum() *ClientPayload_Product { + p := new(ClientPayload_Product) + *p = x + return p +} + +func (x ClientPayload_Product) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[0].Descriptor() +} + +func (ClientPayload_Product) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[0] +} + +func (x ClientPayload_Product) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_Product) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_Product(num) + return nil +} + +// Deprecated: Use ClientPayload_Product.Descriptor instead. +func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 0} +} + +type ClientPayload_ConnectType int32 + +const ( + ClientPayload_CELLULAR_UNKNOWN ClientPayload_ConnectType = 0 + ClientPayload_WIFI_UNKNOWN ClientPayload_ConnectType = 1 + ClientPayload_CELLULAR_EDGE ClientPayload_ConnectType = 100 + ClientPayload_CELLULAR_IDEN ClientPayload_ConnectType = 101 + ClientPayload_CELLULAR_UMTS ClientPayload_ConnectType = 102 + ClientPayload_CELLULAR_EVDO ClientPayload_ConnectType = 103 + ClientPayload_CELLULAR_GPRS ClientPayload_ConnectType = 104 + ClientPayload_CELLULAR_HSDPA ClientPayload_ConnectType = 105 + ClientPayload_CELLULAR_HSUPA ClientPayload_ConnectType = 106 + ClientPayload_CELLULAR_HSPA ClientPayload_ConnectType = 107 + ClientPayload_CELLULAR_CDMA ClientPayload_ConnectType = 108 + ClientPayload_CELLULAR_1XRTT ClientPayload_ConnectType = 109 + ClientPayload_CELLULAR_EHRPD ClientPayload_ConnectType = 110 + ClientPayload_CELLULAR_LTE ClientPayload_ConnectType = 111 + ClientPayload_CELLULAR_HSPAP ClientPayload_ConnectType = 112 +) + +// Enum value maps for ClientPayload_ConnectType. +var ( + ClientPayload_ConnectType_name = map[int32]string{ + 0: "CELLULAR_UNKNOWN", + 1: "WIFI_UNKNOWN", + 100: "CELLULAR_EDGE", + 101: "CELLULAR_IDEN", + 102: "CELLULAR_UMTS", + 103: "CELLULAR_EVDO", + 104: "CELLULAR_GPRS", + 105: "CELLULAR_HSDPA", + 106: "CELLULAR_HSUPA", + 107: "CELLULAR_HSPA", + 108: "CELLULAR_CDMA", + 109: "CELLULAR_1XRTT", + 110: "CELLULAR_EHRPD", + 111: "CELLULAR_LTE", + 112: "CELLULAR_HSPAP", + } + ClientPayload_ConnectType_value = map[string]int32{ + "CELLULAR_UNKNOWN": 0, + "WIFI_UNKNOWN": 1, + "CELLULAR_EDGE": 100, + "CELLULAR_IDEN": 101, + "CELLULAR_UMTS": 102, + "CELLULAR_EVDO": 103, + "CELLULAR_GPRS": 104, + "CELLULAR_HSDPA": 105, + "CELLULAR_HSUPA": 106, + "CELLULAR_HSPA": 107, + "CELLULAR_CDMA": 108, + "CELLULAR_1XRTT": 109, + "CELLULAR_EHRPD": 110, + "CELLULAR_LTE": 111, + "CELLULAR_HSPAP": 112, + } +) + +func (x ClientPayload_ConnectType) Enum() *ClientPayload_ConnectType { + p := new(ClientPayload_ConnectType) + *p = x + return p +} + +func (x ClientPayload_ConnectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[1].Descriptor() +} + +func (ClientPayload_ConnectType) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[1] +} + +func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_ConnectType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_ConnectType(num) + return nil +} + +// Deprecated: Use ClientPayload_ConnectType.Descriptor instead. +func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 1} +} + +type ClientPayload_ConnectReason int32 + +const ( + ClientPayload_PUSH ClientPayload_ConnectReason = 0 + ClientPayload_USER_ACTIVATED ClientPayload_ConnectReason = 1 + ClientPayload_SCHEDULED ClientPayload_ConnectReason = 2 + ClientPayload_ERROR_RECONNECT ClientPayload_ConnectReason = 3 + ClientPayload_NETWORK_SWITCH ClientPayload_ConnectReason = 4 + ClientPayload_PING_RECONNECT ClientPayload_ConnectReason = 5 + ClientPayload_UNKNOWN ClientPayload_ConnectReason = 6 +) + +// Enum value maps for ClientPayload_ConnectReason. +var ( + ClientPayload_ConnectReason_name = map[int32]string{ + 0: "PUSH", + 1: "USER_ACTIVATED", + 2: "SCHEDULED", + 3: "ERROR_RECONNECT", + 4: "NETWORK_SWITCH", + 5: "PING_RECONNECT", + 6: "UNKNOWN", + } + ClientPayload_ConnectReason_value = map[string]int32{ + "PUSH": 0, + "USER_ACTIVATED": 1, + "SCHEDULED": 2, + "ERROR_RECONNECT": 3, + "NETWORK_SWITCH": 4, + "PING_RECONNECT": 5, + "UNKNOWN": 6, + } +) + +func (x ClientPayload_ConnectReason) Enum() *ClientPayload_ConnectReason { + p := new(ClientPayload_ConnectReason) + *p = x + return p +} + +func (x ClientPayload_ConnectReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[2].Descriptor() +} + +func (ClientPayload_ConnectReason) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[2] +} + +func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_ConnectReason) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_ConnectReason(num) + return nil +} + +// Deprecated: Use ClientPayload_ConnectReason.Descriptor instead. +func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 2} +} + +type ClientPayload_IOSAppExtension int32 + +const ( + ClientPayload_SHARE_EXTENSION ClientPayload_IOSAppExtension = 0 + ClientPayload_SERVICE_EXTENSION ClientPayload_IOSAppExtension = 1 + ClientPayload_INTENTS_EXTENSION ClientPayload_IOSAppExtension = 2 +) + +// Enum value maps for ClientPayload_IOSAppExtension. +var ( + ClientPayload_IOSAppExtension_name = map[int32]string{ + 0: "SHARE_EXTENSION", + 1: "SERVICE_EXTENSION", + 2: "INTENTS_EXTENSION", + } + ClientPayload_IOSAppExtension_value = map[string]int32{ + "SHARE_EXTENSION": 0, + "SERVICE_EXTENSION": 1, + "INTENTS_EXTENSION": 2, + } +) + +func (x ClientPayload_IOSAppExtension) Enum() *ClientPayload_IOSAppExtension { + p := new(ClientPayload_IOSAppExtension) + *p = x + return p +} + +func (x ClientPayload_IOSAppExtension) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[3].Descriptor() +} + +func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[3] +} + +func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_IOSAppExtension) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_IOSAppExtension(num) + return nil +} + +// Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead. +func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 3} +} + +type ClientPayload_DNSSource_DNSResolutionMethod int32 + +const ( + ClientPayload_DNSSource_SYSTEM ClientPayload_DNSSource_DNSResolutionMethod = 0 + ClientPayload_DNSSource_GOOGLE ClientPayload_DNSSource_DNSResolutionMethod = 1 + ClientPayload_DNSSource_HARDCODED ClientPayload_DNSSource_DNSResolutionMethod = 2 + ClientPayload_DNSSource_OVERRIDE ClientPayload_DNSSource_DNSResolutionMethod = 3 + ClientPayload_DNSSource_FALLBACK ClientPayload_DNSSource_DNSResolutionMethod = 4 +) + +// Enum value maps for ClientPayload_DNSSource_DNSResolutionMethod. +var ( + ClientPayload_DNSSource_DNSResolutionMethod_name = map[int32]string{ + 0: "SYSTEM", + 1: "GOOGLE", + 2: "HARDCODED", + 3: "OVERRIDE", + 4: "FALLBACK", + } + ClientPayload_DNSSource_DNSResolutionMethod_value = map[string]int32{ + "SYSTEM": 0, + "GOOGLE": 1, + "HARDCODED": 2, + "OVERRIDE": 3, + "FALLBACK": 4, + } +) + +func (x ClientPayload_DNSSource_DNSResolutionMethod) Enum() *ClientPayload_DNSSource_DNSResolutionMethod { + p := new(ClientPayload_DNSSource_DNSResolutionMethod) + *p = x + return p +} + +func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[4].Descriptor() +} + +func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[4] +} + +func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_DNSSource_DNSResolutionMethod) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_DNSSource_DNSResolutionMethod(num) + return nil +} + +// Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead. +func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 0, 0} +} + +type ClientPayload_WebInfo_WebSubPlatform int32 + +const ( + ClientPayload_WebInfo_WEB_BROWSER ClientPayload_WebInfo_WebSubPlatform = 0 + ClientPayload_WebInfo_APP_STORE ClientPayload_WebInfo_WebSubPlatform = 1 + ClientPayload_WebInfo_WIN_STORE ClientPayload_WebInfo_WebSubPlatform = 2 + ClientPayload_WebInfo_DARWIN ClientPayload_WebInfo_WebSubPlatform = 3 + ClientPayload_WebInfo_WIN32 ClientPayload_WebInfo_WebSubPlatform = 4 +) + +// Enum value maps for ClientPayload_WebInfo_WebSubPlatform. +var ( + ClientPayload_WebInfo_WebSubPlatform_name = map[int32]string{ + 0: "WEB_BROWSER", + 1: "APP_STORE", + 2: "WIN_STORE", + 3: "DARWIN", + 4: "WIN32", + } + ClientPayload_WebInfo_WebSubPlatform_value = map[string]int32{ + "WEB_BROWSER": 0, + "APP_STORE": 1, + "WIN_STORE": 2, + "DARWIN": 3, + "WIN32": 4, + } +) + +func (x ClientPayload_WebInfo_WebSubPlatform) Enum() *ClientPayload_WebInfo_WebSubPlatform { + p := new(ClientPayload_WebInfo_WebSubPlatform) + *p = x + return p +} + +func (x ClientPayload_WebInfo_WebSubPlatform) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[5].Descriptor() +} + +func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[5] +} + +func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_WebInfo_WebSubPlatform) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_WebInfo_WebSubPlatform(num) + return nil +} + +// Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead. +func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 1, 0} +} + +type ClientPayload_UserAgent_DeviceType int32 + +const ( + ClientPayload_UserAgent_PHONE ClientPayload_UserAgent_DeviceType = 0 + ClientPayload_UserAgent_TABLET ClientPayload_UserAgent_DeviceType = 1 + ClientPayload_UserAgent_DESKTOP ClientPayload_UserAgent_DeviceType = 2 + ClientPayload_UserAgent_WEARABLE ClientPayload_UserAgent_DeviceType = 3 + ClientPayload_UserAgent_VR ClientPayload_UserAgent_DeviceType = 4 +) + +// Enum value maps for ClientPayload_UserAgent_DeviceType. +var ( + ClientPayload_UserAgent_DeviceType_name = map[int32]string{ + 0: "PHONE", + 1: "TABLET", + 2: "DESKTOP", + 3: "WEARABLE", + 4: "VR", + } + ClientPayload_UserAgent_DeviceType_value = map[string]int32{ + "PHONE": 0, + "TABLET": 1, + "DESKTOP": 2, + "WEARABLE": 3, + "VR": 4, + } +) + +func (x ClientPayload_UserAgent_DeviceType) Enum() *ClientPayload_UserAgent_DeviceType { + p := new(ClientPayload_UserAgent_DeviceType) + *p = x + return p +} + +func (x ClientPayload_UserAgent_DeviceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_DeviceType) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[6].Descriptor() +} + +func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[6] +} + +func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_UserAgent_DeviceType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_UserAgent_DeviceType(num) + return nil +} + +// Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead. +func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 2, 0} +} + +type ClientPayload_UserAgent_ReleaseChannel int32 + +const ( + ClientPayload_UserAgent_RELEASE ClientPayload_UserAgent_ReleaseChannel = 0 + ClientPayload_UserAgent_BETA ClientPayload_UserAgent_ReleaseChannel = 1 + ClientPayload_UserAgent_ALPHA ClientPayload_UserAgent_ReleaseChannel = 2 + ClientPayload_UserAgent_DEBUG ClientPayload_UserAgent_ReleaseChannel = 3 +) + +// Enum value maps for ClientPayload_UserAgent_ReleaseChannel. +var ( + ClientPayload_UserAgent_ReleaseChannel_name = map[int32]string{ + 0: "RELEASE", + 1: "BETA", + 2: "ALPHA", + 3: "DEBUG", + } + ClientPayload_UserAgent_ReleaseChannel_value = map[string]int32{ + "RELEASE": 0, + "BETA": 1, + "ALPHA": 2, + "DEBUG": 3, + } +) + +func (x ClientPayload_UserAgent_ReleaseChannel) Enum() *ClientPayload_UserAgent_ReleaseChannel { + p := new(ClientPayload_UserAgent_ReleaseChannel) + *p = x + return p +} + +func (x ClientPayload_UserAgent_ReleaseChannel) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[7].Descriptor() +} + +func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[7] +} + +func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_UserAgent_ReleaseChannel) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_UserAgent_ReleaseChannel(num) + return nil +} + +// Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead. +func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 2, 1} +} + +type ClientPayload_UserAgent_Platform int32 + +const ( + ClientPayload_UserAgent_ANDROID ClientPayload_UserAgent_Platform = 0 + ClientPayload_UserAgent_IOS ClientPayload_UserAgent_Platform = 1 + ClientPayload_UserAgent_WINDOWS_PHONE ClientPayload_UserAgent_Platform = 2 + ClientPayload_UserAgent_BLACKBERRY ClientPayload_UserAgent_Platform = 3 + ClientPayload_UserAgent_BLACKBERRYX ClientPayload_UserAgent_Platform = 4 + ClientPayload_UserAgent_S40 ClientPayload_UserAgent_Platform = 5 + ClientPayload_UserAgent_S60 ClientPayload_UserAgent_Platform = 6 + ClientPayload_UserAgent_PYTHON_CLIENT ClientPayload_UserAgent_Platform = 7 + ClientPayload_UserAgent_TIZEN ClientPayload_UserAgent_Platform = 8 + ClientPayload_UserAgent_ENTERPRISE ClientPayload_UserAgent_Platform = 9 + ClientPayload_UserAgent_SMB_ANDROID ClientPayload_UserAgent_Platform = 10 + ClientPayload_UserAgent_KAIOS ClientPayload_UserAgent_Platform = 11 + ClientPayload_UserAgent_SMB_IOS ClientPayload_UserAgent_Platform = 12 + ClientPayload_UserAgent_WINDOWS ClientPayload_UserAgent_Platform = 13 + ClientPayload_UserAgent_WEB ClientPayload_UserAgent_Platform = 14 + ClientPayload_UserAgent_PORTAL ClientPayload_UserAgent_Platform = 15 + ClientPayload_UserAgent_GREEN_ANDROID ClientPayload_UserAgent_Platform = 16 + ClientPayload_UserAgent_GREEN_IPHONE ClientPayload_UserAgent_Platform = 17 + ClientPayload_UserAgent_BLUE_ANDROID ClientPayload_UserAgent_Platform = 18 + ClientPayload_UserAgent_BLUE_IPHONE ClientPayload_UserAgent_Platform = 19 + ClientPayload_UserAgent_FBLITE_ANDROID ClientPayload_UserAgent_Platform = 20 + ClientPayload_UserAgent_MLITE_ANDROID ClientPayload_UserAgent_Platform = 21 + ClientPayload_UserAgent_IGLITE_ANDROID ClientPayload_UserAgent_Platform = 22 + ClientPayload_UserAgent_PAGE ClientPayload_UserAgent_Platform = 23 + ClientPayload_UserAgent_MACOS ClientPayload_UserAgent_Platform = 24 + ClientPayload_UserAgent_OCULUS_MSG ClientPayload_UserAgent_Platform = 25 + ClientPayload_UserAgent_OCULUS_CALL ClientPayload_UserAgent_Platform = 26 + ClientPayload_UserAgent_MILAN ClientPayload_UserAgent_Platform = 27 + ClientPayload_UserAgent_CAPI ClientPayload_UserAgent_Platform = 28 + ClientPayload_UserAgent_WEAROS ClientPayload_UserAgent_Platform = 29 + ClientPayload_UserAgent_ARDEVICE ClientPayload_UserAgent_Platform = 30 + ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31 + ClientPayload_UserAgent_BLUE_WEB ClientPayload_UserAgent_Platform = 32 + ClientPayload_UserAgent_IPAD ClientPayload_UserAgent_Platform = 33 + ClientPayload_UserAgent_TEST ClientPayload_UserAgent_Platform = 34 + ClientPayload_UserAgent_SMART_GLASSES ClientPayload_UserAgent_Platform = 35 +) + +// Enum value maps for ClientPayload_UserAgent_Platform. +var ( + ClientPayload_UserAgent_Platform_name = map[int32]string{ + 0: "ANDROID", + 1: "IOS", + 2: "WINDOWS_PHONE", + 3: "BLACKBERRY", + 4: "BLACKBERRYX", + 5: "S40", + 6: "S60", + 7: "PYTHON_CLIENT", + 8: "TIZEN", + 9: "ENTERPRISE", + 10: "SMB_ANDROID", + 11: "KAIOS", + 12: "SMB_IOS", + 13: "WINDOWS", + 14: "WEB", + 15: "PORTAL", + 16: "GREEN_ANDROID", + 17: "GREEN_IPHONE", + 18: "BLUE_ANDROID", + 19: "BLUE_IPHONE", + 20: "FBLITE_ANDROID", + 21: "MLITE_ANDROID", + 22: "IGLITE_ANDROID", + 23: "PAGE", + 24: "MACOS", + 25: "OCULUS_MSG", + 26: "OCULUS_CALL", + 27: "MILAN", + 28: "CAPI", + 29: "WEAROS", + 30: "ARDEVICE", + 31: "VRDEVICE", + 32: "BLUE_WEB", + 33: "IPAD", + 34: "TEST", + 35: "SMART_GLASSES", + } + ClientPayload_UserAgent_Platform_value = map[string]int32{ + "ANDROID": 0, + "IOS": 1, + "WINDOWS_PHONE": 2, + "BLACKBERRY": 3, + "BLACKBERRYX": 4, + "S40": 5, + "S60": 6, + "PYTHON_CLIENT": 7, + "TIZEN": 8, + "ENTERPRISE": 9, + "SMB_ANDROID": 10, + "KAIOS": 11, + "SMB_IOS": 12, + "WINDOWS": 13, + "WEB": 14, + "PORTAL": 15, + "GREEN_ANDROID": 16, + "GREEN_IPHONE": 17, + "BLUE_ANDROID": 18, + "BLUE_IPHONE": 19, + "FBLITE_ANDROID": 20, + "MLITE_ANDROID": 21, + "IGLITE_ANDROID": 22, + "PAGE": 23, + "MACOS": 24, + "OCULUS_MSG": 25, + "OCULUS_CALL": 26, + "MILAN": 27, + "CAPI": 28, + "WEAROS": 29, + "ARDEVICE": 30, + "VRDEVICE": 31, + "BLUE_WEB": 32, + "IPAD": 33, + "TEST": 34, + "SMART_GLASSES": 35, + } +) + +func (x ClientPayload_UserAgent_Platform) Enum() *ClientPayload_UserAgent_Platform { + p := new(ClientPayload_UserAgent_Platform) + *p = x + return p +} + +func (x ClientPayload_UserAgent_Platform) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor { + return file_waWa6_WAWebProtobufsWa6_proto_enumTypes[8].Descriptor() +} + +func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType { + return &file_waWa6_WAWebProtobufsWa6_proto_enumTypes[8] +} + +func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ClientPayload_UserAgent_Platform) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ClientPayload_UserAgent_Platform(num) + return nil +} + +// Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead. +func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 2, 2} +} + +type ClientPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username *uint64 `protobuf:"varint,1,opt,name=username" json:"username,omitempty"` + Passive *bool `protobuf:"varint,3,opt,name=passive" json:"passive,omitempty"` + UserAgent *ClientPayload_UserAgent `protobuf:"bytes,5,opt,name=userAgent" json:"userAgent,omitempty"` + WebInfo *ClientPayload_WebInfo `protobuf:"bytes,6,opt,name=webInfo" json:"webInfo,omitempty"` + PushName *string `protobuf:"bytes,7,opt,name=pushName" json:"pushName,omitempty"` + SessionID *int32 `protobuf:"fixed32,9,opt,name=sessionID" json:"sessionID,omitempty"` + ShortConnect *bool `protobuf:"varint,10,opt,name=shortConnect" json:"shortConnect,omitempty"` + ConnectType *ClientPayload_ConnectType `protobuf:"varint,12,opt,name=connectType,enum=WAWebProtobufsWa6.ClientPayload_ConnectType" json:"connectType,omitempty"` + ConnectReason *ClientPayload_ConnectReason `protobuf:"varint,13,opt,name=connectReason,enum=WAWebProtobufsWa6.ClientPayload_ConnectReason" json:"connectReason,omitempty"` + Shards []int32 `protobuf:"varint,14,rep,name=shards" json:"shards,omitempty"` + DnsSource *ClientPayload_DNSSource `protobuf:"bytes,15,opt,name=dnsSource" json:"dnsSource,omitempty"` + ConnectAttemptCount *uint32 `protobuf:"varint,16,opt,name=connectAttemptCount" json:"connectAttemptCount,omitempty"` + Device *uint32 `protobuf:"varint,18,opt,name=device" json:"device,omitempty"` + DevicePairingData *ClientPayload_DevicePairingRegistrationData `protobuf:"bytes,19,opt,name=devicePairingData" json:"devicePairingData,omitempty"` + Product *ClientPayload_Product `protobuf:"varint,20,opt,name=product,enum=WAWebProtobufsWa6.ClientPayload_Product" json:"product,omitempty"` + FbCat []byte `protobuf:"bytes,21,opt,name=fbCat" json:"fbCat,omitempty"` + FbUserAgent []byte `protobuf:"bytes,22,opt,name=fbUserAgent" json:"fbUserAgent,omitempty"` + Oc *bool `protobuf:"varint,23,opt,name=oc" json:"oc,omitempty"` + Lc *int32 `protobuf:"varint,24,opt,name=lc" json:"lc,omitempty"` + IosAppExtension *ClientPayload_IOSAppExtension `protobuf:"varint,30,opt,name=iosAppExtension,enum=WAWebProtobufsWa6.ClientPayload_IOSAppExtension" json:"iosAppExtension,omitempty"` + FbAppID *uint64 `protobuf:"varint,31,opt,name=fbAppID" json:"fbAppID,omitempty"` + FbDeviceID []byte `protobuf:"bytes,32,opt,name=fbDeviceID" json:"fbDeviceID,omitempty"` + Pull *bool `protobuf:"varint,33,opt,name=pull" json:"pull,omitempty"` + PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes" json:"paddingBytes,omitempty"` + YearClass *int32 `protobuf:"varint,36,opt,name=yearClass" json:"yearClass,omitempty"` + MemClass *int32 `protobuf:"varint,37,opt,name=memClass" json:"memClass,omitempty"` + InteropData *ClientPayload_InteropData `protobuf:"bytes,38,opt,name=interopData" json:"interopData,omitempty"` + IsPcr *bool `protobuf:"varint,39,opt,name=isPcr" json:"isPcr,omitempty"` +} + +func (x *ClientPayload) Reset() { + *x = ClientPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload) ProtoMessage() {} + +func (x *ClientPayload) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead. +func (*ClientPayload) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientPayload) GetUsername() uint64 { + if x != nil && x.Username != nil { + return *x.Username + } + return 0 +} + +func (x *ClientPayload) GetPassive() bool { + if x != nil && x.Passive != nil { + return *x.Passive + } + return false +} + +func (x *ClientPayload) GetUserAgent() *ClientPayload_UserAgent { + if x != nil { + return x.UserAgent + } + return nil +} + +func (x *ClientPayload) GetWebInfo() *ClientPayload_WebInfo { + if x != nil { + return x.WebInfo + } + return nil +} + +func (x *ClientPayload) GetPushName() string { + if x != nil && x.PushName != nil { + return *x.PushName + } + return "" +} + +func (x *ClientPayload) GetSessionID() int32 { + if x != nil && x.SessionID != nil { + return *x.SessionID + } + return 0 +} + +func (x *ClientPayload) GetShortConnect() bool { + if x != nil && x.ShortConnect != nil { + return *x.ShortConnect + } + return false +} + +func (x *ClientPayload) GetConnectType() ClientPayload_ConnectType { + if x != nil && x.ConnectType != nil { + return *x.ConnectType + } + return ClientPayload_CELLULAR_UNKNOWN +} + +func (x *ClientPayload) GetConnectReason() ClientPayload_ConnectReason { + if x != nil && x.ConnectReason != nil { + return *x.ConnectReason + } + return ClientPayload_PUSH +} + +func (x *ClientPayload) GetShards() []int32 { + if x != nil { + return x.Shards + } + return nil +} + +func (x *ClientPayload) GetDnsSource() *ClientPayload_DNSSource { + if x != nil { + return x.DnsSource + } + return nil +} + +func (x *ClientPayload) GetConnectAttemptCount() uint32 { + if x != nil && x.ConnectAttemptCount != nil { + return *x.ConnectAttemptCount + } + return 0 +} + +func (x *ClientPayload) GetDevice() uint32 { + if x != nil && x.Device != nil { + return *x.Device + } + return 0 +} + +func (x *ClientPayload) GetDevicePairingData() *ClientPayload_DevicePairingRegistrationData { + if x != nil { + return x.DevicePairingData + } + return nil +} + +func (x *ClientPayload) GetProduct() ClientPayload_Product { + if x != nil && x.Product != nil { + return *x.Product + } + return ClientPayload_WHATSAPP +} + +func (x *ClientPayload) GetFbCat() []byte { + if x != nil { + return x.FbCat + } + return nil +} + +func (x *ClientPayload) GetFbUserAgent() []byte { + if x != nil { + return x.FbUserAgent + } + return nil +} + +func (x *ClientPayload) GetOc() bool { + if x != nil && x.Oc != nil { + return *x.Oc + } + return false +} + +func (x *ClientPayload) GetLc() int32 { + if x != nil && x.Lc != nil { + return *x.Lc + } + return 0 +} + +func (x *ClientPayload) GetIosAppExtension() ClientPayload_IOSAppExtension { + if x != nil && x.IosAppExtension != nil { + return *x.IosAppExtension + } + return ClientPayload_SHARE_EXTENSION +} + +func (x *ClientPayload) GetFbAppID() uint64 { + if x != nil && x.FbAppID != nil { + return *x.FbAppID + } + return 0 +} + +func (x *ClientPayload) GetFbDeviceID() []byte { + if x != nil { + return x.FbDeviceID + } + return nil +} + +func (x *ClientPayload) GetPull() bool { + if x != nil && x.Pull != nil { + return *x.Pull + } + return false +} + +func (x *ClientPayload) GetPaddingBytes() []byte { + if x != nil { + return x.PaddingBytes + } + return nil +} + +func (x *ClientPayload) GetYearClass() int32 { + if x != nil && x.YearClass != nil { + return *x.YearClass + } + return 0 +} + +func (x *ClientPayload) GetMemClass() int32 { + if x != nil && x.MemClass != nil { + return *x.MemClass + } + return 0 +} + +func (x *ClientPayload) GetInteropData() *ClientPayload_InteropData { + if x != nil { + return x.InteropData + } + return nil +} + +func (x *ClientPayload) GetIsPcr() bool { + if x != nil && x.IsPcr != nil { + return *x.IsPcr + } + return false +} + +type HandshakeMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientHello *HandshakeMessage_ClientHello `protobuf:"bytes,2,opt,name=clientHello" json:"clientHello,omitempty"` + ServerHello *HandshakeMessage_ServerHello `protobuf:"bytes,3,opt,name=serverHello" json:"serverHello,omitempty"` + ClientFinish *HandshakeMessage_ClientFinish `protobuf:"bytes,4,opt,name=clientFinish" json:"clientFinish,omitempty"` +} + +func (x *HandshakeMessage) Reset() { + *x = HandshakeMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage) ProtoMessage() {} + +func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage.ProtoReflect.Descriptor instead. +func (*HandshakeMessage) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{1} +} + +func (x *HandshakeMessage) GetClientHello() *HandshakeMessage_ClientHello { + if x != nil { + return x.ClientHello + } + return nil +} + +func (x *HandshakeMessage) GetServerHello() *HandshakeMessage_ServerHello { + if x != nil { + return x.ServerHello + } + return nil +} + +func (x *HandshakeMessage) GetClientFinish() *HandshakeMessage_ClientFinish { + if x != nil { + return x.ClientFinish + } + return nil +} + +type ClientPayload_DNSSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsMethod *ClientPayload_DNSSource_DNSResolutionMethod `protobuf:"varint,15,opt,name=dnsMethod,enum=WAWebProtobufsWa6.ClientPayload_DNSSource_DNSResolutionMethod" json:"dnsMethod,omitempty"` + AppCached *bool `protobuf:"varint,16,opt,name=appCached" json:"appCached,omitempty"` +} + +func (x *ClientPayload_DNSSource) Reset() { + *x = ClientPayload_DNSSource{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_DNSSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_DNSSource) ProtoMessage() {} + +func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_DNSSource.ProtoReflect.Descriptor instead. +func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod { + if x != nil && x.DnsMethod != nil { + return *x.DnsMethod + } + return ClientPayload_DNSSource_SYSTEM +} + +func (x *ClientPayload_DNSSource) GetAppCached() bool { + if x != nil && x.AppCached != nil { + return *x.AppCached + } + return false +} + +type ClientPayload_WebInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefToken *string `protobuf:"bytes,1,opt,name=refToken" json:"refToken,omitempty"` + Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + WebdPayload *ClientPayload_WebInfo_WebdPayload `protobuf:"bytes,3,opt,name=webdPayload" json:"webdPayload,omitempty"` + WebSubPlatform *ClientPayload_WebInfo_WebSubPlatform `protobuf:"varint,4,opt,name=webSubPlatform,enum=WAWebProtobufsWa6.ClientPayload_WebInfo_WebSubPlatform" json:"webSubPlatform,omitempty"` +} + +func (x *ClientPayload_WebInfo) Reset() { + *x = ClientPayload_WebInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_WebInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_WebInfo) ProtoMessage() {} + +func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_WebInfo.ProtoReflect.Descriptor instead. +func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *ClientPayload_WebInfo) GetRefToken() string { + if x != nil && x.RefToken != nil { + return *x.RefToken + } + return "" +} + +func (x *ClientPayload_WebInfo) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +func (x *ClientPayload_WebInfo) GetWebdPayload() *ClientPayload_WebInfo_WebdPayload { + if x != nil { + return x.WebdPayload + } + return nil +} + +func (x *ClientPayload_WebInfo) GetWebSubPlatform() ClientPayload_WebInfo_WebSubPlatform { + if x != nil && x.WebSubPlatform != nil { + return *x.WebSubPlatform + } + return ClientPayload_WebInfo_WEB_BROWSER +} + +type ClientPayload_UserAgent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform *ClientPayload_UserAgent_Platform `protobuf:"varint,1,opt,name=platform,enum=WAWebProtobufsWa6.ClientPayload_UserAgent_Platform" json:"platform,omitempty"` + AppVersion *ClientPayload_UserAgent_AppVersion `protobuf:"bytes,2,opt,name=appVersion" json:"appVersion,omitempty"` + Mcc *string `protobuf:"bytes,3,opt,name=mcc" json:"mcc,omitempty"` + Mnc *string `protobuf:"bytes,4,opt,name=mnc" json:"mnc,omitempty"` + OsVersion *string `protobuf:"bytes,5,opt,name=osVersion" json:"osVersion,omitempty"` + Manufacturer *string `protobuf:"bytes,6,opt,name=manufacturer" json:"manufacturer,omitempty"` + Device *string `protobuf:"bytes,7,opt,name=device" json:"device,omitempty"` + OsBuildNumber *string `protobuf:"bytes,8,opt,name=osBuildNumber" json:"osBuildNumber,omitempty"` + PhoneID *string `protobuf:"bytes,9,opt,name=phoneID" json:"phoneID,omitempty"` + ReleaseChannel *ClientPayload_UserAgent_ReleaseChannel `protobuf:"varint,10,opt,name=releaseChannel,enum=WAWebProtobufsWa6.ClientPayload_UserAgent_ReleaseChannel" json:"releaseChannel,omitempty"` + LocaleLanguageIso6391 *string `protobuf:"bytes,11,opt,name=localeLanguageIso6391" json:"localeLanguageIso6391,omitempty"` + LocaleCountryIso31661Alpha2 *string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2" json:"localeCountryIso31661Alpha2,omitempty"` + DeviceBoard *string `protobuf:"bytes,13,opt,name=deviceBoard" json:"deviceBoard,omitempty"` + DeviceExpID *string `protobuf:"bytes,14,opt,name=deviceExpID" json:"deviceExpID,omitempty"` + DeviceType *ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,enum=WAWebProtobufsWa6.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"` + DeviceModelType *string `protobuf:"bytes,16,opt,name=deviceModelType" json:"deviceModelType,omitempty"` +} + +func (x *ClientPayload_UserAgent) Reset() { + *x = ClientPayload_UserAgent{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_UserAgent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_UserAgent) ProtoMessage() {} + +func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_UserAgent.ProtoReflect.Descriptor instead. +func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform { + if x != nil && x.Platform != nil { + return *x.Platform + } + return ClientPayload_UserAgent_ANDROID +} + +func (x *ClientPayload_UserAgent) GetAppVersion() *ClientPayload_UserAgent_AppVersion { + if x != nil { + return x.AppVersion + } + return nil +} + +func (x *ClientPayload_UserAgent) GetMcc() string { + if x != nil && x.Mcc != nil { + return *x.Mcc + } + return "" +} + +func (x *ClientPayload_UserAgent) GetMnc() string { + if x != nil && x.Mnc != nil { + return *x.Mnc + } + return "" +} + +func (x *ClientPayload_UserAgent) GetOsVersion() string { + if x != nil && x.OsVersion != nil { + return *x.OsVersion + } + return "" +} + +func (x *ClientPayload_UserAgent) GetManufacturer() string { + if x != nil && x.Manufacturer != nil { + return *x.Manufacturer + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDevice() string { + if x != nil && x.Device != nil { + return *x.Device + } + return "" +} + +func (x *ClientPayload_UserAgent) GetOsBuildNumber() string { + if x != nil && x.OsBuildNumber != nil { + return *x.OsBuildNumber + } + return "" +} + +func (x *ClientPayload_UserAgent) GetPhoneID() string { + if x != nil && x.PhoneID != nil { + return *x.PhoneID + } + return "" +} + +func (x *ClientPayload_UserAgent) GetReleaseChannel() ClientPayload_UserAgent_ReleaseChannel { + if x != nil && x.ReleaseChannel != nil { + return *x.ReleaseChannel + } + return ClientPayload_UserAgent_RELEASE +} + +func (x *ClientPayload_UserAgent) GetLocaleLanguageIso6391() string { + if x != nil && x.LocaleLanguageIso6391 != nil { + return *x.LocaleLanguageIso6391 + } + return "" +} + +func (x *ClientPayload_UserAgent) GetLocaleCountryIso31661Alpha2() string { + if x != nil && x.LocaleCountryIso31661Alpha2 != nil { + return *x.LocaleCountryIso31661Alpha2 + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceBoard() string { + if x != nil && x.DeviceBoard != nil { + return *x.DeviceBoard + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceExpID() string { + if x != nil && x.DeviceExpID != nil { + return *x.DeviceExpID + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType { + if x != nil && x.DeviceType != nil { + return *x.DeviceType + } + return ClientPayload_UserAgent_PHONE +} + +func (x *ClientPayload_UserAgent) GetDeviceModelType() string { + if x != nil && x.DeviceModelType != nil { + return *x.DeviceModelType + } + return "" +} + +type ClientPayload_InteropData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountID *uint64 `protobuf:"varint,1,opt,name=accountID" json:"accountID,omitempty"` + Token []byte `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` +} + +func (x *ClientPayload_InteropData) Reset() { + *x = ClientPayload_InteropData{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_InteropData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_InteropData) ProtoMessage() {} + +func (x *ClientPayload_InteropData) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_InteropData.ProtoReflect.Descriptor instead. +func (*ClientPayload_InteropData) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 3} +} + +func (x *ClientPayload_InteropData) GetAccountID() uint64 { + if x != nil && x.AccountID != nil { + return *x.AccountID + } + return 0 +} + +func (x *ClientPayload_InteropData) GetToken() []byte { + if x != nil { + return x.Token + } + return nil +} + +type ClientPayload_DevicePairingRegistrationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ERegid []byte `protobuf:"bytes,1,opt,name=eRegid" json:"eRegid,omitempty"` + EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype" json:"eKeytype,omitempty"` + EIdent []byte `protobuf:"bytes,3,opt,name=eIdent" json:"eIdent,omitempty"` + ESkeyID []byte `protobuf:"bytes,4,opt,name=eSkeyID" json:"eSkeyID,omitempty"` + ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal" json:"eSkeyVal,omitempty"` + ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig" json:"eSkeySig,omitempty"` + BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash" json:"buildHash,omitempty"` + DeviceProps []byte `protobuf:"bytes,8,opt,name=deviceProps" json:"deviceProps,omitempty"` +} + +func (x *ClientPayload_DevicePairingRegistrationData) Reset() { + *x = ClientPayload_DevicePairingRegistrationData{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_DevicePairingRegistrationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {} + +func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead. +func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 4} +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte { + if x != nil { + return x.ERegid + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetEKeytype() []byte { + if x != nil { + return x.EKeytype + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetEIdent() []byte { + if x != nil { + return x.EIdent + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyID() []byte { + if x != nil { + return x.ESkeyID + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyVal() []byte { + if x != nil { + return x.ESkeyVal + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetESkeySig() []byte { + if x != nil { + return x.ESkeySig + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetBuildHash() []byte { + if x != nil { + return x.BuildHash + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetDeviceProps() []byte { + if x != nil { + return x.DeviceProps + } + return nil +} + +type ClientPayload_WebInfo_WebdPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UsesParticipantInKey *bool `protobuf:"varint,1,opt,name=usesParticipantInKey" json:"usesParticipantInKey,omitempty"` + SupportsStarredMessages *bool `protobuf:"varint,2,opt,name=supportsStarredMessages" json:"supportsStarredMessages,omitempty"` + SupportsDocumentMessages *bool `protobuf:"varint,3,opt,name=supportsDocumentMessages" json:"supportsDocumentMessages,omitempty"` + SupportsURLMessages *bool `protobuf:"varint,4,opt,name=supportsURLMessages" json:"supportsURLMessages,omitempty"` + SupportsMediaRetry *bool `protobuf:"varint,5,opt,name=supportsMediaRetry" json:"supportsMediaRetry,omitempty"` + SupportsE2EImage *bool `protobuf:"varint,6,opt,name=supportsE2EImage" json:"supportsE2EImage,omitempty"` + SupportsE2EVideo *bool `protobuf:"varint,7,opt,name=supportsE2EVideo" json:"supportsE2EVideo,omitempty"` + SupportsE2EAudio *bool `protobuf:"varint,8,opt,name=supportsE2EAudio" json:"supportsE2EAudio,omitempty"` + SupportsE2EDocument *bool `protobuf:"varint,9,opt,name=supportsE2EDocument" json:"supportsE2EDocument,omitempty"` + DocumentTypes *string `protobuf:"bytes,10,opt,name=documentTypes" json:"documentTypes,omitempty"` + Features []byte `protobuf:"bytes,11,opt,name=features" json:"features,omitempty"` +} + +func (x *ClientPayload_WebInfo_WebdPayload) Reset() { + *x = ClientPayload_WebInfo_WebdPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_WebInfo_WebdPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_WebInfo_WebdPayload) ProtoMessage() {} + +func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead. +func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool { + if x != nil && x.UsesParticipantInKey != nil { + return *x.UsesParticipantInKey + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsStarredMessages() bool { + if x != nil && x.SupportsStarredMessages != nil { + return *x.SupportsStarredMessages + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsDocumentMessages() bool { + if x != nil && x.SupportsDocumentMessages != nil { + return *x.SupportsDocumentMessages + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsURLMessages() bool { + if x != nil && x.SupportsURLMessages != nil { + return *x.SupportsURLMessages + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsMediaRetry() bool { + if x != nil && x.SupportsMediaRetry != nil { + return *x.SupportsMediaRetry + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EImage() bool { + if x != nil && x.SupportsE2EImage != nil { + return *x.SupportsE2EImage + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EVideo() bool { + if x != nil && x.SupportsE2EVideo != nil { + return *x.SupportsE2EVideo + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EAudio() bool { + if x != nil && x.SupportsE2EAudio != nil { + return *x.SupportsE2EAudio + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EDocument() bool { + if x != nil && x.SupportsE2EDocument != nil { + return *x.SupportsE2EDocument + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetDocumentTypes() string { + if x != nil && x.DocumentTypes != nil { + return *x.DocumentTypes + } + return "" +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetFeatures() []byte { + if x != nil { + return x.Features + } + return nil +} + +type ClientPayload_UserAgent_AppVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Primary *uint32 `protobuf:"varint,1,opt,name=primary" json:"primary,omitempty"` + Secondary *uint32 `protobuf:"varint,2,opt,name=secondary" json:"secondary,omitempty"` + Tertiary *uint32 `protobuf:"varint,3,opt,name=tertiary" json:"tertiary,omitempty"` + Quaternary *uint32 `protobuf:"varint,4,opt,name=quaternary" json:"quaternary,omitempty"` + Quinary *uint32 `protobuf:"varint,5,opt,name=quinary" json:"quinary,omitempty"` +} + +func (x *ClientPayload_UserAgent_AppVersion) Reset() { + *x = ClientPayload_UserAgent_AppVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_UserAgent_AppVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {} + +func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead. +func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{0, 2, 0} +} + +func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 { + if x != nil && x.Primary != nil { + return *x.Primary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetSecondary() uint32 { + if x != nil && x.Secondary != nil { + return *x.Secondary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetTertiary() uint32 { + if x != nil && x.Tertiary != nil { + return *x.Tertiary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetQuaternary() uint32 { + if x != nil && x.Quaternary != nil { + return *x.Quaternary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetQuinary() uint32 { + if x != nil && x.Quinary != nil { + return *x.Quinary + } + return 0 +} + +type HandshakeMessage_ClientFinish struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Static []byte `protobuf:"bytes,1,opt,name=static" json:"static,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` +} + +func (x *HandshakeMessage_ClientFinish) Reset() { + *x = HandshakeMessage_ClientFinish{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage_ClientFinish) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage_ClientFinish) ProtoMessage() {} + +func (x *HandshakeMessage_ClientFinish) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage_ClientFinish.ProtoReflect.Descriptor instead. +func (*HandshakeMessage_ClientFinish) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *HandshakeMessage_ClientFinish) GetStatic() []byte { + if x != nil { + return x.Static + } + return nil +} + +func (x *HandshakeMessage_ClientFinish) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +type HandshakeMessage_ServerHello struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral" json:"ephemeral,omitempty"` + Static []byte `protobuf:"bytes,2,opt,name=static" json:"static,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` +} + +func (x *HandshakeMessage_ServerHello) Reset() { + *x = HandshakeMessage_ServerHello{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage_ServerHello) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage_ServerHello) ProtoMessage() {} + +func (x *HandshakeMessage_ServerHello) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage_ServerHello.ProtoReflect.Descriptor instead. +func (*HandshakeMessage_ServerHello) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{1, 1} +} + +func (x *HandshakeMessage_ServerHello) GetEphemeral() []byte { + if x != nil { + return x.Ephemeral + } + return nil +} + +func (x *HandshakeMessage_ServerHello) GetStatic() []byte { + if x != nil { + return x.Static + } + return nil +} + +func (x *HandshakeMessage_ServerHello) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +type HandshakeMessage_ClientHello struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral" json:"ephemeral,omitempty"` + Static []byte `protobuf:"bytes,2,opt,name=static" json:"static,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` +} + +func (x *HandshakeMessage_ClientHello) Reset() { + *x = HandshakeMessage_ClientHello{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage_ClientHello) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage_ClientHello) ProtoMessage() {} + +func (x *HandshakeMessage_ClientHello) ProtoReflect() protoreflect.Message { + mi := &file_waWa6_WAWebProtobufsWa6_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage_ClientHello.ProtoReflect.Descriptor instead. +func (*HandshakeMessage_ClientHello) Descriptor() ([]byte, []int) { + return file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP(), []int{1, 2} +} + +func (x *HandshakeMessage_ClientHello) GetEphemeral() []byte { + if x != nil { + return x.Ephemeral + } + return nil +} + +func (x *HandshakeMessage_ClientHello) GetStatic() []byte { + if x != nil { + return x.Static + } + return nil +} + +func (x *HandshakeMessage_ClientHello) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +var File_waWa6_WAWebProtobufsWa6_proto protoreflect.FileDescriptor + +//go:embed WAWebProtobufsWa6.pb.raw +var file_waWa6_WAWebProtobufsWa6_proto_rawDesc []byte + +var ( + file_waWa6_WAWebProtobufsWa6_proto_rawDescOnce sync.Once + file_waWa6_WAWebProtobufsWa6_proto_rawDescData = file_waWa6_WAWebProtobufsWa6_proto_rawDesc +) + +func file_waWa6_WAWebProtobufsWa6_proto_rawDescGZIP() []byte { + file_waWa6_WAWebProtobufsWa6_proto_rawDescOnce.Do(func() { + file_waWa6_WAWebProtobufsWa6_proto_rawDescData = protoimpl.X.CompressGZIP(file_waWa6_WAWebProtobufsWa6_proto_rawDescData) + }) + return file_waWa6_WAWebProtobufsWa6_proto_rawDescData +} + +var file_waWa6_WAWebProtobufsWa6_proto_enumTypes = make([]protoimpl.EnumInfo, 9) +var file_waWa6_WAWebProtobufsWa6_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_waWa6_WAWebProtobufsWa6_proto_goTypes = []interface{}{ + (ClientPayload_Product)(0), // 0: WAWebProtobufsWa6.ClientPayload.Product + (ClientPayload_ConnectType)(0), // 1: WAWebProtobufsWa6.ClientPayload.ConnectType + (ClientPayload_ConnectReason)(0), // 2: WAWebProtobufsWa6.ClientPayload.ConnectReason + (ClientPayload_IOSAppExtension)(0), // 3: WAWebProtobufsWa6.ClientPayload.IOSAppExtension + (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 4: WAWebProtobufsWa6.ClientPayload.DNSSource.DNSResolutionMethod + (ClientPayload_WebInfo_WebSubPlatform)(0), // 5: WAWebProtobufsWa6.ClientPayload.WebInfo.WebSubPlatform + (ClientPayload_UserAgent_DeviceType)(0), // 6: WAWebProtobufsWa6.ClientPayload.UserAgent.DeviceType + (ClientPayload_UserAgent_ReleaseChannel)(0), // 7: WAWebProtobufsWa6.ClientPayload.UserAgent.ReleaseChannel + (ClientPayload_UserAgent_Platform)(0), // 8: WAWebProtobufsWa6.ClientPayload.UserAgent.Platform + (*ClientPayload)(nil), // 9: WAWebProtobufsWa6.ClientPayload + (*HandshakeMessage)(nil), // 10: WAWebProtobufsWa6.HandshakeMessage + (*ClientPayload_DNSSource)(nil), // 11: WAWebProtobufsWa6.ClientPayload.DNSSource + (*ClientPayload_WebInfo)(nil), // 12: WAWebProtobufsWa6.ClientPayload.WebInfo + (*ClientPayload_UserAgent)(nil), // 13: WAWebProtobufsWa6.ClientPayload.UserAgent + (*ClientPayload_InteropData)(nil), // 14: WAWebProtobufsWa6.ClientPayload.InteropData + (*ClientPayload_DevicePairingRegistrationData)(nil), // 15: WAWebProtobufsWa6.ClientPayload.DevicePairingRegistrationData + (*ClientPayload_WebInfo_WebdPayload)(nil), // 16: WAWebProtobufsWa6.ClientPayload.WebInfo.WebdPayload + (*ClientPayload_UserAgent_AppVersion)(nil), // 17: WAWebProtobufsWa6.ClientPayload.UserAgent.AppVersion + (*HandshakeMessage_ClientFinish)(nil), // 18: WAWebProtobufsWa6.HandshakeMessage.ClientFinish + (*HandshakeMessage_ServerHello)(nil), // 19: WAWebProtobufsWa6.HandshakeMessage.ServerHello + (*HandshakeMessage_ClientHello)(nil), // 20: WAWebProtobufsWa6.HandshakeMessage.ClientHello +} +var file_waWa6_WAWebProtobufsWa6_proto_depIdxs = []int32{ + 13, // 0: WAWebProtobufsWa6.ClientPayload.userAgent:type_name -> WAWebProtobufsWa6.ClientPayload.UserAgent + 12, // 1: WAWebProtobufsWa6.ClientPayload.webInfo:type_name -> WAWebProtobufsWa6.ClientPayload.WebInfo + 1, // 2: WAWebProtobufsWa6.ClientPayload.connectType:type_name -> WAWebProtobufsWa6.ClientPayload.ConnectType + 2, // 3: WAWebProtobufsWa6.ClientPayload.connectReason:type_name -> WAWebProtobufsWa6.ClientPayload.ConnectReason + 11, // 4: WAWebProtobufsWa6.ClientPayload.dnsSource:type_name -> WAWebProtobufsWa6.ClientPayload.DNSSource + 15, // 5: WAWebProtobufsWa6.ClientPayload.devicePairingData:type_name -> WAWebProtobufsWa6.ClientPayload.DevicePairingRegistrationData + 0, // 6: WAWebProtobufsWa6.ClientPayload.product:type_name -> WAWebProtobufsWa6.ClientPayload.Product + 3, // 7: WAWebProtobufsWa6.ClientPayload.iosAppExtension:type_name -> WAWebProtobufsWa6.ClientPayload.IOSAppExtension + 14, // 8: WAWebProtobufsWa6.ClientPayload.interopData:type_name -> WAWebProtobufsWa6.ClientPayload.InteropData + 20, // 9: WAWebProtobufsWa6.HandshakeMessage.clientHello:type_name -> WAWebProtobufsWa6.HandshakeMessage.ClientHello + 19, // 10: WAWebProtobufsWa6.HandshakeMessage.serverHello:type_name -> WAWebProtobufsWa6.HandshakeMessage.ServerHello + 18, // 11: WAWebProtobufsWa6.HandshakeMessage.clientFinish:type_name -> WAWebProtobufsWa6.HandshakeMessage.ClientFinish + 4, // 12: WAWebProtobufsWa6.ClientPayload.DNSSource.dnsMethod:type_name -> WAWebProtobufsWa6.ClientPayload.DNSSource.DNSResolutionMethod + 16, // 13: WAWebProtobufsWa6.ClientPayload.WebInfo.webdPayload:type_name -> WAWebProtobufsWa6.ClientPayload.WebInfo.WebdPayload + 5, // 14: WAWebProtobufsWa6.ClientPayload.WebInfo.webSubPlatform:type_name -> WAWebProtobufsWa6.ClientPayload.WebInfo.WebSubPlatform + 8, // 15: WAWebProtobufsWa6.ClientPayload.UserAgent.platform:type_name -> WAWebProtobufsWa6.ClientPayload.UserAgent.Platform + 17, // 16: WAWebProtobufsWa6.ClientPayload.UserAgent.appVersion:type_name -> WAWebProtobufsWa6.ClientPayload.UserAgent.AppVersion + 7, // 17: WAWebProtobufsWa6.ClientPayload.UserAgent.releaseChannel:type_name -> WAWebProtobufsWa6.ClientPayload.UserAgent.ReleaseChannel + 6, // 18: WAWebProtobufsWa6.ClientPayload.UserAgent.deviceType:type_name -> WAWebProtobufsWa6.ClientPayload.UserAgent.DeviceType + 19, // [19:19] is the sub-list for method output_type + 19, // [19:19] is the sub-list for method input_type + 19, // [19:19] is the sub-list for extension type_name + 19, // [19:19] is the sub-list for extension extendee + 0, // [0:19] is the sub-list for field type_name +} + +func init() { file_waWa6_WAWebProtobufsWa6_proto_init() } +func file_waWa6_WAWebProtobufsWa6_proto_init() { + if File_waWa6_WAWebProtobufsWa6_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DNSSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_InteropData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent_AppVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage_ClientFinish); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage_ServerHello); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa6_WAWebProtobufsWa6_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage_ClientHello); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waWa6_WAWebProtobufsWa6_proto_rawDesc, + NumEnums: 9, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waWa6_WAWebProtobufsWa6_proto_goTypes, + DependencyIndexes: file_waWa6_WAWebProtobufsWa6_proto_depIdxs, + EnumInfos: file_waWa6_WAWebProtobufsWa6_proto_enumTypes, + MessageInfos: file_waWa6_WAWebProtobufsWa6_proto_msgTypes, + }.Build() + File_waWa6_WAWebProtobufsWa6_proto = out.File + file_waWa6_WAWebProtobufsWa6_proto_rawDesc = nil + file_waWa6_WAWebProtobufsWa6_proto_goTypes = nil + file_waWa6_WAWebProtobufsWa6_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..322a7d4fd63680cee866bfb401564588f4ede4c7 GIT binary patch literal 5520 zcmb_g+iu&)8Ln;FmPQ9N%!&1GPU?0WED9x2(zIKk#Zn|K5tb-+NJ&Z1LZHQw#YQ5v zB$cdRpclO;(A&O1Z~F{=lLCE>0{#CXDN&A7CqS>r|Mbo2Kh2PP@12qJ^2taZu`@Fa z;^1sGjeyfwA|c-RKv4ht*QBbpG{(kfI^XO z@kE1^CyCg;STd;sDz)a%ubpKIi8eG3Aljsw;!);AfiG1#V&hX06Dzt6BHkef(aZ_m zNUA;Dd%RCm3Qx-QBP&>i6DA$ONS|_2s$nG-bYm<&B{$P~%W=#WOW3p(oW1~l%0D~96B+aFQU*7fziVt z9^4fi?=2Xk*1X=sAec}e{5|;*Z;}1!nc~FKZ9u5dgb*K+^7L%&)zTd<%d^B9*$pPr zT@Vy0{2@J`ND|Qd6#m3F-i}@d!swlzfeQHj z1HdfMj1=z^GCfQ75rhvxSfM$ND3Zc*HJ?k5KvJaqA0uVyxGtPl>mp{6ROeP(JdCvq z=7h=|l7{pZDD2Y>1EX}o7K!kuT)3t&#yme}VX)-B@HL3bpAcjE#)jqr@VvapoP^TP z0I5h5;`m=Xq_lQz@%KD3dMus=E{}{_^Ao%;i;M;UQ5FUB75ZL+!lNbm#l3KrOU0SY zn9F0NNH>i7D{}J+dy$X>>$PQTJ>f_A-|qL@T}{{#tEAMCsjBo84OS(hPWdSd%+q#^8NmpLEULY0uwDY)}pI;@+A=@Nglyj@h ziNvo+)lK&j>uAL5bBS&<(aopKiB};glws@&UDNd;sew!6yhc0%C(&Bt7VVELjY6P7 zaLJ}Qw(LGlV{N1xDY=VbsLB*L5NRc{4?oYF5N7|ZkkUHyi+yN7GN;BSs@8mdty8b9 z8(BO+*OG#W141Bs408cmZvNskAR+Ci#xw^c3S@6FnedP6xDKiK9wK;c(TJzh_*ciG6KraD`FUakAFmdLr>-gs@2ogOC zUOxZ!8TYFay;>-KN4`j`ct;dofYI}3FJC^B=gXPX|DNIIUx2? ziutiha~vG=`<2Iq=(;dwO4d&Z*(?wv+3fTUEvd7%-0EsJ)Y&pQR5k0=?wd)K9ceN} z8N~hp*&R}$Q2!07ZTk=!QLU@V7NQkNp{3a}V8IY_*X+oE1iz}*8nlJI`kxD=n8iC< z%7#k&x(b$uWDi<8FuXykkY!XzPvc~cyU;e0Ru}4f3yS`0m<;5w4gE?ept1Ghsj$y~ zUOp8L5XF3L!y3m*SJw<%IK*k#`Wwvb1t%YzXR}$~d1g&Jtxv zRFFs~Csc7TNToszlcd?Fw%iqtaNsu8G-C}WK$58>EInD!4dk@C18uD%CQAZNs&W&W z(Ar6>tJ@o;TZrA;V%S# zPr@wZ; ze|E^d#IHYcBf@OV@S5au$O=s<3^NAZP>grl1aeJt8{NgbJq94!a0&PmRa68uNRpNXk7CdR)mfd&3Kbhp&P~~>A{6;8S#2i$T7Kup8+o`kKRIb*-nV;BqdW^O^+>x*@PF)}Uuw!gPzJ4b{GIzQt;r z)DmXs+-t0krJAzfUE&RZ_s1>Mjs>i@TP#KG$-;cg^4TkD+rnatr*){Q3O+7#J!;q1 zgkVbx@l9b_|I-dEG}*G`MS_Rj!0Nz8!Mq31T#aSL)`zkUmll49v6POc4!ZmfbCVoF zGV9YZ)s((rXo?Ma4eSif9`)(z*c$1!(t*?lJX1H?IlX<%LfNSt)NOKf=`Jh+xCIv` zZLGbrHN(>TczUca#J2YnIPZE|2KT=(VGY7L1W>p8dLAd` WACommon.MessageKey + 31, // 1: WAWebProtobufsWeb.WebMessageInfo.message:type_name -> WAWebProtobufsE2E.Message + 2, // 2: WAWebProtobufsWeb.WebMessageInfo.status:type_name -> WAWebProtobufsWeb.WebMessageInfo.Status + 1, // 3: WAWebProtobufsWeb.WebMessageInfo.messageStubType:type_name -> WAWebProtobufsWeb.WebMessageInfo.StubType + 10, // 4: WAWebProtobufsWeb.WebMessageInfo.paymentInfo:type_name -> WAWebProtobufsWeb.PaymentInfo + 32, // 5: WAWebProtobufsWeb.WebMessageInfo.finalLiveLocation:type_name -> WAWebProtobufsE2E.LiveLocationMessage + 10, // 6: WAWebProtobufsWeb.WebMessageInfo.quotedPaymentInfo:type_name -> WAWebProtobufsWeb.PaymentInfo + 0, // 7: WAWebProtobufsWeb.WebMessageInfo.bizPrivacyStatus:type_name -> WAWebProtobufsWeb.WebMessageInfo.BizPrivacyStatus + 18, // 8: WAWebProtobufsWeb.WebMessageInfo.mediaData:type_name -> WAWebProtobufsWeb.MediaData + 19, // 9: WAWebProtobufsWeb.WebMessageInfo.photoChange:type_name -> WAWebProtobufsWeb.PhotoChange + 21, // 10: WAWebProtobufsWeb.WebMessageInfo.userReceipt:type_name -> WAWebProtobufsWeb.UserReceipt + 22, // 11: WAWebProtobufsWeb.WebMessageInfo.reactions:type_name -> WAWebProtobufsWeb.Reaction + 18, // 12: WAWebProtobufsWeb.WebMessageInfo.quotedStickerData:type_name -> WAWebProtobufsWeb.MediaData + 20, // 13: WAWebProtobufsWeb.WebMessageInfo.statusPsa:type_name -> WAWebProtobufsWeb.StatusPSA + 23, // 14: WAWebProtobufsWeb.WebMessageInfo.pollUpdates:type_name -> WAWebProtobufsWeb.PollUpdate + 24, // 15: WAWebProtobufsWeb.WebMessageInfo.pollAdditionalMetadata:type_name -> WAWebProtobufsWeb.PollAdditionalMetadata + 26, // 16: WAWebProtobufsWeb.WebMessageInfo.keepInChat:type_name -> WAWebProtobufsWeb.KeepInChat + 12, // 17: WAWebProtobufsWeb.WebMessageInfo.pinInChat:type_name -> WAWebProtobufsWeb.PinInChat + 28, // 18: WAWebProtobufsWeb.WebMessageInfo.premiumMessageInfo:type_name -> WAWebProtobufsWeb.PremiumMessageInfo + 14, // 19: WAWebProtobufsWeb.WebMessageInfo.commentMetadata:type_name -> WAWebProtobufsWeb.CommentMetadata + 29, // 20: WAWebProtobufsWeb.WebMessageInfo.eventResponses:type_name -> WAWebProtobufsWeb.EventResponse + 17, // 21: WAWebProtobufsWeb.WebMessageInfo.reportingTokenInfo:type_name -> WAWebProtobufsWeb.ReportingTokenInfo + 25, // 22: WAWebProtobufsWeb.WebMessageInfo.eventAdditionalMetadata:type_name -> WAWebProtobufsWeb.EventAdditionalMetadata + 30, // 23: WAWebProtobufsWeb.WebMessageInfo.targetMessageID:type_name -> WACommon.MessageKey + 13, // 24: WAWebProtobufsWeb.WebMessageInfo.messageAddOns:type_name -> WAWebProtobufsWeb.MessageAddOn + 5, // 25: WAWebProtobufsWeb.PaymentInfo.currencyDeprecated:type_name -> WAWebProtobufsWeb.PaymentInfo.Currency + 4, // 26: WAWebProtobufsWeb.PaymentInfo.status:type_name -> WAWebProtobufsWeb.PaymentInfo.Status + 30, // 27: WAWebProtobufsWeb.PaymentInfo.requestMessageKey:type_name -> WACommon.MessageKey + 3, // 28: WAWebProtobufsWeb.PaymentInfo.txnStatus:type_name -> WAWebProtobufsWeb.PaymentInfo.TxnStatus + 33, // 29: WAWebProtobufsWeb.PaymentInfo.primaryAmount:type_name -> WAWebProtobufsE2E.Money + 33, // 30: WAWebProtobufsWeb.PaymentInfo.exchangeAmount:type_name -> WAWebProtobufsE2E.Money + 6, // 31: WAWebProtobufsWeb.WebFeatures.labelsDisplay:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 32: WAWebProtobufsWeb.WebFeatures.voipIndividualOutgoing:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 33: WAWebProtobufsWeb.WebFeatures.groupsV3:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 34: WAWebProtobufsWeb.WebFeatures.groupsV3Create:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 35: WAWebProtobufsWeb.WebFeatures.changeNumberV2:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 36: WAWebProtobufsWeb.WebFeatures.queryStatusV3Thumbnail:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 37: WAWebProtobufsWeb.WebFeatures.liveLocations:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 38: WAWebProtobufsWeb.WebFeatures.queryVname:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 39: WAWebProtobufsWeb.WebFeatures.voipIndividualIncoming:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 40: WAWebProtobufsWeb.WebFeatures.quickRepliesQuery:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 41: WAWebProtobufsWeb.WebFeatures.payments:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 42: WAWebProtobufsWeb.WebFeatures.stickerPackQuery:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 43: WAWebProtobufsWeb.WebFeatures.liveLocationsFinal:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 44: WAWebProtobufsWeb.WebFeatures.labelsEdit:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 45: WAWebProtobufsWeb.WebFeatures.mediaUpload:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 46: WAWebProtobufsWeb.WebFeatures.mediaUploadRichQuickReplies:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 47: WAWebProtobufsWeb.WebFeatures.vnameV2:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 48: WAWebProtobufsWeb.WebFeatures.videoPlaybackURL:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 49: WAWebProtobufsWeb.WebFeatures.statusRanking:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 50: WAWebProtobufsWeb.WebFeatures.voipIndividualVideo:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 51: WAWebProtobufsWeb.WebFeatures.thirdPartyStickers:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 52: WAWebProtobufsWeb.WebFeatures.frequentlyForwardedSetting:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 53: WAWebProtobufsWeb.WebFeatures.groupsV4JoinPermission:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 54: WAWebProtobufsWeb.WebFeatures.recentStickers:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 55: WAWebProtobufsWeb.WebFeatures.catalog:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 56: WAWebProtobufsWeb.WebFeatures.starredStickers:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 57: WAWebProtobufsWeb.WebFeatures.voipGroupCall:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 58: WAWebProtobufsWeb.WebFeatures.templateMessage:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 59: WAWebProtobufsWeb.WebFeatures.templateMessageInteractivity:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 60: WAWebProtobufsWeb.WebFeatures.ephemeralMessages:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 61: WAWebProtobufsWeb.WebFeatures.e2ENotificationSync:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 62: WAWebProtobufsWeb.WebFeatures.recentStickersV2:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 63: WAWebProtobufsWeb.WebFeatures.recentStickersV3:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 64: WAWebProtobufsWeb.WebFeatures.userNotice:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 65: WAWebProtobufsWeb.WebFeatures.support:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 66: WAWebProtobufsWeb.WebFeatures.groupUiiCleanup:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 67: WAWebProtobufsWeb.WebFeatures.groupDogfoodingInternalOnly:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 68: WAWebProtobufsWeb.WebFeatures.settingsSync:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 69: WAWebProtobufsWeb.WebFeatures.archiveV2:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 70: WAWebProtobufsWeb.WebFeatures.ephemeralAllowGroupMembers:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 71: WAWebProtobufsWeb.WebFeatures.ephemeral24HDuration:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 72: WAWebProtobufsWeb.WebFeatures.mdForceUpgrade:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 73: WAWebProtobufsWeb.WebFeatures.disappearingMode:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 74: WAWebProtobufsWeb.WebFeatures.externalMdOptInAvailable:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 6, // 75: WAWebProtobufsWeb.WebFeatures.noDeleteMessageTimeLimit:type_name -> WAWebProtobufsWeb.WebFeatures.Flag + 7, // 76: WAWebProtobufsWeb.PinInChat.type:type_name -> WAWebProtobufsWeb.PinInChat.Type + 30, // 77: WAWebProtobufsWeb.PinInChat.key:type_name -> WACommon.MessageKey + 27, // 78: WAWebProtobufsWeb.PinInChat.messageAddOnContextInfo:type_name -> WAWebProtobufsWeb.MessageAddOnContextInfo + 8, // 79: WAWebProtobufsWeb.MessageAddOn.messageAddOnType:type_name -> WAWebProtobufsWeb.MessageAddOn.MessageAddOnType + 31, // 80: WAWebProtobufsWeb.MessageAddOn.messageAddOn:type_name -> WAWebProtobufsE2E.Message + 2, // 81: WAWebProtobufsWeb.MessageAddOn.status:type_name -> WAWebProtobufsWeb.WebMessageInfo.Status + 27, // 82: WAWebProtobufsWeb.MessageAddOn.addOnContextInfo:type_name -> WAWebProtobufsWeb.MessageAddOnContextInfo + 30, // 83: WAWebProtobufsWeb.CommentMetadata.commentParentKey:type_name -> WACommon.MessageKey + 9, // 84: WAWebProtobufsWeb.WebNotificationsInfo.notifyMessages:type_name -> WAWebProtobufsWeb.WebMessageInfo + 30, // 85: WAWebProtobufsWeb.NotificationMessageInfo.key:type_name -> WACommon.MessageKey + 31, // 86: WAWebProtobufsWeb.NotificationMessageInfo.message:type_name -> WAWebProtobufsE2E.Message + 30, // 87: WAWebProtobufsWeb.Reaction.key:type_name -> WACommon.MessageKey + 30, // 88: WAWebProtobufsWeb.PollUpdate.pollUpdateMessageKey:type_name -> WACommon.MessageKey + 34, // 89: WAWebProtobufsWeb.PollUpdate.vote:type_name -> WAWebProtobufsE2E.PollVoteMessage + 35, // 90: WAWebProtobufsWeb.KeepInChat.keepType:type_name -> WAWebProtobufsE2E.KeepType + 30, // 91: WAWebProtobufsWeb.KeepInChat.key:type_name -> WACommon.MessageKey + 36, // 92: WAWebProtobufsWeb.MessageAddOnContextInfo.messageAddOnExpiryType:type_name -> WAWebProtobufsE2E.MessageContextInfo.MessageAddonExpiryType + 30, // 93: WAWebProtobufsWeb.EventResponse.eventResponseMessageKey:type_name -> WACommon.MessageKey + 37, // 94: WAWebProtobufsWeb.EventResponse.eventResponseMessage:type_name -> WAWebProtobufsE2E.EventResponseMessage + 95, // [95:95] is the sub-list for method output_type + 95, // [95:95] is the sub-list for method input_type + 95, // [95:95] is the sub-list for extension type_name + 95, // [95:95] is the sub-list for extension extendee + 0, // [0:95] is the sub-list for field type_name +} + +func init() { file_waWeb_WAWebProtobufsWeb_proto_init() } +func file_waWeb_WAWebProtobufsWeb_proto_init() { + if File_waWeb_WAWebProtobufsWeb_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebMessageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebFeatures); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PinInChat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageAddOn); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommentMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebNotificationsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotificationMessageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReportingTokenInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhotoChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusPSA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserReceipt); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollAdditionalMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAdditionalMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeepInChat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageAddOnContextInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PremiumMessageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWeb_WAWebProtobufsWeb_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waWeb_WAWebProtobufsWeb_proto_rawDesc, + NumEnums: 9, + NumMessages: 21, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waWeb_WAWebProtobufsWeb_proto_goTypes, + DependencyIndexes: file_waWeb_WAWebProtobufsWeb_proto_depIdxs, + EnumInfos: file_waWeb_WAWebProtobufsWeb_proto_enumTypes, + MessageInfos: file_waWeb_WAWebProtobufsWeb_proto_msgTypes, + }.Build() + File_waWeb_WAWebProtobufsWeb_proto = out.File + file_waWeb_WAWebProtobufsWeb_proto_rawDesc = nil + file_waWeb_WAWebProtobufsWeb_proto_goTypes = nil + file_waWeb_WAWebProtobufsWeb_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw b/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw new file mode 100644 index 0000000000000000000000000000000000000000..8dac51f501a09d81bfc8b4974e3dde6f2be2a4bf GIT binary patch literal 19254 zcmcIs>318+aW_OtB8OLNq?KlMFZRA9EhX=+?Ol6^z>u6Ju5AF+a_ty_h#`dt1YjK0 z(z%^DiE}%ro%_C=IQM-Y&gsN2AM-Ed56IW#SKZSyJqNgWFVA22h_0intE;Q4tGmXy z^00Z=yLa=hjlY#aZ`8Xt-W%fo8-4m=o=E^Mg2GvKViahR6c;Z%Z033g2fZ#Zyx!t{<`IIs9z&o-s*H1jNuzK!BK;YwSc}JWO%sa;E14(9`xSj#- zMd0cJQ};d*SE%N52J@+EZTvH89`vmlkk9f&yZMH33J9a|(3%Ct^6E3O4oD+W;crw0 zKKJR&>&8OAIT*Ef+x=#DWSscbHrhtVF=0#(!KOWvMH4i-NEP(So_zfLD za^SVv&0M>G-y4j)cSqGtd-eS)&)ryG?+DG#n)7IG`?3m>U)+2oaNQ$rkNH=!Q(8xNCA>gTjN1<)b4eyOW?W0gWoiNo#s8SGqf%X z7XB|-8w}&oV&hklM^9AEf zK$%y{eGD{9JPDw69$=UE_G-Oy*UAEUjwjm98-^L;jz{Ia>QQ&sdR$|Xnm zl|lQkxqBp6y!8aImseL~YEJPGYcWcm;AK8ztQ>lS_Fmg-0b4B0C&7N6$D7R$Vx^Jc z=9{CY^%QUxRxhWBAdH)Ec!)0S?LORj?tZho?^#a^>Qs9Rv0!iE58^N$dIRq5dhPzm zdIsj4Zn5~Fn2!RdK$TIBI&QaGF}wuH*CX}vJ9H)#}=s?9@m^CMW`y-ugzZ#75W z(0Wk}_e#oeD*+bt9sEBuo5p$iX}4N!(pa-o^hQlEYg#viB+pLZl_cO37?E?vJ`5L> zw{C*xJXb$yqmm=HJD9T8(RSN=h^^)pu;zFg$b7 zzT1Tzj;vKNkTj)i1xQ>YFgJ~By+M1Q++Nk|?Ahbd{oa7=?M*jd9Sz#uee1Ru$a|rg zFB|6v-eK>7=ljCYG2H=!Sv~+~O{=hqEj}QD#h3kJs zFnKaNpAc*F9Dhyl6$}Yk{*jHe=9};8Dri_*1L=BV2Nip@y-XSo!H|)cI zU`f3$melnWW{!@?V{|kPSo=K$YTf-B27=kd4*X#uTG}-51Ts%yK>JG9dpPWPBSZ{U zZvdwb1$_i;XL$<5Y+-LCIg{(vdPB&P7U_tQB`L6vrn91j+#VLu4P1!Va=ZQpW}^oz zFSgZMAV+A|pD!hb_Jb zlHjy735lS@iX>S!pEe#(>rNr5(XYTdvuTJvf?~)f;gKrQsp5BLl5{jc#mt-}okCLF z&YH|v+~DPUrIF)~U31tuQoi4^X_q#fMzy~7rjx6&N6bfzGZBcJgRz{axr{cKw%wZ3 zD7d99b|C@HJJlR_E5gt$n$HL=cd9k+qPIsAAiGp5*GoBvT?|1Lo7Y^}xm~I??0lYG z3cJ%m+$ol~9d_BgVmvCl)1g=q#WIF|C7n1AVnDB^LtQagc8%6kl6Aqc(eHJdvm`Jl z^;@bJ*Bs6sGta><@UorH+0~kwjw~&nu$9L6cofke+Y@5moD!CE4#r-?qR!bu$xjjl z&ZXhzol?!M?KEV^dG-`BCx}zZ@tsP|$+M?vl5=*U&?vgqD%`?$*@eoVNi>65nLSH7 zaZ7o3+s)Upf}eAUTq^Zmw4#}IKR=eTewjfw-+mo^$zr&h19JLYS~ ztJ9EG>$x2C-LThdV6y4va-e>{`K{jn&jVrp<$|FsW0O^@#Q$K0n>tJ15EDOQg((^qMc#BjOuRviwZk#}^?mN&yo+eT*EwysXjdh{)QmwGlSTFOtHYYoFLg%-AhdeC? zD4aazy~ftVWv%;FLQ^yNX4x&V4dUYWOjg(0LRmdc(4l4*9CUL4xVV$C@ zA{k){4*^$9N@+~OaEX=8SB%?nCLx?;()k4z$SPv~W74VEfxVT+RzVX?!~PhjX^zO_ zk0egSs)^w%OpRTQ{7fpl5Gl?%9AjNrsXj*4g&GRmp4fpxNw5!lW_QWw1mXoN$TtL- zgogXJdDD1)BCZllBiJ#YH=a%<@GVH^{tk{ZFHA;GVgJ#H{uRrZ4S$UMTfkOB(v6CJ zjd{(ul)%!4@^Pd(?;L}W(6LfJYfu=KpbWrYo61;$6Kpk+nh`_QheK5QI=+|GL5eze zBOW2bPl>}?PXXJHSY9|TB|K~|==OfZ@{+h}Gyy?7 zVtG*lUx1MN*G23oiX3o!5D`~3Yr=+ftP>G8j;n;#2o56R>I6zy4Y?Z;S4Y;6dPsn+ z25R@+dk9x@D_Im5)<-7j#_@DYq=4oVX?-bZyr)nGHc0DBr&B#?G{cBnPa?#-Q|#C% zl~94>WLl47+Gc3~3=RbKlD&-p*Ip|)?9eogWj`pOBOz_g56R@UwjdsUm*O1>kfD2? z9f=UAP|j^p_)uHm(?v!#W2>u32ZBPUC|BYf}MCeoD z?zWxVk%tD#4A7?iO~N0gLSZKCn{i$^PjOL%7%Ls5-;x363u!>2{MHPd!zfcW1D{TudSbJ$;W5MA}9qD#YQVQe)qnfwO-+2_|t6 z=t+Qx8ow`tc#nlW`H70}&(OSvR<-3g6-1>JHrCh=WZ-|El1z#Yov*8#Zlyu|$mDo= z8-b@Eo3bC&M45;zCjPTRdx-6w4NfzZroA7EX;>e-$~63NY#wzSKi%*nu}RQp2oW+J zr}OMbGf0l#3{{huOB}3&!K-nz9}`qb)suDt)l<4r@00y_2DiqK6zwWaPi+&fA@3(C z^6YbBE~2n{N&aS^&tNM(OKXg#reRmB?na5u=j8c$u9_HhLZXsAa}FLela%lG4UD#>6Zip zq~`pUqBHnq!61a`)+Nql)XT4A%qNZOp#(|O5&isXOqf(&za~t+iVO*kXL)EzB&5Z- z>Fiq1yJhz4$KoJ=gmltxh(YPARvb0O()&UNm$7$r*yI&W$zD*B1E%@>&Dd)5PoR1t z^0zYB^_D1!0fD71*%vc7xvvDt7Qgkkg|i6thEy36v~rnIZ)yQm+3yG&skkLtR4T!x z9Mta$nN*g-pFNSs@w?~j_cBN}J$np_0}m!LK{yr{cG&M{5PiIOEWXIn(8~4+*&m3V zEaG!RYh`~ZCLdP@Wtgs59HdgGL~%miPmr-c5|ic>EAWS~IXOeVkN#t6rO}ljb1>{r z#9|F7fXx=Cx>|uW{7XJpNOJ&+JNVxum*li*ZvZ22es)#l#2`NAzjj+EG8+f&jAyna> zLv^TRC;RKbwICzYc&Xys1#REHTG`(Sv-1a8hwPLgVt*@qqwq;(=j|Yr5g`!8jO_2k zdQKo{7a;=e?=wiApR3j@Voq(h0Uzb(iT@!Y+wC;jz9dXqrT6^2pz_ZDC?;D2Vs;el zpM;$SFlhn-^q&P~LUtM)`xl|p1S}jE`&SXANxREClx5sT#x~FXErVN-Y`9WGSR)$B zd|51hXPeAPrhD`3-!n+iEz343Eja#%7)8htw{Ea2Me>zQ_HE;oysb3njgt=NWsX}p z#Ib&&R$j~b=4j`(a4m=H7i{K~&E08G%M9HF(%yV2$QMZ`>WdbnDhF@o;gL zYc2F*5WRVL!6k0f>1iTf3~EhyFcE!~n07&}iz77_JW0g8{b49bv9nt8D_in#EI10NwExL?1Ba~m#UgJRRbHJP9 z(MEb=r)J2S2Lhfgs^8|iF+X}&U2GcwroY|PwNz91JS3%e6nNlN>K(S%+s)B>Z*YJo zDhooIBmmdnOZ`FnpgB0Q#SB}Ez+70hV&;N#&5a_i-j8?`9nYzjy?1xTYb>9^(t9w7 z;b%X8(wGkh61}^|IWl^kK|bNUY6^B?dDU@(R*7&AGvb&iFEp@Zklx1ftjOs2B&{I- z;^vgN02h}y*ioum>@+2jB@o`UOcx?_(ww8*uHPJVs=?=}3m=}haUqQ~e(!%CX}T7zu)Cn^f}! z8i)dLhc1#Kq^0v!_co8}sKIzHlCX+_Y(==Tfty}T1fmg~uyHkjt6iZm_|Ym|Dfk9) zCDN+A@KqXsuUyr3E&Jt6;Jg7=F|51=gcrvv49yHOWPsxC;{-7)IoRzfUXf?p8FLZG z8s83Km0|?-LSAG%g7%YyCB=YBPLUxiRh*U}Ut4p+tb?1Yd9vKQHr`AiYQPl@UAy5{ z&L9SUGh4_$3kiHbPfAeZ$<;aX3Ar7N2oFr$5@(t07p@o!cnG@g;oacC8=9`MBp(3h z+rxgRNl)F$Lp>hz6aL##MRsGo)7$lNlP6@wh!430ei9sN`zjgb;F=^N$y@a7a?>5^Vv8zqVbOH-8zuF7zp+)=LlsuO@I;EL23?b)smtN=7 zJ~$;GjVx&-ZWpic$Vh14oRVS8NE8e6EqaEF2e^0=*J*phw@9m&+;XRy<|H-QU0=Rx zABxR(N(loZvuv=Td=y-1?mmzr(Ox_yqXe;8HO$DotkZK-i+1NJS*DQF+)6j#;5o0g zJUugw3{U13!~^hpzk>n~Yh`*aI-ThmmozrKy?g&HZBj+e$dn^Jjt@fD(}!fqSiDqe zG9^nzL-PtR=k+RZn)fiXbzTsKC{yxD5YtMP4;y*2`+yb%6{}3iElPKxjelvaayuTG9>XHJJ;-VL?O_WGDRs#vXOUy5M!j? zv|CgSG$pe*t+{Vpj34 zr_>vvszw$@i5ed&ADWVB8a;WWs2#$yQI*k@JQKtz3~&3TMN=)vIK$ht%TSFDjeOU$ zsElYz*)%d*A;WQ>9>|L_p(!~i8nQ#-3hM244z+gOaUZopQwtKOrOisP%lG#8dc78W zmas!?$>nb62xUZ5vp$ZGxnV30rAr(NTcO&bDMub5G;L$PIoQ3Azz)_ybwyKh38~0q z2P?wvbb1ekdnkHTDLE8%NK^7Wh7EFF=YmdF?`#G&b}vpZaw-Gz)(0)@GrL~BzdvZU zJW;PSrNl8(S|P3Wu-WgUXcJRk?13GXDox2QL2Nb*3$>`;fa?E{2;R1!692a}j&w~Sdj98&gz?)=477>>N}qwEC^ zuz2fNuizykZq_q|gZF<56Yy1Ay*pQKK!o6>csQSbzhtY8}d7FWI2;V%^h2?B^h*V&-9|a#spmjWp z#JFmpTZ(a)%0Q`Tb0}8q5-NMcCQ52+~aS(-7HL4KrD2i04I%m{Gr0 zvAHkoVUb7Lker+kO1^0(JNOttr_vnV7ufSWY=ChuRJ4+A+^Y0CEz#n04t~>(3(6TK zj4Wc22fxYA6bw~=bZZ4W3tO@W#=N|T!b227-op}#``G;u#pJz1gy$q4S^Yduw9|TOd6b00IWxpQ zC9qQ<*)L|0{PxS{)pmTG>kw9NVz;O7a*zV%v6bV0TIwR&hLq%f{0m8~DScN6w&mD% zfn@zD=_f?~7N0MXzp|e?fg6CJ*d4{a=fcu=e+9pn`%9(3Q`6Z)e7?fp?BbQibQ?$A zZUe>dh70`kVaXZ)f5#@1l(2>?xzq}OVO4;j(7M@a(+33PZS)*pAvI~u+1tj22{pmA z4BA7iLqxV@3v*ok%zhTy4=e2P@^y}i^0n|I{#gdn8xar+50FXBScoR{KEvb9$|gyn zleRNqlWZ$6}` S=fLYdyeU42byIvU>;C}hi>`41 literal 0 HcmV?d00001 diff --git a/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto b/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto new file mode 100644 index 00000000..61e1219b --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto @@ -0,0 +1,546 @@ +syntax = "proto2"; +package WAWebProtobufsWeb; +option go_package = "go.mau.fi/whatsmeow/proto/waWeb"; + +import "waE2E/WAWebProtobufsE2E.proto"; +import "waCommon/WACommon.proto"; + +message WebMessageInfo { + enum BizPrivacyStatus { + E2EE = 0; + FB = 2; + BSP = 1; + BSP_AND_FB = 3; + } + + enum StubType { + UNKNOWN = 0; + REVOKE = 1; + CIPHERTEXT = 2; + FUTUREPROOF = 3; + NON_VERIFIED_TRANSITION = 4; + UNVERIFIED_TRANSITION = 5; + VERIFIED_TRANSITION = 6; + VERIFIED_LOW_UNKNOWN = 7; + VERIFIED_HIGH = 8; + VERIFIED_INITIAL_UNKNOWN = 9; + VERIFIED_INITIAL_LOW = 10; + VERIFIED_INITIAL_HIGH = 11; + VERIFIED_TRANSITION_ANY_TO_NONE = 12; + VERIFIED_TRANSITION_ANY_TO_HIGH = 13; + VERIFIED_TRANSITION_HIGH_TO_LOW = 14; + VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15; + VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16; + VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17; + VERIFIED_TRANSITION_NONE_TO_LOW = 18; + VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19; + GROUP_CREATE = 20; + GROUP_CHANGE_SUBJECT = 21; + GROUP_CHANGE_ICON = 22; + GROUP_CHANGE_INVITE_LINK = 23; + GROUP_CHANGE_DESCRIPTION = 24; + GROUP_CHANGE_RESTRICT = 25; + GROUP_CHANGE_ANNOUNCE = 26; + GROUP_PARTICIPANT_ADD = 27; + GROUP_PARTICIPANT_REMOVE = 28; + GROUP_PARTICIPANT_PROMOTE = 29; + GROUP_PARTICIPANT_DEMOTE = 30; + GROUP_PARTICIPANT_INVITE = 31; + GROUP_PARTICIPANT_LEAVE = 32; + GROUP_PARTICIPANT_CHANGE_NUMBER = 33; + BROADCAST_CREATE = 34; + BROADCAST_ADD = 35; + BROADCAST_REMOVE = 36; + GENERIC_NOTIFICATION = 37; + E2E_IDENTITY_CHANGED = 38; + E2E_ENCRYPTED = 39; + CALL_MISSED_VOICE = 40; + CALL_MISSED_VIDEO = 41; + INDIVIDUAL_CHANGE_NUMBER = 42; + GROUP_DELETE = 43; + GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44; + CALL_MISSED_GROUP_VOICE = 45; + CALL_MISSED_GROUP_VIDEO = 46; + PAYMENT_CIPHERTEXT = 47; + PAYMENT_FUTUREPROOF = 48; + PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49; + PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50; + PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51; + PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52; + PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53; + PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54; + PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55; + PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56; + PAYMENT_ACTION_REQUEST_DECLINED = 57; + PAYMENT_ACTION_REQUEST_EXPIRED = 58; + PAYMENT_ACTION_REQUEST_CANCELLED = 59; + BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60; + BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61; + BIZ_INTRO_TOP = 62; + BIZ_INTRO_BOTTOM = 63; + BIZ_NAME_CHANGE = 64; + BIZ_MOVE_TO_CONSUMER_APP = 65; + BIZ_TWO_TIER_MIGRATION_TOP = 66; + BIZ_TWO_TIER_MIGRATION_BOTTOM = 67; + OVERSIZED = 68; + GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69; + GROUP_V4_ADD_INVITE_SENT = 70; + GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71; + CHANGE_EPHEMERAL_SETTING = 72; + E2E_DEVICE_CHANGED = 73; + VIEWED_ONCE = 74; + E2E_ENCRYPTED_NOW = 75; + BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76; + BLUE_MSG_BSP_FB_TO_SELF_FB = 77; + BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78; + BLUE_MSG_BSP_FB_UNVERIFIED = 79; + BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80; + BLUE_MSG_BSP_FB_VERIFIED = 81; + BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82; + BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83; + BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84; + BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85; + BLUE_MSG_BSP_PREMISE_VERIFIED = 86; + BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87; + BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88; + BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89; + BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90; + BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91; + BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92; + BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93; + BLUE_MSG_SELF_FB_UNVERIFIED = 94; + BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95; + BLUE_MSG_SELF_FB_VERIFIED = 96; + BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97; + BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98; + BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99; + BLUE_MSG_SELF_PREMISE_VERIFIED = 100; + BLUE_MSG_TO_BSP_FB = 101; + BLUE_MSG_TO_CONSUMER = 102; + BLUE_MSG_TO_SELF_FB = 103; + BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104; + BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105; + BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106; + BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107; + BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108; + BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109; + BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110; + BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111; + BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112; + BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113; + BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114; + BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115; + BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116; + BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117; + E2E_IDENTITY_UNAVAILABLE = 118; + GROUP_CREATING = 119; + GROUP_CREATE_FAILED = 120; + GROUP_BOUNCED = 121; + BLOCK_CONTACT = 122; + EPHEMERAL_SETTING_NOT_APPLIED = 123; + SYNC_FAILED = 124; + SYNCING = 125; + BIZ_PRIVACY_MODE_INIT_FB = 126; + BIZ_PRIVACY_MODE_INIT_BSP = 127; + BIZ_PRIVACY_MODE_TO_FB = 128; + BIZ_PRIVACY_MODE_TO_BSP = 129; + DISAPPEARING_MODE = 130; + E2E_DEVICE_FETCH_FAILED = 131; + ADMIN_REVOKE = 132; + GROUP_INVITE_LINK_GROWTH_LOCKED = 133; + COMMUNITY_LINK_PARENT_GROUP = 134; + COMMUNITY_LINK_SIBLING_GROUP = 135; + COMMUNITY_LINK_SUB_GROUP = 136; + COMMUNITY_UNLINK_PARENT_GROUP = 137; + COMMUNITY_UNLINK_SIBLING_GROUP = 138; + COMMUNITY_UNLINK_SUB_GROUP = 139; + GROUP_PARTICIPANT_ACCEPT = 140; + GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141; + COMMUNITY_CREATE = 142; + EPHEMERAL_KEEP_IN_CHAT = 143; + GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144; + GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145; + INTEGRITY_UNLINK_PARENT_GROUP = 146; + COMMUNITY_PARTICIPANT_PROMOTE = 147; + COMMUNITY_PARTICIPANT_DEMOTE = 148; + COMMUNITY_PARENT_GROUP_DELETED = 149; + COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150; + GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151; + MASKED_THREAD_CREATED = 152; + MASKED_THREAD_UNMASKED = 153; + BIZ_CHAT_ASSIGNMENT = 154; + CHAT_PSA = 155; + CHAT_POLL_CREATION_MESSAGE = 156; + CAG_MASKED_THREAD_CREATED = 157; + COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158; + CAG_INVITE_AUTO_ADD = 159; + BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160; + CAG_INVITE_AUTO_JOINED = 161; + SCHEDULED_CALL_START_MESSAGE = 162; + COMMUNITY_INVITE_RICH = 163; + COMMUNITY_INVITE_AUTO_ADD_RICH = 164; + SUB_GROUP_INVITE_RICH = 165; + SUB_GROUP_PARTICIPANT_ADD_RICH = 166; + COMMUNITY_LINK_PARENT_GROUP_RICH = 167; + COMMUNITY_PARTICIPANT_ADD_RICH = 168; + SILENCED_UNKNOWN_CALLER_AUDIO = 169; + SILENCED_UNKNOWN_CALLER_VIDEO = 170; + GROUP_MEMBER_ADD_MODE = 171; + GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172; + COMMUNITY_CHANGE_DESCRIPTION = 173; + SENDER_INVITE = 174; + RECEIVER_INVITE = 175; + COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176; + PINNED_MESSAGE_IN_CHAT = 177; + PAYMENT_INVITE_SETUP_INVITER = 178; + PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179; + PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180; + LINKED_GROUP_CALL_START = 181; + REPORT_TO_ADMIN_ENABLED_STATUS = 182; + EMPTY_SUBGROUP_CREATE = 183; + SCHEDULED_CALL_CANCEL = 184; + SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185; + GROUP_CHANGE_RECENT_HISTORY_SHARING = 186; + PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187; + GENERAL_CHAT_CREATE = 188; + GENERAL_CHAT_ADD = 189; + GENERAL_CHAT_AUTO_ADD_DISABLED = 190; + SUGGESTED_SUBGROUP_ANNOUNCE = 191; + BIZ_BOT_1P_MESSAGING_ENABLED = 192; + CHANGE_USERNAME = 193; + BIZ_COEX_PRIVACY_INIT_SELF = 194; + BIZ_COEX_PRIVACY_TRANSITION_SELF = 195; + SUPPORT_AI_EDUCATION = 196; + BIZ_BOT_3P_MESSAGING_ENABLED = 197; + REMINDER_SETUP_MESSAGE = 198; + REMINDER_SENT_MESSAGE = 199; + REMINDER_CANCEL_MESSAGE = 200; + BIZ_COEX_PRIVACY_INIT = 201; + BIZ_COEX_PRIVACY_TRANSITION = 202; + GROUP_DEACTIVATED = 203; + COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204; + EVENT_UPDATED = 205; + EVENT_CANCELED = 206; + COMMUNITY_OWNER_UPDATED = 207; + } + + enum Status { + ERROR = 0; + PENDING = 1; + SERVER_ACK = 2; + DELIVERY_ACK = 3; + READ = 4; + PLAYED = 5; + } + + required WACommon.MessageKey key = 1; + optional WAWebProtobufsE2E.Message message = 2; + optional uint64 messageTimestamp = 3; + optional Status status = 4; + optional string participant = 5; + optional uint64 messageC2STimestamp = 6; + optional bool ignore = 16; + optional bool starred = 17; + optional bool broadcast = 18; + optional string pushName = 19; + optional bytes mediaCiphertextSHA256 = 20; + optional bool multicast = 21; + optional bool urlText = 22; + optional bool urlNumber = 23; + optional StubType messageStubType = 24; + optional bool clearMedia = 25; + repeated string messageStubParameters = 26; + optional uint32 duration = 27; + repeated string labels = 28; + optional PaymentInfo paymentInfo = 29; + optional WAWebProtobufsE2E.LiveLocationMessage finalLiveLocation = 30; + optional PaymentInfo quotedPaymentInfo = 31; + optional uint64 ephemeralStartTimestamp = 32; + optional uint32 ephemeralDuration = 33; + optional bool ephemeralOffToOn = 34; + optional bool ephemeralOutOfSync = 35; + optional BizPrivacyStatus bizPrivacyStatus = 36; + optional string verifiedBizName = 37; + optional MediaData mediaData = 38; + optional PhotoChange photoChange = 39; + repeated UserReceipt userReceipt = 40; + repeated Reaction reactions = 41; + optional MediaData quotedStickerData = 42; + optional bytes futureproofData = 43; + optional StatusPSA statusPsa = 44; + repeated PollUpdate pollUpdates = 45; + optional PollAdditionalMetadata pollAdditionalMetadata = 46; + optional string agentID = 47; + optional bool statusAlreadyViewed = 48; + optional bytes messageSecret = 49; + optional KeepInChat keepInChat = 50; + optional string originalSelfAuthorUserJIDString = 51; + optional uint64 revokeMessageTimestamp = 52; + optional PinInChat pinInChat = 54; + optional PremiumMessageInfo premiumMessageInfo = 55; + optional bool is1PBizBotMessage = 56; + optional bool isGroupHistoryMessage = 57; + optional string botMessageInvokerJID = 58; + optional CommentMetadata commentMetadata = 59; + repeated EventResponse eventResponses = 61; + optional ReportingTokenInfo reportingTokenInfo = 62; + optional uint64 newsletterServerID = 63; + optional EventAdditionalMetadata eventAdditionalMetadata = 64; + optional bool isMentionedInStatus = 65; + repeated string statusMentions = 66; + optional WACommon.MessageKey targetMessageID = 67; + repeated MessageAddOn messageAddOns = 68; +} + +message PaymentInfo { + enum TxnStatus { + UNKNOWN = 0; + PENDING_SETUP = 1; + PENDING_RECEIVER_SETUP = 2; + INIT = 3; + SUCCESS = 4; + COMPLETED = 5; + FAILED = 6; + FAILED_RISK = 7; + FAILED_PROCESSING = 8; + FAILED_RECEIVER_PROCESSING = 9; + FAILED_DA = 10; + FAILED_DA_FINAL = 11; + REFUNDED_TXN = 12; + REFUND_FAILED = 13; + REFUND_FAILED_PROCESSING = 14; + REFUND_FAILED_DA = 15; + EXPIRED_TXN = 16; + AUTH_CANCELED = 17; + AUTH_CANCEL_FAILED_PROCESSING = 18; + AUTH_CANCEL_FAILED = 19; + COLLECT_INIT = 20; + COLLECT_SUCCESS = 21; + COLLECT_FAILED = 22; + COLLECT_FAILED_RISK = 23; + COLLECT_REJECTED = 24; + COLLECT_EXPIRED = 25; + COLLECT_CANCELED = 26; + COLLECT_CANCELLING = 27; + IN_REVIEW = 28; + REVERSAL_SUCCESS = 29; + REVERSAL_PENDING = 30; + REFUND_PENDING = 31; + } + + enum Status { + UNKNOWN_STATUS = 0; + PROCESSING = 1; + SENT = 2; + NEED_TO_ACCEPT = 3; + COMPLETE = 4; + COULD_NOT_COMPLETE = 5; + REFUNDED = 6; + EXPIRED = 7; + REJECTED = 8; + CANCELLED = 9; + WAITING_FOR_PAYER = 10; + WAITING = 11; + } + + enum Currency { + UNKNOWN_CURRENCY = 0; + INR = 1; + } + + optional Currency currencyDeprecated = 1; + optional uint64 amount1000 = 2; + optional string receiverJID = 3; + optional Status status = 4; + optional uint64 transactionTimestamp = 5; + optional WACommon.MessageKey requestMessageKey = 6; + optional uint64 expiryTimestamp = 7; + optional bool futureproofed = 8; + optional string currency = 9; + optional TxnStatus txnStatus = 10; + optional bool useNoviFiatFormat = 11; + optional WAWebProtobufsE2E.Money primaryAmount = 12; + optional WAWebProtobufsE2E.Money exchangeAmount = 13; +} + +message WebFeatures { + enum Flag { + NOT_STARTED = 0; + FORCE_UPGRADE = 1; + DEVELOPMENT = 2; + PRODUCTION = 3; + } + + optional Flag labelsDisplay = 1; + optional Flag voipIndividualOutgoing = 2; + optional Flag groupsV3 = 3; + optional Flag groupsV3Create = 4; + optional Flag changeNumberV2 = 5; + optional Flag queryStatusV3Thumbnail = 6; + optional Flag liveLocations = 7; + optional Flag queryVname = 8; + optional Flag voipIndividualIncoming = 9; + optional Flag quickRepliesQuery = 10; + optional Flag payments = 11; + optional Flag stickerPackQuery = 12; + optional Flag liveLocationsFinal = 13; + optional Flag labelsEdit = 14; + optional Flag mediaUpload = 15; + optional Flag mediaUploadRichQuickReplies = 18; + optional Flag vnameV2 = 19; + optional Flag videoPlaybackURL = 20; + optional Flag statusRanking = 21; + optional Flag voipIndividualVideo = 22; + optional Flag thirdPartyStickers = 23; + optional Flag frequentlyForwardedSetting = 24; + optional Flag groupsV4JoinPermission = 25; + optional Flag recentStickers = 26; + optional Flag catalog = 27; + optional Flag starredStickers = 28; + optional Flag voipGroupCall = 29; + optional Flag templateMessage = 30; + optional Flag templateMessageInteractivity = 31; + optional Flag ephemeralMessages = 32; + optional Flag e2ENotificationSync = 33; + optional Flag recentStickersV2 = 34; + optional Flag recentStickersV3 = 36; + optional Flag userNotice = 37; + optional Flag support = 39; + optional Flag groupUiiCleanup = 40; + optional Flag groupDogfoodingInternalOnly = 41; + optional Flag settingsSync = 42; + optional Flag archiveV2 = 43; + optional Flag ephemeralAllowGroupMembers = 44; + optional Flag ephemeral24HDuration = 45; + optional Flag mdForceUpgrade = 46; + optional Flag disappearingMode = 47; + optional Flag externalMdOptInAvailable = 48; + optional Flag noDeleteMessageTimeLimit = 49; +} + +message PinInChat { + enum Type { + UNKNOWN_TYPE = 0; + PIN_FOR_ALL = 1; + UNPIN_FOR_ALL = 2; + } + + optional Type type = 1; + optional WACommon.MessageKey key = 2; + optional int64 senderTimestampMS = 3; + optional int64 serverTimestampMS = 4; + optional MessageAddOnContextInfo messageAddOnContextInfo = 5; +} + +message MessageAddOn { + enum MessageAddOnType { + UNDEFINED = 0; + REACTION = 1; + EVENT_RESPONSE = 2; + POLL_UPDATE = 3; + PIN_IN_CHAT = 4; + } + + optional MessageAddOnType messageAddOnType = 1; + optional WAWebProtobufsE2E.Message messageAddOn = 2; + optional int64 senderTimestampMS = 3; + optional int64 serverTimestampMS = 4; + optional WebMessageInfo.Status status = 5; + optional MessageAddOnContextInfo addOnContextInfo = 6; +} + +message CommentMetadata { + optional WACommon.MessageKey commentParentKey = 1; + optional uint32 replyCount = 2; +} + +message WebNotificationsInfo { + optional uint64 timestamp = 2; + optional uint32 unreadChats = 3; + optional uint32 notifyMessageCount = 4; + repeated WebMessageInfo notifyMessages = 5; +} + +message NotificationMessageInfo { + optional WACommon.MessageKey key = 1; + optional WAWebProtobufsE2E.Message message = 2; + optional uint64 messageTimestamp = 3; + optional string participant = 4; +} + +message ReportingTokenInfo { + optional bytes reportingTag = 1; +} + +message MediaData { + optional string localPath = 1; +} + +message PhotoChange { + optional bytes oldPhoto = 1; + optional bytes newPhoto = 2; + optional uint32 newPhotoID = 3; +} + +message StatusPSA { + required uint64 campaignID = 44; + optional uint64 campaignExpirationTimestamp = 45; +} + +message UserReceipt { + required string userJID = 1; + optional int64 receiptTimestamp = 2; + optional int64 readTimestamp = 3; + optional int64 playedTimestamp = 4; + repeated string pendingDeviceJID = 5; + repeated string deliveredDeviceJID = 6; +} + +message Reaction { + optional WACommon.MessageKey key = 1; + optional string text = 2; + optional string groupingKey = 3; + optional int64 senderTimestampMS = 4; + optional bool unread = 5; +} + +message PollUpdate { + optional WACommon.MessageKey pollUpdateMessageKey = 1; + optional WAWebProtobufsE2E.PollVoteMessage vote = 2; + optional int64 senderTimestampMS = 3; + optional int64 serverTimestampMS = 4; + optional bool unread = 5; +} + +message PollAdditionalMetadata { + optional bool pollInvalidated = 1; +} + +message EventAdditionalMetadata { + optional bool isStale = 1; +} + +message KeepInChat { + optional WAWebProtobufsE2E.KeepType keepType = 1; + optional int64 serverTimestamp = 2; + optional WACommon.MessageKey key = 3; + optional string deviceJID = 4; + optional int64 clientTimestampMS = 5; + optional int64 serverTimestampMS = 6; +} + +message MessageAddOnContextInfo { + optional uint32 messageAddOnDurationInSecs = 1; + optional WAWebProtobufsE2E.MessageContextInfo.MessageAddonExpiryType messageAddOnExpiryType = 2; +} + +message PremiumMessageInfo { + optional string serverCampaignID = 1; +} + +message EventResponse { + optional WACommon.MessageKey eventResponseMessageKey = 1; + optional int64 timestampMS = 2; + optional WAWebProtobufsE2E.EventResponseMessage eventResponseMessage = 3; + optional bool unread = 4; +} diff --git a/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go b/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go new file mode 100644 index 00000000..468cc8e4 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/proto/waWeb/legacy.go @@ -0,0 +1 @@ +package waWeb diff --git a/vendor/go.mau.fi/whatsmeow/retry.go b/vendor/go.mau.fi/whatsmeow/retry.go index d3e424e1..6400abd2 100644 --- a/vendor/go.mau.fi/whatsmeow/retry.go +++ b/vendor/go.mau.fi/whatsmeow/retry.go @@ -21,11 +21,11 @@ import ( "google.golang.org/protobuf/proto" waBinary "go.mau.fi/whatsmeow/binary" - "go.mau.fi/whatsmeow/binary/armadillo/waCommon" - "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport" waProto "go.mau.fi/whatsmeow/binary/proto" + "go.mau.fi/whatsmeow/proto/waCommon" + "go.mau.fi/whatsmeow/proto/waConsumerApplication" + "go.mau.fi/whatsmeow/proto/waMsgApplication" + "go.mau.fi/whatsmeow/proto/waMsgTransport" "go.mau.fi/whatsmeow/types" "go.mau.fi/whatsmeow/types/events" ) @@ -163,12 +163,12 @@ func (cli *Client) handleRetryReceipt(receipt *events.Receipt, node *waBinary.No } if msg.wa != nil { msg.wa.SenderKeyDistributionMessage = &waProto.SenderKeyDistributionMessage{ - GroupId: proto.String(receipt.Chat.String()), + GroupID: proto.String(receipt.Chat.String()), AxolotlSenderKeyDistributionMessage: signalSKDMessage.Serialize(), } } else { fbSKDM = &waMsgTransport.MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage{ - GroupID: receipt.Chat.String(), + GroupID: proto.String(receipt.Chat.String()), AxolotlSenderKeyDistributionMessage: signalSKDMessage.Serialize(), } } @@ -176,13 +176,13 @@ func (cli *Client) handleRetryReceipt(receipt *events.Receipt, node *waBinary.No if msg.wa != nil { msg.wa = &waProto.Message{ DeviceSentMessage: &waProto.DeviceSentMessage{ - DestinationJid: proto.String(receipt.Chat.String()), + DestinationJID: proto.String(receipt.Chat.String()), Message: msg.wa, }, } } else { fbDSM = &waMsgTransport.MessageTransport_Protocol_Integral_DeviceSentMessage{ - DestinationJID: receipt.Chat.String(), + DestinationJID: proto.String(receipt.Chat.String()), } } } @@ -250,9 +250,9 @@ func (cli *Client) handleRetryReceipt(receipt *events.Receipt, node *waBinary.No encrypted, err = cli.encryptMessageForDeviceV3(&waMsgTransport.MessageTransport_Payload{ ApplicationPayload: &waCommon.SubProtocol{ Payload: plaintext, - Version: FBMessageApplicationVersion, + Version: proto.Int32(FBMessageApplicationVersion), }, - FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER, + FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER.Enum(), }, fbSKDM, fbDSM, receipt.Sender, bundle, encAttrs) } if err != nil { diff --git a/vendor/go.mau.fi/whatsmeow/send.go b/vendor/go.mau.fi/whatsmeow/send.go index 6751196c..9c2a3a18 100644 --- a/vendor/go.mau.fi/whatsmeow/send.go +++ b/vendor/go.mau.fi/whatsmeow/send.go @@ -30,6 +30,7 @@ import ( waBinary "go.mau.fi/whatsmeow/binary" waProto "go.mau.fi/whatsmeow/binary/proto" + "go.mau.fi/whatsmeow/proto/waE2E" "go.mau.fi/whatsmeow/types" "go.mau.fi/whatsmeow/types/events" ) @@ -296,8 +297,8 @@ func (cli *Client) RevokeMessage(chat types.JID, id types.MessageID) (SendRespon func (cli *Client) BuildMessageKey(chat, sender types.JID, id types.MessageID) *waProto.MessageKey { key := &waProto.MessageKey{ FromMe: proto.Bool(true), - Id: proto.String(id), - RemoteJid: proto.String(chat.String()), + ID: proto.String(id), + RemoteJID: proto.String(chat.String()), } if !sender.IsEmpty() && sender.User != cli.getOwnID().User { key.FromMe = proto.Bool(false) @@ -338,7 +339,7 @@ func (cli *Client) BuildReaction(chat, sender types.JID, id types.MessageID, rea ReactionMessage: &waProto.ReactionMessage{ Key: cli.BuildMessageKey(chat, sender, id), Text: proto.String(reaction), - SenderTimestampMs: proto.Int64(time.Now().UnixMilli()), + SenderTimestampMS: proto.Int64(time.Now().UnixMilli()), }, } } @@ -377,11 +378,11 @@ func (cli *Client) BuildHistorySyncRequest(lastKnownMessageInfo *types.MessageIn PeerDataOperationRequestMessage: &waProto.PeerDataOperationRequestMessage{ PeerDataOperationRequestType: waProto.PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND.Enum(), HistorySyncOnDemandRequest: &waProto.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{ - ChatJid: proto.String(lastKnownMessageInfo.Chat.String()), - OldestMsgId: proto.String(lastKnownMessageInfo.ID), + ChatJID: proto.String(lastKnownMessageInfo.Chat.String()), + OldestMsgID: proto.String(lastKnownMessageInfo.ID), OldestMsgFromMe: proto.Bool(lastKnownMessageInfo.IsFromMe), OnDemandMsgCount: proto.Int32(int32(count)), - OldestMsgTimestampMs: proto.Int64(lastKnownMessageInfo.Timestamp.UnixMilli()), + OldestMsgTimestampMS: proto.Int64(lastKnownMessageInfo.Timestamp.UnixMilli()), }, }, }, @@ -404,12 +405,12 @@ func (cli *Client) BuildEdit(chat types.JID, id types.MessageID, newContent *waP ProtocolMessage: &waProto.ProtocolMessage{ Key: &waProto.MessageKey{ FromMe: proto.Bool(true), - Id: proto.String(id), - RemoteJid: proto.String(chat.String()), + ID: proto.String(id), + RemoteJID: proto.String(chat.String()), }, Type: waProto.ProtocolMessage_MESSAGE_EDIT.Enum(), EditedMessage: newContent, - TimestampMs: proto.Int64(time.Now().UnixMilli()), + TimestampMS: proto.Int64(time.Now().UnixMilli()), }, }, }, @@ -564,7 +565,7 @@ func (cli *Client) sendGroup(ctx context.Context, to, ownID types.JID, id types. } skdMessage := &waProto.Message{ SenderKeyDistributionMessage: &waProto.SenderKeyDistributionMessage{ - GroupId: proto.String(to.String()), + GroupID: proto.String(to.String()), AxolotlSenderKeyDistributionMessage: signalSKDMessage.Serialize(), }, } @@ -648,6 +649,10 @@ func getTypeFromMessage(msg *waProto.Message) string { return getTypeFromMessage(msg.ViewOnceMessage.Message) case msg.ViewOnceMessageV2 != nil: return getTypeFromMessage(msg.ViewOnceMessageV2.Message) + case msg.ViewOnceMessageV2Extension != nil: + return getTypeFromMessage(msg.ViewOnceMessageV2Extension.Message) + case msg.LottieStickerMessage != nil: + return getTypeFromMessage(msg.LottieStickerMessage.Message) case msg.EphemeralMessage != nil: return getTypeFromMessage(msg.EphemeralMessage.Message) case msg.DocumentWithCaptionMessage != nil: @@ -671,6 +676,10 @@ func getMediaTypeFromMessage(msg *waProto.Message) string { return getMediaTypeFromMessage(msg.ViewOnceMessage.Message) case msg.ViewOnceMessageV2 != nil: return getMediaTypeFromMessage(msg.ViewOnceMessageV2.Message) + case msg.ViewOnceMessageV2Extension != nil: + return getMediaTypeFromMessage(msg.ViewOnceMessageV2Extension.Message) + case msg.LottieStickerMessage != nil: + return getMediaTypeFromMessage(msg.LottieStickerMessage.Message) case msg.EphemeralMessage != nil: return getMediaTypeFromMessage(msg.EphemeralMessage.Message) case msg.DocumentWithCaptionMessage != nil: @@ -684,7 +693,7 @@ func getMediaTypeFromMessage(msg *waProto.Message) string { case msg.DocumentMessage != nil: return "document" case msg.AudioMessage != nil: - if msg.AudioMessage.GetPtt() { + if msg.AudioMessage.GetPTT() { return "ptt" } else { return "audio" @@ -752,7 +761,7 @@ func getButtonAttributes(msg *waProto.Message) waBinary.Attrs { case msg.ListMessage != nil: return waBinary.Attrs{ "v": "2", - "type": strings.ToLower(waProto.ListMessage_ListType_name[int32(msg.ListMessage.GetListType())]), + "type": strings.ToLower(waE2E.ListMessage_ListType_name[int32(msg.ListMessage.GetListType())]), } default: return waBinary.Attrs{} @@ -903,7 +912,7 @@ func marshalMessage(to types.JID, message *waProto.Message) (plaintext, dsmPlain if to.Server != types.GroupServer && to.Server != types.NewsletterServer { dsmPlaintext, err = proto.Marshal(&waProto.Message{ DeviceSentMessage: &waProto.DeviceSentMessage{ - DestinationJid: proto.String(to.String()), + DestinationJID: proto.String(to.String()), Message: message, }, }) diff --git a/vendor/go.mau.fi/whatsmeow/sendfb.go b/vendor/go.mau.fi/whatsmeow/sendfb.go index 22189d14..0f61c9c1 100644 --- a/vendor/go.mau.fi/whatsmeow/sendfb.go +++ b/vendor/go.mau.fi/whatsmeow/sendfb.go @@ -24,10 +24,10 @@ import ( "google.golang.org/protobuf/proto" waBinary "go.mau.fi/whatsmeow/binary" - "go.mau.fi/whatsmeow/binary/armadillo/waCommon" - "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport" + "go.mau.fi/whatsmeow/proto/waCommon" + "go.mau.fi/whatsmeow/proto/waConsumerApplication" + "go.mau.fi/whatsmeow/proto/waMsgApplication" + "go.mau.fi/whatsmeow/proto/waMsgTransport" "go.mau.fi/whatsmeow/types" "go.mau.fi/whatsmeow/types/events" ) @@ -59,7 +59,7 @@ func (cli *Client) SendFBMessage( if metadata == nil { metadata = &waMsgApplication.MessageApplication_Metadata{} } - metadata.FrankingVersion = 0 + metadata.FrankingVersion = proto.Int32(0) metadata.FrankingKey = random.Bytes(32) msgAttrs := getAttrsFromFBMessage(message) messageAppProto := &waMsgApplication.MessageApplication{ @@ -69,10 +69,10 @@ func (cli *Client) SendFBMessage( SubProtocol: &waMsgApplication.MessageApplication_SubProtocolPayload_ConsumerMessage{ ConsumerMessage: &waCommon.SubProtocol{ Payload: consumerMessage, - Version: FBConsumerMessageVersion, + Version: proto.Int32(FBConsumerMessageVersion), }, }, - FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER, + FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER.Enum(), }, }, }, @@ -206,7 +206,7 @@ func (cli *Client) sendGroupV3( return "", nil, fmt.Errorf("failed to create sender key distribution message to send %s to %s: %w", id, to, err) } skdm := &waMsgTransport.MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage{ - GroupID: to.String(), + GroupID: proto.String(to.String()), AxolotlSenderKeyDistributionMessage: signalSKDMessage.Serialize(), } @@ -215,9 +215,9 @@ func (cli *Client) sendGroupV3( Payload: &waMsgTransport.MessageTransport_Payload{ ApplicationPayload: &waCommon.SubProtocol{ Payload: messageApp, - Version: FBMessageApplicationVersion, + Version: proto.Int32(FBMessageApplicationVersion), }, - FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER, + FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER.Enum(), }, Protocol: &waMsgTransport.MessageTransport_Protocol{ Integral: &waMsgTransport.MessageTransport_Protocol_Integral{ @@ -229,8 +229,8 @@ func (cli *Client) sendGroupV3( DeviceListMetadata: nil, Icdc: nil, BackupDirective: &waMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective{ - MessageID: id, - ActionType: waMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT, + MessageID: &id, + ActionType: waMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT.Enum(), }, }, }, @@ -284,9 +284,9 @@ func (cli *Client) sendDMV3( payload := &waMsgTransport.MessageTransport_Payload{ ApplicationPayload: &waCommon.SubProtocol{ Payload: messageApp, - Version: FBMessageApplicationVersion, + Version: proto.Int32(FBMessageApplicationVersion), }, - FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER, + FutureProof: waCommon.FutureProofBehavior_PLACEHOLDER.Enum(), } node, allDevices, err := cli.prepareMessageNodeV3(ctx, to, ownID, id, payload, nil, msgAttrs, frankingTag, []types.JID{to, ownID.ToNonAD()}, timings) @@ -420,8 +420,8 @@ func (cli *Client) prepareMessageNodeV3( } dsm := &waMsgTransport.MessageTransport_Protocol_Integral_DeviceSentMessage{ - DestinationJID: to.String(), - Phash: "", + DestinationJID: proto.String(to.String()), + Phash: proto.String(""), } start = time.Now() diff --git a/vendor/go.mau.fi/whatsmeow/store/clientpayload.go b/vendor/go.mau.fi/whatsmeow/store/clientpayload.go index a280c93c..8d2ed6bd 100644 --- a/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +++ b/vendor/go.mau.fi/whatsmeow/store/clientpayload.go @@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_ } // waVersion is the WhatsApp web client version -var waVersion = WAVersionContainer{2, 2412, 50} +var waVersion = WAVersionContainer{2, 3000, 1014340090} // waVersionHash is the md5 hash of a dot-separated waVersion var waVersionHash [16]byte @@ -153,7 +153,7 @@ func (device *Device) getRegistrationPayload() *waProto.ClientPayload { ERegid: regID, EKeytype: []byte{ecc.DjbType}, EIdent: device.IdentityKey.Pub[:], - ESkeyId: preKeyID[1:], + ESkeyID: preKeyID[1:], ESkeyVal: device.SignedPreKey.Pub[:], ESkeySig: device.SignedPreKey.Signature[:], BuildHash: waVersionHash[:], diff --git a/vendor/go.mau.fi/whatsmeow/types/events/events.go b/vendor/go.mau.fi/whatsmeow/types/events/events.go index c2a457a4..7467ad6f 100644 --- a/vendor/go.mau.fi/whatsmeow/types/events/events.go +++ b/vendor/go.mau.fi/whatsmeow/types/events/events.go @@ -13,10 +13,10 @@ import ( "time" waBinary "go.mau.fi/whatsmeow/binary" - "go.mau.fi/whatsmeow/binary/armadillo" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" - "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport" waProto "go.mau.fi/whatsmeow/binary/proto" + armadillo "go.mau.fi/whatsmeow/proto" + "go.mau.fi/whatsmeow/proto/waMsgApplication" + "go.mau.fi/whatsmeow/proto/waMsgTransport" "go.mau.fi/whatsmeow/types" ) @@ -269,9 +269,11 @@ type Message struct { Message *waProto.Message // The actual message struct IsEphemeral bool // True if the message was unwrapped from an EphemeralMessage - IsViewOnce bool // True if the message was unwrapped from a ViewOnceMessage or ViewOnceMessageV2 - IsViewOnceV2 bool // True if the message was unwrapped from a ViewOnceMessage + IsViewOnce bool // True if the message was unwrapped from a ViewOnceMessage, ViewOnceMessageV2 or ViewOnceMessageV2Extension + IsViewOnceV2 bool // True if the message was unwrapped from a ViewOnceMessageV2 or ViewOnceMessageV2Extension + IsViewOnceV2Extension bool // True if the message was unwrapped from a ViewOnceMessageV2Extension IsDocumentWithCaption bool // True if the message was unwrapped from a DocumentWithCaptionMessage + IsLottieSticker bool // True if the message was unwrapped from a LottieStickerMessage IsEdit bool // True if the message was unwrapped from an EditedMessage // If this event was parsed from a WebMessageInfo (i.e. from a history sync or unavailable message request), the source data is here. @@ -304,7 +306,7 @@ func (evt *Message) UnwrapRaw() *Message { evt.Message = evt.RawMessage if evt.Message.GetDeviceSentMessage().GetMessage() != nil { evt.Info.DeviceSentMeta = &types.DeviceSentMeta{ - DestinationJID: evt.Message.GetDeviceSentMessage().GetDestinationJid(), + DestinationJID: evt.Message.GetDeviceSentMessage().GetDestinationJID(), Phash: evt.Message.GetDeviceSentMessage().GetPhash(), } evt.Message = evt.Message.GetDeviceSentMessage().GetMessage() @@ -322,6 +324,16 @@ func (evt *Message) UnwrapRaw() *Message { evt.IsViewOnce = true evt.IsViewOnceV2 = true } + if evt.Message.GetViewOnceMessageV2Extension().GetMessage() != nil { + evt.Message = evt.Message.GetViewOnceMessageV2Extension().GetMessage() + evt.IsViewOnce = true + evt.IsViewOnceV2 = true + evt.IsViewOnceV2Extension = true + } + if evt.Message.GetLottieStickerMessage().GetMessage() != nil { + evt.Message = evt.Message.GetLottieStickerMessage().GetMessage() + evt.IsLottieSticker = true + } if evt.Message.GetDocumentWithCaptionMessage().GetMessage() != nil { evt.Message = evt.Message.GetDocumentWithCaptionMessage().GetMessage() evt.IsDocumentWithCaption = true diff --git a/vendor/go.mau.fi/whatsmeow/update.go b/vendor/go.mau.fi/whatsmeow/update.go index 00e35bfb..21066b72 100644 --- a/vendor/go.mau.fi/whatsmeow/update.go +++ b/vendor/go.mau.fi/whatsmeow/update.go @@ -1,4 +1,4 @@ -// Copyright (c) 2022 Tulir Asokan +// Copyright (c) 2024 Tulir Asokan // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -7,75 +7,57 @@ package whatsmeow import ( - "encoding/json" "fmt" "io" "net/http" - "net/url" + "regexp" + "strconv" "go.mau.fi/whatsmeow/socket" "go.mau.fi/whatsmeow/store" ) -// CheckUpdateResponse is the data returned by CheckUpdate. -type CheckUpdateResponse struct { - IsBroken bool - IsBelowSoft bool - IsBelowHard bool - CurrentVersion string +var clientVersionRegex = regexp.MustCompile(`"client_revision":(\d+),`) - ParsedVersion store.WAVersionContainer `json:"-"` -} - -// CheckUpdateURL is the base URL to check for WhatsApp web updates. -const CheckUpdateURL = "https://web.whatsapp.com/check-update" - -// CheckUpdate asks the WhatsApp servers if there is an update available -// (using the HTTP client and proxy settings of this whatsmeow Client instance). -func (cli *Client) CheckUpdate() (respData CheckUpdateResponse, err error) { - return CheckUpdate(cli.http) -} - -// CheckUpdate asks the WhatsApp servers if there is an update available. -func CheckUpdate(httpClient *http.Client) (respData CheckUpdateResponse, err error) { - var reqURL *url.URL - reqURL, err = url.Parse(CheckUpdateURL) - if err != nil { - err = fmt.Errorf("failed to parse check update URL: %w", err) - return - } - q := reqURL.Query() - q.Set("version", store.GetWAVersion().String()) - q.Set("platform", "web") - reqURL.RawQuery = q.Encode() - var req *http.Request - req, err = http.NewRequest(http.MethodGet, reqURL.String(), nil) - if err != nil { - err = fmt.Errorf("failed to prepare request: %w", err) - return - } - req.Header.Set("Origin", socket.Origin) - req.Header.Set("Referer", socket.Origin+"/") - var resp *http.Response - resp, err = httpClient.Do(req) - if err != nil { - err = fmt.Errorf("failed to send request: %w", err) - return - } - defer resp.Body.Close() - if resp.StatusCode != 200 { - body, _ := io.ReadAll(resp.Body) - err = fmt.Errorf("unexpected response with status %d: %s", resp.StatusCode, body) - return - } - err = json.NewDecoder(resp.Body).Decode(&respData) - if err != nil { - err = fmt.Errorf("failed to decode response body (status %d): %w", resp.StatusCode, err) - return - } - respData.ParsedVersion, err = store.ParseVersion(respData.CurrentVersion) - if err != nil { - err = fmt.Errorf("failed to parse version string: %w", err) - } - return +// GetLatestVersion returns the latest version number from web.whatsapp.com. +// +// After fetching, you can update the version to use using store.SetWAVersion, e.g. +// +// latestVer, err := GetLatestVersion(nil) +// if err != nil { +// return err +// } +// store.SetWAVersion(*latestVer) +func GetLatestVersion(httpClient *http.Client) (*store.WAVersionContainer, error) { + req, err := http.NewRequest(http.MethodGet, socket.Origin, nil) + if err != nil { + return nil, fmt.Errorf("failed to prepare request: %w", err) + } + req.Header.Set("User-Agent", "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36") + req.Header.Set("Sec-Fetch-Dest", "document") + req.Header.Set("Sec-Fetch-Mode", "navigate") + req.Header.Set("Sec-Fetch-Site", "none") + req.Header.Set("Sec-Fetch-User", "?1") + req.Header.Set("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7") + req.Header.Set("Accept-Language", "en-US,en;q=0.9") + if httpClient == nil { + httpClient = http.DefaultClient + } + resp, err := httpClient.Do(req) + if err != nil { + return nil, fmt.Errorf("failed to send request: %w", err) + } + data, err := io.ReadAll(resp.Body) + _ = resp.Body.Close() + if err != nil { + return nil, fmt.Errorf("failed to read response: %w", err) + } else if resp.StatusCode != 200 { + return nil, fmt.Errorf("unexpected response with status %d: %s", resp.StatusCode, data) + } else if match := clientVersionRegex.FindSubmatch(data); len(match) == 0 { + return nil, fmt.Errorf("version number not found") + } else if parsedVer, err := strconv.ParseInt(string(match[1]), 10, 64); err != nil { + return nil, fmt.Errorf("failed to parse version number: %w", err) + } else { + return &store.WAVersionContainer{2, 3000, uint32(parsedVer)}, nil + } } diff --git a/vendor/golang.org/x/crypto/LICENSE b/vendor/golang.org/x/crypto/LICENSE index 6a66aea5..2a7cf70d 100644 --- a/vendor/golang.org/x/crypto/LICENSE +++ b/vendor/golang.org/x/crypto/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/crypto/acme/http.go b/vendor/golang.org/x/crypto/acme/http.go index 58836e5d..d92ff232 100644 --- a/vendor/golang.org/x/crypto/acme/http.go +++ b/vendor/golang.org/x/crypto/acme/http.go @@ -15,6 +15,7 @@ import ( "io" "math/big" "net/http" + "runtime/debug" "strconv" "strings" "time" @@ -271,9 +272,27 @@ func (c *Client) httpClient() *http.Client { } // packageVersion is the version of the module that contains this package, for -// sending as part of the User-Agent header. It's set in version_go112.go. +// sending as part of the User-Agent header. var packageVersion string +func init() { + // Set packageVersion if the binary was built in modules mode and x/crypto + // was not replaced with a different module. + info, ok := debug.ReadBuildInfo() + if !ok { + return + } + for _, m := range info.Deps { + if m.Path != "golang.org/x/crypto" { + continue + } + if m.Replace == nil { + packageVersion = m.Version + } + break + } +} + // userAgent returns the User-Agent header value. It includes the package name, // the module version (if available), and the c.UserAgent value (if set). func (c *Client) userAgent() string { diff --git a/vendor/golang.org/x/crypto/acme/version_go112.go b/vendor/golang.org/x/crypto/acme/version_go112.go deleted file mode 100644 index cc5fab60..00000000 --- a/vendor/golang.org/x/crypto/acme/version_go112.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.12 - -package acme - -import "runtime/debug" - -func init() { - // Set packageVersion if the binary was built in modules mode and x/crypto - // was not replaced with a different module. - info, ok := debug.ReadBuildInfo() - if !ok { - return - } - for _, m := range info.Deps { - if m.Path != "golang.org/x/crypto" { - continue - } - if m.Replace == nil { - packageVersion = m.Version - } - break - } -} diff --git a/vendor/golang.org/x/crypto/bcrypt/bcrypt.go b/vendor/golang.org/x/crypto/bcrypt/bcrypt.go index 5577c0f9..dc931187 100644 --- a/vendor/golang.org/x/crypto/bcrypt/bcrypt.go +++ b/vendor/golang.org/x/crypto/bcrypt/bcrypt.go @@ -4,7 +4,7 @@ // Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing // algorithm. See http://www.usenix.org/event/usenix99/provos/provos.pdf -package bcrypt // import "golang.org/x/crypto/bcrypt" +package bcrypt // The code is a port of Provos and Mazières's C implementation. import ( diff --git a/vendor/golang.org/x/crypto/blowfish/cipher.go b/vendor/golang.org/x/crypto/blowfish/cipher.go index 213bf204..08989568 100644 --- a/vendor/golang.org/x/crypto/blowfish/cipher.go +++ b/vendor/golang.org/x/crypto/blowfish/cipher.go @@ -11,7 +11,7 @@ // Deprecated: any new system should use AES (from crypto/aes, if necessary in // an AEAD mode like crypto/cipher.NewGCM) or XChaCha20-Poly1305 (from // golang.org/x/crypto/chacha20poly1305). -package blowfish // import "golang.org/x/crypto/blowfish" +package blowfish // The code is a port of Bruce Schneier's C implementation. // See https://www.schneier.com/blowfish.html. diff --git a/vendor/golang.org/x/crypto/curve25519/curve25519.go b/vendor/golang.org/x/crypto/curve25519/curve25519.go index 00f963ea..21ca3b2e 100644 --- a/vendor/golang.org/x/crypto/curve25519/curve25519.go +++ b/vendor/golang.org/x/crypto/curve25519/curve25519.go @@ -6,9 +6,11 @@ // performs scalar multiplication on the elliptic curve known as Curve25519. // See RFC 7748. // -// Starting in Go 1.20, this package is a wrapper for the X25519 implementation +// This package is a wrapper for the X25519 implementation // in the crypto/ecdh package. -package curve25519 // import "golang.org/x/crypto/curve25519" +package curve25519 + +import "crypto/ecdh" // ScalarMult sets dst to the product scalar * point. // @@ -16,7 +18,13 @@ package curve25519 // import "golang.org/x/crypto/curve25519" // zeroes, irrespective of the scalar. Instead, use the X25519 function, which // will return an error. func ScalarMult(dst, scalar, point *[32]byte) { - scalarMult(dst, scalar, point) + if _, err := x25519(dst, scalar[:], point[:]); err != nil { + // The only error condition for x25519 when the inputs are 32 bytes long + // is if the output would have been the all-zero value. + for i := range dst { + dst[i] = 0 + } + } } // ScalarBaseMult sets dst to the product scalar * base where base is the @@ -25,7 +33,12 @@ func ScalarMult(dst, scalar, point *[32]byte) { // It is recommended to use the X25519 function with Basepoint instead, as // copying into fixed size arrays can lead to unexpected bugs. func ScalarBaseMult(dst, scalar *[32]byte) { - scalarBaseMult(dst, scalar) + curve := ecdh.X25519() + priv, err := curve.NewPrivateKey(scalar[:]) + if err != nil { + panic("curve25519: internal error: scalarBaseMult was not 32 bytes") + } + copy(dst[:], priv.PublicKey().Bytes()) } const ( @@ -57,3 +70,21 @@ func X25519(scalar, point []byte) ([]byte, error) { var dst [32]byte return x25519(&dst, scalar, point) } + +func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) { + curve := ecdh.X25519() + pub, err := curve.NewPublicKey(point) + if err != nil { + return nil, err + } + priv, err := curve.NewPrivateKey(scalar) + if err != nil { + return nil, err + } + out, err := priv.ECDH(pub) + if err != nil { + return nil, err + } + copy(dst[:], out) + return dst[:], nil +} diff --git a/vendor/golang.org/x/crypto/curve25519/curve25519_compat.go b/vendor/golang.org/x/crypto/curve25519/curve25519_compat.go deleted file mode 100644 index ba647e8d..00000000 --- a/vendor/golang.org/x/crypto/curve25519/curve25519_compat.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.20 - -package curve25519 - -import ( - "crypto/subtle" - "errors" - "strconv" - - "golang.org/x/crypto/curve25519/internal/field" -) - -func scalarMult(dst, scalar, point *[32]byte) { - var e [32]byte - - copy(e[:], scalar[:]) - e[0] &= 248 - e[31] &= 127 - e[31] |= 64 - - var x1, x2, z2, x3, z3, tmp0, tmp1 field.Element - x1.SetBytes(point[:]) - x2.One() - x3.Set(&x1) - z3.One() - - swap := 0 - for pos := 254; pos >= 0; pos-- { - b := e[pos/8] >> uint(pos&7) - b &= 1 - swap ^= int(b) - x2.Swap(&x3, swap) - z2.Swap(&z3, swap) - swap = int(b) - - tmp0.Subtract(&x3, &z3) - tmp1.Subtract(&x2, &z2) - x2.Add(&x2, &z2) - z2.Add(&x3, &z3) - z3.Multiply(&tmp0, &x2) - z2.Multiply(&z2, &tmp1) - tmp0.Square(&tmp1) - tmp1.Square(&x2) - x3.Add(&z3, &z2) - z2.Subtract(&z3, &z2) - x2.Multiply(&tmp1, &tmp0) - tmp1.Subtract(&tmp1, &tmp0) - z2.Square(&z2) - - z3.Mult32(&tmp1, 121666) - x3.Square(&x3) - tmp0.Add(&tmp0, &z3) - z3.Multiply(&x1, &z2) - z2.Multiply(&tmp1, &tmp0) - } - - x2.Swap(&x3, swap) - z2.Swap(&z3, swap) - - z2.Invert(&z2) - x2.Multiply(&x2, &z2) - copy(dst[:], x2.Bytes()) -} - -func scalarBaseMult(dst, scalar *[32]byte) { - checkBasepoint() - scalarMult(dst, scalar, &basePoint) -} - -func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) { - var in [32]byte - if l := len(scalar); l != 32 { - return nil, errors.New("bad scalar length: " + strconv.Itoa(l) + ", expected 32") - } - if l := len(point); l != 32 { - return nil, errors.New("bad point length: " + strconv.Itoa(l) + ", expected 32") - } - copy(in[:], scalar) - if &point[0] == &Basepoint[0] { - scalarBaseMult(dst, &in) - } else { - var base, zero [32]byte - copy(base[:], point) - scalarMult(dst, &in, &base) - if subtle.ConstantTimeCompare(dst[:], zero[:]) == 1 { - return nil, errors.New("bad input point: low order point") - } - } - return dst[:], nil -} - -func checkBasepoint() { - if subtle.ConstantTimeCompare(Basepoint, []byte{ - 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - }) != 1 { - panic("curve25519: global Basepoint value was modified") - } -} diff --git a/vendor/golang.org/x/crypto/curve25519/curve25519_go120.go b/vendor/golang.org/x/crypto/curve25519/curve25519_go120.go deleted file mode 100644 index 627df497..00000000 --- a/vendor/golang.org/x/crypto/curve25519/curve25519_go120.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.20 - -package curve25519 - -import "crypto/ecdh" - -func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) { - curve := ecdh.X25519() - pub, err := curve.NewPublicKey(point) - if err != nil { - return nil, err - } - priv, err := curve.NewPrivateKey(scalar) - if err != nil { - return nil, err - } - out, err := priv.ECDH(pub) - if err != nil { - return nil, err - } - copy(dst[:], out) - return dst[:], nil -} - -func scalarMult(dst, scalar, point *[32]byte) { - if _, err := x25519(dst, scalar[:], point[:]); err != nil { - // The only error condition for x25519 when the inputs are 32 bytes long - // is if the output would have been the all-zero value. - for i := range dst { - dst[i] = 0 - } - } -} - -func scalarBaseMult(dst, scalar *[32]byte) { - curve := ecdh.X25519() - priv, err := curve.NewPrivateKey(scalar[:]) - if err != nil { - panic("curve25519: internal error: scalarBaseMult was not 32 bytes") - } - copy(dst[:], priv.PublicKey().Bytes()) -} diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/README b/vendor/golang.org/x/crypto/curve25519/internal/field/README deleted file mode 100644 index e25bca7d..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/README +++ /dev/null @@ -1,7 +0,0 @@ -This package is kept in sync with crypto/ed25519/internal/edwards25519/field in -the standard library. - -If there are any changes in the standard library that need to be synced to this -package, run sync.sh. It will not overwrite any local changes made since the -previous sync, so it's ok to land changes in this package first, and then sync -to the standard library later. diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe.go b/vendor/golang.org/x/crypto/curve25519/internal/field/fe.go deleted file mode 100644 index ca841ad9..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe.go +++ /dev/null @@ -1,416 +0,0 @@ -// Copyright (c) 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Package field implements fast arithmetic modulo 2^255-19. -package field - -import ( - "crypto/subtle" - "encoding/binary" - "math/bits" -) - -// Element represents an element of the field GF(2^255-19). Note that this -// is not a cryptographically secure group, and should only be used to interact -// with edwards25519.Point coordinates. -// -// This type works similarly to math/big.Int, and all arguments and receivers -// are allowed to alias. -// -// The zero value is a valid zero element. -type Element struct { - // An element t represents the integer - // t.l0 + t.l1*2^51 + t.l2*2^102 + t.l3*2^153 + t.l4*2^204 - // - // Between operations, all limbs are expected to be lower than 2^52. - l0 uint64 - l1 uint64 - l2 uint64 - l3 uint64 - l4 uint64 -} - -const maskLow51Bits uint64 = (1 << 51) - 1 - -var feZero = &Element{0, 0, 0, 0, 0} - -// Zero sets v = 0, and returns v. -func (v *Element) Zero() *Element { - *v = *feZero - return v -} - -var feOne = &Element{1, 0, 0, 0, 0} - -// One sets v = 1, and returns v. -func (v *Element) One() *Element { - *v = *feOne - return v -} - -// reduce reduces v modulo 2^255 - 19 and returns it. -func (v *Element) reduce() *Element { - v.carryPropagate() - - // After the light reduction we now have a field element representation - // v < 2^255 + 2^13 * 19, but need v < 2^255 - 19. - - // If v >= 2^255 - 19, then v + 19 >= 2^255, which would overflow 2^255 - 1, - // generating a carry. That is, c will be 0 if v < 2^255 - 19, and 1 otherwise. - c := (v.l0 + 19) >> 51 - c = (v.l1 + c) >> 51 - c = (v.l2 + c) >> 51 - c = (v.l3 + c) >> 51 - c = (v.l4 + c) >> 51 - - // If v < 2^255 - 19 and c = 0, this will be a no-op. Otherwise, it's - // effectively applying the reduction identity to the carry. - v.l0 += 19 * c - - v.l1 += v.l0 >> 51 - v.l0 = v.l0 & maskLow51Bits - v.l2 += v.l1 >> 51 - v.l1 = v.l1 & maskLow51Bits - v.l3 += v.l2 >> 51 - v.l2 = v.l2 & maskLow51Bits - v.l4 += v.l3 >> 51 - v.l3 = v.l3 & maskLow51Bits - // no additional carry - v.l4 = v.l4 & maskLow51Bits - - return v -} - -// Add sets v = a + b, and returns v. -func (v *Element) Add(a, b *Element) *Element { - v.l0 = a.l0 + b.l0 - v.l1 = a.l1 + b.l1 - v.l2 = a.l2 + b.l2 - v.l3 = a.l3 + b.l3 - v.l4 = a.l4 + b.l4 - // Using the generic implementation here is actually faster than the - // assembly. Probably because the body of this function is so simple that - // the compiler can figure out better optimizations by inlining the carry - // propagation. TODO - return v.carryPropagateGeneric() -} - -// Subtract sets v = a - b, and returns v. -func (v *Element) Subtract(a, b *Element) *Element { - // We first add 2 * p, to guarantee the subtraction won't underflow, and - // then subtract b (which can be up to 2^255 + 2^13 * 19). - v.l0 = (a.l0 + 0xFFFFFFFFFFFDA) - b.l0 - v.l1 = (a.l1 + 0xFFFFFFFFFFFFE) - b.l1 - v.l2 = (a.l2 + 0xFFFFFFFFFFFFE) - b.l2 - v.l3 = (a.l3 + 0xFFFFFFFFFFFFE) - b.l3 - v.l4 = (a.l4 + 0xFFFFFFFFFFFFE) - b.l4 - return v.carryPropagate() -} - -// Negate sets v = -a, and returns v. -func (v *Element) Negate(a *Element) *Element { - return v.Subtract(feZero, a) -} - -// Invert sets v = 1/z mod p, and returns v. -// -// If z == 0, Invert returns v = 0. -func (v *Element) Invert(z *Element) *Element { - // Inversion is implemented as exponentiation with exponent p − 2. It uses the - // same sequence of 255 squarings and 11 multiplications as [Curve25519]. - var z2, z9, z11, z2_5_0, z2_10_0, z2_20_0, z2_50_0, z2_100_0, t Element - - z2.Square(z) // 2 - t.Square(&z2) // 4 - t.Square(&t) // 8 - z9.Multiply(&t, z) // 9 - z11.Multiply(&z9, &z2) // 11 - t.Square(&z11) // 22 - z2_5_0.Multiply(&t, &z9) // 31 = 2^5 - 2^0 - - t.Square(&z2_5_0) // 2^6 - 2^1 - for i := 0; i < 4; i++ { - t.Square(&t) // 2^10 - 2^5 - } - z2_10_0.Multiply(&t, &z2_5_0) // 2^10 - 2^0 - - t.Square(&z2_10_0) // 2^11 - 2^1 - for i := 0; i < 9; i++ { - t.Square(&t) // 2^20 - 2^10 - } - z2_20_0.Multiply(&t, &z2_10_0) // 2^20 - 2^0 - - t.Square(&z2_20_0) // 2^21 - 2^1 - for i := 0; i < 19; i++ { - t.Square(&t) // 2^40 - 2^20 - } - t.Multiply(&t, &z2_20_0) // 2^40 - 2^0 - - t.Square(&t) // 2^41 - 2^1 - for i := 0; i < 9; i++ { - t.Square(&t) // 2^50 - 2^10 - } - z2_50_0.Multiply(&t, &z2_10_0) // 2^50 - 2^0 - - t.Square(&z2_50_0) // 2^51 - 2^1 - for i := 0; i < 49; i++ { - t.Square(&t) // 2^100 - 2^50 - } - z2_100_0.Multiply(&t, &z2_50_0) // 2^100 - 2^0 - - t.Square(&z2_100_0) // 2^101 - 2^1 - for i := 0; i < 99; i++ { - t.Square(&t) // 2^200 - 2^100 - } - t.Multiply(&t, &z2_100_0) // 2^200 - 2^0 - - t.Square(&t) // 2^201 - 2^1 - for i := 0; i < 49; i++ { - t.Square(&t) // 2^250 - 2^50 - } - t.Multiply(&t, &z2_50_0) // 2^250 - 2^0 - - t.Square(&t) // 2^251 - 2^1 - t.Square(&t) // 2^252 - 2^2 - t.Square(&t) // 2^253 - 2^3 - t.Square(&t) // 2^254 - 2^4 - t.Square(&t) // 2^255 - 2^5 - - return v.Multiply(&t, &z11) // 2^255 - 21 -} - -// Set sets v = a, and returns v. -func (v *Element) Set(a *Element) *Element { - *v = *a - return v -} - -// SetBytes sets v to x, which must be a 32-byte little-endian encoding. -// -// Consistent with RFC 7748, the most significant bit (the high bit of the -// last byte) is ignored, and non-canonical values (2^255-19 through 2^255-1) -// are accepted. Note that this is laxer than specified by RFC 8032. -func (v *Element) SetBytes(x []byte) *Element { - if len(x) != 32 { - panic("edwards25519: invalid field element input size") - } - - // Bits 0:51 (bytes 0:8, bits 0:64, shift 0, mask 51). - v.l0 = binary.LittleEndian.Uint64(x[0:8]) - v.l0 &= maskLow51Bits - // Bits 51:102 (bytes 6:14, bits 48:112, shift 3, mask 51). - v.l1 = binary.LittleEndian.Uint64(x[6:14]) >> 3 - v.l1 &= maskLow51Bits - // Bits 102:153 (bytes 12:20, bits 96:160, shift 6, mask 51). - v.l2 = binary.LittleEndian.Uint64(x[12:20]) >> 6 - v.l2 &= maskLow51Bits - // Bits 153:204 (bytes 19:27, bits 152:216, shift 1, mask 51). - v.l3 = binary.LittleEndian.Uint64(x[19:27]) >> 1 - v.l3 &= maskLow51Bits - // Bits 204:251 (bytes 24:32, bits 192:256, shift 12, mask 51). - // Note: not bytes 25:33, shift 4, to avoid overread. - v.l4 = binary.LittleEndian.Uint64(x[24:32]) >> 12 - v.l4 &= maskLow51Bits - - return v -} - -// Bytes returns the canonical 32-byte little-endian encoding of v. -func (v *Element) Bytes() []byte { - // This function is outlined to make the allocations inline in the caller - // rather than happen on the heap. - var out [32]byte - return v.bytes(&out) -} - -func (v *Element) bytes(out *[32]byte) []byte { - t := *v - t.reduce() - - var buf [8]byte - for i, l := range [5]uint64{t.l0, t.l1, t.l2, t.l3, t.l4} { - bitsOffset := i * 51 - binary.LittleEndian.PutUint64(buf[:], l<= len(out) { - break - } - out[off] |= bb - } - } - - return out[:] -} - -// Equal returns 1 if v and u are equal, and 0 otherwise. -func (v *Element) Equal(u *Element) int { - sa, sv := u.Bytes(), v.Bytes() - return subtle.ConstantTimeCompare(sa, sv) -} - -// mask64Bits returns 0xffffffff if cond is 1, and 0 otherwise. -func mask64Bits(cond int) uint64 { return ^(uint64(cond) - 1) } - -// Select sets v to a if cond == 1, and to b if cond == 0. -func (v *Element) Select(a, b *Element, cond int) *Element { - m := mask64Bits(cond) - v.l0 = (m & a.l0) | (^m & b.l0) - v.l1 = (m & a.l1) | (^m & b.l1) - v.l2 = (m & a.l2) | (^m & b.l2) - v.l3 = (m & a.l3) | (^m & b.l3) - v.l4 = (m & a.l4) | (^m & b.l4) - return v -} - -// Swap swaps v and u if cond == 1 or leaves them unchanged if cond == 0, and returns v. -func (v *Element) Swap(u *Element, cond int) { - m := mask64Bits(cond) - t := m & (v.l0 ^ u.l0) - v.l0 ^= t - u.l0 ^= t - t = m & (v.l1 ^ u.l1) - v.l1 ^= t - u.l1 ^= t - t = m & (v.l2 ^ u.l2) - v.l2 ^= t - u.l2 ^= t - t = m & (v.l3 ^ u.l3) - v.l3 ^= t - u.l3 ^= t - t = m & (v.l4 ^ u.l4) - v.l4 ^= t - u.l4 ^= t -} - -// IsNegative returns 1 if v is negative, and 0 otherwise. -func (v *Element) IsNegative() int { - return int(v.Bytes()[0] & 1) -} - -// Absolute sets v to |u|, and returns v. -func (v *Element) Absolute(u *Element) *Element { - return v.Select(new(Element).Negate(u), u, u.IsNegative()) -} - -// Multiply sets v = x * y, and returns v. -func (v *Element) Multiply(x, y *Element) *Element { - feMul(v, x, y) - return v -} - -// Square sets v = x * x, and returns v. -func (v *Element) Square(x *Element) *Element { - feSquare(v, x) - return v -} - -// Mult32 sets v = x * y, and returns v. -func (v *Element) Mult32(x *Element, y uint32) *Element { - x0lo, x0hi := mul51(x.l0, y) - x1lo, x1hi := mul51(x.l1, y) - x2lo, x2hi := mul51(x.l2, y) - x3lo, x3hi := mul51(x.l3, y) - x4lo, x4hi := mul51(x.l4, y) - v.l0 = x0lo + 19*x4hi // carried over per the reduction identity - v.l1 = x1lo + x0hi - v.l2 = x2lo + x1hi - v.l3 = x3lo + x2hi - v.l4 = x4lo + x3hi - // The hi portions are going to be only 32 bits, plus any previous excess, - // so we can skip the carry propagation. - return v -} - -// mul51 returns lo + hi * 2âµÂ¹ = a * b. -func mul51(a uint64, b uint32) (lo uint64, hi uint64) { - mh, ml := bits.Mul64(a, uint64(b)) - lo = ml & maskLow51Bits - hi = (mh << 13) | (ml >> 51) - return -} - -// Pow22523 set v = x^((p-5)/8), and returns v. (p-5)/8 is 2^252-3. -func (v *Element) Pow22523(x *Element) *Element { - var t0, t1, t2 Element - - t0.Square(x) // x^2 - t1.Square(&t0) // x^4 - t1.Square(&t1) // x^8 - t1.Multiply(x, &t1) // x^9 - t0.Multiply(&t0, &t1) // x^11 - t0.Square(&t0) // x^22 - t0.Multiply(&t1, &t0) // x^31 - t1.Square(&t0) // x^62 - for i := 1; i < 5; i++ { // x^992 - t1.Square(&t1) - } - t0.Multiply(&t1, &t0) // x^1023 -> 1023 = 2^10 - 1 - t1.Square(&t0) // 2^11 - 2 - for i := 1; i < 10; i++ { // 2^20 - 2^10 - t1.Square(&t1) - } - t1.Multiply(&t1, &t0) // 2^20 - 1 - t2.Square(&t1) // 2^21 - 2 - for i := 1; i < 20; i++ { // 2^40 - 2^20 - t2.Square(&t2) - } - t1.Multiply(&t2, &t1) // 2^40 - 1 - t1.Square(&t1) // 2^41 - 2 - for i := 1; i < 10; i++ { // 2^50 - 2^10 - t1.Square(&t1) - } - t0.Multiply(&t1, &t0) // 2^50 - 1 - t1.Square(&t0) // 2^51 - 2 - for i := 1; i < 50; i++ { // 2^100 - 2^50 - t1.Square(&t1) - } - t1.Multiply(&t1, &t0) // 2^100 - 1 - t2.Square(&t1) // 2^101 - 2 - for i := 1; i < 100; i++ { // 2^200 - 2^100 - t2.Square(&t2) - } - t1.Multiply(&t2, &t1) // 2^200 - 1 - t1.Square(&t1) // 2^201 - 2 - for i := 1; i < 50; i++ { // 2^250 - 2^50 - t1.Square(&t1) - } - t0.Multiply(&t1, &t0) // 2^250 - 1 - t0.Square(&t0) // 2^251 - 2 - t0.Square(&t0) // 2^252 - 4 - return v.Multiply(&t0, x) // 2^252 - 3 -> x^(2^252-3) -} - -// sqrtM1 is 2^((p-1)/4), which squared is equal to -1 by Euler's Criterion. -var sqrtM1 = &Element{1718705420411056, 234908883556509, - 2233514472574048, 2117202627021982, 765476049583133} - -// SqrtRatio sets r to the non-negative square root of the ratio of u and v. -// -// If u/v is square, SqrtRatio returns r and 1. If u/v is not square, SqrtRatio -// sets r according to Section 4.3 of draft-irtf-cfrg-ristretto255-decaf448-00, -// and returns r and 0. -func (r *Element) SqrtRatio(u, v *Element) (rr *Element, wasSquare int) { - var a, b Element - - // r = (u * v3) * (u * v7)^((p-5)/8) - v2 := a.Square(v) - uv3 := b.Multiply(u, b.Multiply(v2, v)) - uv7 := a.Multiply(uv3, a.Square(v2)) - r.Multiply(uv3, r.Pow22523(uv7)) - - check := a.Multiply(v, a.Square(r)) // check = v * r^2 - - uNeg := b.Negate(u) - correctSignSqrt := check.Equal(u) - flippedSignSqrt := check.Equal(uNeg) - flippedSignSqrtI := check.Equal(uNeg.Multiply(uNeg, sqrtM1)) - - rPrime := b.Multiply(r, sqrtM1) // r_prime = SQRT_M1 * r - // r = CT_SELECT(r_prime IF flipped_sign_sqrt | flipped_sign_sqrt_i ELSE r) - r.Select(rPrime, r, flippedSignSqrt|flippedSignSqrtI) - - r.Absolute(r) // Choose the nonnegative square root. - return r, correctSignSqrt | flippedSignSqrt -} diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go deleted file mode 100644 index 70c54169..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT. - -//go:build amd64 && gc && !purego - -package field - -// feMul sets out = a * b. It works like feMulGeneric. -// -//go:noescape -func feMul(out *Element, a *Element, b *Element) - -// feSquare sets out = a * a. It works like feSquareGeneric. -// -//go:noescape -func feSquare(out *Element, a *Element) diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s deleted file mode 100644 index 60817acc..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s +++ /dev/null @@ -1,378 +0,0 @@ -// Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT. - -//go:build amd64 && gc && !purego - -#include "textflag.h" - -// func feMul(out *Element, a *Element, b *Element) -TEXT ·feMul(SB), NOSPLIT, $0-24 - MOVQ a+8(FP), CX - MOVQ b+16(FP), BX - - // r0 = a0×b0 - MOVQ (CX), AX - MULQ (BX) - MOVQ AX, DI - MOVQ DX, SI - - // r0 += 19×a1×b4 - MOVQ 8(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 32(BX) - ADDQ AX, DI - ADCQ DX, SI - - // r0 += 19×a2×b3 - MOVQ 16(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 24(BX) - ADDQ AX, DI - ADCQ DX, SI - - // r0 += 19×a3×b2 - MOVQ 24(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 16(BX) - ADDQ AX, DI - ADCQ DX, SI - - // r0 += 19×a4×b1 - MOVQ 32(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 8(BX) - ADDQ AX, DI - ADCQ DX, SI - - // r1 = a0×b1 - MOVQ (CX), AX - MULQ 8(BX) - MOVQ AX, R9 - MOVQ DX, R8 - - // r1 += a1×b0 - MOVQ 8(CX), AX - MULQ (BX) - ADDQ AX, R9 - ADCQ DX, R8 - - // r1 += 19×a2×b4 - MOVQ 16(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 32(BX) - ADDQ AX, R9 - ADCQ DX, R8 - - // r1 += 19×a3×b3 - MOVQ 24(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 24(BX) - ADDQ AX, R9 - ADCQ DX, R8 - - // r1 += 19×a4×b2 - MOVQ 32(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 16(BX) - ADDQ AX, R9 - ADCQ DX, R8 - - // r2 = a0×b2 - MOVQ (CX), AX - MULQ 16(BX) - MOVQ AX, R11 - MOVQ DX, R10 - - // r2 += a1×b1 - MOVQ 8(CX), AX - MULQ 8(BX) - ADDQ AX, R11 - ADCQ DX, R10 - - // r2 += a2×b0 - MOVQ 16(CX), AX - MULQ (BX) - ADDQ AX, R11 - ADCQ DX, R10 - - // r2 += 19×a3×b4 - MOVQ 24(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 32(BX) - ADDQ AX, R11 - ADCQ DX, R10 - - // r2 += 19×a4×b3 - MOVQ 32(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 24(BX) - ADDQ AX, R11 - ADCQ DX, R10 - - // r3 = a0×b3 - MOVQ (CX), AX - MULQ 24(BX) - MOVQ AX, R13 - MOVQ DX, R12 - - // r3 += a1×b2 - MOVQ 8(CX), AX - MULQ 16(BX) - ADDQ AX, R13 - ADCQ DX, R12 - - // r3 += a2×b1 - MOVQ 16(CX), AX - MULQ 8(BX) - ADDQ AX, R13 - ADCQ DX, R12 - - // r3 += a3×b0 - MOVQ 24(CX), AX - MULQ (BX) - ADDQ AX, R13 - ADCQ DX, R12 - - // r3 += 19×a4×b4 - MOVQ 32(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 32(BX) - ADDQ AX, R13 - ADCQ DX, R12 - - // r4 = a0×b4 - MOVQ (CX), AX - MULQ 32(BX) - MOVQ AX, R15 - MOVQ DX, R14 - - // r4 += a1×b3 - MOVQ 8(CX), AX - MULQ 24(BX) - ADDQ AX, R15 - ADCQ DX, R14 - - // r4 += a2×b2 - MOVQ 16(CX), AX - MULQ 16(BX) - ADDQ AX, R15 - ADCQ DX, R14 - - // r4 += a3×b1 - MOVQ 24(CX), AX - MULQ 8(BX) - ADDQ AX, R15 - ADCQ DX, R14 - - // r4 += a4×b0 - MOVQ 32(CX), AX - MULQ (BX) - ADDQ AX, R15 - ADCQ DX, R14 - - // First reduction chain - MOVQ $0x0007ffffffffffff, AX - SHLQ $0x0d, DI, SI - SHLQ $0x0d, R9, R8 - SHLQ $0x0d, R11, R10 - SHLQ $0x0d, R13, R12 - SHLQ $0x0d, R15, R14 - ANDQ AX, DI - IMUL3Q $0x13, R14, R14 - ADDQ R14, DI - ANDQ AX, R9 - ADDQ SI, R9 - ANDQ AX, R11 - ADDQ R8, R11 - ANDQ AX, R13 - ADDQ R10, R13 - ANDQ AX, R15 - ADDQ R12, R15 - - // Second reduction chain (carryPropagate) - MOVQ DI, SI - SHRQ $0x33, SI - MOVQ R9, R8 - SHRQ $0x33, R8 - MOVQ R11, R10 - SHRQ $0x33, R10 - MOVQ R13, R12 - SHRQ $0x33, R12 - MOVQ R15, R14 - SHRQ $0x33, R14 - ANDQ AX, DI - IMUL3Q $0x13, R14, R14 - ADDQ R14, DI - ANDQ AX, R9 - ADDQ SI, R9 - ANDQ AX, R11 - ADDQ R8, R11 - ANDQ AX, R13 - ADDQ R10, R13 - ANDQ AX, R15 - ADDQ R12, R15 - - // Store output - MOVQ out+0(FP), AX - MOVQ DI, (AX) - MOVQ R9, 8(AX) - MOVQ R11, 16(AX) - MOVQ R13, 24(AX) - MOVQ R15, 32(AX) - RET - -// func feSquare(out *Element, a *Element) -TEXT ·feSquare(SB), NOSPLIT, $0-16 - MOVQ a+8(FP), CX - - // r0 = l0×l0 - MOVQ (CX), AX - MULQ (CX) - MOVQ AX, SI - MOVQ DX, BX - - // r0 += 38×l1×l4 - MOVQ 8(CX), AX - IMUL3Q $0x26, AX, AX - MULQ 32(CX) - ADDQ AX, SI - ADCQ DX, BX - - // r0 += 38×l2×l3 - MOVQ 16(CX), AX - IMUL3Q $0x26, AX, AX - MULQ 24(CX) - ADDQ AX, SI - ADCQ DX, BX - - // r1 = 2×l0×l1 - MOVQ (CX), AX - SHLQ $0x01, AX - MULQ 8(CX) - MOVQ AX, R8 - MOVQ DX, DI - - // r1 += 38×l2×l4 - MOVQ 16(CX), AX - IMUL3Q $0x26, AX, AX - MULQ 32(CX) - ADDQ AX, R8 - ADCQ DX, DI - - // r1 += 19×l3×l3 - MOVQ 24(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 24(CX) - ADDQ AX, R8 - ADCQ DX, DI - - // r2 = 2×l0×l2 - MOVQ (CX), AX - SHLQ $0x01, AX - MULQ 16(CX) - MOVQ AX, R10 - MOVQ DX, R9 - - // r2 += l1×l1 - MOVQ 8(CX), AX - MULQ 8(CX) - ADDQ AX, R10 - ADCQ DX, R9 - - // r2 += 38×l3×l4 - MOVQ 24(CX), AX - IMUL3Q $0x26, AX, AX - MULQ 32(CX) - ADDQ AX, R10 - ADCQ DX, R9 - - // r3 = 2×l0×l3 - MOVQ (CX), AX - SHLQ $0x01, AX - MULQ 24(CX) - MOVQ AX, R12 - MOVQ DX, R11 - - // r3 += 2×l1×l2 - MOVQ 8(CX), AX - IMUL3Q $0x02, AX, AX - MULQ 16(CX) - ADDQ AX, R12 - ADCQ DX, R11 - - // r3 += 19×l4×l4 - MOVQ 32(CX), AX - IMUL3Q $0x13, AX, AX - MULQ 32(CX) - ADDQ AX, R12 - ADCQ DX, R11 - - // r4 = 2×l0×l4 - MOVQ (CX), AX - SHLQ $0x01, AX - MULQ 32(CX) - MOVQ AX, R14 - MOVQ DX, R13 - - // r4 += 2×l1×l3 - MOVQ 8(CX), AX - IMUL3Q $0x02, AX, AX - MULQ 24(CX) - ADDQ AX, R14 - ADCQ DX, R13 - - // r4 += l2×l2 - MOVQ 16(CX), AX - MULQ 16(CX) - ADDQ AX, R14 - ADCQ DX, R13 - - // First reduction chain - MOVQ $0x0007ffffffffffff, AX - SHLQ $0x0d, SI, BX - SHLQ $0x0d, R8, DI - SHLQ $0x0d, R10, R9 - SHLQ $0x0d, R12, R11 - SHLQ $0x0d, R14, R13 - ANDQ AX, SI - IMUL3Q $0x13, R13, R13 - ADDQ R13, SI - ANDQ AX, R8 - ADDQ BX, R8 - ANDQ AX, R10 - ADDQ DI, R10 - ANDQ AX, R12 - ADDQ R9, R12 - ANDQ AX, R14 - ADDQ R11, R14 - - // Second reduction chain (carryPropagate) - MOVQ SI, BX - SHRQ $0x33, BX - MOVQ R8, DI - SHRQ $0x33, DI - MOVQ R10, R9 - SHRQ $0x33, R9 - MOVQ R12, R11 - SHRQ $0x33, R11 - MOVQ R14, R13 - SHRQ $0x33, R13 - ANDQ AX, SI - IMUL3Q $0x13, R13, R13 - ADDQ R13, SI - ANDQ AX, R8 - ADDQ BX, R8 - ANDQ AX, R10 - ADDQ DI, R10 - ANDQ AX, R12 - ADDQ R9, R12 - ANDQ AX, R14 - ADDQ R11, R14 - - // Store output - MOVQ out+0(FP), AX - MOVQ SI, (AX) - MOVQ R8, 8(AX) - MOVQ R10, 16(AX) - MOVQ R12, 24(AX) - MOVQ R14, 32(AX) - RET diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go deleted file mode 100644 index 9da280d1..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !amd64 || !gc || purego - -package field - -func feMul(v, x, y *Element) { feMulGeneric(v, x, y) } - -func feSquare(v, x *Element) { feSquareGeneric(v, x) } diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go deleted file mode 100644 index 075fe9b9..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build arm64 && gc && !purego - -package field - -//go:noescape -func carryPropagate(v *Element) - -func (v *Element) carryPropagate() *Element { - carryPropagate(v) - return v -} diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s deleted file mode 100644 index 3126a434..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build arm64 && gc && !purego - -#include "textflag.h" - -// carryPropagate works exactly like carryPropagateGeneric and uses the -// same AND, ADD, and LSR+MADD instructions emitted by the compiler, but -// avoids loading R0-R4 twice and uses LDP and STP. -// -// See https://golang.org/issues/43145 for the main compiler issue. -// -// func carryPropagate(v *Element) -TEXT ·carryPropagate(SB),NOFRAME|NOSPLIT,$0-8 - MOVD v+0(FP), R20 - - LDP 0(R20), (R0, R1) - LDP 16(R20), (R2, R3) - MOVD 32(R20), R4 - - AND $0x7ffffffffffff, R0, R10 - AND $0x7ffffffffffff, R1, R11 - AND $0x7ffffffffffff, R2, R12 - AND $0x7ffffffffffff, R3, R13 - AND $0x7ffffffffffff, R4, R14 - - ADD R0>>51, R11, R11 - ADD R1>>51, R12, R12 - ADD R2>>51, R13, R13 - ADD R3>>51, R14, R14 - // R4>>51 * 19 + R10 -> R10 - LSR $51, R4, R21 - MOVD $19, R22 - MADD R22, R10, R21, R10 - - STP (R10, R11), 0(R20) - STP (R12, R13), 16(R20) - MOVD R14, 32(R20) - - RET diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go deleted file mode 100644 index fc029ac1..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) 2021 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !arm64 || !gc || purego - -package field - -func (v *Element) carryPropagate() *Element { - return v.carryPropagateGeneric() -} diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go b/vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go deleted file mode 100644 index 2671217d..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go +++ /dev/null @@ -1,264 +0,0 @@ -// Copyright (c) 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package field - -import "math/bits" - -// uint128 holds a 128-bit number as two 64-bit limbs, for use with the -// bits.Mul64 and bits.Add64 intrinsics. -type uint128 struct { - lo, hi uint64 -} - -// mul64 returns a * b. -func mul64(a, b uint64) uint128 { - hi, lo := bits.Mul64(a, b) - return uint128{lo, hi} -} - -// addMul64 returns v + a * b. -func addMul64(v uint128, a, b uint64) uint128 { - hi, lo := bits.Mul64(a, b) - lo, c := bits.Add64(lo, v.lo, 0) - hi, _ = bits.Add64(hi, v.hi, c) - return uint128{lo, hi} -} - -// shiftRightBy51 returns a >> 51. a is assumed to be at most 115 bits. -func shiftRightBy51(a uint128) uint64 { - return (a.hi << (64 - 51)) | (a.lo >> 51) -} - -func feMulGeneric(v, a, b *Element) { - a0 := a.l0 - a1 := a.l1 - a2 := a.l2 - a3 := a.l3 - a4 := a.l4 - - b0 := b.l0 - b1 := b.l1 - b2 := b.l2 - b3 := b.l3 - b4 := b.l4 - - // Limb multiplication works like pen-and-paper columnar multiplication, but - // with 51-bit limbs instead of digits. - // - // a4 a3 a2 a1 a0 x - // b4 b3 b2 b1 b0 = - // ------------------------ - // a4b0 a3b0 a2b0 a1b0 a0b0 + - // a4b1 a3b1 a2b1 a1b1 a0b1 + - // a4b2 a3b2 a2b2 a1b2 a0b2 + - // a4b3 a3b3 a2b3 a1b3 a0b3 + - // a4b4 a3b4 a2b4 a1b4 a0b4 = - // ---------------------------------------------- - // r8 r7 r6 r5 r4 r3 r2 r1 r0 - // - // We can then use the reduction identity (a * 2²âµâµ + b = a * 19 + b) to - // reduce the limbs that would overflow 255 bits. r5 * 2²âµâµ becomes 19 * r5, - // r6 * 2³â°â¶ becomes 19 * r6 * 2âµÂ¹, etc. - // - // Reduction can be carried out simultaneously to multiplication. For - // example, we do not compute r5: whenever the result of a multiplication - // belongs to r5, like a1b4, we multiply it by 19 and add the result to r0. - // - // a4b0 a3b0 a2b0 a1b0 a0b0 + - // a3b1 a2b1 a1b1 a0b1 19×a4b1 + - // a2b2 a1b2 a0b2 19×a4b2 19×a3b2 + - // a1b3 a0b3 19×a4b3 19×a3b3 19×a2b3 + - // a0b4 19×a4b4 19×a3b4 19×a2b4 19×a1b4 = - // -------------------------------------- - // r4 r3 r2 r1 r0 - // - // Finally we add up the columns into wide, overlapping limbs. - - a1_19 := a1 * 19 - a2_19 := a2 * 19 - a3_19 := a3 * 19 - a4_19 := a4 * 19 - - // r0 = a0×b0 + 19×(a1×b4 + a2×b3 + a3×b2 + a4×b1) - r0 := mul64(a0, b0) - r0 = addMul64(r0, a1_19, b4) - r0 = addMul64(r0, a2_19, b3) - r0 = addMul64(r0, a3_19, b2) - r0 = addMul64(r0, a4_19, b1) - - // r1 = a0×b1 + a1×b0 + 19×(a2×b4 + a3×b3 + a4×b2) - r1 := mul64(a0, b1) - r1 = addMul64(r1, a1, b0) - r1 = addMul64(r1, a2_19, b4) - r1 = addMul64(r1, a3_19, b3) - r1 = addMul64(r1, a4_19, b2) - - // r2 = a0×b2 + a1×b1 + a2×b0 + 19×(a3×b4 + a4×b3) - r2 := mul64(a0, b2) - r2 = addMul64(r2, a1, b1) - r2 = addMul64(r2, a2, b0) - r2 = addMul64(r2, a3_19, b4) - r2 = addMul64(r2, a4_19, b3) - - // r3 = a0×b3 + a1×b2 + a2×b1 + a3×b0 + 19×a4×b4 - r3 := mul64(a0, b3) - r3 = addMul64(r3, a1, b2) - r3 = addMul64(r3, a2, b1) - r3 = addMul64(r3, a3, b0) - r3 = addMul64(r3, a4_19, b4) - - // r4 = a0×b4 + a1×b3 + a2×b2 + a3×b1 + a4×b0 - r4 := mul64(a0, b4) - r4 = addMul64(r4, a1, b3) - r4 = addMul64(r4, a2, b2) - r4 = addMul64(r4, a3, b1) - r4 = addMul64(r4, a4, b0) - - // After the multiplication, we need to reduce (carry) the five coefficients - // to obtain a result with limbs that are at most slightly larger than 2âµÂ¹, - // to respect the Element invariant. - // - // Overall, the reduction works the same as carryPropagate, except with - // wider inputs: we take the carry for each coefficient by shifting it right - // by 51, and add it to the limb above it. The top carry is multiplied by 19 - // according to the reduction identity and added to the lowest limb. - // - // The largest coefficient (r0) will be at most 111 bits, which guarantees - // that all carries are at most 111 - 51 = 60 bits, which fits in a uint64. - // - // r0 = a0×b0 + 19×(a1×b4 + a2×b3 + a3×b2 + a4×b1) - // r0 < 2âµÂ²Ã—2âµÂ² + 19×(2âµÂ²Ã—2âµÂ² + 2âµÂ²Ã—2âµÂ² + 2âµÂ²Ã—2âµÂ² + 2âµÂ²Ã—2âµÂ²) - // r0 < (1 + 19 × 4) × 2âµÂ² × 2âµÂ² - // r0 < 2ⷠ× 2âµÂ² × 2âµÂ² - // r0 < 2¹¹¹ - // - // Moreover, the top coefficient (r4) is at most 107 bits, so c4 is at most - // 56 bits, and c4 * 19 is at most 61 bits, which again fits in a uint64 and - // allows us to easily apply the reduction identity. - // - // r4 = a0×b4 + a1×b3 + a2×b2 + a3×b1 + a4×b0 - // r4 < 5 × 2âµÂ² × 2âµÂ² - // r4 < 2¹â°â· - // - - c0 := shiftRightBy51(r0) - c1 := shiftRightBy51(r1) - c2 := shiftRightBy51(r2) - c3 := shiftRightBy51(r3) - c4 := shiftRightBy51(r4) - - rr0 := r0.lo&maskLow51Bits + c4*19 - rr1 := r1.lo&maskLow51Bits + c0 - rr2 := r2.lo&maskLow51Bits + c1 - rr3 := r3.lo&maskLow51Bits + c2 - rr4 := r4.lo&maskLow51Bits + c3 - - // Now all coefficients fit into 64-bit registers but are still too large to - // be passed around as a Element. We therefore do one last carry chain, - // where the carries will be small enough to fit in the wiggle room above 2âµÂ¹. - *v = Element{rr0, rr1, rr2, rr3, rr4} - v.carryPropagate() -} - -func feSquareGeneric(v, a *Element) { - l0 := a.l0 - l1 := a.l1 - l2 := a.l2 - l3 := a.l3 - l4 := a.l4 - - // Squaring works precisely like multiplication above, but thanks to its - // symmetry we get to group a few terms together. - // - // l4 l3 l2 l1 l0 x - // l4 l3 l2 l1 l0 = - // ------------------------ - // l4l0 l3l0 l2l0 l1l0 l0l0 + - // l4l1 l3l1 l2l1 l1l1 l0l1 + - // l4l2 l3l2 l2l2 l1l2 l0l2 + - // l4l3 l3l3 l2l3 l1l3 l0l3 + - // l4l4 l3l4 l2l4 l1l4 l0l4 = - // ---------------------------------------------- - // r8 r7 r6 r5 r4 r3 r2 r1 r0 - // - // l4l0 l3l0 l2l0 l1l0 l0l0 + - // l3l1 l2l1 l1l1 l0l1 19×l4l1 + - // l2l2 l1l2 l0l2 19×l4l2 19×l3l2 + - // l1l3 l0l3 19×l4l3 19×l3l3 19×l2l3 + - // l0l4 19×l4l4 19×l3l4 19×l2l4 19×l1l4 = - // -------------------------------------- - // r4 r3 r2 r1 r0 - // - // With precomputed 2×, 19×, and 2×19× terms, we can compute each limb with - // only three Mul64 and four Add64, instead of five and eight. - - l0_2 := l0 * 2 - l1_2 := l1 * 2 - - l1_38 := l1 * 38 - l2_38 := l2 * 38 - l3_38 := l3 * 38 - - l3_19 := l3 * 19 - l4_19 := l4 * 19 - - // r0 = l0×l0 + 19×(l1×l4 + l2×l3 + l3×l2 + l4×l1) = l0×l0 + 19×2×(l1×l4 + l2×l3) - r0 := mul64(l0, l0) - r0 = addMul64(r0, l1_38, l4) - r0 = addMul64(r0, l2_38, l3) - - // r1 = l0×l1 + l1×l0 + 19×(l2×l4 + l3×l3 + l4×l2) = 2×l0×l1 + 19×2×l2×l4 + 19×l3×l3 - r1 := mul64(l0_2, l1) - r1 = addMul64(r1, l2_38, l4) - r1 = addMul64(r1, l3_19, l3) - - // r2 = l0×l2 + l1×l1 + l2×l0 + 19×(l3×l4 + l4×l3) = 2×l0×l2 + l1×l1 + 19×2×l3×l4 - r2 := mul64(l0_2, l2) - r2 = addMul64(r2, l1, l1) - r2 = addMul64(r2, l3_38, l4) - - // r3 = l0×l3 + l1×l2 + l2×l1 + l3×l0 + 19×l4×l4 = 2×l0×l3 + 2×l1×l2 + 19×l4×l4 - r3 := mul64(l0_2, l3) - r3 = addMul64(r3, l1_2, l2) - r3 = addMul64(r3, l4_19, l4) - - // r4 = l0×l4 + l1×l3 + l2×l2 + l3×l1 + l4×l0 = 2×l0×l4 + 2×l1×l3 + l2×l2 - r4 := mul64(l0_2, l4) - r4 = addMul64(r4, l1_2, l3) - r4 = addMul64(r4, l2, l2) - - c0 := shiftRightBy51(r0) - c1 := shiftRightBy51(r1) - c2 := shiftRightBy51(r2) - c3 := shiftRightBy51(r3) - c4 := shiftRightBy51(r4) - - rr0 := r0.lo&maskLow51Bits + c4*19 - rr1 := r1.lo&maskLow51Bits + c0 - rr2 := r2.lo&maskLow51Bits + c1 - rr3 := r3.lo&maskLow51Bits + c2 - rr4 := r4.lo&maskLow51Bits + c3 - - *v = Element{rr0, rr1, rr2, rr3, rr4} - v.carryPropagate() -} - -// carryPropagateGeneric brings the limbs below 52 bits by applying the reduction -// identity (a * 2²âµâµ + b = a * 19 + b) to the l4 carry. TODO inline -func (v *Element) carryPropagateGeneric() *Element { - c0 := v.l0 >> 51 - c1 := v.l1 >> 51 - c2 := v.l2 >> 51 - c3 := v.l3 >> 51 - c4 := v.l4 >> 51 - - v.l0 = v.l0&maskLow51Bits + c4*19 - v.l1 = v.l1&maskLow51Bits + c0 - v.l2 = v.l2&maskLow51Bits + c1 - v.l3 = v.l3&maskLow51Bits + c2 - v.l4 = v.l4&maskLow51Bits + c3 - - return v -} diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint b/vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint deleted file mode 100644 index e3685f95..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint +++ /dev/null @@ -1 +0,0 @@ -b0c49ae9f59d233526f8934262c5bbbe14d4358d diff --git a/vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh b/vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh deleted file mode 100644 index 1ba22a8b..00000000 --- a/vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/bash -set -euo pipefail - -cd "$(git rev-parse --show-toplevel)" - -STD_PATH=src/crypto/ed25519/internal/edwards25519/field -LOCAL_PATH=curve25519/internal/field -LAST_SYNC_REF=$(cat $LOCAL_PATH/sync.checkpoint) - -git fetch https://go.googlesource.com/go master - -if git diff --quiet $LAST_SYNC_REF:$STD_PATH FETCH_HEAD:$STD_PATH; then - echo "No changes." -else - NEW_REF=$(git rev-parse FETCH_HEAD | tee $LOCAL_PATH/sync.checkpoint) - echo "Applying changes from $LAST_SYNC_REF to $NEW_REF..." - git diff $LAST_SYNC_REF:$STD_PATH FETCH_HEAD:$STD_PATH | \ - git apply -3 --directory=$LOCAL_PATH -fi diff --git a/vendor/golang.org/x/crypto/hkdf/hkdf.go b/vendor/golang.org/x/crypto/hkdf/hkdf.go index f4ded5fe..3bee6629 100644 --- a/vendor/golang.org/x/crypto/hkdf/hkdf.go +++ b/vendor/golang.org/x/crypto/hkdf/hkdf.go @@ -8,7 +8,7 @@ // HKDF is a cryptographic key derivation function (KDF) with the goal of // expanding limited input keying material into one or more cryptographically // strong secret keys. -package hkdf // import "golang.org/x/crypto/hkdf" +package hkdf import ( "crypto/hmac" diff --git a/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go b/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go index f3c3242a..1fe600ad 100644 --- a/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go +++ b/vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go @@ -32,7 +32,7 @@ chunk size. This package is interoperable with NaCl: https://nacl.cr.yp.to/secretbox.html. */ -package secretbox // import "golang.org/x/crypto/nacl/secretbox" +package secretbox import ( "golang.org/x/crypto/internal/alias" diff --git a/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go b/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go index 904b57e0..28cd99c7 100644 --- a/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go +++ b/vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go @@ -16,7 +16,7 @@ Hash Functions SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512 for HMAC. To choose, you can pass the `New` functions from the different SHA packages to pbkdf2.Key. */ -package pbkdf2 // import "golang.org/x/crypto/pbkdf2" +package pbkdf2 import ( "crypto/hmac" diff --git a/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go b/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go index 3fd05b27..3685b344 100644 --- a/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go +++ b/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package salsa provides low-level access to functions in the Salsa family. -package salsa // import "golang.org/x/crypto/salsa20/salsa" +package salsa import "math/bits" diff --git a/vendor/golang.org/x/crypto/scrypt/scrypt.go b/vendor/golang.org/x/crypto/scrypt/scrypt.go index c971a99f..76fa40fb 100644 --- a/vendor/golang.org/x/crypto/scrypt/scrypt.go +++ b/vendor/golang.org/x/crypto/scrypt/scrypt.go @@ -5,7 +5,7 @@ // Package scrypt implements the scrypt key derivation function as defined in // Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard // Functions" (https://www.tarsnap.com/scrypt/scrypt.pdf). -package scrypt // import "golang.org/x/crypto/scrypt" +package scrypt import ( "crypto/sha256" diff --git a/vendor/golang.org/x/crypto/ssh/client_auth.go b/vendor/golang.org/x/crypto/ssh/client_auth.go index 9486c598..b9396101 100644 --- a/vendor/golang.org/x/crypto/ssh/client_auth.go +++ b/vendor/golang.org/x/crypto/ssh/client_auth.go @@ -71,6 +71,10 @@ func (c *connection) clientAuthenticate(config *ClientConfig) error { for auth := AuthMethod(new(noneAuth)); auth != nil; { ok, methods, err := auth.auth(sessionID, config.User, c.transport, config.Rand, extensions) if err != nil { + // On disconnect, return error immediately + if _, ok := err.(*disconnectMsg); ok { + return err + } // We return the error later if there is no other method left to // try. ok = authFailure diff --git a/vendor/golang.org/x/crypto/ssh/doc.go b/vendor/golang.org/x/crypto/ssh/doc.go index edbe6334..f5d352fe 100644 --- a/vendor/golang.org/x/crypto/ssh/doc.go +++ b/vendor/golang.org/x/crypto/ssh/doc.go @@ -20,4 +20,4 @@ References: This package does not fall under the stability promise of the Go language itself, so its API may be changed when pressing needs arise. */ -package ssh // import "golang.org/x/crypto/ssh" +package ssh diff --git a/vendor/golang.org/x/crypto/ssh/keys.go b/vendor/golang.org/x/crypto/ssh/keys.go index df4ebdad..98e6706d 100644 --- a/vendor/golang.org/x/crypto/ssh/keys.go +++ b/vendor/golang.org/x/crypto/ssh/keys.go @@ -488,7 +488,49 @@ func (r *rsaPublicKey) Verify(data []byte, sig *Signature) error { h := hash.New() h.Write(data) digest := h.Sum(nil) - return rsa.VerifyPKCS1v15((*rsa.PublicKey)(r), hash, digest, sig.Blob) + + // Signatures in PKCS1v15 must match the key's modulus in + // length. However with SSH, some signers provide RSA + // signatures which are missing the MSB 0's of the bignum + // represented. With ssh-rsa signatures, this is encouraged by + // the spec (even though e.g. OpenSSH will give the full + // length unconditionally). With rsa-sha2-* signatures, the + // verifier is allowed to support these, even though they are + // out of spec. See RFC 4253 Section 6.6 for ssh-rsa and RFC + // 8332 Section 3 for rsa-sha2-* details. + // + // In practice: + // * OpenSSH always allows "short" signatures: + // https://github.com/openssh/openssh-portable/blob/V_9_8_P1/ssh-rsa.c#L526 + // but always generates padded signatures: + // https://github.com/openssh/openssh-portable/blob/V_9_8_P1/ssh-rsa.c#L439 + // + // * PuTTY versions 0.81 and earlier will generate short + // signatures for all RSA signature variants. Note that + // PuTTY is embedded in other software, such as WinSCP and + // FileZilla. At the time of writing, a patch has been + // applied to PuTTY to generate padded signatures for + // rsa-sha2-*, but not yet released: + // https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=a5bcf3d384e1bf15a51a6923c3724cbbee022d8e + // + // * SSH.NET versions 2024.0.0 and earlier will generate short + // signatures for all RSA signature variants, fixed in 2024.1.0: + // https://github.com/sshnet/SSH.NET/releases/tag/2024.1.0 + // + // As a result, we pad these up to the key size by inserting + // leading 0's. + // + // Note that support for short signatures with rsa-sha2-* may + // be removed in the future due to such signatures not being + // allowed by the spec. + blob := sig.Blob + keySize := (*rsa.PublicKey)(r).Size() + if len(blob) < keySize { + padded := make([]byte, keySize) + copy(padded[keySize-len(blob):], blob) + blob = padded + } + return rsa.VerifyPKCS1v15((*rsa.PublicKey)(r), hash, digest, blob) } func (r *rsaPublicKey) CryptoPublicKey() crypto.PublicKey { @@ -904,6 +946,10 @@ func (k *skECDSAPublicKey) Verify(data []byte, sig *Signature) error { return errors.New("ssh: signature did not verify") } +func (k *skECDSAPublicKey) CryptoPublicKey() crypto.PublicKey { + return &k.PublicKey +} + type skEd25519PublicKey struct { // application is a URL-like string, typically "ssh:" for SSH. // see openssh/PROTOCOL.u2f for details. @@ -1000,6 +1046,10 @@ func (k *skEd25519PublicKey) Verify(data []byte, sig *Signature) error { return nil } +func (k *skEd25519PublicKey) CryptoPublicKey() crypto.PublicKey { + return k.PublicKey +} + // NewSignerFromKey takes an *rsa.PrivateKey, *dsa.PrivateKey, // *ecdsa.PrivateKey or any other crypto.Signer and returns a // corresponding Signer instance. ECDSA keys must use P-256, P-384 or diff --git a/vendor/golang.org/x/crypto/ssh/server.go b/vendor/golang.org/x/crypto/ssh/server.go index e2ae4f89..3ca9e89e 100644 --- a/vendor/golang.org/x/crypto/ssh/server.go +++ b/vendor/golang.org/x/crypto/ssh/server.go @@ -462,6 +462,24 @@ func (p *PartialSuccessError) Error() string { // It is returned in ServerAuthError.Errors from NewServerConn. var ErrNoAuth = errors.New("ssh: no auth passed yet") +// BannerError is an error that can be returned by authentication handlers in +// ServerConfig to send a banner message to the client. +type BannerError struct { + Err error + Message string +} + +func (b *BannerError) Unwrap() error { + return b.Err +} + +func (b *BannerError) Error() string { + if b.Err == nil { + return b.Message + } + return b.Err.Error() +} + func (s *connection) serverAuthenticate(config *ServerConfig) (*Permissions, error) { sessionID := s.transport.getSessionID() var cache pubKeyCache @@ -734,6 +752,18 @@ userAuthLoop: config.AuthLogCallback(s, userAuthReq.Method, authErr) } + var bannerErr *BannerError + if errors.As(authErr, &bannerErr) { + if bannerErr.Message != "" { + bannerMsg := &userAuthBannerMsg{ + Message: bannerErr.Message, + } + if err := s.transport.writePacket(Marshal(bannerMsg)); err != nil { + return nil, err + } + } + } + if authErr == nil { break userAuthLoop } diff --git a/vendor/golang.org/x/exp/LICENSE b/vendor/golang.org/x/exp/LICENSE index 6a66aea5..2a7cf70d 100644 --- a/vendor/golang.org/x/exp/LICENSE +++ b/vendor/golang.org/x/exp/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/exp/slices/sort.go b/vendor/golang.org/x/exp/slices/sort.go index b67897f7..f58bbc7b 100644 --- a/vendor/golang.org/x/exp/slices/sort.go +++ b/vendor/golang.org/x/exp/slices/sort.go @@ -22,10 +22,12 @@ func Sort[S ~[]E, E constraints.Ordered](x S) { // SortFunc sorts the slice x in ascending order as determined by the cmp // function. This sort is not guaranteed to be stable. // cmp(a, b) should return a negative number when a < b, a positive number when -// a > b and zero when a == b. +// a > b and zero when a == b or when a is not comparable to b in the sense +// of the formal definition of Strict Weak Ordering. // // SortFunc requires that cmp is a strict weak ordering. // See https://en.wikipedia.org/wiki/Weak_ordering#Strict_weak_orderings. +// To indicate 'uncomparable', return 0 from the function. func SortFunc[S ~[]E, E any](x S, cmp func(a, b E) int) { n := len(x) pdqsortCmpFunc(x, 0, n, bits.Len(uint(n)), cmp) diff --git a/vendor/golang.org/x/net/LICENSE b/vendor/golang.org/x/net/LICENSE index 6a66aea5..2a7cf70d 100644 --- a/vendor/golang.org/x/net/LICENSE +++ b/vendor/golang.org/x/net/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/net/http2/http2.go b/vendor/golang.org/x/net/http2/http2.go index 6f2df281..003e649f 100644 --- a/vendor/golang.org/x/net/http2/http2.go +++ b/vendor/golang.org/x/net/http2/http2.go @@ -17,6 +17,7 @@ package http2 // import "golang.org/x/net/http2" import ( "bufio" + "context" "crypto/tls" "fmt" "io" @@ -26,6 +27,7 @@ import ( "strconv" "strings" "sync" + "time" "golang.org/x/net/http/httpguts" ) @@ -210,12 +212,6 @@ type stringWriter interface { WriteString(s string) (n int, err error) } -// A gate lets two goroutines coordinate their activities. -type gate chan struct{} - -func (g gate) Done() { g <- struct{}{} } -func (g gate) Wait() { <-g } - // A closeWaiter is like a sync.WaitGroup but only goes 1 to 0 (open to closed). type closeWaiter chan struct{} @@ -383,3 +379,14 @@ func validPseudoPath(v string) bool { // makes that struct also non-comparable, and generally doesn't add // any size (as long as it's first). type incomparable [0]func() + +// synctestGroupInterface is the methods of synctestGroup used by Server and Transport. +// It's defined as an interface here to let us keep synctestGroup entirely test-only +// and not a part of non-test builds. +type synctestGroupInterface interface { + Join() + Now() time.Time + NewTimer(d time.Duration) timer + AfterFunc(d time.Duration, f func()) timer + ContextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) +} diff --git a/vendor/golang.org/x/net/http2/server.go b/vendor/golang.org/x/net/http2/server.go index c5d08108..6c349f3e 100644 --- a/vendor/golang.org/x/net/http2/server.go +++ b/vendor/golang.org/x/net/http2/server.go @@ -154,6 +154,39 @@ type Server struct { // so that we don't embed a Mutex in this struct, which will make the // struct non-copyable, which might break some callers. state *serverInternalState + + // Synchronization group used for testing. + // Outside of tests, this is nil. + group synctestGroupInterface +} + +func (s *Server) markNewGoroutine() { + if s.group != nil { + s.group.Join() + } +} + +func (s *Server) now() time.Time { + if s.group != nil { + return s.group.Now() + } + return time.Now() +} + +// newTimer creates a new time.Timer, or a synthetic timer in tests. +func (s *Server) newTimer(d time.Duration) timer { + if s.group != nil { + return s.group.NewTimer(d) + } + return timeTimer{time.NewTimer(d)} +} + +// afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests. +func (s *Server) afterFunc(d time.Duration, f func()) timer { + if s.group != nil { + return s.group.AfterFunc(d, f) + } + return timeTimer{time.AfterFunc(d, f)} } func (s *Server) initialConnRecvWindowSize() int32 { @@ -400,6 +433,10 @@ func (o *ServeConnOpts) handler() http.Handler { // // The opts parameter is optional. If nil, default values are used. func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { + s.serveConn(c, opts, nil) +} + +func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverConn)) { baseCtx, cancel := serverConnBaseContext(c, opts) defer cancel() @@ -426,6 +463,9 @@ func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { pushEnabled: true, sawClientPreface: opts.SawClientPreface, } + if newf != nil { + newf(sc) + } s.state.registerConn(sc) defer s.state.unregisterConn(sc) @@ -599,8 +639,8 @@ type serverConn struct { inFrameScheduleLoop bool // whether we're in the scheduleFrameWrite loop needToSendGoAway bool // we need to schedule a GOAWAY frame write goAwayCode ErrCode - shutdownTimer *time.Timer // nil until used - idleTimer *time.Timer // nil if unused + shutdownTimer timer // nil until used + idleTimer timer // nil if unused // Owned by the writeFrameAsync goroutine: headerWriteBuf bytes.Buffer @@ -649,12 +689,12 @@ type stream struct { flow outflow // limits writing from Handler to client inflow inflow // what the client is allowed to POST/etc to us state streamState - resetQueued bool // RST_STREAM queued for write; set by sc.resetStream - gotTrailerHeader bool // HEADER frame for trailers was seen - wroteHeaders bool // whether we wrote headers (not status 100) - readDeadline *time.Timer // nil if unused - writeDeadline *time.Timer // nil if unused - closeErr error // set before cw is closed + resetQueued bool // RST_STREAM queued for write; set by sc.resetStream + gotTrailerHeader bool // HEADER frame for trailers was seen + wroteHeaders bool // whether we wrote headers (not status 100) + readDeadline timer // nil if unused + writeDeadline timer // nil if unused + closeErr error // set before cw is closed trailer http.Header // accumulated trailers reqTrailer http.Header // handler's Request.Trailer @@ -811,8 +851,9 @@ type readFrameResult struct { // consumer is done with the frame. // It's run on its own goroutine. func (sc *serverConn) readFrames() { - gate := make(gate) - gateDone := gate.Done + sc.srv.markNewGoroutine() + gate := make(chan struct{}) + gateDone := func() { gate <- struct{}{} } for { f, err := sc.framer.ReadFrame() select { @@ -843,6 +884,7 @@ type frameWriteResult struct { // At most one goroutine can be running writeFrameAsync at a time per // serverConn. func (sc *serverConn) writeFrameAsync(wr FrameWriteRequest, wd *writeData) { + sc.srv.markNewGoroutine() var err error if wd == nil { err = wr.write.writeFrame(sc) @@ -922,13 +964,13 @@ func (sc *serverConn) serve() { sc.setConnState(http.StateIdle) if sc.srv.IdleTimeout > 0 { - sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer) + sc.idleTimer = sc.srv.afterFunc(sc.srv.IdleTimeout, sc.onIdleTimer) defer sc.idleTimer.Stop() } go sc.readFrames() // closed by defer sc.conn.Close above - settingsTimer := time.AfterFunc(firstSettingsTimeout, sc.onSettingsTimer) + settingsTimer := sc.srv.afterFunc(firstSettingsTimeout, sc.onSettingsTimer) defer settingsTimer.Stop() loopNum := 0 @@ -1057,10 +1099,10 @@ func (sc *serverConn) readPreface() error { errc <- nil } }() - timer := time.NewTimer(prefaceTimeout) // TODO: configurable on *Server? + timer := sc.srv.newTimer(prefaceTimeout) // TODO: configurable on *Server? defer timer.Stop() select { - case <-timer.C: + case <-timer.C(): return errPrefaceTimeout case err := <-errc: if err == nil { @@ -1425,7 +1467,7 @@ func (sc *serverConn) goAway(code ErrCode) { func (sc *serverConn) shutDownIn(d time.Duration) { sc.serveG.check() - sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer) + sc.shutdownTimer = sc.srv.afterFunc(d, sc.onShutdownTimer) } func (sc *serverConn) resetStream(se StreamError) { @@ -1639,7 +1681,7 @@ func (sc *serverConn) closeStream(st *stream, err error) { delete(sc.streams, st.id) if len(sc.streams) == 0 { sc.setConnState(http.StateIdle) - if sc.srv.IdleTimeout > 0 { + if sc.srv.IdleTimeout > 0 && sc.idleTimer != nil { sc.idleTimer.Reset(sc.srv.IdleTimeout) } if h1ServerKeepAlivesDisabled(sc.hs) { @@ -1661,6 +1703,7 @@ func (sc *serverConn) closeStream(st *stream, err error) { } } st.closeErr = err + st.cancelCtx() st.cw.Close() // signals Handler's CloseNotifier, unblocks writes, etc sc.writeSched.CloseStream(st.id) } @@ -2021,7 +2064,7 @@ func (sc *serverConn) processHeaders(f *MetaHeadersFrame) error { // (in Go 1.8), though. That's a more sane option anyway. if sc.hs.ReadTimeout > 0 { sc.conn.SetReadDeadline(time.Time{}) - st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout) + st.readDeadline = sc.srv.afterFunc(sc.hs.ReadTimeout, st.onReadTimeout) } return sc.scheduleHandler(id, rw, req, handler) @@ -2119,7 +2162,7 @@ func (sc *serverConn) newStream(id, pusherID uint32, state streamState) *stream st.flow.add(sc.initialStreamSendWindowSize) st.inflow.init(sc.srv.initialStreamRecvWindowSize()) if sc.hs.WriteTimeout > 0 { - st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout) + st.writeDeadline = sc.srv.afterFunc(sc.hs.WriteTimeout, st.onWriteTimeout) } sc.streams[id] = st @@ -2343,6 +2386,7 @@ func (sc *serverConn) handlerDone() { // Run on its own goroutine. func (sc *serverConn) runHandler(rw *responseWriter, req *http.Request, handler func(http.ResponseWriter, *http.Request)) { + sc.srv.markNewGoroutine() defer sc.sendServeMsg(handlerDoneMsg) didPanic := true defer func() { @@ -2639,7 +2683,7 @@ func (rws *responseWriterState) writeChunk(p []byte) (n int, err error) { var date string if _, ok := rws.snapHeader["Date"]; !ok { // TODO(bradfitz): be faster here, like net/http? measure. - date = time.Now().UTC().Format(http.TimeFormat) + date = rws.conn.srv.now().UTC().Format(http.TimeFormat) } for _, v := range rws.snapHeader["Trailer"] { @@ -2761,7 +2805,7 @@ func (rws *responseWriterState) promoteUndeclaredTrailers() { func (w *responseWriter) SetReadDeadline(deadline time.Time) error { st := w.rws.stream - if !deadline.IsZero() && deadline.Before(time.Now()) { + if !deadline.IsZero() && deadline.Before(w.rws.conn.srv.now()) { // If we're setting a deadline in the past, reset the stream immediately // so writes after SetWriteDeadline returns will fail. st.onReadTimeout() @@ -2777,9 +2821,9 @@ func (w *responseWriter) SetReadDeadline(deadline time.Time) error { if deadline.IsZero() { st.readDeadline = nil } else if st.readDeadline == nil { - st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout) + st.readDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onReadTimeout) } else { - st.readDeadline.Reset(deadline.Sub(time.Now())) + st.readDeadline.Reset(deadline.Sub(sc.srv.now())) } }) return nil @@ -2787,7 +2831,7 @@ func (w *responseWriter) SetReadDeadline(deadline time.Time) error { func (w *responseWriter) SetWriteDeadline(deadline time.Time) error { st := w.rws.stream - if !deadline.IsZero() && deadline.Before(time.Now()) { + if !deadline.IsZero() && deadline.Before(w.rws.conn.srv.now()) { // If we're setting a deadline in the past, reset the stream immediately // so writes after SetWriteDeadline returns will fail. st.onWriteTimeout() @@ -2803,9 +2847,9 @@ func (w *responseWriter) SetWriteDeadline(deadline time.Time) error { if deadline.IsZero() { st.writeDeadline = nil } else if st.writeDeadline == nil { - st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout) + st.writeDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onWriteTimeout) } else { - st.writeDeadline.Reset(deadline.Sub(time.Now())) + st.writeDeadline.Reset(deadline.Sub(sc.srv.now())) } }) return nil diff --git a/vendor/golang.org/x/net/http2/testsync.go b/vendor/golang.org/x/net/http2/testsync.go deleted file mode 100644 index 61075bd1..00000000 --- a/vendor/golang.org/x/net/http2/testsync.go +++ /dev/null @@ -1,331 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. -package http2 - -import ( - "context" - "sync" - "time" -) - -// testSyncHooks coordinates goroutines in tests. -// -// For example, a call to ClientConn.RoundTrip involves several goroutines, including: -// - the goroutine running RoundTrip; -// - the clientStream.doRequest goroutine, which writes the request; and -// - the clientStream.readLoop goroutine, which reads the response. -// -// Using testSyncHooks, a test can start a RoundTrip and identify when all these goroutines -// are blocked waiting for some condition such as reading the Request.Body or waiting for -// flow control to become available. -// -// The testSyncHooks also manage timers and synthetic time in tests. -// This permits us to, for example, start a request and cause it to time out waiting for -// response headers without resorting to time.Sleep calls. -type testSyncHooks struct { - // active/inactive act as a mutex and condition variable. - // - // - neither chan contains a value: testSyncHooks is locked. - // - active contains a value: unlocked, and at least one goroutine is not blocked - // - inactive contains a value: unlocked, and all goroutines are blocked - active chan struct{} - inactive chan struct{} - - // goroutine counts - total int // total goroutines - condwait map[*sync.Cond]int // blocked in sync.Cond.Wait - blocked []*testBlockedGoroutine // otherwise blocked - - // fake time - now time.Time - timers []*fakeTimer - - // Transport testing: Report various events. - newclientconn func(*ClientConn) - newstream func(*clientStream) -} - -// testBlockedGoroutine is a blocked goroutine. -type testBlockedGoroutine struct { - f func() bool // blocked until f returns true - ch chan struct{} // closed when unblocked -} - -func newTestSyncHooks() *testSyncHooks { - h := &testSyncHooks{ - active: make(chan struct{}, 1), - inactive: make(chan struct{}, 1), - condwait: map[*sync.Cond]int{}, - } - h.inactive <- struct{}{} - h.now = time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC) - return h -} - -// lock acquires the testSyncHooks mutex. -func (h *testSyncHooks) lock() { - select { - case <-h.active: - case <-h.inactive: - } -} - -// waitInactive waits for all goroutines to become inactive. -func (h *testSyncHooks) waitInactive() { - for { - <-h.inactive - if !h.unlock() { - break - } - } -} - -// unlock releases the testSyncHooks mutex. -// It reports whether any goroutines are active. -func (h *testSyncHooks) unlock() (active bool) { - // Look for a blocked goroutine which can be unblocked. - blocked := h.blocked[:0] - unblocked := false - for _, b := range h.blocked { - if !unblocked && b.f() { - unblocked = true - close(b.ch) - } else { - blocked = append(blocked, b) - } - } - h.blocked = blocked - - // Count goroutines blocked on condition variables. - condwait := 0 - for _, count := range h.condwait { - condwait += count - } - - if h.total > condwait+len(blocked) { - h.active <- struct{}{} - return true - } else { - h.inactive <- struct{}{} - return false - } -} - -// goRun starts a new goroutine. -func (h *testSyncHooks) goRun(f func()) { - h.lock() - h.total++ - h.unlock() - go func() { - defer func() { - h.lock() - h.total-- - h.unlock() - }() - f() - }() -} - -// blockUntil indicates that a goroutine is blocked waiting for some condition to become true. -// It waits until f returns true before proceeding. -// -// Example usage: -// -// h.blockUntil(func() bool { -// // Is the context done yet? -// select { -// case <-ctx.Done(): -// default: -// return false -// } -// return true -// }) -// // Wait for the context to become done. -// <-ctx.Done() -// -// The function f passed to blockUntil must be non-blocking and idempotent. -func (h *testSyncHooks) blockUntil(f func() bool) { - if f() { - return - } - ch := make(chan struct{}) - h.lock() - h.blocked = append(h.blocked, &testBlockedGoroutine{ - f: f, - ch: ch, - }) - h.unlock() - <-ch -} - -// broadcast is sync.Cond.Broadcast. -func (h *testSyncHooks) condBroadcast(cond *sync.Cond) { - h.lock() - delete(h.condwait, cond) - h.unlock() - cond.Broadcast() -} - -// broadcast is sync.Cond.Wait. -func (h *testSyncHooks) condWait(cond *sync.Cond) { - h.lock() - h.condwait[cond]++ - h.unlock() -} - -// newTimer creates a new fake timer. -func (h *testSyncHooks) newTimer(d time.Duration) timer { - h.lock() - defer h.unlock() - t := &fakeTimer{ - hooks: h, - when: h.now.Add(d), - c: make(chan time.Time), - } - h.timers = append(h.timers, t) - return t -} - -// afterFunc creates a new fake AfterFunc timer. -func (h *testSyncHooks) afterFunc(d time.Duration, f func()) timer { - h.lock() - defer h.unlock() - t := &fakeTimer{ - hooks: h, - when: h.now.Add(d), - f: f, - } - h.timers = append(h.timers, t) - return t -} - -func (h *testSyncHooks) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) { - ctx, cancel := context.WithCancel(ctx) - t := h.afterFunc(d, cancel) - return ctx, func() { - t.Stop() - cancel() - } -} - -func (h *testSyncHooks) timeUntilEvent() time.Duration { - h.lock() - defer h.unlock() - var next time.Time - for _, t := range h.timers { - if next.IsZero() || t.when.Before(next) { - next = t.when - } - } - if d := next.Sub(h.now); d > 0 { - return d - } - return 0 -} - -// advance advances time and causes synthetic timers to fire. -func (h *testSyncHooks) advance(d time.Duration) { - h.lock() - defer h.unlock() - h.now = h.now.Add(d) - timers := h.timers[:0] - for _, t := range h.timers { - t := t // remove after go.mod depends on go1.22 - t.mu.Lock() - switch { - case t.when.After(h.now): - timers = append(timers, t) - case t.when.IsZero(): - // stopped timer - default: - t.when = time.Time{} - if t.c != nil { - close(t.c) - } - if t.f != nil { - h.total++ - go func() { - defer func() { - h.lock() - h.total-- - h.unlock() - }() - t.f() - }() - } - } - t.mu.Unlock() - } - h.timers = timers -} - -// A timer wraps a time.Timer, or a synthetic equivalent in tests. -// Unlike time.Timer, timer is single-use: The timer channel is closed when the timer expires. -type timer interface { - C() <-chan time.Time - Stop() bool - Reset(d time.Duration) bool -} - -// timeTimer implements timer using real time. -type timeTimer struct { - t *time.Timer - c chan time.Time -} - -// newTimeTimer creates a new timer using real time. -func newTimeTimer(d time.Duration) timer { - ch := make(chan time.Time) - t := time.AfterFunc(d, func() { - close(ch) - }) - return &timeTimer{t, ch} -} - -// newTimeAfterFunc creates an AfterFunc timer using real time. -func newTimeAfterFunc(d time.Duration, f func()) timer { - return &timeTimer{ - t: time.AfterFunc(d, f), - } -} - -func (t timeTimer) C() <-chan time.Time { return t.c } -func (t timeTimer) Stop() bool { return t.t.Stop() } -func (t timeTimer) Reset(d time.Duration) bool { return t.t.Reset(d) } - -// fakeTimer implements timer using fake time. -type fakeTimer struct { - hooks *testSyncHooks - - mu sync.Mutex - when time.Time // when the timer will fire - c chan time.Time // closed when the timer fires; mutually exclusive with f - f func() // called when the timer fires; mutually exclusive with c -} - -func (t *fakeTimer) C() <-chan time.Time { return t.c } - -func (t *fakeTimer) Stop() bool { - t.mu.Lock() - defer t.mu.Unlock() - stopped := t.when.IsZero() - t.when = time.Time{} - return stopped -} - -func (t *fakeTimer) Reset(d time.Duration) bool { - if t.c != nil || t.f == nil { - panic("fakeTimer only supports Reset on AfterFunc timers") - } - t.mu.Lock() - defer t.mu.Unlock() - t.hooks.lock() - defer t.hooks.unlock() - active := !t.when.IsZero() - t.when = t.hooks.now.Add(d) - if !active { - t.hooks.timers = append(t.hooks.timers, t) - } - return active -} diff --git a/vendor/golang.org/x/net/http2/timer.go b/vendor/golang.org/x/net/http2/timer.go new file mode 100644 index 00000000..0b1c17b8 --- /dev/null +++ b/vendor/golang.org/x/net/http2/timer.go @@ -0,0 +1,20 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +package http2 + +import "time" + +// A timer is a time.Timer, as an interface which can be replaced in tests. +type timer = interface { + C() <-chan time.Time + Reset(d time.Duration) bool + Stop() bool +} + +// timeTimer adapts a time.Timer to the timer interface. +type timeTimer struct { + *time.Timer +} + +func (t timeTimer) C() <-chan time.Time { return t.Timer.C } diff --git a/vendor/golang.org/x/net/http2/transport.go b/vendor/golang.org/x/net/http2/transport.go index 2fa49490..61f511f9 100644 --- a/vendor/golang.org/x/net/http2/transport.go +++ b/vendor/golang.org/x/net/http2/transport.go @@ -185,7 +185,45 @@ type Transport struct { connPoolOnce sync.Once connPoolOrDef ClientConnPool // non-nil version of ConnPool - syncHooks *testSyncHooks + *transportTestHooks +} + +// Hook points used for testing. +// Outside of tests, t.transportTestHooks is nil and these all have minimal implementations. +// Inside tests, see the testSyncHooks function docs. + +type transportTestHooks struct { + newclientconn func(*ClientConn) + group synctestGroupInterface +} + +func (t *Transport) markNewGoroutine() { + if t != nil && t.transportTestHooks != nil { + t.transportTestHooks.group.Join() + } +} + +// newTimer creates a new time.Timer, or a synthetic timer in tests. +func (t *Transport) newTimer(d time.Duration) timer { + if t.transportTestHooks != nil { + return t.transportTestHooks.group.NewTimer(d) + } + return timeTimer{time.NewTimer(d)} +} + +// afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests. +func (t *Transport) afterFunc(d time.Duration, f func()) timer { + if t.transportTestHooks != nil { + return t.transportTestHooks.group.AfterFunc(d, f) + } + return timeTimer{time.AfterFunc(d, f)} +} + +func (t *Transport) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) { + if t.transportTestHooks != nil { + return t.transportTestHooks.group.ContextWithTimeout(ctx, d) + } + return context.WithTimeout(ctx, d) } func (t *Transport) maxHeaderListSize() uint32 { @@ -352,60 +390,6 @@ type ClientConn struct { werr error // first write error that has occurred hbuf bytes.Buffer // HPACK encoder writes into this henc *hpack.Encoder - - syncHooks *testSyncHooks // can be nil -} - -// Hook points used for testing. -// Outside of tests, cc.syncHooks is nil and these all have minimal implementations. -// Inside tests, see the testSyncHooks function docs. - -// goRun starts a new goroutine. -func (cc *ClientConn) goRun(f func()) { - if cc.syncHooks != nil { - cc.syncHooks.goRun(f) - return - } - go f() -} - -// condBroadcast is cc.cond.Broadcast. -func (cc *ClientConn) condBroadcast() { - if cc.syncHooks != nil { - cc.syncHooks.condBroadcast(cc.cond) - } - cc.cond.Broadcast() -} - -// condWait is cc.cond.Wait. -func (cc *ClientConn) condWait() { - if cc.syncHooks != nil { - cc.syncHooks.condWait(cc.cond) - } - cc.cond.Wait() -} - -// newTimer creates a new time.Timer, or a synthetic timer in tests. -func (cc *ClientConn) newTimer(d time.Duration) timer { - if cc.syncHooks != nil { - return cc.syncHooks.newTimer(d) - } - return newTimeTimer(d) -} - -// afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests. -func (cc *ClientConn) afterFunc(d time.Duration, f func()) timer { - if cc.syncHooks != nil { - return cc.syncHooks.afterFunc(d, f) - } - return newTimeAfterFunc(d, f) -} - -func (cc *ClientConn) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) { - if cc.syncHooks != nil { - return cc.syncHooks.contextWithTimeout(ctx, d) - } - return context.WithTimeout(ctx, d) } // clientStream is the state for a single HTTP/2 stream. One of these @@ -487,7 +471,7 @@ func (cs *clientStream) abortStreamLocked(err error) { // TODO(dneil): Clean up tests where cs.cc.cond is nil. if cs.cc.cond != nil { // Wake up writeRequestBody if it is waiting on flow control. - cs.cc.condBroadcast() + cs.cc.cond.Broadcast() } } @@ -497,7 +481,7 @@ func (cs *clientStream) abortRequestBodyWrite() { defer cc.mu.Unlock() if cs.reqBody != nil && cs.reqBodyClosed == nil { cs.closeReqBodyLocked() - cc.condBroadcast() + cc.cond.Broadcast() } } @@ -507,10 +491,11 @@ func (cs *clientStream) closeReqBodyLocked() { } cs.reqBodyClosed = make(chan struct{}) reqBodyClosed := cs.reqBodyClosed - cs.cc.goRun(func() { + go func() { + cs.cc.t.markNewGoroutine() cs.reqBody.Close() close(reqBodyClosed) - }) + }() } type stickyErrWriter struct { @@ -626,21 +611,7 @@ func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Res backoff := float64(uint(1) << (uint(retry) - 1)) backoff += backoff * (0.1 * mathrand.Float64()) d := time.Second * time.Duration(backoff) - var tm timer - if t.syncHooks != nil { - tm = t.syncHooks.newTimer(d) - t.syncHooks.blockUntil(func() bool { - select { - case <-tm.C(): - case <-req.Context().Done(): - default: - return false - } - return true - }) - } else { - tm = newTimeTimer(d) - } + tm := t.newTimer(d) select { case <-tm.C(): t.vlogf("RoundTrip retrying after failure: %v", roundTripErr) @@ -725,8 +696,8 @@ func canRetryError(err error) bool { } func (t *Transport) dialClientConn(ctx context.Context, addr string, singleUse bool) (*ClientConn, error) { - if t.syncHooks != nil { - return t.newClientConn(nil, singleUse, t.syncHooks) + if t.transportTestHooks != nil { + return t.newClientConn(nil, singleUse) } host, _, err := net.SplitHostPort(addr) if err != nil { @@ -736,7 +707,7 @@ func (t *Transport) dialClientConn(ctx context.Context, addr string, singleUse b if err != nil { return nil, err } - return t.newClientConn(tconn, singleUse, nil) + return t.newClientConn(tconn, singleUse) } func (t *Transport) newTLSConfig(host string) *tls.Config { @@ -802,10 +773,10 @@ func (t *Transport) maxEncoderHeaderTableSize() uint32 { } func (t *Transport) NewClientConn(c net.Conn) (*ClientConn, error) { - return t.newClientConn(c, t.disableKeepAlives(), nil) + return t.newClientConn(c, t.disableKeepAlives()) } -func (t *Transport) newClientConn(c net.Conn, singleUse bool, hooks *testSyncHooks) (*ClientConn, error) { +func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, error) { cc := &ClientConn{ t: t, tconn: c, @@ -820,16 +791,12 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool, hooks *testSyncHoo wantSettingsAck: true, pings: make(map[[8]byte]chan struct{}), reqHeaderMu: make(chan struct{}, 1), - syncHooks: hooks, } - if hooks != nil { - hooks.newclientconn(cc) + if t.transportTestHooks != nil { + t.markNewGoroutine() + t.transportTestHooks.newclientconn(cc) c = cc.tconn } - if d := t.idleConnTimeout(); d != 0 { - cc.idleTimeout = d - cc.idleTimer = cc.afterFunc(d, cc.onIdleTimeout) - } if VerboseLogs { t.vlogf("http2: Transport creating client conn %p to %v", cc, c.RemoteAddr()) } @@ -860,10 +827,6 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool, hooks *testSyncHoo cc.henc.SetMaxDynamicTableSizeLimit(t.maxEncoderHeaderTableSize()) cc.peerMaxHeaderTableSize = initialHeaderTableSize - if t.AllowHTTP { - cc.nextStreamID = 3 - } - if cs, ok := c.(connectionStater); ok { state := cs.ConnectionState() cc.tlsState = &state @@ -893,7 +856,13 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool, hooks *testSyncHoo return nil, cc.werr } - cc.goRun(cc.readLoop) + // Start the idle timer after the connection is fully initialized. + if d := t.idleConnTimeout(); d != 0 { + cc.idleTimeout = d + cc.idleTimer = t.afterFunc(d, cc.onIdleTimeout) + } + + go cc.readLoop() return cc, nil } @@ -901,7 +870,7 @@ func (cc *ClientConn) healthCheck() { pingTimeout := cc.t.pingTimeout() // We don't need to periodically ping in the health check, because the readLoop of ClientConn will // trigger the healthCheck again if there is no frame received. - ctx, cancel := cc.contextWithTimeout(context.Background(), pingTimeout) + ctx, cancel := cc.t.contextWithTimeout(context.Background(), pingTimeout) defer cancel() cc.vlogf("http2: Transport sending health check") err := cc.Ping(ctx) @@ -1144,7 +1113,8 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { // Wait for all in-flight streams to complete or connection to close done := make(chan struct{}) cancelled := false // guarded by cc.mu - cc.goRun(func() { + go func() { + cc.t.markNewGoroutine() cc.mu.Lock() defer cc.mu.Unlock() for { @@ -1156,9 +1126,9 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { if cancelled { break } - cc.condWait() + cc.cond.Wait() } - }) + }() shutdownEnterWaitStateHook() select { case <-done: @@ -1168,7 +1138,7 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { cc.mu.Lock() // Free the goroutine above cancelled = true - cc.condBroadcast() + cc.cond.Broadcast() cc.mu.Unlock() return ctx.Err() } @@ -1206,7 +1176,7 @@ func (cc *ClientConn) closeForError(err error) { for _, cs := range cc.streams { cs.abortStreamLocked(err) } - cc.condBroadcast() + cc.cond.Broadcast() cc.mu.Unlock() cc.closeConn() } @@ -1321,23 +1291,30 @@ func (cc *ClientConn) roundTrip(req *http.Request, streamf func(*clientStream)) respHeaderRecv: make(chan struct{}), donec: make(chan struct{}), } - cc.goRun(func() { - cs.doRequest(req) - }) + + // TODO(bradfitz): this is a copy of the logic in net/http. Unify somewhere? + if !cc.t.disableCompression() && + req.Header.Get("Accept-Encoding") == "" && + req.Header.Get("Range") == "" && + !cs.isHead { + // Request gzip only, not deflate. Deflate is ambiguous and + // not as universally supported anyway. + // See: https://zlib.net/zlib_faq.html#faq39 + // + // Note that we don't request this for HEAD requests, + // due to a bug in nginx: + // http://trac.nginx.org/nginx/ticket/358 + // https://golang.org/issue/5522 + // + // We don't request gzip if the request is for a range, since + // auto-decoding a portion of a gzipped document will just fail + // anyway. See https://golang.org/issue/8923 + cs.requestedGzip = true + } + + go cs.doRequest(req, streamf) waitDone := func() error { - if cc.syncHooks != nil { - cc.syncHooks.blockUntil(func() bool { - select { - case <-cs.donec: - case <-ctx.Done(): - case <-cs.reqCancel: - default: - return false - } - return true - }) - } select { case <-cs.donec: return nil @@ -1398,24 +1375,7 @@ func (cc *ClientConn) roundTrip(req *http.Request, streamf func(*clientStream)) return err } - if streamf != nil { - streamf(cs) - } - for { - if cc.syncHooks != nil { - cc.syncHooks.blockUntil(func() bool { - select { - case <-cs.respHeaderRecv: - case <-cs.abort: - case <-ctx.Done(): - case <-cs.reqCancel: - default: - return false - } - return true - }) - } select { case <-cs.respHeaderRecv: return handleResponseHeaders() @@ -1445,8 +1405,9 @@ func (cc *ClientConn) roundTrip(req *http.Request, streamf func(*clientStream)) // doRequest runs for the duration of the request lifetime. // // It sends the request and performs post-request cleanup (closing Request.Body, etc.). -func (cs *clientStream) doRequest(req *http.Request) { - err := cs.writeRequest(req) +func (cs *clientStream) doRequest(req *http.Request, streamf func(*clientStream)) { + cs.cc.t.markNewGoroutine() + err := cs.writeRequest(req, streamf) cs.cleanupWriteRequest(err) } @@ -1457,7 +1418,7 @@ func (cs *clientStream) doRequest(req *http.Request) { // // It returns non-nil if the request ends otherwise. // If the returned error is StreamError, the error Code may be used in resetting the stream. -func (cs *clientStream) writeRequest(req *http.Request) (err error) { +func (cs *clientStream) writeRequest(req *http.Request, streamf func(*clientStream)) (err error) { cc := cs.cc ctx := cs.ctx @@ -1471,21 +1432,6 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { if cc.reqHeaderMu == nil { panic("RoundTrip on uninitialized ClientConn") // for tests } - var newStreamHook func(*clientStream) - if cc.syncHooks != nil { - newStreamHook = cc.syncHooks.newstream - cc.syncHooks.blockUntil(func() bool { - select { - case cc.reqHeaderMu <- struct{}{}: - <-cc.reqHeaderMu - case <-cs.reqCancel: - case <-ctx.Done(): - default: - return false - } - return true - }) - } select { case cc.reqHeaderMu <- struct{}{}: case <-cs.reqCancel: @@ -1510,28 +1456,8 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { } cc.mu.Unlock() - if newStreamHook != nil { - newStreamHook(cs) - } - - // TODO(bradfitz): this is a copy of the logic in net/http. Unify somewhere? - if !cc.t.disableCompression() && - req.Header.Get("Accept-Encoding") == "" && - req.Header.Get("Range") == "" && - !cs.isHead { - // Request gzip only, not deflate. Deflate is ambiguous and - // not as universally supported anyway. - // See: https://zlib.net/zlib_faq.html#faq39 - // - // Note that we don't request this for HEAD requests, - // due to a bug in nginx: - // http://trac.nginx.org/nginx/ticket/358 - // https://golang.org/issue/5522 - // - // We don't request gzip if the request is for a range, since - // auto-decoding a portion of a gzipped document will just fail - // anyway. See https://golang.org/issue/8923 - cs.requestedGzip = true + if streamf != nil { + streamf(cs) } continueTimeout := cc.t.expectContinueTimeout() @@ -1594,7 +1520,7 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { var respHeaderTimer <-chan time.Time var respHeaderRecv chan struct{} if d := cc.responseHeaderTimeout(); d != 0 { - timer := cc.newTimer(d) + timer := cc.t.newTimer(d) defer timer.Stop() respHeaderTimer = timer.C() respHeaderRecv = cs.respHeaderRecv @@ -1603,21 +1529,6 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { // or until the request is aborted (via context, error, or otherwise), // whichever comes first. for { - if cc.syncHooks != nil { - cc.syncHooks.blockUntil(func() bool { - select { - case <-cs.peerClosed: - case <-respHeaderTimer: - case <-respHeaderRecv: - case <-cs.abort: - case <-ctx.Done(): - case <-cs.reqCancel: - default: - return false - } - return true - }) - } select { case <-cs.peerClosed: return nil @@ -1766,7 +1677,7 @@ func (cc *ClientConn) awaitOpenSlotForStreamLocked(cs *clientStream) error { return nil } cc.pendingRequests++ - cc.condWait() + cc.cond.Wait() cc.pendingRequests-- select { case <-cs.abort: @@ -2028,7 +1939,7 @@ func (cs *clientStream) awaitFlowControl(maxBytes int) (taken int32, err error) cs.flow.take(take) return take, nil } - cc.condWait() + cc.cond.Wait() } } @@ -2311,7 +2222,7 @@ func (cc *ClientConn) forgetStreamID(id uint32) { } // Wake up writeRequestBody via clientStream.awaitFlowControl and // wake up RoundTrip if there is a pending request. - cc.condBroadcast() + cc.cond.Broadcast() closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 { @@ -2333,6 +2244,7 @@ type clientConnReadLoop struct { // readLoop runs in its own goroutine and reads and dispatches frames. func (cc *ClientConn) readLoop() { + cc.t.markNewGoroutine() rl := &clientConnReadLoop{cc: cc} defer rl.cleanup() cc.readerErr = rl.run() @@ -2399,7 +2311,7 @@ func (rl *clientConnReadLoop) cleanup() { cs.abortStreamLocked(err) } } - cc.condBroadcast() + cc.cond.Broadcast() cc.mu.Unlock() } @@ -2436,7 +2348,7 @@ func (rl *clientConnReadLoop) run() error { readIdleTimeout := cc.t.ReadIdleTimeout var t timer if readIdleTimeout != 0 { - t = cc.afterFunc(readIdleTimeout, cc.healthCheck) + t = cc.t.afterFunc(readIdleTimeout, cc.healthCheck) } for { f, err := cc.fr.ReadFrame() @@ -3034,7 +2946,7 @@ func (rl *clientConnReadLoop) processSettingsNoWrite(f *SettingsFrame) error { for _, cs := range cc.streams { cs.flow.add(delta) } - cc.condBroadcast() + cc.cond.Broadcast() cc.initialWindowSize = s.Val case SettingHeaderTableSize: @@ -3089,7 +3001,7 @@ func (rl *clientConnReadLoop) processWindowUpdate(f *WindowUpdateFrame) error { return ConnectionError(ErrCodeFlowControl) } - cc.condBroadcast() + cc.cond.Broadcast() return nil } @@ -3133,7 +3045,8 @@ func (cc *ClientConn) Ping(ctx context.Context) error { } var pingError error errc := make(chan struct{}) - cc.goRun(func() { + go func() { + cc.t.markNewGoroutine() cc.wmu.Lock() defer cc.wmu.Unlock() if pingError = cc.fr.WritePing(false, p); pingError != nil { @@ -3144,20 +3057,7 @@ func (cc *ClientConn) Ping(ctx context.Context) error { close(errc) return } - }) - if cc.syncHooks != nil { - cc.syncHooks.blockUntil(func() bool { - select { - case <-c: - case <-errc: - case <-ctx.Done(): - case <-cc.readerDone: - default: - return false - } - return true - }) - } + }() select { case <-c: return nil diff --git a/vendor/golang.org/x/net/http2/writesched_priority.go b/vendor/golang.org/x/net/http2/writesched_priority.go index 0a242c66..f6783339 100644 --- a/vendor/golang.org/x/net/http2/writesched_priority.go +++ b/vendor/golang.org/x/net/http2/writesched_priority.go @@ -443,8 +443,8 @@ func (ws *priorityWriteScheduler) addClosedOrIdleNode(list *[]*priorityNode, max } func (ws *priorityWriteScheduler) removeNode(n *priorityNode) { - for k := n.kids; k != nil; k = k.next { - k.setParent(n.parent) + for n.kids != nil { + n.kids.setParent(n.parent) } n.setParent(nil) delete(ws.nodes, n.id) diff --git a/vendor/golang.org/x/net/proxy/per_host.go b/vendor/golang.org/x/net/proxy/per_host.go index 573fe79e..d7d4b8b6 100644 --- a/vendor/golang.org/x/net/proxy/per_host.go +++ b/vendor/golang.org/x/net/proxy/per_host.go @@ -137,9 +137,7 @@ func (p *PerHost) AddNetwork(net *net.IPNet) { // AddZone specifies a DNS suffix that will use the bypass proxy. A zone of // "example.com" matches "example.com" and all of its subdomains. func (p *PerHost) AddZone(zone string) { - if strings.HasSuffix(zone, ".") { - zone = zone[:len(zone)-1] - } + zone = strings.TrimSuffix(zone, ".") if !strings.HasPrefix(zone, ".") { zone = "." + zone } @@ -148,8 +146,6 @@ func (p *PerHost) AddZone(zone string) { // AddHost specifies a host name that will use the bypass proxy. func (p *PerHost) AddHost(host string) { - if strings.HasSuffix(host, ".") { - host = host[:len(host)-1] - } + host = strings.TrimSuffix(host, ".") p.bypassHosts = append(p.bypassHosts, host) } diff --git a/vendor/golang.org/x/net/websocket/hybi.go b/vendor/golang.org/x/net/websocket/hybi.go index 48a069e1..dda74346 100644 --- a/vendor/golang.org/x/net/websocket/hybi.go +++ b/vendor/golang.org/x/net/websocket/hybi.go @@ -16,7 +16,6 @@ import ( "encoding/binary" "fmt" "io" - "io/ioutil" "net/http" "net/url" "strings" @@ -279,7 +278,7 @@ func (handler *hybiFrameHandler) HandleFrame(frame frameReader) (frameReader, er } } if header := frame.HeaderReader(); header != nil { - io.Copy(ioutil.Discard, header) + io.Copy(io.Discard, header) } switch frame.PayloadType() { case ContinuationFrame: @@ -294,7 +293,7 @@ func (handler *hybiFrameHandler) HandleFrame(frame frameReader) (frameReader, er if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF { return nil, err } - io.Copy(ioutil.Discard, frame) + io.Copy(io.Discard, frame) if frame.PayloadType() == PingFrame { if _, err := handler.WritePong(b[:n]); err != nil { return nil, err diff --git a/vendor/golang.org/x/net/websocket/websocket.go b/vendor/golang.org/x/net/websocket/websocket.go index 90a2257c..923a5780 100644 --- a/vendor/golang.org/x/net/websocket/websocket.go +++ b/vendor/golang.org/x/net/websocket/websocket.go @@ -17,7 +17,6 @@ import ( "encoding/json" "errors" "io" - "io/ioutil" "net" "net/http" "net/url" @@ -208,7 +207,7 @@ again: n, err = ws.frameReader.Read(msg) if err == io.EOF { if trailer := ws.frameReader.TrailerReader(); trailer != nil { - io.Copy(ioutil.Discard, trailer) + io.Copy(io.Discard, trailer) } ws.frameReader = nil goto again @@ -330,7 +329,7 @@ func (cd Codec) Receive(ws *Conn, v interface{}) (err error) { ws.rio.Lock() defer ws.rio.Unlock() if ws.frameReader != nil { - _, err = io.Copy(ioutil.Discard, ws.frameReader) + _, err = io.Copy(io.Discard, ws.frameReader) if err != nil { return err } @@ -362,7 +361,7 @@ again: return ErrFrameTooLarge } payloadType := frame.PayloadType() - data, err := ioutil.ReadAll(frame) + data, err := io.ReadAll(frame) if err != nil { return err } diff --git a/vendor/golang.org/x/sys/LICENSE b/vendor/golang.org/x/sys/LICENSE index 6a66aea5..2a7cf70d 100644 --- a/vendor/golang.org/x/sys/LICENSE +++ b/vendor/golang.org/x/sys/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/sys/cpu/cpu.go b/vendor/golang.org/x/sys/cpu/cpu.go index 8fa707aa..ec07aab0 100644 --- a/vendor/golang.org/x/sys/cpu/cpu.go +++ b/vendor/golang.org/x/sys/cpu/cpu.go @@ -105,6 +105,8 @@ var ARM64 struct { HasSVE bool // Scalable Vector Extensions HasSVE2 bool // Scalable Vector Extensions 2 HasASIMDFHM bool // Advanced SIMD multiplication FP16 to FP32 + HasDIT bool // Data Independent Timing support + HasI8MM bool // Advanced SIMD Int8 matrix multiplication instructions _ CacheLinePad } diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_arm64.go index 0e27a21e..af2aa99f 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_arm64.go @@ -38,6 +38,8 @@ func initOptions() { {Name: "dcpop", Feature: &ARM64.HasDCPOP}, {Name: "asimddp", Feature: &ARM64.HasASIMDDP}, {Name: "asimdfhm", Feature: &ARM64.HasASIMDFHM}, + {Name: "dit", Feature: &ARM64.HasDIT}, + {Name: "i8mm", Feature: &ARM64.HasI8MM}, } } @@ -145,6 +147,11 @@ func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) { ARM64.HasLRCPC = true } + switch extractBits(isar1, 52, 55) { + case 1: + ARM64.HasI8MM = true + } + // ID_AA64PFR0_EL1 switch extractBits(pfr0, 16, 19) { case 0: @@ -168,6 +175,11 @@ func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) { parseARM64SVERegister(getzfr0()) } + + switch extractBits(pfr0, 48, 51) { + case 1: + ARM64.HasDIT = true + } } func parseARM64SVERegister(zfr0 uint64) { diff --git a/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go index 3d386d0f..08f35ea1 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go @@ -35,8 +35,10 @@ const ( hwcap_SHA512 = 1 << 21 hwcap_SVE = 1 << 22 hwcap_ASIMDFHM = 1 << 23 + hwcap_DIT = 1 << 24 hwcap2_SVE2 = 1 << 1 + hwcap2_I8MM = 1 << 13 ) // linuxKernelCanEmulateCPUID reports whether we're running @@ -106,9 +108,12 @@ func doinit() { ARM64.HasSHA512 = isSet(hwCap, hwcap_SHA512) ARM64.HasSVE = isSet(hwCap, hwcap_SVE) ARM64.HasASIMDFHM = isSet(hwCap, hwcap_ASIMDFHM) + ARM64.HasDIT = isSet(hwCap, hwcap_DIT) + // HWCAP2 feature bits ARM64.HasSVE2 = isSet(hwCap2, hwcap2_SVE2) + ARM64.HasI8MM = isSet(hwCap2, hwcap2_I8MM) } func isSet(hwc uint, value uint) bool { diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh index fdcaa974..d07dd09e 100644 --- a/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -58,6 +58,7 @@ includes_Darwin=' #define _DARWIN_USE_64_BIT_INODE #define __APPLE_USE_RFC_3542 #include +#include #include #include #include @@ -263,6 +264,7 @@ struct ltchars { #include #include #include +#include #include #include #include @@ -549,6 +551,7 @@ ccflags="$@" $2 !~ "NLA_TYPE_MASK" && $2 !~ /^RTC_VL_(ACCURACY|BACKUP|DATA)/ && $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P|NETNSA)_/ || + $2 ~ /^SOCK_|SK_DIAG_|SKNLGRP_$/ || $2 ~ /^FIORDCHK$/ || $2 ~ /^SIOC/ || $2 ~ /^TIOC/ || diff --git a/vendor/golang.org/x/sys/unix/mremap.go b/vendor/golang.org/x/sys/unix/mremap.go index fd45fe52..3a5e776f 100644 --- a/vendor/golang.org/x/sys/unix/mremap.go +++ b/vendor/golang.org/x/sys/unix/mremap.go @@ -50,3 +50,8 @@ func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data [ func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) { return mapper.Mremap(oldData, newLength, flags) } + +func MremapPtr(oldAddr unsafe.Pointer, oldSize uintptr, newAddr unsafe.Pointer, newSize uintptr, flags int) (ret unsafe.Pointer, err error) { + xaddr, err := mapper.mremap(uintptr(oldAddr), oldSize, newSize, flags, uintptr(newAddr)) + return unsafe.Pointer(xaddr), err +} diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go index 59542a89..2d15200a 100644 --- a/vendor/golang.org/x/sys/unix/syscall_darwin.go +++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go @@ -402,6 +402,18 @@ func IoctlSetIfreqMTU(fd int, ifreq *IfreqMTU) error { return ioctlPtr(fd, SIOCSIFMTU, unsafe.Pointer(ifreq)) } +//sys renamexNp(from string, to string, flag uint32) (err error) + +func RenamexNp(from string, to string, flag uint32) (err error) { + return renamexNp(from, to, flag) +} + +//sys renameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) + +func RenameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) { + return renameatxNp(fromfd, from, tofd, to, flag) +} + //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS_SYSCTL func Uname(uname *Utsname) error { @@ -542,6 +554,18 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) { } } +//sys pthread_chdir_np(path string) (err error) + +func PthreadChdir(path string) (err error) { + return pthread_chdir_np(path) +} + +//sys pthread_fchdir_np(fd int) (err error) + +func PthreadFchdir(fd int) (err error) { + return pthread_fchdir_np(fd) +} + //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) //sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error) diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go index 5682e262..3f1d3d4c 100644 --- a/vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/vendor/golang.org/x/sys/unix/syscall_linux.go @@ -2592,3 +2592,4 @@ func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) { } //sys Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error) +//sys Mseal(b []byte, flags uint) (err error) diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go index b25343c7..b86ded54 100644 --- a/vendor/golang.org/x/sys/unix/syscall_openbsd.go +++ b/vendor/golang.org/x/sys/unix/syscall_openbsd.go @@ -293,6 +293,7 @@ func Uname(uname *Utsname) error { //sys Mkfifoat(dirfd int, path string, mode uint32) (err error) //sys Mknod(path string, mode uint32, dev int) (err error) //sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error) +//sys Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) //sys Open(path string, mode int, perm uint32) (fd int, err error) //sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go index 77081de8..4e92e5aa 100644 --- a/vendor/golang.org/x/sys/unix/syscall_unix.go +++ b/vendor/golang.org/x/sys/unix/syscall_unix.go @@ -154,6 +154,15 @@ func Munmap(b []byte) (err error) { return mapper.Munmap(b) } +func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error) { + xaddr, err := mapper.mmap(uintptr(addr), length, prot, flags, fd, offset) + return unsafe.Pointer(xaddr), err +} + +func MunmapPtr(addr unsafe.Pointer, length uintptr) (err error) { + return mapper.munmap(uintptr(addr), length) +} + func Read(fd int, p []byte) (n int, err error) { n, err = read(fd, p) if raceenabled { diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go index e40fa852..4308ac17 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go @@ -1169,6 +1169,11 @@ const ( PT_WRITE_D = 0x5 PT_WRITE_I = 0x4 PT_WRITE_U = 0x6 + RENAME_EXCL = 0x4 + RENAME_NOFOLLOW_ANY = 0x10 + RENAME_RESERVED1 = 0x8 + RENAME_SECLUDE = 0x1 + RENAME_SWAP = 0x2 RLIMIT_AS = 0x5 RLIMIT_CORE = 0x4 RLIMIT_CPU = 0x0 diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go index bb02aa6c..c8068a7a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go @@ -1169,6 +1169,11 @@ const ( PT_WRITE_D = 0x5 PT_WRITE_I = 0x4 PT_WRITE_U = 0x6 + RENAME_EXCL = 0x4 + RENAME_NOFOLLOW_ANY = 0x10 + RENAME_RESERVED1 = 0x8 + RENAME_SECLUDE = 0x1 + RENAME_SWAP = 0x2 RLIMIT_AS = 0x5 RLIMIT_CORE = 0x4 RLIMIT_CPU = 0x0 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go index 93a38a97..01a70b24 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go @@ -457,6 +457,7 @@ const ( B600 = 0x8 B75 = 0x2 B9600 = 0xd + BCACHEFS_SUPER_MAGIC = 0xca451a4e BDEVFS_MAGIC = 0x62646576 BINDERFS_SUPER_MAGIC = 0x6c6f6f70 BINFMTFS_MAGIC = 0x42494e4d @@ -502,6 +503,7 @@ const ( BPF_IMM = 0x0 BPF_IND = 0x40 BPF_JA = 0x0 + BPF_JCOND = 0xe0 BPF_JEQ = 0x10 BPF_JGE = 0x30 BPF_JGT = 0x20 @@ -657,6 +659,9 @@ const ( CAN_NPROTO = 0x8 CAN_RAW = 0x1 CAN_RAW_FILTER_MAX = 0x200 + CAN_RAW_XL_VCID_RX_FILTER = 0x4 + CAN_RAW_XL_VCID_TX_PASS = 0x2 + CAN_RAW_XL_VCID_TX_SET = 0x1 CAN_RTR_FLAG = 0x40000000 CAN_SFF_ID_BITS = 0xb CAN_SFF_MASK = 0x7ff @@ -924,6 +929,7 @@ const ( EPOLL_CTL_ADD = 0x1 EPOLL_CTL_DEL = 0x2 EPOLL_CTL_MOD = 0x3 + EPOLL_IOC_TYPE = 0x8a EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2 ESP_V4_FLOW = 0xa ESP_V6_FLOW = 0xc @@ -937,9 +943,6 @@ const ( ETHTOOL_FEC_OFF = 0x4 ETHTOOL_FEC_RS = 0x8 ETHTOOL_FLAG_ALL = 0x7 - ETHTOOL_FLAG_COMPACT_BITSETS = 0x1 - ETHTOOL_FLAG_OMIT_REPLY = 0x2 - ETHTOOL_FLAG_STATS = 0x4 ETHTOOL_FLASHDEV = 0x33 ETHTOOL_FLASH_MAX_FILENAME = 0x80 ETHTOOL_FWVERS_LEN = 0x20 @@ -1339,6 +1342,7 @@ const ( F_OFD_SETLK = 0x25 F_OFD_SETLKW = 0x26 F_OK = 0x0 + F_SEAL_EXEC = 0x20 F_SEAL_FUTURE_WRITE = 0x10 F_SEAL_GROW = 0x4 F_SEAL_SEAL = 0x1 @@ -1627,6 +1631,7 @@ const ( IP_FREEBIND = 0xf IP_HDRINCL = 0x3 IP_IPSEC_POLICY = 0x10 + IP_LOCAL_PORT_RANGE = 0x33 IP_MAXPACKET = 0xffff IP_MAX_MEMBERSHIPS = 0x14 IP_MF = 0x2000 @@ -1653,6 +1658,7 @@ const ( IP_PMTUDISC_OMIT = 0x5 IP_PMTUDISC_PROBE = 0x3 IP_PMTUDISC_WANT = 0x1 + IP_PROTOCOL = 0x34 IP_RECVERR = 0xb IP_RECVERR_RFC4884 = 0x1a IP_RECVFRAGSIZE = 0x19 @@ -1698,6 +1704,7 @@ const ( KEXEC_ARCH_S390 = 0x160000 KEXEC_ARCH_SH = 0x2a0000 KEXEC_ARCH_X86_64 = 0x3e0000 + KEXEC_CRASH_HOTPLUG_SUPPORT = 0x8 KEXEC_FILE_DEBUG = 0x8 KEXEC_FILE_NO_INITRAMFS = 0x4 KEXEC_FILE_ON_CRASH = 0x2 @@ -1773,6 +1780,7 @@ const ( KEY_SPEC_USER_KEYRING = -0x4 KEY_SPEC_USER_SESSION_KEYRING = -0x5 LANDLOCK_ACCESS_FS_EXECUTE = 0x1 + LANDLOCK_ACCESS_FS_IOCTL_DEV = 0x8000 LANDLOCK_ACCESS_FS_MAKE_BLOCK = 0x800 LANDLOCK_ACCESS_FS_MAKE_CHAR = 0x40 LANDLOCK_ACCESS_FS_MAKE_DIR = 0x80 @@ -1854,6 +1862,19 @@ const ( MAP_FILE = 0x0 MAP_FIXED = 0x10 MAP_FIXED_NOREPLACE = 0x100000 + MAP_HUGE_16GB = 0x88000000 + MAP_HUGE_16KB = 0x38000000 + MAP_HUGE_16MB = 0x60000000 + MAP_HUGE_1GB = 0x78000000 + MAP_HUGE_1MB = 0x50000000 + MAP_HUGE_256MB = 0x70000000 + MAP_HUGE_2GB = 0x7c000000 + MAP_HUGE_2MB = 0x54000000 + MAP_HUGE_32MB = 0x64000000 + MAP_HUGE_512KB = 0x4c000000 + MAP_HUGE_512MB = 0x74000000 + MAP_HUGE_64KB = 0x40000000 + MAP_HUGE_8MB = 0x5c000000 MAP_HUGE_MASK = 0x3f MAP_HUGE_SHIFT = 0x1a MAP_PRIVATE = 0x2 @@ -2169,7 +2190,7 @@ const ( NFT_SECMARK_CTX_MAXLEN = 0x100 NFT_SET_MAXNAMELEN = 0x100 NFT_SOCKET_MAX = 0x3 - NFT_TABLE_F_MASK = 0x3 + NFT_TABLE_F_MASK = 0x7 NFT_TABLE_MAXNAMELEN = 0x100 NFT_TRACETYPE_MAX = 0x3 NFT_TUNNEL_F_MASK = 0x7 @@ -2403,6 +2424,7 @@ const ( PERF_RECORD_MISC_USER = 0x2 PERF_SAMPLE_BRANCH_PLM_ALL = 0x7 PERF_SAMPLE_WEIGHT_TYPE = 0x1004000 + PID_FS_MAGIC = 0x50494446 PIPEFS_MAGIC = 0x50495045 PPPIOCGNPMODE = 0xc008744c PPPIOCNEWUNIT = 0xc004743e @@ -2490,6 +2512,23 @@ const ( PR_PAC_GET_ENABLED_KEYS = 0x3d PR_PAC_RESET_KEYS = 0x36 PR_PAC_SET_ENABLED_KEYS = 0x3c + PR_PPC_DEXCR_CTRL_CLEAR = 0x4 + PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC = 0x10 + PR_PPC_DEXCR_CTRL_EDITABLE = 0x1 + PR_PPC_DEXCR_CTRL_MASK = 0x1f + PR_PPC_DEXCR_CTRL_SET = 0x2 + PR_PPC_DEXCR_CTRL_SET_ONEXEC = 0x8 + PR_PPC_DEXCR_IBRTPD = 0x1 + PR_PPC_DEXCR_NPHIE = 0x3 + PR_PPC_DEXCR_SBHE = 0x0 + PR_PPC_DEXCR_SRAPD = 0x2 + PR_PPC_GET_DEXCR = 0x48 + PR_PPC_SET_DEXCR = 0x49 + PR_RISCV_CTX_SW_FENCEI_OFF = 0x1 + PR_RISCV_CTX_SW_FENCEI_ON = 0x0 + PR_RISCV_SCOPE_PER_PROCESS = 0x0 + PR_RISCV_SCOPE_PER_THREAD = 0x1 + PR_RISCV_SET_ICACHE_FLUSH_CTX = 0x47 PR_RISCV_V_GET_CONTROL = 0x46 PR_RISCV_V_SET_CONTROL = 0x45 PR_RISCV_V_VSTATE_CTRL_CUR_MASK = 0x3 @@ -2896,8 +2935,9 @@ const ( RWF_APPEND = 0x10 RWF_DSYNC = 0x2 RWF_HIPRI = 0x1 + RWF_NOAPPEND = 0x20 RWF_NOWAIT = 0x8 - RWF_SUPPORTED = 0x1f + RWF_SUPPORTED = 0x3f RWF_SYNC = 0x4 RWF_WRITE_LIFE_NOT_SET = 0x0 SCHED_BATCH = 0x3 @@ -2918,7 +2958,9 @@ const ( SCHED_RESET_ON_FORK = 0x40000000 SCHED_RR = 0x2 SCM_CREDENTIALS = 0x2 + SCM_PIDFD = 0x4 SCM_RIGHTS = 0x1 + SCM_SECURITY = 0x3 SCM_TIMESTAMP = 0x1d SC_LOG_FLUSH = 0x100000 SECCOMP_ADDFD_FLAG_SEND = 0x2 @@ -3051,6 +3093,8 @@ const ( SIOCSMIIREG = 0x8949 SIOCSRARP = 0x8962 SIOCWANDEV = 0x894a + SK_DIAG_BPF_STORAGE_MAX = 0x3 + SK_DIAG_BPF_STORAGE_REQ_MAX = 0x1 SMACK_MAGIC = 0x43415d53 SMART_AUTOSAVE = 0xd2 SMART_AUTO_OFFLINE = 0xdb @@ -3071,6 +3115,8 @@ const ( SOCKFS_MAGIC = 0x534f434b SOCK_BUF_LOCK_MASK = 0x3 SOCK_DCCP = 0x6 + SOCK_DESTROY = 0x15 + SOCK_DIAG_BY_FAMILY = 0x14 SOCK_IOC_TYPE = 0x89 SOCK_PACKET = 0xa SOCK_RAW = 0x3 @@ -3177,6 +3223,7 @@ const ( STATX_MTIME = 0x40 STATX_NLINK = 0x4 STATX_SIZE = 0x200 + STATX_SUBVOL = 0x8000 STATX_TYPE = 0x1 STATX_UID = 0x8 STATX__RESERVED = 0x80000000 @@ -3260,6 +3307,7 @@ const ( TCP_MAX_WINSHIFT = 0xe TCP_MD5SIG = 0xe TCP_MD5SIG_EXT = 0x20 + TCP_MD5SIG_FLAG_IFINDEX = 0x2 TCP_MD5SIG_FLAG_PREFIX = 0x1 TCP_MD5SIG_MAXKEYLEN = 0x50 TCP_MSS = 0x200 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 42ff8c3c..684a5168 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 @@ -118,6 +120,7 @@ const ( IXOFF = 0x1000 IXON = 0x400 MAP_32BIT = 0x40 + MAP_ABOVE4G = 0x80 MAP_ANON = 0x20 MAP_ANONYMOUS = 0x20 MAP_DENYWRITE = 0x800 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index dca43600..61d74b59 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 @@ -118,6 +120,7 @@ const ( IXOFF = 0x1000 IXON = 0x400 MAP_32BIT = 0x40 + MAP_ABOVE4G = 0x80 MAP_ANON = 0x20 MAP_ANONYMOUS = 0x20 MAP_DENYWRITE = 0x800 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index 5cca668a..a28c9e3e 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index d8cae6d1..ab5d1fe8 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 ESR_MAGIC = 0x45535201 EXTPROC = 0x10000 @@ -87,6 +89,7 @@ const ( FICLONE = 0x40049409 FICLONERANGE = 0x4020940d FLUSHO = 0x1000 + FPMR_MAGIC = 0x46504d52 FPSIMD_MAGIC = 0x46508001 FS_IOC_ENABLE_VERITY = 0x40806685 FS_IOC_GETFLAGS = 0x80086601 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go index 28e39afd..c523090e 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go index cd66e92c..01e6ea78 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x80 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go index c1595eba..7aa610b1 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x80 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go index ee9456b0..92af771b 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x80 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go index 8cfca81e..b27ef5e6 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x80 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go index 60b0deb3..237a2cef 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x20 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000000 FF1 = 0x4000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index f90aa728..4a5c555a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x20 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000000 FF1 = 0x4000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index ba9e0150..a02fb49a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x20 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000000 FF1 = 0x4000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go index 07cdfd6e..e26a7c61 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go index 2f1dd214..c48f7c21 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go @@ -78,6 +78,8 @@ const ( ECHOPRT = 0x400 EFD_CLOEXEC = 0x80000 EFD_NONBLOCK = 0x800 + EPIOCGPARAMS = 0x80088a02 + EPIOCSPARAMS = 0x40088a01 EPOLL_CLOEXEC = 0x80000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go index f40519d9..ad4b9aac 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go @@ -82,6 +82,8 @@ const ( EFD_CLOEXEC = 0x400000 EFD_NONBLOCK = 0x4000 EMT_TAGOVF = 0x1 + EPIOCGPARAMS = 0x40088a02 + EPIOCSPARAMS = 0x80088a01 EPOLL_CLOEXEC = 0x400000 EXTPROC = 0x10000 FF1 = 0x8000 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go index ccb02f24..b622533e 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go @@ -740,6 +740,54 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func renamexNp(from string, to string, flag uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(from) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(to) + if err != nil { + return + } + _, _, e1 := syscall_syscall(libc_renamex_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flag)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_renamex_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_renamex_np renamex_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func renameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(from) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(to) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_renameatx_np_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), uintptr(flag), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_renameatx_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_renameatx_np renameatx_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { var _p0 unsafe.Pointer if len(mib) > 0 { @@ -760,6 +808,39 @@ var libc_sysctl_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func pthread_chdir_np(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := syscall_syscall(libc_pthread_chdir_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_chdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_chdir_np pthread_chdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pthread_fchdir_np(fd int) (err error) { + _, _, e1 := syscall_syscall(libc_pthread_fchdir_np_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_fchdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_fchdir_np pthread_fchdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) { _, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags)) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s index 8b8bb284..cfe6646b 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s @@ -223,11 +223,31 @@ TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8 DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) +TEXT libc_renamex_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_renamex_np(SB) +GLOBL ·libc_renamex_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_renamex_np_trampoline_addr(SB)/8, $libc_renamex_np_trampoline<>(SB) + +TEXT libc_renameatx_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_renameatx_np(SB) +GLOBL ·libc_renameatx_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_renameatx_np_trampoline_addr(SB)/8, $libc_renameatx_np_trampoline<>(SB) + TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_sysctl(SB) GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) +TEXT libc_pthread_chdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_chdir_np(SB) +GLOBL ·libc_pthread_chdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_chdir_np_trampoline_addr(SB)/8, $libc_pthread_chdir_np_trampoline<>(SB) + +TEXT libc_pthread_fchdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_fchdir_np(SB) +GLOBL ·libc_pthread_fchdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_fchdir_np_trampoline_addr(SB)/8, $libc_pthread_fchdir_np_trampoline<>(SB) + TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_sendfile(SB) GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go index 1b40b997..13f624f6 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go @@ -740,6 +740,54 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func renamexNp(from string, to string, flag uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(from) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(to) + if err != nil { + return + } + _, _, e1 := syscall_syscall(libc_renamex_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flag)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_renamex_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_renamex_np renamex_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func renameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(from) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(to) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_renameatx_np_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), uintptr(flag), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_renameatx_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_renameatx_np renameatx_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { var _p0 unsafe.Pointer if len(mib) > 0 { @@ -760,6 +808,39 @@ var libc_sysctl_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func pthread_chdir_np(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := syscall_syscall(libc_pthread_chdir_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_chdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_chdir_np pthread_chdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pthread_fchdir_np(fd int) (err error) { + _, _, e1 := syscall_syscall(libc_pthread_fchdir_np_trampoline_addr, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pthread_fchdir_np_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pthread_fchdir_np pthread_fchdir_np "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) { _, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags)) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s index 08362c1a..fe222b75 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s @@ -223,11 +223,31 @@ TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8 DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB) +TEXT libc_renamex_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_renamex_np(SB) +GLOBL ·libc_renamex_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_renamex_np_trampoline_addr(SB)/8, $libc_renamex_np_trampoline<>(SB) + +TEXT libc_renameatx_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_renameatx_np(SB) +GLOBL ·libc_renameatx_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_renameatx_np_trampoline_addr(SB)/8, $libc_renameatx_np_trampoline<>(SB) + TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_sysctl(SB) GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB) +TEXT libc_pthread_chdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_chdir_np(SB) +GLOBL ·libc_pthread_chdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_chdir_np_trampoline_addr(SB)/8, $libc_pthread_chdir_np_trampoline<>(SB) + +TEXT libc_pthread_fchdir_np_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pthread_fchdir_np(SB) +GLOBL ·libc_pthread_fchdir_np_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pthread_fchdir_np_trampoline_addr(SB)/8, $libc_pthread_fchdir_np_trampoline<>(SB) + TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_sendfile(SB) GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go index 87d8612a..1bc1a5ad 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go @@ -2229,3 +2229,19 @@ func Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mseal(b []byte, flags uint) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MSEAL, uintptr(_p0), uintptr(len(b)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go index 9dc42410..1851df14 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s index 41b56173..0b43c693 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s @@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4 DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $4 +DATA ·libc_mount_trampoline_addr(SB)/4, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_nanosleep(SB) GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go index 0d3a0751..e1ec0dbe 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s index 4019a656..880c6d6e 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s @@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_nanosleep(SB) GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go index c39f7776..7c8452a6 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s index ac4af24f..b8ef95b0 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s @@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4 DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $4 +DATA ·libc_mount_trampoline_addr(SB)/4, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_nanosleep(SB) GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go index 57571d07..2ffdf861 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s index f77d5321..2af3b5c7 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s @@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_nanosleep(SB) GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go index e62963e6..1da08d52 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s index fae140b6..b7a25135 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s @@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_nanosleep(SB) GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go index 00831354..6e85b0aa 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s index 9d1e0ff0..f15dadf0 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s @@ -555,6 +555,12 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + CALL libc_mount(SB) + RET +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 CALL libc_nanosleep(SB) RET diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go index 79029ed5..28b487df 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go @@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s index da115f9a..1e7f321e 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s @@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_nanosleep(SB) GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go index 53aef5dc..524b0820 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go @@ -457,4 +457,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go index 71d52476..d3e38f68 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go @@ -379,4 +379,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go index c7477061..70b35bf3 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go @@ -421,4 +421,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go index f96e214f..6c778c23 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go @@ -324,4 +324,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go index 28425346..37281cf5 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go @@ -318,4 +318,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go index d0953018..7e567f1e 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go @@ -441,4 +441,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 4459 SYS_LSM_SET_SELF_ATTR = 4460 SYS_LSM_LIST_MODULES = 4461 + SYS_MSEAL = 4462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go index 295c7f4b..38ae55e5 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go @@ -371,4 +371,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 5459 SYS_LSM_SET_SELF_ATTR = 5460 SYS_LSM_LIST_MODULES = 5461 + SYS_MSEAL = 5462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go index d1a9eaca..55e92e60 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go @@ -371,4 +371,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 5459 SYS_LSM_SET_SELF_ATTR = 5460 SYS_LSM_LIST_MODULES = 5461 + SYS_MSEAL = 5462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go index bec157c3..60658d6a 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go @@ -441,4 +441,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 4459 SYS_LSM_SET_SELF_ATTR = 4460 SYS_LSM_LIST_MODULES = 4461 + SYS_MSEAL = 4462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go index 7ee7bdc4..e203e8a7 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go @@ -448,4 +448,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go index fad1f25b..5944b97d 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go @@ -420,4 +420,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go index 7d3e1635..c66d416d 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go @@ -420,4 +420,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go index 0ed53ad9..9889f6a5 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go @@ -325,4 +325,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go index 2fba04ad..01d86825 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go @@ -386,4 +386,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go index 621d00d7..7b703e77 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go @@ -399,4 +399,5 @@ const ( SYS_LSM_GET_SELF_ATTR = 459 SYS_LSM_SET_SELF_ATTR = 460 SYS_LSM_LIST_MODULES = 461 + SYS_MSEAL = 462 ) diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go index 0036746e..7f1961b9 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go @@ -110,7 +110,8 @@ type Statx_t struct { Mnt_id uint64 Dio_mem_align uint32 Dio_offset_align uint32 - _ [12]uint64 + Subvol uint64 + _ [11]uint64 } type Fsid struct { @@ -3473,7 +3474,7 @@ const ( DEVLINK_PORT_FN_ATTR_STATE = 0x2 DEVLINK_PORT_FN_ATTR_OPSTATE = 0x3 DEVLINK_PORT_FN_ATTR_CAPS = 0x4 - DEVLINK_PORT_FUNCTION_ATTR_MAX = 0x5 + DEVLINK_PORT_FUNCTION_ATTR_MAX = 0x6 ) type FsverityDigest struct { @@ -3806,6 +3807,9 @@ const ( ETHTOOL_MSG_PSE_GET_REPLY = 0x25 ETHTOOL_MSG_RSS_GET_REPLY = 0x26 ETHTOOL_MSG_KERNEL_MAX = 0x2b + ETHTOOL_FLAG_COMPACT_BITSETS = 0x1 + ETHTOOL_FLAG_OMIT_REPLY = 0x2 + ETHTOOL_FLAG_STATS = 0x4 ETHTOOL_A_HEADER_UNSPEC = 0x0 ETHTOOL_A_HEADER_DEV_INDEX = 0x1 ETHTOOL_A_HEADER_DEV_NAME = 0x2 @@ -3975,7 +3979,7 @@ const ( ETHTOOL_A_TSINFO_TX_TYPES = 0x3 ETHTOOL_A_TSINFO_RX_FILTERS = 0x4 ETHTOOL_A_TSINFO_PHC_INDEX = 0x5 - ETHTOOL_A_TSINFO_MAX = 0x5 + ETHTOOL_A_TSINFO_MAX = 0x6 ETHTOOL_A_CABLE_TEST_UNSPEC = 0x0 ETHTOOL_A_CABLE_TEST_HEADER = 0x1 ETHTOOL_A_CABLE_TEST_MAX = 0x1 @@ -4605,7 +4609,7 @@ const ( NL80211_ATTR_MAC_HINT = 0xc8 NL80211_ATTR_MAC_MASK = 0xd7 NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca - NL80211_ATTR_MAX = 0x149 + NL80211_ATTR_MAX = 0x14a NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4 NL80211_ATTR_MAX_CSA_COUNTERS = 0xce NL80211_ATTR_MAX_MATCH_SETS = 0x85 @@ -5209,7 +5213,7 @@ const ( NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf - NL80211_FREQUENCY_ATTR_MAX = 0x1f + NL80211_FREQUENCY_ATTR_MAX = 0x20 NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6 NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11 NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc @@ -5703,7 +5707,7 @@ const ( NL80211_STA_FLAG_ASSOCIATED = 0x7 NL80211_STA_FLAG_AUTHENTICATED = 0x5 NL80211_STA_FLAG_AUTHORIZED = 0x1 - NL80211_STA_FLAG_MAX = 0x7 + NL80211_STA_FLAG_MAX = 0x8 NL80211_STA_FLAG_MAX_OLD_API = 0x6 NL80211_STA_FLAG_MFP = 0x4 NL80211_STA_FLAG_SHORT_PREAMBLE = 0x2 @@ -6001,3 +6005,34 @@ type CachestatRange struct { Off uint64 Len uint64 } + +const ( + SK_MEMINFO_RMEM_ALLOC = 0x0 + SK_MEMINFO_RCVBUF = 0x1 + SK_MEMINFO_WMEM_ALLOC = 0x2 + SK_MEMINFO_SNDBUF = 0x3 + SK_MEMINFO_FWD_ALLOC = 0x4 + SK_MEMINFO_WMEM_QUEUED = 0x5 + SK_MEMINFO_OPTMEM = 0x6 + SK_MEMINFO_BACKLOG = 0x7 + SK_MEMINFO_DROPS = 0x8 + SK_MEMINFO_VARS = 0x9 + SKNLGRP_NONE = 0x0 + SKNLGRP_INET_TCP_DESTROY = 0x1 + SKNLGRP_INET_UDP_DESTROY = 0x2 + SKNLGRP_INET6_TCP_DESTROY = 0x3 + SKNLGRP_INET6_UDP_DESTROY = 0x4 + SK_DIAG_BPF_STORAGE_REQ_NONE = 0x0 + SK_DIAG_BPF_STORAGE_REQ_MAP_FD = 0x1 + SK_DIAG_BPF_STORAGE_REP_NONE = 0x0 + SK_DIAG_BPF_STORAGE = 0x1 + SK_DIAG_BPF_STORAGE_NONE = 0x0 + SK_DIAG_BPF_STORAGE_PAD = 0x1 + SK_DIAG_BPF_STORAGE_MAP_ID = 0x2 + SK_DIAG_BPF_STORAGE_MAP_VALUE = 0x3 +) + +type SockDiagReq struct { + Family uint8 + Protocol uint8 +} diff --git a/vendor/golang.org/x/sys/windows/security_windows.go b/vendor/golang.org/x/sys/windows/security_windows.go index 26be94a8..b6e1ab76 100644 --- a/vendor/golang.org/x/sys/windows/security_windows.go +++ b/vendor/golang.org/x/sys/windows/security_windows.go @@ -68,6 +68,7 @@ type UserInfo10 struct { //sys NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) = netapi32.NetUserGetInfo //sys NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (neterr error) = netapi32.NetGetJoinInformation //sys NetApiBufferFree(buf *byte) (neterr error) = netapi32.NetApiBufferFree +//sys NetUserEnum(serverName *uint16, level uint32, filter uint32, buf **byte, prefMaxLen uint32, entriesRead *uint32, totalEntries *uint32, resumeHandle *uint32) (neterr error) = netapi32.NetUserEnum const ( // do not reorder @@ -893,7 +894,7 @@ type ACL struct { aclRevision byte sbz1 byte aclSize uint16 - aceCount uint16 + AceCount uint16 sbz2 uint16 } @@ -1086,6 +1087,27 @@ type EXPLICIT_ACCESS struct { Trustee TRUSTEE } +// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header +type ACE_HEADER struct { + AceType uint8 + AceFlags uint8 + AceSize uint16 +} + +// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-access_allowed_ace +type ACCESS_ALLOWED_ACE struct { + Header ACE_HEADER + Mask ACCESS_MASK + SidStart uint32 +} + +const ( + // Constants for AceType + // https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header + ACCESS_ALLOWED_ACE_TYPE = 0 + ACCESS_DENIED_ACE_TYPE = 1 +) + // This type is the union inside of TRUSTEE and must be created using one of the TrusteeValueFrom* functions. type TrusteeValue uintptr @@ -1157,6 +1179,7 @@ type OBJECTS_AND_NAME struct { //sys makeSelfRelativeSD(absoluteSD *SECURITY_DESCRIPTOR, selfRelativeSD *SECURITY_DESCRIPTOR, selfRelativeSDSize *uint32) (err error) = advapi32.MakeSelfRelativeSD //sys setEntriesInAcl(countExplicitEntries uint32, explicitEntries *EXPLICIT_ACCESS, oldACL *ACL, newACL **ACL) (ret error) = advapi32.SetEntriesInAclW +//sys GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (err error) = advapi32.GetAce // Control returns the security descriptor control bits. func (sd *SECURITY_DESCRIPTOR) Control() (control SECURITY_DESCRIPTOR_CONTROL, revision uint32, err error) { diff --git a/vendor/golang.org/x/sys/windows/syscall_windows.go b/vendor/golang.org/x/sys/windows/syscall_windows.go index 6525c62f..1fa34fd1 100644 --- a/vendor/golang.org/x/sys/windows/syscall_windows.go +++ b/vendor/golang.org/x/sys/windows/syscall_windows.go @@ -17,8 +17,10 @@ import ( "unsafe" ) -type Handle uintptr -type HWND uintptr +type ( + Handle uintptr + HWND uintptr +) const ( InvalidHandle = ^Handle(0) @@ -211,6 +213,10 @@ func NewCallbackCDecl(fn interface{}) uintptr { //sys OpenProcess(desiredAccess uint32, inheritHandle bool, processId uint32) (handle Handle, err error) //sys ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int32) (err error) [failretval<=32] = shell32.ShellExecuteW //sys GetWindowThreadProcessId(hwnd HWND, pid *uint32) (tid uint32, err error) = user32.GetWindowThreadProcessId +//sys LoadKeyboardLayout(name *uint16, flags uint32) (hkl Handle, err error) [failretval==0] = user32.LoadKeyboardLayoutW +//sys UnloadKeyboardLayout(hkl Handle) (err error) = user32.UnloadKeyboardLayout +//sys GetKeyboardLayout(tid uint32) (hkl Handle) = user32.GetKeyboardLayout +//sys ToUnicodeEx(vkey uint32, scancode uint32, keystate *byte, pwszBuff *uint16, cchBuff int32, flags uint32, hkl Handle) (ret int32) = user32.ToUnicodeEx //sys GetShellWindow() (shellWindow HWND) = user32.GetShellWindow //sys MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret int32, err error) [failretval==0] = user32.MessageBoxW //sys ExitWindowsEx(flags uint32, reason uint32) (err error) = user32.ExitWindowsEx @@ -1368,9 +1374,11 @@ func SetsockoptLinger(fd Handle, level, opt int, l *Linger) (err error) { func SetsockoptInet4Addr(fd Handle, level, opt int, value [4]byte) (err error) { return Setsockopt(fd, int32(level), int32(opt), (*byte)(unsafe.Pointer(&value[0])), 4) } + func SetsockoptIPMreq(fd Handle, level, opt int, mreq *IPMreq) (err error) { return Setsockopt(fd, int32(level), int32(opt), (*byte)(unsafe.Pointer(mreq)), int32(unsafe.Sizeof(*mreq))) } + func SetsockoptIPv6Mreq(fd Handle, level, opt int, mreq *IPv6Mreq) (err error) { return syscall.EWINDOWS } diff --git a/vendor/golang.org/x/sys/windows/types_windows.go b/vendor/golang.org/x/sys/windows/types_windows.go index d8cb71db..3f03b3d5 100644 --- a/vendor/golang.org/x/sys/windows/types_windows.go +++ b/vendor/golang.org/x/sys/windows/types_windows.go @@ -2003,7 +2003,21 @@ const ( MOVEFILE_FAIL_IF_NOT_TRACKABLE = 0x20 ) -const GAA_FLAG_INCLUDE_PREFIX = 0x00000010 +// Flags for GetAdaptersAddresses, see +// https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersaddresses. +const ( + GAA_FLAG_SKIP_UNICAST = 0x1 + GAA_FLAG_SKIP_ANYCAST = 0x2 + GAA_FLAG_SKIP_MULTICAST = 0x4 + GAA_FLAG_SKIP_DNS_SERVER = 0x8 + GAA_FLAG_INCLUDE_PREFIX = 0x10 + GAA_FLAG_SKIP_FRIENDLY_NAME = 0x20 + GAA_FLAG_INCLUDE_WINS_INFO = 0x40 + GAA_FLAG_INCLUDE_GATEWAYS = 0x80 + GAA_FLAG_INCLUDE_ALL_INTERFACES = 0x100 + GAA_FLAG_INCLUDE_ALL_COMPARTMENTS = 0x200 + GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER = 0x400 +) const ( IF_TYPE_OTHER = 1 @@ -2017,6 +2031,50 @@ const ( IF_TYPE_IEEE1394 = 144 ) +// Enum NL_PREFIX_ORIGIN for [IpAdapterUnicastAddress], see +// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_prefix_origin +const ( + IpPrefixOriginOther = 0 + IpPrefixOriginManual = 1 + IpPrefixOriginWellKnown = 2 + IpPrefixOriginDhcp = 3 + IpPrefixOriginRouterAdvertisement = 4 + IpPrefixOriginUnchanged = 1 << 4 +) + +// Enum NL_SUFFIX_ORIGIN for [IpAdapterUnicastAddress], see +// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_suffix_origin +const ( + NlsoOther = 0 + NlsoManual = 1 + NlsoWellKnown = 2 + NlsoDhcp = 3 + NlsoLinkLayerAddress = 4 + NlsoRandom = 5 + IpSuffixOriginOther = 0 + IpSuffixOriginManual = 1 + IpSuffixOriginWellKnown = 2 + IpSuffixOriginDhcp = 3 + IpSuffixOriginLinkLayerAddress = 4 + IpSuffixOriginRandom = 5 + IpSuffixOriginUnchanged = 1 << 4 +) + +// Enum NL_DAD_STATE for [IpAdapterUnicastAddress], see +// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_dad_state +const ( + NldsInvalid = 0 + NldsTentative = 1 + NldsDuplicate = 2 + NldsDeprecated = 3 + NldsPreferred = 4 + IpDadStateInvalid = 0 + IpDadStateTentative = 1 + IpDadStateDuplicate = 2 + IpDadStateDeprecated = 3 + IpDadStatePreferred = 4 +) + type SocketAddress struct { Sockaddr *syscall.RawSockaddrAny SockaddrLength int32 @@ -3404,3 +3462,14 @@ type DCB struct { EvtChar byte wReserved1 uint16 } + +// Keyboard Layout Flags. +// See https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-loadkeyboardlayoutw +const ( + KLF_ACTIVATE = 0x00000001 + KLF_SUBSTITUTE_OK = 0x00000002 + KLF_REORDER = 0x00000008 + KLF_REPLACELANG = 0x00000010 + KLF_NOTELLSHELL = 0x00000080 + KLF_SETFORPROCESS = 0x00000100 +) diff --git a/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/vendor/golang.org/x/sys/windows/zsyscall_windows.go index 5c6035dd..9bb979a3 100644 --- a/vendor/golang.org/x/sys/windows/zsyscall_windows.go +++ b/vendor/golang.org/x/sys/windows/zsyscall_windows.go @@ -91,6 +91,7 @@ var ( procEnumServicesStatusExW = modadvapi32.NewProc("EnumServicesStatusExW") procEqualSid = modadvapi32.NewProc("EqualSid") procFreeSid = modadvapi32.NewProc("FreeSid") + procGetAce = modadvapi32.NewProc("GetAce") procGetLengthSid = modadvapi32.NewProc("GetLengthSid") procGetNamedSecurityInfoW = modadvapi32.NewProc("GetNamedSecurityInfoW") procGetSecurityDescriptorControl = modadvapi32.NewProc("GetSecurityDescriptorControl") @@ -401,6 +402,7 @@ var ( procTransmitFile = modmswsock.NewProc("TransmitFile") procNetApiBufferFree = modnetapi32.NewProc("NetApiBufferFree") procNetGetJoinInformation = modnetapi32.NewProc("NetGetJoinInformation") + procNetUserEnum = modnetapi32.NewProc("NetUserEnum") procNetUserGetInfo = modnetapi32.NewProc("NetUserGetInfo") procNtCreateFile = modntdll.NewProc("NtCreateFile") procNtCreateNamedPipeFile = modntdll.NewProc("NtCreateNamedPipeFile") @@ -476,12 +478,16 @@ var ( procGetDesktopWindow = moduser32.NewProc("GetDesktopWindow") procGetForegroundWindow = moduser32.NewProc("GetForegroundWindow") procGetGUIThreadInfo = moduser32.NewProc("GetGUIThreadInfo") + procGetKeyboardLayout = moduser32.NewProc("GetKeyboardLayout") procGetShellWindow = moduser32.NewProc("GetShellWindow") procGetWindowThreadProcessId = moduser32.NewProc("GetWindowThreadProcessId") procIsWindow = moduser32.NewProc("IsWindow") procIsWindowUnicode = moduser32.NewProc("IsWindowUnicode") procIsWindowVisible = moduser32.NewProc("IsWindowVisible") + procLoadKeyboardLayoutW = moduser32.NewProc("LoadKeyboardLayoutW") procMessageBoxW = moduser32.NewProc("MessageBoxW") + procToUnicodeEx = moduser32.NewProc("ToUnicodeEx") + procUnloadKeyboardLayout = moduser32.NewProc("UnloadKeyboardLayout") procCreateEnvironmentBlock = moduserenv.NewProc("CreateEnvironmentBlock") procDestroyEnvironmentBlock = moduserenv.NewProc("DestroyEnvironmentBlock") procGetUserProfileDirectoryW = moduserenv.NewProc("GetUserProfileDirectoryW") @@ -787,6 +793,14 @@ func FreeSid(sid *SID) (err error) { return } +func GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (err error) { + r1, _, e1 := syscall.Syscall(procGetAce.Addr(), 3, uintptr(unsafe.Pointer(acl)), uintptr(aceIndex), uintptr(unsafe.Pointer(pAce))) + if r1 == 0 { + err = errnoErr(e1) + } + return +} + func GetLengthSid(sid *SID) (len uint32) { r0, _, _ := syscall.Syscall(procGetLengthSid.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0) len = uint32(r0) @@ -3486,6 +3500,14 @@ func NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (nete return } +func NetUserEnum(serverName *uint16, level uint32, filter uint32, buf **byte, prefMaxLen uint32, entriesRead *uint32, totalEntries *uint32, resumeHandle *uint32) (neterr error) { + r0, _, _ := syscall.Syscall9(procNetUserEnum.Addr(), 8, uintptr(unsafe.Pointer(serverName)), uintptr(level), uintptr(filter), uintptr(unsafe.Pointer(buf)), uintptr(prefMaxLen), uintptr(unsafe.Pointer(entriesRead)), uintptr(unsafe.Pointer(totalEntries)), uintptr(unsafe.Pointer(resumeHandle)), 0) + if r0 != 0 { + neterr = syscall.Errno(r0) + } + return +} + func NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) { r0, _, _ := syscall.Syscall6(procNetUserGetInfo.Addr(), 4, uintptr(unsafe.Pointer(serverName)), uintptr(unsafe.Pointer(userName)), uintptr(level), uintptr(unsafe.Pointer(buf)), 0, 0) if r0 != 0 { @@ -4064,6 +4086,12 @@ func GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) { return } +func GetKeyboardLayout(tid uint32) (hkl Handle) { + r0, _, _ := syscall.Syscall(procGetKeyboardLayout.Addr(), 1, uintptr(tid), 0, 0) + hkl = Handle(r0) + return +} + func GetShellWindow() (shellWindow HWND) { r0, _, _ := syscall.Syscall(procGetShellWindow.Addr(), 0, 0, 0, 0) shellWindow = HWND(r0) @@ -4097,6 +4125,15 @@ func IsWindowVisible(hwnd HWND) (isVisible bool) { return } +func LoadKeyboardLayout(name *uint16, flags uint32) (hkl Handle, err error) { + r0, _, e1 := syscall.Syscall(procLoadKeyboardLayoutW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(flags), 0) + hkl = Handle(r0) + if hkl == 0 { + err = errnoErr(e1) + } + return +} + func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret int32, err error) { r0, _, e1 := syscall.Syscall6(procMessageBoxW.Addr(), 4, uintptr(hwnd), uintptr(unsafe.Pointer(text)), uintptr(unsafe.Pointer(caption)), uintptr(boxtype), 0, 0) ret = int32(r0) @@ -4106,6 +4143,20 @@ func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret i return } +func ToUnicodeEx(vkey uint32, scancode uint32, keystate *byte, pwszBuff *uint16, cchBuff int32, flags uint32, hkl Handle) (ret int32) { + r0, _, _ := syscall.Syscall9(procToUnicodeEx.Addr(), 7, uintptr(vkey), uintptr(scancode), uintptr(unsafe.Pointer(keystate)), uintptr(unsafe.Pointer(pwszBuff)), uintptr(cchBuff), uintptr(flags), uintptr(hkl), 0, 0) + ret = int32(r0) + return +} + +func UnloadKeyboardLayout(hkl Handle) (err error) { + r1, _, e1 := syscall.Syscall(procUnloadKeyboardLayout.Addr(), 1, uintptr(hkl), 0, 0) + if r1 == 0 { + err = errnoErr(e1) + } + return +} + func CreateEnvironmentBlock(block **uint16, token Token, inheritExisting bool) (err error) { var _p0 uint32 if inheritExisting { diff --git a/vendor/golang.org/x/term/LICENSE b/vendor/golang.org/x/term/LICENSE index 6a66aea5..2a7cf70d 100644 --- a/vendor/golang.org/x/term/LICENSE +++ b/vendor/golang.org/x/term/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/text/LICENSE b/vendor/golang.org/x/text/LICENSE index 6a66aea5..2a7cf70d 100644 --- a/vendor/golang.org/x/text/LICENSE +++ b/vendor/golang.org/x/text/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go index f4790237..bb2966e3 100644 --- a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go +++ b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go @@ -102,7 +102,7 @@ type decoder struct { } // newError returns an error object with position info. -func (d decoder) newError(pos int, f string, x ...interface{}) error { +func (d decoder) newError(pos int, f string, x ...any) error { line, column := d.Position(pos) head := fmt.Sprintf("(line %d:%d): ", line, column) return errors.New(head+f, x...) @@ -114,7 +114,7 @@ func (d decoder) unexpectedTokenError(tok json.Token) error { } // syntaxError returns a syntax error for given position. -func (d decoder) syntaxError(pos int, f string, x ...interface{}) error { +func (d decoder) syntaxError(pos int, f string, x ...any) error { line, column := d.Position(pos) head := fmt.Sprintf("syntax error (line %d:%d): ", line, column) return errors.New(head+f, x...) diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/encode.go b/vendor/google.golang.org/protobuf/encoding/protojson/encode.go index 3f75098b..29846df2 100644 --- a/vendor/google.golang.org/protobuf/encoding/protojson/encode.go +++ b/vendor/google.golang.org/protobuf/encoding/protojson/encode.go @@ -25,15 +25,17 @@ const defaultIndent = " " // Format formats the message as a multiline string. // This function is only intended for human consumption and ignores errors. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. +// Do not depend on the output being stable. Its output will change across +// different builds of your program, even when using the same version of the +// protobuf module. func Format(m proto.Message) string { return MarshalOptions{Multiline: true}.Format(m) } // Marshal writes the given [proto.Message] in JSON format using default options. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. +// Do not depend on the output being stable. Its output will change across +// different builds of your program, even when using the same version of the +// protobuf module. func Marshal(m proto.Message) ([]byte, error) { return MarshalOptions{}.Marshal(m) } @@ -110,8 +112,9 @@ type MarshalOptions struct { // Format formats the message as a string. // This method is only intended for human consumption and ignores errors. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. +// Do not depend on the output being stable. Its output will change across +// different builds of your program, even when using the same version of the +// protobuf module. func (o MarshalOptions) Format(m proto.Message) string { if m == nil || !m.ProtoReflect().IsValid() { return "" // invalid syntax, but okay since this is for debugging @@ -122,8 +125,9 @@ func (o MarshalOptions) Format(m proto.Message) string { } // Marshal marshals the given [proto.Message] in the JSON format using options in -// MarshalOptions. Do not depend on the output being stable. It may change over -// time across different versions of the program. +// Do not depend on the output being stable. Its output will change across +// different builds of your program, even when using the same version of the +// protobuf module. func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) { return o.marshal(nil, m) } diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/decode.go b/vendor/google.golang.org/protobuf/encoding/prototext/decode.go index a45f112b..24bc98ac 100644 --- a/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +++ b/vendor/google.golang.org/protobuf/encoding/prototext/decode.go @@ -84,7 +84,7 @@ type decoder struct { } // newError returns an error object with position info. -func (d decoder) newError(pos int, f string, x ...interface{}) error { +func (d decoder) newError(pos int, f string, x ...any) error { line, column := d.Position(pos) head := fmt.Sprintf("(line %d:%d): ", line, column) return errors.New(head+f, x...) @@ -96,7 +96,7 @@ func (d decoder) unexpectedTokenError(tok text.Token) error { } // syntaxError returns a syntax error for given position. -func (d decoder) syntaxError(pos int, f string, x ...interface{}) error { +func (d decoder) syntaxError(pos int, f string, x ...any) error { line, column := d.Position(pos) head := fmt.Sprintf("syntax error (line %d:%d): ", line, column) return errors.New(head+f, x...) diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/encode.go b/vendor/google.golang.org/protobuf/encoding/prototext/encode.go index 95967e81..1f57e661 100644 --- a/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +++ b/vendor/google.golang.org/protobuf/encoding/prototext/encode.go @@ -27,15 +27,17 @@ const defaultIndent = " " // Format formats the message as a multiline string. // This function is only intended for human consumption and ignores errors. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. +// Do not depend on the output being stable. Its output will change across +// different builds of your program, even when using the same version of the +// protobuf module. func Format(m proto.Message) string { return MarshalOptions{Multiline: true}.Format(m) } // Marshal writes the given [proto.Message] in textproto format using default -// options. Do not depend on the output being stable. It may change over time -// across different versions of the program. +// options. Do not depend on the output being stable. Its output will change +// across different builds of your program, even when using the same version of +// the protobuf module. func Marshal(m proto.Message) ([]byte, error) { return MarshalOptions{}.Marshal(m) } @@ -84,8 +86,9 @@ type MarshalOptions struct { // Format formats the message as a string. // This method is only intended for human consumption and ignores errors. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. +// Do not depend on the output being stable. Its output will change across +// different builds of your program, even when using the same version of the +// protobuf module. func (o MarshalOptions) Format(m proto.Message) string { if m == nil || !m.ProtoReflect().IsValid() { return "" // invalid syntax, but okay since this is for debugging @@ -98,8 +101,9 @@ func (o MarshalOptions) Format(m proto.Message) string { } // Marshal writes the given [proto.Message] in textproto format using options in -// MarshalOptions object. Do not depend on the output being stable. It may -// change over time across different versions of the program. +// MarshalOptions object. Do not depend on the output being stable. Its output +// will change across different builds of your program, even when using the +// same version of the protobuf module. func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) { return o.marshal(nil, m) } diff --git a/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go b/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go index a45625c8..87e46bd4 100644 --- a/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go +++ b/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go @@ -252,6 +252,7 @@ func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool, record fu {rv.MethodByName("Values"), "Values"}, {rv.MethodByName("ReservedNames"), "ReservedNames"}, {rv.MethodByName("ReservedRanges"), "ReservedRanges"}, + {rv.MethodByName("IsClosed"), "IsClosed"}, }...) case protoreflect.EnumValueDescriptor: diff --git a/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb b/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb index 18f0756874367adcdb790ffde125b6a7388b4eaa..ff6a38360add36f53d48bb0863b701696e0d7b2d 100644 GIT binary patch literal 93 zcmd;*mUzal#C*w)K}(Q>QGiK;Nr72|(SYfa9TNv5m$bxlxFnMRqXeS@6Ht;7B*_4j Ve8H{+(u69m1u{(G8N0>{b^xZ!4_5#H literal 63 zcmd-Q6yo7v6kw8IQef6#G+>f=#?A#2ViI7KU{qiN3NcDNhX^qu3B6!fc*d^rf*k<7 Cln3+x diff --git a/vendor/google.golang.org/protobuf/internal/editionssupport/editions.go b/vendor/google.golang.org/protobuf/internal/editionssupport/editions.go new file mode 100644 index 00000000..029a6a12 --- /dev/null +++ b/vendor/google.golang.org/protobuf/internal/editionssupport/editions.go @@ -0,0 +1,13 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package editionssupport defines constants for editions that are supported. +package editionssupport + +import descriptorpb "google.golang.org/protobuf/types/descriptorpb" + +const ( + Minimum = descriptorpb.Edition_EDITION_PROTO2 + Maximum = descriptorpb.Edition_EDITION_2023 +) diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go b/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go index d2b3ac03..ea1d3e65 100644 --- a/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go +++ b/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go @@ -214,7 +214,7 @@ func (d *Decoder) parseNext() (Token, error) { // newSyntaxError returns an error with line and column information useful for // syntax errors. -func (d *Decoder) newSyntaxError(pos int, f string, x ...interface{}) error { +func (d *Decoder) newSyntaxError(pos int, f string, x ...any) error { e := errors.New(f, x...) line, column := d.Position(pos) return errors.New("syntax error (line %d:%d): %v", line, column, e) diff --git a/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go b/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go index 373d2083..7e87c760 100644 --- a/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +++ b/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go @@ -32,6 +32,7 @@ var byteType = reflect.TypeOf(byte(0)) func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescriptors) protoreflect.FieldDescriptor { f := new(filedesc.Field) f.L0.ParentFile = filedesc.SurrogateProto2 + f.L1.EditionFeatures = f.L0.ParentFile.L1.EditionFeatures for len(tag) > 0 { i := strings.IndexByte(tag, ',') if i < 0 { @@ -107,8 +108,7 @@ func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescri f.L1.StringName.InitJSON(jsonName) } case s == "packed": - f.L1.HasPacked = true - f.L1.IsPacked = true + f.L1.EditionFeatures.IsPacked = true case strings.HasPrefix(s, "weak="): f.L1.IsWeak = true f.L1.Message = filedesc.PlaceholderMessage(protoreflect.FullName(s[len("weak="):])) diff --git a/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go b/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go index 87853e78..099b2bf4 100644 --- a/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +++ b/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go @@ -601,7 +601,7 @@ func (d *Decoder) consumeToken(kind Kind, size int, attrs uint8) Token { // newSyntaxError returns a syntax error with line and column information for // current position. -func (d *Decoder) newSyntaxError(f string, x ...interface{}) error { +func (d *Decoder) newSyntaxError(f string, x ...any) error { e := errors.New(f, x...) line, column := d.Position(len(d.orig) - len(d.in)) return errors.New("syntax error (line %d:%d): %v", line, column, e) diff --git a/vendor/google.golang.org/protobuf/internal/errors/errors.go b/vendor/google.golang.org/protobuf/internal/errors/errors.go index 20c17b35..c2d6bd52 100644 --- a/vendor/google.golang.org/protobuf/internal/errors/errors.go +++ b/vendor/google.golang.org/protobuf/internal/errors/errors.go @@ -17,7 +17,7 @@ var Error = errors.New("protobuf error") // New formats a string according to the format specifier and arguments and // returns an error that has a "proto" prefix. -func New(f string, x ...interface{}) error { +func New(f string, x ...any) error { return &prefixError{s: format(f, x...)} } @@ -43,7 +43,7 @@ func (e *prefixError) Unwrap() error { // Wrap returns an error that has a "proto" prefix, the formatted string described // by the format specifier and arguments, and a suffix of err. The error wraps err. -func Wrap(err error, f string, x ...interface{}) error { +func Wrap(err error, f string, x ...any) error { return &wrapError{ s: format(f, x...), err: err, @@ -67,7 +67,7 @@ func (e *wrapError) Is(target error) bool { return target == Error } -func format(f string, x ...interface{}) string { +func format(f string, x ...any) string { // avoid "proto: " prefix when chaining for i := 0; i < len(x); i++ { switch e := x[i].(type) { @@ -87,3 +87,18 @@ func InvalidUTF8(name string) error { func RequiredNotSet(name string) error { return New("required field %v not set", name) } + +type SizeMismatchError struct { + Calculated, Measured int +} + +func (e *SizeMismatchError) Error() string { + return fmt.Sprintf("size mismatch (see https://github.com/golang/protobuf/issues/1609): calculated=%d, measured=%d", e.Calculated, e.Measured) +} + +func MismatchedSizeCalculation(calculated, measured int) error { + return &SizeMismatchError{ + Calculated: calculated, + Measured: measured, + } +} diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc.go index 8826bcf4..df53ff40 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc.go @@ -7,6 +7,7 @@ package filedesc import ( "bytes" "fmt" + "strings" "sync" "sync/atomic" @@ -108,9 +109,12 @@ func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd } func (fd *File) Parent() protoreflect.Descriptor { return nil } func (fd *File) Index() int { return 0 } func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax } -func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() } -func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package } -func (fd *File) IsPlaceholder() bool { return false } + +// Not exported and just used to reconstruct the original FileDescriptor proto +func (fd *File) Edition() int32 { return int32(fd.L1.Edition) } +func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() } +func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package } +func (fd *File) IsPlaceholder() bool { return false } func (fd *File) Options() protoreflect.ProtoMessage { if f := fd.lazyInit().Options; f != nil { return f() @@ -202,6 +206,9 @@ func (ed *Enum) lazyInit() *EnumL2 { ed.L0.ParentFile.lazyInit() // implicitly initializes L2 return ed.L2 } +func (ed *Enum) IsClosed() bool { + return !ed.L1.EditionFeatures.IsOpenEnum +} func (ed *EnumValue) Options() protoreflect.ProtoMessage { if f := ed.L1.Options; f != nil { @@ -251,10 +258,6 @@ type ( StringName stringName IsProto3Optional bool // promoted from google.protobuf.FieldDescriptorProto IsWeak bool // promoted from google.protobuf.FieldOptions - HasPacked bool // promoted from google.protobuf.FieldOptions - IsPacked bool // promoted from google.protobuf.FieldOptions - HasEnforceUTF8 bool // promoted from google.protobuf.FieldOptions - EnforceUTF8 bool // promoted from google.protobuf.FieldOptions Default defaultValue ContainingOneof protoreflect.OneofDescriptor // must be consistent with Message.Oneofs.Fields Enum protoreflect.EnumDescriptor @@ -331,8 +334,7 @@ func (fd *Field) HasPresence() bool { if fd.L1.Cardinality == protoreflect.Repeated { return false } - explicitFieldPresence := fd.Syntax() == protoreflect.Editions && fd.L1.EditionFeatures.IsFieldPresence - return fd.Syntax() == protoreflect.Proto2 || explicitFieldPresence || fd.L1.Message != nil || fd.L1.ContainingOneof != nil + return fd.IsExtension() || fd.L1.EditionFeatures.IsFieldPresence || fd.L1.Message != nil || fd.L1.ContainingOneof != nil } func (fd *Field) HasOptionalKeyword() bool { return (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && fd.L1.Cardinality == protoreflect.Optional && fd.L1.ContainingOneof == nil) || fd.L1.IsProto3Optional @@ -345,14 +347,7 @@ func (fd *Field) IsPacked() bool { case protoreflect.StringKind, protoreflect.BytesKind, protoreflect.MessageKind, protoreflect.GroupKind: return false } - if fd.L0.ParentFile.L1.Syntax == protoreflect.Editions { - return fd.L1.EditionFeatures.IsPacked - } - if fd.L0.ParentFile.L1.Syntax == protoreflect.Proto3 { - // proto3 repeated fields are packed by default. - return !fd.L1.HasPacked || fd.L1.IsPacked - } - return fd.L1.IsPacked + return fd.L1.EditionFeatures.IsPacked } func (fd *Field) IsExtension() bool { return false } func (fd *Field) IsWeak() bool { return fd.L1.IsWeak } @@ -388,6 +383,10 @@ func (fd *Field) Message() protoreflect.MessageDescriptor { } return fd.L1.Message } +func (fd *Field) IsMapEntry() bool { + parent, ok := fd.L0.Parent.(protoreflect.MessageDescriptor) + return ok && parent.IsMapEntry() +} func (fd *Field) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) } func (fd *Field) ProtoType(protoreflect.FieldDescriptor) {} @@ -399,13 +398,7 @@ func (fd *Field) ProtoType(protoreflect.FieldDescriptor) {} // WARNING: This method is exempt from the compatibility promise and may be // removed in the future without warning. func (fd *Field) EnforceUTF8() bool { - if fd.L0.ParentFile.L1.Syntax == protoreflect.Editions { - return fd.L1.EditionFeatures.IsUTF8Validated - } - if fd.L1.HasEnforceUTF8 { - return fd.L1.EnforceUTF8 - } - return fd.L0.ParentFile.L1.Syntax == protoreflect.Proto3 + return fd.L1.EditionFeatures.IsUTF8Validated } func (od *Oneof) IsSynthetic() bool { @@ -438,7 +431,6 @@ type ( Options func() protoreflect.ProtoMessage StringName stringName IsProto3Optional bool // promoted from google.protobuf.FieldDescriptorProto - IsPacked bool // promoted from google.protobuf.FieldOptions Default defaultValue Enum protoreflect.EnumDescriptor Message protoreflect.MessageDescriptor @@ -461,7 +453,16 @@ func (xd *Extension) HasPresence() bool { return xd.L1.Cardi func (xd *Extension) HasOptionalKeyword() bool { return (xd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && xd.L1.Cardinality == protoreflect.Optional) || xd.lazyInit().IsProto3Optional } -func (xd *Extension) IsPacked() bool { return xd.lazyInit().IsPacked } +func (xd *Extension) IsPacked() bool { + if xd.L1.Cardinality != protoreflect.Repeated { + return false + } + switch xd.L1.Kind { + case protoreflect.StringKind, protoreflect.BytesKind, protoreflect.MessageKind, protoreflect.GroupKind: + return false + } + return xd.L1.EditionFeatures.IsPacked +} func (xd *Extension) IsExtension() bool { return true } func (xd *Extension) IsWeak() bool { return false } func (xd *Extension) IsList() bool { return xd.Cardinality() == protoreflect.Repeated } @@ -542,8 +543,9 @@ func (md *Method) ProtoInternal(pragma.DoNotImplement) {} // Surrogate files are can be used to create standalone descriptors // where the syntax is only information derived from the parent file. var ( - SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}} - SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}} + SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}} + SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}} + SurrogateEdition2023 = &File{L1: FileL1{Syntax: protoreflect.Editions, Edition: Edition2023}, L2: &FileL2{}} ) type ( @@ -585,6 +587,34 @@ func (s *stringName) InitJSON(name string) { s.nameJSON = name } +// Returns true if this field is structured like the synthetic field of a proto2 +// group. This allows us to expand our treatment of delimited fields without +// breaking proto2 files that have been upgraded to editions. +func isGroupLike(fd protoreflect.FieldDescriptor) bool { + // Groups are always group types. + if fd.Kind() != protoreflect.GroupKind { + return false + } + + // Group fields are always the lowercase type name. + if strings.ToLower(string(fd.Message().Name())) != string(fd.Name()) { + return false + } + + // Groups could only be defined in the same file they're used. + if fd.Message().ParentFile() != fd.ParentFile() { + return false + } + + // Group messages are always defined in the same scope as the field. File + // level extensions will compare NULL == NULL here, which is why the file + // comparison above is necessary to ensure both come from the same file. + if fd.IsExtension() { + return fd.Parent() == fd.Message().Parent() + } + return fd.ContainingMessage() == fd.Message().Parent() +} + func (s *stringName) lazyInit(fd protoreflect.FieldDescriptor) *stringName { s.once.Do(func() { if fd.IsExtension() { @@ -605,7 +635,7 @@ func (s *stringName) lazyInit(fd protoreflect.FieldDescriptor) *stringName { // Format the text name. s.nameText = string(fd.Name()) - if fd.Kind() == protoreflect.GroupKind { + if isGroupLike(fd) { s.nameText = string(fd.Message().Name()) } } diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go index 237e64fd..8a57d60b 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go @@ -113,8 +113,10 @@ func (fd *File) unmarshalSeed(b []byte) { switch string(v) { case "proto2": fd.L1.Syntax = protoreflect.Proto2 + fd.L1.Edition = EditionProto2 case "proto3": fd.L1.Syntax = protoreflect.Proto3 + fd.L1.Edition = EditionProto3 case "editions": fd.L1.Syntax = protoreflect.Editions default: @@ -177,11 +179,10 @@ func (fd *File) unmarshalSeed(b []byte) { // If syntax is missing, it is assumed to be proto2. if fd.L1.Syntax == 0 { fd.L1.Syntax = protoreflect.Proto2 + fd.L1.Edition = EditionProto2 } - if fd.L1.Syntax == protoreflect.Editions { - fd.L1.EditionFeatures = getFeaturesFor(fd.L1.Edition) - } + fd.L1.EditionFeatures = getFeaturesFor(fd.L1.Edition) // Parse editions features from options if any if options != nil { @@ -267,6 +268,7 @@ func (ed *Enum) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protorefl ed.L0.ParentFile = pf ed.L0.Parent = pd ed.L0.Index = i + ed.L1.EditionFeatures = featuresFromParentDesc(ed.Parent()) var numValues int for b := b; len(b) > 0; { @@ -443,6 +445,7 @@ func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd prot xd.L0.ParentFile = pf xd.L0.Parent = pd xd.L0.Index = i + xd.L1.EditionFeatures = featuresFromParentDesc(pd) for len(b) > 0 { num, typ, n := protowire.ConsumeTag(b) @@ -467,6 +470,38 @@ func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd prot xd.L0.FullName = appendFullName(sb, pd.FullName(), v) case genid.FieldDescriptorProto_Extendee_field_number: xd.L1.Extendee = PlaceholderMessage(makeFullName(sb, v)) + case genid.FieldDescriptorProto_Options_field_number: + xd.unmarshalOptions(v) + } + default: + m := protowire.ConsumeFieldValue(num, typ, b) + b = b[m:] + } + } + + if xd.L1.Kind == protoreflect.MessageKind && xd.L1.EditionFeatures.IsDelimitedEncoded { + xd.L1.Kind = protoreflect.GroupKind + } +} + +func (xd *Extension) unmarshalOptions(b []byte) { + for len(b) > 0 { + num, typ, n := protowire.ConsumeTag(b) + b = b[n:] + switch typ { + case protowire.VarintType: + v, m := protowire.ConsumeVarint(b) + b = b[m:] + switch num { + case genid.FieldOptions_Packed_field_number: + xd.L1.EditionFeatures.IsPacked = protowire.DecodeBool(v) + } + case protowire.BytesType: + v, m := protowire.ConsumeBytes(b) + b = b[m:] + switch num { + case genid.FieldOptions_Features_field_number: + xd.L1.EditionFeatures = unmarshalFeatureSet(v, xd.L1.EditionFeatures) } default: m := protowire.ConsumeFieldValue(num, typ, b) @@ -499,7 +534,7 @@ func (sd *Service) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protor } var nameBuilderPool = sync.Pool{ - New: func() interface{} { return new(strs.Builder) }, + New: func() any { return new(strs.Builder) }, } func getBuilder() *strs.Builder { diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go index 482a61cc..e56c91a8 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go @@ -45,6 +45,11 @@ func (file *File) resolveMessages() { case protoreflect.MessageKind, protoreflect.GroupKind: fd.L1.Message = file.resolveMessageDependency(fd.L1.Message, listFieldDeps, depIdx) depIdx++ + if fd.L1.Kind == protoreflect.GroupKind && (fd.IsMap() || fd.IsMapEntry()) { + // A map field might inherit delimited encoding from a file-wide default feature. + // But maps never actually use delimited encoding. (At least for now...) + fd.L1.Kind = protoreflect.MessageKind + } } // Default is resolved here since it depends on Enum being resolved. @@ -466,10 +471,10 @@ func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoref b = b[m:] } } - if fd.Syntax() == protoreflect.Editions && fd.L1.Kind == protoreflect.MessageKind && fd.L1.EditionFeatures.IsDelimitedEncoded { + if fd.L1.Kind == protoreflect.MessageKind && fd.L1.EditionFeatures.IsDelimitedEncoded { fd.L1.Kind = protoreflect.GroupKind } - if fd.Syntax() == protoreflect.Editions && fd.L1.EditionFeatures.IsLegacyRequired { + if fd.L1.EditionFeatures.IsLegacyRequired { fd.L1.Cardinality = protoreflect.Required } if rawTypeName != nil { @@ -496,13 +501,11 @@ func (fd *Field) unmarshalOptions(b []byte) { b = b[m:] switch num { case genid.FieldOptions_Packed_field_number: - fd.L1.HasPacked = true - fd.L1.IsPacked = protowire.DecodeBool(v) + fd.L1.EditionFeatures.IsPacked = protowire.DecodeBool(v) case genid.FieldOptions_Weak_field_number: fd.L1.IsWeak = protowire.DecodeBool(v) case FieldOptions_EnforceUTF8: - fd.L1.HasEnforceUTF8 = true - fd.L1.EnforceUTF8 = protowire.DecodeBool(v) + fd.L1.EditionFeatures.IsUTF8Validated = protowire.DecodeBool(v) } case protowire.BytesType: v, m := protowire.ConsumeBytes(b) @@ -548,7 +551,6 @@ func (od *Oneof) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoref func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) { var rawTypeName []byte var rawOptions []byte - xd.L1.EditionFeatures = featuresFromParentDesc(xd.L1.Extendee) xd.L2 = new(ExtensionL2) for len(b) > 0 { num, typ, n := protowire.ConsumeTag(b) @@ -572,7 +574,6 @@ func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) { case genid.FieldDescriptorProto_TypeName_field_number: rawTypeName = v case genid.FieldDescriptorProto_Options_field_number: - xd.unmarshalOptions(v) rawOptions = appendOptions(rawOptions, v) } default: @@ -580,12 +581,6 @@ func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) { b = b[m:] } } - if xd.Syntax() == protoreflect.Editions && xd.L1.Kind == protoreflect.MessageKind && xd.L1.EditionFeatures.IsDelimitedEncoded { - xd.L1.Kind = protoreflect.GroupKind - } - if xd.Syntax() == protoreflect.Editions && xd.L1.EditionFeatures.IsLegacyRequired { - xd.L1.Cardinality = protoreflect.Required - } if rawTypeName != nil { name := makeFullName(sb, rawTypeName) switch xd.L1.Kind { @@ -598,32 +593,6 @@ func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) { xd.L2.Options = xd.L0.ParentFile.builder.optionsUnmarshaler(&descopts.Field, rawOptions) } -func (xd *Extension) unmarshalOptions(b []byte) { - for len(b) > 0 { - num, typ, n := protowire.ConsumeTag(b) - b = b[n:] - switch typ { - case protowire.VarintType: - v, m := protowire.ConsumeVarint(b) - b = b[m:] - switch num { - case genid.FieldOptions_Packed_field_number: - xd.L2.IsPacked = protowire.DecodeBool(v) - } - case protowire.BytesType: - v, m := protowire.ConsumeBytes(b) - b = b[m:] - switch num { - case genid.FieldOptions_Features_field_number: - xd.L1.EditionFeatures = unmarshalFeatureSet(v, xd.L1.EditionFeatures) - } - default: - m := protowire.ConsumeFieldValue(num, typ, b) - b = b[m:] - } - } -} - func (sd *Service) unmarshalFull(b []byte, sb *strs.Builder) { var rawMethods [][]byte var rawOptions []byte diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go index 30db19fd..f4107c05 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go @@ -8,6 +8,7 @@ package filedesc import ( "fmt" + "strings" "sync" "google.golang.org/protobuf/internal/descfmt" @@ -198,6 +199,16 @@ func (p *Fields) lazyInit() *Fields { if _, ok := p.byText[d.TextName()]; !ok { p.byText[d.TextName()] = d } + if isGroupLike(d) { + lowerJSONName := strings.ToLower(d.JSONName()) + if _, ok := p.byJSON[lowerJSONName]; !ok { + p.byJSON[lowerJSONName] = d + } + lowerTextName := strings.ToLower(d.TextName()) + if _, ok := p.byText[lowerTextName]; !ok { + p.byText[lowerTextName] = d + } + } if _, ok := p.byNum[d.Number()]; !ok { p.byNum[d.Number()] = d } diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/editions.go b/vendor/google.golang.org/protobuf/internal/filedesc/editions.go index 0375a49d..11f5f356 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/editions.go @@ -14,9 +14,13 @@ import ( ) var defaultsCache = make(map[Edition]EditionFeatures) +var defaultsKeys = []Edition{} func init() { unmarshalEditionDefaults(editiondefaults.Defaults) + SurrogateProto2.L1.EditionFeatures = getFeaturesFor(EditionProto2) + SurrogateProto3.L1.EditionFeatures = getFeaturesFor(EditionProto3) + SurrogateEdition2023.L1.EditionFeatures = getFeaturesFor(Edition2023) } func unmarshalGoFeature(b []byte, parent EditionFeatures) EditionFeatures { @@ -104,12 +108,15 @@ func unmarshalEditionDefault(b []byte) { v, m := protowire.ConsumeBytes(b) b = b[m:] switch num { - case genid.FeatureSetDefaults_FeatureSetEditionDefault_Features_field_number: + case genid.FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_number: + fs = unmarshalFeatureSet(v, fs) + case genid.FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_number: fs = unmarshalFeatureSet(v, fs) } } } defaultsCache[ed] = fs + defaultsKeys = append(defaultsKeys, ed) } func unmarshalEditionDefaults(b []byte) { @@ -135,8 +142,15 @@ func unmarshalEditionDefaults(b []byte) { } func getFeaturesFor(ed Edition) EditionFeatures { - if def, ok := defaultsCache[ed]; ok { - return def + match := EditionUnknown + for _, key := range defaultsKeys { + if key > ed { + break + } + match = key } - panic(fmt.Sprintf("unsupported edition: %v", ed)) + if match == EditionUnknown { + panic(fmt.Sprintf("unsupported edition: %v", ed)) + } + return defaultsCache[match] } diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go b/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go index 28240ebc..bfb3b841 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go @@ -63,6 +63,7 @@ func (e PlaceholderEnum) Options() protoreflect.ProtoMessage { return des func (e PlaceholderEnum) Values() protoreflect.EnumValueDescriptors { return emptyEnumValues } func (e PlaceholderEnum) ReservedNames() protoreflect.Names { return emptyNames } func (e PlaceholderEnum) ReservedRanges() protoreflect.EnumRanges { return emptyEnumRanges } +func (e PlaceholderEnum) IsClosed() bool { return false } func (e PlaceholderEnum) ProtoType(protoreflect.EnumDescriptor) { return } func (e PlaceholderEnum) ProtoInternal(pragma.DoNotImplement) { return } diff --git a/vendor/google.golang.org/protobuf/internal/filetype/build.go b/vendor/google.golang.org/protobuf/internal/filetype/build.go index f0e38c4e..ba83fea4 100644 --- a/vendor/google.golang.org/protobuf/internal/filetype/build.go +++ b/vendor/google.golang.org/protobuf/internal/filetype/build.go @@ -68,7 +68,7 @@ type Builder struct { // and for input and output messages referenced by service methods. // Dependencies must come after declarations, but the ordering of // dependencies themselves is unspecified. - GoTypes []interface{} + GoTypes []any // DependencyIndexes is an ordered list of indexes into GoTypes for the // dependencies of messages, extensions, or services. @@ -268,7 +268,7 @@ func (x depIdxs) Get(i, j int32) int32 { type ( resolverByIndex struct { - goTypes []interface{} + goTypes []any depIdxs depIdxs fileRegistry } diff --git a/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go b/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go index 40272c89..f30ab6b5 100644 --- a/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +++ b/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go @@ -21,6 +21,7 @@ const ( // Enum values for google.protobuf.Edition. const ( Edition_EDITION_UNKNOWN_enum_value = 0 + Edition_EDITION_LEGACY_enum_value = 900 Edition_EDITION_PROTO2_enum_value = 998 Edition_EDITION_PROTO3_enum_value = 999 Edition_EDITION_2023_enum_value = 1000 @@ -653,6 +654,7 @@ const ( FieldOptions_Targets_field_name protoreflect.Name = "targets" FieldOptions_EditionDefaults_field_name protoreflect.Name = "edition_defaults" FieldOptions_Features_field_name protoreflect.Name = "features" + FieldOptions_FeatureSupport_field_name protoreflect.Name = "feature_support" FieldOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option" FieldOptions_Ctype_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.ctype" @@ -667,6 +669,7 @@ const ( FieldOptions_Targets_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.targets" FieldOptions_EditionDefaults_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.edition_defaults" FieldOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.features" + FieldOptions_FeatureSupport_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.feature_support" FieldOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.uninterpreted_option" ) @@ -684,6 +687,7 @@ const ( FieldOptions_Targets_field_number protoreflect.FieldNumber = 19 FieldOptions_EditionDefaults_field_number protoreflect.FieldNumber = 20 FieldOptions_Features_field_number protoreflect.FieldNumber = 21 + FieldOptions_FeatureSupport_field_number protoreflect.FieldNumber = 22 FieldOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999 ) @@ -767,6 +771,33 @@ const ( FieldOptions_EditionDefault_Value_field_number protoreflect.FieldNumber = 2 ) +// Names for google.protobuf.FieldOptions.FeatureSupport. +const ( + FieldOptions_FeatureSupport_message_name protoreflect.Name = "FeatureSupport" + FieldOptions_FeatureSupport_message_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport" +) + +// Field names for google.protobuf.FieldOptions.FeatureSupport. +const ( + FieldOptions_FeatureSupport_EditionIntroduced_field_name protoreflect.Name = "edition_introduced" + FieldOptions_FeatureSupport_EditionDeprecated_field_name protoreflect.Name = "edition_deprecated" + FieldOptions_FeatureSupport_DeprecationWarning_field_name protoreflect.Name = "deprecation_warning" + FieldOptions_FeatureSupport_EditionRemoved_field_name protoreflect.Name = "edition_removed" + + FieldOptions_FeatureSupport_EditionIntroduced_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.edition_introduced" + FieldOptions_FeatureSupport_EditionDeprecated_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.edition_deprecated" + FieldOptions_FeatureSupport_DeprecationWarning_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.deprecation_warning" + FieldOptions_FeatureSupport_EditionRemoved_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.edition_removed" +) + +// Field numbers for google.protobuf.FieldOptions.FeatureSupport. +const ( + FieldOptions_FeatureSupport_EditionIntroduced_field_number protoreflect.FieldNumber = 1 + FieldOptions_FeatureSupport_EditionDeprecated_field_number protoreflect.FieldNumber = 2 + FieldOptions_FeatureSupport_DeprecationWarning_field_number protoreflect.FieldNumber = 3 + FieldOptions_FeatureSupport_EditionRemoved_field_number protoreflect.FieldNumber = 4 +) + // Names for google.protobuf.OneofOptions. const ( OneofOptions_message_name protoreflect.Name = "OneofOptions" @@ -829,11 +860,13 @@ const ( EnumValueOptions_Deprecated_field_name protoreflect.Name = "deprecated" EnumValueOptions_Features_field_name protoreflect.Name = "features" EnumValueOptions_DebugRedact_field_name protoreflect.Name = "debug_redact" + EnumValueOptions_FeatureSupport_field_name protoreflect.Name = "feature_support" EnumValueOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option" EnumValueOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.deprecated" EnumValueOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.features" EnumValueOptions_DebugRedact_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.debug_redact" + EnumValueOptions_FeatureSupport_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.feature_support" EnumValueOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.uninterpreted_option" ) @@ -842,6 +875,7 @@ const ( EnumValueOptions_Deprecated_field_number protoreflect.FieldNumber = 1 EnumValueOptions_Features_field_number protoreflect.FieldNumber = 2 EnumValueOptions_DebugRedact_field_number protoreflect.FieldNumber = 3 + EnumValueOptions_FeatureSupport_field_number protoreflect.FieldNumber = 4 EnumValueOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999 ) @@ -1110,17 +1144,20 @@ const ( // Field names for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. const ( - FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_name protoreflect.Name = "edition" - FeatureSetDefaults_FeatureSetEditionDefault_Features_field_name protoreflect.Name = "features" + FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_name protoreflect.Name = "edition" + FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_name protoreflect.Name = "overridable_features" + FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_name protoreflect.Name = "fixed_features" - FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition" - FeatureSetDefaults_FeatureSetEditionDefault_Features_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features" + FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition" + FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features" + FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features" ) // Field numbers for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault. const ( - FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_number protoreflect.FieldNumber = 3 - FeatureSetDefaults_FeatureSetEditionDefault_Features_field_number protoreflect.FieldNumber = 2 + FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_number protoreflect.FieldNumber = 3 + FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_number protoreflect.FieldNumber = 4 + FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_number protoreflect.FieldNumber = 5 ) // Names for google.protobuf.SourceCodeInfo. diff --git a/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go b/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go index fd9015e8..9a652a2b 100644 --- a/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go +++ b/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go @@ -10,7 +10,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) -const File_reflect_protodesc_proto_go_features_proto = "reflect/protodesc/proto/go_features.proto" +const File_google_protobuf_go_features_proto = "google/protobuf/go_features.proto" // Names for google.protobuf.GoFeatures. const ( diff --git a/vendor/google.golang.org/protobuf/internal/impl/api_export.go b/vendor/google.golang.org/protobuf/internal/impl/api_export.go index a371f98d..5d5771c2 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/api_export.go +++ b/vendor/google.golang.org/protobuf/internal/impl/api_export.go @@ -22,13 +22,13 @@ type Export struct{} // NewError formats a string according to the format specifier and arguments and // returns an error that has a "proto" prefix. -func (Export) NewError(f string, x ...interface{}) error { +func (Export) NewError(f string, x ...any) error { return errors.New(f, x...) } // enum is any enum type generated by protoc-gen-go // and must be a named int32 type. -type enum = interface{} +type enum = any // EnumOf returns the protoreflect.Enum interface over e. // It returns nil if e is nil. @@ -81,7 +81,7 @@ func (Export) EnumStringOf(ed protoreflect.EnumDescriptor, n protoreflect.EnumNu // message is any message type generated by protoc-gen-go // and must be a pointer to a named struct type. -type message = interface{} +type message = any // legacyMessageWrapper wraps a v2 message as a v1 message. type legacyMessageWrapper struct{ m protoreflect.ProtoMessage } diff --git a/vendor/google.golang.org/protobuf/internal/impl/checkinit.go b/vendor/google.golang.org/protobuf/internal/impl/checkinit.go index bff041ed..f29e6a8f 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/checkinit.go +++ b/vendor/google.golang.org/protobuf/internal/impl/checkinit.go @@ -68,7 +68,7 @@ func (mi *MessageInfo) isInitExtensions(ext *map[int32]ExtensionField) error { } for _, x := range *ext { ei := getExtensionFieldInfo(x.Type()) - if ei.funcs.isInit == nil { + if ei.funcs.isInit == nil || x.isUnexpandedLazy() { continue } v := x.Value() diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go b/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go index 2b8f122c..4bb0a7a2 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go @@ -99,6 +99,28 @@ func (f *ExtensionField) canLazy(xt protoreflect.ExtensionType) bool { return false } +// isUnexpandedLazy returns true if the ExensionField is lazy and not +// yet expanded, which means it's present and already checked for +// initialized required fields. +func (f *ExtensionField) isUnexpandedLazy() bool { + return f.lazy != nil && atomic.LoadUint32(&f.lazy.atomicOnce) == 0 +} + +// lazyBuffer retrieves the buffer for a lazy extension if it's not yet expanded. +// +// The returned buffer has to be kept over whatever operation we're planning, +// as re-retrieving it will fail after the message is lazily decoded. +func (f *ExtensionField) lazyBuffer() []byte { + // This function might be in the critical path, so check the atomic without + // taking a look first, then only take the lock if needed. + if !f.isUnexpandedLazy() { + return nil + } + f.lazy.mu.Lock() + defer f.lazy.mu.Unlock() + return f.lazy.b +} + func (f *ExtensionField) lazyInit() { f.lazy.mu.Lock() defer f.lazy.mu.Unlock() diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_field.go b/vendor/google.golang.org/protobuf/internal/impl/codec_field.go index 3fadd241..78ee47e4 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_field.go @@ -233,9 +233,15 @@ func sizeMessageInfo(p pointer, f *coderFieldInfo, opts marshalOptions) int { } func appendMessageInfo(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) { + calculatedSize := f.mi.sizePointer(p.Elem(), opts) b = protowire.AppendVarint(b, f.wiretag) - b = protowire.AppendVarint(b, uint64(f.mi.sizePointer(p.Elem(), opts))) - return f.mi.marshalAppendPointer(b, p.Elem(), opts) + b = protowire.AppendVarint(b, uint64(calculatedSize)) + before := len(b) + b, err := f.mi.marshalAppendPointer(b, p.Elem(), opts) + if measuredSize := len(b) - before; calculatedSize != measuredSize && err == nil { + return nil, errors.MismatchedSizeCalculation(calculatedSize, measuredSize) + } + return b, err } func consumeMessageInfo(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) { @@ -262,14 +268,21 @@ func isInitMessageInfo(p pointer, f *coderFieldInfo) error { return f.mi.checkInitializedPointer(p.Elem()) } -func sizeMessage(m proto.Message, tagsize int, _ marshalOptions) int { - return protowire.SizeBytes(proto.Size(m)) + tagsize +func sizeMessage(m proto.Message, tagsize int, opts marshalOptions) int { + return protowire.SizeBytes(opts.Options().Size(m)) + tagsize } func appendMessage(b []byte, m proto.Message, wiretag uint64, opts marshalOptions) ([]byte, error) { + mopts := opts.Options() + calculatedSize := mopts.Size(m) b = protowire.AppendVarint(b, wiretag) - b = protowire.AppendVarint(b, uint64(proto.Size(m))) - return opts.Options().MarshalAppend(b, m) + b = protowire.AppendVarint(b, uint64(calculatedSize)) + before := len(b) + b, err := mopts.MarshalAppend(b, m) + if measuredSize := len(b) - before; calculatedSize != measuredSize && err == nil { + return nil, errors.MismatchedSizeCalculation(calculatedSize, measuredSize) + } + return b, err } func consumeMessage(b []byte, m proto.Message, wtyp protowire.Type, opts unmarshalOptions) (out unmarshalOutput, err error) { @@ -405,8 +418,8 @@ func consumeGroupType(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInf return f.mi.unmarshalPointer(b, p.Elem(), f.num, opts) } -func sizeGroup(m proto.Message, tagsize int, _ marshalOptions) int { - return 2*tagsize + proto.Size(m) +func sizeGroup(m proto.Message, tagsize int, opts marshalOptions) int { + return 2*tagsize + opts.Options().Size(m) } func appendGroup(b []byte, m proto.Message, wiretag uint64, opts marshalOptions) ([]byte, error) { @@ -482,10 +495,14 @@ func appendMessageSliceInfo(b []byte, p pointer, f *coderFieldInfo, opts marshal b = protowire.AppendVarint(b, f.wiretag) siz := f.mi.sizePointer(v, opts) b = protowire.AppendVarint(b, uint64(siz)) + before := len(b) b, err = f.mi.marshalAppendPointer(b, v, opts) if err != nil { return b, err } + if measuredSize := len(b) - before; siz != measuredSize { + return nil, errors.MismatchedSizeCalculation(siz, measuredSize) + } } return b, nil } @@ -520,28 +537,34 @@ func isInitMessageSliceInfo(p pointer, f *coderFieldInfo) error { return nil } -func sizeMessageSlice(p pointer, goType reflect.Type, tagsize int, _ marshalOptions) int { +func sizeMessageSlice(p pointer, goType reflect.Type, tagsize int, opts marshalOptions) int { + mopts := opts.Options() s := p.PointerSlice() n := 0 for _, v := range s { m := asMessage(v.AsValueOf(goType.Elem())) - n += protowire.SizeBytes(proto.Size(m)) + tagsize + n += protowire.SizeBytes(mopts.Size(m)) + tagsize } return n } func appendMessageSlice(b []byte, p pointer, wiretag uint64, goType reflect.Type, opts marshalOptions) ([]byte, error) { + mopts := opts.Options() s := p.PointerSlice() var err error for _, v := range s { m := asMessage(v.AsValueOf(goType.Elem())) b = protowire.AppendVarint(b, wiretag) - siz := proto.Size(m) + siz := mopts.Size(m) b = protowire.AppendVarint(b, uint64(siz)) - b, err = opts.Options().MarshalAppend(b, m) + before := len(b) + b, err = mopts.MarshalAppend(b, m) if err != nil { return b, err } + if measuredSize := len(b) - before; siz != measuredSize { + return nil, errors.MismatchedSizeCalculation(siz, measuredSize) + } } return b, nil } @@ -582,11 +605,12 @@ func isInitMessageSlice(p pointer, goType reflect.Type) error { // Slices of messages func sizeMessageSliceValue(listv protoreflect.Value, tagsize int, opts marshalOptions) int { + mopts := opts.Options() list := listv.List() n := 0 for i, llen := 0, list.Len(); i < llen; i++ { m := list.Get(i).Message().Interface() - n += protowire.SizeBytes(proto.Size(m)) + tagsize + n += protowire.SizeBytes(mopts.Size(m)) + tagsize } return n } @@ -597,13 +621,17 @@ func appendMessageSliceValue(b []byte, listv protoreflect.Value, wiretag uint64, for i, llen := 0, list.Len(); i < llen; i++ { m := list.Get(i).Message().Interface() b = protowire.AppendVarint(b, wiretag) - siz := proto.Size(m) + siz := mopts.Size(m) b = protowire.AppendVarint(b, uint64(siz)) + before := len(b) var err error b, err = mopts.MarshalAppend(b, m) if err != nil { return b, err } + if measuredSize := len(b) - before; siz != measuredSize { + return nil, errors.MismatchedSizeCalculation(siz, measuredSize) + } } return b, nil } @@ -651,11 +679,12 @@ var coderMessageSliceValue = valueCoderFuncs{ } func sizeGroupSliceValue(listv protoreflect.Value, tagsize int, opts marshalOptions) int { + mopts := opts.Options() list := listv.List() n := 0 for i, llen := 0, list.Len(); i < llen; i++ { m := list.Get(i).Message().Interface() - n += 2*tagsize + proto.Size(m) + n += 2*tagsize + mopts.Size(m) } return n } @@ -738,12 +767,13 @@ func makeGroupSliceFieldCoder(fd protoreflect.FieldDescriptor, ft reflect.Type) } } -func sizeGroupSlice(p pointer, messageType reflect.Type, tagsize int, _ marshalOptions) int { +func sizeGroupSlice(p pointer, messageType reflect.Type, tagsize int, opts marshalOptions) int { + mopts := opts.Options() s := p.PointerSlice() n := 0 for _, v := range s { m := asMessage(v.AsValueOf(messageType.Elem())) - n += 2*tagsize + proto.Size(m) + n += 2*tagsize + mopts.Size(m) } return n } diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_map.go b/vendor/google.golang.org/protobuf/internal/impl/codec_map.go index 111b9d16..fb35f0ba 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_map.go @@ -9,6 +9,7 @@ import ( "sort" "google.golang.org/protobuf/encoding/protowire" + "google.golang.org/protobuf/internal/errors" "google.golang.org/protobuf/internal/genid" "google.golang.org/protobuf/reflect/protoreflect" ) @@ -240,11 +241,16 @@ func appendMapItem(b []byte, keyrv, valrv reflect.Value, mapi *mapInfo, f *coder size += mapi.keyFuncs.size(key.Value(), mapKeyTagSize, opts) size += mapi.valFuncs.size(val, mapValTagSize, opts) b = protowire.AppendVarint(b, uint64(size)) + before := len(b) b, err := mapi.keyFuncs.marshal(b, key.Value(), mapi.keyWiretag, opts) if err != nil { return nil, err } - return mapi.valFuncs.marshal(b, val, mapi.valWiretag, opts) + b, err = mapi.valFuncs.marshal(b, val, mapi.valWiretag, opts) + if measuredSize := len(b) - before; size != measuredSize && err == nil { + return nil, errors.MismatchedSizeCalculation(size, measuredSize) + } + return b, err } else { key := mapi.conv.keyConv.PBValueOf(keyrv).MapKey() val := pointerOfValue(valrv) @@ -259,7 +265,12 @@ func appendMapItem(b []byte, keyrv, valrv reflect.Value, mapi *mapInfo, f *coder } b = protowire.AppendVarint(b, mapi.valWiretag) b = protowire.AppendVarint(b, uint64(valSize)) - return f.mi.marshalAppendPointer(b, val, opts) + before := len(b) + b, err = f.mi.marshalAppendPointer(b, val, opts) + if measuredSize := len(b) - before; valSize != measuredSize && err == nil { + return nil, errors.MismatchedSizeCalculation(valSize, measuredSize) + } + return b, err } } diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go b/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go index b7a23faf..7a16ec13 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go @@ -26,6 +26,15 @@ func sizeMessageSet(mi *MessageInfo, p pointer, opts marshalOptions) (size int) } num, _ := protowire.DecodeTag(xi.wiretag) size += messageset.SizeField(num) + if fullyLazyExtensions(opts) { + // Don't expand the extension, instead use the buffer to calculate size + if lb := x.lazyBuffer(); lb != nil { + // We got hold of the buffer, so it's still lazy. + // Don't count the tag size in the extension buffer, it's already added. + size += protowire.SizeTag(messageset.FieldMessage) + len(lb) - xi.tagsize + continue + } + } size += xi.funcs.size(x.Value(), protowire.SizeTag(messageset.FieldMessage), opts) } @@ -85,6 +94,19 @@ func marshalMessageSetField(mi *MessageInfo, b []byte, x ExtensionField, opts ma xi := getExtensionFieldInfo(x.Type()) num, _ := protowire.DecodeTag(xi.wiretag) b = messageset.AppendFieldStart(b, num) + + if fullyLazyExtensions(opts) { + // Don't expand the extension if it's still in wire format, instead use the buffer content. + if lb := x.lazyBuffer(); lb != nil { + // The tag inside the lazy buffer is a different tag (the extension + // number), but what we need here is the tag for FieldMessage: + b = protowire.AppendVarint(b, protowire.EncodeTag(messageset.FieldMessage, protowire.BytesType)) + b = append(b, lb[xi.tagsize:]...) + b = messageset.AppendFieldEnd(b) + return b, nil + } + } + b, err := xi.funcs.marshal(b, x.Value(), protowire.EncodeTag(messageset.FieldMessage, protowire.BytesType), opts) if err != nil { return b, err diff --git a/vendor/google.golang.org/protobuf/internal/impl/convert.go b/vendor/google.golang.org/protobuf/internal/impl/convert.go index 185ef2ef..e06ece55 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/convert.go +++ b/vendor/google.golang.org/protobuf/internal/impl/convert.go @@ -14,7 +14,7 @@ import ( // unwrapper unwraps the value to the underlying value. // This is implemented by List and Map. type unwrapper interface { - protoUnwrap() interface{} + protoUnwrap() any } // A Converter coverts to/from Go reflect.Value types and protobuf protoreflect.Value types. diff --git a/vendor/google.golang.org/protobuf/internal/impl/convert_list.go b/vendor/google.golang.org/protobuf/internal/impl/convert_list.go index f8913651..18cb96fd 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/convert_list.go +++ b/vendor/google.golang.org/protobuf/internal/impl/convert_list.go @@ -136,6 +136,6 @@ func (ls *listReflect) NewElement() protoreflect.Value { func (ls *listReflect) IsValid() bool { return !ls.v.IsNil() } -func (ls *listReflect) protoUnwrap() interface{} { +func (ls *listReflect) protoUnwrap() any { return ls.v.Interface() } diff --git a/vendor/google.golang.org/protobuf/internal/impl/convert_map.go b/vendor/google.golang.org/protobuf/internal/impl/convert_map.go index f30b0a05..304244a6 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +++ b/vendor/google.golang.org/protobuf/internal/impl/convert_map.go @@ -116,6 +116,6 @@ func (ms *mapReflect) NewValue() protoreflect.Value { func (ms *mapReflect) IsValid() bool { return !ms.v.IsNil() } -func (ms *mapReflect) protoUnwrap() interface{} { +func (ms *mapReflect) protoUnwrap() any { return ms.v.Interface() } diff --git a/vendor/google.golang.org/protobuf/internal/impl/encode.go b/vendor/google.golang.org/protobuf/internal/impl/encode.go index 845c67d6..febd2122 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/encode.go +++ b/vendor/google.golang.org/protobuf/internal/impl/encode.go @@ -49,8 +49,11 @@ func (mi *MessageInfo) sizePointer(p pointer, opts marshalOptions) (size int) { return 0 } if opts.UseCachedSize() && mi.sizecacheOffset.IsValid() { - if size := atomic.LoadInt32(p.Apply(mi.sizecacheOffset).Int32()); size >= 0 { - return int(size) + // The size cache contains the size + 1, to allow the + // zero value to be invalid, while also allowing for a + // 0 size to be cached. + if size := atomic.LoadInt32(p.Apply(mi.sizecacheOffset).Int32()); size > 0 { + return int(size - 1) } } return mi.sizePointerSlow(p, opts) @@ -60,7 +63,7 @@ func (mi *MessageInfo) sizePointerSlow(p pointer, opts marshalOptions) (size int if flags.ProtoLegacy && mi.isMessageSet { size = sizeMessageSet(mi, p, opts) if mi.sizecacheOffset.IsValid() { - atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size)) + atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size+1)) } return size } @@ -84,13 +87,16 @@ func (mi *MessageInfo) sizePointerSlow(p pointer, opts marshalOptions) (size int } } if mi.sizecacheOffset.IsValid() { - if size > math.MaxInt32 { + if size > (math.MaxInt32 - 1) { // The size is too large for the int32 sizecache field. // We will need to recompute the size when encoding; // unfortunately expensive, but better than invalid output. - atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), -1) + atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), 0) } else { - atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size)) + // The size cache contains the size + 1, to allow the + // zero value to be invalid, while also allowing for a + // 0 size to be cached. + atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size+1)) } } return size @@ -149,6 +155,14 @@ func (mi *MessageInfo) marshalAppendPointer(b []byte, p pointer, opts marshalOpt return b, nil } +// fullyLazyExtensions returns true if we should attempt to keep extensions lazy over size and marshal. +func fullyLazyExtensions(opts marshalOptions) bool { + // When deterministic marshaling is requested, force an unmarshal for lazy + // extensions to produce a deterministic result, instead of passing through + // bytes lazily that may or may not match what Go Protobuf would produce. + return opts.flags&piface.MarshalDeterministic == 0 +} + func (mi *MessageInfo) sizeExtensions(ext *map[int32]ExtensionField, opts marshalOptions) (n int) { if ext == nil { return 0 @@ -158,6 +172,14 @@ func (mi *MessageInfo) sizeExtensions(ext *map[int32]ExtensionField, opts marsha if xi.funcs.size == nil { continue } + if fullyLazyExtensions(opts) { + // Don't expand the extension, instead use the buffer to calculate size + if lb := x.lazyBuffer(); lb != nil { + // We got hold of the buffer, so it's still lazy. + n += len(lb) + continue + } + } n += xi.funcs.size(x.Value(), xi.tagsize, opts) } return n @@ -176,6 +198,13 @@ func (mi *MessageInfo) appendExtensions(b []byte, ext *map[int32]ExtensionField, var err error for _, x := range *ext { xi := getExtensionFieldInfo(x.Type()) + if fullyLazyExtensions(opts) { + // Don't expand the extension if it's still in wire format, instead use the buffer content. + if lb := x.lazyBuffer(); lb != nil { + b = append(b, lb...) + continue + } + } b, err = xi.funcs.marshal(b, x.Value(), xi.wiretag, opts) } return b, err @@ -191,6 +220,13 @@ func (mi *MessageInfo) appendExtensions(b []byte, ext *map[int32]ExtensionField, for _, k := range keys { x := (*ext)[int32(k)] xi := getExtensionFieldInfo(x.Type()) + if fullyLazyExtensions(opts) { + // Don't expand the extension if it's still in wire format, instead use the buffer content. + if lb := x.lazyBuffer(); lb != nil { + b = append(b, lb...) + continue + } + } b, err = xi.funcs.marshal(b, x.Value(), xi.wiretag, opts) if err != nil { return b, err diff --git a/vendor/google.golang.org/protobuf/internal/impl/extension.go b/vendor/google.golang.org/protobuf/internal/impl/extension.go index cb25b0ba..e31249f6 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/extension.go +++ b/vendor/google.golang.org/protobuf/internal/impl/extension.go @@ -53,7 +53,7 @@ type ExtensionInfo struct { // type returned by InterfaceOf may not be identical. // // Deprecated: Use InterfaceOf(xt.Zero()) instead. - ExtensionType interface{} + ExtensionType any // Field is the field number of the extension. // @@ -95,16 +95,16 @@ func (xi *ExtensionInfo) New() protoreflect.Value { func (xi *ExtensionInfo) Zero() protoreflect.Value { return xi.lazyInit().Zero() } -func (xi *ExtensionInfo) ValueOf(v interface{}) protoreflect.Value { +func (xi *ExtensionInfo) ValueOf(v any) protoreflect.Value { return xi.lazyInit().PBValueOf(reflect.ValueOf(v)) } -func (xi *ExtensionInfo) InterfaceOf(v protoreflect.Value) interface{} { +func (xi *ExtensionInfo) InterfaceOf(v protoreflect.Value) any { return xi.lazyInit().GoValueOf(v).Interface() } func (xi *ExtensionInfo) IsValidValue(v protoreflect.Value) bool { return xi.lazyInit().IsValidPB(v) } -func (xi *ExtensionInfo) IsValidInterface(v interface{}) bool { +func (xi *ExtensionInfo) IsValidInterface(v any) bool { return xi.lazyInit().IsValidGo(reflect.ValueOf(v)) } func (xi *ExtensionInfo) TypeDescriptor() protoreflect.ExtensionTypeDescriptor { diff --git a/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go b/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go index c2a803bb..81b2b1a7 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go +++ b/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go @@ -97,7 +97,7 @@ func (e *legacyEnumWrapper) Number() protoreflect.EnumNumber { func (e *legacyEnumWrapper) ProtoReflect() protoreflect.Enum { return e } -func (e *legacyEnumWrapper) protoUnwrap() interface{} { +func (e *legacyEnumWrapper) protoUnwrap() any { v := reflect.New(e.goTyp).Elem() v.SetInt(int64(e.num)) return v.Interface() @@ -167,6 +167,7 @@ func aberrantLoadEnumDesc(t reflect.Type) protoreflect.EnumDescriptor { ed := &filedesc.Enum{L2: new(filedesc.EnumL2)} ed.L0.FullName = AberrantDeriveFullName(t) // e.g., github_com.user.repo.MyEnum ed.L0.ParentFile = filedesc.SurrogateProto3 + ed.L1.EditionFeatures = ed.L0.ParentFile.L1.EditionFeatures ed.L2.Values.List = append(ed.L2.Values.List, filedesc.EnumValue{}) // TODO: Use the presence of a UnmarshalJSON method to determine proto2? diff --git a/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go b/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go index 87b30d05..6e8677ee 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go +++ b/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go @@ -118,7 +118,7 @@ func (xi *ExtensionInfo) initFromLegacy() { xd.L1.Number = protoreflect.FieldNumber(xi.Field) xd.L1.Cardinality = fd.L1.Cardinality xd.L1.Kind = fd.L1.Kind - xd.L2.IsPacked = fd.L1.IsPacked + xd.L1.EditionFeatures = fd.L1.EditionFeatures xd.L2.Default = fd.L1.Default xd.L1.Extendee = Export{}.MessageDescriptorOf(xi.ExtendedType) xd.L2.Enum = ed diff --git a/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go b/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go index 9ab09108..b649f112 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go +++ b/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go @@ -7,7 +7,7 @@ package impl import ( "bytes" "compress/gzip" - "io/ioutil" + "io" "sync" "google.golang.org/protobuf/internal/filedesc" @@ -51,7 +51,7 @@ func legacyLoadFileDesc(b []byte) protoreflect.FileDescriptor { if err != nil { panic(err) } - b2, err := ioutil.ReadAll(zr) + b2, err := io.ReadAll(zr) if err != nil { panic(err) } diff --git a/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go b/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go index 2ab2c629..bf0b6049 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +++ b/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go @@ -204,6 +204,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName } } + md.L1.EditionFeatures = md.L0.ParentFile.L1.EditionFeatures // Obtain a list of oneof wrapper types. var oneofWrappers []reflect.Type methods := make([]reflect.Method, 0, 2) @@ -215,7 +216,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName } for _, fn := range methods { for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) { - if vs, ok := v.Interface().([]interface{}); ok { + if vs, ok := v.Interface().([]any); ok { for _, v := range vs { oneofWrappers = append(oneofWrappers, reflect.TypeOf(v)) } @@ -250,6 +251,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName od := &md.L2.Oneofs.List[n] od.L0.FullName = md.FullName().Append(protoreflect.Name(tag)) od.L0.ParentFile = md.L0.ParentFile + od.L1.EditionFeatures = md.L1.EditionFeatures od.L0.Parent = md od.L0.Index = n @@ -260,6 +262,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName aberrantAppendField(md, f.Type, tag, "", "") fd := &md.L2.Fields.List[len(md.L2.Fields.List)-1] fd.L1.ContainingOneof = od + fd.L1.EditionFeatures = od.L1.EditionFeatures od.L1.Fields.List = append(od.L1.Fields.List, fd) } } @@ -307,14 +310,14 @@ func aberrantAppendField(md *filedesc.Message, goType reflect.Type, tag, tagKey, fd.L0.Parent = md fd.L0.Index = n - if fd.L1.IsWeak || fd.L1.HasPacked { + if fd.L1.IsWeak || fd.L1.EditionFeatures.IsPacked { fd.L1.Options = func() protoreflect.ProtoMessage { opts := descopts.Field.ProtoReflect().New() if fd.L1.IsWeak { opts.Set(opts.Descriptor().Fields().ByName("weak"), protoreflect.ValueOfBool(true)) } - if fd.L1.HasPacked { - opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.IsPacked)) + if fd.L1.EditionFeatures.IsPacked { + opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.EditionFeatures.IsPacked)) } return opts.Interface() } @@ -344,6 +347,7 @@ func aberrantAppendField(md *filedesc.Message, goType reflect.Type, tag, tagKey, md2.L0.ParentFile = md.L0.ParentFile md2.L0.Parent = md md2.L0.Index = n + md2.L1.EditionFeatures = md.L1.EditionFeatures md2.L1.IsMapEntry = true md2.L2.Options = func() protoreflect.ProtoMessage { @@ -563,6 +567,6 @@ func (m aberrantMessage) IsValid() bool { func (m aberrantMessage) ProtoMethods() *protoiface.Methods { return aberrantProtoMethods } -func (m aberrantMessage) protoUnwrap() interface{} { +func (m aberrantMessage) protoUnwrap() any { return m.v.Interface() } diff --git a/vendor/google.golang.org/protobuf/internal/impl/message.go b/vendor/google.golang.org/protobuf/internal/impl/message.go index 629bacdc..019399d4 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message.go @@ -35,7 +35,7 @@ type MessageInfo struct { Exporter exporter // OneofWrappers is list of pointers to oneof wrapper struct types. - OneofWrappers []interface{} + OneofWrappers []any initMu sync.Mutex // protects all unexported fields initDone uint32 @@ -47,7 +47,7 @@ type MessageInfo struct { // exporter is a function that returns a reference to the ith field of v, // where v is a pointer to a struct. It returns nil if it does not support // exporting the requested field (e.g., already exported). -type exporter func(v interface{}, i int) interface{} +type exporter func(v any, i int) any // getMessageInfo returns the MessageInfo for any message type that // is generated by our implementation of protoc-gen-go (for v2 and on). @@ -201,7 +201,7 @@ fieldLoop: } for _, fn := range methods { for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) { - if vs, ok := v.Interface().([]interface{}); ok { + if vs, ok := v.Interface().([]any); ok { oneofWrappers = vs } } @@ -256,7 +256,7 @@ func (mi *MessageInfo) Message(i int) protoreflect.MessageType { type mapEntryType struct { desc protoreflect.MessageDescriptor - valType interface{} // zero value of enum or message type + valType any // zero value of enum or message type } func (mt mapEntryType) New() protoreflect.Message { diff --git a/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go b/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go index d9ea010b..ecb4623d 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go @@ -20,7 +20,7 @@ type reflectMessageInfo struct { // fieldTypes contains the zero value of an enum or message field. // For lists, it contains the element type. // For maps, it contains the entry value type. - fieldTypes map[protoreflect.FieldNumber]interface{} + fieldTypes map[protoreflect.FieldNumber]any // denseFields is a subset of fields where: // 0 < fieldDesc.Number() < len(denseFields) @@ -28,7 +28,7 @@ type reflectMessageInfo struct { denseFields []*fieldInfo // rangeInfos is a list of all fields (not belonging to a oneof) and oneofs. - rangeInfos []interface{} // either *fieldInfo or *oneofInfo + rangeInfos []any // either *fieldInfo or *oneofInfo getUnknown func(pointer) protoreflect.RawFields setUnknown func(pointer, protoreflect.RawFields) @@ -224,7 +224,7 @@ func (mi *MessageInfo) makeFieldTypes(si structInfo) { } if ft != nil { if mi.fieldTypes == nil { - mi.fieldTypes = make(map[protoreflect.FieldNumber]interface{}) + mi.fieldTypes = make(map[protoreflect.FieldNumber]any) } mi.fieldTypes[fd.Number()] = reflect.Zero(ft).Interface() } @@ -247,39 +247,39 @@ func (m *extensionMap) Range(f func(protoreflect.FieldDescriptor, protoreflect.V } } } -func (m *extensionMap) Has(xt protoreflect.ExtensionType) (ok bool) { +func (m *extensionMap) Has(xd protoreflect.ExtensionTypeDescriptor) (ok bool) { if m == nil { return false } - xd := xt.TypeDescriptor() x, ok := (*m)[int32(xd.Number())] if !ok { return false } + if x.isUnexpandedLazy() { + // Avoid calling x.Value(), which triggers a lazy unmarshal. + return true + } switch { case xd.IsList(): return x.Value().List().Len() > 0 case xd.IsMap(): return x.Value().Map().Len() > 0 - case xd.Message() != nil: - return x.Value().Message().IsValid() } return true } -func (m *extensionMap) Clear(xt protoreflect.ExtensionType) { - delete(*m, int32(xt.TypeDescriptor().Number())) +func (m *extensionMap) Clear(xd protoreflect.ExtensionTypeDescriptor) { + delete(*m, int32(xd.Number())) } -func (m *extensionMap) Get(xt protoreflect.ExtensionType) protoreflect.Value { - xd := xt.TypeDescriptor() +func (m *extensionMap) Get(xd protoreflect.ExtensionTypeDescriptor) protoreflect.Value { if m != nil { if x, ok := (*m)[int32(xd.Number())]; ok { return x.Value() } } - return xt.Zero() + return xd.Type().Zero() } -func (m *extensionMap) Set(xt protoreflect.ExtensionType, v protoreflect.Value) { - xd := xt.TypeDescriptor() +func (m *extensionMap) Set(xd protoreflect.ExtensionTypeDescriptor, v protoreflect.Value) { + xt := xd.Type() isValid := true switch { case !xt.IsValidValue(v): @@ -292,7 +292,7 @@ func (m *extensionMap) Set(xt protoreflect.ExtensionType, v protoreflect.Value) isValid = v.Message().IsValid() } if !isValid { - panic(fmt.Sprintf("%v: assigning invalid value", xt.TypeDescriptor().FullName())) + panic(fmt.Sprintf("%v: assigning invalid value", xd.FullName())) } if *m == nil { @@ -302,16 +302,15 @@ func (m *extensionMap) Set(xt protoreflect.ExtensionType, v protoreflect.Value) x.Set(xt, v) (*m)[int32(xd.Number())] = x } -func (m *extensionMap) Mutable(xt protoreflect.ExtensionType) protoreflect.Value { - xd := xt.TypeDescriptor() +func (m *extensionMap) Mutable(xd protoreflect.ExtensionTypeDescriptor) protoreflect.Value { if xd.Kind() != protoreflect.MessageKind && xd.Kind() != protoreflect.GroupKind && !xd.IsList() && !xd.IsMap() { panic("invalid Mutable on field with non-composite type") } if x, ok := (*m)[int32(xd.Number())]; ok { return x.Value() } - v := xt.New() - m.Set(xt, v) + v := xd.Type().New() + m.Set(xd, v) return v } @@ -394,7 +393,7 @@ var ( // MessageOf returns a reflective view over a message. The input must be a // pointer to a named Go struct. If the provided type has a ProtoReflect method, // it must be implemented by calling this method. -func (mi *MessageInfo) MessageOf(m interface{}) protoreflect.Message { +func (mi *MessageInfo) MessageOf(m any) protoreflect.Message { if reflect.TypeOf(m) != mi.GoReflectType { panic(fmt.Sprintf("type mismatch: got %T, want %v", m, mi.GoReflectType)) } @@ -422,13 +421,13 @@ func (m *messageIfaceWrapper) Reset() { func (m *messageIfaceWrapper) ProtoReflect() protoreflect.Message { return (*messageReflectWrapper)(m) } -func (m *messageIfaceWrapper) protoUnwrap() interface{} { +func (m *messageIfaceWrapper) protoUnwrap() any { return m.p.AsIfaceOf(m.mi.GoReflectType.Elem()) } // checkField verifies that the provided field descriptor is valid. // Exactly one of the returned values is populated. -func (mi *MessageInfo) checkField(fd protoreflect.FieldDescriptor) (*fieldInfo, protoreflect.ExtensionType) { +func (mi *MessageInfo) checkField(fd protoreflect.FieldDescriptor) (*fieldInfo, protoreflect.ExtensionTypeDescriptor) { var fi *fieldInfo if n := fd.Number(); 0 < n && int(n) < len(mi.denseFields) { fi = mi.denseFields[n] @@ -457,7 +456,7 @@ func (mi *MessageInfo) checkField(fd protoreflect.FieldDescriptor) (*fieldInfo, if !ok { panic(fmt.Sprintf("extension %v does not implement protoreflect.ExtensionTypeDescriptor", fd.FullName())) } - return nil, xtd.Type() + return nil, xtd } panic(fmt.Sprintf("field %v is invalid", fd.FullName())) } diff --git a/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go b/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go index 741d6e5b..99dc23c6 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go @@ -23,12 +23,13 @@ func (m *messageState) New() protoreflect.Message { func (m *messageState) Interface() protoreflect.ProtoMessage { return m.protoUnwrap().(protoreflect.ProtoMessage) } -func (m *messageState) protoUnwrap() interface{} { +func (m *messageState) protoUnwrap() any { return m.pointer().AsIfaceOf(m.messageInfo().GoReflectType.Elem()) } func (m *messageState) ProtoMethods() *protoiface.Methods { - m.messageInfo().init() - return &m.messageInfo().methods + mi := m.messageInfo() + mi.init() + return &mi.methods } // ProtoMessageInfo is a pseudo-internal API for allowing the v1 code @@ -41,8 +42,9 @@ func (m *messageState) ProtoMessageInfo() *MessageInfo { } func (m *messageState) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - m.messageInfo().init() - for _, ri := range m.messageInfo().rangeInfos { + mi := m.messageInfo() + mi.init() + for _, ri := range mi.rangeInfos { switch ri := ri.(type) { case *fieldInfo: if ri.has(m.pointer()) { @@ -52,77 +54,86 @@ func (m *messageState) Range(f func(protoreflect.FieldDescriptor, protoreflect.V } case *oneofInfo: if n := ri.which(m.pointer()); n > 0 { - fi := m.messageInfo().fields[n] + fi := mi.fields[n] if !f(fi.fieldDesc, fi.get(m.pointer())) { return } } } } - m.messageInfo().extensionMap(m.pointer()).Range(f) + mi.extensionMap(m.pointer()).Range(f) } func (m *messageState) Has(fd protoreflect.FieldDescriptor) bool { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.has(m.pointer()) } else { - return m.messageInfo().extensionMap(m.pointer()).Has(xt) + return mi.extensionMap(m.pointer()).Has(xd) } } func (m *messageState) Clear(fd protoreflect.FieldDescriptor) { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { fi.clear(m.pointer()) } else { - m.messageInfo().extensionMap(m.pointer()).Clear(xt) + mi.extensionMap(m.pointer()).Clear(xd) } } func (m *messageState) Get(fd protoreflect.FieldDescriptor) protoreflect.Value { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.get(m.pointer()) } else { - return m.messageInfo().extensionMap(m.pointer()).Get(xt) + return mi.extensionMap(m.pointer()).Get(xd) } } func (m *messageState) Set(fd protoreflect.FieldDescriptor, v protoreflect.Value) { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { fi.set(m.pointer(), v) } else { - m.messageInfo().extensionMap(m.pointer()).Set(xt, v) + mi.extensionMap(m.pointer()).Set(xd, v) } } func (m *messageState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.mutable(m.pointer()) } else { - return m.messageInfo().extensionMap(m.pointer()).Mutable(xt) + return mi.extensionMap(m.pointer()).Mutable(xd) } } func (m *messageState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.newField() } else { - return xt.New() + return xd.Type().New() } } func (m *messageState) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - m.messageInfo().init() - if oi := m.messageInfo().oneofs[od.Name()]; oi != nil && oi.oneofDesc == od { + mi := m.messageInfo() + mi.init() + if oi := mi.oneofs[od.Name()]; oi != nil && oi.oneofDesc == od { return od.Fields().ByNumber(oi.which(m.pointer())) } panic("invalid oneof descriptor " + string(od.FullName()) + " for message " + string(m.Descriptor().FullName())) } func (m *messageState) GetUnknown() protoreflect.RawFields { - m.messageInfo().init() - return m.messageInfo().getUnknown(m.pointer()) + mi := m.messageInfo() + mi.init() + return mi.getUnknown(m.pointer()) } func (m *messageState) SetUnknown(b protoreflect.RawFields) { - m.messageInfo().init() - m.messageInfo().setUnknown(m.pointer(), b) + mi := m.messageInfo() + mi.init() + mi.setUnknown(m.pointer(), b) } func (m *messageState) IsValid() bool { return !m.pointer().IsNil() @@ -143,12 +154,13 @@ func (m *messageReflectWrapper) Interface() protoreflect.ProtoMessage { } return (*messageIfaceWrapper)(m) } -func (m *messageReflectWrapper) protoUnwrap() interface{} { +func (m *messageReflectWrapper) protoUnwrap() any { return m.pointer().AsIfaceOf(m.messageInfo().GoReflectType.Elem()) } func (m *messageReflectWrapper) ProtoMethods() *protoiface.Methods { - m.messageInfo().init() - return &m.messageInfo().methods + mi := m.messageInfo() + mi.init() + return &mi.methods } // ProtoMessageInfo is a pseudo-internal API for allowing the v1 code @@ -161,8 +173,9 @@ func (m *messageReflectWrapper) ProtoMessageInfo() *MessageInfo { } func (m *messageReflectWrapper) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - m.messageInfo().init() - for _, ri := range m.messageInfo().rangeInfos { + mi := m.messageInfo() + mi.init() + for _, ri := range mi.rangeInfos { switch ri := ri.(type) { case *fieldInfo: if ri.has(m.pointer()) { @@ -172,77 +185,86 @@ func (m *messageReflectWrapper) Range(f func(protoreflect.FieldDescriptor, proto } case *oneofInfo: if n := ri.which(m.pointer()); n > 0 { - fi := m.messageInfo().fields[n] + fi := mi.fields[n] if !f(fi.fieldDesc, fi.get(m.pointer())) { return } } } } - m.messageInfo().extensionMap(m.pointer()).Range(f) + mi.extensionMap(m.pointer()).Range(f) } func (m *messageReflectWrapper) Has(fd protoreflect.FieldDescriptor) bool { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.has(m.pointer()) } else { - return m.messageInfo().extensionMap(m.pointer()).Has(xt) + return mi.extensionMap(m.pointer()).Has(xd) } } func (m *messageReflectWrapper) Clear(fd protoreflect.FieldDescriptor) { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { fi.clear(m.pointer()) } else { - m.messageInfo().extensionMap(m.pointer()).Clear(xt) + mi.extensionMap(m.pointer()).Clear(xd) } } func (m *messageReflectWrapper) Get(fd protoreflect.FieldDescriptor) protoreflect.Value { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.get(m.pointer()) } else { - return m.messageInfo().extensionMap(m.pointer()).Get(xt) + return mi.extensionMap(m.pointer()).Get(xd) } } func (m *messageReflectWrapper) Set(fd protoreflect.FieldDescriptor, v protoreflect.Value) { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { fi.set(m.pointer(), v) } else { - m.messageInfo().extensionMap(m.pointer()).Set(xt, v) + mi.extensionMap(m.pointer()).Set(xd, v) } } func (m *messageReflectWrapper) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.mutable(m.pointer()) } else { - return m.messageInfo().extensionMap(m.pointer()).Mutable(xt) + return mi.extensionMap(m.pointer()).Mutable(xd) } } func (m *messageReflectWrapper) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - m.messageInfo().init() - if fi, xt := m.messageInfo().checkField(fd); fi != nil { + mi := m.messageInfo() + mi.init() + if fi, xd := mi.checkField(fd); fi != nil { return fi.newField() } else { - return xt.New() + return xd.Type().New() } } func (m *messageReflectWrapper) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - m.messageInfo().init() - if oi := m.messageInfo().oneofs[od.Name()]; oi != nil && oi.oneofDesc == od { + mi := m.messageInfo() + mi.init() + if oi := mi.oneofs[od.Name()]; oi != nil && oi.oneofDesc == od { return od.Fields().ByNumber(oi.which(m.pointer())) } panic("invalid oneof descriptor " + string(od.FullName()) + " for message " + string(m.Descriptor().FullName())) } func (m *messageReflectWrapper) GetUnknown() protoreflect.RawFields { - m.messageInfo().init() - return m.messageInfo().getUnknown(m.pointer()) + mi := m.messageInfo() + mi.init() + return mi.getUnknown(m.pointer()) } func (m *messageReflectWrapper) SetUnknown(b protoreflect.RawFields) { - m.messageInfo().init() - m.messageInfo().setUnknown(m.pointer(), b) + mi := m.messageInfo() + mi.init() + mi.setUnknown(m.pointer(), b) } func (m *messageReflectWrapper) IsValid() bool { return !m.pointer().IsNil() diff --git a/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go b/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go index 517e9443..da685e8a 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go +++ b/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go @@ -16,7 +16,7 @@ import ( const UnsafeEnabled = false // Pointer is an opaque pointer type. -type Pointer interface{} +type Pointer any // offset represents the offset to a struct field, accessible from a pointer. // The offset is the field index into a struct. @@ -62,7 +62,7 @@ func pointerOfValue(v reflect.Value) pointer { } // pointerOfIface returns the pointer portion of an interface. -func pointerOfIface(v interface{}) pointer { +func pointerOfIface(v any) pointer { return pointer{v: reflect.ValueOf(v)} } @@ -93,7 +93,7 @@ func (p pointer) AsValueOf(t reflect.Type) reflect.Value { // AsIfaceOf treats p as a pointer to an object of type t and returns the value. // It is equivalent to p.AsValueOf(t).Interface() -func (p pointer) AsIfaceOf(t reflect.Type) interface{} { +func (p pointer) AsIfaceOf(t reflect.Type) any { return p.AsValueOf(t).Interface() } diff --git a/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go b/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go index 4b020e31..5f20ca5d 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +++ b/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go @@ -50,7 +50,7 @@ func pointerOfValue(v reflect.Value) pointer { } // pointerOfIface returns the pointer portion of an interface. -func pointerOfIface(v interface{}) pointer { +func pointerOfIface(v any) pointer { type ifaceHeader struct { Type unsafe.Pointer Data unsafe.Pointer @@ -80,7 +80,7 @@ func (p pointer) AsValueOf(t reflect.Type) reflect.Value { // AsIfaceOf treats p as a pointer to an object of type t and returns the value. // It is equivalent to p.AsValueOf(t).Interface() -func (p pointer) AsIfaceOf(t reflect.Type) interface{} { +func (p pointer) AsIfaceOf(t reflect.Type) any { // TODO: Use tricky unsafe magic to directly create ifaceHeader. return p.AsValueOf(t).Interface() } diff --git a/vendor/google.golang.org/protobuf/internal/order/range.go b/vendor/google.golang.org/protobuf/internal/order/range.go index 1665a68e..a1f09162 100644 --- a/vendor/google.golang.org/protobuf/internal/order/range.go +++ b/vendor/google.golang.org/protobuf/internal/order/range.go @@ -18,7 +18,7 @@ type messageField struct { } var messageFieldPool = sync.Pool{ - New: func() interface{} { return new([]messageField) }, + New: func() any { return new([]messageField) }, } type ( @@ -69,7 +69,7 @@ type mapEntry struct { } var mapEntryPool = sync.Pool{ - New: func() interface{} { return new([]mapEntry) }, + New: func() any { return new([]mapEntry) }, } type ( diff --git a/vendor/google.golang.org/protobuf/internal/version/version.go b/vendor/google.golang.org/protobuf/internal/version/version.go index a50fcfb4..dbbf1f68 100644 --- a/vendor/google.golang.org/protobuf/internal/version/version.go +++ b/vendor/google.golang.org/protobuf/internal/version/version.go @@ -51,8 +51,8 @@ import ( // 10. Send out the CL for review and submit it. const ( Major = 1 - Minor = 33 - Patch = 0 + Minor = 34 + Patch = 2 PreRelease = "" ) diff --git a/vendor/google.golang.org/protobuf/proto/decode.go b/vendor/google.golang.org/protobuf/proto/decode.go index e5b03b56..d75a6534 100644 --- a/vendor/google.golang.org/protobuf/proto/decode.go +++ b/vendor/google.golang.org/protobuf/proto/decode.go @@ -51,6 +51,8 @@ type UnmarshalOptions struct { // Unmarshal parses the wire-format message in b and places the result in m. // The provided message must be mutable (e.g., a non-nil pointer to a message). +// +// See the [UnmarshalOptions] type if you need more control. func Unmarshal(b []byte, m Message) error { _, err := UnmarshalOptions{RecursionLimit: protowire.DefaultRecursionLimit}.unmarshal(b, m.ProtoReflect()) return err diff --git a/vendor/google.golang.org/protobuf/proto/encode.go b/vendor/google.golang.org/protobuf/proto/encode.go index 4fed202f..1f847bcc 100644 --- a/vendor/google.golang.org/protobuf/proto/encode.go +++ b/vendor/google.golang.org/protobuf/proto/encode.go @@ -5,12 +5,17 @@ package proto import ( + "errors" + "fmt" + "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/encoding/messageset" "google.golang.org/protobuf/internal/order" "google.golang.org/protobuf/internal/pragma" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/runtime/protoiface" + + protoerrors "google.golang.org/protobuf/internal/errors" ) // MarshalOptions configures the marshaler. @@ -70,7 +75,32 @@ type MarshalOptions struct { UseCachedSize bool } +// flags turns the specified MarshalOptions (user-facing) into +// protoiface.MarshalInputFlags (used internally by the marshaler). +// +// See impl.marshalOptions.Options for the inverse operation. +func (o MarshalOptions) flags() protoiface.MarshalInputFlags { + var flags protoiface.MarshalInputFlags + + // Note: o.AllowPartial is always forced to true by MarshalOptions.marshal, + // which is why it is not a part of MarshalInputFlags. + + if o.Deterministic { + flags |= protoiface.MarshalDeterministic + } + + if o.UseCachedSize { + flags |= protoiface.MarshalUseCachedSize + } + + return flags +} + // Marshal returns the wire-format encoding of m. +// +// This is the most common entry point for encoding a Protobuf message. +// +// See the [MarshalOptions] type if you need more control. func Marshal(m Message) ([]byte, error) { // Treat nil message interface as an empty message; nothing to output. if m == nil { @@ -116,6 +146,9 @@ func emptyBytesForMessage(m Message) []byte { // MarshalAppend appends the wire-format encoding of m to b, // returning the result. +// +// This is a less common entry point than [Marshal], which is only needed if you +// need to supply your own buffers for performance reasons. func (o MarshalOptions) MarshalAppend(b []byte, m Message) ([]byte, error) { // Treat nil message interface as an empty message; nothing to append. if m == nil { @@ -145,12 +178,7 @@ func (o MarshalOptions) marshal(b []byte, m protoreflect.Message) (out protoifac in := protoiface.MarshalInput{ Message: m, Buf: b, - } - if o.Deterministic { - in.Flags |= protoiface.MarshalDeterministic - } - if o.UseCachedSize { - in.Flags |= protoiface.MarshalUseCachedSize + Flags: o.flags(), } if methods.Size != nil { sout := methods.Size(protoiface.SizeInput{ @@ -168,6 +196,10 @@ func (o MarshalOptions) marshal(b []byte, m protoreflect.Message) (out protoifac out.Buf, err = o.marshalMessageSlow(b, m) } if err != nil { + var mismatch *protoerrors.SizeMismatchError + if errors.As(err, &mismatch) { + return out, fmt.Errorf("marshaling %s: %v", string(m.Descriptor().FullName()), err) + } return out, err } if allowPartial { diff --git a/vendor/google.golang.org/protobuf/proto/extension.go b/vendor/google.golang.org/protobuf/proto/extension.go index 17899a3a..d248f292 100644 --- a/vendor/google.golang.org/protobuf/proto/extension.go +++ b/vendor/google.golang.org/protobuf/proto/extension.go @@ -11,18 +11,21 @@ import ( // HasExtension reports whether an extension field is populated. // It returns false if m is invalid or if xt does not extend m. func HasExtension(m Message, xt protoreflect.ExtensionType) bool { - // Treat nil message interface as an empty message; no populated fields. - if m == nil { + // Treat nil message interface or descriptor as an empty message; no populated + // fields. + if m == nil || xt == nil { return false } // As a special-case, we reports invalid or mismatching descriptors // as always not being populated (since they aren't). - if xt == nil || m.ProtoReflect().Descriptor() != xt.TypeDescriptor().ContainingMessage() { + mr := m.ProtoReflect() + xd := xt.TypeDescriptor() + if mr.Descriptor() != xd.ContainingMessage() { return false } - return m.ProtoReflect().Has(xt.TypeDescriptor()) + return mr.Has(xd) } // ClearExtension clears an extension field such that subsequent @@ -36,7 +39,7 @@ func ClearExtension(m Message, xt protoreflect.ExtensionType) { // If the field is unpopulated, it returns the default value for // scalars and an immutable, empty value for lists or messages. // It panics if xt does not extend m. -func GetExtension(m Message, xt protoreflect.ExtensionType) interface{} { +func GetExtension(m Message, xt protoreflect.ExtensionType) any { // Treat nil message interface as an empty message; return the default. if m == nil { return xt.InterfaceOf(xt.Zero()) @@ -48,7 +51,7 @@ func GetExtension(m Message, xt protoreflect.ExtensionType) interface{} { // SetExtension stores the value of an extension field. // It panics if m is invalid, xt does not extend m, or if type of v // is invalid for the specified extension field. -func SetExtension(m Message, xt protoreflect.ExtensionType, v interface{}) { +func SetExtension(m Message, xt protoreflect.ExtensionType, v any) { xd := xt.TypeDescriptor() pv := xt.ValueOf(v) @@ -75,7 +78,7 @@ func SetExtension(m Message, xt protoreflect.ExtensionType, v interface{}) { // It returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current extension field. -func RangeExtensions(m Message, f func(protoreflect.ExtensionType, interface{}) bool) { +func RangeExtensions(m Message, f func(protoreflect.ExtensionType, any) bool) { // Treat nil message interface as an empty message; nothing to range over. if m == nil { return diff --git a/vendor/google.golang.org/protobuf/proto/messageset.go b/vendor/google.golang.org/protobuf/proto/messageset.go index 312d5d45..575d1483 100644 --- a/vendor/google.golang.org/protobuf/proto/messageset.go +++ b/vendor/google.golang.org/protobuf/proto/messageset.go @@ -47,11 +47,16 @@ func (o MarshalOptions) marshalMessageSet(b []byte, m protoreflect.Message) ([]b func (o MarshalOptions) marshalMessageSetField(b []byte, fd protoreflect.FieldDescriptor, value protoreflect.Value) ([]byte, error) { b = messageset.AppendFieldStart(b, fd.Number()) b = protowire.AppendTag(b, messageset.FieldMessage, protowire.BytesType) - b = protowire.AppendVarint(b, uint64(o.Size(value.Message().Interface()))) + calculatedSize := o.Size(value.Message().Interface()) + b = protowire.AppendVarint(b, uint64(calculatedSize)) + before := len(b) b, err := o.marshalMessage(b, value.Message()) if err != nil { return b, err } + if measuredSize := len(b) - before; calculatedSize != measuredSize { + return nil, errors.MismatchedSizeCalculation(calculatedSize, measuredSize) + } b = messageset.AppendFieldEnd(b) return b, nil } diff --git a/vendor/google.golang.org/protobuf/proto/size.go b/vendor/google.golang.org/protobuf/proto/size.go index f1692b49..052fb5ae 100644 --- a/vendor/google.golang.org/protobuf/proto/size.go +++ b/vendor/google.golang.org/protobuf/proto/size.go @@ -34,6 +34,7 @@ func (o MarshalOptions) size(m protoreflect.Message) (size int) { if methods != nil && methods.Size != nil { out := methods.Size(protoiface.SizeInput{ Message: m, + Flags: o.flags(), }) return out.Size } @@ -42,6 +43,7 @@ func (o MarshalOptions) size(m protoreflect.Message) (size int) { // This case is mainly used for legacy types with a Marshal method. out, _ := methods.Marshal(protoiface.MarshalInput{ Message: m, + Flags: o.flags(), }) return len(out.Buf) } diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go index baa0cc62..8fbecb4f 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go @@ -13,6 +13,7 @@ package protodesc import ( + "google.golang.org/protobuf/internal/editionssupport" "google.golang.org/protobuf/internal/errors" "google.golang.org/protobuf/internal/filedesc" "google.golang.org/protobuf/internal/pragma" @@ -91,15 +92,17 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot switch fd.GetSyntax() { case "proto2", "": f.L1.Syntax = protoreflect.Proto2 + f.L1.Edition = filedesc.EditionProto2 case "proto3": f.L1.Syntax = protoreflect.Proto3 + f.L1.Edition = filedesc.EditionProto3 case "editions": f.L1.Syntax = protoreflect.Editions f.L1.Edition = fromEditionProto(fd.GetEdition()) default: return nil, errors.New("invalid syntax: %q", fd.GetSyntax()) } - if f.L1.Syntax == protoreflect.Editions && (fd.GetEdition() < SupportedEditionsMinimum || fd.GetEdition() > SupportedEditionsMaximum) { + if f.L1.Syntax == protoreflect.Editions && (fd.GetEdition() < editionssupport.Minimum || fd.GetEdition() > editionssupport.Maximum) { return nil, errors.New("use of edition %v not yet supported by the Go Protobuf runtime", fd.GetEdition()) } f.L1.Path = fd.GetName() @@ -114,9 +117,7 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot opts = proto.Clone(opts).(*descriptorpb.FileOptions) f.L2.Options = func() protoreflect.ProtoMessage { return opts } } - if f.L1.Syntax == protoreflect.Editions { - initFileDescFromFeatureSet(f, fd.GetOptions().GetFeatures()) - } + initFileDescFromFeatureSet(f, fd.GetOptions().GetFeatures()) f.L2.Imports = make(filedesc.FileImports, len(fd.GetDependency())) for _, i := range fd.GetPublicDependency() { @@ -219,10 +220,10 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot if err := validateEnumDeclarations(f.L1.Enums.List, fd.GetEnumType()); err != nil { return nil, err } - if err := validateMessageDeclarations(f.L1.Messages.List, fd.GetMessageType()); err != nil { + if err := validateMessageDeclarations(f, f.L1.Messages.List, fd.GetMessageType()); err != nil { return nil, err } - if err := validateExtensionDeclarations(f.L1.Extensions.List, fd.GetExtension()); err != nil { + if err := validateExtensionDeclarations(f, f.L1.Extensions.List, fd.GetExtension()); err != nil { return nil, err } diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go index b3278163..85617554 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go @@ -69,9 +69,7 @@ func (r descsByName) initMessagesDeclarations(mds []*descriptorpb.DescriptorProt if m.L0, err = r.makeBase(m, parent, md.GetName(), i, sb); err != nil { return nil, err } - if m.Base.L0.ParentFile.Syntax() == protoreflect.Editions { - m.L1.EditionFeatures = mergeEditionFeatures(parent, md.GetOptions().GetFeatures()) - } + m.L1.EditionFeatures = mergeEditionFeatures(parent, md.GetOptions().GetFeatures()) if opts := md.GetOptions(); opts != nil { opts = proto.Clone(opts).(*descriptorpb.MessageOptions) m.L2.Options = func() protoreflect.ProtoMessage { return opts } @@ -146,13 +144,15 @@ func (r descsByName) initFieldsFromDescriptorProto(fds []*descriptorpb.FieldDesc if f.L0, err = r.makeBase(f, parent, fd.GetName(), i, sb); err != nil { return nil, err } + f.L1.EditionFeatures = mergeEditionFeatures(parent, fd.GetOptions().GetFeatures()) f.L1.IsProto3Optional = fd.GetProto3Optional() if opts := fd.GetOptions(); opts != nil { opts = proto.Clone(opts).(*descriptorpb.FieldOptions) f.L1.Options = func() protoreflect.ProtoMessage { return opts } f.L1.IsWeak = opts.GetWeak() - f.L1.HasPacked = opts.Packed != nil - f.L1.IsPacked = opts.GetPacked() + if opts.Packed != nil { + f.L1.EditionFeatures.IsPacked = opts.GetPacked() + } } f.L1.Number = protoreflect.FieldNumber(fd.GetNumber()) f.L1.Cardinality = protoreflect.Cardinality(fd.GetLabel()) @@ -163,32 +163,12 @@ func (r descsByName) initFieldsFromDescriptorProto(fds []*descriptorpb.FieldDesc f.L1.StringName.InitJSON(fd.GetJsonName()) } - if f.Base.L0.ParentFile.Syntax() == protoreflect.Editions { - f.L1.EditionFeatures = mergeEditionFeatures(parent, fd.GetOptions().GetFeatures()) + if f.L1.EditionFeatures.IsLegacyRequired { + f.L1.Cardinality = protoreflect.Required + } - if f.L1.EditionFeatures.IsLegacyRequired { - f.L1.Cardinality = protoreflect.Required - } - // We reuse the existing field because the old option `[packed = - // true]` is mutually exclusive with the editions feature. - if canBePacked(fd) { - f.L1.HasPacked = true - f.L1.IsPacked = f.L1.EditionFeatures.IsPacked - } - - // We pretend this option is always explicitly set because the only - // use of HasEnforceUTF8 is to determine whether to use EnforceUTF8 - // or to return the appropriate default. - // When using editions we either parse the option or resolve the - // appropriate default here (instead of later when this option is - // requested from the descriptor). - // In proto2/proto3 syntax HasEnforceUTF8 might be false. - f.L1.HasEnforceUTF8 = true - f.L1.EnforceUTF8 = f.L1.EditionFeatures.IsUTF8Validated - - if f.L1.Kind == protoreflect.MessageKind && f.L1.EditionFeatures.IsDelimitedEncoded { - f.L1.Kind = protoreflect.GroupKind - } + if f.L1.Kind == protoreflect.MessageKind && f.L1.EditionFeatures.IsDelimitedEncoded { + f.L1.Kind = protoreflect.GroupKind } } return fs, nil @@ -201,12 +181,10 @@ func (r descsByName) initOneofsFromDescriptorProto(ods []*descriptorpb.OneofDesc if o.L0, err = r.makeBase(o, parent, od.GetName(), i, sb); err != nil { return nil, err } + o.L1.EditionFeatures = mergeEditionFeatures(parent, od.GetOptions().GetFeatures()) if opts := od.GetOptions(); opts != nil { opts = proto.Clone(opts).(*descriptorpb.OneofOptions) o.L1.Options = func() protoreflect.ProtoMessage { return opts } - if parent.Syntax() == protoreflect.Editions { - o.L1.EditionFeatures = mergeEditionFeatures(parent, opts.GetFeatures()) - } } } return os, nil @@ -220,10 +198,13 @@ func (r descsByName) initExtensionDeclarations(xds []*descriptorpb.FieldDescript if x.L0, err = r.makeBase(x, parent, xd.GetName(), i, sb); err != nil { return nil, err } + x.L1.EditionFeatures = mergeEditionFeatures(parent, xd.GetOptions().GetFeatures()) if opts := xd.GetOptions(); opts != nil { opts = proto.Clone(opts).(*descriptorpb.FieldOptions) x.L2.Options = func() protoreflect.ProtoMessage { return opts } - x.L2.IsPacked = opts.GetPacked() + if opts.Packed != nil { + x.L1.EditionFeatures.IsPacked = opts.GetPacked() + } } x.L1.Number = protoreflect.FieldNumber(xd.GetNumber()) x.L1.Cardinality = protoreflect.Cardinality(xd.GetLabel()) diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go index 254ca585..f3cebab2 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go @@ -46,6 +46,11 @@ func (r *resolver) resolveMessageDependencies(ms []filedesc.Message, mds []*desc if f.L1.Kind, f.L1.Enum, f.L1.Message, err = r.findTarget(f.Kind(), f.Parent().FullName(), partialName(fd.GetTypeName()), f.IsWeak()); err != nil { return errors.New("message field %q cannot resolve type: %v", f.FullName(), err) } + if f.L1.Kind == protoreflect.GroupKind && (f.IsMap() || f.IsMapEntry()) { + // A map field might inherit delimited encoding from a file-wide default feature. + // But maps never actually use delimited encoding. (At least for now...) + f.L1.Kind = protoreflect.MessageKind + } if fd.DefaultValue != nil { v, ev, err := unmarshalDefault(fd.GetDefaultValue(), f, r.allowUnresolvable) if err != nil { diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go index e4dcaf87..6de31c2e 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go @@ -45,11 +45,11 @@ func validateEnumDeclarations(es []filedesc.Enum, eds []*descriptorpb.EnumDescri if allowAlias && !foundAlias { return errors.New("enum %q allows aliases, but none were found", e.FullName()) } - if e.Syntax() == protoreflect.Proto3 { + if !e.IsClosed() { if v := e.Values().Get(0); v.Number() != 0 { - return errors.New("enum %q using proto3 semantics must have zero number for the first value", v.FullName()) + return errors.New("enum %q using open semantics must have zero number for the first value", v.FullName()) } - // Verify that value names in proto3 do not conflict if the + // Verify that value names in open enums do not conflict if the // case-insensitive prefix is removed. // See protoc v3.8.0: src/google/protobuf/descriptor.cc:4991-5055 names := map[string]protoreflect.EnumValueDescriptor{} @@ -58,7 +58,7 @@ func validateEnumDeclarations(es []filedesc.Enum, eds []*descriptorpb.EnumDescri v1 := e.Values().Get(i) s := strs.EnumValueName(strs.TrimEnumPrefix(string(v1.Name()), prefix)) if v2, ok := names[s]; ok && v1.Number() != v2.Number() { - return errors.New("enum %q using proto3 semantics has conflict: %q with %q", e.FullName(), v1.Name(), v2.Name()) + return errors.New("enum %q using open semantics has conflict: %q with %q", e.FullName(), v1.Name(), v2.Name()) } names[s] = v1 } @@ -80,7 +80,9 @@ func validateEnumDeclarations(es []filedesc.Enum, eds []*descriptorpb.EnumDescri return nil } -func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.DescriptorProto) error { +func validateMessageDeclarations(file *filedesc.File, ms []filedesc.Message, mds []*descriptorpb.DescriptorProto) error { + // There are a few limited exceptions only for proto3 + isProto3 := file.L1.Edition == fromEditionProto(descriptorpb.Edition_EDITION_PROTO3) for i, md := range mds { m := &ms[i] @@ -107,25 +109,13 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc if isMessageSet && !flags.ProtoLegacy { return errors.New("message %q is a MessageSet, which is a legacy proto1 feature that is no longer supported", m.FullName()) } - if isMessageSet && (m.Syntax() == protoreflect.Proto3 || m.Fields().Len() > 0 || m.ExtensionRanges().Len() == 0) { + if isMessageSet && (isProto3 || m.Fields().Len() > 0 || m.ExtensionRanges().Len() == 0) { return errors.New("message %q is an invalid proto1 MessageSet", m.FullName()) } - if m.Syntax() == protoreflect.Proto3 { + if isProto3 { if m.ExtensionRanges().Len() > 0 { return errors.New("message %q using proto3 semantics cannot have extension ranges", m.FullName()) } - // Verify that field names in proto3 do not conflict if lowercased - // with all underscores removed. - // See protoc v3.8.0: src/google/protobuf/descriptor.cc:5830-5847 - names := map[string]protoreflect.FieldDescriptor{} - for i := 0; i < m.Fields().Len(); i++ { - f1 := m.Fields().Get(i) - s := strings.Replace(strings.ToLower(string(f1.Name())), "_", "", -1) - if f2, ok := names[s]; ok { - return errors.New("message %q using proto3 semantics has conflict: %q with %q", m.FullName(), f1.Name(), f2.Name()) - } - names[s] = f1 - } } for j, fd := range md.GetField() { @@ -149,7 +139,7 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc return errors.New("message field %q may not have extendee: %q", f.FullName(), fd.GetExtendee()) } if f.L1.IsProto3Optional { - if f.Syntax() != protoreflect.Proto3 { + if !isProto3 { return errors.New("message field %q under proto3 optional semantics must be specified in the proto3 syntax", f.FullName()) } if f.Cardinality() != protoreflect.Optional { @@ -162,26 +152,29 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc if f.IsWeak() && !flags.ProtoLegacy { return errors.New("message field %q is a weak field, which is a legacy proto1 feature that is no longer supported", f.FullName()) } - if f.IsWeak() && (f.Syntax() != protoreflect.Proto2 || !isOptionalMessage(f) || f.ContainingOneof() != nil) { + if f.IsWeak() && (!f.HasPresence() || !isOptionalMessage(f) || f.ContainingOneof() != nil) { return errors.New("message field %q may only be weak for an optional message", f.FullName()) } if f.IsPacked() && !isPackable(f) { return errors.New("message field %q is not packable", f.FullName()) } - if err := checkValidGroup(f); err != nil { + if err := checkValidGroup(file, f); err != nil { return errors.New("message field %q is an invalid group: %v", f.FullName(), err) } if err := checkValidMap(f); err != nil { return errors.New("message field %q is an invalid map: %v", f.FullName(), err) } - if f.Syntax() == protoreflect.Proto3 { + if isProto3 { if f.Cardinality() == protoreflect.Required { return errors.New("message field %q using proto3 semantics cannot be required", f.FullName()) } - if f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().Syntax() != protoreflect.Proto3 { - return errors.New("message field %q using proto3 semantics may only depend on a proto3 enum", f.FullName()) + if f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().IsClosed() { + return errors.New("message field %q using proto3 semantics may only depend on open enums", f.FullName()) } } + if f.Cardinality() == protoreflect.Optional && !f.HasPresence() && f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().IsClosed() { + return errors.New("message field %q with implicit presence may only use open enums", f.FullName()) + } } seenSynthetic := false // synthetic oneofs for proto3 optional must come after real oneofs for j := range md.GetOneofDecl() { @@ -215,17 +208,17 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc if err := validateEnumDeclarations(m.L1.Enums.List, md.GetEnumType()); err != nil { return err } - if err := validateMessageDeclarations(m.L1.Messages.List, md.GetNestedType()); err != nil { + if err := validateMessageDeclarations(file, m.L1.Messages.List, md.GetNestedType()); err != nil { return err } - if err := validateExtensionDeclarations(m.L1.Extensions.List, md.GetExtension()); err != nil { + if err := validateExtensionDeclarations(file, m.L1.Extensions.List, md.GetExtension()); err != nil { return err } } return nil } -func validateExtensionDeclarations(xs []filedesc.Extension, xds []*descriptorpb.FieldDescriptorProto) error { +func validateExtensionDeclarations(f *filedesc.File, xs []filedesc.Extension, xds []*descriptorpb.FieldDescriptorProto) error { for i, xd := range xds { x := &xs[i] // NOTE: Avoid using the IsValid method since extensions to MessageSet @@ -267,13 +260,13 @@ func validateExtensionDeclarations(xs []filedesc.Extension, xds []*descriptorpb. if x.IsPacked() && !isPackable(x) { return errors.New("extension field %q is not packable", x.FullName()) } - if err := checkValidGroup(x); err != nil { + if err := checkValidGroup(f, x); err != nil { return errors.New("extension field %q is an invalid group: %v", x.FullName(), err) } if md := x.Message(); md != nil && md.IsMapEntry() { return errors.New("extension field %q cannot be a map entry", x.FullName()) } - if x.Syntax() == protoreflect.Proto3 { + if f.L1.Edition == fromEditionProto(descriptorpb.Edition_EDITION_PROTO3) { switch x.ContainingMessage().FullName() { case (*descriptorpb.FileOptions)(nil).ProtoReflect().Descriptor().FullName(): case (*descriptorpb.EnumOptions)(nil).ProtoReflect().Descriptor().FullName(): @@ -309,21 +302,25 @@ func isPackable(fd protoreflect.FieldDescriptor) bool { // checkValidGroup reports whether fd is a valid group according to the same // rules that protoc imposes. -func checkValidGroup(fd protoreflect.FieldDescriptor) error { +func checkValidGroup(f *filedesc.File, fd protoreflect.FieldDescriptor) error { md := fd.Message() switch { case fd.Kind() != protoreflect.GroupKind: return nil - case fd.Syntax() == protoreflect.Proto3: + case f.L1.Edition == fromEditionProto(descriptorpb.Edition_EDITION_PROTO3): return errors.New("invalid under proto3 semantics") case md == nil || md.IsPlaceholder(): return errors.New("message must be resolvable") - case fd.FullName().Parent() != md.FullName().Parent(): - return errors.New("message and field must be declared in the same scope") - case !unicode.IsUpper(rune(md.Name()[0])): - return errors.New("message name must start with an uppercase") - case fd.Name() != protoreflect.Name(strings.ToLower(string(md.Name()))): - return errors.New("field name must be lowercased form of the message name") + } + if f.L1.Edition < fromEditionProto(descriptorpb.Edition_EDITION_2023) { + switch { + case fd.FullName().Parent() != md.FullName().Parent(): + return errors.New("message and field must be declared in the same scope") + case !unicode.IsUpper(rune(md.Name()[0])): + return errors.New("message name must start with an uppercase") + case fd.Name() != protoreflect.Name(strings.ToLower(string(md.Name()))): + return errors.New("field name must be lowercased form of the message name") + } } return nil } diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go b/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go index 2a6b29d1..804830ed 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go @@ -17,11 +17,6 @@ import ( gofeaturespb "google.golang.org/protobuf/types/gofeaturespb" ) -const ( - SupportedEditionsMinimum = descriptorpb.Edition_EDITION_PROTO2 - SupportedEditionsMaximum = descriptorpb.Edition_EDITION_2023 -) - var defaults = &descriptorpb.FeatureSetDefaults{} var defaultsCacheMu sync.Mutex var defaultsCache = make(map[filedesc.Edition]*descriptorpb.FeatureSet) @@ -67,18 +62,20 @@ func getFeatureSetFor(ed filedesc.Edition) *descriptorpb.FeatureSet { fmt.Fprintf(os.Stderr, "internal error: unsupported edition %v (did you forget to update the embedded defaults (i.e. the bootstrap descriptor proto)?)\n", edpb) os.Exit(1) } - fs := defaults.GetDefaults()[0].GetFeatures() + fsed := defaults.GetDefaults()[0] // Using a linear search for now. // Editions are guaranteed to be sorted and thus we could use a binary search. // Given that there are only a handful of editions (with one more per year) // there is not much reason to use a binary search. for _, def := range defaults.GetDefaults() { if def.GetEdition() <= edpb { - fs = def.GetFeatures() + fsed = def } else { break } } + fs := proto.Clone(fsed.GetFixedFeatures()).(*descriptorpb.FeatureSet) + proto.Merge(fs, fsed.GetOverridableFeatures()) defaultsCache[ed] = fs return fs } diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go b/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go index 9d6e0542..a5de8d40 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go @@ -73,6 +73,16 @@ func ToFileDescriptorProto(file protoreflect.FileDescriptor) *descriptorpb.FileD if syntax := file.Syntax(); syntax != protoreflect.Proto2 && syntax.IsValid() { p.Syntax = proto.String(file.Syntax().String()) } + if file.Syntax() == protoreflect.Editions { + desc := file + if fileImportDesc, ok := file.(protoreflect.FileImport); ok { + desc = fileImportDesc.FileDescriptor + } + + if editionsInterface, ok := desc.(interface{ Edition() int32 }); ok { + p.Edition = descriptorpb.Edition(editionsInterface.Edition()).Enum() + } + } return p } @@ -153,6 +163,18 @@ func ToFieldDescriptorProto(field protoreflect.FieldDescriptor) *descriptorpb.Fi if field.Syntax() == protoreflect.Proto3 && field.HasOptionalKeyword() { p.Proto3Optional = proto.Bool(true) } + if field.Syntax() == protoreflect.Editions { + // Editions have no group keyword, this type is only set so that downstream users continue + // treating this as delimited encoding. + if p.GetType() == descriptorpb.FieldDescriptorProto_TYPE_GROUP { + p.Type = descriptorpb.FieldDescriptorProto_TYPE_MESSAGE.Enum() + } + // Editions have no required keyword, this label is only set so that downstream users continue + // treating it as required. + if p.GetLabel() == descriptorpb.FieldDescriptorProto_LABEL_REQUIRED { + p.Label = descriptorpb.FieldDescriptorProto_LABEL_OPTIONAL.Enum() + } + } if field.HasDefault() { def, err := defval.Marshal(field.Default(), field.DefaultEnumValue(), field.Kind(), defval.Descriptor) if err != nil && field.DefaultEnumValue() != nil { diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go index 00b01fbd..c85bfaa5 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go @@ -161,7 +161,7 @@ const ( // IsValid reports whether the syntax is valid. func (s Syntax) IsValid() bool { switch s { - case Proto2, Proto3: + case Proto2, Proto3, Editions: return true default: return false diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go index 7dcc2ff0..ea154eec 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go @@ -373,6 +373,8 @@ func (p *SourcePath) appendFieldOptions(b []byte) []byte { b = p.appendRepeatedField(b, "edition_defaults", (*SourcePath).appendFieldOptions_EditionDefault) case 21: b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet) + case 22: + b = p.appendSingularField(b, "feature_support", (*SourcePath).appendFieldOptions_FeatureSupport) case 999: b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption) } @@ -483,6 +485,8 @@ func (p *SourcePath) appendEnumValueOptions(b []byte) []byte { b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet) case 3: b = p.appendSingularField(b, "debug_redact", nil) + case 4: + b = p.appendSingularField(b, "feature_support", (*SourcePath).appendFieldOptions_FeatureSupport) case 999: b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption) } @@ -519,6 +523,23 @@ func (p *SourcePath) appendFieldOptions_EditionDefault(b []byte) []byte { return b } +func (p *SourcePath) appendFieldOptions_FeatureSupport(b []byte) []byte { + if len(*p) == 0 { + return b + } + switch (*p)[0] { + case 1: + b = p.appendSingularField(b, "edition_introduced", nil) + case 2: + b = p.appendSingularField(b, "edition_deprecated", nil) + case 3: + b = p.appendSingularField(b, "deprecation_warning", nil) + case 4: + b = p.appendSingularField(b, "edition_removed", nil) + } + return b +} + func (p *SourcePath) appendUninterpretedOption_NamePart(b []byte) []byte { if len(*p) == 0 { return b diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go index 60ff62b4..cd8fadba 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go @@ -510,7 +510,7 @@ type ExtensionType interface { // // ValueOf is more extensive than protoreflect.ValueOf for a given field's // value as it has more type information available. - ValueOf(interface{}) Value + ValueOf(any) Value // InterfaceOf completely unwraps the Value to the underlying Go type. // InterfaceOf panics if the input is nil or does not represent the @@ -519,13 +519,13 @@ type ExtensionType interface { // // InterfaceOf is able to unwrap the Value further than Value.Interface // as it has more type information available. - InterfaceOf(Value) interface{} + InterfaceOf(Value) any // IsValidValue reports whether the Value is valid to assign to the field. IsValidValue(Value) bool // IsValidInterface reports whether the input is valid to assign to the field. - IsValidInterface(interface{}) bool + IsValidInterface(any) bool } // EnumDescriptor describes an enum and @@ -544,6 +544,12 @@ type EnumDescriptor interface { // ReservedRanges is a list of reserved ranges of enum numbers. ReservedRanges() EnumRanges + // IsClosed reports whether this enum uses closed semantics. + // See https://protobuf.dev/programming-guides/enum/#definitions. + // Note: the Go protobuf implementation is not spec compliant and treats + // all enums as open enums. + IsClosed() bool + isEnumDescriptor } type isEnumDescriptor interface{ ProtoType(EnumDescriptor) } diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go index 7ced876f..75f83a2a 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go @@ -32,11 +32,11 @@ const ( type value struct { pragma.DoNotCompare // 0B - typ valueType // 8B - num uint64 // 8B - str string // 16B - bin []byte // 24B - iface interface{} // 16B + typ valueType // 8B + num uint64 // 8B + str string // 16B + bin []byte // 24B + iface any // 16B } func valueOfString(v string) Value { @@ -45,7 +45,7 @@ func valueOfString(v string) Value { func valueOfBytes(v []byte) Value { return Value{typ: bytesType, bin: v} } -func valueOfIface(v interface{}) Value { +func valueOfIface(v any) Value { return Value{typ: ifaceType, iface: v} } @@ -55,6 +55,6 @@ func (v Value) getString() string { func (v Value) getBytes() []byte { return v.bin } -func (v Value) getIface() interface{} { +func (v Value) getIface() any { return v.iface } diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go index 16030973..9fe83cef 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go @@ -69,8 +69,8 @@ import ( // composite Value. Modifying an empty, read-only value panics. type Value value -// The protoreflect API uses a custom Value union type instead of interface{} -// to keep the future open for performance optimizations. Using an interface{} +// The protoreflect API uses a custom Value union type instead of any +// to keep the future open for performance optimizations. Using an any // always incurs an allocation for primitives (e.g., int64) since it needs to // be boxed on the heap (as interfaces can only contain pointers natively). // Instead, we represent the Value union as a flat struct that internally keeps @@ -85,7 +85,7 @@ type Value value // ValueOf returns a Value initialized with the concrete value stored in v. // This panics if the type does not match one of the allowed types in the // Value union. -func ValueOf(v interface{}) Value { +func ValueOf(v any) Value { switch v := v.(type) { case nil: return Value{} @@ -192,10 +192,10 @@ func (v Value) IsValid() bool { return v.typ != nilType } -// Interface returns v as an interface{}. +// Interface returns v as an any. // // Invariant: v == ValueOf(v).Interface() -func (v Value) Interface() interface{} { +func (v Value) Interface() any { switch v.typ { case nilType: return nil @@ -406,8 +406,8 @@ func (k MapKey) IsValid() bool { return Value(k).IsValid() } -// Interface returns k as an interface{}. -func (k MapKey) Interface() interface{} { +// Interface returns k as an any. +func (k MapKey) Interface() any { return Value(k).Interface() } diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go index b1fdbe3e..7f3583ea 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go @@ -45,7 +45,7 @@ var ( // typeOf returns a pointer to the Go type information. // The pointer is comparable and equal if and only if the types are identical. -func typeOf(t interface{}) unsafe.Pointer { +func typeOf(t any) unsafe.Pointer { return (*ifaceHeader)(unsafe.Pointer(&t)).Type } @@ -80,7 +80,7 @@ func valueOfBytes(v []byte) Value { p := (*sliceHeader)(unsafe.Pointer(&v)) return Value{typ: bytesType, ptr: p.Data, num: uint64(len(v))} } -func valueOfIface(v interface{}) Value { +func valueOfIface(v any) Value { p := (*ifaceHeader)(unsafe.Pointer(&v)) return Value{typ: p.Type, ptr: p.Data} } @@ -93,7 +93,7 @@ func (v Value) getBytes() (x []byte) { *(*sliceHeader)(unsafe.Pointer(&x)) = sliceHeader{Data: v.ptr, Len: int(v.num), Cap: int(v.num)} return x } -func (v Value) getIface() (x interface{}) { +func (v Value) getIface() (x any) { *(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr} return x } diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go index 43547011..f7d38699 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go @@ -15,7 +15,7 @@ import ( type ( ifaceHeader struct { - _ [0]interface{} // if interfaces have greater alignment than unsafe.Pointer, this will enforce it. + _ [0]any // if interfaces have greater alignment than unsafe.Pointer, this will enforce it. Type unsafe.Pointer Data unsafe.Pointer } @@ -37,7 +37,7 @@ var ( // typeOf returns a pointer to the Go type information. // The pointer is comparable and equal if and only if the types are identical. -func typeOf(t interface{}) unsafe.Pointer { +func typeOf(t any) unsafe.Pointer { return (*ifaceHeader)(unsafe.Pointer(&t)).Type } @@ -70,7 +70,7 @@ func valueOfString(v string) Value { func valueOfBytes(v []byte) Value { return Value{typ: bytesType, ptr: unsafe.Pointer(unsafe.SliceData(v)), num: uint64(len(v))} } -func valueOfIface(v interface{}) Value { +func valueOfIface(v any) Value { p := (*ifaceHeader)(unsafe.Pointer(&v)) return Value{typ: p.Type, ptr: p.Data} } @@ -81,7 +81,7 @@ func (v Value) getString() string { func (v Value) getBytes() []byte { return unsafe.Slice((*byte)(v.ptr), v.num) } -func (v Value) getIface() (x interface{}) { +func (v Value) getIface() (x any) { *(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr} return x } diff --git a/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go b/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go index 6267dc52..de177733 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go +++ b/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go @@ -95,7 +95,7 @@ type Files struct { // multiple files. Only top-level declarations are registered. // Note that enum values are in the top-level since that are in the same // scope as the parent enum. - descsByName map[protoreflect.FullName]interface{} + descsByName map[protoreflect.FullName]any filesByPath map[string][]protoreflect.FileDescriptor numFiles int } @@ -117,7 +117,7 @@ func (r *Files) RegisterFile(file protoreflect.FileDescriptor) error { defer globalMutex.Unlock() } if r.descsByName == nil { - r.descsByName = map[protoreflect.FullName]interface{}{ + r.descsByName = map[protoreflect.FullName]any{ "": &packageDescriptor{}, } r.filesByPath = make(map[string][]protoreflect.FileDescriptor) @@ -485,7 +485,7 @@ type Types struct { } type ( - typesByName map[protoreflect.FullName]interface{} + typesByName map[protoreflect.FullName]any extensionsByMessage map[protoreflect.FullName]extensionsByNumber extensionsByNumber map[protoreflect.FieldNumber]protoreflect.ExtensionType ) @@ -570,7 +570,7 @@ func (r *Types) RegisterExtension(xt protoreflect.ExtensionType) error { return nil } -func (r *Types) register(kind string, desc protoreflect.Descriptor, typ interface{}) error { +func (r *Types) register(kind string, desc protoreflect.Descriptor, typ any) error { name := desc.FullName() prev := r.typesByName[name] if prev != nil { @@ -841,7 +841,7 @@ func (r *Types) RangeExtensionsByMessage(message protoreflect.FullName, f func(p } } -func typeName(t interface{}) string { +func typeName(t any) string { switch t.(type) { case protoreflect.EnumType: return "enum" @@ -854,7 +854,7 @@ func typeName(t interface{}) string { } } -func amendErrorWithCaller(err error, prev, curr interface{}) error { +func amendErrorWithCaller(err error, prev, curr any) error { prevPkg := goPackage(prev) currPkg := goPackage(curr) if prevPkg == "" || currPkg == "" || prevPkg == currPkg { @@ -863,7 +863,7 @@ func amendErrorWithCaller(err error, prev, curr interface{}) error { return errors.New("%s\n\tpreviously from: %q\n\tcurrently from: %q", err, prevPkg, currPkg) } -func goPackage(v interface{}) string { +func goPackage(v any) string { switch d := v.(type) { case protoreflect.EnumType: v = d.Descriptor() diff --git a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go index 78624cf6..9403eb07 100644 --- a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go +++ b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go @@ -54,6 +54,9 @@ type Edition int32 const ( // A placeholder for an unknown edition value. Edition_EDITION_UNKNOWN Edition = 0 + // A placeholder edition for specifying default behaviors *before* a feature + // was first introduced. This is effectively an "infinite past". + Edition_EDITION_LEGACY Edition = 900 // Legacy syntax "editions". These pre-date editions, but behave much like // distinct editions. These can't be used to specify the edition of proto // files, but feature definitions must supply proto2/proto3 defaults for @@ -82,6 +85,7 @@ const ( var ( Edition_name = map[int32]string{ 0: "EDITION_UNKNOWN", + 900: "EDITION_LEGACY", 998: "EDITION_PROTO2", 999: "EDITION_PROTO3", 1000: "EDITION_2023", @@ -95,6 +99,7 @@ var ( } Edition_value = map[string]int32{ "EDITION_UNKNOWN": 0, + "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -2177,12 +2182,16 @@ type FileOptions struct { // // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"` - // If set true, then the Java2 code generator will generate code that - // throws an exception whenever an attempt is made to assign a non-UTF-8 - // byte sequence to a string field. - // Message reflection will do the same. - // However, an extension field still accepts non-UTF-8 byte sequences. - // This option has no effect on when used with the lite runtime. + // A proto2 file can set this to true to opt in to UTF-8 checking for Java, + // which will throw an exception if invalid UTF-8 is parsed from the wire or + // assigned to a string field. + // + // TODO: clarify exactly what kinds of field types this option + // applies to, and update these docs accordingly. + // + // Proto3 files already perform these checks. Setting the option explicitly to + // false has no effect: it cannot be used to opt proto3 files out of UTF-8 + // checks. JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"` OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"` // Sets the Go package where structs generated from this .proto will be @@ -2679,7 +2688,8 @@ type FieldOptions struct { Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"` EditionDefaults []*FieldOptions_EditionDefault `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"edition_defaults,omitempty"` // Any features defined in the specific edition. - Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"` + Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"` + FeatureSupport *FieldOptions_FeatureSupport `protobuf:"bytes,22,opt,name=feature_support,json=featureSupport" json:"feature_support,omitempty"` // The parser stores options it doesn't recognize here. See above. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` } @@ -2811,6 +2821,13 @@ func (x *FieldOptions) GetFeatures() *FeatureSet { return nil } +func (x *FieldOptions) GetFeatureSupport() *FieldOptions_FeatureSupport { + if x != nil { + return x.FeatureSupport + } + return nil +} + func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption { if x != nil { return x.UninterpretedOption @@ -2995,6 +3012,8 @@ type EnumValueOptions struct { // out when using debug formats, e.g. when the field contains sensitive // credentials. DebugRedact *bool `protobuf:"varint,3,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` + // Information about the support window of a feature value. + FeatureSupport *FieldOptions_FeatureSupport `protobuf:"bytes,4,opt,name=feature_support,json=featureSupport" json:"feature_support,omitempty"` // The parser stores options it doesn't recognize here. See above. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` } @@ -3058,6 +3077,13 @@ func (x *EnumValueOptions) GetDebugRedact() bool { return Default_EnumValueOptions_DebugRedact } +func (x *EnumValueOptions) GetFeatureSupport() *FieldOptions_FeatureSupport { + if x != nil { + return x.FeatureSupport + } + return nil +} + func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption { if x != nil { return x.UninterpretedOption @@ -3968,6 +3994,88 @@ func (x *FieldOptions_EditionDefault) GetValue() string { return "" } +// Information about the support window of a feature. +type FieldOptions_FeatureSupport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The edition that this feature was first available in. In editions + // earlier than this one, the default assigned to EDITION_LEGACY will be + // used, and proto files will not be able to override it. + EditionIntroduced *Edition `protobuf:"varint,1,opt,name=edition_introduced,json=editionIntroduced,enum=google.protobuf.Edition" json:"edition_introduced,omitempty"` + // The edition this feature becomes deprecated in. Using this after this + // edition may trigger warnings. + EditionDeprecated *Edition `protobuf:"varint,2,opt,name=edition_deprecated,json=editionDeprecated,enum=google.protobuf.Edition" json:"edition_deprecated,omitempty"` + // The deprecation warning text if this feature is used after the edition it + // was marked deprecated in. + DeprecationWarning *string `protobuf:"bytes,3,opt,name=deprecation_warning,json=deprecationWarning" json:"deprecation_warning,omitempty"` + // The edition this feature is no longer available in. In editions after + // this one, the last default assigned will be used, and proto files will + // not be able to override it. + EditionRemoved *Edition `protobuf:"varint,4,opt,name=edition_removed,json=editionRemoved,enum=google.protobuf.Edition" json:"edition_removed,omitempty"` +} + +func (x *FieldOptions_FeatureSupport) Reset() { + *x = FieldOptions_FeatureSupport{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldOptions_FeatureSupport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldOptions_FeatureSupport) ProtoMessage() {} + +func (x *FieldOptions_FeatureSupport) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldOptions_FeatureSupport.ProtoReflect.Descriptor instead. +func (*FieldOptions_FeatureSupport) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 1} +} + +func (x *FieldOptions_FeatureSupport) GetEditionIntroduced() Edition { + if x != nil && x.EditionIntroduced != nil { + return *x.EditionIntroduced + } + return Edition_EDITION_UNKNOWN +} + +func (x *FieldOptions_FeatureSupport) GetEditionDeprecated() Edition { + if x != nil && x.EditionDeprecated != nil { + return *x.EditionDeprecated + } + return Edition_EDITION_UNKNOWN +} + +func (x *FieldOptions_FeatureSupport) GetDeprecationWarning() string { + if x != nil && x.DeprecationWarning != nil { + return *x.DeprecationWarning + } + return "" +} + +func (x *FieldOptions_FeatureSupport) GetEditionRemoved() Edition { + if x != nil && x.EditionRemoved != nil { + return *x.EditionRemoved + } + return Edition_EDITION_UNKNOWN +} + // The name of the uninterpreted option. Each string represents a segment in // a dot-separated name. is_extension is true iff a segment represents an // extension (denoted with parentheses in options specs in .proto files). @@ -3985,7 +4093,7 @@ type UninterpretedOption_NamePart struct { func (x *UninterpretedOption_NamePart) Reset() { *x = UninterpretedOption_NamePart{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[28] + mi := &file_google_protobuf_descriptor_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3998,7 +4106,7 @@ func (x *UninterpretedOption_NamePart) String() string { func (*UninterpretedOption_NamePart) ProtoMessage() {} func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[28] + mi := &file_google_protobuf_descriptor_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4037,14 +4145,17 @@ type FeatureSetDefaults_FeatureSetEditionDefault struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` - Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"` + Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` + // Defaults of features that can be overridden in this edition. + OverridableFeatures *FeatureSet `protobuf:"bytes,4,opt,name=overridable_features,json=overridableFeatures" json:"overridable_features,omitempty"` + // Defaults of features that can't be overridden in this edition. + FixedFeatures *FeatureSet `protobuf:"bytes,5,opt,name=fixed_features,json=fixedFeatures" json:"fixed_features,omitempty"` } func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset() { *x = FeatureSetDefaults_FeatureSetEditionDefault{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[29] + mi := &file_google_protobuf_descriptor_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4057,7 +4168,7 @@ func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string { func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage() {} func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[29] + mi := &file_google_protobuf_descriptor_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4080,9 +4191,16 @@ func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition { return Edition_EDITION_UNKNOWN } -func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet { +func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetOverridableFeatures() *FeatureSet { if x != nil { - return x.Features + return x.OverridableFeatures + } + return nil +} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFixedFeatures() *FeatureSet { + if x != nil { + return x.FixedFeatures } return nil } @@ -4188,7 +4306,7 @@ type SourceCodeInfo_Location struct { func (x *SourceCodeInfo_Location) Reset() { *x = SourceCodeInfo_Location{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[30] + mi := &file_google_protobuf_descriptor_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4201,7 +4319,7 @@ func (x *SourceCodeInfo_Location) String() string { func (*SourceCodeInfo_Location) ProtoMessage() {} func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[30] + mi := &file_google_protobuf_descriptor_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4275,7 +4393,7 @@ type GeneratedCodeInfo_Annotation struct { func (x *GeneratedCodeInfo_Annotation) Reset() { *x = GeneratedCodeInfo_Annotation{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[31] + mi := &file_google_protobuf_descriptor_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4288,7 +4406,7 @@ func (x *GeneratedCodeInfo_Annotation) String() string { func (*GeneratedCodeInfo_Annotation) ProtoMessage() {} func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[31] + mi := &file_google_protobuf_descriptor_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4597,7 +4715,7 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{ 0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x69, 0x6e, 0x67, 0x22, 0x97, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x69, 0x6e, 0x67, 0x22, 0xad, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f, @@ -4670,405 +4788,445 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{ 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, - 0x02, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xf4, 0x03, - 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, - 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, - 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, - 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, - 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, - 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, - 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, - 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, - 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, - 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, - 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, - 0x08, 0x09, 0x10, 0x0a, 0x22, 0xad, 0x0a, 0x0a, 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, - 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, - 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, - 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, - 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, - 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, - 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, - 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, - 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, - 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, - 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, - 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, - 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, - 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, - 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, - 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2e, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x65, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, - 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, - 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, - 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, - 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x1a, 0x5a, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, - 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, - 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, - 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, - 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, - 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, - 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a, 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, - 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, - 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, - 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, - 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, - 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, - 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, - 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, - 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, - 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, - 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, - 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, - 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, - 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, - 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, - 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, - 0x08, 0x12, 0x10, 0x13, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, - 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, - 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, - 0x80, 0x80, 0x02, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, - 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, - 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, - 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, - 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, - 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, - 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, - 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, + 0x02, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x52, 0x14, 0x70, + 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x22, 0xf4, 0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, + 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, + 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, + 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, + 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, + 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, - 0x02, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x81, 0x02, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, - 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0c, - 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, + 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, + 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x9d, 0x0d, 0x0a, 0x0c, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a, + 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53, + 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, + 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, + 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, + 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, + 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c, + 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, - 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, + 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, + 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a, + 0x10, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, + 0x55, 0x0a, 0x0f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd5, 0x01, 0x0a, 0x0e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, - 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, - 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, - 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, - 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x58, - 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x1a, 0x5a, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x96, 0x02, 0x0a, + 0x0e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, + 0x47, 0x0a, 0x12, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x12, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, + 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x72, 0x6e, 0x69, + 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, + 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, + 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50, + 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, + 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, + 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a, + 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14, + 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, + 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, + 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, + 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47, + 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, + 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, + 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, + 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, + 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05, + 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, + 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54, + 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, + 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, + 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x4f, + 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, - 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, - 0x80, 0x80, 0x02, 0x22, 0x99, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, - 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x11, - 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, - 0x6c, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, - 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, - 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10, 0x69, - 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, - 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, - 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, - 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, - 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, - 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, - 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, - 0x54, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, - 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, - 0x9a, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, - 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, - 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x10, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x1a, 0x4a, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, - 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, - 0x0b, 0x69, 0x73, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x0a, 0x0a, - 0x0a, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x8b, 0x01, 0x0a, 0x0e, - 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, - 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42, - 0x39, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, - 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x49, - 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe7, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, - 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe8, 0x07, 0x52, 0x0d, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x09, 0x65, 0x6e, 0x75, - 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, + 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, + 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, + 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x45, 0x6e, + 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, + 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, + 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, + 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, + 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, + 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xd8, 0x02, + 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, + 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, + 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x55, 0x0a, 0x0f, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, + 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, + 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, + 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x14, 0x75, + 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, + 0x22, 0x99, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x11, 0x69, 0x64, 0x65, + 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x22, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, + 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6d, + 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x37, 0x0a, 0x08, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x50, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, + 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, + 0x4e, 0x4f, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x53, 0x10, + 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x54, 0x10, + 0x02, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9a, 0x03, 0x0a, + 0x13, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, + 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, + 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, + 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a, + 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x61, + 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x0a, 0x0a, 0x0a, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x3f, 0x88, 0x01, + 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x4c, + 0x49, 0x43, 0x49, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x49, 0x4d, 0x50, 0x4c, + 0x49, 0x43, 0x49, 0x54, 0x18, 0xe7, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x4c, + 0x49, 0x43, 0x49, 0x54, 0x18, 0xe8, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0d, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x09, + 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x75, + 0x6d, 0x54, 0x79, 0x70, 0x65, 0x42, 0x29, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, + 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, + 0x09, 0x12, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, + 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x17, 0x72, + 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x6e, + 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, - 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, - 0x70, 0x65, 0x42, 0x23, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0b, - 0x12, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x09, 0x12, 0x04, - 0x4f, 0x50, 0x45, 0x4e, 0x18, 0xe7, 0x07, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x92, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, - 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, - 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x27, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, - 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x18, 0xe6, - 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x18, 0xe7, 0x07, 0x52, - 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, - 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x78, 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x74, 0x66, - 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x23, 0x88, 0x01, 0x01, - 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x18, - 0xe6, 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x18, 0xe7, 0x07, - 0x52, 0x0e, 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x78, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f, - 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, - 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x20, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, - 0x01, 0x01, 0xa2, 0x01, 0x14, 0x12, 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x50, 0x52, - 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x18, 0xe6, 0x07, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x7c, 0x0a, 0x0b, 0x6a, 0x73, - 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4a, 0x73, 0x6f, - 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x33, 0x88, 0x01, 0x01, 0x98, 0x01, 0x03, 0x98, - 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x17, 0x12, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, - 0x5f, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x18, 0xe6, 0x07, 0xa2, - 0x01, 0x0a, 0x12, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x18, 0xe7, 0x07, 0x52, 0x0a, 0x6a, 0x73, - 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5c, 0x0a, 0x0d, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x45, - 0x4c, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, - 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, - 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10, - 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, - 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x22, 0x37, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, - 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x02, 0x22, - 0x56, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x50, 0x45, - 0x41, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, - 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, - 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, - 0x41, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x43, 0x0a, 0x0e, 0x55, 0x74, 0x66, 0x38, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x54, 0x46, - 0x38, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, - 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x53, 0x0a, 0x0f, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, - 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, - 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, - 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, - 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, - 0x02, 0x22, 0x48, 0x0a, 0x0a, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, - 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, - 0x57, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, - 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x2a, 0x06, 0x08, 0xe8, 0x07, - 0x10, 0xe9, 0x07, 0x2a, 0x06, 0x08, 0xe9, 0x07, 0x10, 0xea, 0x07, 0x2a, 0x06, 0x08, 0xea, 0x07, - 0x10, 0xeb, 0x07, 0x2a, 0x06, 0x08, 0x8b, 0x4e, 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0x90, 0x4e, - 0x10, 0x91, 0x4e, 0x4a, 0x06, 0x08, 0xe7, 0x07, 0x10, 0xe8, 0x07, 0x22, 0xfe, 0x02, 0x0a, 0x12, - 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x73, 0x12, 0x58, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, - 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0f, - 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x41, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x1a, 0x87, 0x01, 0x0a, 0x18, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, - 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, - 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, - 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xa7, 0x02, 0x0a, - 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, - 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, - 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, - 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, - 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, - 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, - 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, - 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, - 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd0, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, - 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, - 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, - 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, + 0x2d, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, + 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x50, + 0x41, 0x43, 0x4b, 0x45, 0x44, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x15, + 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x7e, 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x74, 0x66, 0x38, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x29, 0x88, 0x01, 0x01, 0x98, + 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x18, 0xe6, + 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x18, 0xe7, 0x07, 0xb2, + 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0e, 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7e, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x26, 0x88, 0x01, + 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x14, 0x12, 0x0f, 0x4c, 0x45, 0x4e, 0x47, + 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xb2, 0x01, + 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x42, 0x39, 0x88, 0x01, 0x01, 0x98, 0x01, 0x03, 0x98, 0x01, 0x06, 0x98, 0x01, + 0x01, 0xa2, 0x01, 0x17, 0x12, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53, + 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, + 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0a, + 0x6a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5c, 0x0a, 0x0d, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, + 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x4c, 0x49, + 0x43, 0x49, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, + 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x52, 0x45, + 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x22, 0x37, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, + 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, + 0x02, 0x22, 0x56, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, + 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x43, + 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, + 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, + 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x49, 0x0a, 0x0e, 0x55, 0x74, 0x66, + 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55, + 0x54, 0x46, 0x38, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, + 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x52, 0x49, + 0x46, 0x59, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x04, + 0x08, 0x01, 0x10, 0x01, 0x22, 0x53, 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, + 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, + 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, + 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x0a, 0x4a, 0x73, 0x6f, + 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, + 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, + 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, + 0x54, 0x10, 0x02, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0x8b, 0x4e, 0x2a, 0x06, 0x08, 0x8b, 0x4e, + 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0x90, 0x4e, 0x10, 0x91, 0x4e, 0x4a, 0x06, 0x08, 0xe7, 0x07, + 0x10, 0xe8, 0x07, 0x22, 0xef, 0x03, 0x0a, 0x12, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x08, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, - 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, - 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, - 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, - 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, 0x10, 0x02, 0x2a, 0x92, 0x02, 0x0a, 0x07, 0x45, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, - 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0xe6, 0x07, 0x12, - 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, - 0x33, 0x10, 0xe7, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x32, 0x30, 0x32, 0x33, 0x10, 0xe8, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x32, 0x30, 0x32, 0x34, 0x10, 0xe9, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, - 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, - 0x59, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, - 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x17, - 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x37, 0x5f, 0x54, 0x45, - 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9d, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, - 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x38, 0x5f, 0x54, 0x45, 0x53, - 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9e, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, - 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x39, 0x5f, 0x54, 0x45, 0x53, 0x54, - 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9f, 0x8d, 0x06, 0x12, 0x13, 0x0a, 0x0b, 0x45, 0x44, 0x49, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x42, 0x7e, - 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, - 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, + 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, + 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x69, + 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xf8, 0x01, 0x0a, 0x18, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x14, 0x6f, + 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x13, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x61, + 0x62, 0x6c, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0e, 0x66, + 0x69, 0x78, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, + 0x52, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x4a, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce, + 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, + 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, + 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, + 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44, + 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, + 0xd0, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67, + 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x03, 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08, + 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61, + 0x6e, 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, + 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, + 0x10, 0x02, 0x2a, 0xa7, 0x02, 0x0a, 0x07, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, + 0x0a, 0x0f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, + 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, + 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x84, 0x07, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0xe6, 0x07, 0x12, 0x13, 0x0a, + 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10, + 0xe7, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x30, + 0x32, 0x33, 0x10, 0xe8, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x32, 0x30, 0x32, 0x34, 0x10, 0xe9, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, + 0x01, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x5f, 0x54, + 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, + 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x37, 0x5f, 0x54, 0x45, 0x53, 0x54, + 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9d, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x38, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, + 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9e, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x39, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, + 0x4e, 0x4c, 0x59, 0x10, 0x9f, 0x8d, 0x06, 0x12, 0x13, 0x0a, 0x0b, 0x45, 0x44, 0x49, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x42, 0x7e, 0x0a, 0x13, + 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, + 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, } var ( @@ -5084,8 +5242,8 @@ func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte { } var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 17) -var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 32) -var file_google_protobuf_descriptor_proto_goTypes = []interface{}{ +var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 33) +var file_google_protobuf_descriptor_proto_goTypes = []any{ (Edition)(0), // 0: google.protobuf.Edition (ExtensionRangeOptions_VerificationState)(0), // 1: google.protobuf.ExtensionRangeOptions.VerificationState (FieldDescriptorProto_Type)(0), // 2: google.protobuf.FieldDescriptorProto.Type @@ -5131,10 +5289,11 @@ var file_google_protobuf_descriptor_proto_goTypes = []interface{}{ (*ExtensionRangeOptions_Declaration)(nil), // 42: google.protobuf.ExtensionRangeOptions.Declaration (*EnumDescriptorProto_EnumReservedRange)(nil), // 43: google.protobuf.EnumDescriptorProto.EnumReservedRange (*FieldOptions_EditionDefault)(nil), // 44: google.protobuf.FieldOptions.EditionDefault - (*UninterpretedOption_NamePart)(nil), // 45: google.protobuf.UninterpretedOption.NamePart - (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 46: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - (*SourceCodeInfo_Location)(nil), // 47: google.protobuf.SourceCodeInfo.Location - (*GeneratedCodeInfo_Annotation)(nil), // 48: google.protobuf.GeneratedCodeInfo.Annotation + (*FieldOptions_FeatureSupport)(nil), // 45: google.protobuf.FieldOptions.FeatureSupport + (*UninterpretedOption_NamePart)(nil), // 46: google.protobuf.UninterpretedOption.NamePart + (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 47: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault + (*SourceCodeInfo_Location)(nil), // 48: google.protobuf.SourceCodeInfo.Location + (*GeneratedCodeInfo_Annotation)(nil), // 49: google.protobuf.GeneratedCodeInfo.Annotation } var file_google_protobuf_descriptor_proto_depIdxs = []int32{ 18, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto @@ -5179,40 +5338,46 @@ var file_google_protobuf_descriptor_proto_depIdxs = []int32{ 8, // 39: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType 44, // 40: google.protobuf.FieldOptions.edition_defaults:type_name -> google.protobuf.FieldOptions.EditionDefault 36, // 41: google.protobuf.FieldOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 42: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 43: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 44: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 45: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 46: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 47: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 48: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 36, // 49: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 50: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 9, // 51: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel - 36, // 52: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet - 35, // 53: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 45, // 54: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart - 10, // 55: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence - 11, // 56: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType - 12, // 57: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding - 13, // 58: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation - 14, // 59: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding - 15, // 60: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat - 46, // 61: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - 0, // 62: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition - 0, // 63: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition - 47, // 64: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location - 48, // 65: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation - 20, // 66: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions - 0, // 67: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition - 0, // 68: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition - 36, // 69: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features:type_name -> google.protobuf.FeatureSet - 16, // 70: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic - 71, // [71:71] is the sub-list for method output_type - 71, // [71:71] is the sub-list for method input_type - 71, // [71:71] is the sub-list for extension type_name - 71, // [71:71] is the sub-list for extension extendee - 0, // [0:71] is the sub-list for field type_name + 45, // 42: google.protobuf.FieldOptions.feature_support:type_name -> google.protobuf.FieldOptions.FeatureSupport + 35, // 43: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 44: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 45: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 46: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 47: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 48: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet + 45, // 49: google.protobuf.EnumValueOptions.feature_support:type_name -> google.protobuf.FieldOptions.FeatureSupport + 35, // 50: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 51: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 52: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 9, // 53: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel + 36, // 54: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 55: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 46, // 56: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart + 10, // 57: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence + 11, // 58: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType + 12, // 59: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding + 13, // 60: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation + 14, // 61: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding + 15, // 62: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat + 47, // 63: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault + 0, // 64: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition + 0, // 65: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition + 48, // 66: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location + 49, // 67: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation + 20, // 68: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions + 0, // 69: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition + 0, // 70: google.protobuf.FieldOptions.FeatureSupport.edition_introduced:type_name -> google.protobuf.Edition + 0, // 71: google.protobuf.FieldOptions.FeatureSupport.edition_deprecated:type_name -> google.protobuf.Edition + 0, // 72: google.protobuf.FieldOptions.FeatureSupport.edition_removed:type_name -> google.protobuf.Edition + 0, // 73: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition + 36, // 74: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features:type_name -> google.protobuf.FeatureSet + 36, // 75: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features:type_name -> google.protobuf.FeatureSet + 16, // 76: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic + 77, // [77:77] is the sub-list for method output_type + 77, // [77:77] is the sub-list for method input_type + 77, // [77:77] is the sub-list for extension type_name + 77, // [77:77] is the sub-list for extension extendee + 0, // [0:77] is the sub-list for field type_name } func init() { file_google_protobuf_descriptor_proto_init() } @@ -5221,7 +5386,7 @@ func file_google_protobuf_descriptor_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_google_protobuf_descriptor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*FileDescriptorSet); i { case 0: return &v.state @@ -5233,7 +5398,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*FileDescriptorProto); i { case 0: return &v.state @@ -5245,7 +5410,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*DescriptorProto); i { case 0: return &v.state @@ -5257,7 +5422,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ExtensionRangeOptions); i { case 0: return &v.state @@ -5271,7 +5436,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*FieldDescriptorProto); i { case 0: return &v.state @@ -5283,7 +5448,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*OneofDescriptorProto); i { case 0: return &v.state @@ -5295,7 +5460,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*EnumDescriptorProto); i { case 0: return &v.state @@ -5307,7 +5472,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*EnumValueDescriptorProto); i { case 0: return &v.state @@ -5319,7 +5484,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ServiceDescriptorProto); i { case 0: return &v.state @@ -5331,7 +5496,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*MethodDescriptorProto); i { case 0: return &v.state @@ -5343,7 +5508,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*FileOptions); i { case 0: return &v.state @@ -5357,7 +5522,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*MessageOptions); i { case 0: return &v.state @@ -5371,7 +5536,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*FieldOptions); i { case 0: return &v.state @@ -5385,7 +5550,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*OneofOptions); i { case 0: return &v.state @@ -5399,7 +5564,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*EnumOptions); i { case 0: return &v.state @@ -5413,7 +5578,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*EnumValueOptions); i { case 0: return &v.state @@ -5427,7 +5592,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ServiceOptions); i { case 0: return &v.state @@ -5441,7 +5606,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*MethodOptions); i { case 0: return &v.state @@ -5455,7 +5620,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*UninterpretedOption); i { case 0: return &v.state @@ -5467,7 +5632,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*FeatureSet); i { case 0: return &v.state @@ -5481,7 +5646,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*FeatureSetDefaults); i { case 0: return &v.state @@ -5493,7 +5658,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v any, i int) any { switch v := v.(*SourceCodeInfo); i { case 0: return &v.state @@ -5505,7 +5670,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v any, i int) any { switch v := v.(*GeneratedCodeInfo); i { case 0: return &v.state @@ -5517,7 +5682,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v any, i int) any { switch v := v.(*DescriptorProto_ExtensionRange); i { case 0: return &v.state @@ -5529,7 +5694,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v any, i int) any { switch v := v.(*DescriptorProto_ReservedRange); i { case 0: return &v.state @@ -5541,7 +5706,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v any, i int) any { switch v := v.(*ExtensionRangeOptions_Declaration); i { case 0: return &v.state @@ -5553,7 +5718,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v any, i int) any { switch v := v.(*EnumDescriptorProto_EnumReservedRange); i { case 0: return &v.state @@ -5565,7 +5730,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v any, i int) any { switch v := v.(*FieldOptions_EditionDefault); i { case 0: return &v.state @@ -5577,7 +5742,19 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*FieldOptions_FeatureSupport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[29].Exporter = func(v any, i int) any { switch v := v.(*UninterpretedOption_NamePart); i { case 0: return &v.state @@ -5589,7 +5766,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[30].Exporter = func(v any, i int) any { switch v := v.(*FeatureSetDefaults_FeatureSetEditionDefault); i { case 0: return &v.state @@ -5601,7 +5778,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[31].Exporter = func(v any, i int) any { switch v := v.(*SourceCodeInfo_Location); i { case 0: return &v.state @@ -5613,7 +5790,7 @@ func file_google_protobuf_descriptor_proto_init() { return nil } } - file_google_protobuf_descriptor_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_descriptor_proto_msgTypes[32].Exporter = func(v any, i int) any { switch v := v.(*GeneratedCodeInfo_Annotation); i { case 0: return &v.state @@ -5632,7 +5809,7 @@ func file_google_protobuf_descriptor_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc, NumEnums: 17, - NumMessages: 32, + NumMessages: 33, NumExtensions: 0, NumServices: 0, }, diff --git a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go index 25de5ae0..a2ca940c 100644 --- a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go +++ b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go @@ -6,9 +6,9 @@ // https://developers.google.com/open-source/licenses/bsd // Code generated by protoc-gen-go. DO NOT EDIT. -// source: reflect/protodesc/proto/go_features.proto +// source: google/protobuf/go_features.proto -package proto +package gofeaturespb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -30,7 +30,7 @@ type GoFeatures struct { func (x *GoFeatures) Reset() { *x = GoFeatures{} if protoimpl.UnsafeEnabled { - mi := &file_reflect_protodesc_proto_go_features_proto_msgTypes[0] + mi := &file_google_protobuf_go_features_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -43,7 +43,7 @@ func (x *GoFeatures) String() string { func (*GoFeatures) ProtoMessage() {} func (x *GoFeatures) ProtoReflect() protoreflect.Message { - mi := &file_reflect_protodesc_proto_go_features_proto_msgTypes[0] + mi := &file_google_protobuf_go_features_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -56,7 +56,7 @@ func (x *GoFeatures) ProtoReflect() protoreflect.Message { // Deprecated: Use GoFeatures.ProtoReflect.Descriptor instead. func (*GoFeatures) Descriptor() ([]byte, []int) { - return file_reflect_protodesc_proto_go_features_proto_rawDescGZIP(), []int{0} + return file_google_protobuf_go_features_proto_rawDescGZIP(), []int{0} } func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool { @@ -66,69 +66,73 @@ func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool { return false } -var file_reflect_protodesc_proto_go_features_proto_extTypes = []protoimpl.ExtensionInfo{ +var file_google_protobuf_go_features_proto_extTypes = []protoimpl.ExtensionInfo{ { ExtendedType: (*descriptorpb.FeatureSet)(nil), ExtensionType: (*GoFeatures)(nil), Field: 1002, - Name: "google.protobuf.go", + Name: "pb.go", Tag: "bytes,1002,opt,name=go", - Filename: "reflect/protodesc/proto/go_features.proto", + Filename: "google/protobuf/go_features.proto", }, } // Extension fields to descriptorpb.FeatureSet. var ( - // optional google.protobuf.GoFeatures go = 1002; - E_Go = &file_reflect_protodesc_proto_go_features_proto_extTypes[0] + // optional pb.GoFeatures go = 1002; + E_Go = &file_google_protobuf_go_features_proto_extTypes[0] ) -var File_reflect_protodesc_proto_go_features_proto protoreflect.FileDescriptor +var File_google_protobuf_go_features_proto protoreflect.FileDescriptor -var file_reflect_protodesc_proto_go_features_proto_rawDesc = []byte{ - 0x0a, 0x29, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x64, - 0x65, 0x73, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x5f, 0x66, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x20, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, - 0x0a, 0x0a, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x1a, - 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, - 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x42, 0x1f, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72, 0x75, - 0x65, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18, 0xe7, - 0x07, 0x52, 0x17, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, - 0x61, 0x6c, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x49, 0x0a, 0x02, 0x67, 0x6f, - 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x52, 0x02, 0x67, 0x6f, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x64, 0x65, 0x73, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, +var file_google_protobuf_go_features_proto_rawDesc = []byte{ + 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x67, 0x6f, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x0a, 0x47, 0x6f, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0xbe, 0x01, 0x0a, 0x1a, 0x6c, 0x65, 0x67, + 0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x5f, 0x6a, 0x73, + 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x80, 0x01, + 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72, + 0x75, 0x65, 0x18, 0x84, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18, + 0xe7, 0x07, 0xb2, 0x01, 0x5b, 0x08, 0xe8, 0x07, 0x10, 0xe8, 0x07, 0x1a, 0x53, 0x54, 0x68, 0x65, + 0x20, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x20, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, + 0x6c, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x41, 0x50, 0x49, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x70, + 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x69, 0x6c, 0x6c, + 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x61, + 0x20, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x20, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x52, 0x17, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, + 0x6c, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x3c, 0x0a, 0x02, 0x67, 0x6f, 0x12, + 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x52, 0x02, 0x67, 0x6f, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x6f, 0x66, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x70, 0x62, } var ( - file_reflect_protodesc_proto_go_features_proto_rawDescOnce sync.Once - file_reflect_protodesc_proto_go_features_proto_rawDescData = file_reflect_protodesc_proto_go_features_proto_rawDesc + file_google_protobuf_go_features_proto_rawDescOnce sync.Once + file_google_protobuf_go_features_proto_rawDescData = file_google_protobuf_go_features_proto_rawDesc ) -func file_reflect_protodesc_proto_go_features_proto_rawDescGZIP() []byte { - file_reflect_protodesc_proto_go_features_proto_rawDescOnce.Do(func() { - file_reflect_protodesc_proto_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_reflect_protodesc_proto_go_features_proto_rawDescData) +func file_google_protobuf_go_features_proto_rawDescGZIP() []byte { + file_google_protobuf_go_features_proto_rawDescOnce.Do(func() { + file_google_protobuf_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_go_features_proto_rawDescData) }) - return file_reflect_protodesc_proto_go_features_proto_rawDescData + return file_google_protobuf_go_features_proto_rawDescData } -var file_reflect_protodesc_proto_go_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_reflect_protodesc_proto_go_features_proto_goTypes = []interface{}{ - (*GoFeatures)(nil), // 0: google.protobuf.GoFeatures +var file_google_protobuf_go_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_protobuf_go_features_proto_goTypes = []any{ + (*GoFeatures)(nil), // 0: pb.GoFeatures (*descriptorpb.FeatureSet)(nil), // 1: google.protobuf.FeatureSet } -var file_reflect_protodesc_proto_go_features_proto_depIdxs = []int32{ - 1, // 0: google.protobuf.go:extendee -> google.protobuf.FeatureSet - 0, // 1: google.protobuf.go:type_name -> google.protobuf.GoFeatures +var file_google_protobuf_go_features_proto_depIdxs = []int32{ + 1, // 0: pb.go:extendee -> google.protobuf.FeatureSet + 0, // 1: pb.go:type_name -> pb.GoFeatures 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 1, // [1:2] is the sub-list for extension type_name @@ -136,13 +140,13 @@ var file_reflect_protodesc_proto_go_features_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_reflect_protodesc_proto_go_features_proto_init() } -func file_reflect_protodesc_proto_go_features_proto_init() { - if File_reflect_protodesc_proto_go_features_proto != nil { +func init() { file_google_protobuf_go_features_proto_init() } +func file_google_protobuf_go_features_proto_init() { + if File_google_protobuf_go_features_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_reflect_protodesc_proto_go_features_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_go_features_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*GoFeatures); i { case 0: return &v.state @@ -159,19 +163,19 @@ func file_reflect_protodesc_proto_go_features_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_reflect_protodesc_proto_go_features_proto_rawDesc, + RawDescriptor: file_google_protobuf_go_features_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 1, NumServices: 0, }, - GoTypes: file_reflect_protodesc_proto_go_features_proto_goTypes, - DependencyIndexes: file_reflect_protodesc_proto_go_features_proto_depIdxs, - MessageInfos: file_reflect_protodesc_proto_go_features_proto_msgTypes, - ExtensionInfos: file_reflect_protodesc_proto_go_features_proto_extTypes, + GoTypes: file_google_protobuf_go_features_proto_goTypes, + DependencyIndexes: file_google_protobuf_go_features_proto_depIdxs, + MessageInfos: file_google_protobuf_go_features_proto_msgTypes, + ExtensionInfos: file_google_protobuf_go_features_proto_extTypes, }.Build() - File_reflect_protodesc_proto_go_features_proto = out.File - file_reflect_protodesc_proto_go_features_proto_rawDesc = nil - file_reflect_protodesc_proto_go_features_proto_goTypes = nil - file_reflect_protodesc_proto_go_features_proto_depIdxs = nil + File_google_protobuf_go_features_proto = out.File + file_google_protobuf_go_features_proto_rawDesc = nil + file_google_protobuf_go_features_proto_goTypes = nil + file_google_protobuf_go_features_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto deleted file mode 100644 index d2465712..00000000 --- a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto +++ /dev/null @@ -1,28 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2023 Google Inc. All rights reserved. -// -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file or at -// https://developers.google.com/open-source/licenses/bsd - -syntax = "proto2"; - -package google.protobuf; - -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/protobuf/types/gofeaturespb"; - -extend google.protobuf.FeatureSet { - optional GoFeatures go = 1002; -} - -message GoFeatures { - // Whether or not to generate the deprecated UnmarshalJSON method for enums. - optional bool legacy_unmarshal_json_enum = 1 [ - retention = RETENTION_RUNTIME, - targets = TARGET_TYPE_ENUM, - edition_defaults = { edition: EDITION_PROTO2, value: "true" }, - edition_defaults = { edition: EDITION_PROTO3, value: "false" } - ]; -} diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go index 9de51be5..7172b43d 100644 --- a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go @@ -445,7 +445,7 @@ func file_google_protobuf_any_proto_rawDescGZIP() []byte { } var file_google_protobuf_any_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_any_proto_goTypes = []interface{}{ +var file_google_protobuf_any_proto_goTypes = []any{ (*Any)(nil), // 0: google.protobuf.Any } var file_google_protobuf_any_proto_depIdxs = []int32{ @@ -462,7 +462,7 @@ func file_google_protobuf_any_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_google_protobuf_any_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_any_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Any); i { case 0: return &v.state diff --git a/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go b/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go index df709a8d..1b71bcd9 100644 --- a/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go @@ -323,7 +323,7 @@ func file_google_protobuf_duration_proto_rawDescGZIP() []byte { } var file_google_protobuf_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_duration_proto_goTypes = []interface{}{ +var file_google_protobuf_duration_proto_goTypes = []any{ (*Duration)(nil), // 0: google.protobuf.Duration } var file_google_protobuf_duration_proto_depIdxs = []int32{ @@ -340,7 +340,7 @@ func file_google_protobuf_duration_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_google_protobuf_duration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_duration_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Duration); i { case 0: return &v.state diff --git a/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go b/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go index 9a7277ba..d87b4fb8 100644 --- a/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go @@ -115,7 +115,7 @@ func file_google_protobuf_empty_proto_rawDescGZIP() []byte { } var file_google_protobuf_empty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_empty_proto_goTypes = []interface{}{ +var file_google_protobuf_empty_proto_goTypes = []any{ (*Empty)(nil), // 0: google.protobuf.Empty } var file_google_protobuf_empty_proto_depIdxs = []int32{ @@ -132,7 +132,7 @@ func file_google_protobuf_empty_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_google_protobuf_empty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_empty_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Empty); i { case 0: return &v.state diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go index 81511a33..83a5a645 100644 --- a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go @@ -332,7 +332,7 @@ func file_google_protobuf_timestamp_proto_rawDescGZIP() []byte { } var file_google_protobuf_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_protobuf_timestamp_proto_goTypes = []interface{}{ +var file_google_protobuf_timestamp_proto_goTypes = []any{ (*Timestamp)(nil), // 0: google.protobuf.Timestamp } var file_google_protobuf_timestamp_proto_depIdxs = []int32{ @@ -349,7 +349,7 @@ func file_google_protobuf_timestamp_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_google_protobuf_timestamp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_google_protobuf_timestamp_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Timestamp); i { case 0: return &v.state diff --git a/vendor/modules.txt b/vendor/modules.txt index e17a4245..a497d5d7 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,5 +1,5 @@ -# filippo.io/edwards25519 v1.0.0 -## explicit; go 1.17 +# filippo.io/edwards25519 v1.1.0 +## explicit; go 1.20 filippo.io/edwards25519 filippo.io/edwards25519/field # github.com/Baozisoftware/qrcode-terminal-go v0.0.0-20170407111555-c0650d8dff0f @@ -119,8 +119,8 @@ github.com/gopackage/ddp # github.com/gorilla/schema v1.3.0 ## explicit; go 1.20 github.com/gorilla/schema -# github.com/gorilla/websocket v1.5.1 -## explicit; go 1.20 +# github.com/gorilla/websocket v1.5.3 +## explicit; go 1.12 github.com/gorilla/websocket # github.com/harmony-development/shibshib v0.0.0-20220101224523-c98059d09cfa ## explicit; go 1.15 @@ -339,7 +339,7 @@ github.com/rivo/uniseg # github.com/rs/xid v1.5.0 ## explicit; go 1.12 github.com/rs/xid -# github.com/rs/zerolog v1.32.0 +# github.com/rs/zerolog v1.33.0 ## explicit; go 1.15 github.com/rs/zerolog github.com/rs/zerolog/internal/cbor @@ -457,7 +457,7 @@ github.com/yaegashi/msgraph.go/msauth # github.com/zfjagann/golang-ring v0.0.0-20220330170733-19bcea1b6289 ## explicit github.com/zfjagann/golang-ring -# go.mau.fi/libsignal v0.1.0 +# go.mau.fi/libsignal v0.1.1 ## explicit; go 1.18 go.mau.fi/libsignal/cipher go.mau.fi/libsignal/ecc @@ -485,29 +485,45 @@ go.mau.fi/libsignal/util/errorhelper go.mau.fi/libsignal/util/keyhelper go.mau.fi/libsignal/util/medium go.mau.fi/libsignal/util/optional -# go.mau.fi/util v0.4.1 -## explicit; go 1.21 +# go.mau.fi/util v0.7.0 +## explicit; go 1.22 go.mau.fi/util/jsontime go.mau.fi/util/random go.mau.fi/util/retryafter -# go.mau.fi/whatsmeow v0.0.0-20240520180327-81f8f07f1dfb +# go.mau.fi/whatsmeow v0.0.0-20240625083845-6acab596dd8c ## explicit; go 1.21 go.mau.fi/whatsmeow go.mau.fi/whatsmeow/appstate go.mau.fi/whatsmeow/appstate/lthash go.mau.fi/whatsmeow/binary -go.mau.fi/whatsmeow/binary/armadillo -go.mau.fi/whatsmeow/binary/armadillo/armadilloutil -go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication -go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA -go.mau.fi/whatsmeow/binary/armadillo/waCommon -go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication -go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport -go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication -go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport -go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice go.mau.fi/whatsmeow/binary/proto go.mau.fi/whatsmeow/binary/token +go.mau.fi/whatsmeow/proto +go.mau.fi/whatsmeow/proto/armadilloutil +go.mau.fi/whatsmeow/proto/waAdv +go.mau.fi/whatsmeow/proto/waArmadilloApplication +go.mau.fi/whatsmeow/proto/waArmadilloXMA +go.mau.fi/whatsmeow/proto/waCert +go.mau.fi/whatsmeow/proto/waChatLockSettings +go.mau.fi/whatsmeow/proto/waCommon +go.mau.fi/whatsmeow/proto/waCompanionReg +go.mau.fi/whatsmeow/proto/waConsumerApplication +go.mau.fi/whatsmeow/proto/waDeviceCapabilities +go.mau.fi/whatsmeow/proto/waE2E +go.mau.fi/whatsmeow/proto/waEphemeral +go.mau.fi/whatsmeow/proto/waHistorySync +go.mau.fi/whatsmeow/proto/waMediaTransport +go.mau.fi/whatsmeow/proto/waMmsRetry +go.mau.fi/whatsmeow/proto/waMsgApplication +go.mau.fi/whatsmeow/proto/waMsgTransport +go.mau.fi/whatsmeow/proto/waMultiDevice +go.mau.fi/whatsmeow/proto/waQuickPromotionSurfaces +go.mau.fi/whatsmeow/proto/waServerSync +go.mau.fi/whatsmeow/proto/waSyncAction +go.mau.fi/whatsmeow/proto/waUserPassword +go.mau.fi/whatsmeow/proto/waVnameCert +go.mau.fi/whatsmeow/proto/waWa6 +go.mau.fi/whatsmeow/proto/waWeb go.mau.fi/whatsmeow/socket go.mau.fi/whatsmeow/store go.mau.fi/whatsmeow/store/sqlstore @@ -521,15 +537,14 @@ go.mau.fi/whatsmeow/util/log # go.uber.org/multierr v1.11.0 ## explicit; go 1.19 go.uber.org/multierr -# golang.org/x/crypto v0.23.0 -## explicit; go 1.18 +# golang.org/x/crypto v0.26.0 +## explicit; go 1.20 golang.org/x/crypto/acme golang.org/x/crypto/acme/autocert golang.org/x/crypto/bcrypt golang.org/x/crypto/blowfish golang.org/x/crypto/chacha20 golang.org/x/crypto/curve25519 -golang.org/x/crypto/curve25519/internal/field golang.org/x/crypto/hkdf golang.org/x/crypto/internal/alias golang.org/x/crypto/internal/poly1305 @@ -540,7 +555,7 @@ golang.org/x/crypto/scrypt golang.org/x/crypto/ssh golang.org/x/crypto/ssh/internal/bcrypt_pbkdf golang.org/x/crypto/ssh/terminal -# golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f +# golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa ## explicit; go 1.20 golang.org/x/exp/constraints golang.org/x/exp/slices @@ -553,7 +568,7 @@ golang.org/x/image/riff golang.org/x/image/vp8 golang.org/x/image/vp8l golang.org/x/image/webp -# golang.org/x/net v0.25.0 +# golang.org/x/net v0.28.0 ## explicit; go 1.18 golang.org/x/net/html golang.org/x/net/html/atom @@ -573,16 +588,16 @@ golang.org/x/oauth2 golang.org/x/oauth2/clientcredentials golang.org/x/oauth2/internal golang.org/x/oauth2/microsoft -# golang.org/x/sys v0.20.0 +# golang.org/x/sys v0.24.0 ## explicit; go 1.18 golang.org/x/sys/cpu golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows -# golang.org/x/term v0.20.0 +# golang.org/x/term v0.23.0 ## explicit; go 1.18 golang.org/x/term -# golang.org/x/text v0.15.0 +# golang.org/x/text v0.17.0 ## explicit; go 1.18 golang.org/x/text/encoding golang.org/x/text/encoding/charmap @@ -674,8 +689,8 @@ google.golang.org/grpc/serviceconfig google.golang.org/grpc/stats google.golang.org/grpc/status google.golang.org/grpc/tap -# google.golang.org/protobuf v1.33.0 -## explicit; go 1.17 +# google.golang.org/protobuf v1.34.2 +## explicit; go 1.20 google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protowire @@ -683,6 +698,7 @@ google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/editiondefaults +google.golang.org/protobuf/internal/editionssupport google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/json google.golang.org/protobuf/internal/encoding/messageset