Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
it.auties.whatsapp.model.signal.auth.WebFeaturesSpec Maven / Gradle / Ivy
package it.auties.whatsapp.model.signal.auth;
import it.auties.whatsapp.model.signal.auth.WebFeatures;
import it.auties.protobuf.stream.ProtobufInputStream;
import it.auties.protobuf.stream.ProtobufOutputStream;
public class WebFeaturesSpec {
public static byte[] encode(WebFeatures protoInputObject) {
if(protoInputObject == null) {
return null;
}
var outputStream = new ProtobufOutputStream();
outputStream.writeInt32(1, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.labelsDisplay()));
outputStream.writeInt32(2, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.voipIndividualOutgoing()));
outputStream.writeInt32(3, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.groupsV3()));
outputStream.writeInt32(4, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.groupsV3Create()));
outputStream.writeInt32(5, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.changeNumberV2()));
outputStream.writeInt32(6, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.queryStatusV3Thumbnail()));
outputStream.writeInt32(7, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.liveLocations()));
outputStream.writeInt32(8, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.queryVname()));
outputStream.writeInt32(9, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.voipIndividualIncoming()));
outputStream.writeInt32(10, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.quickRepliesQuery()));
outputStream.writeInt32(11, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.payments()));
outputStream.writeInt32(12, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.stickerPackQuery()));
outputStream.writeInt32(13, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.liveLocationsFinal()));
outputStream.writeInt32(14, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.labelsEdit()));
outputStream.writeInt32(15, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.mediaUpload()));
outputStream.writeInt32(18, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.mediaUploadRichQuickReplies()));
outputStream.writeInt32(19, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.vnameV2()));
outputStream.writeInt32(20, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.videoPlaybackUrl()));
outputStream.writeInt32(21, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.statusRanking()));
outputStream.writeInt32(22, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.voipIndividualVideo()));
outputStream.writeInt32(23, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.thirdPartyStickers()));
outputStream.writeInt32(24, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.frequentlyForwardedSetting()));
outputStream.writeInt32(25, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.groupsV4JoinPermission()));
outputStream.writeInt32(26, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.recentStickers()));
outputStream.writeInt32(27, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.catalog()));
outputStream.writeInt32(28, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.starredStickers()));
outputStream.writeInt32(29, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.voipGroupCall()));
outputStream.writeInt32(30, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.templateMessage()));
outputStream.writeInt32(31, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.templateMessageInteractivity()));
outputStream.writeInt32(32, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.ephemeralMessages()));
outputStream.writeInt32(33, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.e2ENotificationSync()));
outputStream.writeInt32(34, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.recentStickersV2()));
outputStream.writeInt32(36, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.recentStickersV3()));
outputStream.writeInt32(37, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.userNotice()));
outputStream.writeInt32(39, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.support()));
outputStream.writeInt32(40, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.groupUiiCleanup()));
outputStream.writeInt32(41, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.groupDogfoodingInternalOnly()));
outputStream.writeInt32(42, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.settingsSync()));
outputStream.writeInt32(43, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.archiveV2()));
outputStream.writeInt32(44, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.ephemeralAllowGroupMembers()));
outputStream.writeInt32(45, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.ephemeral24HDuration()));
outputStream.writeInt32(46, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.mdForceUpgrade()));
outputStream.writeInt32(47, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.disappearingMode()));
outputStream.writeInt32(48, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.externalMdOptInAvailable()));
outputStream.writeInt32(49, it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.encode(protoInputObject.noDeleteMessageTimeLimit()));
return outputStream.toByteArray();
}
public static WebFeatures decode(byte[] input) {
if(input == null) {
return null;
}
var inputStream = new ProtobufInputStream(input);
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag labelsDisplay = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag voipIndividualOutgoing = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag groupsV3 = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag groupsV3Create = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag changeNumberV2 = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag queryStatusV3Thumbnail = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag liveLocations = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag queryVname = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag voipIndividualIncoming = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag quickRepliesQuery = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag payments = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag stickerPackQuery = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag liveLocationsFinal = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag labelsEdit = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag mediaUpload = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag mediaUploadRichQuickReplies = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag vnameV2 = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag videoPlaybackUrl = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag statusRanking = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag voipIndividualVideo = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag thirdPartyStickers = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag frequentlyForwardedSetting = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag groupsV4JoinPermission = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag recentStickers = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag catalog = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag starredStickers = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag voipGroupCall = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag templateMessage = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag templateMessageInteractivity = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag ephemeralMessages = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag e2ENotificationSync = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag recentStickersV2 = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag recentStickersV3 = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag userNotice = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag support = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag groupUiiCleanup = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag groupDogfoodingInternalOnly = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag settingsSync = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag archiveV2 = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag ephemeralAllowGroupMembers = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag ephemeral24HDuration = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag mdForceUpgrade = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag disappearingMode = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag externalMdOptInAvailable = null;
it.auties.whatsapp.model.signal.auth.WebFeatures.WebFeaturesFlag noDeleteMessageTimeLimit = null;
while(inputStream.readTag()) {
switch(inputStream.index()) {
case 1 -> labelsDisplay = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 2 -> voipIndividualOutgoing = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 3 -> groupsV3 = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 4 -> groupsV3Create = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 5 -> changeNumberV2 = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 6 -> queryStatusV3Thumbnail = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 7 -> liveLocations = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 8 -> queryVname = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 9 -> voipIndividualIncoming = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 10 -> quickRepliesQuery = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 11 -> payments = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 12 -> stickerPackQuery = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 13 -> liveLocationsFinal = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 14 -> labelsEdit = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 15 -> mediaUpload = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 18 -> mediaUploadRichQuickReplies = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 19 -> vnameV2 = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 20 -> videoPlaybackUrl = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 21 -> statusRanking = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 22 -> voipIndividualVideo = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 23 -> thirdPartyStickers = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 24 -> frequentlyForwardedSetting = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 25 -> groupsV4JoinPermission = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 26 -> recentStickers = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 27 -> catalog = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 28 -> starredStickers = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 29 -> voipGroupCall = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 30 -> templateMessage = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 31 -> templateMessageInteractivity = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 32 -> ephemeralMessages = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 33 -> e2ENotificationSync = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 34 -> recentStickersV2 = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 36 -> recentStickersV3 = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 37 -> userNotice = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 39 -> support = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 40 -> groupUiiCleanup = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 41 -> groupDogfoodingInternalOnly = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 42 -> settingsSync = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 43 -> archiveV2 = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 44 -> ephemeralAllowGroupMembers = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 45 -> ephemeral24HDuration = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 46 -> mdForceUpgrade = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 47 -> disappearingMode = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 48 -> externalMdOptInAvailable = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
case 49 -> noDeleteMessageTimeLimit = it.auties.whatsapp.model.signal.auth.WebFeaturesWebFeaturesFlagSpec.decode(inputStream.readInt32()).orElse(null);
default -> inputStream.skipBytes();
}
}
return new it.auties.whatsapp.model.signal.auth.WebFeatures(labelsDisplay, voipIndividualOutgoing, groupsV3, groupsV3Create, changeNumberV2, queryStatusV3Thumbnail, liveLocations, queryVname, voipIndividualIncoming, quickRepliesQuery, payments, stickerPackQuery, liveLocationsFinal, labelsEdit, mediaUpload, mediaUploadRichQuickReplies, vnameV2, videoPlaybackUrl, statusRanking, voipIndividualVideo, thirdPartyStickers, frequentlyForwardedSetting, groupsV4JoinPermission, recentStickers, catalog, starredStickers, voipGroupCall, templateMessage, templateMessageInteractivity, ephemeralMessages, e2ENotificationSync, recentStickersV2, recentStickersV3, userNotice, support, groupUiiCleanup, groupDogfoodingInternalOnly, settingsSync, archiveV2, ephemeralAllowGroupMembers, ephemeral24HDuration, mdForceUpgrade, disappearingMode, externalMdOptInAvailable, noDeleteMessageTimeLimit);
}
}