gplayapi-ts
Version:
Google Play API wrapper in TypeScript
1,434 lines (1,433 loc) • 196 kB
JavaScript
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var googleplay_pb_exports = {};
__export(googleplay_pb_exports, {
Address: () => Address,
AddressChallenge: () => AddressChallenge,
AndroidAppDeliveryData: () => AndroidAppDeliveryData,
AndroidAppPatchData: () => AndroidAppPatchData,
AndroidBuildProto: () => AndroidBuildProto,
AndroidCheckinProto: () => AndroidCheckinProto,
AndroidCheckinRequest: () => AndroidCheckinRequest,
AndroidCheckinResponse: () => AndroidCheckinResponse,
AndroidEventProto: () => AndroidEventProto,
AnnotationLink: () => AnnotationLink,
Annotations: () => Annotations,
AppDetails: () => AppDetails,
AppFileMetadata: () => AppFileMetadata,
AppInfo: () => AppInfo,
AppInfoContainer: () => AppInfoContainer,
AppInfoSection: () => AppInfoSection,
Attribution: () => Attribution,
AuthenticationChallenge: () => AuthenticationChallenge,
Badge: () => Badge,
BulkDetailsEntry: () => BulkDetailsEntry,
BulkDetailsRequest: () => BulkDetailsRequest,
BulkDetailsResponse: () => BulkDetailsResponse,
BuyResponse: () => BuyResponse,
BuyResponse_CheckoutInfo: () => BuyResponse_CheckoutInfo,
BuyResponse_CheckoutInfo_CheckoutOption: () => BuyResponse_CheckoutInfo_CheckoutOption,
CategoryInfo: () => CategoryInfo,
CertificateSet: () => CertificateSet,
Challenge: () => Challenge,
Chip: () => Chip,
ClientLibraryState: () => ClientLibraryState,
CompressedAppData: () => CompressedAppData,
ConsumePurchaseResponse: () => ConsumePurchaseResponse,
ContainerMetadata: () => ContainerMetadata,
ContainerView: () => ContainerView,
Country: () => Country,
DebugInfo: () => DebugInfo,
DebugInfo_Timing: () => DebugInfo_Timing,
DeliveryResponse: () => DeliveryResponse,
Dependencies: () => Dependencies,
Dependency: () => Dependency,
DetailsResponse: () => DetailsResponse,
DeviceConfigurationProto: () => DeviceConfigurationProto,
DeviceFeature: () => DeviceFeature,
DirectPurchase: () => DirectPurchase,
DiscoveryBadge: () => DiscoveryBadge,
DiscoveryBadgeLink: () => DiscoveryBadgeLink,
DocId: () => DocId,
Document: () => Document,
DocumentDetails: () => DocumentDetails,
DocumentVariant: () => DocumentVariant,
EarlyAccessInfo: () => EarlyAccessInfo,
EditorChoice: () => EditorChoice,
EncryptionParams: () => EncryptionParams,
Feature: () => Feature,
Features: () => Features,
FileMetadata: () => FileMetadata,
FormCheckbox: () => FormCheckbox,
HttpCookie: () => HttpCookie,
Image: () => Image,
ImageContainer: () => ImageContainer,
ImagePalette: () => ImagePalette,
Image_Citation: () => Image_Citation,
Image_Dimension: () => Image_Dimension,
InputValidationError: () => InputValidationError,
Item: () => Item,
LibraryAppDetails: () => LibraryAppDetails,
LibraryInAppDetails: () => LibraryInAppDetails,
LibraryMutation: () => LibraryMutation,
LibrarySubscriptionDetails: () => LibrarySubscriptionDetails,
LibraryUpdate: () => LibraryUpdate,
LineItem: () => LineItem,
Link: () => Link,
LogRequest: () => LogRequest,
ModifyLibrary: () => ModifyLibrary,
Money: () => Money,
Offer: () => Offer,
PatchDetails: () => PatchDetails,
Payload: () => Payload,
Publisher: () => Publisher,
PublisherStream: () => PublisherStream,
PurchaseHistoryDetails: () => PurchaseHistoryDetails,
PurchaseNotificationResponse: () => PurchaseNotificationResponse,
PurchaseStatusResponse: () => PurchaseStatusResponse,
QuickLink: () => QuickLink,
Rated: () => Rated,
ResolvedLink: () => ResolvedLink,
ResponseWrapper: () => ResponseWrapper,
SectionImage: () => SectionImage,
SplitDeliveryData: () => SplitDeliveryData,
StreamLink: () => StreamLink,
SubscriptionDetails: () => SubscriptionDetails,
SubscriptionTerms: () => SubscriptionTerms,
TestingProgramDetails: () => TestingProgramDetails,
TestingProgramInfo: () => TestingProgramInfo,
TestingProgramRequest: () => TestingProgramRequest,
TestingProgramResponse: () => TestingProgramResponse,
TestingProgramResult: () => TestingProgramResult,
TimePeriod: () => TimePeriod,
Tip: () => Tip,
TocResponse: () => TocResponse,
TranslatedText: () => TranslatedText,
UploadDeviceConfigRequest: () => UploadDeviceConfigRequest,
UploadDeviceConfigResponse: () => UploadDeviceConfigResponse,
Warning: () => Warning,
WebViewChallenge: () => WebViewChallenge
});
module.exports = __toCommonJS(googleplay_pb_exports);
var import_protobuf = require("@bufbuild/protobuf");
class AndroidAppDeliveryData extends import_protobuf.Message {
/**
* @generated from field: optional int64 downloadSize = 1;
*/
downloadSize;
/**
* @generated from field: optional string sha1 = 2;
*/
sha1;
/**
* @generated from field: optional string downloadUrl = 3;
*/
downloadUrl;
/**
* @generated from field: repeated googleplay.AppFileMetadata additionalFile = 4;
*/
additionalFile = [];
/**
* @generated from field: repeated googleplay.HttpCookie downloadAuthCookie = 5;
*/
downloadAuthCookie = [];
/**
* @generated from field: optional bool forwardLocked = 6;
*/
forwardLocked;
/**
* @generated from field: optional int64 refundTimeout = 7;
*/
refundTimeout;
/**
* @generated from field: optional bool serverInitiated = 8 [default = true];
*/
serverInitiated;
/**
* @generated from field: optional int64 postInstallRefundWindowMillis = 9;
*/
postInstallRefundWindowMillis;
/**
* @generated from field: optional bool immediateStartNeeded = 10;
*/
immediateStartNeeded;
/**
* @generated from field: optional googleplay.AndroidAppPatchData patchData = 11;
*/
patchData;
/**
* @generated from field: optional googleplay.EncryptionParams encryptionParams = 12;
*/
encryptionParams;
/**
* @generated from field: optional string compressedDownloadUrl = 13;
*/
compressedDownloadUrl;
/**
* @generated from field: optional int64 compressedSize = 14;
*/
compressedSize;
/**
* @generated from field: repeated googleplay.SplitDeliveryData splitDeliveryData = 15;
*/
splitDeliveryData = [];
/**
* @generated from field: optional int32 installLocation = 16;
*/
installLocation;
/**
* @generated from field: optional int64 type = 17;
*/
type;
/**
* @generated from field: optional googleplay.CompressedAppData compressedAppData = 18;
*/
compressedAppData;
/**
* @generated from field: optional string sha256 = 19;
*/
sha256;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.AndroidAppDeliveryData";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "downloadSize", kind: "scalar", T: 3, opt: true },
{ no: 2, name: "sha1", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "downloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "additionalFile", kind: "message", T: AppFileMetadata, repeated: true },
{ no: 5, name: "downloadAuthCookie", kind: "message", T: HttpCookie, repeated: true },
{ no: 6, name: "forwardLocked", kind: "scalar", T: 8, opt: true },
{ no: 7, name: "refundTimeout", kind: "scalar", T: 3, opt: true },
{ no: 8, name: "serverInitiated", kind: "scalar", T: 8, opt: true, default: true },
{ no: 9, name: "postInstallRefundWindowMillis", kind: "scalar", T: 3, opt: true },
{ no: 10, name: "immediateStartNeeded", kind: "scalar", T: 8, opt: true },
{ no: 11, name: "patchData", kind: "message", T: AndroidAppPatchData, opt: true },
{ no: 12, name: "encryptionParams", kind: "message", T: EncryptionParams, opt: true },
{ no: 13, name: "compressedDownloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 14, name: "compressedSize", kind: "scalar", T: 3, opt: true },
{ no: 15, name: "splitDeliveryData", kind: "message", T: SplitDeliveryData, repeated: true },
{ no: 16, name: "installLocation", kind: "scalar", T: 5, opt: true },
{ no: 17, name: "type", kind: "scalar", T: 3, opt: true },
{ no: 18, name: "compressedAppData", kind: "message", T: CompressedAppData, opt: true },
{ no: 19, name: "sha256", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new AndroidAppDeliveryData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new AndroidAppDeliveryData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new AndroidAppDeliveryData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(AndroidAppDeliveryData, a, b);
}
}
class SplitDeliveryData extends import_protobuf.Message {
/**
* @generated from field: optional string name = 1;
*/
name;
/**
* @generated from field: optional int64 downloadSize = 2;
*/
downloadSize;
/**
* @generated from field: optional int64 compressedSize = 3;
*/
compressedSize;
/**
* @generated from field: optional string sha1 = 4;
*/
sha1;
/**
* @generated from field: optional string downloadUrl = 5;
*/
downloadUrl;
/**
* @generated from field: optional string compressedDownloadUrl = 6;
*/
compressedDownloadUrl;
/**
* @generated from field: optional googleplay.AndroidAppPatchData patchData = 7;
*/
patchData;
/**
* @generated from field: optional googleplay.CompressedAppData compressedAppData = 8;
*/
compressedAppData;
/**
* @generated from field: optional string sha256 = 9;
*/
sha256;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.SplitDeliveryData";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "downloadSize", kind: "scalar", T: 3, opt: true },
{ no: 3, name: "compressedSize", kind: "scalar", T: 3, opt: true },
{ no: 4, name: "sha1", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "downloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 6, name: "compressedDownloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 7, name: "patchData", kind: "message", T: AndroidAppPatchData, opt: true },
{ no: 8, name: "compressedAppData", kind: "message", T: CompressedAppData, opt: true },
{ no: 9, name: "sha256", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new SplitDeliveryData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new SplitDeliveryData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new SplitDeliveryData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(SplitDeliveryData, a, b);
}
}
class AndroidAppPatchData extends import_protobuf.Message {
/**
* @generated from field: optional int32 baseVersionCode = 1;
*/
baseVersionCode;
/**
* @generated from field: optional string baseSha1 = 2;
*/
baseSha1;
/**
* @generated from field: optional string downloadUrl = 3;
*/
downloadUrl;
/**
* @generated from field: optional int32 patchFormat = 4 [default = 1];
*/
patchFormat;
/**
* @generated from field: optional int64 maxPatchSize = 5;
*/
maxPatchSize;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.AndroidAppPatchData";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "baseVersionCode", kind: "scalar", T: 5, opt: true },
{ no: 2, name: "baseSha1", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "downloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "patchFormat", kind: "scalar", T: 5, opt: true, default: 1 },
{ no: 5, name: "maxPatchSize", kind: "scalar", T: 3, opt: true }
]);
static fromBinary(bytes, options) {
return new AndroidAppPatchData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new AndroidAppPatchData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new AndroidAppPatchData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(AndroidAppPatchData, a, b);
}
}
class CompressedAppData extends import_protobuf.Message {
/**
* @generated from field: optional int64 type = 1;
*/
type;
/**
* @generated from field: optional int64 size = 2;
*/
size;
/**
* @generated from field: optional string downloadUrl = 3;
*/
downloadUrl;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.CompressedAppData";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "type", kind: "scalar", T: 3, opt: true },
{ no: 2, name: "size", kind: "scalar", T: 3, opt: true },
{ no: 3, name: "downloadUrl", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new CompressedAppData().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new CompressedAppData().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new CompressedAppData().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(CompressedAppData, a, b);
}
}
class AppFileMetadata extends import_protobuf.Message {
/**
* @generated from field: optional int32 fileType = 1;
*/
fileType;
/**
* @generated from field: optional int32 versionCode = 2;
*/
versionCode;
/**
* @generated from field: optional int64 size = 3;
*/
size;
/**
* @generated from field: optional string downloadUrl = 4;
*/
downloadUrl;
/**
* @generated from field: optional googleplay.AndroidAppPatchData patchData = 5;
*/
patchData;
/**
* @generated from field: optional int64 compressedSize = 6;
*/
compressedSize;
/**
* @generated from field: optional string compressedDownloadUrl = 7;
*/
compressedDownloadUrl;
/**
* @generated from field: optional string sha1 = 8;
*/
sha1;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.AppFileMetadata";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "fileType", kind: "scalar", T: 5, opt: true },
{ no: 2, name: "versionCode", kind: "scalar", T: 5, opt: true },
{ no: 3, name: "size", kind: "scalar", T: 3, opt: true },
{ no: 4, name: "downloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "patchData", kind: "message", T: AndroidAppPatchData, opt: true },
{ no: 6, name: "compressedSize", kind: "scalar", T: 3, opt: true },
{ no: 7, name: "compressedDownloadUrl", kind: "scalar", T: 9, opt: true },
{ no: 8, name: "sha1", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new AppFileMetadata().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new AppFileMetadata().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new AppFileMetadata().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(AppFileMetadata, a, b);
}
}
class EncryptionParams extends import_protobuf.Message {
/**
* @generated from field: optional int32 version = 1;
*/
version;
/**
* @generated from field: optional string encryptionKey = 2;
*/
encryptionKey;
/**
* @generated from field: optional string hMacKey = 3;
*/
hMacKey;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.EncryptionParams";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "version", kind: "scalar", T: 5, opt: true },
{ no: 2, name: "encryptionKey", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "hMacKey", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new EncryptionParams().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new EncryptionParams().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new EncryptionParams().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(EncryptionParams, a, b);
}
}
class HttpCookie extends import_protobuf.Message {
/**
* @generated from field: optional string name = 1;
*/
name;
/**
* @generated from field: optional string value = 2;
*/
value;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.HttpCookie";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "value", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new HttpCookie().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new HttpCookie().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new HttpCookie().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(HttpCookie, a, b);
}
}
class Address extends import_protobuf.Message {
/**
* @generated from field: optional string name = 1;
*/
name;
/**
* @generated from field: optional string addressLine1 = 2;
*/
addressLine1;
/**
* @generated from field: optional string addressLine2 = 3;
*/
addressLine2;
/**
* @generated from field: optional string city = 4;
*/
city;
/**
* @generated from field: optional string state = 5;
*/
state;
/**
* @generated from field: optional string postalCode = 6;
*/
postalCode;
/**
* @generated from field: optional string postalCountry = 7;
*/
postalCountry;
/**
* @generated from field: optional string dependentLocality = 8;
*/
dependentLocality;
/**
* @generated from field: optional string sortingCode = 9;
*/
sortingCode;
/**
* @generated from field: optional string languageCode = 10;
*/
languageCode;
/**
* @generated from field: optional string phoneNumber = 11;
*/
phoneNumber;
/**
* @generated from field: optional bool deprecatedIsReduced = 12;
*/
deprecatedIsReduced;
/**
* @generated from field: optional string firstName = 13;
*/
firstName;
/**
* @generated from field: optional string lastName = 14;
*/
lastName;
/**
* @generated from field: optional string email = 15;
*/
email;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.Address";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "addressLine1", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "addressLine2", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "city", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "state", kind: "scalar", T: 9, opt: true },
{ no: 6, name: "postalCode", kind: "scalar", T: 9, opt: true },
{ no: 7, name: "postalCountry", kind: "scalar", T: 9, opt: true },
{ no: 8, name: "dependentLocality", kind: "scalar", T: 9, opt: true },
{ no: 9, name: "sortingCode", kind: "scalar", T: 9, opt: true },
{ no: 10, name: "languageCode", kind: "scalar", T: 9, opt: true },
{ no: 11, name: "phoneNumber", kind: "scalar", T: 9, opt: true },
{ no: 12, name: "deprecatedIsReduced", kind: "scalar", T: 8, opt: true },
{ no: 13, name: "firstName", kind: "scalar", T: 9, opt: true },
{ no: 14, name: "lastName", kind: "scalar", T: 9, opt: true },
{ no: 15, name: "email", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new Address().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Address().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Address().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(Address, a, b);
}
}
class DirectPurchase extends import_protobuf.Message {
/**
* @generated from field: optional string detailsUrl = 1;
*/
detailsUrl;
/**
* @generated from field: optional string purchaseItemId = 2;
*/
purchaseItemId;
/**
* @generated from field: optional string parentItemId = 3;
*/
parentItemId;
/**
* @generated from field: optional int32 offerType = 4 [default = 1];
*/
offerType;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.DirectPurchase";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "detailsUrl", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "purchaseItemId", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "parentItemId", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "offerType", kind: "scalar", T: 5, opt: true, default: 1 }
]);
static fromBinary(bytes, options) {
return new DirectPurchase().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new DirectPurchase().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new DirectPurchase().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(DirectPurchase, a, b);
}
}
class ResolvedLink extends import_protobuf.Message {
/**
* @generated from field: optional string detailsUrl = 1;
*/
detailsUrl;
/**
* @generated from field: optional string browseUrl = 2;
*/
browseUrl;
/**
* @generated from field: optional string searchUrl = 3;
*/
searchUrl;
/**
* @generated from field: optional googleplay.DirectPurchase directPurchase = 4;
*/
directPurchase;
/**
* @generated from field: optional string homeUrl = 5;
*/
homeUrl;
/**
* @generated from field: optional bytes serverLogsCookie = 7;
*/
serverLogsCookie;
/**
* @generated from field: optional googleplay.DocId DocId = 8;
*/
DocId;
/**
* @generated from field: optional int32 backend = 10;
*/
backend;
/**
* @generated from field: optional string query = 11;
*/
query;
/**
* @generated from field: optional string myAccountUrl = 12;
*/
myAccountUrl;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.ResolvedLink";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "detailsUrl", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "browseUrl", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "searchUrl", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "directPurchase", kind: "message", T: DirectPurchase, opt: true },
{ no: 5, name: "homeUrl", kind: "scalar", T: 9, opt: true },
{ no: 7, name: "serverLogsCookie", kind: "scalar", T: 12, opt: true },
{ no: 8, name: "DocId", kind: "message", T: DocId, opt: true },
{ no: 10, name: "backend", kind: "scalar", T: 5, opt: true },
{ no: 11, name: "query", kind: "scalar", T: 9, opt: true },
{ no: 12, name: "myAccountUrl", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new ResolvedLink().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new ResolvedLink().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new ResolvedLink().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(ResolvedLink, a, b);
}
}
class QuickLink extends import_protobuf.Message {
/**
* @generated from field: optional string name = 1;
*/
name;
/**
* @generated from field: optional googleplay.Image image = 2;
*/
image;
/**
* @generated from field: optional googleplay.ResolvedLink link = 3;
*/
link;
/**
* @generated from field: optional bool displayRequired = 4;
*/
displayRequired;
/**
* @generated from field: optional bytes serverLogsCookie = 5;
*/
serverLogsCookie;
/**
* @generated from field: optional int32 backendId = 6;
*/
backendId;
/**
* @generated from field: optional bool prismStyle = 7;
*/
prismStyle;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.QuickLink";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "image", kind: "message", T: Image, opt: true },
{ no: 3, name: "link", kind: "message", T: ResolvedLink, opt: true },
{ no: 4, name: "displayRequired", kind: "scalar", T: 8, opt: true },
{ no: 5, name: "serverLogsCookie", kind: "scalar", T: 12, opt: true },
{ no: 6, name: "backendId", kind: "scalar", T: 5, opt: true },
{ no: 7, name: "prismStyle", kind: "scalar", T: 8, opt: true }
]);
static fromBinary(bytes, options) {
return new QuickLink().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuickLink().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuickLink().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(QuickLink, a, b);
}
}
class BuyResponse extends import_protobuf.Message {
/**
* @generated from field: optional googleplay.PurchaseNotificationResponse purchaseResponse = 1;
*/
purchaseResponse;
/**
* @generated from field: optional googleplay.BuyResponse.CheckoutInfo checkoutinfo = 2;
*/
checkoutinfo;
/**
* @generated from field: optional string continueViaUrl = 8;
*/
continueViaUrl;
/**
* @generated from field: optional string purchaseStatusUrl = 9;
*/
purchaseStatusUrl;
/**
* @generated from field: optional string checkoutServiceId = 12;
*/
checkoutServiceId;
/**
* @generated from field: optional bool checkoutTokenRequired = 13;
*/
checkoutTokenRequired;
/**
* @generated from field: optional string baseCheckoutUrl = 14;
*/
baseCheckoutUrl;
/**
* @generated from field: repeated string tosCheckboxHtml = 37;
*/
tosCheckboxHtml = [];
/**
* @generated from field: optional int32 iabPermissionError = 38;
*/
iabPermissionError;
/**
* @generated from field: optional googleplay.PurchaseStatusResponse purchaseStatusResponse = 39;
*/
purchaseStatusResponse;
/**
* @generated from field: optional string purchaseCookie = 46;
*/
purchaseCookie;
/**
* @generated from field: optional googleplay.Challenge challenge = 49;
*/
challenge;
/**
* @generated from field: optional string addInstrumentPromptHtml = 50;
*/
addInstrumentPromptHtml;
/**
* @generated from field: optional string confirmButtonText = 51;
*/
confirmButtonText;
/**
* @generated from field: optional string permissionErrorTitleText = 52;
*/
permissionErrorTitleText;
/**
* @generated from field: optional string permissionErrorMessageText = 53;
*/
permissionErrorMessageText;
/**
* @generated from field: optional bytes serverLogsCookie = 54;
*/
serverLogsCookie;
/**
* @generated from field: optional string encodedDeliveryToken = 55;
*/
encodedDeliveryToken;
/**
* @generated from field: optional string unknownToken = 56;
*/
unknownToken;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.BuyResponse";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "purchaseResponse", kind: "message", T: PurchaseNotificationResponse, opt: true },
{ no: 2, name: "checkoutinfo", kind: "message", T: BuyResponse_CheckoutInfo, delimited: true, opt: true },
{ no: 8, name: "continueViaUrl", kind: "scalar", T: 9, opt: true },
{ no: 9, name: "purchaseStatusUrl", kind: "scalar", T: 9, opt: true },
{ no: 12, name: "checkoutServiceId", kind: "scalar", T: 9, opt: true },
{ no: 13, name: "checkoutTokenRequired", kind: "scalar", T: 8, opt: true },
{ no: 14, name: "baseCheckoutUrl", kind: "scalar", T: 9, opt: true },
{ no: 37, name: "tosCheckboxHtml", kind: "scalar", T: 9, repeated: true },
{ no: 38, name: "iabPermissionError", kind: "scalar", T: 5, opt: true },
{ no: 39, name: "purchaseStatusResponse", kind: "message", T: PurchaseStatusResponse, opt: true },
{ no: 46, name: "purchaseCookie", kind: "scalar", T: 9, opt: true },
{ no: 49, name: "challenge", kind: "message", T: Challenge, opt: true },
{ no: 50, name: "addInstrumentPromptHtml", kind: "scalar", T: 9, opt: true },
{ no: 51, name: "confirmButtonText", kind: "scalar", T: 9, opt: true },
{ no: 52, name: "permissionErrorTitleText", kind: "scalar", T: 9, opt: true },
{ no: 53, name: "permissionErrorMessageText", kind: "scalar", T: 9, opt: true },
{ no: 54, name: "serverLogsCookie", kind: "scalar", T: 12, opt: true },
{ no: 55, name: "encodedDeliveryToken", kind: "scalar", T: 9, opt: true },
{ no: 56, name: "unknownToken", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new BuyResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new BuyResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new BuyResponse().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(BuyResponse, a, b);
}
}
class BuyResponse_CheckoutInfo extends import_protobuf.Message {
/**
* @generated from field: optional googleplay.LineItem item = 3;
*/
item;
/**
* @generated from field: repeated googleplay.LineItem subItem = 4;
*/
subItem = [];
/**
* @generated from field: repeated googleplay.BuyResponse.CheckoutInfo.CheckoutOption checkoutoption = 5;
*/
checkoutoption = [];
/**
* @generated from field: optional string deprecatedCheckoutUrl = 10;
*/
deprecatedCheckoutUrl;
/**
* @generated from field: optional string addInstrumentUrl = 11;
*/
addInstrumentUrl;
/**
* @generated from field: repeated string footerHtml = 20;
*/
footerHtml = [];
/**
* @generated from field: repeated int32 eligibleInstrumentFamily = 31;
*/
eligibleInstrumentFamily = [];
/**
* @generated from field: repeated string footnoteHtml = 36;
*/
footnoteHtml = [];
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.BuyResponse.CheckoutInfo";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 3, name: "item", kind: "message", T: LineItem, opt: true },
{ no: 4, name: "subItem", kind: "message", T: LineItem, repeated: true },
{ no: 5, name: "checkoutoption", kind: "message", T: BuyResponse_CheckoutInfo_CheckoutOption, delimited: true, repeated: true },
{ no: 10, name: "deprecatedCheckoutUrl", kind: "scalar", T: 9, opt: true },
{ no: 11, name: "addInstrumentUrl", kind: "scalar", T: 9, opt: true },
{ no: 20, name: "footerHtml", kind: "scalar", T: 9, repeated: true },
{ no: 31, name: "eligibleInstrumentFamily", kind: "scalar", T: 5, repeated: true },
{ no: 36, name: "footnoteHtml", kind: "scalar", T: 9, repeated: true }
]);
static fromBinary(bytes, options) {
return new BuyResponse_CheckoutInfo().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new BuyResponse_CheckoutInfo().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new BuyResponse_CheckoutInfo().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(BuyResponse_CheckoutInfo, a, b);
}
}
class BuyResponse_CheckoutInfo_CheckoutOption extends import_protobuf.Message {
/**
* @generated from field: optional string formOfPayment = 6;
*/
formOfPayment;
/**
* @generated from field: optional string encodedAdjustedCart = 7;
*/
encodedAdjustedCart;
/**
* @generated from field: optional string instrumentId = 15;
*/
instrumentId;
/**
* @generated from field: repeated googleplay.LineItem item = 16;
*/
item = [];
/**
* @generated from field: repeated googleplay.LineItem subItem = 17;
*/
subItem = [];
/**
* @generated from field: optional googleplay.LineItem total = 18;
*/
total;
/**
* @generated from field: repeated string footerHtml = 19;
*/
footerHtml = [];
/**
* @generated from field: optional int32 instrumentFamily = 29;
*/
instrumentFamily;
/**
* @generated from field: repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
deprecatedInstrumentInapplicableReason = [];
/**
* @generated from field: optional bool selectedInstrument = 32;
*/
selectedInstrument;
/**
* @generated from field: optional googleplay.LineItem summary = 33;
*/
summary;
/**
* @generated from field: repeated string footnoteHtml = 35;
*/
footnoteHtml = [];
/**
* @generated from field: optional string purchaseCookie = 45;
*/
purchaseCookie;
/**
* @generated from field: repeated string disabledReason = 48;
*/
disabledReason = [];
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.BuyResponse.CheckoutInfo.CheckoutOption";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 6, name: "formOfPayment", kind: "scalar", T: 9, opt: true },
{ no: 7, name: "encodedAdjustedCart", kind: "scalar", T: 9, opt: true },
{ no: 15, name: "instrumentId", kind: "scalar", T: 9, opt: true },
{ no: 16, name: "item", kind: "message", T: LineItem, repeated: true },
{ no: 17, name: "subItem", kind: "message", T: LineItem, repeated: true },
{ no: 18, name: "total", kind: "message", T: LineItem, opt: true },
{ no: 19, name: "footerHtml", kind: "scalar", T: 9, repeated: true },
{ no: 29, name: "instrumentFamily", kind: "scalar", T: 5, opt: true },
{ no: 30, name: "deprecatedInstrumentInapplicableReason", kind: "scalar", T: 5, repeated: true },
{ no: 32, name: "selectedInstrument", kind: "scalar", T: 8, opt: true },
{ no: 33, name: "summary", kind: "message", T: LineItem, opt: true },
{ no: 35, name: "footnoteHtml", kind: "scalar", T: 9, repeated: true },
{ no: 45, name: "purchaseCookie", kind: "scalar", T: 9, opt: true },
{ no: 48, name: "disabledReason", kind: "scalar", T: 9, repeated: true }
]);
static fromBinary(bytes, options) {
return new BuyResponse_CheckoutInfo_CheckoutOption().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new BuyResponse_CheckoutInfo_CheckoutOption().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new BuyResponse_CheckoutInfo_CheckoutOption().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(BuyResponse_CheckoutInfo_CheckoutOption, a, b);
}
}
class LineItem extends import_protobuf.Message {
/**
* @generated from field: optional string name = 1;
*/
name;
/**
* @generated from field: optional string description = 2;
*/
description;
/**
* @generated from field: optional googleplay.Offer offer = 3;
*/
offer;
/**
* @generated from field: optional googleplay.Money amount = 4;
*/
amount;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.LineItem";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "name", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "description", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "offer", kind: "message", T: Offer, opt: true },
{ no: 4, name: "amount", kind: "message", T: Money, opt: true }
]);
static fromBinary(bytes, options) {
return new LineItem().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new LineItem().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new LineItem().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(LineItem, a, b);
}
}
class Money extends import_protobuf.Message {
/**
* @generated from field: optional int64 micros = 1;
*/
micros;
/**
* @generated from field: optional string currencyCode = 2;
*/
currencyCode;
/**
* @generated from field: optional string formattedAmount = 3;
*/
formattedAmount;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.Money";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "micros", kind: "scalar", T: 3, opt: true },
{ no: 2, name: "currencyCode", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "formattedAmount", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new Money().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new Money().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new Money().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(Money, a, b);
}
}
class PurchaseNotificationResponse extends import_protobuf.Message {
/**
* @generated from field: optional int32 status = 1;
*/
status;
/**
* @generated from field: optional googleplay.DebugInfo debugInfo = 2;
*/
debugInfo;
/**
* @generated from field: optional string localizedErrorMessage = 3;
*/
localizedErrorMessage;
/**
* @generated from field: optional string purchaseId = 4;
*/
purchaseId;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.PurchaseNotificationResponse";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "status", kind: "scalar", T: 5, opt: true },
{ no: 2, name: "debugInfo", kind: "message", T: DebugInfo, opt: true },
{ no: 3, name: "localizedErrorMessage", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "purchaseId", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {
return new PurchaseNotificationResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new PurchaseNotificationResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new PurchaseNotificationResponse().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(PurchaseNotificationResponse, a, b);
}
}
class PurchaseStatusResponse extends import_protobuf.Message {
/**
* @generated from field: optional int32 status = 1;
*/
status;
/**
* @generated from field: optional string statusMsg = 2;
*/
statusMsg;
/**
* @generated from field: optional string statusTitle = 3;
*/
statusTitle;
/**
* @generated from field: optional string briefMessage = 4;
*/
briefMessage;
/**
* @generated from field: optional string infoUrl = 5;
*/
infoUrl;
/**
* @generated from field: optional googleplay.LibraryUpdate libraryUpdate = 6;
*/
libraryUpdate;
/**
* @generated from field: optional googleplay.AndroidAppDeliveryData appDeliveryData = 8;
*/
appDeliveryData;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.PurchaseStatusResponse";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "status", kind: "scalar", T: 5, opt: true },
{ no: 2, name: "statusMsg", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "statusTitle", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "briefMessage", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "infoUrl", kind: "scalar", T: 9, opt: true },
{ no: 6, name: "libraryUpdate", kind: "message", T: LibraryUpdate, opt: true },
{ no: 8, name: "appDeliveryData", kind: "message", T: AndroidAppDeliveryData, opt: true }
]);
static fromBinary(bytes, options) {
return new PurchaseStatusResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new PurchaseStatusResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new PurchaseStatusResponse().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(PurchaseStatusResponse, a, b);
}
}
class PurchaseHistoryDetails extends import_protobuf.Message {
/**
* @generated from field: optional int64 purchaseTimestampMillis = 2;
*/
purchaseTimestampMillis;
/**
* @generated from field: optional string purchaseDetailsHtml = 3;
*/
purchaseDetailsHtml;
/**
* @generated from field: optional googleplay.Offer offer = 5;
*/
offer;
/**
* @generated from field: optional string purchaseStatus = 6;
*/
purchaseStatus;
/**
* @generated from field: optional string titleBylineHtml = 7;
*/
titleBylineHtml;
/**
* @generated from field: optional bytes clientRefundContext = 8;
*/
clientRefundContext;
/**
* @generated from field: optional googleplay.Image purchaseDetailsImage = 9;
*/
purchaseDetailsImage;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.PurchaseHistoryDetails";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 2, name: "purchaseTimestampMillis", kind: "scalar", T: 3, opt: true },
{ no: 3, name: "purchaseDetailsHtml", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "offer", kind: "message", T: Offer, opt: true },
{ no: 6, name: "purchaseStatus", kind: "scalar", T: 9, opt: true },
{ no: 7, name: "titleBylineHtml", kind: "scalar", T: 9, opt: true },
{ no: 8, name: "clientRefundContext", kind: "scalar", T: 12, opt: true },
{ no: 9, name: "purchaseDetailsImage", kind: "message", T: Image, opt: true }
]);
static fromBinary(bytes, options) {
return new PurchaseHistoryDetails().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new PurchaseHistoryDetails().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new PurchaseHistoryDetails().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(PurchaseHistoryDetails, a, b);
}
}
class AddressChallenge extends import_protobuf.Message {
/**
* @generated from field: optional string responseAddressParam = 1;
*/
responseAddressParam;
/**
* @generated from field: optional string responseCheckboxesParam = 2;
*/
responseCheckboxesParam;
/**
* @generated from field: optional string title = 3;
*/
title;
/**
* @generated from field: optional string descriptionHtml = 4;
*/
descriptionHtml;
/**
* @generated from field: repeated googleplay.FormCheckbox checkbox = 5;
*/
checkbox = [];
/**
* @generated from field: optional googleplay.Address address = 6;
*/
address;
/**
* @generated from field: repeated googleplay.InputValidationError errorInputField = 7;
*/
errorInputField = [];
/**
* @generated from field: optional string errorHtml = 8;
*/
errorHtml;
/**
* @generated from field: repeated int32 requiredField = 9;
*/
requiredField = [];
/**
* @generated from field: repeated googleplay.Country supportedCountry = 10;
*/
supportedCountry = [];
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.AddressChallenge";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "responseAddressParam", kind: "scalar", T: 9, opt: true },
{ no: 2, name: "responseCheckboxesParam", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "title", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "descriptionHtml", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "checkbox", kind: "message", T: FormCheckbox, repeated: true },
{ no: 6, name: "address", kind: "message", T: Address, opt: true },
{ no: 7, name: "errorInputField", kind: "message", T: InputValidationError, repeated: true },
{ no: 8, name: "errorHtml", kind: "scalar", T: 9, opt: true },
{ no: 9, name: "requiredField", kind: "scalar", T: 5, repeated: true },
{ no: 10, name: "supportedCountry", kind: "message", T: Country, repeated: true }
]);
static fromBinary(bytes, options) {
return new AddressChallenge().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new AddressChallenge().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new AddressChallenge().fromJsonString(jsonString, options);
}
static equals(a, b) {
return import_protobuf.proto2.util.equals(AddressChallenge, a, b);
}
}
class AuthenticationChallenge extends import_protobuf.Message {
/**
* @generated from field: optional int32 authenticationType = 1;
*/
authenticationType;
/**
* @generated from field: optional string responseAuthenticationTypeParam = 2;
*/
responseAuthenticationTypeParam;
/**
* @generated from field: optional string responseRetryCountParam = 3;
*/
responseRetryCountParam;
/**
* @generated from field: optional string pinHeaderText = 4;
*/
pinHeaderText;
/**
* @generated from field: optional string pinDescriptionTextHtml = 5;
*/
pinDescriptionTextHtml;
/**
* @generated from field: optional string gaiaHeaderText = 6;
*/
gaiaHeaderText;
/**
* @generated from field: optional string gaiaDescriptionTextHtml = 7;
*/
gaiaDescriptionTextHtml;
/**
* @generated from field: optional string gaiaFooterTextHtml = 8;
*/
gaiaFooterTextHtml;
/**
* @generated from field: optional googleplay.FormCheckbox gaiaOptOutCheckbox = 9;
*/
gaiaOptOutCheckbox;
/**
* @generated from field: optional string gaiaOptOutDescriptionTextHtml = 10;
*/
gaiaOptOutDescriptionTextHtml;
constructor(data) {
super();
import_protobuf.proto2.util.initPartial(data, this);
}
static runtime = import_protobuf.proto2;
static typeName = "googleplay.AuthenticationChallenge";
static fields = import_protobuf.proto2.util.newFieldList(() => [
{ no: 1, name: "authenticationType", kind: "scalar", T: 5, opt: true },
{ no: 2, name: "responseAuthenticationTypeParam", kind: "scalar", T: 9, opt: true },
{ no: 3, name: "responseRetryCountParam", kind: "scalar", T: 9, opt: true },
{ no: 4, name: "pinHeaderText", kind: "scalar", T: 9, opt: true },
{ no: 5, name: "pinDescriptionTextHtml", kind: "scalar", T: 9, opt: true },
{ no: 6, name: "gaiaHeaderText", kind: "scalar", T: 9, opt: true },
{ no: 7, name: "gaiaDescriptionTextHtml", kind: "scalar", T: 9, opt: true },
{ no: 8, name: "gaiaFooterTextHtml", kind: "scalar", T: 9, opt: true },
{ no: 9, name: "gaiaOptOutCheckbox", kind: "message", T: FormCheckbox, opt: true },
{ no: 10, name: "gaiaOptOutDescriptionTextHtml", kind: "scalar", T: 9, opt: true }
]);
static fromBinary(bytes, options) {