// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GooglePlay.proto
package com.akdeniz.googleplaycrawler;
public final class GooglePlay {
private GooglePlay() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface AndroidAppDeliveryDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int64 downloadSize = 1;
/**
* optional int64 downloadSize = 1;
*/
boolean hasDownloadSize();
/**
* optional int64 downloadSize = 1;
*/
long getDownloadSize();
// optional string signature = 2;
/**
* optional string signature = 2;
*/
boolean hasSignature();
/**
* optional string signature = 2;
*/
java.lang.String getSignature();
/**
* optional string signature = 2;
*/
com.google.protobuf.ByteString
getSignatureBytes();
// optional string downloadUrl = 3;
/**
* optional string downloadUrl = 3;
*/
boolean hasDownloadUrl();
/**
* optional string downloadUrl = 3;
*/
java.lang.String getDownloadUrl();
/**
* optional string downloadUrl = 3;
*/
com.google.protobuf.ByteString
getDownloadUrlBytes();
// repeated .AppFileMetadata additionalFile = 4;
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
java.util.List
getAdditionalFileList();
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata getAdditionalFile(int index);
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
int getAdditionalFileCount();
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder>
getAdditionalFileOrBuilderList();
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder getAdditionalFileOrBuilder(
int index);
// repeated .HttpCookie downloadAuthCookie = 5;
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
java.util.List
getDownloadAuthCookieList();
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie getDownloadAuthCookie(int index);
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
int getDownloadAuthCookieCount();
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder>
getDownloadAuthCookieOrBuilderList();
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder getDownloadAuthCookieOrBuilder(
int index);
// optional bool forwardLocked = 6;
/**
* optional bool forwardLocked = 6;
*/
boolean hasForwardLocked();
/**
* optional bool forwardLocked = 6;
*/
boolean getForwardLocked();
// optional int64 refundTimeout = 7;
/**
* optional int64 refundTimeout = 7;
*/
boolean hasRefundTimeout();
/**
* optional int64 refundTimeout = 7;
*/
long getRefundTimeout();
// optional bool serverInitiated = 8;
/**
* optional bool serverInitiated = 8;
*/
boolean hasServerInitiated();
/**
* optional bool serverInitiated = 8;
*/
boolean getServerInitiated();
// optional int64 postInstallRefundWindowMillis = 9;
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
boolean hasPostInstallRefundWindowMillis();
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
long getPostInstallRefundWindowMillis();
// optional bool immediateStartNeeded = 10;
/**
* optional bool immediateStartNeeded = 10;
*/
boolean hasImmediateStartNeeded();
/**
* optional bool immediateStartNeeded = 10;
*/
boolean getImmediateStartNeeded();
// optional .AndroidAppPatchData patchData = 11;
/**
* optional .AndroidAppPatchData patchData = 11;
*/
boolean hasPatchData();
/**
* optional .AndroidAppPatchData patchData = 11;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData getPatchData();
/**
* optional .AndroidAppPatchData patchData = 11;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder getPatchDataOrBuilder();
// optional .EncryptionParams encryptionParams = 12;
/**
* optional .EncryptionParams encryptionParams = 12;
*/
boolean hasEncryptionParams();
/**
* optional .EncryptionParams encryptionParams = 12;
*/
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams getEncryptionParams();
/**
* optional .EncryptionParams encryptionParams = 12;
*/
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder getEncryptionParamsOrBuilder();
}
/**
* Protobuf type {@code AndroidAppDeliveryData}
*/
public static final class AndroidAppDeliveryData extends
com.google.protobuf.GeneratedMessage
implements AndroidAppDeliveryDataOrBuilder {
// Use AndroidAppDeliveryData.newBuilder() to construct.
private AndroidAppDeliveryData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AndroidAppDeliveryData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AndroidAppDeliveryData defaultInstance;
public static AndroidAppDeliveryData getDefaultInstance() {
return defaultInstance;
}
public AndroidAppDeliveryData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AndroidAppDeliveryData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
downloadSize_ = input.readInt64();
break;
}
case 18: {
bitField0_ |= 0x00000002;
signature_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
downloadUrl_ = input.readBytes();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
additionalFile_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
additionalFile_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.PARSER, extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
downloadAuthCookie_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
downloadAuthCookie_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.PARSER, extensionRegistry));
break;
}
case 48: {
bitField0_ |= 0x00000008;
forwardLocked_ = input.readBool();
break;
}
case 56: {
bitField0_ |= 0x00000010;
refundTimeout_ = input.readInt64();
break;
}
case 64: {
bitField0_ |= 0x00000020;
serverInitiated_ = input.readBool();
break;
}
case 72: {
bitField0_ |= 0x00000040;
postInstallRefundWindowMillis_ = input.readInt64();
break;
}
case 80: {
bitField0_ |= 0x00000080;
immediateStartNeeded_ = input.readBool();
break;
}
case 90: {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
subBuilder = patchData_.toBuilder();
}
patchData_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(patchData_);
patchData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
break;
}
case 98: {
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder subBuilder = null;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
subBuilder = encryptionParams_.toBuilder();
}
encryptionParams_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(encryptionParams_);
encryptionParams_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000200;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
additionalFile_ = java.util.Collections.unmodifiableList(additionalFile_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
downloadAuthCookie_ = java.util.Collections.unmodifiableList(downloadAuthCookie_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppDeliveryData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppDeliveryData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.class, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AndroidAppDeliveryData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AndroidAppDeliveryData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int64 downloadSize = 1;
public static final int DOWNLOADSIZE_FIELD_NUMBER = 1;
private long downloadSize_;
/**
* optional int64 downloadSize = 1;
*/
public boolean hasDownloadSize() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 downloadSize = 1;
*/
public long getDownloadSize() {
return downloadSize_;
}
// optional string signature = 2;
public static final int SIGNATURE_FIELD_NUMBER = 2;
private java.lang.Object signature_;
/**
* optional string signature = 2;
*/
public boolean hasSignature() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string signature = 2;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
signature_ = s;
}
return s;
}
}
/**
* optional string signature = 2;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string downloadUrl = 3;
public static final int DOWNLOADURL_FIELD_NUMBER = 3;
private java.lang.Object downloadUrl_;
/**
* optional string downloadUrl = 3;
*/
public boolean hasDownloadUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string downloadUrl = 3;
*/
public java.lang.String getDownloadUrl() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
downloadUrl_ = s;
}
return s;
}
}
/**
* optional string downloadUrl = 3;
*/
public com.google.protobuf.ByteString
getDownloadUrlBytes() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .AppFileMetadata additionalFile = 4;
public static final int ADDITIONALFILE_FIELD_NUMBER = 4;
private java.util.List additionalFile_;
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public java.util.List getAdditionalFileList() {
return additionalFile_;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder>
getAdditionalFileOrBuilderList() {
return additionalFile_;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public int getAdditionalFileCount() {
return additionalFile_.size();
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata getAdditionalFile(int index) {
return additionalFile_.get(index);
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder getAdditionalFileOrBuilder(
int index) {
return additionalFile_.get(index);
}
// repeated .HttpCookie downloadAuthCookie = 5;
public static final int DOWNLOADAUTHCOOKIE_FIELD_NUMBER = 5;
private java.util.List downloadAuthCookie_;
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public java.util.List getDownloadAuthCookieList() {
return downloadAuthCookie_;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder>
getDownloadAuthCookieOrBuilderList() {
return downloadAuthCookie_;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public int getDownloadAuthCookieCount() {
return downloadAuthCookie_.size();
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie getDownloadAuthCookie(int index) {
return downloadAuthCookie_.get(index);
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder getDownloadAuthCookieOrBuilder(
int index) {
return downloadAuthCookie_.get(index);
}
// optional bool forwardLocked = 6;
public static final int FORWARDLOCKED_FIELD_NUMBER = 6;
private boolean forwardLocked_;
/**
* optional bool forwardLocked = 6;
*/
public boolean hasForwardLocked() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool forwardLocked = 6;
*/
public boolean getForwardLocked() {
return forwardLocked_;
}
// optional int64 refundTimeout = 7;
public static final int REFUNDTIMEOUT_FIELD_NUMBER = 7;
private long refundTimeout_;
/**
* optional int64 refundTimeout = 7;
*/
public boolean hasRefundTimeout() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int64 refundTimeout = 7;
*/
public long getRefundTimeout() {
return refundTimeout_;
}
// optional bool serverInitiated = 8;
public static final int SERVERINITIATED_FIELD_NUMBER = 8;
private boolean serverInitiated_;
/**
* optional bool serverInitiated = 8;
*/
public boolean hasServerInitiated() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool serverInitiated = 8;
*/
public boolean getServerInitiated() {
return serverInitiated_;
}
// optional int64 postInstallRefundWindowMillis = 9;
public static final int POSTINSTALLREFUNDWINDOWMILLIS_FIELD_NUMBER = 9;
private long postInstallRefundWindowMillis_;
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
public boolean hasPostInstallRefundWindowMillis() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
public long getPostInstallRefundWindowMillis() {
return postInstallRefundWindowMillis_;
}
// optional bool immediateStartNeeded = 10;
public static final int IMMEDIATESTARTNEEDED_FIELD_NUMBER = 10;
private boolean immediateStartNeeded_;
/**
* optional bool immediateStartNeeded = 10;
*/
public boolean hasImmediateStartNeeded() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional bool immediateStartNeeded = 10;
*/
public boolean getImmediateStartNeeded() {
return immediateStartNeeded_;
}
// optional .AndroidAppPatchData patchData = 11;
public static final int PATCHDATA_FIELD_NUMBER = 11;
private com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData patchData_;
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public boolean hasPatchData() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData getPatchData() {
return patchData_;
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder getPatchDataOrBuilder() {
return patchData_;
}
// optional .EncryptionParams encryptionParams = 12;
public static final int ENCRYPTIONPARAMS_FIELD_NUMBER = 12;
private com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams encryptionParams_;
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public boolean hasEncryptionParams() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams getEncryptionParams() {
return encryptionParams_;
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder getEncryptionParamsOrBuilder() {
return encryptionParams_;
}
private void initFields() {
downloadSize_ = 0L;
signature_ = "";
downloadUrl_ = "";
additionalFile_ = java.util.Collections.emptyList();
downloadAuthCookie_ = java.util.Collections.emptyList();
forwardLocked_ = false;
refundTimeout_ = 0L;
serverInitiated_ = false;
postInstallRefundWindowMillis_ = 0L;
immediateStartNeeded_ = false;
patchData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance();
encryptionParams_ = com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, downloadSize_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getSignatureBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getDownloadUrlBytes());
}
for (int i = 0; i < additionalFile_.size(); i++) {
output.writeMessage(4, additionalFile_.get(i));
}
for (int i = 0; i < downloadAuthCookie_.size(); i++) {
output.writeMessage(5, downloadAuthCookie_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(6, forwardLocked_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt64(7, refundTimeout_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(8, serverInitiated_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt64(9, postInstallRefundWindowMillis_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBool(10, immediateStartNeeded_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(11, patchData_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeMessage(12, encryptionParams_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, downloadSize_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getSignatureBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getDownloadUrlBytes());
}
for (int i = 0; i < additionalFile_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, additionalFile_.get(i));
}
for (int i = 0; i < downloadAuthCookie_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, downloadAuthCookie_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, forwardLocked_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, refundTimeout_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, serverInitiated_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, postInstallRefundWindowMillis_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, immediateStartNeeded_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, patchData_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, encryptionParams_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AndroidAppDeliveryData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppDeliveryData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppDeliveryData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.class, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAdditionalFileFieldBuilder();
getDownloadAuthCookieFieldBuilder();
getPatchDataFieldBuilder();
getEncryptionParamsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
downloadSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
signature_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
downloadUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
if (additionalFileBuilder_ == null) {
additionalFile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
additionalFileBuilder_.clear();
}
if (downloadAuthCookieBuilder_ == null) {
downloadAuthCookie_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
downloadAuthCookieBuilder_.clear();
}
forwardLocked_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
refundTimeout_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
serverInitiated_ = false;
bitField0_ = (bitField0_ & ~0x00000080);
postInstallRefundWindowMillis_ = 0L;
bitField0_ = (bitField0_ & ~0x00000100);
immediateStartNeeded_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
if (patchDataBuilder_ == null) {
patchData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance();
} else {
patchDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
if (encryptionParamsBuilder_ == null) {
encryptionParams_ = com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance();
} else {
encryptionParamsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppDeliveryData_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData build() {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData result = new com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.downloadSize_ = downloadSize_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.signature_ = signature_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.downloadUrl_ = downloadUrl_;
if (additionalFileBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
additionalFile_ = java.util.Collections.unmodifiableList(additionalFile_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.additionalFile_ = additionalFile_;
} else {
result.additionalFile_ = additionalFileBuilder_.build();
}
if (downloadAuthCookieBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
downloadAuthCookie_ = java.util.Collections.unmodifiableList(downloadAuthCookie_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.downloadAuthCookie_ = downloadAuthCookie_;
} else {
result.downloadAuthCookie_ = downloadAuthCookieBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000008;
}
result.forwardLocked_ = forwardLocked_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000010;
}
result.refundTimeout_ = refundTimeout_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.serverInitiated_ = serverInitiated_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000040;
}
result.postInstallRefundWindowMillis_ = postInstallRefundWindowMillis_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000080;
}
result.immediateStartNeeded_ = immediateStartNeeded_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000100;
}
if (patchDataBuilder_ == null) {
result.patchData_ = patchData_;
} else {
result.patchData_ = patchDataBuilder_.build();
}
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000200;
}
if (encryptionParamsBuilder_ == null) {
result.encryptionParams_ = encryptionParams_;
} else {
result.encryptionParams_ = encryptionParamsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance()) return this;
if (other.hasDownloadSize()) {
setDownloadSize(other.getDownloadSize());
}
if (other.hasSignature()) {
bitField0_ |= 0x00000002;
signature_ = other.signature_;
onChanged();
}
if (other.hasDownloadUrl()) {
bitField0_ |= 0x00000004;
downloadUrl_ = other.downloadUrl_;
onChanged();
}
if (additionalFileBuilder_ == null) {
if (!other.additionalFile_.isEmpty()) {
if (additionalFile_.isEmpty()) {
additionalFile_ = other.additionalFile_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureAdditionalFileIsMutable();
additionalFile_.addAll(other.additionalFile_);
}
onChanged();
}
} else {
if (!other.additionalFile_.isEmpty()) {
if (additionalFileBuilder_.isEmpty()) {
additionalFileBuilder_.dispose();
additionalFileBuilder_ = null;
additionalFile_ = other.additionalFile_;
bitField0_ = (bitField0_ & ~0x00000008);
additionalFileBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAdditionalFileFieldBuilder() : null;
} else {
additionalFileBuilder_.addAllMessages(other.additionalFile_);
}
}
}
if (downloadAuthCookieBuilder_ == null) {
if (!other.downloadAuthCookie_.isEmpty()) {
if (downloadAuthCookie_.isEmpty()) {
downloadAuthCookie_ = other.downloadAuthCookie_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.addAll(other.downloadAuthCookie_);
}
onChanged();
}
} else {
if (!other.downloadAuthCookie_.isEmpty()) {
if (downloadAuthCookieBuilder_.isEmpty()) {
downloadAuthCookieBuilder_.dispose();
downloadAuthCookieBuilder_ = null;
downloadAuthCookie_ = other.downloadAuthCookie_;
bitField0_ = (bitField0_ & ~0x00000010);
downloadAuthCookieBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getDownloadAuthCookieFieldBuilder() : null;
} else {
downloadAuthCookieBuilder_.addAllMessages(other.downloadAuthCookie_);
}
}
}
if (other.hasForwardLocked()) {
setForwardLocked(other.getForwardLocked());
}
if (other.hasRefundTimeout()) {
setRefundTimeout(other.getRefundTimeout());
}
if (other.hasServerInitiated()) {
setServerInitiated(other.getServerInitiated());
}
if (other.hasPostInstallRefundWindowMillis()) {
setPostInstallRefundWindowMillis(other.getPostInstallRefundWindowMillis());
}
if (other.hasImmediateStartNeeded()) {
setImmediateStartNeeded(other.getImmediateStartNeeded());
}
if (other.hasPatchData()) {
mergePatchData(other.getPatchData());
}
if (other.hasEncryptionParams()) {
mergeEncryptionParams(other.getEncryptionParams());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int64 downloadSize = 1;
private long downloadSize_ ;
/**
* optional int64 downloadSize = 1;
*/
public boolean hasDownloadSize() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 downloadSize = 1;
*/
public long getDownloadSize() {
return downloadSize_;
}
/**
* optional int64 downloadSize = 1;
*/
public Builder setDownloadSize(long value) {
bitField0_ |= 0x00000001;
downloadSize_ = value;
onChanged();
return this;
}
/**
* optional int64 downloadSize = 1;
*/
public Builder clearDownloadSize() {
bitField0_ = (bitField0_ & ~0x00000001);
downloadSize_ = 0L;
onChanged();
return this;
}
// optional string signature = 2;
private java.lang.Object signature_ = "";
/**
* optional string signature = 2;
*/
public boolean hasSignature() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string signature = 2;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
signature_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string signature = 2;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string signature = 2;
*/
public Builder setSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
signature_ = value;
onChanged();
return this;
}
/**
* optional string signature = 2;
*/
public Builder clearSignature() {
bitField0_ = (bitField0_ & ~0x00000002);
signature_ = getDefaultInstance().getSignature();
onChanged();
return this;
}
/**
* optional string signature = 2;
*/
public Builder setSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
signature_ = value;
onChanged();
return this;
}
// optional string downloadUrl = 3;
private java.lang.Object downloadUrl_ = "";
/**
* optional string downloadUrl = 3;
*/
public boolean hasDownloadUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string downloadUrl = 3;
*/
public java.lang.String getDownloadUrl() {
java.lang.Object ref = downloadUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
downloadUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string downloadUrl = 3;
*/
public com.google.protobuf.ByteString
getDownloadUrlBytes() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string downloadUrl = 3;
*/
public Builder setDownloadUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
downloadUrl_ = value;
onChanged();
return this;
}
/**
* optional string downloadUrl = 3;
*/
public Builder clearDownloadUrl() {
bitField0_ = (bitField0_ & ~0x00000004);
downloadUrl_ = getDefaultInstance().getDownloadUrl();
onChanged();
return this;
}
/**
* optional string downloadUrl = 3;
*/
public Builder setDownloadUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
downloadUrl_ = value;
onChanged();
return this;
}
// repeated .AppFileMetadata additionalFile = 4;
private java.util.List additionalFile_ =
java.util.Collections.emptyList();
private void ensureAdditionalFileIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
additionalFile_ = new java.util.ArrayList(additionalFile_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder> additionalFileBuilder_;
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public java.util.List getAdditionalFileList() {
if (additionalFileBuilder_ == null) {
return java.util.Collections.unmodifiableList(additionalFile_);
} else {
return additionalFileBuilder_.getMessageList();
}
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public int getAdditionalFileCount() {
if (additionalFileBuilder_ == null) {
return additionalFile_.size();
} else {
return additionalFileBuilder_.getCount();
}
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata getAdditionalFile(int index) {
if (additionalFileBuilder_ == null) {
return additionalFile_.get(index);
} else {
return additionalFileBuilder_.getMessage(index);
}
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder setAdditionalFile(
int index, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata value) {
if (additionalFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalFileIsMutable();
additionalFile_.set(index, value);
onChanged();
} else {
additionalFileBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder setAdditionalFile(
int index, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder builderForValue) {
if (additionalFileBuilder_ == null) {
ensureAdditionalFileIsMutable();
additionalFile_.set(index, builderForValue.build());
onChanged();
} else {
additionalFileBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder addAdditionalFile(com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata value) {
if (additionalFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalFileIsMutable();
additionalFile_.add(value);
onChanged();
} else {
additionalFileBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder addAdditionalFile(
int index, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata value) {
if (additionalFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAdditionalFileIsMutable();
additionalFile_.add(index, value);
onChanged();
} else {
additionalFileBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder addAdditionalFile(
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder builderForValue) {
if (additionalFileBuilder_ == null) {
ensureAdditionalFileIsMutable();
additionalFile_.add(builderForValue.build());
onChanged();
} else {
additionalFileBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder addAdditionalFile(
int index, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder builderForValue) {
if (additionalFileBuilder_ == null) {
ensureAdditionalFileIsMutable();
additionalFile_.add(index, builderForValue.build());
onChanged();
} else {
additionalFileBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder addAllAdditionalFile(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata> values) {
if (additionalFileBuilder_ == null) {
ensureAdditionalFileIsMutable();
super.addAll(values, additionalFile_);
onChanged();
} else {
additionalFileBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder clearAdditionalFile() {
if (additionalFileBuilder_ == null) {
additionalFile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
additionalFileBuilder_.clear();
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public Builder removeAdditionalFile(int index) {
if (additionalFileBuilder_ == null) {
ensureAdditionalFileIsMutable();
additionalFile_.remove(index);
onChanged();
} else {
additionalFileBuilder_.remove(index);
}
return this;
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder getAdditionalFileBuilder(
int index) {
return getAdditionalFileFieldBuilder().getBuilder(index);
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder getAdditionalFileOrBuilder(
int index) {
if (additionalFileBuilder_ == null) {
return additionalFile_.get(index); } else {
return additionalFileBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder>
getAdditionalFileOrBuilderList() {
if (additionalFileBuilder_ != null) {
return additionalFileBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(additionalFile_);
}
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder addAdditionalFileBuilder() {
return getAdditionalFileFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.getDefaultInstance());
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder addAdditionalFileBuilder(
int index) {
return getAdditionalFileFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.getDefaultInstance());
}
/**
* repeated .AppFileMetadata additionalFile = 4;
*/
public java.util.List
getAdditionalFileBuilderList() {
return getAdditionalFileFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder>
getAdditionalFileFieldBuilder() {
if (additionalFileBuilder_ == null) {
additionalFileBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder>(
additionalFile_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
additionalFile_ = null;
}
return additionalFileBuilder_;
}
// repeated .HttpCookie downloadAuthCookie = 5;
private java.util.List downloadAuthCookie_ =
java.util.Collections.emptyList();
private void ensureDownloadAuthCookieIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
downloadAuthCookie_ = new java.util.ArrayList(downloadAuthCookie_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder> downloadAuthCookieBuilder_;
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public java.util.List getDownloadAuthCookieList() {
if (downloadAuthCookieBuilder_ == null) {
return java.util.Collections.unmodifiableList(downloadAuthCookie_);
} else {
return downloadAuthCookieBuilder_.getMessageList();
}
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public int getDownloadAuthCookieCount() {
if (downloadAuthCookieBuilder_ == null) {
return downloadAuthCookie_.size();
} else {
return downloadAuthCookieBuilder_.getCount();
}
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie getDownloadAuthCookie(int index) {
if (downloadAuthCookieBuilder_ == null) {
return downloadAuthCookie_.get(index);
} else {
return downloadAuthCookieBuilder_.getMessage(index);
}
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder setDownloadAuthCookie(
int index, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie value) {
if (downloadAuthCookieBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.set(index, value);
onChanged();
} else {
downloadAuthCookieBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder setDownloadAuthCookie(
int index, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder builderForValue) {
if (downloadAuthCookieBuilder_ == null) {
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.set(index, builderForValue.build());
onChanged();
} else {
downloadAuthCookieBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder addDownloadAuthCookie(com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie value) {
if (downloadAuthCookieBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.add(value);
onChanged();
} else {
downloadAuthCookieBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder addDownloadAuthCookie(
int index, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie value) {
if (downloadAuthCookieBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.add(index, value);
onChanged();
} else {
downloadAuthCookieBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder addDownloadAuthCookie(
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder builderForValue) {
if (downloadAuthCookieBuilder_ == null) {
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.add(builderForValue.build());
onChanged();
} else {
downloadAuthCookieBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder addDownloadAuthCookie(
int index, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder builderForValue) {
if (downloadAuthCookieBuilder_ == null) {
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.add(index, builderForValue.build());
onChanged();
} else {
downloadAuthCookieBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder addAllDownloadAuthCookie(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie> values) {
if (downloadAuthCookieBuilder_ == null) {
ensureDownloadAuthCookieIsMutable();
super.addAll(values, downloadAuthCookie_);
onChanged();
} else {
downloadAuthCookieBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder clearDownloadAuthCookie() {
if (downloadAuthCookieBuilder_ == null) {
downloadAuthCookie_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
downloadAuthCookieBuilder_.clear();
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public Builder removeDownloadAuthCookie(int index) {
if (downloadAuthCookieBuilder_ == null) {
ensureDownloadAuthCookieIsMutable();
downloadAuthCookie_.remove(index);
onChanged();
} else {
downloadAuthCookieBuilder_.remove(index);
}
return this;
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder getDownloadAuthCookieBuilder(
int index) {
return getDownloadAuthCookieFieldBuilder().getBuilder(index);
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder getDownloadAuthCookieOrBuilder(
int index) {
if (downloadAuthCookieBuilder_ == null) {
return downloadAuthCookie_.get(index); } else {
return downloadAuthCookieBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder>
getDownloadAuthCookieOrBuilderList() {
if (downloadAuthCookieBuilder_ != null) {
return downloadAuthCookieBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(downloadAuthCookie_);
}
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder addDownloadAuthCookieBuilder() {
return getDownloadAuthCookieFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.getDefaultInstance());
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder addDownloadAuthCookieBuilder(
int index) {
return getDownloadAuthCookieFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.getDefaultInstance());
}
/**
* repeated .HttpCookie downloadAuthCookie = 5;
*/
public java.util.List
getDownloadAuthCookieBuilderList() {
return getDownloadAuthCookieFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder>
getDownloadAuthCookieFieldBuilder() {
if (downloadAuthCookieBuilder_ == null) {
downloadAuthCookieBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder>(
downloadAuthCookie_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
downloadAuthCookie_ = null;
}
return downloadAuthCookieBuilder_;
}
// optional bool forwardLocked = 6;
private boolean forwardLocked_ ;
/**
* optional bool forwardLocked = 6;
*/
public boolean hasForwardLocked() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool forwardLocked = 6;
*/
public boolean getForwardLocked() {
return forwardLocked_;
}
/**
* optional bool forwardLocked = 6;
*/
public Builder setForwardLocked(boolean value) {
bitField0_ |= 0x00000020;
forwardLocked_ = value;
onChanged();
return this;
}
/**
* optional bool forwardLocked = 6;
*/
public Builder clearForwardLocked() {
bitField0_ = (bitField0_ & ~0x00000020);
forwardLocked_ = false;
onChanged();
return this;
}
// optional int64 refundTimeout = 7;
private long refundTimeout_ ;
/**
* optional int64 refundTimeout = 7;
*/
public boolean hasRefundTimeout() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int64 refundTimeout = 7;
*/
public long getRefundTimeout() {
return refundTimeout_;
}
/**
* optional int64 refundTimeout = 7;
*/
public Builder setRefundTimeout(long value) {
bitField0_ |= 0x00000040;
refundTimeout_ = value;
onChanged();
return this;
}
/**
* optional int64 refundTimeout = 7;
*/
public Builder clearRefundTimeout() {
bitField0_ = (bitField0_ & ~0x00000040);
refundTimeout_ = 0L;
onChanged();
return this;
}
// optional bool serverInitiated = 8;
private boolean serverInitiated_ ;
/**
* optional bool serverInitiated = 8;
*/
public boolean hasServerInitiated() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional bool serverInitiated = 8;
*/
public boolean getServerInitiated() {
return serverInitiated_;
}
/**
* optional bool serverInitiated = 8;
*/
public Builder setServerInitiated(boolean value) {
bitField0_ |= 0x00000080;
serverInitiated_ = value;
onChanged();
return this;
}
/**
* optional bool serverInitiated = 8;
*/
public Builder clearServerInitiated() {
bitField0_ = (bitField0_ & ~0x00000080);
serverInitiated_ = false;
onChanged();
return this;
}
// optional int64 postInstallRefundWindowMillis = 9;
private long postInstallRefundWindowMillis_ ;
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
public boolean hasPostInstallRefundWindowMillis() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
public long getPostInstallRefundWindowMillis() {
return postInstallRefundWindowMillis_;
}
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
public Builder setPostInstallRefundWindowMillis(long value) {
bitField0_ |= 0x00000100;
postInstallRefundWindowMillis_ = value;
onChanged();
return this;
}
/**
* optional int64 postInstallRefundWindowMillis = 9;
*/
public Builder clearPostInstallRefundWindowMillis() {
bitField0_ = (bitField0_ & ~0x00000100);
postInstallRefundWindowMillis_ = 0L;
onChanged();
return this;
}
// optional bool immediateStartNeeded = 10;
private boolean immediateStartNeeded_ ;
/**
* optional bool immediateStartNeeded = 10;
*/
public boolean hasImmediateStartNeeded() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool immediateStartNeeded = 10;
*/
public boolean getImmediateStartNeeded() {
return immediateStartNeeded_;
}
/**
* optional bool immediateStartNeeded = 10;
*/
public Builder setImmediateStartNeeded(boolean value) {
bitField0_ |= 0x00000200;
immediateStartNeeded_ = value;
onChanged();
return this;
}
/**
* optional bool immediateStartNeeded = 10;
*/
public Builder clearImmediateStartNeeded() {
bitField0_ = (bitField0_ & ~0x00000200);
immediateStartNeeded_ = false;
onChanged();
return this;
}
// optional .AndroidAppPatchData patchData = 11;
private com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData patchData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder> patchDataBuilder_;
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public boolean hasPatchData() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData getPatchData() {
if (patchDataBuilder_ == null) {
return patchData_;
} else {
return patchDataBuilder_.getMessage();
}
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public Builder setPatchData(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData value) {
if (patchDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
patchData_ = value;
onChanged();
} else {
patchDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public Builder setPatchData(
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder builderForValue) {
if (patchDataBuilder_ == null) {
patchData_ = builderForValue.build();
onChanged();
} else {
patchDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public Builder mergePatchData(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData value) {
if (patchDataBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400) &&
patchData_ != com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance()) {
patchData_ =
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.newBuilder(patchData_).mergeFrom(value).buildPartial();
} else {
patchData_ = value;
}
onChanged();
} else {
patchDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public Builder clearPatchData() {
if (patchDataBuilder_ == null) {
patchData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance();
onChanged();
} else {
patchDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder getPatchDataBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getPatchDataFieldBuilder().getBuilder();
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder getPatchDataOrBuilder() {
if (patchDataBuilder_ != null) {
return patchDataBuilder_.getMessageOrBuilder();
} else {
return patchData_;
}
}
/**
* optional .AndroidAppPatchData patchData = 11;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder>
getPatchDataFieldBuilder() {
if (patchDataBuilder_ == null) {
patchDataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder>(
patchData_,
getParentForChildren(),
isClean());
patchData_ = null;
}
return patchDataBuilder_;
}
// optional .EncryptionParams encryptionParams = 12;
private com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams encryptionParams_ = com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder> encryptionParamsBuilder_;
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public boolean hasEncryptionParams() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams getEncryptionParams() {
if (encryptionParamsBuilder_ == null) {
return encryptionParams_;
} else {
return encryptionParamsBuilder_.getMessage();
}
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public Builder setEncryptionParams(com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams value) {
if (encryptionParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encryptionParams_ = value;
onChanged();
} else {
encryptionParamsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public Builder setEncryptionParams(
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder builderForValue) {
if (encryptionParamsBuilder_ == null) {
encryptionParams_ = builderForValue.build();
onChanged();
} else {
encryptionParamsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public Builder mergeEncryptionParams(com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams value) {
if (encryptionParamsBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800) &&
encryptionParams_ != com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance()) {
encryptionParams_ =
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.newBuilder(encryptionParams_).mergeFrom(value).buildPartial();
} else {
encryptionParams_ = value;
}
onChanged();
} else {
encryptionParamsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public Builder clearEncryptionParams() {
if (encryptionParamsBuilder_ == null) {
encryptionParams_ = com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance();
onChanged();
} else {
encryptionParamsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder getEncryptionParamsBuilder() {
bitField0_ |= 0x00000800;
onChanged();
return getEncryptionParamsFieldBuilder().getBuilder();
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder getEncryptionParamsOrBuilder() {
if (encryptionParamsBuilder_ != null) {
return encryptionParamsBuilder_.getMessageOrBuilder();
} else {
return encryptionParams_;
}
}
/**
* optional .EncryptionParams encryptionParams = 12;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder>
getEncryptionParamsFieldBuilder() {
if (encryptionParamsBuilder_ == null) {
encryptionParamsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder>(
encryptionParams_,
getParentForChildren(),
isClean());
encryptionParams_ = null;
}
return encryptionParamsBuilder_;
}
// @@protoc_insertion_point(builder_scope:AndroidAppDeliveryData)
}
static {
defaultInstance = new AndroidAppDeliveryData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:AndroidAppDeliveryData)
}
public interface AndroidAppPatchDataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 baseVersionCode = 1;
/**
* optional int32 baseVersionCode = 1;
*/
boolean hasBaseVersionCode();
/**
* optional int32 baseVersionCode = 1;
*/
int getBaseVersionCode();
// optional string baseSignature = 2;
/**
* optional string baseSignature = 2;
*/
boolean hasBaseSignature();
/**
* optional string baseSignature = 2;
*/
java.lang.String getBaseSignature();
/**
* optional string baseSignature = 2;
*/
com.google.protobuf.ByteString
getBaseSignatureBytes();
// optional string downloadUrl = 3;
/**
* optional string downloadUrl = 3;
*/
boolean hasDownloadUrl();
/**
* optional string downloadUrl = 3;
*/
java.lang.String getDownloadUrl();
/**
* optional string downloadUrl = 3;
*/
com.google.protobuf.ByteString
getDownloadUrlBytes();
// optional int32 patchFormat = 4;
/**
* optional int32 patchFormat = 4;
*/
boolean hasPatchFormat();
/**
* optional int32 patchFormat = 4;
*/
int getPatchFormat();
// optional int64 maxPatchSize = 5;
/**
* optional int64 maxPatchSize = 5;
*/
boolean hasMaxPatchSize();
/**
* optional int64 maxPatchSize = 5;
*/
long getMaxPatchSize();
}
/**
* Protobuf type {@code AndroidAppPatchData}
*/
public static final class AndroidAppPatchData extends
com.google.protobuf.GeneratedMessage
implements AndroidAppPatchDataOrBuilder {
// Use AndroidAppPatchData.newBuilder() to construct.
private AndroidAppPatchData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AndroidAppPatchData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AndroidAppPatchData defaultInstance;
public static AndroidAppPatchData getDefaultInstance() {
return defaultInstance;
}
public AndroidAppPatchData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AndroidAppPatchData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
baseVersionCode_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
baseSignature_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
downloadUrl_ = input.readBytes();
break;
}
case 32: {
bitField0_ |= 0x00000008;
patchFormat_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
maxPatchSize_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppPatchData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppPatchData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.class, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AndroidAppPatchData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AndroidAppPatchData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 baseVersionCode = 1;
public static final int BASEVERSIONCODE_FIELD_NUMBER = 1;
private int baseVersionCode_;
/**
* optional int32 baseVersionCode = 1;
*/
public boolean hasBaseVersionCode() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 baseVersionCode = 1;
*/
public int getBaseVersionCode() {
return baseVersionCode_;
}
// optional string baseSignature = 2;
public static final int BASESIGNATURE_FIELD_NUMBER = 2;
private java.lang.Object baseSignature_;
/**
* optional string baseSignature = 2;
*/
public boolean hasBaseSignature() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string baseSignature = 2;
*/
public java.lang.String getBaseSignature() {
java.lang.Object ref = baseSignature_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
baseSignature_ = s;
}
return s;
}
}
/**
* optional string baseSignature = 2;
*/
public com.google.protobuf.ByteString
getBaseSignatureBytes() {
java.lang.Object ref = baseSignature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
baseSignature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string downloadUrl = 3;
public static final int DOWNLOADURL_FIELD_NUMBER = 3;
private java.lang.Object downloadUrl_;
/**
* optional string downloadUrl = 3;
*/
public boolean hasDownloadUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string downloadUrl = 3;
*/
public java.lang.String getDownloadUrl() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
downloadUrl_ = s;
}
return s;
}
}
/**
* optional string downloadUrl = 3;
*/
public com.google.protobuf.ByteString
getDownloadUrlBytes() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 patchFormat = 4;
public static final int PATCHFORMAT_FIELD_NUMBER = 4;
private int patchFormat_;
/**
* optional int32 patchFormat = 4;
*/
public boolean hasPatchFormat() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 patchFormat = 4;
*/
public int getPatchFormat() {
return patchFormat_;
}
// optional int64 maxPatchSize = 5;
public static final int MAXPATCHSIZE_FIELD_NUMBER = 5;
private long maxPatchSize_;
/**
* optional int64 maxPatchSize = 5;
*/
public boolean hasMaxPatchSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int64 maxPatchSize = 5;
*/
public long getMaxPatchSize() {
return maxPatchSize_;
}
private void initFields() {
baseVersionCode_ = 0;
baseSignature_ = "";
downloadUrl_ = "";
patchFormat_ = 0;
maxPatchSize_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, baseVersionCode_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getBaseSignatureBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getDownloadUrlBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, patchFormat_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt64(5, maxPatchSize_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, baseVersionCode_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getBaseSignatureBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getDownloadUrlBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, patchFormat_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, maxPatchSize_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AndroidAppPatchData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppPatchData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppPatchData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.class, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
baseVersionCode_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
baseSignature_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
downloadUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
patchFormat_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
maxPatchSize_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AndroidAppPatchData_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData build() {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData result = new com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.baseVersionCode_ = baseVersionCode_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.baseSignature_ = baseSignature_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.downloadUrl_ = downloadUrl_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.patchFormat_ = patchFormat_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.maxPatchSize_ = maxPatchSize_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData.getDefaultInstance()) return this;
if (other.hasBaseVersionCode()) {
setBaseVersionCode(other.getBaseVersionCode());
}
if (other.hasBaseSignature()) {
bitField0_ |= 0x00000002;
baseSignature_ = other.baseSignature_;
onChanged();
}
if (other.hasDownloadUrl()) {
bitField0_ |= 0x00000004;
downloadUrl_ = other.downloadUrl_;
onChanged();
}
if (other.hasPatchFormat()) {
setPatchFormat(other.getPatchFormat());
}
if (other.hasMaxPatchSize()) {
setMaxPatchSize(other.getMaxPatchSize());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppPatchData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 baseVersionCode = 1;
private int baseVersionCode_ ;
/**
* optional int32 baseVersionCode = 1;
*/
public boolean hasBaseVersionCode() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 baseVersionCode = 1;
*/
public int getBaseVersionCode() {
return baseVersionCode_;
}
/**
* optional int32 baseVersionCode = 1;
*/
public Builder setBaseVersionCode(int value) {
bitField0_ |= 0x00000001;
baseVersionCode_ = value;
onChanged();
return this;
}
/**
* optional int32 baseVersionCode = 1;
*/
public Builder clearBaseVersionCode() {
bitField0_ = (bitField0_ & ~0x00000001);
baseVersionCode_ = 0;
onChanged();
return this;
}
// optional string baseSignature = 2;
private java.lang.Object baseSignature_ = "";
/**
* optional string baseSignature = 2;
*/
public boolean hasBaseSignature() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string baseSignature = 2;
*/
public java.lang.String getBaseSignature() {
java.lang.Object ref = baseSignature_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
baseSignature_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string baseSignature = 2;
*/
public com.google.protobuf.ByteString
getBaseSignatureBytes() {
java.lang.Object ref = baseSignature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
baseSignature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string baseSignature = 2;
*/
public Builder setBaseSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
baseSignature_ = value;
onChanged();
return this;
}
/**
* optional string baseSignature = 2;
*/
public Builder clearBaseSignature() {
bitField0_ = (bitField0_ & ~0x00000002);
baseSignature_ = getDefaultInstance().getBaseSignature();
onChanged();
return this;
}
/**
* optional string baseSignature = 2;
*/
public Builder setBaseSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
baseSignature_ = value;
onChanged();
return this;
}
// optional string downloadUrl = 3;
private java.lang.Object downloadUrl_ = "";
/**
* optional string downloadUrl = 3;
*/
public boolean hasDownloadUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string downloadUrl = 3;
*/
public java.lang.String getDownloadUrl() {
java.lang.Object ref = downloadUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
downloadUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string downloadUrl = 3;
*/
public com.google.protobuf.ByteString
getDownloadUrlBytes() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string downloadUrl = 3;
*/
public Builder setDownloadUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
downloadUrl_ = value;
onChanged();
return this;
}
/**
* optional string downloadUrl = 3;
*/
public Builder clearDownloadUrl() {
bitField0_ = (bitField0_ & ~0x00000004);
downloadUrl_ = getDefaultInstance().getDownloadUrl();
onChanged();
return this;
}
/**
* optional string downloadUrl = 3;
*/
public Builder setDownloadUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
downloadUrl_ = value;
onChanged();
return this;
}
// optional int32 patchFormat = 4;
private int patchFormat_ ;
/**
* optional int32 patchFormat = 4;
*/
public boolean hasPatchFormat() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 patchFormat = 4;
*/
public int getPatchFormat() {
return patchFormat_;
}
/**
* optional int32 patchFormat = 4;
*/
public Builder setPatchFormat(int value) {
bitField0_ |= 0x00000008;
patchFormat_ = value;
onChanged();
return this;
}
/**
* optional int32 patchFormat = 4;
*/
public Builder clearPatchFormat() {
bitField0_ = (bitField0_ & ~0x00000008);
patchFormat_ = 0;
onChanged();
return this;
}
// optional int64 maxPatchSize = 5;
private long maxPatchSize_ ;
/**
* optional int64 maxPatchSize = 5;
*/
public boolean hasMaxPatchSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int64 maxPatchSize = 5;
*/
public long getMaxPatchSize() {
return maxPatchSize_;
}
/**
* optional int64 maxPatchSize = 5;
*/
public Builder setMaxPatchSize(long value) {
bitField0_ |= 0x00000010;
maxPatchSize_ = value;
onChanged();
return this;
}
/**
* optional int64 maxPatchSize = 5;
*/
public Builder clearMaxPatchSize() {
bitField0_ = (bitField0_ & ~0x00000010);
maxPatchSize_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:AndroidAppPatchData)
}
static {
defaultInstance = new AndroidAppPatchData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:AndroidAppPatchData)
}
public interface AppFileMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 fileType = 1;
/**
* optional int32 fileType = 1;
*/
boolean hasFileType();
/**
* optional int32 fileType = 1;
*/
int getFileType();
// optional int32 versionCode = 2;
/**
* optional int32 versionCode = 2;
*/
boolean hasVersionCode();
/**
* optional int32 versionCode = 2;
*/
int getVersionCode();
// optional int64 size = 3;
/**
* optional int64 size = 3;
*/
boolean hasSize();
/**
* optional int64 size = 3;
*/
long getSize();
// optional string downloadUrl = 4;
/**
* optional string downloadUrl = 4;
*/
boolean hasDownloadUrl();
/**
* optional string downloadUrl = 4;
*/
java.lang.String getDownloadUrl();
/**
* optional string downloadUrl = 4;
*/
com.google.protobuf.ByteString
getDownloadUrlBytes();
}
/**
* Protobuf type {@code AppFileMetadata}
*/
public static final class AppFileMetadata extends
com.google.protobuf.GeneratedMessage
implements AppFileMetadataOrBuilder {
// Use AppFileMetadata.newBuilder() to construct.
private AppFileMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AppFileMetadata(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AppFileMetadata defaultInstance;
public static AppFileMetadata getDefaultInstance() {
return defaultInstance;
}
public AppFileMetadata getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AppFileMetadata(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
fileType_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
versionCode_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
size_ = input.readInt64();
break;
}
case 34: {
bitField0_ |= 0x00000008;
downloadUrl_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AppFileMetadata_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AppFileMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.class, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AppFileMetadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AppFileMetadata(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 fileType = 1;
public static final int FILETYPE_FIELD_NUMBER = 1;
private int fileType_;
/**
* optional int32 fileType = 1;
*/
public boolean hasFileType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 fileType = 1;
*/
public int getFileType() {
return fileType_;
}
// optional int32 versionCode = 2;
public static final int VERSIONCODE_FIELD_NUMBER = 2;
private int versionCode_;
/**
* optional int32 versionCode = 2;
*/
public boolean hasVersionCode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 versionCode = 2;
*/
public int getVersionCode() {
return versionCode_;
}
// optional int64 size = 3;
public static final int SIZE_FIELD_NUMBER = 3;
private long size_;
/**
* optional int64 size = 3;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 size = 3;
*/
public long getSize() {
return size_;
}
// optional string downloadUrl = 4;
public static final int DOWNLOADURL_FIELD_NUMBER = 4;
private java.lang.Object downloadUrl_;
/**
* optional string downloadUrl = 4;
*/
public boolean hasDownloadUrl() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string downloadUrl = 4;
*/
public java.lang.String getDownloadUrl() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
downloadUrl_ = s;
}
return s;
}
}
/**
* optional string downloadUrl = 4;
*/
public com.google.protobuf.ByteString
getDownloadUrlBytes() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
fileType_ = 0;
versionCode_ = 0;
size_ = 0L;
downloadUrl_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, fileType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, versionCode_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, size_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getDownloadUrlBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, fileType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, versionCode_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, size_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getDownloadUrlBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AppFileMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AppFileMetadata_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AppFileMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.class, com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
fileType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
versionCode_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
size_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
downloadUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AppFileMetadata_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata build() {
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata result = new com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.fileType_ = fileType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.versionCode_ = versionCode_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.size_ = size_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.downloadUrl_ = downloadUrl_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata.getDefaultInstance()) return this;
if (other.hasFileType()) {
setFileType(other.getFileType());
}
if (other.hasVersionCode()) {
setVersionCode(other.getVersionCode());
}
if (other.hasSize()) {
setSize(other.getSize());
}
if (other.hasDownloadUrl()) {
bitField0_ |= 0x00000008;
downloadUrl_ = other.downloadUrl_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.AppFileMetadata) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 fileType = 1;
private int fileType_ ;
/**
* optional int32 fileType = 1;
*/
public boolean hasFileType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 fileType = 1;
*/
public int getFileType() {
return fileType_;
}
/**
* optional int32 fileType = 1;
*/
public Builder setFileType(int value) {
bitField0_ |= 0x00000001;
fileType_ = value;
onChanged();
return this;
}
/**
* optional int32 fileType = 1;
*/
public Builder clearFileType() {
bitField0_ = (bitField0_ & ~0x00000001);
fileType_ = 0;
onChanged();
return this;
}
// optional int32 versionCode = 2;
private int versionCode_ ;
/**
* optional int32 versionCode = 2;
*/
public boolean hasVersionCode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 versionCode = 2;
*/
public int getVersionCode() {
return versionCode_;
}
/**
* optional int32 versionCode = 2;
*/
public Builder setVersionCode(int value) {
bitField0_ |= 0x00000002;
versionCode_ = value;
onChanged();
return this;
}
/**
* optional int32 versionCode = 2;
*/
public Builder clearVersionCode() {
bitField0_ = (bitField0_ & ~0x00000002);
versionCode_ = 0;
onChanged();
return this;
}
// optional int64 size = 3;
private long size_ ;
/**
* optional int64 size = 3;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 size = 3;
*/
public long getSize() {
return size_;
}
/**
* optional int64 size = 3;
*/
public Builder setSize(long value) {
bitField0_ |= 0x00000004;
size_ = value;
onChanged();
return this;
}
/**
* optional int64 size = 3;
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000004);
size_ = 0L;
onChanged();
return this;
}
// optional string downloadUrl = 4;
private java.lang.Object downloadUrl_ = "";
/**
* optional string downloadUrl = 4;
*/
public boolean hasDownloadUrl() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string downloadUrl = 4;
*/
public java.lang.String getDownloadUrl() {
java.lang.Object ref = downloadUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
downloadUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string downloadUrl = 4;
*/
public com.google.protobuf.ByteString
getDownloadUrlBytes() {
java.lang.Object ref = downloadUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string downloadUrl = 4;
*/
public Builder setDownloadUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
downloadUrl_ = value;
onChanged();
return this;
}
/**
* optional string downloadUrl = 4;
*/
public Builder clearDownloadUrl() {
bitField0_ = (bitField0_ & ~0x00000008);
downloadUrl_ = getDefaultInstance().getDownloadUrl();
onChanged();
return this;
}
/**
* optional string downloadUrl = 4;
*/
public Builder setDownloadUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
downloadUrl_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:AppFileMetadata)
}
static {
defaultInstance = new AppFileMetadata(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:AppFileMetadata)
}
public interface EncryptionParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 version = 1;
/**
* optional int32 version = 1;
*/
boolean hasVersion();
/**
* optional int32 version = 1;
*/
int getVersion();
// optional string encryptionKey = 2;
/**
* optional string encryptionKey = 2;
*/
boolean hasEncryptionKey();
/**
* optional string encryptionKey = 2;
*/
java.lang.String getEncryptionKey();
/**
* optional string encryptionKey = 2;
*/
com.google.protobuf.ByteString
getEncryptionKeyBytes();
// optional string hmacKey = 3;
/**
* optional string hmacKey = 3;
*/
boolean hasHmacKey();
/**
* optional string hmacKey = 3;
*/
java.lang.String getHmacKey();
/**
* optional string hmacKey = 3;
*/
com.google.protobuf.ByteString
getHmacKeyBytes();
}
/**
* Protobuf type {@code EncryptionParams}
*/
public static final class EncryptionParams extends
com.google.protobuf.GeneratedMessage
implements EncryptionParamsOrBuilder {
// Use EncryptionParams.newBuilder() to construct.
private EncryptionParams(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private EncryptionParams(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final EncryptionParams defaultInstance;
public static EncryptionParams getDefaultInstance() {
return defaultInstance;
}
public EncryptionParams getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EncryptionParams(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
version_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
encryptionKey_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
hmacKey_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_EncryptionParams_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_EncryptionParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.class, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public EncryptionParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EncryptionParams(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 version = 1;
public static final int VERSION_FIELD_NUMBER = 1;
private int version_;
/**
* optional int32 version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 version = 1;
*/
public int getVersion() {
return version_;
}
// optional string encryptionKey = 2;
public static final int ENCRYPTIONKEY_FIELD_NUMBER = 2;
private java.lang.Object encryptionKey_;
/**
* optional string encryptionKey = 2;
*/
public boolean hasEncryptionKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string encryptionKey = 2;
*/
public java.lang.String getEncryptionKey() {
java.lang.Object ref = encryptionKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
encryptionKey_ = s;
}
return s;
}
}
/**
* optional string encryptionKey = 2;
*/
public com.google.protobuf.ByteString
getEncryptionKeyBytes() {
java.lang.Object ref = encryptionKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
encryptionKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string hmacKey = 3;
public static final int HMACKEY_FIELD_NUMBER = 3;
private java.lang.Object hmacKey_;
/**
* optional string hmacKey = 3;
*/
public boolean hasHmacKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string hmacKey = 3;
*/
public java.lang.String getHmacKey() {
java.lang.Object ref = hmacKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hmacKey_ = s;
}
return s;
}
}
/**
* optional string hmacKey = 3;
*/
public com.google.protobuf.ByteString
getHmacKeyBytes() {
java.lang.Object ref = hmacKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hmacKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
version_ = 0;
encryptionKey_ = "";
hmacKey_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, version_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getEncryptionKeyBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getHmacKeyBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, version_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getEncryptionKeyBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getHmacKeyBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code EncryptionParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_EncryptionParams_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_EncryptionParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.class, com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
version_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
encryptionKey_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
hmacKey_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_EncryptionParams_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams build() {
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams result = new com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.version_ = version_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.encryptionKey_ = encryptionKey_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.hmacKey_ = hmacKey_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams.getDefaultInstance()) return this;
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasEncryptionKey()) {
bitField0_ |= 0x00000002;
encryptionKey_ = other.encryptionKey_;
onChanged();
}
if (other.hasHmacKey()) {
bitField0_ |= 0x00000004;
hmacKey_ = other.hmacKey_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.EncryptionParams) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 version = 1;
private int version_ ;
/**
* optional int32 version = 1;
*/
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 version = 1;
*/
public int getVersion() {
return version_;
}
/**
* optional int32 version = 1;
*/
public Builder setVersion(int value) {
bitField0_ |= 0x00000001;
version_ = value;
onChanged();
return this;
}
/**
* optional int32 version = 1;
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
version_ = 0;
onChanged();
return this;
}
// optional string encryptionKey = 2;
private java.lang.Object encryptionKey_ = "";
/**
* optional string encryptionKey = 2;
*/
public boolean hasEncryptionKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string encryptionKey = 2;
*/
public java.lang.String getEncryptionKey() {
java.lang.Object ref = encryptionKey_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
encryptionKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string encryptionKey = 2;
*/
public com.google.protobuf.ByteString
getEncryptionKeyBytes() {
java.lang.Object ref = encryptionKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
encryptionKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string encryptionKey = 2;
*/
public Builder setEncryptionKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
encryptionKey_ = value;
onChanged();
return this;
}
/**
* optional string encryptionKey = 2;
*/
public Builder clearEncryptionKey() {
bitField0_ = (bitField0_ & ~0x00000002);
encryptionKey_ = getDefaultInstance().getEncryptionKey();
onChanged();
return this;
}
/**
* optional string encryptionKey = 2;
*/
public Builder setEncryptionKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
encryptionKey_ = value;
onChanged();
return this;
}
// optional string hmacKey = 3;
private java.lang.Object hmacKey_ = "";
/**
* optional string hmacKey = 3;
*/
public boolean hasHmacKey() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string hmacKey = 3;
*/
public java.lang.String getHmacKey() {
java.lang.Object ref = hmacKey_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
hmacKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string hmacKey = 3;
*/
public com.google.protobuf.ByteString
getHmacKeyBytes() {
java.lang.Object ref = hmacKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hmacKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string hmacKey = 3;
*/
public Builder setHmacKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
hmacKey_ = value;
onChanged();
return this;
}
/**
* optional string hmacKey = 3;
*/
public Builder clearHmacKey() {
bitField0_ = (bitField0_ & ~0x00000004);
hmacKey_ = getDefaultInstance().getHmacKey();
onChanged();
return this;
}
/**
* optional string hmacKey = 3;
*/
public Builder setHmacKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
hmacKey_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:EncryptionParams)
}
static {
defaultInstance = new EncryptionParams(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:EncryptionParams)
}
public interface HttpCookieOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string value = 2;
/**
* optional string value = 2;
*/
boolean hasValue();
/**
* optional string value = 2;
*/
java.lang.String getValue();
/**
* optional string value = 2;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code HttpCookie}
*/
public static final class HttpCookie extends
com.google.protobuf.GeneratedMessage
implements HttpCookieOrBuilder {
// Use HttpCookie.newBuilder() to construct.
private HttpCookie(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private HttpCookie(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final HttpCookie defaultInstance;
public static HttpCookie getDefaultInstance() {
return defaultInstance;
}
public HttpCookie getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HttpCookie(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_HttpCookie_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_HttpCookie_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.class, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public HttpCookie parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HttpCookie(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* optional string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* optional string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code HttpCookie}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.HttpCookieOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_HttpCookie_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_HttpCookie_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.class, com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_HttpCookie_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie build() {
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie result = new com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.HttpCookie) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string value = 2;
private java.lang.Object value_ = "";
/**
* optional string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional string value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* optional string value = 2;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:HttpCookie)
}
static {
defaultInstance = new HttpCookie(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:HttpCookie)
}
public interface AddressOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string addressLine1 = 2;
/**
* optional string addressLine1 = 2;
*/
boolean hasAddressLine1();
/**
* optional string addressLine1 = 2;
*/
java.lang.String getAddressLine1();
/**
* optional string addressLine1 = 2;
*/
com.google.protobuf.ByteString
getAddressLine1Bytes();
// optional string addressLine2 = 3;
/**
* optional string addressLine2 = 3;
*/
boolean hasAddressLine2();
/**
* optional string addressLine2 = 3;
*/
java.lang.String getAddressLine2();
/**
* optional string addressLine2 = 3;
*/
com.google.protobuf.ByteString
getAddressLine2Bytes();
// optional string city = 4;
/**
* optional string city = 4;
*/
boolean hasCity();
/**
* optional string city = 4;
*/
java.lang.String getCity();
/**
* optional string city = 4;
*/
com.google.protobuf.ByteString
getCityBytes();
// optional string state = 5;
/**
* optional string state = 5;
*/
boolean hasState();
/**
* optional string state = 5;
*/
java.lang.String getState();
/**
* optional string state = 5;
*/
com.google.protobuf.ByteString
getStateBytes();
// optional string postalCode = 6;
/**
* optional string postalCode = 6;
*/
boolean hasPostalCode();
/**
* optional string postalCode = 6;
*/
java.lang.String getPostalCode();
/**
* optional string postalCode = 6;
*/
com.google.protobuf.ByteString
getPostalCodeBytes();
// optional string postalCountry = 7;
/**
* optional string postalCountry = 7;
*/
boolean hasPostalCountry();
/**
* optional string postalCountry = 7;
*/
java.lang.String getPostalCountry();
/**
* optional string postalCountry = 7;
*/
com.google.protobuf.ByteString
getPostalCountryBytes();
// optional string dependentLocality = 8;
/**
* optional string dependentLocality = 8;
*/
boolean hasDependentLocality();
/**
* optional string dependentLocality = 8;
*/
java.lang.String getDependentLocality();
/**
* optional string dependentLocality = 8;
*/
com.google.protobuf.ByteString
getDependentLocalityBytes();
// optional string sortingCode = 9;
/**
* optional string sortingCode = 9;
*/
boolean hasSortingCode();
/**
* optional string sortingCode = 9;
*/
java.lang.String getSortingCode();
/**
* optional string sortingCode = 9;
*/
com.google.protobuf.ByteString
getSortingCodeBytes();
// optional string languageCode = 10;
/**
* optional string languageCode = 10;
*/
boolean hasLanguageCode();
/**
* optional string languageCode = 10;
*/
java.lang.String getLanguageCode();
/**
* optional string languageCode = 10;
*/
com.google.protobuf.ByteString
getLanguageCodeBytes();
// optional string phoneNumber = 11;
/**
* optional string phoneNumber = 11;
*/
boolean hasPhoneNumber();
/**
* optional string phoneNumber = 11;
*/
java.lang.String getPhoneNumber();
/**
* optional string phoneNumber = 11;
*/
com.google.protobuf.ByteString
getPhoneNumberBytes();
// optional bool isReduced = 12;
/**
* optional bool isReduced = 12;
*/
boolean hasIsReduced();
/**
* optional bool isReduced = 12;
*/
boolean getIsReduced();
// optional string firstName = 13;
/**
* optional string firstName = 13;
*/
boolean hasFirstName();
/**
* optional string firstName = 13;
*/
java.lang.String getFirstName();
/**
* optional string firstName = 13;
*/
com.google.protobuf.ByteString
getFirstNameBytes();
// optional string lastName = 14;
/**
* optional string lastName = 14;
*/
boolean hasLastName();
/**
* optional string lastName = 14;
*/
java.lang.String getLastName();
/**
* optional string lastName = 14;
*/
com.google.protobuf.ByteString
getLastNameBytes();
// optional string email = 15;
/**
* optional string email = 15;
*/
boolean hasEmail();
/**
* optional string email = 15;
*/
java.lang.String getEmail();
/**
* optional string email = 15;
*/
com.google.protobuf.ByteString
getEmailBytes();
}
/**
* Protobuf type {@code Address}
*/
public static final class Address extends
com.google.protobuf.GeneratedMessage
implements AddressOrBuilder {
// Use Address.newBuilder() to construct.
private Address(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Address(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Address defaultInstance;
public static Address getDefaultInstance() {
return defaultInstance;
}
public Address getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Address(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
addressLine1_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
addressLine2_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
city_ = input.readBytes();
break;
}
case 42: {
bitField0_ |= 0x00000010;
state_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
postalCode_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000040;
postalCountry_ = input.readBytes();
break;
}
case 66: {
bitField0_ |= 0x00000080;
dependentLocality_ = input.readBytes();
break;
}
case 74: {
bitField0_ |= 0x00000100;
sortingCode_ = input.readBytes();
break;
}
case 82: {
bitField0_ |= 0x00000200;
languageCode_ = input.readBytes();
break;
}
case 90: {
bitField0_ |= 0x00000400;
phoneNumber_ = input.readBytes();
break;
}
case 96: {
bitField0_ |= 0x00000800;
isReduced_ = input.readBool();
break;
}
case 106: {
bitField0_ |= 0x00001000;
firstName_ = input.readBytes();
break;
}
case 114: {
bitField0_ |= 0x00002000;
lastName_ = input.readBytes();
break;
}
case 122: {
bitField0_ |= 0x00004000;
email_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Address_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Address_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.Address.class, com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Address parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Address(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string addressLine1 = 2;
public static final int ADDRESSLINE1_FIELD_NUMBER = 2;
private java.lang.Object addressLine1_;
/**
* optional string addressLine1 = 2;
*/
public boolean hasAddressLine1() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string addressLine1 = 2;
*/
public java.lang.String getAddressLine1() {
java.lang.Object ref = addressLine1_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
addressLine1_ = s;
}
return s;
}
}
/**
* optional string addressLine1 = 2;
*/
public com.google.protobuf.ByteString
getAddressLine1Bytes() {
java.lang.Object ref = addressLine1_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addressLine1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string addressLine2 = 3;
public static final int ADDRESSLINE2_FIELD_NUMBER = 3;
private java.lang.Object addressLine2_;
/**
* optional string addressLine2 = 3;
*/
public boolean hasAddressLine2() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string addressLine2 = 3;
*/
public java.lang.String getAddressLine2() {
java.lang.Object ref = addressLine2_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
addressLine2_ = s;
}
return s;
}
}
/**
* optional string addressLine2 = 3;
*/
public com.google.protobuf.ByteString
getAddressLine2Bytes() {
java.lang.Object ref = addressLine2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addressLine2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string city = 4;
public static final int CITY_FIELD_NUMBER = 4;
private java.lang.Object city_;
/**
* optional string city = 4;
*/
public boolean hasCity() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string city = 4;
*/
public java.lang.String getCity() {
java.lang.Object ref = city_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
city_ = s;
}
return s;
}
}
/**
* optional string city = 4;
*/
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string state = 5;
public static final int STATE_FIELD_NUMBER = 5;
private java.lang.Object state_;
/**
* optional string state = 5;
*/
public boolean hasState() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string state = 5;
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
state_ = s;
}
return s;
}
}
/**
* optional string state = 5;
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string postalCode = 6;
public static final int POSTALCODE_FIELD_NUMBER = 6;
private java.lang.Object postalCode_;
/**
* optional string postalCode = 6;
*/
public boolean hasPostalCode() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string postalCode = 6;
*/
public java.lang.String getPostalCode() {
java.lang.Object ref = postalCode_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
postalCode_ = s;
}
return s;
}
}
/**
* optional string postalCode = 6;
*/
public com.google.protobuf.ByteString
getPostalCodeBytes() {
java.lang.Object ref = postalCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
postalCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string postalCountry = 7;
public static final int POSTALCOUNTRY_FIELD_NUMBER = 7;
private java.lang.Object postalCountry_;
/**
* optional string postalCountry = 7;
*/
public boolean hasPostalCountry() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string postalCountry = 7;
*/
public java.lang.String getPostalCountry() {
java.lang.Object ref = postalCountry_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
postalCountry_ = s;
}
return s;
}
}
/**
* optional string postalCountry = 7;
*/
public com.google.protobuf.ByteString
getPostalCountryBytes() {
java.lang.Object ref = postalCountry_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
postalCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string dependentLocality = 8;
public static final int DEPENDENTLOCALITY_FIELD_NUMBER = 8;
private java.lang.Object dependentLocality_;
/**
* optional string dependentLocality = 8;
*/
public boolean hasDependentLocality() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string dependentLocality = 8;
*/
public java.lang.String getDependentLocality() {
java.lang.Object ref = dependentLocality_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dependentLocality_ = s;
}
return s;
}
}
/**
* optional string dependentLocality = 8;
*/
public com.google.protobuf.ByteString
getDependentLocalityBytes() {
java.lang.Object ref = dependentLocality_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dependentLocality_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string sortingCode = 9;
public static final int SORTINGCODE_FIELD_NUMBER = 9;
private java.lang.Object sortingCode_;
/**
* optional string sortingCode = 9;
*/
public boolean hasSortingCode() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string sortingCode = 9;
*/
public java.lang.String getSortingCode() {
java.lang.Object ref = sortingCode_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sortingCode_ = s;
}
return s;
}
}
/**
* optional string sortingCode = 9;
*/
public com.google.protobuf.ByteString
getSortingCodeBytes() {
java.lang.Object ref = sortingCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sortingCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string languageCode = 10;
public static final int LANGUAGECODE_FIELD_NUMBER = 10;
private java.lang.Object languageCode_;
/**
* optional string languageCode = 10;
*/
public boolean hasLanguageCode() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string languageCode = 10;
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
languageCode_ = s;
}
return s;
}
}
/**
* optional string languageCode = 10;
*/
public com.google.protobuf.ByteString
getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
languageCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string phoneNumber = 11;
public static final int PHONENUMBER_FIELD_NUMBER = 11;
private java.lang.Object phoneNumber_;
/**
* optional string phoneNumber = 11;
*/
public boolean hasPhoneNumber() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string phoneNumber = 11;
*/
public java.lang.String getPhoneNumber() {
java.lang.Object ref = phoneNumber_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
phoneNumber_ = s;
}
return s;
}
}
/**
* optional string phoneNumber = 11;
*/
public com.google.protobuf.ByteString
getPhoneNumberBytes() {
java.lang.Object ref = phoneNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phoneNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bool isReduced = 12;
public static final int ISREDUCED_FIELD_NUMBER = 12;
private boolean isReduced_;
/**
* optional bool isReduced = 12;
*/
public boolean hasIsReduced() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional bool isReduced = 12;
*/
public boolean getIsReduced() {
return isReduced_;
}
// optional string firstName = 13;
public static final int FIRSTNAME_FIELD_NUMBER = 13;
private java.lang.Object firstName_;
/**
* optional string firstName = 13;
*/
public boolean hasFirstName() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional string firstName = 13;
*/
public java.lang.String getFirstName() {
java.lang.Object ref = firstName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
firstName_ = s;
}
return s;
}
}
/**
* optional string firstName = 13;
*/
public com.google.protobuf.ByteString
getFirstNameBytes() {
java.lang.Object ref = firstName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string lastName = 14;
public static final int LASTNAME_FIELD_NUMBER = 14;
private java.lang.Object lastName_;
/**
* optional string lastName = 14;
*/
public boolean hasLastName() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional string lastName = 14;
*/
public java.lang.String getLastName() {
java.lang.Object ref = lastName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
lastName_ = s;
}
return s;
}
}
/**
* optional string lastName = 14;
*/
public com.google.protobuf.ByteString
getLastNameBytes() {
java.lang.Object ref = lastName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string email = 15;
public static final int EMAIL_FIELD_NUMBER = 15;
private java.lang.Object email_;
/**
* optional string email = 15;
*/
public boolean hasEmail() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional string email = 15;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
email_ = s;
}
return s;
}
}
/**
* optional string email = 15;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
addressLine1_ = "";
addressLine2_ = "";
city_ = "";
state_ = "";
postalCode_ = "";
postalCountry_ = "";
dependentLocality_ = "";
sortingCode_ = "";
languageCode_ = "";
phoneNumber_ = "";
isReduced_ = false;
firstName_ = "";
lastName_ = "";
email_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getAddressLine1Bytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getAddressLine2Bytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getCityBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getStateBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getPostalCodeBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(7, getPostalCountryBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(8, getDependentLocalityBytes());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(9, getSortingCodeBytes());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBytes(10, getLanguageCodeBytes());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBytes(11, getPhoneNumberBytes());
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeBool(12, isReduced_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeBytes(13, getFirstNameBytes());
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBytes(14, getLastNameBytes());
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeBytes(15, getEmailBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getAddressLine1Bytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getAddressLine2Bytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getCityBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getStateBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getPostalCodeBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getPostalCountryBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getDependentLocalityBytes());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, getSortingCodeBytes());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getLanguageCodeBytes());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getPhoneNumberBytes());
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, isReduced_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(13, getFirstNameBytes());
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, getLastNameBytes());
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(15, getEmailBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Address parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.Address prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Address}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Address_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Address_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.Address.class, com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.Address.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
addressLine1_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
addressLine2_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
city_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
state_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
postalCode_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
postalCountry_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
dependentLocality_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
sortingCode_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
languageCode_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
phoneNumber_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
isReduced_ = false;
bitField0_ = (bitField0_ & ~0x00000800);
firstName_ = "";
bitField0_ = (bitField0_ & ~0x00001000);
lastName_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
email_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Address_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.Address getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.Address build() {
com.akdeniz.googleplaycrawler.GooglePlay.Address result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.Address buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.Address result = new com.akdeniz.googleplaycrawler.GooglePlay.Address(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.addressLine1_ = addressLine1_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.addressLine2_ = addressLine2_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.city_ = city_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.state_ = state_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.postalCode_ = postalCode_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.postalCountry_ = postalCountry_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.dependentLocality_ = dependentLocality_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.sortingCode_ = sortingCode_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.languageCode_ = languageCode_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.phoneNumber_ = phoneNumber_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.isReduced_ = isReduced_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
result.firstName_ = firstName_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.lastName_ = lastName_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.email_ = email_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.Address) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.Address)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.Address other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasAddressLine1()) {
bitField0_ |= 0x00000002;
addressLine1_ = other.addressLine1_;
onChanged();
}
if (other.hasAddressLine2()) {
bitField0_ |= 0x00000004;
addressLine2_ = other.addressLine2_;
onChanged();
}
if (other.hasCity()) {
bitField0_ |= 0x00000008;
city_ = other.city_;
onChanged();
}
if (other.hasState()) {
bitField0_ |= 0x00000010;
state_ = other.state_;
onChanged();
}
if (other.hasPostalCode()) {
bitField0_ |= 0x00000020;
postalCode_ = other.postalCode_;
onChanged();
}
if (other.hasPostalCountry()) {
bitField0_ |= 0x00000040;
postalCountry_ = other.postalCountry_;
onChanged();
}
if (other.hasDependentLocality()) {
bitField0_ |= 0x00000080;
dependentLocality_ = other.dependentLocality_;
onChanged();
}
if (other.hasSortingCode()) {
bitField0_ |= 0x00000100;
sortingCode_ = other.sortingCode_;
onChanged();
}
if (other.hasLanguageCode()) {
bitField0_ |= 0x00000200;
languageCode_ = other.languageCode_;
onChanged();
}
if (other.hasPhoneNumber()) {
bitField0_ |= 0x00000400;
phoneNumber_ = other.phoneNumber_;
onChanged();
}
if (other.hasIsReduced()) {
setIsReduced(other.getIsReduced());
}
if (other.hasFirstName()) {
bitField0_ |= 0x00001000;
firstName_ = other.firstName_;
onChanged();
}
if (other.hasLastName()) {
bitField0_ |= 0x00002000;
lastName_ = other.lastName_;
onChanged();
}
if (other.hasEmail()) {
bitField0_ |= 0x00004000;
email_ = other.email_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.Address parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.Address) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string addressLine1 = 2;
private java.lang.Object addressLine1_ = "";
/**
* optional string addressLine1 = 2;
*/
public boolean hasAddressLine1() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string addressLine1 = 2;
*/
public java.lang.String getAddressLine1() {
java.lang.Object ref = addressLine1_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
addressLine1_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string addressLine1 = 2;
*/
public com.google.protobuf.ByteString
getAddressLine1Bytes() {
java.lang.Object ref = addressLine1_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addressLine1_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string addressLine1 = 2;
*/
public Builder setAddressLine1(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
addressLine1_ = value;
onChanged();
return this;
}
/**
* optional string addressLine1 = 2;
*/
public Builder clearAddressLine1() {
bitField0_ = (bitField0_ & ~0x00000002);
addressLine1_ = getDefaultInstance().getAddressLine1();
onChanged();
return this;
}
/**
* optional string addressLine1 = 2;
*/
public Builder setAddressLine1Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
addressLine1_ = value;
onChanged();
return this;
}
// optional string addressLine2 = 3;
private java.lang.Object addressLine2_ = "";
/**
* optional string addressLine2 = 3;
*/
public boolean hasAddressLine2() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string addressLine2 = 3;
*/
public java.lang.String getAddressLine2() {
java.lang.Object ref = addressLine2_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
addressLine2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string addressLine2 = 3;
*/
public com.google.protobuf.ByteString
getAddressLine2Bytes() {
java.lang.Object ref = addressLine2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addressLine2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string addressLine2 = 3;
*/
public Builder setAddressLine2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
addressLine2_ = value;
onChanged();
return this;
}
/**
* optional string addressLine2 = 3;
*/
public Builder clearAddressLine2() {
bitField0_ = (bitField0_ & ~0x00000004);
addressLine2_ = getDefaultInstance().getAddressLine2();
onChanged();
return this;
}
/**
* optional string addressLine2 = 3;
*/
public Builder setAddressLine2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
addressLine2_ = value;
onChanged();
return this;
}
// optional string city = 4;
private java.lang.Object city_ = "";
/**
* optional string city = 4;
*/
public boolean hasCity() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string city = 4;
*/
public java.lang.String getCity() {
java.lang.Object ref = city_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
city_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string city = 4;
*/
public com.google.protobuf.ByteString
getCityBytes() {
java.lang.Object ref = city_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
city_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string city = 4;
*/
public Builder setCity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
city_ = value;
onChanged();
return this;
}
/**
* optional string city = 4;
*/
public Builder clearCity() {
bitField0_ = (bitField0_ & ~0x00000008);
city_ = getDefaultInstance().getCity();
onChanged();
return this;
}
/**
* optional string city = 4;
*/
public Builder setCityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
city_ = value;
onChanged();
return this;
}
// optional string state = 5;
private java.lang.Object state_ = "";
/**
* optional string state = 5;
*/
public boolean hasState() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string state = 5;
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
state_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string state = 5;
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string state = 5;
*/
public Builder setState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
state_ = value;
onChanged();
return this;
}
/**
* optional string state = 5;
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000010);
state_ = getDefaultInstance().getState();
onChanged();
return this;
}
/**
* optional string state = 5;
*/
public Builder setStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
state_ = value;
onChanged();
return this;
}
// optional string postalCode = 6;
private java.lang.Object postalCode_ = "";
/**
* optional string postalCode = 6;
*/
public boolean hasPostalCode() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string postalCode = 6;
*/
public java.lang.String getPostalCode() {
java.lang.Object ref = postalCode_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
postalCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string postalCode = 6;
*/
public com.google.protobuf.ByteString
getPostalCodeBytes() {
java.lang.Object ref = postalCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
postalCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string postalCode = 6;
*/
public Builder setPostalCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
postalCode_ = value;
onChanged();
return this;
}
/**
* optional string postalCode = 6;
*/
public Builder clearPostalCode() {
bitField0_ = (bitField0_ & ~0x00000020);
postalCode_ = getDefaultInstance().getPostalCode();
onChanged();
return this;
}
/**
* optional string postalCode = 6;
*/
public Builder setPostalCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
postalCode_ = value;
onChanged();
return this;
}
// optional string postalCountry = 7;
private java.lang.Object postalCountry_ = "";
/**
* optional string postalCountry = 7;
*/
public boolean hasPostalCountry() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string postalCountry = 7;
*/
public java.lang.String getPostalCountry() {
java.lang.Object ref = postalCountry_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
postalCountry_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string postalCountry = 7;
*/
public com.google.protobuf.ByteString
getPostalCountryBytes() {
java.lang.Object ref = postalCountry_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
postalCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string postalCountry = 7;
*/
public Builder setPostalCountry(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
postalCountry_ = value;
onChanged();
return this;
}
/**
* optional string postalCountry = 7;
*/
public Builder clearPostalCountry() {
bitField0_ = (bitField0_ & ~0x00000040);
postalCountry_ = getDefaultInstance().getPostalCountry();
onChanged();
return this;
}
/**
* optional string postalCountry = 7;
*/
public Builder setPostalCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
postalCountry_ = value;
onChanged();
return this;
}
// optional string dependentLocality = 8;
private java.lang.Object dependentLocality_ = "";
/**
* optional string dependentLocality = 8;
*/
public boolean hasDependentLocality() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string dependentLocality = 8;
*/
public java.lang.String getDependentLocality() {
java.lang.Object ref = dependentLocality_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
dependentLocality_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string dependentLocality = 8;
*/
public com.google.protobuf.ByteString
getDependentLocalityBytes() {
java.lang.Object ref = dependentLocality_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dependentLocality_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string dependentLocality = 8;
*/
public Builder setDependentLocality(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
dependentLocality_ = value;
onChanged();
return this;
}
/**
* optional string dependentLocality = 8;
*/
public Builder clearDependentLocality() {
bitField0_ = (bitField0_ & ~0x00000080);
dependentLocality_ = getDefaultInstance().getDependentLocality();
onChanged();
return this;
}
/**
* optional string dependentLocality = 8;
*/
public Builder setDependentLocalityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
dependentLocality_ = value;
onChanged();
return this;
}
// optional string sortingCode = 9;
private java.lang.Object sortingCode_ = "";
/**
* optional string sortingCode = 9;
*/
public boolean hasSortingCode() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string sortingCode = 9;
*/
public java.lang.String getSortingCode() {
java.lang.Object ref = sortingCode_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
sortingCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string sortingCode = 9;
*/
public com.google.protobuf.ByteString
getSortingCodeBytes() {
java.lang.Object ref = sortingCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sortingCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string sortingCode = 9;
*/
public Builder setSortingCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
sortingCode_ = value;
onChanged();
return this;
}
/**
* optional string sortingCode = 9;
*/
public Builder clearSortingCode() {
bitField0_ = (bitField0_ & ~0x00000100);
sortingCode_ = getDefaultInstance().getSortingCode();
onChanged();
return this;
}
/**
* optional string sortingCode = 9;
*/
public Builder setSortingCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
sortingCode_ = value;
onChanged();
return this;
}
// optional string languageCode = 10;
private java.lang.Object languageCode_ = "";
/**
* optional string languageCode = 10;
*/
public boolean hasLanguageCode() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string languageCode = 10;
*/
public java.lang.String getLanguageCode() {
java.lang.Object ref = languageCode_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
languageCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string languageCode = 10;
*/
public com.google.protobuf.ByteString
getLanguageCodeBytes() {
java.lang.Object ref = languageCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
languageCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string languageCode = 10;
*/
public Builder setLanguageCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
languageCode_ = value;
onChanged();
return this;
}
/**
* optional string languageCode = 10;
*/
public Builder clearLanguageCode() {
bitField0_ = (bitField0_ & ~0x00000200);
languageCode_ = getDefaultInstance().getLanguageCode();
onChanged();
return this;
}
/**
* optional string languageCode = 10;
*/
public Builder setLanguageCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
languageCode_ = value;
onChanged();
return this;
}
// optional string phoneNumber = 11;
private java.lang.Object phoneNumber_ = "";
/**
* optional string phoneNumber = 11;
*/
public boolean hasPhoneNumber() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string phoneNumber = 11;
*/
public java.lang.String getPhoneNumber() {
java.lang.Object ref = phoneNumber_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
phoneNumber_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string phoneNumber = 11;
*/
public com.google.protobuf.ByteString
getPhoneNumberBytes() {
java.lang.Object ref = phoneNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
phoneNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string phoneNumber = 11;
*/
public Builder setPhoneNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
phoneNumber_ = value;
onChanged();
return this;
}
/**
* optional string phoneNumber = 11;
*/
public Builder clearPhoneNumber() {
bitField0_ = (bitField0_ & ~0x00000400);
phoneNumber_ = getDefaultInstance().getPhoneNumber();
onChanged();
return this;
}
/**
* optional string phoneNumber = 11;
*/
public Builder setPhoneNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
phoneNumber_ = value;
onChanged();
return this;
}
// optional bool isReduced = 12;
private boolean isReduced_ ;
/**
* optional bool isReduced = 12;
*/
public boolean hasIsReduced() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional bool isReduced = 12;
*/
public boolean getIsReduced() {
return isReduced_;
}
/**
* optional bool isReduced = 12;
*/
public Builder setIsReduced(boolean value) {
bitField0_ |= 0x00000800;
isReduced_ = value;
onChanged();
return this;
}
/**
* optional bool isReduced = 12;
*/
public Builder clearIsReduced() {
bitField0_ = (bitField0_ & ~0x00000800);
isReduced_ = false;
onChanged();
return this;
}
// optional string firstName = 13;
private java.lang.Object firstName_ = "";
/**
* optional string firstName = 13;
*/
public boolean hasFirstName() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional string firstName = 13;
*/
public java.lang.String getFirstName() {
java.lang.Object ref = firstName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
firstName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string firstName = 13;
*/
public com.google.protobuf.ByteString
getFirstNameBytes() {
java.lang.Object ref = firstName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string firstName = 13;
*/
public Builder setFirstName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
firstName_ = value;
onChanged();
return this;
}
/**
* optional string firstName = 13;
*/
public Builder clearFirstName() {
bitField0_ = (bitField0_ & ~0x00001000);
firstName_ = getDefaultInstance().getFirstName();
onChanged();
return this;
}
/**
* optional string firstName = 13;
*/
public Builder setFirstNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
firstName_ = value;
onChanged();
return this;
}
// optional string lastName = 14;
private java.lang.Object lastName_ = "";
/**
* optional string lastName = 14;
*/
public boolean hasLastName() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional string lastName = 14;
*/
public java.lang.String getLastName() {
java.lang.Object ref = lastName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
lastName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string lastName = 14;
*/
public com.google.protobuf.ByteString
getLastNameBytes() {
java.lang.Object ref = lastName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string lastName = 14;
*/
public Builder setLastName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
lastName_ = value;
onChanged();
return this;
}
/**
* optional string lastName = 14;
*/
public Builder clearLastName() {
bitField0_ = (bitField0_ & ~0x00002000);
lastName_ = getDefaultInstance().getLastName();
onChanged();
return this;
}
/**
* optional string lastName = 14;
*/
public Builder setLastNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
lastName_ = value;
onChanged();
return this;
}
// optional string email = 15;
private java.lang.Object email_ = "";
/**
* optional string email = 15;
*/
public boolean hasEmail() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional string email = 15;
*/
public java.lang.String getEmail() {
java.lang.Object ref = email_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
email_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string email = 15;
*/
public com.google.protobuf.ByteString
getEmailBytes() {
java.lang.Object ref = email_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
email_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string email = 15;
*/
public Builder setEmail(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
email_ = value;
onChanged();
return this;
}
/**
* optional string email = 15;
*/
public Builder clearEmail() {
bitField0_ = (bitField0_ & ~0x00004000);
email_ = getDefaultInstance().getEmail();
onChanged();
return this;
}
/**
* optional string email = 15;
*/
public Builder setEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
email_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:Address)
}
static {
defaultInstance = new Address(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Address)
}
public interface BookAuthorOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string deprecatedQuery = 2;
/**
* optional string deprecatedQuery = 2;
*/
boolean hasDeprecatedQuery();
/**
* optional string deprecatedQuery = 2;
*/
java.lang.String getDeprecatedQuery();
/**
* optional string deprecatedQuery = 2;
*/
com.google.protobuf.ByteString
getDeprecatedQueryBytes();
// optional .Docid docid = 3;
/**
* optional .Docid docid = 3;
*/
boolean hasDocid();
/**
* optional .Docid docid = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Docid getDocid();
/**
* optional .Docid docid = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.DocidOrBuilder getDocidOrBuilder();
}
/**
* Protobuf type {@code BookAuthor}
*/
public static final class BookAuthor extends
com.google.protobuf.GeneratedMessage
implements BookAuthorOrBuilder {
// Use BookAuthor.newBuilder() to construct.
private BookAuthor(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BookAuthor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BookAuthor defaultInstance;
public static BookAuthor getDefaultInstance() {
return defaultInstance;
}
public BookAuthor getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BookAuthor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
deprecatedQuery_ = input.readBytes();
break;
}
case 26: {
com.akdeniz.googleplaycrawler.GooglePlay.Docid.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = docid_.toBuilder();
}
docid_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Docid.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(docid_);
docid_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookAuthor_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookAuthor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.class, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BookAuthor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BookAuthor(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string deprecatedQuery = 2;
public static final int DEPRECATEDQUERY_FIELD_NUMBER = 2;
private java.lang.Object deprecatedQuery_;
/**
* optional string deprecatedQuery = 2;
*/
public boolean hasDeprecatedQuery() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string deprecatedQuery = 2;
*/
public java.lang.String getDeprecatedQuery() {
java.lang.Object ref = deprecatedQuery_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
deprecatedQuery_ = s;
}
return s;
}
}
/**
* optional string deprecatedQuery = 2;
*/
public com.google.protobuf.ByteString
getDeprecatedQueryBytes() {
java.lang.Object ref = deprecatedQuery_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deprecatedQuery_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional .Docid docid = 3;
public static final int DOCID_FIELD_NUMBER = 3;
private com.akdeniz.googleplaycrawler.GooglePlay.Docid docid_;
/**
* optional .Docid docid = 3;
*/
public boolean hasDocid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .Docid docid = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Docid getDocid() {
return docid_;
}
/**
* optional .Docid docid = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DocidOrBuilder getDocidOrBuilder() {
return docid_;
}
private void initFields() {
name_ = "";
deprecatedQuery_ = "";
docid_ = com.akdeniz.googleplaycrawler.GooglePlay.Docid.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getDeprecatedQueryBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, docid_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getDeprecatedQueryBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, docid_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BookAuthor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookAuthor_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookAuthor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.class, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getDocidFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
deprecatedQuery_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (docidBuilder_ == null) {
docid_ = com.akdeniz.googleplaycrawler.GooglePlay.Docid.getDefaultInstance();
} else {
docidBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookAuthor_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor build() {
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor result = new com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.deprecatedQuery_ = deprecatedQuery_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (docidBuilder_ == null) {
result.docid_ = docid_;
} else {
result.docid_ = docidBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasDeprecatedQuery()) {
bitField0_ |= 0x00000002;
deprecatedQuery_ = other.deprecatedQuery_;
onChanged();
}
if (other.hasDocid()) {
mergeDocid(other.getDocid());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string deprecatedQuery = 2;
private java.lang.Object deprecatedQuery_ = "";
/**
* optional string deprecatedQuery = 2;
*/
public boolean hasDeprecatedQuery() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string deprecatedQuery = 2;
*/
public java.lang.String getDeprecatedQuery() {
java.lang.Object ref = deprecatedQuery_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
deprecatedQuery_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string deprecatedQuery = 2;
*/
public com.google.protobuf.ByteString
getDeprecatedQueryBytes() {
java.lang.Object ref = deprecatedQuery_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deprecatedQuery_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string deprecatedQuery = 2;
*/
public Builder setDeprecatedQuery(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
deprecatedQuery_ = value;
onChanged();
return this;
}
/**
* optional string deprecatedQuery = 2;
*/
public Builder clearDeprecatedQuery() {
bitField0_ = (bitField0_ & ~0x00000002);
deprecatedQuery_ = getDefaultInstance().getDeprecatedQuery();
onChanged();
return this;
}
/**
* optional string deprecatedQuery = 2;
*/
public Builder setDeprecatedQueryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
deprecatedQuery_ = value;
onChanged();
return this;
}
// optional .Docid docid = 3;
private com.akdeniz.googleplaycrawler.GooglePlay.Docid docid_ = com.akdeniz.googleplaycrawler.GooglePlay.Docid.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Docid, com.akdeniz.googleplaycrawler.GooglePlay.Docid.Builder, com.akdeniz.googleplaycrawler.GooglePlay.DocidOrBuilder> docidBuilder_;
/**
* optional .Docid docid = 3;
*/
public boolean hasDocid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .Docid docid = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Docid getDocid() {
if (docidBuilder_ == null) {
return docid_;
} else {
return docidBuilder_.getMessage();
}
}
/**
* optional .Docid docid = 3;
*/
public Builder setDocid(com.akdeniz.googleplaycrawler.GooglePlay.Docid value) {
if (docidBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
docid_ = value;
onChanged();
} else {
docidBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Docid docid = 3;
*/
public Builder setDocid(
com.akdeniz.googleplaycrawler.GooglePlay.Docid.Builder builderForValue) {
if (docidBuilder_ == null) {
docid_ = builderForValue.build();
onChanged();
} else {
docidBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Docid docid = 3;
*/
public Builder mergeDocid(com.akdeniz.googleplaycrawler.GooglePlay.Docid value) {
if (docidBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
docid_ != com.akdeniz.googleplaycrawler.GooglePlay.Docid.getDefaultInstance()) {
docid_ =
com.akdeniz.googleplaycrawler.GooglePlay.Docid.newBuilder(docid_).mergeFrom(value).buildPartial();
} else {
docid_ = value;
}
onChanged();
} else {
docidBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Docid docid = 3;
*/
public Builder clearDocid() {
if (docidBuilder_ == null) {
docid_ = com.akdeniz.googleplaycrawler.GooglePlay.Docid.getDefaultInstance();
onChanged();
} else {
docidBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .Docid docid = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Docid.Builder getDocidBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getDocidFieldBuilder().getBuilder();
}
/**
* optional .Docid docid = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DocidOrBuilder getDocidOrBuilder() {
if (docidBuilder_ != null) {
return docidBuilder_.getMessageOrBuilder();
} else {
return docid_;
}
}
/**
* optional .Docid docid = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Docid, com.akdeniz.googleplaycrawler.GooglePlay.Docid.Builder, com.akdeniz.googleplaycrawler.GooglePlay.DocidOrBuilder>
getDocidFieldBuilder() {
if (docidBuilder_ == null) {
docidBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Docid, com.akdeniz.googleplaycrawler.GooglePlay.Docid.Builder, com.akdeniz.googleplaycrawler.GooglePlay.DocidOrBuilder>(
docid_,
getParentForChildren(),
isClean());
docid_ = null;
}
return docidBuilder_;
}
// @@protoc_insertion_point(builder_scope:BookAuthor)
}
static {
defaultInstance = new BookAuthor(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BookAuthor)
}
public interface BookDetailsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .BookSubject subject = 3;
/**
* repeated .BookSubject subject = 3;
*/
java.util.List
getSubjectList();
/**
* repeated .BookSubject subject = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject getSubject(int index);
/**
* repeated .BookSubject subject = 3;
*/
int getSubjectCount();
/**
* repeated .BookSubject subject = 3;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder>
getSubjectOrBuilderList();
/**
* repeated .BookSubject subject = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder getSubjectOrBuilder(
int index);
// optional string publisher = 4;
/**
* optional string publisher = 4;
*/
boolean hasPublisher();
/**
* optional string publisher = 4;
*/
java.lang.String getPublisher();
/**
* optional string publisher = 4;
*/
com.google.protobuf.ByteString
getPublisherBytes();
// optional string publicationDate = 5;
/**
* optional string publicationDate = 5;
*/
boolean hasPublicationDate();
/**
* optional string publicationDate = 5;
*/
java.lang.String getPublicationDate();
/**
* optional string publicationDate = 5;
*/
com.google.protobuf.ByteString
getPublicationDateBytes();
// optional string isbn = 6;
/**
* optional string isbn = 6;
*/
boolean hasIsbn();
/**
* optional string isbn = 6;
*/
java.lang.String getIsbn();
/**
* optional string isbn = 6;
*/
com.google.protobuf.ByteString
getIsbnBytes();
// optional int32 numberOfPages = 7;
/**
* optional int32 numberOfPages = 7;
*/
boolean hasNumberOfPages();
/**
* optional int32 numberOfPages = 7;
*/
int getNumberOfPages();
// optional string subtitle = 8;
/**
* optional string subtitle = 8;
*/
boolean hasSubtitle();
/**
* optional string subtitle = 8;
*/
java.lang.String getSubtitle();
/**
* optional string subtitle = 8;
*/
com.google.protobuf.ByteString
getSubtitleBytes();
// repeated .BookAuthor author = 9;
/**
* repeated .BookAuthor author = 9;
*/
java.util.List
getAuthorList();
/**
* repeated .BookAuthor author = 9;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor getAuthor(int index);
/**
* repeated .BookAuthor author = 9;
*/
int getAuthorCount();
/**
* repeated .BookAuthor author = 9;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder>
getAuthorOrBuilderList();
/**
* repeated .BookAuthor author = 9;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder getAuthorOrBuilder(
int index);
// optional string readerUrl = 10;
/**
* optional string readerUrl = 10;
*/
boolean hasReaderUrl();
/**
* optional string readerUrl = 10;
*/
java.lang.String getReaderUrl();
/**
* optional string readerUrl = 10;
*/
com.google.protobuf.ByteString
getReaderUrlBytes();
// optional string downloadEpubUrl = 11;
/**
* optional string downloadEpubUrl = 11;
*/
boolean hasDownloadEpubUrl();
/**
* optional string downloadEpubUrl = 11;
*/
java.lang.String getDownloadEpubUrl();
/**
* optional string downloadEpubUrl = 11;
*/
com.google.protobuf.ByteString
getDownloadEpubUrlBytes();
// optional string downloadPdfUrl = 12;
/**
* optional string downloadPdfUrl = 12;
*/
boolean hasDownloadPdfUrl();
/**
* optional string downloadPdfUrl = 12;
*/
java.lang.String getDownloadPdfUrl();
/**
* optional string downloadPdfUrl = 12;
*/
com.google.protobuf.ByteString
getDownloadPdfUrlBytes();
// optional string acsEpubTokenUrl = 13;
/**
* optional string acsEpubTokenUrl = 13;
*/
boolean hasAcsEpubTokenUrl();
/**
* optional string acsEpubTokenUrl = 13;
*/
java.lang.String getAcsEpubTokenUrl();
/**
* optional string acsEpubTokenUrl = 13;
*/
com.google.protobuf.ByteString
getAcsEpubTokenUrlBytes();
// optional string acsPdfTokenUrl = 14;
/**
* optional string acsPdfTokenUrl = 14;
*/
boolean hasAcsPdfTokenUrl();
/**
* optional string acsPdfTokenUrl = 14;
*/
java.lang.String getAcsPdfTokenUrl();
/**
* optional string acsPdfTokenUrl = 14;
*/
com.google.protobuf.ByteString
getAcsPdfTokenUrlBytes();
// optional bool epubAvailable = 15;
/**
* optional bool epubAvailable = 15;
*/
boolean hasEpubAvailable();
/**
* optional bool epubAvailable = 15;
*/
boolean getEpubAvailable();
// optional bool pdfAvailable = 16;
/**
* optional bool pdfAvailable = 16;
*/
boolean hasPdfAvailable();
/**
* optional bool pdfAvailable = 16;
*/
boolean getPdfAvailable();
// optional string aboutTheAuthor = 17;
/**
* optional string aboutTheAuthor = 17;
*/
boolean hasAboutTheAuthor();
/**
* optional string aboutTheAuthor = 17;
*/
java.lang.String getAboutTheAuthor();
/**
* optional string aboutTheAuthor = 17;
*/
com.google.protobuf.ByteString
getAboutTheAuthorBytes();
// repeated group Identifier = 18 {
/**
* repeated group Identifier = 18 { ... }
*/
java.util.List
getIdentifierList();
/**
* repeated group Identifier = 18 { ... }
*/
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier getIdentifier(int index);
/**
* repeated group Identifier = 18 { ... }
*/
int getIdentifierCount();
/**
* repeated group Identifier = 18 { ... }
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder>
getIdentifierOrBuilderList();
/**
* repeated group Identifier = 18 { ... }
*/
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder getIdentifierOrBuilder(
int index);
}
/**
* Protobuf type {@code BookDetails}
*/
public static final class BookDetails extends
com.google.protobuf.GeneratedMessage
implements BookDetailsOrBuilder {
// Use BookDetails.newBuilder() to construct.
private BookDetails(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BookDetails(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BookDetails defaultInstance;
public static BookDetails getDefaultInstance() {
return defaultInstance;
}
public BookDetails getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BookDetails(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
subject_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
subject_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.PARSER, extensionRegistry));
break;
}
case 34: {
bitField0_ |= 0x00000001;
publisher_ = input.readBytes();
break;
}
case 42: {
bitField0_ |= 0x00000002;
publicationDate_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000004;
isbn_ = input.readBytes();
break;
}
case 56: {
bitField0_ |= 0x00000008;
numberOfPages_ = input.readInt32();
break;
}
case 66: {
bitField0_ |= 0x00000010;
subtitle_ = input.readBytes();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
author_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
author_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.PARSER, extensionRegistry));
break;
}
case 82: {
bitField0_ |= 0x00000020;
readerUrl_ = input.readBytes();
break;
}
case 90: {
bitField0_ |= 0x00000040;
downloadEpubUrl_ = input.readBytes();
break;
}
case 98: {
bitField0_ |= 0x00000080;
downloadPdfUrl_ = input.readBytes();
break;
}
case 106: {
bitField0_ |= 0x00000100;
acsEpubTokenUrl_ = input.readBytes();
break;
}
case 114: {
bitField0_ |= 0x00000200;
acsPdfTokenUrl_ = input.readBytes();
break;
}
case 120: {
bitField0_ |= 0x00000400;
epubAvailable_ = input.readBool();
break;
}
case 128: {
bitField0_ |= 0x00000800;
pdfAvailable_ = input.readBool();
break;
}
case 138: {
bitField0_ |= 0x00001000;
aboutTheAuthor_ = input.readBytes();
break;
}
case 147: {
if (!((mutable_bitField0_ & 0x00008000) == 0x00008000)) {
identifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00008000;
}
identifier_.add(input.readGroup(18, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.PARSER,
extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
subject_ = java.util.Collections.unmodifiableList(subject_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
author_ = java.util.Collections.unmodifiableList(author_);
}
if (((mutable_bitField0_ & 0x00008000) == 0x00008000)) {
identifier_ = java.util.Collections.unmodifiableList(identifier_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.class, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BookDetails parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BookDetails(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface IdentifierOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 type = 19;
/**
* optional int32 type = 19;
*/
boolean hasType();
/**
* optional int32 type = 19;
*/
int getType();
// optional string identifier = 20;
/**
* optional string identifier = 20;
*/
boolean hasIdentifier();
/**
* optional string identifier = 20;
*/
java.lang.String getIdentifier();
/**
* optional string identifier = 20;
*/
com.google.protobuf.ByteString
getIdentifierBytes();
}
/**
* Protobuf type {@code BookDetails.Identifier}
*/
public static final class Identifier extends
com.google.protobuf.GeneratedMessage
implements IdentifierOrBuilder {
// Use Identifier.newBuilder() to construct.
private Identifier(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Identifier(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Identifier defaultInstance;
public static Identifier getDefaultInstance() {
return defaultInstance;
}
public Identifier getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Identifier(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 152: {
bitField0_ |= 0x00000001;
type_ = input.readInt32();
break;
}
case 162: {
bitField0_ |= 0x00000002;
identifier_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_Identifier_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_Identifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.class, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Identifier parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Identifier(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 type = 19;
public static final int TYPE_FIELD_NUMBER = 19;
private int type_;
/**
* optional int32 type = 19;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 type = 19;
*/
public int getType() {
return type_;
}
// optional string identifier = 20;
public static final int IDENTIFIER_FIELD_NUMBER = 20;
private java.lang.Object identifier_;
/**
* optional string identifier = 20;
*/
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string identifier = 20;
*/
public java.lang.String getIdentifier() {
java.lang.Object ref = identifier_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
identifier_ = s;
}
return s;
}
}
/**
* optional string identifier = 20;
*/
public com.google.protobuf.ByteString
getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
type_ = 0;
identifier_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(19, type_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(20, getIdentifierBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(19, type_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(20, getIdentifierBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BookDetails.Identifier}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_Identifier_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_Identifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.class, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
identifier_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_Identifier_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier build() {
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier result = new com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.identifier_ = identifier_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasIdentifier()) {
bitField0_ |= 0x00000002;
identifier_ = other.identifier_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 type = 19;
private int type_ ;
/**
* optional int32 type = 19;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 type = 19;
*/
public int getType() {
return type_;
}
/**
* optional int32 type = 19;
*/
public Builder setType(int value) {
bitField0_ |= 0x00000001;
type_ = value;
onChanged();
return this;
}
/**
* optional int32 type = 19;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
// optional string identifier = 20;
private java.lang.Object identifier_ = "";
/**
* optional string identifier = 20;
*/
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string identifier = 20;
*/
public java.lang.String getIdentifier() {
java.lang.Object ref = identifier_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
identifier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string identifier = 20;
*/
public com.google.protobuf.ByteString
getIdentifierBytes() {
java.lang.Object ref = identifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
identifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string identifier = 20;
*/
public Builder setIdentifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
identifier_ = value;
onChanged();
return this;
}
/**
* optional string identifier = 20;
*/
public Builder clearIdentifier() {
bitField0_ = (bitField0_ & ~0x00000002);
identifier_ = getDefaultInstance().getIdentifier();
onChanged();
return this;
}
/**
* optional string identifier = 20;
*/
public Builder setIdentifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
identifier_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:BookDetails.Identifier)
}
static {
defaultInstance = new Identifier(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BookDetails.Identifier)
}
private int bitField0_;
// repeated .BookSubject subject = 3;
public static final int SUBJECT_FIELD_NUMBER = 3;
private java.util.List subject_;
/**
* repeated .BookSubject subject = 3;
*/
public java.util.List getSubjectList() {
return subject_;
}
/**
* repeated .BookSubject subject = 3;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder>
getSubjectOrBuilderList() {
return subject_;
}
/**
* repeated .BookSubject subject = 3;
*/
public int getSubjectCount() {
return subject_.size();
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject getSubject(int index) {
return subject_.get(index);
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder getSubjectOrBuilder(
int index) {
return subject_.get(index);
}
// optional string publisher = 4;
public static final int PUBLISHER_FIELD_NUMBER = 4;
private java.lang.Object publisher_;
/**
* optional string publisher = 4;
*/
public boolean hasPublisher() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string publisher = 4;
*/
public java.lang.String getPublisher() {
java.lang.Object ref = publisher_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
publisher_ = s;
}
return s;
}
}
/**
* optional string publisher = 4;
*/
public com.google.protobuf.ByteString
getPublisherBytes() {
java.lang.Object ref = publisher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publisher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string publicationDate = 5;
public static final int PUBLICATIONDATE_FIELD_NUMBER = 5;
private java.lang.Object publicationDate_;
/**
* optional string publicationDate = 5;
*/
public boolean hasPublicationDate() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string publicationDate = 5;
*/
public java.lang.String getPublicationDate() {
java.lang.Object ref = publicationDate_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
publicationDate_ = s;
}
return s;
}
}
/**
* optional string publicationDate = 5;
*/
public com.google.protobuf.ByteString
getPublicationDateBytes() {
java.lang.Object ref = publicationDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publicationDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string isbn = 6;
public static final int ISBN_FIELD_NUMBER = 6;
private java.lang.Object isbn_;
/**
* optional string isbn = 6;
*/
public boolean hasIsbn() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string isbn = 6;
*/
public java.lang.String getIsbn() {
java.lang.Object ref = isbn_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
isbn_ = s;
}
return s;
}
}
/**
* optional string isbn = 6;
*/
public com.google.protobuf.ByteString
getIsbnBytes() {
java.lang.Object ref = isbn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
isbn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 numberOfPages = 7;
public static final int NUMBEROFPAGES_FIELD_NUMBER = 7;
private int numberOfPages_;
/**
* optional int32 numberOfPages = 7;
*/
public boolean hasNumberOfPages() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 numberOfPages = 7;
*/
public int getNumberOfPages() {
return numberOfPages_;
}
// optional string subtitle = 8;
public static final int SUBTITLE_FIELD_NUMBER = 8;
private java.lang.Object subtitle_;
/**
* optional string subtitle = 8;
*/
public boolean hasSubtitle() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string subtitle = 8;
*/
public java.lang.String getSubtitle() {
java.lang.Object ref = subtitle_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
subtitle_ = s;
}
return s;
}
}
/**
* optional string subtitle = 8;
*/
public com.google.protobuf.ByteString
getSubtitleBytes() {
java.lang.Object ref = subtitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subtitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .BookAuthor author = 9;
public static final int AUTHOR_FIELD_NUMBER = 9;
private java.util.List author_;
/**
* repeated .BookAuthor author = 9;
*/
public java.util.List getAuthorList() {
return author_;
}
/**
* repeated .BookAuthor author = 9;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder>
getAuthorOrBuilderList() {
return author_;
}
/**
* repeated .BookAuthor author = 9;
*/
public int getAuthorCount() {
return author_.size();
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor getAuthor(int index) {
return author_.get(index);
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder getAuthorOrBuilder(
int index) {
return author_.get(index);
}
// optional string readerUrl = 10;
public static final int READERURL_FIELD_NUMBER = 10;
private java.lang.Object readerUrl_;
/**
* optional string readerUrl = 10;
*/
public boolean hasReaderUrl() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string readerUrl = 10;
*/
public java.lang.String getReaderUrl() {
java.lang.Object ref = readerUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
readerUrl_ = s;
}
return s;
}
}
/**
* optional string readerUrl = 10;
*/
public com.google.protobuf.ByteString
getReaderUrlBytes() {
java.lang.Object ref = readerUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
readerUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string downloadEpubUrl = 11;
public static final int DOWNLOADEPUBURL_FIELD_NUMBER = 11;
private java.lang.Object downloadEpubUrl_;
/**
* optional string downloadEpubUrl = 11;
*/
public boolean hasDownloadEpubUrl() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string downloadEpubUrl = 11;
*/
public java.lang.String getDownloadEpubUrl() {
java.lang.Object ref = downloadEpubUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
downloadEpubUrl_ = s;
}
return s;
}
}
/**
* optional string downloadEpubUrl = 11;
*/
public com.google.protobuf.ByteString
getDownloadEpubUrlBytes() {
java.lang.Object ref = downloadEpubUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadEpubUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string downloadPdfUrl = 12;
public static final int DOWNLOADPDFURL_FIELD_NUMBER = 12;
private java.lang.Object downloadPdfUrl_;
/**
* optional string downloadPdfUrl = 12;
*/
public boolean hasDownloadPdfUrl() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string downloadPdfUrl = 12;
*/
public java.lang.String getDownloadPdfUrl() {
java.lang.Object ref = downloadPdfUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
downloadPdfUrl_ = s;
}
return s;
}
}
/**
* optional string downloadPdfUrl = 12;
*/
public com.google.protobuf.ByteString
getDownloadPdfUrlBytes() {
java.lang.Object ref = downloadPdfUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadPdfUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string acsEpubTokenUrl = 13;
public static final int ACSEPUBTOKENURL_FIELD_NUMBER = 13;
private java.lang.Object acsEpubTokenUrl_;
/**
* optional string acsEpubTokenUrl = 13;
*/
public boolean hasAcsEpubTokenUrl() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public java.lang.String getAcsEpubTokenUrl() {
java.lang.Object ref = acsEpubTokenUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
acsEpubTokenUrl_ = s;
}
return s;
}
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public com.google.protobuf.ByteString
getAcsEpubTokenUrlBytes() {
java.lang.Object ref = acsEpubTokenUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
acsEpubTokenUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string acsPdfTokenUrl = 14;
public static final int ACSPDFTOKENURL_FIELD_NUMBER = 14;
private java.lang.Object acsPdfTokenUrl_;
/**
* optional string acsPdfTokenUrl = 14;
*/
public boolean hasAcsPdfTokenUrl() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public java.lang.String getAcsPdfTokenUrl() {
java.lang.Object ref = acsPdfTokenUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
acsPdfTokenUrl_ = s;
}
return s;
}
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public com.google.protobuf.ByteString
getAcsPdfTokenUrlBytes() {
java.lang.Object ref = acsPdfTokenUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
acsPdfTokenUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bool epubAvailable = 15;
public static final int EPUBAVAILABLE_FIELD_NUMBER = 15;
private boolean epubAvailable_;
/**
* optional bool epubAvailable = 15;
*/
public boolean hasEpubAvailable() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional bool epubAvailable = 15;
*/
public boolean getEpubAvailable() {
return epubAvailable_;
}
// optional bool pdfAvailable = 16;
public static final int PDFAVAILABLE_FIELD_NUMBER = 16;
private boolean pdfAvailable_;
/**
* optional bool pdfAvailable = 16;
*/
public boolean hasPdfAvailable() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional bool pdfAvailable = 16;
*/
public boolean getPdfAvailable() {
return pdfAvailable_;
}
// optional string aboutTheAuthor = 17;
public static final int ABOUTTHEAUTHOR_FIELD_NUMBER = 17;
private java.lang.Object aboutTheAuthor_;
/**
* optional string aboutTheAuthor = 17;
*/
public boolean hasAboutTheAuthor() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional string aboutTheAuthor = 17;
*/
public java.lang.String getAboutTheAuthor() {
java.lang.Object ref = aboutTheAuthor_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
aboutTheAuthor_ = s;
}
return s;
}
}
/**
* optional string aboutTheAuthor = 17;
*/
public com.google.protobuf.ByteString
getAboutTheAuthorBytes() {
java.lang.Object ref = aboutTheAuthor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
aboutTheAuthor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated group Identifier = 18 {
public static final int IDENTIFIER_FIELD_NUMBER = 18;
private java.util.List identifier_;
/**
* repeated group Identifier = 18 { ... }
*/
public java.util.List getIdentifierList() {
return identifier_;
}
/**
* repeated group Identifier = 18 { ... }
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder>
getIdentifierOrBuilderList() {
return identifier_;
}
/**
* repeated group Identifier = 18 { ... }
*/
public int getIdentifierCount() {
return identifier_.size();
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier getIdentifier(int index) {
return identifier_.get(index);
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder getIdentifierOrBuilder(
int index) {
return identifier_.get(index);
}
private void initFields() {
subject_ = java.util.Collections.emptyList();
publisher_ = "";
publicationDate_ = "";
isbn_ = "";
numberOfPages_ = 0;
subtitle_ = "";
author_ = java.util.Collections.emptyList();
readerUrl_ = "";
downloadEpubUrl_ = "";
downloadPdfUrl_ = "";
acsEpubTokenUrl_ = "";
acsPdfTokenUrl_ = "";
epubAvailable_ = false;
pdfAvailable_ = false;
aboutTheAuthor_ = "";
identifier_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < subject_.size(); i++) {
output.writeMessage(3, subject_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(4, getPublisherBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(5, getPublicationDateBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(6, getIsbnBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(7, numberOfPages_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(8, getSubtitleBytes());
}
for (int i = 0; i < author_.size(); i++) {
output.writeMessage(9, author_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(10, getReaderUrlBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(11, getDownloadEpubUrlBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(12, getDownloadPdfUrlBytes());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(13, getAcsEpubTokenUrlBytes());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBytes(14, getAcsPdfTokenUrlBytes());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBool(15, epubAvailable_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeBool(16, pdfAvailable_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeBytes(17, getAboutTheAuthorBytes());
}
for (int i = 0; i < identifier_.size(); i++) {
output.writeGroup(18, identifier_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < subject_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, subject_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getPublisherBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getPublicationDateBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getIsbnBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, numberOfPages_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getSubtitleBytes());
}
for (int i = 0; i < author_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, author_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getReaderUrlBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getDownloadEpubUrlBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(12, getDownloadPdfUrlBytes());
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(13, getAcsEpubTokenUrlBytes());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, getAcsPdfTokenUrlBytes());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, epubAvailable_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, pdfAvailable_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(17, getAboutTheAuthorBytes());
}
for (int i = 0; i < identifier_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeGroupSize(18, identifier_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BookDetails prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BookDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BookDetailsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.class, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getSubjectFieldBuilder();
getAuthorFieldBuilder();
getIdentifierFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (subjectBuilder_ == null) {
subject_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
subjectBuilder_.clear();
}
publisher_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
publicationDate_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
isbn_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
numberOfPages_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
subtitle_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
if (authorBuilder_ == null) {
author_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
authorBuilder_.clear();
}
readerUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
downloadEpubUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
downloadPdfUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
acsEpubTokenUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
acsPdfTokenUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000800);
epubAvailable_ = false;
bitField0_ = (bitField0_ & ~0x00001000);
pdfAvailable_ = false;
bitField0_ = (bitField0_ & ~0x00002000);
aboutTheAuthor_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
if (identifierBuilder_ == null) {
identifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00008000);
} else {
identifierBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookDetails_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails build() {
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails result = new com.akdeniz.googleplaycrawler.GooglePlay.BookDetails(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (subjectBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subject_ = java.util.Collections.unmodifiableList(subject_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.subject_ = subject_;
} else {
result.subject_ = subjectBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.publisher_ = publisher_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.publicationDate_ = publicationDate_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.isbn_ = isbn_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.numberOfPages_ = numberOfPages_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.subtitle_ = subtitle_;
if (authorBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
author_ = java.util.Collections.unmodifiableList(author_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.author_ = author_;
} else {
result.author_ = authorBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.readerUrl_ = readerUrl_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000040;
}
result.downloadEpubUrl_ = downloadEpubUrl_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000080;
}
result.downloadPdfUrl_ = downloadPdfUrl_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000100;
}
result.acsEpubTokenUrl_ = acsEpubTokenUrl_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000200;
}
result.acsPdfTokenUrl_ = acsPdfTokenUrl_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000400;
}
result.epubAvailable_ = epubAvailable_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000800;
}
result.pdfAvailable_ = pdfAvailable_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00001000;
}
result.aboutTheAuthor_ = aboutTheAuthor_;
if (identifierBuilder_ == null) {
if (((bitField0_ & 0x00008000) == 0x00008000)) {
identifier_ = java.util.Collections.unmodifiableList(identifier_);
bitField0_ = (bitField0_ & ~0x00008000);
}
result.identifier_ = identifier_;
} else {
result.identifier_ = identifierBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BookDetails) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BookDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BookDetails other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.getDefaultInstance()) return this;
if (subjectBuilder_ == null) {
if (!other.subject_.isEmpty()) {
if (subject_.isEmpty()) {
subject_ = other.subject_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSubjectIsMutable();
subject_.addAll(other.subject_);
}
onChanged();
}
} else {
if (!other.subject_.isEmpty()) {
if (subjectBuilder_.isEmpty()) {
subjectBuilder_.dispose();
subjectBuilder_ = null;
subject_ = other.subject_;
bitField0_ = (bitField0_ & ~0x00000001);
subjectBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSubjectFieldBuilder() : null;
} else {
subjectBuilder_.addAllMessages(other.subject_);
}
}
}
if (other.hasPublisher()) {
bitField0_ |= 0x00000002;
publisher_ = other.publisher_;
onChanged();
}
if (other.hasPublicationDate()) {
bitField0_ |= 0x00000004;
publicationDate_ = other.publicationDate_;
onChanged();
}
if (other.hasIsbn()) {
bitField0_ |= 0x00000008;
isbn_ = other.isbn_;
onChanged();
}
if (other.hasNumberOfPages()) {
setNumberOfPages(other.getNumberOfPages());
}
if (other.hasSubtitle()) {
bitField0_ |= 0x00000020;
subtitle_ = other.subtitle_;
onChanged();
}
if (authorBuilder_ == null) {
if (!other.author_.isEmpty()) {
if (author_.isEmpty()) {
author_ = other.author_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureAuthorIsMutable();
author_.addAll(other.author_);
}
onChanged();
}
} else {
if (!other.author_.isEmpty()) {
if (authorBuilder_.isEmpty()) {
authorBuilder_.dispose();
authorBuilder_ = null;
author_ = other.author_;
bitField0_ = (bitField0_ & ~0x00000040);
authorBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAuthorFieldBuilder() : null;
} else {
authorBuilder_.addAllMessages(other.author_);
}
}
}
if (other.hasReaderUrl()) {
bitField0_ |= 0x00000080;
readerUrl_ = other.readerUrl_;
onChanged();
}
if (other.hasDownloadEpubUrl()) {
bitField0_ |= 0x00000100;
downloadEpubUrl_ = other.downloadEpubUrl_;
onChanged();
}
if (other.hasDownloadPdfUrl()) {
bitField0_ |= 0x00000200;
downloadPdfUrl_ = other.downloadPdfUrl_;
onChanged();
}
if (other.hasAcsEpubTokenUrl()) {
bitField0_ |= 0x00000400;
acsEpubTokenUrl_ = other.acsEpubTokenUrl_;
onChanged();
}
if (other.hasAcsPdfTokenUrl()) {
bitField0_ |= 0x00000800;
acsPdfTokenUrl_ = other.acsPdfTokenUrl_;
onChanged();
}
if (other.hasEpubAvailable()) {
setEpubAvailable(other.getEpubAvailable());
}
if (other.hasPdfAvailable()) {
setPdfAvailable(other.getPdfAvailable());
}
if (other.hasAboutTheAuthor()) {
bitField0_ |= 0x00004000;
aboutTheAuthor_ = other.aboutTheAuthor_;
onChanged();
}
if (identifierBuilder_ == null) {
if (!other.identifier_.isEmpty()) {
if (identifier_.isEmpty()) {
identifier_ = other.identifier_;
bitField0_ = (bitField0_ & ~0x00008000);
} else {
ensureIdentifierIsMutable();
identifier_.addAll(other.identifier_);
}
onChanged();
}
} else {
if (!other.identifier_.isEmpty()) {
if (identifierBuilder_.isEmpty()) {
identifierBuilder_.dispose();
identifierBuilder_ = null;
identifier_ = other.identifier_;
bitField0_ = (bitField0_ & ~0x00008000);
identifierBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getIdentifierFieldBuilder() : null;
} else {
identifierBuilder_.addAllMessages(other.identifier_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BookDetails) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .BookSubject subject = 3;
private java.util.List subject_ =
java.util.Collections.emptyList();
private void ensureSubjectIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
subject_ = new java.util.ArrayList(subject_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder> subjectBuilder_;
/**
* repeated .BookSubject subject = 3;
*/
public java.util.List getSubjectList() {
if (subjectBuilder_ == null) {
return java.util.Collections.unmodifiableList(subject_);
} else {
return subjectBuilder_.getMessageList();
}
}
/**
* repeated .BookSubject subject = 3;
*/
public int getSubjectCount() {
if (subjectBuilder_ == null) {
return subject_.size();
} else {
return subjectBuilder_.getCount();
}
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject getSubject(int index) {
if (subjectBuilder_ == null) {
return subject_.get(index);
} else {
return subjectBuilder_.getMessage(index);
}
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder setSubject(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject value) {
if (subjectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubjectIsMutable();
subject_.set(index, value);
onChanged();
} else {
subjectBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder setSubject(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder builderForValue) {
if (subjectBuilder_ == null) {
ensureSubjectIsMutable();
subject_.set(index, builderForValue.build());
onChanged();
} else {
subjectBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder addSubject(com.akdeniz.googleplaycrawler.GooglePlay.BookSubject value) {
if (subjectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubjectIsMutable();
subject_.add(value);
onChanged();
} else {
subjectBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder addSubject(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject value) {
if (subjectBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubjectIsMutable();
subject_.add(index, value);
onChanged();
} else {
subjectBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder addSubject(
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder builderForValue) {
if (subjectBuilder_ == null) {
ensureSubjectIsMutable();
subject_.add(builderForValue.build());
onChanged();
} else {
subjectBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder addSubject(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder builderForValue) {
if (subjectBuilder_ == null) {
ensureSubjectIsMutable();
subject_.add(index, builderForValue.build());
onChanged();
} else {
subjectBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder addAllSubject(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.BookSubject> values) {
if (subjectBuilder_ == null) {
ensureSubjectIsMutable();
super.addAll(values, subject_);
onChanged();
} else {
subjectBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder clearSubject() {
if (subjectBuilder_ == null) {
subject_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
subjectBuilder_.clear();
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public Builder removeSubject(int index) {
if (subjectBuilder_ == null) {
ensureSubjectIsMutable();
subject_.remove(index);
onChanged();
} else {
subjectBuilder_.remove(index);
}
return this;
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder getSubjectBuilder(
int index) {
return getSubjectFieldBuilder().getBuilder(index);
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder getSubjectOrBuilder(
int index) {
if (subjectBuilder_ == null) {
return subject_.get(index); } else {
return subjectBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BookSubject subject = 3;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder>
getSubjectOrBuilderList() {
if (subjectBuilder_ != null) {
return subjectBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subject_);
}
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder addSubjectBuilder() {
return getSubjectFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.getDefaultInstance());
}
/**
* repeated .BookSubject subject = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder addSubjectBuilder(
int index) {
return getSubjectFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.getDefaultInstance());
}
/**
* repeated .BookSubject subject = 3;
*/
public java.util.List
getSubjectBuilderList() {
return getSubjectFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder>
getSubjectFieldBuilder() {
if (subjectBuilder_ == null) {
subjectBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder>(
subject_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
subject_ = null;
}
return subjectBuilder_;
}
// optional string publisher = 4;
private java.lang.Object publisher_ = "";
/**
* optional string publisher = 4;
*/
public boolean hasPublisher() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string publisher = 4;
*/
public java.lang.String getPublisher() {
java.lang.Object ref = publisher_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
publisher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string publisher = 4;
*/
public com.google.protobuf.ByteString
getPublisherBytes() {
java.lang.Object ref = publisher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publisher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string publisher = 4;
*/
public Builder setPublisher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
publisher_ = value;
onChanged();
return this;
}
/**
* optional string publisher = 4;
*/
public Builder clearPublisher() {
bitField0_ = (bitField0_ & ~0x00000002);
publisher_ = getDefaultInstance().getPublisher();
onChanged();
return this;
}
/**
* optional string publisher = 4;
*/
public Builder setPublisherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
publisher_ = value;
onChanged();
return this;
}
// optional string publicationDate = 5;
private java.lang.Object publicationDate_ = "";
/**
* optional string publicationDate = 5;
*/
public boolean hasPublicationDate() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string publicationDate = 5;
*/
public java.lang.String getPublicationDate() {
java.lang.Object ref = publicationDate_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
publicationDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string publicationDate = 5;
*/
public com.google.protobuf.ByteString
getPublicationDateBytes() {
java.lang.Object ref = publicationDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publicationDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string publicationDate = 5;
*/
public Builder setPublicationDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
publicationDate_ = value;
onChanged();
return this;
}
/**
* optional string publicationDate = 5;
*/
public Builder clearPublicationDate() {
bitField0_ = (bitField0_ & ~0x00000004);
publicationDate_ = getDefaultInstance().getPublicationDate();
onChanged();
return this;
}
/**
* optional string publicationDate = 5;
*/
public Builder setPublicationDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
publicationDate_ = value;
onChanged();
return this;
}
// optional string isbn = 6;
private java.lang.Object isbn_ = "";
/**
* optional string isbn = 6;
*/
public boolean hasIsbn() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string isbn = 6;
*/
public java.lang.String getIsbn() {
java.lang.Object ref = isbn_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
isbn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string isbn = 6;
*/
public com.google.protobuf.ByteString
getIsbnBytes() {
java.lang.Object ref = isbn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
isbn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string isbn = 6;
*/
public Builder setIsbn(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
isbn_ = value;
onChanged();
return this;
}
/**
* optional string isbn = 6;
*/
public Builder clearIsbn() {
bitField0_ = (bitField0_ & ~0x00000008);
isbn_ = getDefaultInstance().getIsbn();
onChanged();
return this;
}
/**
* optional string isbn = 6;
*/
public Builder setIsbnBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
isbn_ = value;
onChanged();
return this;
}
// optional int32 numberOfPages = 7;
private int numberOfPages_ ;
/**
* optional int32 numberOfPages = 7;
*/
public boolean hasNumberOfPages() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 numberOfPages = 7;
*/
public int getNumberOfPages() {
return numberOfPages_;
}
/**
* optional int32 numberOfPages = 7;
*/
public Builder setNumberOfPages(int value) {
bitField0_ |= 0x00000010;
numberOfPages_ = value;
onChanged();
return this;
}
/**
* optional int32 numberOfPages = 7;
*/
public Builder clearNumberOfPages() {
bitField0_ = (bitField0_ & ~0x00000010);
numberOfPages_ = 0;
onChanged();
return this;
}
// optional string subtitle = 8;
private java.lang.Object subtitle_ = "";
/**
* optional string subtitle = 8;
*/
public boolean hasSubtitle() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string subtitle = 8;
*/
public java.lang.String getSubtitle() {
java.lang.Object ref = subtitle_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
subtitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string subtitle = 8;
*/
public com.google.protobuf.ByteString
getSubtitleBytes() {
java.lang.Object ref = subtitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subtitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string subtitle = 8;
*/
public Builder setSubtitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
subtitle_ = value;
onChanged();
return this;
}
/**
* optional string subtitle = 8;
*/
public Builder clearSubtitle() {
bitField0_ = (bitField0_ & ~0x00000020);
subtitle_ = getDefaultInstance().getSubtitle();
onChanged();
return this;
}
/**
* optional string subtitle = 8;
*/
public Builder setSubtitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
subtitle_ = value;
onChanged();
return this;
}
// repeated .BookAuthor author = 9;
private java.util.List author_ =
java.util.Collections.emptyList();
private void ensureAuthorIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
author_ = new java.util.ArrayList(author_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder> authorBuilder_;
/**
* repeated .BookAuthor author = 9;
*/
public java.util.List getAuthorList() {
if (authorBuilder_ == null) {
return java.util.Collections.unmodifiableList(author_);
} else {
return authorBuilder_.getMessageList();
}
}
/**
* repeated .BookAuthor author = 9;
*/
public int getAuthorCount() {
if (authorBuilder_ == null) {
return author_.size();
} else {
return authorBuilder_.getCount();
}
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor getAuthor(int index) {
if (authorBuilder_ == null) {
return author_.get(index);
} else {
return authorBuilder_.getMessage(index);
}
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder setAuthor(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor value) {
if (authorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuthorIsMutable();
author_.set(index, value);
onChanged();
} else {
authorBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder setAuthor(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder builderForValue) {
if (authorBuilder_ == null) {
ensureAuthorIsMutable();
author_.set(index, builderForValue.build());
onChanged();
} else {
authorBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder addAuthor(com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor value) {
if (authorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuthorIsMutable();
author_.add(value);
onChanged();
} else {
authorBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder addAuthor(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor value) {
if (authorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuthorIsMutable();
author_.add(index, value);
onChanged();
} else {
authorBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder addAuthor(
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder builderForValue) {
if (authorBuilder_ == null) {
ensureAuthorIsMutable();
author_.add(builderForValue.build());
onChanged();
} else {
authorBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder addAuthor(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder builderForValue) {
if (authorBuilder_ == null) {
ensureAuthorIsMutable();
author_.add(index, builderForValue.build());
onChanged();
} else {
authorBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder addAllAuthor(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor> values) {
if (authorBuilder_ == null) {
ensureAuthorIsMutable();
super.addAll(values, author_);
onChanged();
} else {
authorBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder clearAuthor() {
if (authorBuilder_ == null) {
author_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
authorBuilder_.clear();
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public Builder removeAuthor(int index) {
if (authorBuilder_ == null) {
ensureAuthorIsMutable();
author_.remove(index);
onChanged();
} else {
authorBuilder_.remove(index);
}
return this;
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder getAuthorBuilder(
int index) {
return getAuthorFieldBuilder().getBuilder(index);
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder getAuthorOrBuilder(
int index) {
if (authorBuilder_ == null) {
return author_.get(index); } else {
return authorBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BookAuthor author = 9;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder>
getAuthorOrBuilderList() {
if (authorBuilder_ != null) {
return authorBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(author_);
}
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder addAuthorBuilder() {
return getAuthorFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.getDefaultInstance());
}
/**
* repeated .BookAuthor author = 9;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder addAuthorBuilder(
int index) {
return getAuthorFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.getDefaultInstance());
}
/**
* repeated .BookAuthor author = 9;
*/
public java.util.List
getAuthorBuilderList() {
return getAuthorFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder>
getAuthorFieldBuilder() {
if (authorBuilder_ == null) {
authorBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthor.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookAuthorOrBuilder>(
author_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
author_ = null;
}
return authorBuilder_;
}
// optional string readerUrl = 10;
private java.lang.Object readerUrl_ = "";
/**
* optional string readerUrl = 10;
*/
public boolean hasReaderUrl() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string readerUrl = 10;
*/
public java.lang.String getReaderUrl() {
java.lang.Object ref = readerUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
readerUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string readerUrl = 10;
*/
public com.google.protobuf.ByteString
getReaderUrlBytes() {
java.lang.Object ref = readerUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
readerUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string readerUrl = 10;
*/
public Builder setReaderUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
readerUrl_ = value;
onChanged();
return this;
}
/**
* optional string readerUrl = 10;
*/
public Builder clearReaderUrl() {
bitField0_ = (bitField0_ & ~0x00000080);
readerUrl_ = getDefaultInstance().getReaderUrl();
onChanged();
return this;
}
/**
* optional string readerUrl = 10;
*/
public Builder setReaderUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
readerUrl_ = value;
onChanged();
return this;
}
// optional string downloadEpubUrl = 11;
private java.lang.Object downloadEpubUrl_ = "";
/**
* optional string downloadEpubUrl = 11;
*/
public boolean hasDownloadEpubUrl() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string downloadEpubUrl = 11;
*/
public java.lang.String getDownloadEpubUrl() {
java.lang.Object ref = downloadEpubUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
downloadEpubUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string downloadEpubUrl = 11;
*/
public com.google.protobuf.ByteString
getDownloadEpubUrlBytes() {
java.lang.Object ref = downloadEpubUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadEpubUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string downloadEpubUrl = 11;
*/
public Builder setDownloadEpubUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
downloadEpubUrl_ = value;
onChanged();
return this;
}
/**
* optional string downloadEpubUrl = 11;
*/
public Builder clearDownloadEpubUrl() {
bitField0_ = (bitField0_ & ~0x00000100);
downloadEpubUrl_ = getDefaultInstance().getDownloadEpubUrl();
onChanged();
return this;
}
/**
* optional string downloadEpubUrl = 11;
*/
public Builder setDownloadEpubUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
downloadEpubUrl_ = value;
onChanged();
return this;
}
// optional string downloadPdfUrl = 12;
private java.lang.Object downloadPdfUrl_ = "";
/**
* optional string downloadPdfUrl = 12;
*/
public boolean hasDownloadPdfUrl() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string downloadPdfUrl = 12;
*/
public java.lang.String getDownloadPdfUrl() {
java.lang.Object ref = downloadPdfUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
downloadPdfUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string downloadPdfUrl = 12;
*/
public com.google.protobuf.ByteString
getDownloadPdfUrlBytes() {
java.lang.Object ref = downloadPdfUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
downloadPdfUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string downloadPdfUrl = 12;
*/
public Builder setDownloadPdfUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
downloadPdfUrl_ = value;
onChanged();
return this;
}
/**
* optional string downloadPdfUrl = 12;
*/
public Builder clearDownloadPdfUrl() {
bitField0_ = (bitField0_ & ~0x00000200);
downloadPdfUrl_ = getDefaultInstance().getDownloadPdfUrl();
onChanged();
return this;
}
/**
* optional string downloadPdfUrl = 12;
*/
public Builder setDownloadPdfUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
downloadPdfUrl_ = value;
onChanged();
return this;
}
// optional string acsEpubTokenUrl = 13;
private java.lang.Object acsEpubTokenUrl_ = "";
/**
* optional string acsEpubTokenUrl = 13;
*/
public boolean hasAcsEpubTokenUrl() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public java.lang.String getAcsEpubTokenUrl() {
java.lang.Object ref = acsEpubTokenUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
acsEpubTokenUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public com.google.protobuf.ByteString
getAcsEpubTokenUrlBytes() {
java.lang.Object ref = acsEpubTokenUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
acsEpubTokenUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public Builder setAcsEpubTokenUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
acsEpubTokenUrl_ = value;
onChanged();
return this;
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public Builder clearAcsEpubTokenUrl() {
bitField0_ = (bitField0_ & ~0x00000400);
acsEpubTokenUrl_ = getDefaultInstance().getAcsEpubTokenUrl();
onChanged();
return this;
}
/**
* optional string acsEpubTokenUrl = 13;
*/
public Builder setAcsEpubTokenUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
acsEpubTokenUrl_ = value;
onChanged();
return this;
}
// optional string acsPdfTokenUrl = 14;
private java.lang.Object acsPdfTokenUrl_ = "";
/**
* optional string acsPdfTokenUrl = 14;
*/
public boolean hasAcsPdfTokenUrl() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public java.lang.String getAcsPdfTokenUrl() {
java.lang.Object ref = acsPdfTokenUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
acsPdfTokenUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public com.google.protobuf.ByteString
getAcsPdfTokenUrlBytes() {
java.lang.Object ref = acsPdfTokenUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
acsPdfTokenUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public Builder setAcsPdfTokenUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
acsPdfTokenUrl_ = value;
onChanged();
return this;
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public Builder clearAcsPdfTokenUrl() {
bitField0_ = (bitField0_ & ~0x00000800);
acsPdfTokenUrl_ = getDefaultInstance().getAcsPdfTokenUrl();
onChanged();
return this;
}
/**
* optional string acsPdfTokenUrl = 14;
*/
public Builder setAcsPdfTokenUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
acsPdfTokenUrl_ = value;
onChanged();
return this;
}
// optional bool epubAvailable = 15;
private boolean epubAvailable_ ;
/**
* optional bool epubAvailable = 15;
*/
public boolean hasEpubAvailable() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional bool epubAvailable = 15;
*/
public boolean getEpubAvailable() {
return epubAvailable_;
}
/**
* optional bool epubAvailable = 15;
*/
public Builder setEpubAvailable(boolean value) {
bitField0_ |= 0x00001000;
epubAvailable_ = value;
onChanged();
return this;
}
/**
* optional bool epubAvailable = 15;
*/
public Builder clearEpubAvailable() {
bitField0_ = (bitField0_ & ~0x00001000);
epubAvailable_ = false;
onChanged();
return this;
}
// optional bool pdfAvailable = 16;
private boolean pdfAvailable_ ;
/**
* optional bool pdfAvailable = 16;
*/
public boolean hasPdfAvailable() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional bool pdfAvailable = 16;
*/
public boolean getPdfAvailable() {
return pdfAvailable_;
}
/**
* optional bool pdfAvailable = 16;
*/
public Builder setPdfAvailable(boolean value) {
bitField0_ |= 0x00002000;
pdfAvailable_ = value;
onChanged();
return this;
}
/**
* optional bool pdfAvailable = 16;
*/
public Builder clearPdfAvailable() {
bitField0_ = (bitField0_ & ~0x00002000);
pdfAvailable_ = false;
onChanged();
return this;
}
// optional string aboutTheAuthor = 17;
private java.lang.Object aboutTheAuthor_ = "";
/**
* optional string aboutTheAuthor = 17;
*/
public boolean hasAboutTheAuthor() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional string aboutTheAuthor = 17;
*/
public java.lang.String getAboutTheAuthor() {
java.lang.Object ref = aboutTheAuthor_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
aboutTheAuthor_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string aboutTheAuthor = 17;
*/
public com.google.protobuf.ByteString
getAboutTheAuthorBytes() {
java.lang.Object ref = aboutTheAuthor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
aboutTheAuthor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string aboutTheAuthor = 17;
*/
public Builder setAboutTheAuthor(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
aboutTheAuthor_ = value;
onChanged();
return this;
}
/**
* optional string aboutTheAuthor = 17;
*/
public Builder clearAboutTheAuthor() {
bitField0_ = (bitField0_ & ~0x00004000);
aboutTheAuthor_ = getDefaultInstance().getAboutTheAuthor();
onChanged();
return this;
}
/**
* optional string aboutTheAuthor = 17;
*/
public Builder setAboutTheAuthorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
aboutTheAuthor_ = value;
onChanged();
return this;
}
// repeated group Identifier = 18 {
private java.util.List identifier_ =
java.util.Collections.emptyList();
private void ensureIdentifierIsMutable() {
if (!((bitField0_ & 0x00008000) == 0x00008000)) {
identifier_ = new java.util.ArrayList(identifier_);
bitField0_ |= 0x00008000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder> identifierBuilder_;
/**
* repeated group Identifier = 18 { ... }
*/
public java.util.List getIdentifierList() {
if (identifierBuilder_ == null) {
return java.util.Collections.unmodifiableList(identifier_);
} else {
return identifierBuilder_.getMessageList();
}
}
/**
* repeated group Identifier = 18 { ... }
*/
public int getIdentifierCount() {
if (identifierBuilder_ == null) {
return identifier_.size();
} else {
return identifierBuilder_.getCount();
}
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier getIdentifier(int index) {
if (identifierBuilder_ == null) {
return identifier_.get(index);
} else {
return identifierBuilder_.getMessage(index);
}
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder setIdentifier(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdentifierIsMutable();
identifier_.set(index, value);
onChanged();
} else {
identifierBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder setIdentifier(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
ensureIdentifierIsMutable();
identifier_.set(index, builderForValue.build());
onChanged();
} else {
identifierBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder addIdentifier(com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdentifierIsMutable();
identifier_.add(value);
onChanged();
} else {
identifierBuilder_.addMessage(value);
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder addIdentifier(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdentifierIsMutable();
identifier_.add(index, value);
onChanged();
} else {
identifierBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder addIdentifier(
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
ensureIdentifierIsMutable();
identifier_.add(builderForValue.build());
onChanged();
} else {
identifierBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder addIdentifier(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
ensureIdentifierIsMutable();
identifier_.add(index, builderForValue.build());
onChanged();
} else {
identifierBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder addAllIdentifier(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier> values) {
if (identifierBuilder_ == null) {
ensureIdentifierIsMutable();
super.addAll(values, identifier_);
onChanged();
} else {
identifierBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder clearIdentifier() {
if (identifierBuilder_ == null) {
identifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
} else {
identifierBuilder_.clear();
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public Builder removeIdentifier(int index) {
if (identifierBuilder_ == null) {
ensureIdentifierIsMutable();
identifier_.remove(index);
onChanged();
} else {
identifierBuilder_.remove(index);
}
return this;
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder getIdentifierBuilder(
int index) {
return getIdentifierFieldBuilder().getBuilder(index);
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder getIdentifierOrBuilder(
int index) {
if (identifierBuilder_ == null) {
return identifier_.get(index); } else {
return identifierBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated group Identifier = 18 { ... }
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder>
getIdentifierOrBuilderList() {
if (identifierBuilder_ != null) {
return identifierBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(identifier_);
}
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder addIdentifierBuilder() {
return getIdentifierFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.getDefaultInstance());
}
/**
* repeated group Identifier = 18 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder addIdentifierBuilder(
int index) {
return getIdentifierFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.getDefaultInstance());
}
/**
* repeated group Identifier = 18 { ... }
*/
public java.util.List
getIdentifierBuilderList() {
return getIdentifierFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
identifierBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.Identifier.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BookDetails.IdentifierOrBuilder>(
identifier_,
((bitField0_ & 0x00008000) == 0x00008000),
getParentForChildren(),
isClean());
identifier_ = null;
}
return identifierBuilder_;
}
// @@protoc_insertion_point(builder_scope:BookDetails)
}
static {
defaultInstance = new BookDetails(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BookDetails)
}
public interface BookSubjectOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string query = 2;
/**
* optional string query = 2;
*/
boolean hasQuery();
/**
* optional string query = 2;
*/
java.lang.String getQuery();
/**
* optional string query = 2;
*/
com.google.protobuf.ByteString
getQueryBytes();
// optional string subjectId = 3;
/**
* optional string subjectId = 3;
*/
boolean hasSubjectId();
/**
* optional string subjectId = 3;
*/
java.lang.String getSubjectId();
/**
* optional string subjectId = 3;
*/
com.google.protobuf.ByteString
getSubjectIdBytes();
}
/**
* Protobuf type {@code BookSubject}
*/
public static final class BookSubject extends
com.google.protobuf.GeneratedMessage
implements BookSubjectOrBuilder {
// Use BookSubject.newBuilder() to construct.
private BookSubject(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BookSubject(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BookSubject defaultInstance;
public static BookSubject getDefaultInstance() {
return defaultInstance;
}
public BookSubject getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BookSubject(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
query_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
subjectId_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookSubject_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookSubject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.class, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BookSubject parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BookSubject(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string query = 2;
public static final int QUERY_FIELD_NUMBER = 2;
private java.lang.Object query_;
/**
* optional string query = 2;
*/
public boolean hasQuery() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string query = 2;
*/
public java.lang.String getQuery() {
java.lang.Object ref = query_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
query_ = s;
}
return s;
}
}
/**
* optional string query = 2;
*/
public com.google.protobuf.ByteString
getQueryBytes() {
java.lang.Object ref = query_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
query_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string subjectId = 3;
public static final int SUBJECTID_FIELD_NUMBER = 3;
private java.lang.Object subjectId_;
/**
* optional string subjectId = 3;
*/
public boolean hasSubjectId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string subjectId = 3;
*/
public java.lang.String getSubjectId() {
java.lang.Object ref = subjectId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
subjectId_ = s;
}
return s;
}
}
/**
* optional string subjectId = 3;
*/
public com.google.protobuf.ByteString
getSubjectIdBytes() {
java.lang.Object ref = subjectId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subjectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
query_ = "";
subjectId_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getQueryBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getSubjectIdBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getQueryBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getSubjectIdBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BookSubject prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BookSubject}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BookSubjectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookSubject_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookSubject_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.class, com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
query_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
subjectId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BookSubject_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject build() {
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BookSubject buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject result = new com.akdeniz.googleplaycrawler.GooglePlay.BookSubject(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.query_ = query_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.subjectId_ = subjectId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BookSubject) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BookSubject)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BookSubject other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BookSubject.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasQuery()) {
bitField0_ |= 0x00000002;
query_ = other.query_;
onChanged();
}
if (other.hasSubjectId()) {
bitField0_ |= 0x00000004;
subjectId_ = other.subjectId_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BookSubject parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BookSubject) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string query = 2;
private java.lang.Object query_ = "";
/**
* optional string query = 2;
*/
public boolean hasQuery() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string query = 2;
*/
public java.lang.String getQuery() {
java.lang.Object ref = query_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
query_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string query = 2;
*/
public com.google.protobuf.ByteString
getQueryBytes() {
java.lang.Object ref = query_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
query_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string query = 2;
*/
public Builder setQuery(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
query_ = value;
onChanged();
return this;
}
/**
* optional string query = 2;
*/
public Builder clearQuery() {
bitField0_ = (bitField0_ & ~0x00000002);
query_ = getDefaultInstance().getQuery();
onChanged();
return this;
}
/**
* optional string query = 2;
*/
public Builder setQueryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
query_ = value;
onChanged();
return this;
}
// optional string subjectId = 3;
private java.lang.Object subjectId_ = "";
/**
* optional string subjectId = 3;
*/
public boolean hasSubjectId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string subjectId = 3;
*/
public java.lang.String getSubjectId() {
java.lang.Object ref = subjectId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
subjectId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string subjectId = 3;
*/
public com.google.protobuf.ByteString
getSubjectIdBytes() {
java.lang.Object ref = subjectId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subjectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string subjectId = 3;
*/
public Builder setSubjectId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
subjectId_ = value;
onChanged();
return this;
}
/**
* optional string subjectId = 3;
*/
public Builder clearSubjectId() {
bitField0_ = (bitField0_ & ~0x00000004);
subjectId_ = getDefaultInstance().getSubjectId();
onChanged();
return this;
}
/**
* optional string subjectId = 3;
*/
public Builder setSubjectIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
subjectId_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:BookSubject)
}
static {
defaultInstance = new BookSubject(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BookSubject)
}
public interface BrowseLinkOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string dataUrl = 3;
/**
* optional string dataUrl = 3;
*/
boolean hasDataUrl();
/**
* optional string dataUrl = 3;
*/
java.lang.String getDataUrl();
/**
* optional string dataUrl = 3;
*/
com.google.protobuf.ByteString
getDataUrlBytes();
}
/**
* Protobuf type {@code BrowseLink}
*/
public static final class BrowseLink extends
com.google.protobuf.GeneratedMessage
implements BrowseLinkOrBuilder {
// Use BrowseLink.newBuilder() to construct.
private BrowseLink(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BrowseLink(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BrowseLink defaultInstance;
public static BrowseLink getDefaultInstance() {
return defaultInstance;
}
public BrowseLink getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BrowseLink(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000002;
dataUrl_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseLink_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseLink_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.class, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BrowseLink parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BrowseLink(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string dataUrl = 3;
public static final int DATAURL_FIELD_NUMBER = 3;
private java.lang.Object dataUrl_;
/**
* optional string dataUrl = 3;
*/
public boolean hasDataUrl() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string dataUrl = 3;
*/
public java.lang.String getDataUrl() {
java.lang.Object ref = dataUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dataUrl_ = s;
}
return s;
}
}
/**
* optional string dataUrl = 3;
*/
public com.google.protobuf.ByteString
getDataUrlBytes() {
java.lang.Object ref = dataUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
dataUrl_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(3, getDataUrlBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getDataUrlBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BrowseLink}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseLink_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseLink_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.class, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
dataUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseLink_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink build() {
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink result = new com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.dataUrl_ = dataUrl_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasDataUrl()) {
bitField0_ |= 0x00000002;
dataUrl_ = other.dataUrl_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string dataUrl = 3;
private java.lang.Object dataUrl_ = "";
/**
* optional string dataUrl = 3;
*/
public boolean hasDataUrl() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string dataUrl = 3;
*/
public java.lang.String getDataUrl() {
java.lang.Object ref = dataUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
dataUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string dataUrl = 3;
*/
public com.google.protobuf.ByteString
getDataUrlBytes() {
java.lang.Object ref = dataUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string dataUrl = 3;
*/
public Builder setDataUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
dataUrl_ = value;
onChanged();
return this;
}
/**
* optional string dataUrl = 3;
*/
public Builder clearDataUrl() {
bitField0_ = (bitField0_ & ~0x00000002);
dataUrl_ = getDefaultInstance().getDataUrl();
onChanged();
return this;
}
/**
* optional string dataUrl = 3;
*/
public Builder setDataUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
dataUrl_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:BrowseLink)
}
static {
defaultInstance = new BrowseLink(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BrowseLink)
}
public interface BrowseResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string contentsUrl = 1;
/**
* optional string contentsUrl = 1;
*/
boolean hasContentsUrl();
/**
* optional string contentsUrl = 1;
*/
java.lang.String getContentsUrl();
/**
* optional string contentsUrl = 1;
*/
com.google.protobuf.ByteString
getContentsUrlBytes();
// optional string promoUrl = 2;
/**
* optional string promoUrl = 2;
*/
boolean hasPromoUrl();
/**
* optional string promoUrl = 2;
*/
java.lang.String getPromoUrl();
/**
* optional string promoUrl = 2;
*/
com.google.protobuf.ByteString
getPromoUrlBytes();
// repeated .BrowseLink category = 3;
/**
* repeated .BrowseLink category = 3;
*/
java.util.List
getCategoryList();
/**
* repeated .BrowseLink category = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getCategory(int index);
/**
* repeated .BrowseLink category = 3;
*/
int getCategoryCount();
/**
* repeated .BrowseLink category = 3;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getCategoryOrBuilderList();
/**
* repeated .BrowseLink category = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder getCategoryOrBuilder(
int index);
// repeated .BrowseLink breadcrumb = 4;
/**
* repeated .BrowseLink breadcrumb = 4;
*/
java.util.List
getBreadcrumbList();
/**
* repeated .BrowseLink breadcrumb = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getBreadcrumb(int index);
/**
* repeated .BrowseLink breadcrumb = 4;
*/
int getBreadcrumbCount();
/**
* repeated .BrowseLink breadcrumb = 4;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getBreadcrumbOrBuilderList();
/**
* repeated .BrowseLink breadcrumb = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder getBreadcrumbOrBuilder(
int index);
}
/**
* Protobuf type {@code BrowseResponse}
*/
public static final class BrowseResponse extends
com.google.protobuf.GeneratedMessage
implements BrowseResponseOrBuilder {
// Use BrowseResponse.newBuilder() to construct.
private BrowseResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BrowseResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BrowseResponse defaultInstance;
public static BrowseResponse getDefaultInstance() {
return defaultInstance;
}
public BrowseResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BrowseResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
contentsUrl_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
promoUrl_ = input.readBytes();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
category_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
category_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
breadcrumb_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
breadcrumb_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
category_ = java.util.Collections.unmodifiableList(category_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
breadcrumb_ = java.util.Collections.unmodifiableList(breadcrumb_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BrowseResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BrowseResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string contentsUrl = 1;
public static final int CONTENTSURL_FIELD_NUMBER = 1;
private java.lang.Object contentsUrl_;
/**
* optional string contentsUrl = 1;
*/
public boolean hasContentsUrl() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string contentsUrl = 1;
*/
public java.lang.String getContentsUrl() {
java.lang.Object ref = contentsUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
contentsUrl_ = s;
}
return s;
}
}
/**
* optional string contentsUrl = 1;
*/
public com.google.protobuf.ByteString
getContentsUrlBytes() {
java.lang.Object ref = contentsUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
contentsUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string promoUrl = 2;
public static final int PROMOURL_FIELD_NUMBER = 2;
private java.lang.Object promoUrl_;
/**
* optional string promoUrl = 2;
*/
public boolean hasPromoUrl() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string promoUrl = 2;
*/
public java.lang.String getPromoUrl() {
java.lang.Object ref = promoUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
promoUrl_ = s;
}
return s;
}
}
/**
* optional string promoUrl = 2;
*/
public com.google.protobuf.ByteString
getPromoUrlBytes() {
java.lang.Object ref = promoUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
promoUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .BrowseLink category = 3;
public static final int CATEGORY_FIELD_NUMBER = 3;
private java.util.List category_;
/**
* repeated .BrowseLink category = 3;
*/
public java.util.List getCategoryList() {
return category_;
}
/**
* repeated .BrowseLink category = 3;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getCategoryOrBuilderList() {
return category_;
}
/**
* repeated .BrowseLink category = 3;
*/
public int getCategoryCount() {
return category_.size();
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getCategory(int index) {
return category_.get(index);
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder getCategoryOrBuilder(
int index) {
return category_.get(index);
}
// repeated .BrowseLink breadcrumb = 4;
public static final int BREADCRUMB_FIELD_NUMBER = 4;
private java.util.List breadcrumb_;
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public java.util.List getBreadcrumbList() {
return breadcrumb_;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getBreadcrumbOrBuilderList() {
return breadcrumb_;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public int getBreadcrumbCount() {
return breadcrumb_.size();
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getBreadcrumb(int index) {
return breadcrumb_.get(index);
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder getBreadcrumbOrBuilder(
int index) {
return breadcrumb_.get(index);
}
private void initFields() {
contentsUrl_ = "";
promoUrl_ = "";
category_ = java.util.Collections.emptyList();
breadcrumb_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getContentsUrlBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getPromoUrlBytes());
}
for (int i = 0; i < category_.size(); i++) {
output.writeMessage(3, category_.get(i));
}
for (int i = 0; i < breadcrumb_.size(); i++) {
output.writeMessage(4, breadcrumb_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getContentsUrlBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getPromoUrlBytes());
}
for (int i = 0; i < category_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, category_.get(i));
}
for (int i = 0; i < breadcrumb_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, breadcrumb_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BrowseResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCategoryFieldBuilder();
getBreadcrumbFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
contentsUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
promoUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (categoryBuilder_ == null) {
category_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
categoryBuilder_.clear();
}
if (breadcrumbBuilder_ == null) {
breadcrumb_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
breadcrumbBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BrowseResponse_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse build() {
com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse result = new com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.contentsUrl_ = contentsUrl_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.promoUrl_ = promoUrl_;
if (categoryBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
category_ = java.util.Collections.unmodifiableList(category_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.category_ = category_;
} else {
result.category_ = categoryBuilder_.build();
}
if (breadcrumbBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
breadcrumb_ = java.util.Collections.unmodifiableList(breadcrumb_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.breadcrumb_ = breadcrumb_;
} else {
result.breadcrumb_ = breadcrumbBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse.getDefaultInstance()) return this;
if (other.hasContentsUrl()) {
bitField0_ |= 0x00000001;
contentsUrl_ = other.contentsUrl_;
onChanged();
}
if (other.hasPromoUrl()) {
bitField0_ |= 0x00000002;
promoUrl_ = other.promoUrl_;
onChanged();
}
if (categoryBuilder_ == null) {
if (!other.category_.isEmpty()) {
if (category_.isEmpty()) {
category_ = other.category_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureCategoryIsMutable();
category_.addAll(other.category_);
}
onChanged();
}
} else {
if (!other.category_.isEmpty()) {
if (categoryBuilder_.isEmpty()) {
categoryBuilder_.dispose();
categoryBuilder_ = null;
category_ = other.category_;
bitField0_ = (bitField0_ & ~0x00000004);
categoryBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCategoryFieldBuilder() : null;
} else {
categoryBuilder_.addAllMessages(other.category_);
}
}
}
if (breadcrumbBuilder_ == null) {
if (!other.breadcrumb_.isEmpty()) {
if (breadcrumb_.isEmpty()) {
breadcrumb_ = other.breadcrumb_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureBreadcrumbIsMutable();
breadcrumb_.addAll(other.breadcrumb_);
}
onChanged();
}
} else {
if (!other.breadcrumb_.isEmpty()) {
if (breadcrumbBuilder_.isEmpty()) {
breadcrumbBuilder_.dispose();
breadcrumbBuilder_ = null;
breadcrumb_ = other.breadcrumb_;
bitField0_ = (bitField0_ & ~0x00000008);
breadcrumbBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getBreadcrumbFieldBuilder() : null;
} else {
breadcrumbBuilder_.addAllMessages(other.breadcrumb_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BrowseResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string contentsUrl = 1;
private java.lang.Object contentsUrl_ = "";
/**
* optional string contentsUrl = 1;
*/
public boolean hasContentsUrl() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string contentsUrl = 1;
*/
public java.lang.String getContentsUrl() {
java.lang.Object ref = contentsUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
contentsUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string contentsUrl = 1;
*/
public com.google.protobuf.ByteString
getContentsUrlBytes() {
java.lang.Object ref = contentsUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
contentsUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string contentsUrl = 1;
*/
public Builder setContentsUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
contentsUrl_ = value;
onChanged();
return this;
}
/**
* optional string contentsUrl = 1;
*/
public Builder clearContentsUrl() {
bitField0_ = (bitField0_ & ~0x00000001);
contentsUrl_ = getDefaultInstance().getContentsUrl();
onChanged();
return this;
}
/**
* optional string contentsUrl = 1;
*/
public Builder setContentsUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
contentsUrl_ = value;
onChanged();
return this;
}
// optional string promoUrl = 2;
private java.lang.Object promoUrl_ = "";
/**
* optional string promoUrl = 2;
*/
public boolean hasPromoUrl() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string promoUrl = 2;
*/
public java.lang.String getPromoUrl() {
java.lang.Object ref = promoUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
promoUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string promoUrl = 2;
*/
public com.google.protobuf.ByteString
getPromoUrlBytes() {
java.lang.Object ref = promoUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
promoUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string promoUrl = 2;
*/
public Builder setPromoUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
promoUrl_ = value;
onChanged();
return this;
}
/**
* optional string promoUrl = 2;
*/
public Builder clearPromoUrl() {
bitField0_ = (bitField0_ & ~0x00000002);
promoUrl_ = getDefaultInstance().getPromoUrl();
onChanged();
return this;
}
/**
* optional string promoUrl = 2;
*/
public Builder setPromoUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
promoUrl_ = value;
onChanged();
return this;
}
// repeated .BrowseLink category = 3;
private java.util.List category_ =
java.util.Collections.emptyList();
private void ensureCategoryIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
category_ = new java.util.ArrayList(category_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder> categoryBuilder_;
/**
* repeated .BrowseLink category = 3;
*/
public java.util.List getCategoryList() {
if (categoryBuilder_ == null) {
return java.util.Collections.unmodifiableList(category_);
} else {
return categoryBuilder_.getMessageList();
}
}
/**
* repeated .BrowseLink category = 3;
*/
public int getCategoryCount() {
if (categoryBuilder_ == null) {
return category_.size();
} else {
return categoryBuilder_.getCount();
}
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getCategory(int index) {
if (categoryBuilder_ == null) {
return category_.get(index);
} else {
return categoryBuilder_.getMessage(index);
}
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder setCategory(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink value) {
if (categoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCategoryIsMutable();
category_.set(index, value);
onChanged();
} else {
categoryBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder setCategory(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder builderForValue) {
if (categoryBuilder_ == null) {
ensureCategoryIsMutable();
category_.set(index, builderForValue.build());
onChanged();
} else {
categoryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder addCategory(com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink value) {
if (categoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCategoryIsMutable();
category_.add(value);
onChanged();
} else {
categoryBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder addCategory(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink value) {
if (categoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCategoryIsMutable();
category_.add(index, value);
onChanged();
} else {
categoryBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder addCategory(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder builderForValue) {
if (categoryBuilder_ == null) {
ensureCategoryIsMutable();
category_.add(builderForValue.build());
onChanged();
} else {
categoryBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder addCategory(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder builderForValue) {
if (categoryBuilder_ == null) {
ensureCategoryIsMutable();
category_.add(index, builderForValue.build());
onChanged();
} else {
categoryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder addAllCategory(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink> values) {
if (categoryBuilder_ == null) {
ensureCategoryIsMutable();
super.addAll(values, category_);
onChanged();
} else {
categoryBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder clearCategory() {
if (categoryBuilder_ == null) {
category_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
categoryBuilder_.clear();
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public Builder removeCategory(int index) {
if (categoryBuilder_ == null) {
ensureCategoryIsMutable();
category_.remove(index);
onChanged();
} else {
categoryBuilder_.remove(index);
}
return this;
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder getCategoryBuilder(
int index) {
return getCategoryFieldBuilder().getBuilder(index);
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder getCategoryOrBuilder(
int index) {
if (categoryBuilder_ == null) {
return category_.get(index); } else {
return categoryBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BrowseLink category = 3;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getCategoryOrBuilderList() {
if (categoryBuilder_ != null) {
return categoryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(category_);
}
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder addCategoryBuilder() {
return getCategoryFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.getDefaultInstance());
}
/**
* repeated .BrowseLink category = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder addCategoryBuilder(
int index) {
return getCategoryFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.getDefaultInstance());
}
/**
* repeated .BrowseLink category = 3;
*/
public java.util.List
getCategoryBuilderList() {
return getCategoryFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getCategoryFieldBuilder() {
if (categoryBuilder_ == null) {
categoryBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>(
category_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
category_ = null;
}
return categoryBuilder_;
}
// repeated .BrowseLink breadcrumb = 4;
private java.util.List breadcrumb_ =
java.util.Collections.emptyList();
private void ensureBreadcrumbIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
breadcrumb_ = new java.util.ArrayList(breadcrumb_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder> breadcrumbBuilder_;
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public java.util.List getBreadcrumbList() {
if (breadcrumbBuilder_ == null) {
return java.util.Collections.unmodifiableList(breadcrumb_);
} else {
return breadcrumbBuilder_.getMessageList();
}
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public int getBreadcrumbCount() {
if (breadcrumbBuilder_ == null) {
return breadcrumb_.size();
} else {
return breadcrumbBuilder_.getCount();
}
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink getBreadcrumb(int index) {
if (breadcrumbBuilder_ == null) {
return breadcrumb_.get(index);
} else {
return breadcrumbBuilder_.getMessage(index);
}
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder setBreadcrumb(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink value) {
if (breadcrumbBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBreadcrumbIsMutable();
breadcrumb_.set(index, value);
onChanged();
} else {
breadcrumbBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder setBreadcrumb(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder builderForValue) {
if (breadcrumbBuilder_ == null) {
ensureBreadcrumbIsMutable();
breadcrumb_.set(index, builderForValue.build());
onChanged();
} else {
breadcrumbBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder addBreadcrumb(com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink value) {
if (breadcrumbBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBreadcrumbIsMutable();
breadcrumb_.add(value);
onChanged();
} else {
breadcrumbBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder addBreadcrumb(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink value) {
if (breadcrumbBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBreadcrumbIsMutable();
breadcrumb_.add(index, value);
onChanged();
} else {
breadcrumbBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder addBreadcrumb(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder builderForValue) {
if (breadcrumbBuilder_ == null) {
ensureBreadcrumbIsMutable();
breadcrumb_.add(builderForValue.build());
onChanged();
} else {
breadcrumbBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder addBreadcrumb(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder builderForValue) {
if (breadcrumbBuilder_ == null) {
ensureBreadcrumbIsMutable();
breadcrumb_.add(index, builderForValue.build());
onChanged();
} else {
breadcrumbBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder addAllBreadcrumb(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink> values) {
if (breadcrumbBuilder_ == null) {
ensureBreadcrumbIsMutable();
super.addAll(values, breadcrumb_);
onChanged();
} else {
breadcrumbBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder clearBreadcrumb() {
if (breadcrumbBuilder_ == null) {
breadcrumb_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
breadcrumbBuilder_.clear();
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public Builder removeBreadcrumb(int index) {
if (breadcrumbBuilder_ == null) {
ensureBreadcrumbIsMutable();
breadcrumb_.remove(index);
onChanged();
} else {
breadcrumbBuilder_.remove(index);
}
return this;
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder getBreadcrumbBuilder(
int index) {
return getBreadcrumbFieldBuilder().getBuilder(index);
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder getBreadcrumbOrBuilder(
int index) {
if (breadcrumbBuilder_ == null) {
return breadcrumb_.get(index); } else {
return breadcrumbBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getBreadcrumbOrBuilderList() {
if (breadcrumbBuilder_ != null) {
return breadcrumbBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(breadcrumb_);
}
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder addBreadcrumbBuilder() {
return getBreadcrumbFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.getDefaultInstance());
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder addBreadcrumbBuilder(
int index) {
return getBreadcrumbFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.getDefaultInstance());
}
/**
* repeated .BrowseLink breadcrumb = 4;
*/
public java.util.List
getBreadcrumbBuilderList() {
return getBreadcrumbFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>
getBreadcrumbFieldBuilder() {
if (breadcrumbBuilder_ == null) {
breadcrumbBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLink.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BrowseLinkOrBuilder>(
breadcrumb_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
breadcrumb_ = null;
}
return breadcrumbBuilder_;
}
// @@protoc_insertion_point(builder_scope:BrowseResponse)
}
static {
defaultInstance = new BrowseResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BrowseResponse)
}
public interface AddressChallengeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string responseAddressParam = 1;
/**
* optional string responseAddressParam = 1;
*/
boolean hasResponseAddressParam();
/**
* optional string responseAddressParam = 1;
*/
java.lang.String getResponseAddressParam();
/**
* optional string responseAddressParam = 1;
*/
com.google.protobuf.ByteString
getResponseAddressParamBytes();
// optional string responseCheckboxesParam = 2;
/**
* optional string responseCheckboxesParam = 2;
*/
boolean hasResponseCheckboxesParam();
/**
* optional string responseCheckboxesParam = 2;
*/
java.lang.String getResponseCheckboxesParam();
/**
* optional string responseCheckboxesParam = 2;
*/
com.google.protobuf.ByteString
getResponseCheckboxesParamBytes();
// optional string title = 3;
/**
* optional string title = 3;
*/
boolean hasTitle();
/**
* optional string title = 3;
*/
java.lang.String getTitle();
/**
* optional string title = 3;
*/
com.google.protobuf.ByteString
getTitleBytes();
// optional string descriptionHtml = 4;
/**
* optional string descriptionHtml = 4;
*/
boolean hasDescriptionHtml();
/**
* optional string descriptionHtml = 4;
*/
java.lang.String getDescriptionHtml();
/**
* optional string descriptionHtml = 4;
*/
com.google.protobuf.ByteString
getDescriptionHtmlBytes();
// repeated .FormCheckbox checkbox = 5;
/**
* repeated .FormCheckbox checkbox = 5;
*/
java.util.List
getCheckboxList();
/**
* repeated .FormCheckbox checkbox = 5;
*/
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox getCheckbox(int index);
/**
* repeated .FormCheckbox checkbox = 5;
*/
int getCheckboxCount();
/**
* repeated .FormCheckbox checkbox = 5;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder>
getCheckboxOrBuilderList();
/**
* repeated .FormCheckbox checkbox = 5;
*/
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder getCheckboxOrBuilder(
int index);
// optional .Address address = 6;
/**
* optional .Address address = 6;
*/
boolean hasAddress();
/**
* optional .Address address = 6;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Address getAddress();
/**
* optional .Address address = 6;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder getAddressOrBuilder();
// repeated .InputValidationError errorInputField = 7;
/**
* repeated .InputValidationError errorInputField = 7;
*/
java.util.List
getErrorInputFieldList();
/**
* repeated .InputValidationError errorInputField = 7;
*/
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError getErrorInputField(int index);
/**
* repeated .InputValidationError errorInputField = 7;
*/
int getErrorInputFieldCount();
/**
* repeated .InputValidationError errorInputField = 7;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder>
getErrorInputFieldOrBuilderList();
/**
* repeated .InputValidationError errorInputField = 7;
*/
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder getErrorInputFieldOrBuilder(
int index);
// optional string errorHtml = 8;
/**
* optional string errorHtml = 8;
*/
boolean hasErrorHtml();
/**
* optional string errorHtml = 8;
*/
java.lang.String getErrorHtml();
/**
* optional string errorHtml = 8;
*/
com.google.protobuf.ByteString
getErrorHtmlBytes();
// repeated int32 requiredField = 9;
/**
* repeated int32 requiredField = 9;
*/
java.util.List getRequiredFieldList();
/**
* repeated int32 requiredField = 9;
*/
int getRequiredFieldCount();
/**
* repeated int32 requiredField = 9;
*/
int getRequiredField(int index);
}
/**
* Protobuf type {@code AddressChallenge}
*/
public static final class AddressChallenge extends
com.google.protobuf.GeneratedMessage
implements AddressChallengeOrBuilder {
// Use AddressChallenge.newBuilder() to construct.
private AddressChallenge(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AddressChallenge(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AddressChallenge defaultInstance;
public static AddressChallenge getDefaultInstance() {
return defaultInstance;
}
public AddressChallenge getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddressChallenge(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
responseAddressParam_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
responseCheckboxesParam_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
title_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
descriptionHtml_ = input.readBytes();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
checkbox_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
checkbox_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.PARSER, extensionRegistry));
break;
}
case 50: {
com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = address_.toBuilder();
}
address_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Address.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(address_);
address_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
errorInputField_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
errorInputField_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.PARSER, extensionRegistry));
break;
}
case 66: {
bitField0_ |= 0x00000020;
errorHtml_ = input.readBytes();
break;
}
case 72: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
requiredField_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
requiredField_.add(input.readInt32());
break;
}
case 74: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) {
requiredField_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
while (input.getBytesUntilLimit() > 0) {
requiredField_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
checkbox_ = java.util.Collections.unmodifiableList(checkbox_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
errorInputField_ = java.util.Collections.unmodifiableList(errorInputField_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
requiredField_ = java.util.Collections.unmodifiableList(requiredField_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AddressChallenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AddressChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.class, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AddressChallenge parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AddressChallenge(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string responseAddressParam = 1;
public static final int RESPONSEADDRESSPARAM_FIELD_NUMBER = 1;
private java.lang.Object responseAddressParam_;
/**
* optional string responseAddressParam = 1;
*/
public boolean hasResponseAddressParam() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string responseAddressParam = 1;
*/
public java.lang.String getResponseAddressParam() {
java.lang.Object ref = responseAddressParam_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
responseAddressParam_ = s;
}
return s;
}
}
/**
* optional string responseAddressParam = 1;
*/
public com.google.protobuf.ByteString
getResponseAddressParamBytes() {
java.lang.Object ref = responseAddressParam_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseAddressParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string responseCheckboxesParam = 2;
public static final int RESPONSECHECKBOXESPARAM_FIELD_NUMBER = 2;
private java.lang.Object responseCheckboxesParam_;
/**
* optional string responseCheckboxesParam = 2;
*/
public boolean hasResponseCheckboxesParam() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string responseCheckboxesParam = 2;
*/
public java.lang.String getResponseCheckboxesParam() {
java.lang.Object ref = responseCheckboxesParam_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
responseCheckboxesParam_ = s;
}
return s;
}
}
/**
* optional string responseCheckboxesParam = 2;
*/
public com.google.protobuf.ByteString
getResponseCheckboxesParamBytes() {
java.lang.Object ref = responseCheckboxesParam_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseCheckboxesParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string title = 3;
public static final int TITLE_FIELD_NUMBER = 3;
private java.lang.Object title_;
/**
* optional string title = 3;
*/
public boolean hasTitle() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string title = 3;
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
title_ = s;
}
return s;
}
}
/**
* optional string title = 3;
*/
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string descriptionHtml = 4;
public static final int DESCRIPTIONHTML_FIELD_NUMBER = 4;
private java.lang.Object descriptionHtml_;
/**
* optional string descriptionHtml = 4;
*/
public boolean hasDescriptionHtml() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string descriptionHtml = 4;
*/
public java.lang.String getDescriptionHtml() {
java.lang.Object ref = descriptionHtml_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
descriptionHtml_ = s;
}
return s;
}
}
/**
* optional string descriptionHtml = 4;
*/
public com.google.protobuf.ByteString
getDescriptionHtmlBytes() {
java.lang.Object ref = descriptionHtml_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
descriptionHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .FormCheckbox checkbox = 5;
public static final int CHECKBOX_FIELD_NUMBER = 5;
private java.util.List checkbox_;
/**
* repeated .FormCheckbox checkbox = 5;
*/
public java.util.List getCheckboxList() {
return checkbox_;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder>
getCheckboxOrBuilderList() {
return checkbox_;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public int getCheckboxCount() {
return checkbox_.size();
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox getCheckbox(int index) {
return checkbox_.get(index);
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder getCheckboxOrBuilder(
int index) {
return checkbox_.get(index);
}
// optional .Address address = 6;
public static final int ADDRESS_FIELD_NUMBER = 6;
private com.akdeniz.googleplaycrawler.GooglePlay.Address address_;
/**
* optional .Address address = 6;
*/
public boolean hasAddress() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .Address address = 6;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Address getAddress() {
return address_;
}
/**
* optional .Address address = 6;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder getAddressOrBuilder() {
return address_;
}
// repeated .InputValidationError errorInputField = 7;
public static final int ERRORINPUTFIELD_FIELD_NUMBER = 7;
private java.util.List errorInputField_;
/**
* repeated .InputValidationError errorInputField = 7;
*/
public java.util.List getErrorInputFieldList() {
return errorInputField_;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder>
getErrorInputFieldOrBuilderList() {
return errorInputField_;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public int getErrorInputFieldCount() {
return errorInputField_.size();
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError getErrorInputField(int index) {
return errorInputField_.get(index);
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder getErrorInputFieldOrBuilder(
int index) {
return errorInputField_.get(index);
}
// optional string errorHtml = 8;
public static final int ERRORHTML_FIELD_NUMBER = 8;
private java.lang.Object errorHtml_;
/**
* optional string errorHtml = 8;
*/
public boolean hasErrorHtml() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string errorHtml = 8;
*/
public java.lang.String getErrorHtml() {
java.lang.Object ref = errorHtml_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
errorHtml_ = s;
}
return s;
}
}
/**
* optional string errorHtml = 8;
*/
public com.google.protobuf.ByteString
getErrorHtmlBytes() {
java.lang.Object ref = errorHtml_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated int32 requiredField = 9;
public static final int REQUIREDFIELD_FIELD_NUMBER = 9;
private java.util.List requiredField_;
/**
* repeated int32 requiredField = 9;
*/
public java.util.List
getRequiredFieldList() {
return requiredField_;
}
/**
* repeated int32 requiredField = 9;
*/
public int getRequiredFieldCount() {
return requiredField_.size();
}
/**
* repeated int32 requiredField = 9;
*/
public int getRequiredField(int index) {
return requiredField_.get(index);
}
private void initFields() {
responseAddressParam_ = "";
responseCheckboxesParam_ = "";
title_ = "";
descriptionHtml_ = "";
checkbox_ = java.util.Collections.emptyList();
address_ = com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance();
errorInputField_ = java.util.Collections.emptyList();
errorHtml_ = "";
requiredField_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getResponseAddressParamBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getResponseCheckboxesParamBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getTitleBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getDescriptionHtmlBytes());
}
for (int i = 0; i < checkbox_.size(); i++) {
output.writeMessage(5, checkbox_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(6, address_);
}
for (int i = 0; i < errorInputField_.size(); i++) {
output.writeMessage(7, errorInputField_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(8, getErrorHtmlBytes());
}
for (int i = 0; i < requiredField_.size(); i++) {
output.writeInt32(9, requiredField_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getResponseAddressParamBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getResponseCheckboxesParamBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getTitleBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getDescriptionHtmlBytes());
}
for (int i = 0; i < checkbox_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, checkbox_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, address_);
}
for (int i = 0; i < errorInputField_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, errorInputField_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getErrorHtmlBytes());
}
{
int dataSize = 0;
for (int i = 0; i < requiredField_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(requiredField_.get(i));
}
size += dataSize;
size += 1 * getRequiredFieldList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AddressChallenge}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AddressChallenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AddressChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.class, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCheckboxFieldBuilder();
getAddressFieldBuilder();
getErrorInputFieldFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
responseAddressParam_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
responseCheckboxesParam_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
title_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
descriptionHtml_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
if (checkboxBuilder_ == null) {
checkbox_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
checkboxBuilder_.clear();
}
if (addressBuilder_ == null) {
address_ = com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance();
} else {
addressBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (errorInputFieldBuilder_ == null) {
errorInputField_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
errorInputFieldBuilder_.clear();
}
errorHtml_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
requiredField_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AddressChallenge_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge build() {
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge result = new com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.responseAddressParam_ = responseAddressParam_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.responseCheckboxesParam_ = responseCheckboxesParam_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.title_ = title_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.descriptionHtml_ = descriptionHtml_;
if (checkboxBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
checkbox_ = java.util.Collections.unmodifiableList(checkbox_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.checkbox_ = checkbox_;
} else {
result.checkbox_ = checkboxBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
if (addressBuilder_ == null) {
result.address_ = address_;
} else {
result.address_ = addressBuilder_.build();
}
if (errorInputFieldBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
errorInputField_ = java.util.Collections.unmodifiableList(errorInputField_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.errorInputField_ = errorInputField_;
} else {
result.errorInputField_ = errorInputFieldBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.errorHtml_ = errorHtml_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
requiredField_ = java.util.Collections.unmodifiableList(requiredField_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.requiredField_ = requiredField_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance()) return this;
if (other.hasResponseAddressParam()) {
bitField0_ |= 0x00000001;
responseAddressParam_ = other.responseAddressParam_;
onChanged();
}
if (other.hasResponseCheckboxesParam()) {
bitField0_ |= 0x00000002;
responseCheckboxesParam_ = other.responseCheckboxesParam_;
onChanged();
}
if (other.hasTitle()) {
bitField0_ |= 0x00000004;
title_ = other.title_;
onChanged();
}
if (other.hasDescriptionHtml()) {
bitField0_ |= 0x00000008;
descriptionHtml_ = other.descriptionHtml_;
onChanged();
}
if (checkboxBuilder_ == null) {
if (!other.checkbox_.isEmpty()) {
if (checkbox_.isEmpty()) {
checkbox_ = other.checkbox_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureCheckboxIsMutable();
checkbox_.addAll(other.checkbox_);
}
onChanged();
}
} else {
if (!other.checkbox_.isEmpty()) {
if (checkboxBuilder_.isEmpty()) {
checkboxBuilder_.dispose();
checkboxBuilder_ = null;
checkbox_ = other.checkbox_;
bitField0_ = (bitField0_ & ~0x00000010);
checkboxBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCheckboxFieldBuilder() : null;
} else {
checkboxBuilder_.addAllMessages(other.checkbox_);
}
}
}
if (other.hasAddress()) {
mergeAddress(other.getAddress());
}
if (errorInputFieldBuilder_ == null) {
if (!other.errorInputField_.isEmpty()) {
if (errorInputField_.isEmpty()) {
errorInputField_ = other.errorInputField_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureErrorInputFieldIsMutable();
errorInputField_.addAll(other.errorInputField_);
}
onChanged();
}
} else {
if (!other.errorInputField_.isEmpty()) {
if (errorInputFieldBuilder_.isEmpty()) {
errorInputFieldBuilder_.dispose();
errorInputFieldBuilder_ = null;
errorInputField_ = other.errorInputField_;
bitField0_ = (bitField0_ & ~0x00000040);
errorInputFieldBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getErrorInputFieldFieldBuilder() : null;
} else {
errorInputFieldBuilder_.addAllMessages(other.errorInputField_);
}
}
}
if (other.hasErrorHtml()) {
bitField0_ |= 0x00000080;
errorHtml_ = other.errorHtml_;
onChanged();
}
if (!other.requiredField_.isEmpty()) {
if (requiredField_.isEmpty()) {
requiredField_ = other.requiredField_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureRequiredFieldIsMutable();
requiredField_.addAll(other.requiredField_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string responseAddressParam = 1;
private java.lang.Object responseAddressParam_ = "";
/**
* optional string responseAddressParam = 1;
*/
public boolean hasResponseAddressParam() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string responseAddressParam = 1;
*/
public java.lang.String getResponseAddressParam() {
java.lang.Object ref = responseAddressParam_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
responseAddressParam_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string responseAddressParam = 1;
*/
public com.google.protobuf.ByteString
getResponseAddressParamBytes() {
java.lang.Object ref = responseAddressParam_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseAddressParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string responseAddressParam = 1;
*/
public Builder setResponseAddressParam(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
responseAddressParam_ = value;
onChanged();
return this;
}
/**
* optional string responseAddressParam = 1;
*/
public Builder clearResponseAddressParam() {
bitField0_ = (bitField0_ & ~0x00000001);
responseAddressParam_ = getDefaultInstance().getResponseAddressParam();
onChanged();
return this;
}
/**
* optional string responseAddressParam = 1;
*/
public Builder setResponseAddressParamBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
responseAddressParam_ = value;
onChanged();
return this;
}
// optional string responseCheckboxesParam = 2;
private java.lang.Object responseCheckboxesParam_ = "";
/**
* optional string responseCheckboxesParam = 2;
*/
public boolean hasResponseCheckboxesParam() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string responseCheckboxesParam = 2;
*/
public java.lang.String getResponseCheckboxesParam() {
java.lang.Object ref = responseCheckboxesParam_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
responseCheckboxesParam_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string responseCheckboxesParam = 2;
*/
public com.google.protobuf.ByteString
getResponseCheckboxesParamBytes() {
java.lang.Object ref = responseCheckboxesParam_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseCheckboxesParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string responseCheckboxesParam = 2;
*/
public Builder setResponseCheckboxesParam(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
responseCheckboxesParam_ = value;
onChanged();
return this;
}
/**
* optional string responseCheckboxesParam = 2;
*/
public Builder clearResponseCheckboxesParam() {
bitField0_ = (bitField0_ & ~0x00000002);
responseCheckboxesParam_ = getDefaultInstance().getResponseCheckboxesParam();
onChanged();
return this;
}
/**
* optional string responseCheckboxesParam = 2;
*/
public Builder setResponseCheckboxesParamBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
responseCheckboxesParam_ = value;
onChanged();
return this;
}
// optional string title = 3;
private java.lang.Object title_ = "";
/**
* optional string title = 3;
*/
public boolean hasTitle() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string title = 3;
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
title_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string title = 3;
*/
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string title = 3;
*/
public Builder setTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
title_ = value;
onChanged();
return this;
}
/**
* optional string title = 3;
*/
public Builder clearTitle() {
bitField0_ = (bitField0_ & ~0x00000004);
title_ = getDefaultInstance().getTitle();
onChanged();
return this;
}
/**
* optional string title = 3;
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
title_ = value;
onChanged();
return this;
}
// optional string descriptionHtml = 4;
private java.lang.Object descriptionHtml_ = "";
/**
* optional string descriptionHtml = 4;
*/
public boolean hasDescriptionHtml() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string descriptionHtml = 4;
*/
public java.lang.String getDescriptionHtml() {
java.lang.Object ref = descriptionHtml_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
descriptionHtml_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string descriptionHtml = 4;
*/
public com.google.protobuf.ByteString
getDescriptionHtmlBytes() {
java.lang.Object ref = descriptionHtml_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
descriptionHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string descriptionHtml = 4;
*/
public Builder setDescriptionHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
descriptionHtml_ = value;
onChanged();
return this;
}
/**
* optional string descriptionHtml = 4;
*/
public Builder clearDescriptionHtml() {
bitField0_ = (bitField0_ & ~0x00000008);
descriptionHtml_ = getDefaultInstance().getDescriptionHtml();
onChanged();
return this;
}
/**
* optional string descriptionHtml = 4;
*/
public Builder setDescriptionHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
descriptionHtml_ = value;
onChanged();
return this;
}
// repeated .FormCheckbox checkbox = 5;
private java.util.List checkbox_ =
java.util.Collections.emptyList();
private void ensureCheckboxIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
checkbox_ = new java.util.ArrayList(checkbox_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder> checkboxBuilder_;
/**
* repeated .FormCheckbox checkbox = 5;
*/
public java.util.List getCheckboxList() {
if (checkboxBuilder_ == null) {
return java.util.Collections.unmodifiableList(checkbox_);
} else {
return checkboxBuilder_.getMessageList();
}
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public int getCheckboxCount() {
if (checkboxBuilder_ == null) {
return checkbox_.size();
} else {
return checkboxBuilder_.getCount();
}
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox getCheckbox(int index) {
if (checkboxBuilder_ == null) {
return checkbox_.get(index);
} else {
return checkboxBuilder_.getMessage(index);
}
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder setCheckbox(
int index, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox value) {
if (checkboxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCheckboxIsMutable();
checkbox_.set(index, value);
onChanged();
} else {
checkboxBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder setCheckbox(
int index, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder builderForValue) {
if (checkboxBuilder_ == null) {
ensureCheckboxIsMutable();
checkbox_.set(index, builderForValue.build());
onChanged();
} else {
checkboxBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder addCheckbox(com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox value) {
if (checkboxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCheckboxIsMutable();
checkbox_.add(value);
onChanged();
} else {
checkboxBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder addCheckbox(
int index, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox value) {
if (checkboxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCheckboxIsMutable();
checkbox_.add(index, value);
onChanged();
} else {
checkboxBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder addCheckbox(
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder builderForValue) {
if (checkboxBuilder_ == null) {
ensureCheckboxIsMutable();
checkbox_.add(builderForValue.build());
onChanged();
} else {
checkboxBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder addCheckbox(
int index, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder builderForValue) {
if (checkboxBuilder_ == null) {
ensureCheckboxIsMutable();
checkbox_.add(index, builderForValue.build());
onChanged();
} else {
checkboxBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder addAllCheckbox(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox> values) {
if (checkboxBuilder_ == null) {
ensureCheckboxIsMutable();
super.addAll(values, checkbox_);
onChanged();
} else {
checkboxBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder clearCheckbox() {
if (checkboxBuilder_ == null) {
checkbox_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
checkboxBuilder_.clear();
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public Builder removeCheckbox(int index) {
if (checkboxBuilder_ == null) {
ensureCheckboxIsMutable();
checkbox_.remove(index);
onChanged();
} else {
checkboxBuilder_.remove(index);
}
return this;
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder getCheckboxBuilder(
int index) {
return getCheckboxFieldBuilder().getBuilder(index);
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder getCheckboxOrBuilder(
int index) {
if (checkboxBuilder_ == null) {
return checkbox_.get(index); } else {
return checkboxBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder>
getCheckboxOrBuilderList() {
if (checkboxBuilder_ != null) {
return checkboxBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(checkbox_);
}
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder addCheckboxBuilder() {
return getCheckboxFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.getDefaultInstance());
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder addCheckboxBuilder(
int index) {
return getCheckboxFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.getDefaultInstance());
}
/**
* repeated .FormCheckbox checkbox = 5;
*/
public java.util.List
getCheckboxBuilderList() {
return getCheckboxFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder>
getCheckboxFieldBuilder() {
if (checkboxBuilder_ == null) {
checkboxBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder>(
checkbox_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
checkbox_ = null;
}
return checkboxBuilder_;
}
// optional .Address address = 6;
private com.akdeniz.googleplaycrawler.GooglePlay.Address address_ = com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Address, com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder> addressBuilder_;
/**
* optional .Address address = 6;
*/
public boolean hasAddress() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .Address address = 6;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Address getAddress() {
if (addressBuilder_ == null) {
return address_;
} else {
return addressBuilder_.getMessage();
}
}
/**
* optional .Address address = 6;
*/
public Builder setAddress(com.akdeniz.googleplaycrawler.GooglePlay.Address value) {
if (addressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
address_ = value;
onChanged();
} else {
addressBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .Address address = 6;
*/
public Builder setAddress(
com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder builderForValue) {
if (addressBuilder_ == null) {
address_ = builderForValue.build();
onChanged();
} else {
addressBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .Address address = 6;
*/
public Builder mergeAddress(com.akdeniz.googleplaycrawler.GooglePlay.Address value) {
if (addressBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020) &&
address_ != com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance()) {
address_ =
com.akdeniz.googleplaycrawler.GooglePlay.Address.newBuilder(address_).mergeFrom(value).buildPartial();
} else {
address_ = value;
}
onChanged();
} else {
addressBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .Address address = 6;
*/
public Builder clearAddress() {
if (addressBuilder_ == null) {
address_ = com.akdeniz.googleplaycrawler.GooglePlay.Address.getDefaultInstance();
onChanged();
} else {
addressBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .Address address = 6;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder getAddressBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getAddressFieldBuilder().getBuilder();
}
/**
* optional .Address address = 6;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder getAddressOrBuilder() {
if (addressBuilder_ != null) {
return addressBuilder_.getMessageOrBuilder();
} else {
return address_;
}
}
/**
* optional .Address address = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Address, com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder>
getAddressFieldBuilder() {
if (addressBuilder_ == null) {
addressBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Address, com.akdeniz.googleplaycrawler.GooglePlay.Address.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AddressOrBuilder>(
address_,
getParentForChildren(),
isClean());
address_ = null;
}
return addressBuilder_;
}
// repeated .InputValidationError errorInputField = 7;
private java.util.List errorInputField_ =
java.util.Collections.emptyList();
private void ensureErrorInputFieldIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
errorInputField_ = new java.util.ArrayList(errorInputField_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder> errorInputFieldBuilder_;
/**
* repeated .InputValidationError errorInputField = 7;
*/
public java.util.List getErrorInputFieldList() {
if (errorInputFieldBuilder_ == null) {
return java.util.Collections.unmodifiableList(errorInputField_);
} else {
return errorInputFieldBuilder_.getMessageList();
}
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public int getErrorInputFieldCount() {
if (errorInputFieldBuilder_ == null) {
return errorInputField_.size();
} else {
return errorInputFieldBuilder_.getCount();
}
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError getErrorInputField(int index) {
if (errorInputFieldBuilder_ == null) {
return errorInputField_.get(index);
} else {
return errorInputFieldBuilder_.getMessage(index);
}
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder setErrorInputField(
int index, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError value) {
if (errorInputFieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureErrorInputFieldIsMutable();
errorInputField_.set(index, value);
onChanged();
} else {
errorInputFieldBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder setErrorInputField(
int index, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder builderForValue) {
if (errorInputFieldBuilder_ == null) {
ensureErrorInputFieldIsMutable();
errorInputField_.set(index, builderForValue.build());
onChanged();
} else {
errorInputFieldBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder addErrorInputField(com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError value) {
if (errorInputFieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureErrorInputFieldIsMutable();
errorInputField_.add(value);
onChanged();
} else {
errorInputFieldBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder addErrorInputField(
int index, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError value) {
if (errorInputFieldBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureErrorInputFieldIsMutable();
errorInputField_.add(index, value);
onChanged();
} else {
errorInputFieldBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder addErrorInputField(
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder builderForValue) {
if (errorInputFieldBuilder_ == null) {
ensureErrorInputFieldIsMutable();
errorInputField_.add(builderForValue.build());
onChanged();
} else {
errorInputFieldBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder addErrorInputField(
int index, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder builderForValue) {
if (errorInputFieldBuilder_ == null) {
ensureErrorInputFieldIsMutable();
errorInputField_.add(index, builderForValue.build());
onChanged();
} else {
errorInputFieldBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder addAllErrorInputField(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError> values) {
if (errorInputFieldBuilder_ == null) {
ensureErrorInputFieldIsMutable();
super.addAll(values, errorInputField_);
onChanged();
} else {
errorInputFieldBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder clearErrorInputField() {
if (errorInputFieldBuilder_ == null) {
errorInputField_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
errorInputFieldBuilder_.clear();
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public Builder removeErrorInputField(int index) {
if (errorInputFieldBuilder_ == null) {
ensureErrorInputFieldIsMutable();
errorInputField_.remove(index);
onChanged();
} else {
errorInputFieldBuilder_.remove(index);
}
return this;
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder getErrorInputFieldBuilder(
int index) {
return getErrorInputFieldFieldBuilder().getBuilder(index);
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder getErrorInputFieldOrBuilder(
int index) {
if (errorInputFieldBuilder_ == null) {
return errorInputField_.get(index); } else {
return errorInputFieldBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder>
getErrorInputFieldOrBuilderList() {
if (errorInputFieldBuilder_ != null) {
return errorInputFieldBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(errorInputField_);
}
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder addErrorInputFieldBuilder() {
return getErrorInputFieldFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.getDefaultInstance());
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder addErrorInputFieldBuilder(
int index) {
return getErrorInputFieldFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.getDefaultInstance());
}
/**
* repeated .InputValidationError errorInputField = 7;
*/
public java.util.List
getErrorInputFieldBuilderList() {
return getErrorInputFieldFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder>
getErrorInputFieldFieldBuilder() {
if (errorInputFieldBuilder_ == null) {
errorInputFieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationError.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InputValidationErrorOrBuilder>(
errorInputField_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
errorInputField_ = null;
}
return errorInputFieldBuilder_;
}
// optional string errorHtml = 8;
private java.lang.Object errorHtml_ = "";
/**
* optional string errorHtml = 8;
*/
public boolean hasErrorHtml() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string errorHtml = 8;
*/
public java.lang.String getErrorHtml() {
java.lang.Object ref = errorHtml_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
errorHtml_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string errorHtml = 8;
*/
public com.google.protobuf.ByteString
getErrorHtmlBytes() {
java.lang.Object ref = errorHtml_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string errorHtml = 8;
*/
public Builder setErrorHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
errorHtml_ = value;
onChanged();
return this;
}
/**
* optional string errorHtml = 8;
*/
public Builder clearErrorHtml() {
bitField0_ = (bitField0_ & ~0x00000080);
errorHtml_ = getDefaultInstance().getErrorHtml();
onChanged();
return this;
}
/**
* optional string errorHtml = 8;
*/
public Builder setErrorHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
errorHtml_ = value;
onChanged();
return this;
}
// repeated int32 requiredField = 9;
private java.util.List requiredField_ = java.util.Collections.emptyList();
private void ensureRequiredFieldIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
requiredField_ = new java.util.ArrayList(requiredField_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated int32 requiredField = 9;
*/
public java.util.List
getRequiredFieldList() {
return java.util.Collections.unmodifiableList(requiredField_);
}
/**
* repeated int32 requiredField = 9;
*/
public int getRequiredFieldCount() {
return requiredField_.size();
}
/**
* repeated int32 requiredField = 9;
*/
public int getRequiredField(int index) {
return requiredField_.get(index);
}
/**
* repeated int32 requiredField = 9;
*/
public Builder setRequiredField(
int index, int value) {
ensureRequiredFieldIsMutable();
requiredField_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 requiredField = 9;
*/
public Builder addRequiredField(int value) {
ensureRequiredFieldIsMutable();
requiredField_.add(value);
onChanged();
return this;
}
/**
* repeated int32 requiredField = 9;
*/
public Builder addAllRequiredField(
java.lang.Iterable extends java.lang.Integer> values) {
ensureRequiredFieldIsMutable();
super.addAll(values, requiredField_);
onChanged();
return this;
}
/**
* repeated int32 requiredField = 9;
*/
public Builder clearRequiredField() {
requiredField_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:AddressChallenge)
}
static {
defaultInstance = new AddressChallenge(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:AddressChallenge)
}
public interface AuthenticationChallengeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 authenticationType = 1;
/**
* optional int32 authenticationType = 1;
*/
boolean hasAuthenticationType();
/**
* optional int32 authenticationType = 1;
*/
int getAuthenticationType();
// optional string responseAuthenticationTypeParam = 2;
/**
* optional string responseAuthenticationTypeParam = 2;
*/
boolean hasResponseAuthenticationTypeParam();
/**
* optional string responseAuthenticationTypeParam = 2;
*/
java.lang.String getResponseAuthenticationTypeParam();
/**
* optional string responseAuthenticationTypeParam = 2;
*/
com.google.protobuf.ByteString
getResponseAuthenticationTypeParamBytes();
// optional string responseRetryCountParam = 3;
/**
* optional string responseRetryCountParam = 3;
*/
boolean hasResponseRetryCountParam();
/**
* optional string responseRetryCountParam = 3;
*/
java.lang.String getResponseRetryCountParam();
/**
* optional string responseRetryCountParam = 3;
*/
com.google.protobuf.ByteString
getResponseRetryCountParamBytes();
// optional string pinHeaderText = 4;
/**
* optional string pinHeaderText = 4;
*/
boolean hasPinHeaderText();
/**
* optional string pinHeaderText = 4;
*/
java.lang.String getPinHeaderText();
/**
* optional string pinHeaderText = 4;
*/
com.google.protobuf.ByteString
getPinHeaderTextBytes();
// optional string pinDescriptionTextHtml = 5;
/**
* optional string pinDescriptionTextHtml = 5;
*/
boolean hasPinDescriptionTextHtml();
/**
* optional string pinDescriptionTextHtml = 5;
*/
java.lang.String getPinDescriptionTextHtml();
/**
* optional string pinDescriptionTextHtml = 5;
*/
com.google.protobuf.ByteString
getPinDescriptionTextHtmlBytes();
// optional string gaiaHeaderText = 6;
/**
* optional string gaiaHeaderText = 6;
*/
boolean hasGaiaHeaderText();
/**
* optional string gaiaHeaderText = 6;
*/
java.lang.String getGaiaHeaderText();
/**
* optional string gaiaHeaderText = 6;
*/
com.google.protobuf.ByteString
getGaiaHeaderTextBytes();
// optional string gaiaDescriptionTextHtml = 7;
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
boolean hasGaiaDescriptionTextHtml();
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
java.lang.String getGaiaDescriptionTextHtml();
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
com.google.protobuf.ByteString
getGaiaDescriptionTextHtmlBytes();
}
/**
* Protobuf type {@code AuthenticationChallenge}
*/
public static final class AuthenticationChallenge extends
com.google.protobuf.GeneratedMessage
implements AuthenticationChallengeOrBuilder {
// Use AuthenticationChallenge.newBuilder() to construct.
private AuthenticationChallenge(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AuthenticationChallenge(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AuthenticationChallenge defaultInstance;
public static AuthenticationChallenge getDefaultInstance() {
return defaultInstance;
}
public AuthenticationChallenge getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AuthenticationChallenge(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
authenticationType_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
responseAuthenticationTypeParam_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
responseRetryCountParam_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
pinHeaderText_ = input.readBytes();
break;
}
case 42: {
bitField0_ |= 0x00000010;
pinDescriptionTextHtml_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
gaiaHeaderText_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000040;
gaiaDescriptionTextHtml_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AuthenticationChallenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AuthenticationChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.class, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AuthenticationChallenge parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AuthenticationChallenge(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 authenticationType = 1;
public static final int AUTHENTICATIONTYPE_FIELD_NUMBER = 1;
private int authenticationType_;
/**
* optional int32 authenticationType = 1;
*/
public boolean hasAuthenticationType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 authenticationType = 1;
*/
public int getAuthenticationType() {
return authenticationType_;
}
// optional string responseAuthenticationTypeParam = 2;
public static final int RESPONSEAUTHENTICATIONTYPEPARAM_FIELD_NUMBER = 2;
private java.lang.Object responseAuthenticationTypeParam_;
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public boolean hasResponseAuthenticationTypeParam() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public java.lang.String getResponseAuthenticationTypeParam() {
java.lang.Object ref = responseAuthenticationTypeParam_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
responseAuthenticationTypeParam_ = s;
}
return s;
}
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public com.google.protobuf.ByteString
getResponseAuthenticationTypeParamBytes() {
java.lang.Object ref = responseAuthenticationTypeParam_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseAuthenticationTypeParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string responseRetryCountParam = 3;
public static final int RESPONSERETRYCOUNTPARAM_FIELD_NUMBER = 3;
private java.lang.Object responseRetryCountParam_;
/**
* optional string responseRetryCountParam = 3;
*/
public boolean hasResponseRetryCountParam() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string responseRetryCountParam = 3;
*/
public java.lang.String getResponseRetryCountParam() {
java.lang.Object ref = responseRetryCountParam_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
responseRetryCountParam_ = s;
}
return s;
}
}
/**
* optional string responseRetryCountParam = 3;
*/
public com.google.protobuf.ByteString
getResponseRetryCountParamBytes() {
java.lang.Object ref = responseRetryCountParam_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseRetryCountParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string pinHeaderText = 4;
public static final int PINHEADERTEXT_FIELD_NUMBER = 4;
private java.lang.Object pinHeaderText_;
/**
* optional string pinHeaderText = 4;
*/
public boolean hasPinHeaderText() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string pinHeaderText = 4;
*/
public java.lang.String getPinHeaderText() {
java.lang.Object ref = pinHeaderText_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
pinHeaderText_ = s;
}
return s;
}
}
/**
* optional string pinHeaderText = 4;
*/
public com.google.protobuf.ByteString
getPinHeaderTextBytes() {
java.lang.Object ref = pinHeaderText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pinHeaderText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string pinDescriptionTextHtml = 5;
public static final int PINDESCRIPTIONTEXTHTML_FIELD_NUMBER = 5;
private java.lang.Object pinDescriptionTextHtml_;
/**
* optional string pinDescriptionTextHtml = 5;
*/
public boolean hasPinDescriptionTextHtml() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public java.lang.String getPinDescriptionTextHtml() {
java.lang.Object ref = pinDescriptionTextHtml_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
pinDescriptionTextHtml_ = s;
}
return s;
}
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public com.google.protobuf.ByteString
getPinDescriptionTextHtmlBytes() {
java.lang.Object ref = pinDescriptionTextHtml_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pinDescriptionTextHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string gaiaHeaderText = 6;
public static final int GAIAHEADERTEXT_FIELD_NUMBER = 6;
private java.lang.Object gaiaHeaderText_;
/**
* optional string gaiaHeaderText = 6;
*/
public boolean hasGaiaHeaderText() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string gaiaHeaderText = 6;
*/
public java.lang.String getGaiaHeaderText() {
java.lang.Object ref = gaiaHeaderText_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
gaiaHeaderText_ = s;
}
return s;
}
}
/**
* optional string gaiaHeaderText = 6;
*/
public com.google.protobuf.ByteString
getGaiaHeaderTextBytes() {
java.lang.Object ref = gaiaHeaderText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaiaHeaderText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string gaiaDescriptionTextHtml = 7;
public static final int GAIADESCRIPTIONTEXTHTML_FIELD_NUMBER = 7;
private java.lang.Object gaiaDescriptionTextHtml_;
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public boolean hasGaiaDescriptionTextHtml() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public java.lang.String getGaiaDescriptionTextHtml() {
java.lang.Object ref = gaiaDescriptionTextHtml_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
gaiaDescriptionTextHtml_ = s;
}
return s;
}
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public com.google.protobuf.ByteString
getGaiaDescriptionTextHtmlBytes() {
java.lang.Object ref = gaiaDescriptionTextHtml_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaiaDescriptionTextHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
authenticationType_ = 0;
responseAuthenticationTypeParam_ = "";
responseRetryCountParam_ = "";
pinHeaderText_ = "";
pinDescriptionTextHtml_ = "";
gaiaHeaderText_ = "";
gaiaDescriptionTextHtml_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, authenticationType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getResponseAuthenticationTypeParamBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getResponseRetryCountParamBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getPinHeaderTextBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getPinDescriptionTextHtmlBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getGaiaHeaderTextBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(7, getGaiaDescriptionTextHtmlBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, authenticationType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getResponseAuthenticationTypeParamBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getResponseRetryCountParamBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getPinHeaderTextBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getPinDescriptionTextHtmlBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getGaiaHeaderTextBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getGaiaDescriptionTextHtmlBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AuthenticationChallenge}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AuthenticationChallenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AuthenticationChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.class, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
authenticationType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
responseAuthenticationTypeParam_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
responseRetryCountParam_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
pinHeaderText_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
pinDescriptionTextHtml_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
gaiaHeaderText_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
gaiaDescriptionTextHtml_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_AuthenticationChallenge_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge build() {
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge result = new com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.authenticationType_ = authenticationType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.responseAuthenticationTypeParam_ = responseAuthenticationTypeParam_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.responseRetryCountParam_ = responseRetryCountParam_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.pinHeaderText_ = pinHeaderText_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.pinDescriptionTextHtml_ = pinDescriptionTextHtml_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.gaiaHeaderText_ = gaiaHeaderText_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.gaiaDescriptionTextHtml_ = gaiaDescriptionTextHtml_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance()) return this;
if (other.hasAuthenticationType()) {
setAuthenticationType(other.getAuthenticationType());
}
if (other.hasResponseAuthenticationTypeParam()) {
bitField0_ |= 0x00000002;
responseAuthenticationTypeParam_ = other.responseAuthenticationTypeParam_;
onChanged();
}
if (other.hasResponseRetryCountParam()) {
bitField0_ |= 0x00000004;
responseRetryCountParam_ = other.responseRetryCountParam_;
onChanged();
}
if (other.hasPinHeaderText()) {
bitField0_ |= 0x00000008;
pinHeaderText_ = other.pinHeaderText_;
onChanged();
}
if (other.hasPinDescriptionTextHtml()) {
bitField0_ |= 0x00000010;
pinDescriptionTextHtml_ = other.pinDescriptionTextHtml_;
onChanged();
}
if (other.hasGaiaHeaderText()) {
bitField0_ |= 0x00000020;
gaiaHeaderText_ = other.gaiaHeaderText_;
onChanged();
}
if (other.hasGaiaDescriptionTextHtml()) {
bitField0_ |= 0x00000040;
gaiaDescriptionTextHtml_ = other.gaiaDescriptionTextHtml_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 authenticationType = 1;
private int authenticationType_ ;
/**
* optional int32 authenticationType = 1;
*/
public boolean hasAuthenticationType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 authenticationType = 1;
*/
public int getAuthenticationType() {
return authenticationType_;
}
/**
* optional int32 authenticationType = 1;
*/
public Builder setAuthenticationType(int value) {
bitField0_ |= 0x00000001;
authenticationType_ = value;
onChanged();
return this;
}
/**
* optional int32 authenticationType = 1;
*/
public Builder clearAuthenticationType() {
bitField0_ = (bitField0_ & ~0x00000001);
authenticationType_ = 0;
onChanged();
return this;
}
// optional string responseAuthenticationTypeParam = 2;
private java.lang.Object responseAuthenticationTypeParam_ = "";
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public boolean hasResponseAuthenticationTypeParam() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public java.lang.String getResponseAuthenticationTypeParam() {
java.lang.Object ref = responseAuthenticationTypeParam_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
responseAuthenticationTypeParam_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public com.google.protobuf.ByteString
getResponseAuthenticationTypeParamBytes() {
java.lang.Object ref = responseAuthenticationTypeParam_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseAuthenticationTypeParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public Builder setResponseAuthenticationTypeParam(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
responseAuthenticationTypeParam_ = value;
onChanged();
return this;
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public Builder clearResponseAuthenticationTypeParam() {
bitField0_ = (bitField0_ & ~0x00000002);
responseAuthenticationTypeParam_ = getDefaultInstance().getResponseAuthenticationTypeParam();
onChanged();
return this;
}
/**
* optional string responseAuthenticationTypeParam = 2;
*/
public Builder setResponseAuthenticationTypeParamBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
responseAuthenticationTypeParam_ = value;
onChanged();
return this;
}
// optional string responseRetryCountParam = 3;
private java.lang.Object responseRetryCountParam_ = "";
/**
* optional string responseRetryCountParam = 3;
*/
public boolean hasResponseRetryCountParam() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string responseRetryCountParam = 3;
*/
public java.lang.String getResponseRetryCountParam() {
java.lang.Object ref = responseRetryCountParam_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
responseRetryCountParam_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string responseRetryCountParam = 3;
*/
public com.google.protobuf.ByteString
getResponseRetryCountParamBytes() {
java.lang.Object ref = responseRetryCountParam_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseRetryCountParam_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string responseRetryCountParam = 3;
*/
public Builder setResponseRetryCountParam(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
responseRetryCountParam_ = value;
onChanged();
return this;
}
/**
* optional string responseRetryCountParam = 3;
*/
public Builder clearResponseRetryCountParam() {
bitField0_ = (bitField0_ & ~0x00000004);
responseRetryCountParam_ = getDefaultInstance().getResponseRetryCountParam();
onChanged();
return this;
}
/**
* optional string responseRetryCountParam = 3;
*/
public Builder setResponseRetryCountParamBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
responseRetryCountParam_ = value;
onChanged();
return this;
}
// optional string pinHeaderText = 4;
private java.lang.Object pinHeaderText_ = "";
/**
* optional string pinHeaderText = 4;
*/
public boolean hasPinHeaderText() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string pinHeaderText = 4;
*/
public java.lang.String getPinHeaderText() {
java.lang.Object ref = pinHeaderText_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
pinHeaderText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string pinHeaderText = 4;
*/
public com.google.protobuf.ByteString
getPinHeaderTextBytes() {
java.lang.Object ref = pinHeaderText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pinHeaderText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string pinHeaderText = 4;
*/
public Builder setPinHeaderText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
pinHeaderText_ = value;
onChanged();
return this;
}
/**
* optional string pinHeaderText = 4;
*/
public Builder clearPinHeaderText() {
bitField0_ = (bitField0_ & ~0x00000008);
pinHeaderText_ = getDefaultInstance().getPinHeaderText();
onChanged();
return this;
}
/**
* optional string pinHeaderText = 4;
*/
public Builder setPinHeaderTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
pinHeaderText_ = value;
onChanged();
return this;
}
// optional string pinDescriptionTextHtml = 5;
private java.lang.Object pinDescriptionTextHtml_ = "";
/**
* optional string pinDescriptionTextHtml = 5;
*/
public boolean hasPinDescriptionTextHtml() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public java.lang.String getPinDescriptionTextHtml() {
java.lang.Object ref = pinDescriptionTextHtml_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
pinDescriptionTextHtml_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public com.google.protobuf.ByteString
getPinDescriptionTextHtmlBytes() {
java.lang.Object ref = pinDescriptionTextHtml_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pinDescriptionTextHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public Builder setPinDescriptionTextHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
pinDescriptionTextHtml_ = value;
onChanged();
return this;
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public Builder clearPinDescriptionTextHtml() {
bitField0_ = (bitField0_ & ~0x00000010);
pinDescriptionTextHtml_ = getDefaultInstance().getPinDescriptionTextHtml();
onChanged();
return this;
}
/**
* optional string pinDescriptionTextHtml = 5;
*/
public Builder setPinDescriptionTextHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
pinDescriptionTextHtml_ = value;
onChanged();
return this;
}
// optional string gaiaHeaderText = 6;
private java.lang.Object gaiaHeaderText_ = "";
/**
* optional string gaiaHeaderText = 6;
*/
public boolean hasGaiaHeaderText() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string gaiaHeaderText = 6;
*/
public java.lang.String getGaiaHeaderText() {
java.lang.Object ref = gaiaHeaderText_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
gaiaHeaderText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string gaiaHeaderText = 6;
*/
public com.google.protobuf.ByteString
getGaiaHeaderTextBytes() {
java.lang.Object ref = gaiaHeaderText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaiaHeaderText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string gaiaHeaderText = 6;
*/
public Builder setGaiaHeaderText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
gaiaHeaderText_ = value;
onChanged();
return this;
}
/**
* optional string gaiaHeaderText = 6;
*/
public Builder clearGaiaHeaderText() {
bitField0_ = (bitField0_ & ~0x00000020);
gaiaHeaderText_ = getDefaultInstance().getGaiaHeaderText();
onChanged();
return this;
}
/**
* optional string gaiaHeaderText = 6;
*/
public Builder setGaiaHeaderTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
gaiaHeaderText_ = value;
onChanged();
return this;
}
// optional string gaiaDescriptionTextHtml = 7;
private java.lang.Object gaiaDescriptionTextHtml_ = "";
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public boolean hasGaiaDescriptionTextHtml() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public java.lang.String getGaiaDescriptionTextHtml() {
java.lang.Object ref = gaiaDescriptionTextHtml_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
gaiaDescriptionTextHtml_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public com.google.protobuf.ByteString
getGaiaDescriptionTextHtmlBytes() {
java.lang.Object ref = gaiaDescriptionTextHtml_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaiaDescriptionTextHtml_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public Builder setGaiaDescriptionTextHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
gaiaDescriptionTextHtml_ = value;
onChanged();
return this;
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public Builder clearGaiaDescriptionTextHtml() {
bitField0_ = (bitField0_ & ~0x00000040);
gaiaDescriptionTextHtml_ = getDefaultInstance().getGaiaDescriptionTextHtml();
onChanged();
return this;
}
/**
* optional string gaiaDescriptionTextHtml = 7;
*/
public Builder setGaiaDescriptionTextHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
gaiaDescriptionTextHtml_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:AuthenticationChallenge)
}
static {
defaultInstance = new AuthenticationChallenge(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:AuthenticationChallenge)
}
public interface BuyResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .PurchaseNotificationResponse purchaseResponse = 1;
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
boolean hasPurchaseResponse();
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse getPurchaseResponse();
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder getPurchaseResponseOrBuilder();
// optional group CheckoutInfo = 2 {
/**
* optional group CheckoutInfo = 2 { ... }
*/
boolean hasCheckoutInfo();
/**
* optional group CheckoutInfo = 2 { ... }
*/
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo getCheckoutInfo();
/**
* optional group CheckoutInfo = 2 { ... }
*/
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder getCheckoutInfoOrBuilder();
// optional string continueViaUrl = 8;
/**
* optional string continueViaUrl = 8;
*/
boolean hasContinueViaUrl();
/**
* optional string continueViaUrl = 8;
*/
java.lang.String getContinueViaUrl();
/**
* optional string continueViaUrl = 8;
*/
com.google.protobuf.ByteString
getContinueViaUrlBytes();
// optional string purchaseStatusUrl = 9;
/**
* optional string purchaseStatusUrl = 9;
*/
boolean hasPurchaseStatusUrl();
/**
* optional string purchaseStatusUrl = 9;
*/
java.lang.String getPurchaseStatusUrl();
/**
* optional string purchaseStatusUrl = 9;
*/
com.google.protobuf.ByteString
getPurchaseStatusUrlBytes();
// optional string checkoutServiceId = 12;
/**
* optional string checkoutServiceId = 12;
*/
boolean hasCheckoutServiceId();
/**
* optional string checkoutServiceId = 12;
*/
java.lang.String getCheckoutServiceId();
/**
* optional string checkoutServiceId = 12;
*/
com.google.protobuf.ByteString
getCheckoutServiceIdBytes();
// optional bool checkoutTokenRequired = 13;
/**
* optional bool checkoutTokenRequired = 13;
*/
boolean hasCheckoutTokenRequired();
/**
* optional bool checkoutTokenRequired = 13;
*/
boolean getCheckoutTokenRequired();
// optional string baseCheckoutUrl = 14;
/**
* optional string baseCheckoutUrl = 14;
*/
boolean hasBaseCheckoutUrl();
/**
* optional string baseCheckoutUrl = 14;
*/
java.lang.String getBaseCheckoutUrl();
/**
* optional string baseCheckoutUrl = 14;
*/
com.google.protobuf.ByteString
getBaseCheckoutUrlBytes();
// repeated string tosCheckboxHtml = 37;
/**
* repeated string tosCheckboxHtml = 37;
*/
java.util.List
getTosCheckboxHtmlList();
/**
* repeated string tosCheckboxHtml = 37;
*/
int getTosCheckboxHtmlCount();
/**
* repeated string tosCheckboxHtml = 37;
*/
java.lang.String getTosCheckboxHtml(int index);
/**
* repeated string tosCheckboxHtml = 37;
*/
com.google.protobuf.ByteString
getTosCheckboxHtmlBytes(int index);
// optional int32 iabPermissionError = 38;
/**
* optional int32 iabPermissionError = 38;
*/
boolean hasIabPermissionError();
/**
* optional int32 iabPermissionError = 38;
*/
int getIabPermissionError();
// optional .PurchaseStatusResponse purchaseStatusResponse = 39;
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
boolean hasPurchaseStatusResponse();
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse getPurchaseStatusResponse();
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponseOrBuilder getPurchaseStatusResponseOrBuilder();
// optional string purchaseCookie = 46;
/**
* optional string purchaseCookie = 46;
*/
boolean hasPurchaseCookie();
/**
* optional string purchaseCookie = 46;
*/
java.lang.String getPurchaseCookie();
/**
* optional string purchaseCookie = 46;
*/
com.google.protobuf.ByteString
getPurchaseCookieBytes();
// optional .Challenge challenge = 49;
/**
* optional .Challenge challenge = 49;
*/
boolean hasChallenge();
/**
* optional .Challenge challenge = 49;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Challenge getChallenge();
/**
* optional .Challenge challenge = 49;
*/
com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder getChallengeOrBuilder();
}
/**
* Protobuf type {@code BuyResponse}
*/
public static final class BuyResponse extends
com.google.protobuf.GeneratedMessage
implements BuyResponseOrBuilder {
// Use BuyResponse.newBuilder() to construct.
private BuyResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BuyResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BuyResponse defaultInstance;
public static BuyResponse getDefaultInstance() {
return defaultInstance;
}
public BuyResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BuyResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = purchaseResponse_.toBuilder();
}
purchaseResponse_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(purchaseResponse_);
purchaseResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 19: {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = checkoutInfo_.toBuilder();
}
checkoutInfo_ = input.readGroup(2, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.PARSER,
extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(checkoutInfo_);
checkoutInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 66: {
bitField0_ |= 0x00000004;
continueViaUrl_ = input.readBytes();
break;
}
case 74: {
bitField0_ |= 0x00000008;
purchaseStatusUrl_ = input.readBytes();
break;
}
case 98: {
bitField0_ |= 0x00000010;
checkoutServiceId_ = input.readBytes();
break;
}
case 104: {
bitField0_ |= 0x00000020;
checkoutTokenRequired_ = input.readBool();
break;
}
case 114: {
bitField0_ |= 0x00000040;
baseCheckoutUrl_ = input.readBytes();
break;
}
case 298: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
tosCheckboxHtml_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000080;
}
tosCheckboxHtml_.add(input.readBytes());
break;
}
case 304: {
bitField0_ |= 0x00000080;
iabPermissionError_ = input.readInt32();
break;
}
case 314: {
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
subBuilder = purchaseStatusResponse_.toBuilder();
}
purchaseStatusResponse_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(purchaseStatusResponse_);
purchaseStatusResponse_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
break;
}
case 370: {
bitField0_ |= 0x00000200;
purchaseCookie_ = input.readBytes();
break;
}
case 394: {
com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder subBuilder = null;
if (((bitField0_ & 0x00000400) == 0x00000400)) {
subBuilder = challenge_.toBuilder();
}
challenge_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Challenge.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(challenge_);
challenge_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000400;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
tosCheckboxHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(tosCheckboxHtml_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BuyResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BuyResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface CheckoutInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .LineItem item = 3;
/**
* optional .LineItem item = 3;
*/
boolean hasItem();
/**
* optional .LineItem item = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItem getItem();
/**
* optional .LineItem item = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getItemOrBuilder();
// repeated .LineItem subItem = 4;
/**
* repeated .LineItem subItem = 4;
*/
java.util.List
getSubItemList();
/**
* repeated .LineItem subItem = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSubItem(int index);
/**
* repeated .LineItem subItem = 4;
*/
int getSubItemCount();
/**
* repeated .LineItem subItem = 4;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemOrBuilderList();
/**
* repeated .LineItem subItem = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSubItemOrBuilder(
int index);
// repeated group CheckoutOption = 5 {
/**
* repeated group CheckoutOption = 5 { ... }
*/
java.util.List
getCheckoutOptionList();
/**
* repeated group CheckoutOption = 5 { ... }
*/
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption getCheckoutOption(int index);
/**
* repeated group CheckoutOption = 5 { ... }
*/
int getCheckoutOptionCount();
/**
* repeated group CheckoutOption = 5 { ... }
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder>
getCheckoutOptionOrBuilderList();
/**
* repeated group CheckoutOption = 5 { ... }
*/
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder getCheckoutOptionOrBuilder(
int index);
// optional string deprecatedCheckoutUrl = 10;
/**
* optional string deprecatedCheckoutUrl = 10;
*/
boolean hasDeprecatedCheckoutUrl();
/**
* optional string deprecatedCheckoutUrl = 10;
*/
java.lang.String getDeprecatedCheckoutUrl();
/**
* optional string deprecatedCheckoutUrl = 10;
*/
com.google.protobuf.ByteString
getDeprecatedCheckoutUrlBytes();
// optional string addInstrumentUrl = 11;
/**
* optional string addInstrumentUrl = 11;
*/
boolean hasAddInstrumentUrl();
/**
* optional string addInstrumentUrl = 11;
*/
java.lang.String getAddInstrumentUrl();
/**
* optional string addInstrumentUrl = 11;
*/
com.google.protobuf.ByteString
getAddInstrumentUrlBytes();
// repeated string footerHtml = 20;
/**
* repeated string footerHtml = 20;
*/
java.util.List
getFooterHtmlList();
/**
* repeated string footerHtml = 20;
*/
int getFooterHtmlCount();
/**
* repeated string footerHtml = 20;
*/
java.lang.String getFooterHtml(int index);
/**
* repeated string footerHtml = 20;
*/
com.google.protobuf.ByteString
getFooterHtmlBytes(int index);
// repeated int32 eligibleInstrumentFamily = 31;
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
java.util.List getEligibleInstrumentFamilyList();
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
int getEligibleInstrumentFamilyCount();
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
int getEligibleInstrumentFamily(int index);
// repeated string footnoteHtml = 36;
/**
* repeated string footnoteHtml = 36;
*/
java.util.List
getFootnoteHtmlList();
/**
* repeated string footnoteHtml = 36;
*/
int getFootnoteHtmlCount();
/**
* repeated string footnoteHtml = 36;
*/
java.lang.String getFootnoteHtml(int index);
/**
* repeated string footnoteHtml = 36;
*/
com.google.protobuf.ByteString
getFootnoteHtmlBytes(int index);
// repeated .Instrument eligibleInstrument = 44;
/**
* repeated .Instrument eligibleInstrument = 44;
*/
java.util.List
getEligibleInstrumentList();
/**
* repeated .Instrument eligibleInstrument = 44;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Instrument getEligibleInstrument(int index);
/**
* repeated .Instrument eligibleInstrument = 44;
*/
int getEligibleInstrumentCount();
/**
* repeated .Instrument eligibleInstrument = 44;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>
getEligibleInstrumentOrBuilderList();
/**
* repeated .Instrument eligibleInstrument = 44;
*/
com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getEligibleInstrumentOrBuilder(
int index);
}
/**
* Protobuf type {@code BuyResponse.CheckoutInfo}
*/
public static final class CheckoutInfo extends
com.google.protobuf.GeneratedMessage
implements CheckoutInfoOrBuilder {
// Use CheckoutInfo.newBuilder() to construct.
private CheckoutInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CheckoutInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CheckoutInfo defaultInstance;
public static CheckoutInfo getDefaultInstance() {
return defaultInstance;
}
public CheckoutInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CheckoutInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 26: {
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = item_.toBuilder();
}
item_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LineItem.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(item_);
item_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
subItem_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
subItem_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LineItem.PARSER, extensionRegistry));
break;
}
case 43: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
checkoutOption_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
checkoutOption_.add(input.readGroup(5, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.PARSER,
extensionRegistry));
break;
}
case 82: {
bitField0_ |= 0x00000002;
deprecatedCheckoutUrl_ = input.readBytes();
break;
}
case 90: {
bitField0_ |= 0x00000004;
addInstrumentUrl_ = input.readBytes();
break;
}
case 162: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
footerHtml_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000020;
}
footerHtml_.add(input.readBytes());
break;
}
case 248: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
eligibleInstrumentFamily_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
eligibleInstrumentFamily_.add(input.readInt32());
break;
}
case 250: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) {
eligibleInstrumentFamily_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
while (input.getBytesUntilLimit() > 0) {
eligibleInstrumentFamily_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 290: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
footnoteHtml_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000080;
}
footnoteHtml_.add(input.readBytes());
break;
}
case 354: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
eligibleInstrument_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
eligibleInstrument_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Instrument.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
subItem_ = java.util.Collections.unmodifiableList(subItem_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
checkoutOption_ = java.util.Collections.unmodifiableList(checkoutOption_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
footerHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(footerHtml_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
eligibleInstrumentFamily_ = java.util.Collections.unmodifiableList(eligibleInstrumentFamily_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
footnoteHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(footnoteHtml_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
eligibleInstrument_ = java.util.Collections.unmodifiableList(eligibleInstrument_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.class, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CheckoutInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckoutInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface CheckoutOptionOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string formOfPayment = 6;
/**
* optional string formOfPayment = 6;
*/
boolean hasFormOfPayment();
/**
* optional string formOfPayment = 6;
*/
java.lang.String getFormOfPayment();
/**
* optional string formOfPayment = 6;
*/
com.google.protobuf.ByteString
getFormOfPaymentBytes();
// optional string encodedAdjustedCart = 7;
/**
* optional string encodedAdjustedCart = 7;
*/
boolean hasEncodedAdjustedCart();
/**
* optional string encodedAdjustedCart = 7;
*/
java.lang.String getEncodedAdjustedCart();
/**
* optional string encodedAdjustedCart = 7;
*/
com.google.protobuf.ByteString
getEncodedAdjustedCartBytes();
// optional string instrumentId = 15;
/**
* optional string instrumentId = 15;
*/
boolean hasInstrumentId();
/**
* optional string instrumentId = 15;
*/
java.lang.String getInstrumentId();
/**
* optional string instrumentId = 15;
*/
com.google.protobuf.ByteString
getInstrumentIdBytes();
// repeated .LineItem item = 16;
/**
* repeated .LineItem item = 16;
*/
java.util.List
getItemList();
/**
* repeated .LineItem item = 16;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItem getItem(int index);
/**
* repeated .LineItem item = 16;
*/
int getItemCount();
/**
* repeated .LineItem item = 16;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getItemOrBuilderList();
/**
* repeated .LineItem item = 16;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getItemOrBuilder(
int index);
// repeated .LineItem subItem = 17;
/**
* repeated .LineItem subItem = 17;
*/
java.util.List
getSubItemList();
/**
* repeated .LineItem subItem = 17;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSubItem(int index);
/**
* repeated .LineItem subItem = 17;
*/
int getSubItemCount();
/**
* repeated .LineItem subItem = 17;
*/
java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemOrBuilderList();
/**
* repeated .LineItem subItem = 17;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSubItemOrBuilder(
int index);
// optional .LineItem total = 18;
/**
* optional .LineItem total = 18;
*/
boolean hasTotal();
/**
* optional .LineItem total = 18;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItem getTotal();
/**
* optional .LineItem total = 18;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getTotalOrBuilder();
// repeated string footerHtml = 19;
/**
* repeated string footerHtml = 19;
*/
java.util.List
getFooterHtmlList();
/**
* repeated string footerHtml = 19;
*/
int getFooterHtmlCount();
/**
* repeated string footerHtml = 19;
*/
java.lang.String getFooterHtml(int index);
/**
* repeated string footerHtml = 19;
*/
com.google.protobuf.ByteString
getFooterHtmlBytes(int index);
// optional int32 instrumentFamily = 29;
/**
* optional int32 instrumentFamily = 29;
*/
boolean hasInstrumentFamily();
/**
* optional int32 instrumentFamily = 29;
*/
int getInstrumentFamily();
// repeated int32 deprecatedInstrumentInapplicableReason = 30;
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
java.util.List getDeprecatedInstrumentInapplicableReasonList();
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
int getDeprecatedInstrumentInapplicableReasonCount();
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
int getDeprecatedInstrumentInapplicableReason(int index);
// optional bool selectedInstrument = 32;
/**
* optional bool selectedInstrument = 32;
*/
boolean hasSelectedInstrument();
/**
* optional bool selectedInstrument = 32;
*/
boolean getSelectedInstrument();
// optional .LineItem summary = 33;
/**
* optional .LineItem summary = 33;
*/
boolean hasSummary();
/**
* optional .LineItem summary = 33;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSummary();
/**
* optional .LineItem summary = 33;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSummaryOrBuilder();
// repeated string footnoteHtml = 35;
/**
* repeated string footnoteHtml = 35;
*/
java.util.List
getFootnoteHtmlList();
/**
* repeated string footnoteHtml = 35;
*/
int getFootnoteHtmlCount();
/**
* repeated string footnoteHtml = 35;
*/
java.lang.String getFootnoteHtml(int index);
/**
* repeated string footnoteHtml = 35;
*/
com.google.protobuf.ByteString
getFootnoteHtmlBytes(int index);
// optional .Instrument instrument = 43;
/**
* optional .Instrument instrument = 43;
*/
boolean hasInstrument();
/**
* optional .Instrument instrument = 43;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Instrument getInstrument();
/**
* optional .Instrument instrument = 43;
*/
com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getInstrumentOrBuilder();
// optional string purchaseCookie = 45;
/**
* optional string purchaseCookie = 45;
*/
boolean hasPurchaseCookie();
/**
* optional string purchaseCookie = 45;
*/
java.lang.String getPurchaseCookie();
/**
* optional string purchaseCookie = 45;
*/
com.google.protobuf.ByteString
getPurchaseCookieBytes();
// repeated string disabledReason = 48;
/**
* repeated string disabledReason = 48;
*/
java.util.List
getDisabledReasonList();
/**
* repeated string disabledReason = 48;
*/
int getDisabledReasonCount();
/**
* repeated string disabledReason = 48;
*/
java.lang.String getDisabledReason(int index);
/**
* repeated string disabledReason = 48;
*/
com.google.protobuf.ByteString
getDisabledReasonBytes(int index);
}
/**
* Protobuf type {@code BuyResponse.CheckoutInfo.CheckoutOption}
*/
public static final class CheckoutOption extends
com.google.protobuf.GeneratedMessage
implements CheckoutOptionOrBuilder {
// Use CheckoutOption.newBuilder() to construct.
private CheckoutOption(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CheckoutOption(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CheckoutOption defaultInstance;
public static CheckoutOption getDefaultInstance() {
return defaultInstance;
}
public CheckoutOption getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CheckoutOption(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 50: {
bitField0_ |= 0x00000001;
formOfPayment_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000002;
encodedAdjustedCart_ = input.readBytes();
break;
}
case 122: {
bitField0_ |= 0x00000004;
instrumentId_ = input.readBytes();
break;
}
case 130: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
item_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
item_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LineItem.PARSER, extensionRegistry));
break;
}
case 138: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
subItem_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
subItem_.add(input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LineItem.PARSER, extensionRegistry));
break;
}
case 146: {
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = total_.toBuilder();
}
total_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LineItem.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(total_);
total_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 154: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
footerHtml_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000040;
}
footerHtml_.add(input.readBytes());
break;
}
case 232: {
bitField0_ |= 0x00000010;
instrumentFamily_ = input.readInt32();
break;
}
case 240: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
deprecatedInstrumentInapplicableReason_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
deprecatedInstrumentInapplicableReason_.add(input.readInt32());
break;
}
case 242: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) {
deprecatedInstrumentInapplicableReason_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
while (input.getBytesUntilLimit() > 0) {
deprecatedInstrumentInapplicableReason_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 256: {
bitField0_ |= 0x00000020;
selectedInstrument_ = input.readBool();
break;
}
case 266: {
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = summary_.toBuilder();
}
summary_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LineItem.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(summary_);
summary_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 282: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
footnoteHtml_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000800;
}
footnoteHtml_.add(input.readBytes());
break;
}
case 346: {
com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = instrument_.toBuilder();
}
instrument_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Instrument.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(instrument_);
instrument_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 362: {
bitField0_ |= 0x00000100;
purchaseCookie_ = input.readBytes();
break;
}
case 386: {
if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
disabledReason_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00004000;
}
disabledReason_.add(input.readBytes());
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
item_ = java.util.Collections.unmodifiableList(item_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
subItem_ = java.util.Collections.unmodifiableList(subItem_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
footerHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(footerHtml_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
deprecatedInstrumentInapplicableReason_ = java.util.Collections.unmodifiableList(deprecatedInstrumentInapplicableReason_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
footnoteHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(footnoteHtml_);
}
if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
disabledReason_ = new com.google.protobuf.UnmodifiableLazyStringList(disabledReason_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_CheckoutOption_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_CheckoutOption_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.class, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CheckoutOption parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckoutOption(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string formOfPayment = 6;
public static final int FORMOFPAYMENT_FIELD_NUMBER = 6;
private java.lang.Object formOfPayment_;
/**
* optional string formOfPayment = 6;
*/
public boolean hasFormOfPayment() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string formOfPayment = 6;
*/
public java.lang.String getFormOfPayment() {
java.lang.Object ref = formOfPayment_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
formOfPayment_ = s;
}
return s;
}
}
/**
* optional string formOfPayment = 6;
*/
public com.google.protobuf.ByteString
getFormOfPaymentBytes() {
java.lang.Object ref = formOfPayment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formOfPayment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string encodedAdjustedCart = 7;
public static final int ENCODEDADJUSTEDCART_FIELD_NUMBER = 7;
private java.lang.Object encodedAdjustedCart_;
/**
* optional string encodedAdjustedCart = 7;
*/
public boolean hasEncodedAdjustedCart() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string encodedAdjustedCart = 7;
*/
public java.lang.String getEncodedAdjustedCart() {
java.lang.Object ref = encodedAdjustedCart_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
encodedAdjustedCart_ = s;
}
return s;
}
}
/**
* optional string encodedAdjustedCart = 7;
*/
public com.google.protobuf.ByteString
getEncodedAdjustedCartBytes() {
java.lang.Object ref = encodedAdjustedCart_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
encodedAdjustedCart_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string instrumentId = 15;
public static final int INSTRUMENTID_FIELD_NUMBER = 15;
private java.lang.Object instrumentId_;
/**
* optional string instrumentId = 15;
*/
public boolean hasInstrumentId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string instrumentId = 15;
*/
public java.lang.String getInstrumentId() {
java.lang.Object ref = instrumentId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instrumentId_ = s;
}
return s;
}
}
/**
* optional string instrumentId = 15;
*/
public com.google.protobuf.ByteString
getInstrumentIdBytes() {
java.lang.Object ref = instrumentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instrumentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .LineItem item = 16;
public static final int ITEM_FIELD_NUMBER = 16;
private java.util.List item_;
/**
* repeated .LineItem item = 16;
*/
public java.util.List getItemList() {
return item_;
}
/**
* repeated .LineItem item = 16;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getItemOrBuilderList() {
return item_;
}
/**
* repeated .LineItem item = 16;
*/
public int getItemCount() {
return item_.size();
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getItem(int index) {
return item_.get(index);
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getItemOrBuilder(
int index) {
return item_.get(index);
}
// repeated .LineItem subItem = 17;
public static final int SUBITEM_FIELD_NUMBER = 17;
private java.util.List subItem_;
/**
* repeated .LineItem subItem = 17;
*/
public java.util.List getSubItemList() {
return subItem_;
}
/**
* repeated .LineItem subItem = 17;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemOrBuilderList() {
return subItem_;
}
/**
* repeated .LineItem subItem = 17;
*/
public int getSubItemCount() {
return subItem_.size();
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSubItem(int index) {
return subItem_.get(index);
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSubItemOrBuilder(
int index) {
return subItem_.get(index);
}
// optional .LineItem total = 18;
public static final int TOTAL_FIELD_NUMBER = 18;
private com.akdeniz.googleplaycrawler.GooglePlay.LineItem total_;
/**
* optional .LineItem total = 18;
*/
public boolean hasTotal() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .LineItem total = 18;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getTotal() {
return total_;
}
/**
* optional .LineItem total = 18;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getTotalOrBuilder() {
return total_;
}
// repeated string footerHtml = 19;
public static final int FOOTERHTML_FIELD_NUMBER = 19;
private com.google.protobuf.LazyStringList footerHtml_;
/**
* repeated string footerHtml = 19;
*/
public java.util.List
getFooterHtmlList() {
return footerHtml_;
}
/**
* repeated string footerHtml = 19;
*/
public int getFooterHtmlCount() {
return footerHtml_.size();
}
/**
* repeated string footerHtml = 19;
*/
public java.lang.String getFooterHtml(int index) {
return footerHtml_.get(index);
}
/**
* repeated string footerHtml = 19;
*/
public com.google.protobuf.ByteString
getFooterHtmlBytes(int index) {
return footerHtml_.getByteString(index);
}
// optional int32 instrumentFamily = 29;
public static final int INSTRUMENTFAMILY_FIELD_NUMBER = 29;
private int instrumentFamily_;
/**
* optional int32 instrumentFamily = 29;
*/
public boolean hasInstrumentFamily() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 instrumentFamily = 29;
*/
public int getInstrumentFamily() {
return instrumentFamily_;
}
// repeated int32 deprecatedInstrumentInapplicableReason = 30;
public static final int DEPRECATEDINSTRUMENTINAPPLICABLEREASON_FIELD_NUMBER = 30;
private java.util.List deprecatedInstrumentInapplicableReason_;
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public java.util.List
getDeprecatedInstrumentInapplicableReasonList() {
return deprecatedInstrumentInapplicableReason_;
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public int getDeprecatedInstrumentInapplicableReasonCount() {
return deprecatedInstrumentInapplicableReason_.size();
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public int getDeprecatedInstrumentInapplicableReason(int index) {
return deprecatedInstrumentInapplicableReason_.get(index);
}
// optional bool selectedInstrument = 32;
public static final int SELECTEDINSTRUMENT_FIELD_NUMBER = 32;
private boolean selectedInstrument_;
/**
* optional bool selectedInstrument = 32;
*/
public boolean hasSelectedInstrument() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool selectedInstrument = 32;
*/
public boolean getSelectedInstrument() {
return selectedInstrument_;
}
// optional .LineItem summary = 33;
public static final int SUMMARY_FIELD_NUMBER = 33;
private com.akdeniz.googleplaycrawler.GooglePlay.LineItem summary_;
/**
* optional .LineItem summary = 33;
*/
public boolean hasSummary() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .LineItem summary = 33;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSummary() {
return summary_;
}
/**
* optional .LineItem summary = 33;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSummaryOrBuilder() {
return summary_;
}
// repeated string footnoteHtml = 35;
public static final int FOOTNOTEHTML_FIELD_NUMBER = 35;
private com.google.protobuf.LazyStringList footnoteHtml_;
/**
* repeated string footnoteHtml = 35;
*/
public java.util.List
getFootnoteHtmlList() {
return footnoteHtml_;
}
/**
* repeated string footnoteHtml = 35;
*/
public int getFootnoteHtmlCount() {
return footnoteHtml_.size();
}
/**
* repeated string footnoteHtml = 35;
*/
public java.lang.String getFootnoteHtml(int index) {
return footnoteHtml_.get(index);
}
/**
* repeated string footnoteHtml = 35;
*/
public com.google.protobuf.ByteString
getFootnoteHtmlBytes(int index) {
return footnoteHtml_.getByteString(index);
}
// optional .Instrument instrument = 43;
public static final int INSTRUMENT_FIELD_NUMBER = 43;
private com.akdeniz.googleplaycrawler.GooglePlay.Instrument instrument_;
/**
* optional .Instrument instrument = 43;
*/
public boolean hasInstrument() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .Instrument instrument = 43;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument getInstrument() {
return instrument_;
}
/**
* optional .Instrument instrument = 43;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getInstrumentOrBuilder() {
return instrument_;
}
// optional string purchaseCookie = 45;
public static final int PURCHASECOOKIE_FIELD_NUMBER = 45;
private java.lang.Object purchaseCookie_;
/**
* optional string purchaseCookie = 45;
*/
public boolean hasPurchaseCookie() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string purchaseCookie = 45;
*/
public java.lang.String getPurchaseCookie() {
java.lang.Object ref = purchaseCookie_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
purchaseCookie_ = s;
}
return s;
}
}
/**
* optional string purchaseCookie = 45;
*/
public com.google.protobuf.ByteString
getPurchaseCookieBytes() {
java.lang.Object ref = purchaseCookie_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseCookie_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated string disabledReason = 48;
public static final int DISABLEDREASON_FIELD_NUMBER = 48;
private com.google.protobuf.LazyStringList disabledReason_;
/**
* repeated string disabledReason = 48;
*/
public java.util.List
getDisabledReasonList() {
return disabledReason_;
}
/**
* repeated string disabledReason = 48;
*/
public int getDisabledReasonCount() {
return disabledReason_.size();
}
/**
* repeated string disabledReason = 48;
*/
public java.lang.String getDisabledReason(int index) {
return disabledReason_.get(index);
}
/**
* repeated string disabledReason = 48;
*/
public com.google.protobuf.ByteString
getDisabledReasonBytes(int index) {
return disabledReason_.getByteString(index);
}
private void initFields() {
formOfPayment_ = "";
encodedAdjustedCart_ = "";
instrumentId_ = "";
item_ = java.util.Collections.emptyList();
subItem_ = java.util.Collections.emptyList();
total_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
instrumentFamily_ = 0;
deprecatedInstrumentInapplicableReason_ = java.util.Collections.emptyList();
selectedInstrument_ = false;
summary_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
instrument_ = com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance();
purchaseCookie_ = "";
disabledReason_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(6, getFormOfPaymentBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(7, getEncodedAdjustedCartBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(15, getInstrumentIdBytes());
}
for (int i = 0; i < item_.size(); i++) {
output.writeMessage(16, item_.get(i));
}
for (int i = 0; i < subItem_.size(); i++) {
output.writeMessage(17, subItem_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(18, total_);
}
for (int i = 0; i < footerHtml_.size(); i++) {
output.writeBytes(19, footerHtml_.getByteString(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(29, instrumentFamily_);
}
for (int i = 0; i < deprecatedInstrumentInapplicableReason_.size(); i++) {
output.writeInt32(30, deprecatedInstrumentInapplicableReason_.get(i));
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(32, selectedInstrument_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(33, summary_);
}
for (int i = 0; i < footnoteHtml_.size(); i++) {
output.writeBytes(35, footnoteHtml_.getByteString(i));
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(43, instrument_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(45, getPurchaseCookieBytes());
}
for (int i = 0; i < disabledReason_.size(); i++) {
output.writeBytes(48, disabledReason_.getByteString(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getFormOfPaymentBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getEncodedAdjustedCartBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(15, getInstrumentIdBytes());
}
for (int i = 0; i < item_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, item_.get(i));
}
for (int i = 0; i < subItem_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, subItem_.get(i));
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, total_);
}
{
int dataSize = 0;
for (int i = 0; i < footerHtml_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(footerHtml_.getByteString(i));
}
size += dataSize;
size += 2 * getFooterHtmlList().size();
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(29, instrumentFamily_);
}
{
int dataSize = 0;
for (int i = 0; i < deprecatedInstrumentInapplicableReason_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(deprecatedInstrumentInapplicableReason_.get(i));
}
size += dataSize;
size += 2 * getDeprecatedInstrumentInapplicableReasonList().size();
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(32, selectedInstrument_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, summary_);
}
{
int dataSize = 0;
for (int i = 0; i < footnoteHtml_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(footnoteHtml_.getByteString(i));
}
size += dataSize;
size += 2 * getFootnoteHtmlList().size();
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, instrument_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(45, getPurchaseCookieBytes());
}
{
int dataSize = 0;
for (int i = 0; i < disabledReason_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(disabledReason_.getByteString(i));
}
size += dataSize;
size += 2 * getDisabledReasonList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BuyResponse.CheckoutInfo.CheckoutOption}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_CheckoutOption_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_CheckoutOption_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.class, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getItemFieldBuilder();
getSubItemFieldBuilder();
getTotalFieldBuilder();
getSummaryFieldBuilder();
getInstrumentFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
formOfPayment_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
encodedAdjustedCart_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
instrumentId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
if (itemBuilder_ == null) {
item_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
itemBuilder_.clear();
}
if (subItemBuilder_ == null) {
subItem_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
subItemBuilder_.clear();
}
if (totalBuilder_ == null) {
total_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
} else {
totalBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
instrumentFamily_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
deprecatedInstrumentInapplicableReason_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
selectedInstrument_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
if (summaryBuilder_ == null) {
summary_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
} else {
summaryBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000800);
if (instrumentBuilder_ == null) {
instrument_ = com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance();
} else {
instrumentBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
purchaseCookie_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
disabledReason_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_CheckoutOption_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption build() {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption result = new com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.formOfPayment_ = formOfPayment_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.encodedAdjustedCart_ = encodedAdjustedCart_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.instrumentId_ = instrumentId_;
if (itemBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
item_ = java.util.Collections.unmodifiableList(item_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.item_ = item_;
} else {
result.item_ = itemBuilder_.build();
}
if (subItemBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subItem_ = java.util.Collections.unmodifiableList(subItem_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.subItem_ = subItem_;
} else {
result.subItem_ = subItemBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000008;
}
if (totalBuilder_ == null) {
result.total_ = total_;
} else {
result.total_ = totalBuilder_.build();
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
footerHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(
footerHtml_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.footerHtml_ = footerHtml_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000010;
}
result.instrumentFamily_ = instrumentFamily_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
deprecatedInstrumentInapplicableReason_ = java.util.Collections.unmodifiableList(deprecatedInstrumentInapplicableReason_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.deprecatedInstrumentInapplicableReason_ = deprecatedInstrumentInapplicableReason_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000020;
}
result.selectedInstrument_ = selectedInstrument_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000040;
}
if (summaryBuilder_ == null) {
result.summary_ = summary_;
} else {
result.summary_ = summaryBuilder_.build();
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
footnoteHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(
footnoteHtml_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.footnoteHtml_ = footnoteHtml_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00000080;
}
if (instrumentBuilder_ == null) {
result.instrument_ = instrument_;
} else {
result.instrument_ = instrumentBuilder_.build();
}
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000100;
}
result.purchaseCookie_ = purchaseCookie_;
if (((bitField0_ & 0x00004000) == 0x00004000)) {
disabledReason_ = new com.google.protobuf.UnmodifiableLazyStringList(
disabledReason_);
bitField0_ = (bitField0_ & ~0x00004000);
}
result.disabledReason_ = disabledReason_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.getDefaultInstance()) return this;
if (other.hasFormOfPayment()) {
bitField0_ |= 0x00000001;
formOfPayment_ = other.formOfPayment_;
onChanged();
}
if (other.hasEncodedAdjustedCart()) {
bitField0_ |= 0x00000002;
encodedAdjustedCart_ = other.encodedAdjustedCart_;
onChanged();
}
if (other.hasInstrumentId()) {
bitField0_ |= 0x00000004;
instrumentId_ = other.instrumentId_;
onChanged();
}
if (itemBuilder_ == null) {
if (!other.item_.isEmpty()) {
if (item_.isEmpty()) {
item_ = other.item_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureItemIsMutable();
item_.addAll(other.item_);
}
onChanged();
}
} else {
if (!other.item_.isEmpty()) {
if (itemBuilder_.isEmpty()) {
itemBuilder_.dispose();
itemBuilder_ = null;
item_ = other.item_;
bitField0_ = (bitField0_ & ~0x00000008);
itemBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getItemFieldBuilder() : null;
} else {
itemBuilder_.addAllMessages(other.item_);
}
}
}
if (subItemBuilder_ == null) {
if (!other.subItem_.isEmpty()) {
if (subItem_.isEmpty()) {
subItem_ = other.subItem_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureSubItemIsMutable();
subItem_.addAll(other.subItem_);
}
onChanged();
}
} else {
if (!other.subItem_.isEmpty()) {
if (subItemBuilder_.isEmpty()) {
subItemBuilder_.dispose();
subItemBuilder_ = null;
subItem_ = other.subItem_;
bitField0_ = (bitField0_ & ~0x00000010);
subItemBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSubItemFieldBuilder() : null;
} else {
subItemBuilder_.addAllMessages(other.subItem_);
}
}
}
if (other.hasTotal()) {
mergeTotal(other.getTotal());
}
if (!other.footerHtml_.isEmpty()) {
if (footerHtml_.isEmpty()) {
footerHtml_ = other.footerHtml_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureFooterHtmlIsMutable();
footerHtml_.addAll(other.footerHtml_);
}
onChanged();
}
if (other.hasInstrumentFamily()) {
setInstrumentFamily(other.getInstrumentFamily());
}
if (!other.deprecatedInstrumentInapplicableReason_.isEmpty()) {
if (deprecatedInstrumentInapplicableReason_.isEmpty()) {
deprecatedInstrumentInapplicableReason_ = other.deprecatedInstrumentInapplicableReason_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureDeprecatedInstrumentInapplicableReasonIsMutable();
deprecatedInstrumentInapplicableReason_.addAll(other.deprecatedInstrumentInapplicableReason_);
}
onChanged();
}
if (other.hasSelectedInstrument()) {
setSelectedInstrument(other.getSelectedInstrument());
}
if (other.hasSummary()) {
mergeSummary(other.getSummary());
}
if (!other.footnoteHtml_.isEmpty()) {
if (footnoteHtml_.isEmpty()) {
footnoteHtml_ = other.footnoteHtml_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureFootnoteHtmlIsMutable();
footnoteHtml_.addAll(other.footnoteHtml_);
}
onChanged();
}
if (other.hasInstrument()) {
mergeInstrument(other.getInstrument());
}
if (other.hasPurchaseCookie()) {
bitField0_ |= 0x00002000;
purchaseCookie_ = other.purchaseCookie_;
onChanged();
}
if (!other.disabledReason_.isEmpty()) {
if (disabledReason_.isEmpty()) {
disabledReason_ = other.disabledReason_;
bitField0_ = (bitField0_ & ~0x00004000);
} else {
ensureDisabledReasonIsMutable();
disabledReason_.addAll(other.disabledReason_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string formOfPayment = 6;
private java.lang.Object formOfPayment_ = "";
/**
* optional string formOfPayment = 6;
*/
public boolean hasFormOfPayment() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string formOfPayment = 6;
*/
public java.lang.String getFormOfPayment() {
java.lang.Object ref = formOfPayment_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
formOfPayment_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string formOfPayment = 6;
*/
public com.google.protobuf.ByteString
getFormOfPaymentBytes() {
java.lang.Object ref = formOfPayment_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formOfPayment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string formOfPayment = 6;
*/
public Builder setFormOfPayment(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
formOfPayment_ = value;
onChanged();
return this;
}
/**
* optional string formOfPayment = 6;
*/
public Builder clearFormOfPayment() {
bitField0_ = (bitField0_ & ~0x00000001);
formOfPayment_ = getDefaultInstance().getFormOfPayment();
onChanged();
return this;
}
/**
* optional string formOfPayment = 6;
*/
public Builder setFormOfPaymentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
formOfPayment_ = value;
onChanged();
return this;
}
// optional string encodedAdjustedCart = 7;
private java.lang.Object encodedAdjustedCart_ = "";
/**
* optional string encodedAdjustedCart = 7;
*/
public boolean hasEncodedAdjustedCart() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string encodedAdjustedCart = 7;
*/
public java.lang.String getEncodedAdjustedCart() {
java.lang.Object ref = encodedAdjustedCart_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
encodedAdjustedCart_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string encodedAdjustedCart = 7;
*/
public com.google.protobuf.ByteString
getEncodedAdjustedCartBytes() {
java.lang.Object ref = encodedAdjustedCart_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
encodedAdjustedCart_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string encodedAdjustedCart = 7;
*/
public Builder setEncodedAdjustedCart(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
encodedAdjustedCart_ = value;
onChanged();
return this;
}
/**
* optional string encodedAdjustedCart = 7;
*/
public Builder clearEncodedAdjustedCart() {
bitField0_ = (bitField0_ & ~0x00000002);
encodedAdjustedCart_ = getDefaultInstance().getEncodedAdjustedCart();
onChanged();
return this;
}
/**
* optional string encodedAdjustedCart = 7;
*/
public Builder setEncodedAdjustedCartBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
encodedAdjustedCart_ = value;
onChanged();
return this;
}
// optional string instrumentId = 15;
private java.lang.Object instrumentId_ = "";
/**
* optional string instrumentId = 15;
*/
public boolean hasInstrumentId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string instrumentId = 15;
*/
public java.lang.String getInstrumentId() {
java.lang.Object ref = instrumentId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
instrumentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string instrumentId = 15;
*/
public com.google.protobuf.ByteString
getInstrumentIdBytes() {
java.lang.Object ref = instrumentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instrumentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string instrumentId = 15;
*/
public Builder setInstrumentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
instrumentId_ = value;
onChanged();
return this;
}
/**
* optional string instrumentId = 15;
*/
public Builder clearInstrumentId() {
bitField0_ = (bitField0_ & ~0x00000004);
instrumentId_ = getDefaultInstance().getInstrumentId();
onChanged();
return this;
}
/**
* optional string instrumentId = 15;
*/
public Builder setInstrumentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
instrumentId_ = value;
onChanged();
return this;
}
// repeated .LineItem item = 16;
private java.util.List item_ =
java.util.Collections.emptyList();
private void ensureItemIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
item_ = new java.util.ArrayList(item_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder> itemBuilder_;
/**
* repeated .LineItem item = 16;
*/
public java.util.List getItemList() {
if (itemBuilder_ == null) {
return java.util.Collections.unmodifiableList(item_);
} else {
return itemBuilder_.getMessageList();
}
}
/**
* repeated .LineItem item = 16;
*/
public int getItemCount() {
if (itemBuilder_ == null) {
return item_.size();
} else {
return itemBuilder_.getCount();
}
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getItem(int index) {
if (itemBuilder_ == null) {
return item_.get(index);
} else {
return itemBuilder_.getMessage(index);
}
}
/**
* repeated .LineItem item = 16;
*/
public Builder setItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (itemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemIsMutable();
item_.set(index, value);
onChanged();
} else {
itemBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder setItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (itemBuilder_ == null) {
ensureItemIsMutable();
item_.set(index, builderForValue.build());
onChanged();
} else {
itemBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder addItem(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (itemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemIsMutable();
item_.add(value);
onChanged();
} else {
itemBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder addItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (itemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemIsMutable();
item_.add(index, value);
onChanged();
} else {
itemBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder addItem(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (itemBuilder_ == null) {
ensureItemIsMutable();
item_.add(builderForValue.build());
onChanged();
} else {
itemBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder addItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (itemBuilder_ == null) {
ensureItemIsMutable();
item_.add(index, builderForValue.build());
onChanged();
} else {
itemBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder addAllItem(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.LineItem> values) {
if (itemBuilder_ == null) {
ensureItemIsMutable();
super.addAll(values, item_);
onChanged();
} else {
itemBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder clearItem() {
if (itemBuilder_ == null) {
item_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
itemBuilder_.clear();
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public Builder removeItem(int index) {
if (itemBuilder_ == null) {
ensureItemIsMutable();
item_.remove(index);
onChanged();
} else {
itemBuilder_.remove(index);
}
return this;
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder getItemBuilder(
int index) {
return getItemFieldBuilder().getBuilder(index);
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getItemOrBuilder(
int index) {
if (itemBuilder_ == null) {
return item_.get(index); } else {
return itemBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .LineItem item = 16;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getItemOrBuilderList() {
if (itemBuilder_ != null) {
return itemBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(item_);
}
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder addItemBuilder() {
return getItemFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance());
}
/**
* repeated .LineItem item = 16;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder addItemBuilder(
int index) {
return getItemFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance());
}
/**
* repeated .LineItem item = 16;
*/
public java.util.List
getItemBuilderList() {
return getItemFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getItemFieldBuilder() {
if (itemBuilder_ == null) {
itemBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>(
item_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
item_ = null;
}
return itemBuilder_;
}
// repeated .LineItem subItem = 17;
private java.util.List subItem_ =
java.util.Collections.emptyList();
private void ensureSubItemIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
subItem_ = new java.util.ArrayList(subItem_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder> subItemBuilder_;
/**
* repeated .LineItem subItem = 17;
*/
public java.util.List getSubItemList() {
if (subItemBuilder_ == null) {
return java.util.Collections.unmodifiableList(subItem_);
} else {
return subItemBuilder_.getMessageList();
}
}
/**
* repeated .LineItem subItem = 17;
*/
public int getSubItemCount() {
if (subItemBuilder_ == null) {
return subItem_.size();
} else {
return subItemBuilder_.getCount();
}
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSubItem(int index) {
if (subItemBuilder_ == null) {
return subItem_.get(index);
} else {
return subItemBuilder_.getMessage(index);
}
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder setSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (subItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubItemIsMutable();
subItem_.set(index, value);
onChanged();
} else {
subItemBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder setSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.set(index, builderForValue.build());
onChanged();
} else {
subItemBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder addSubItem(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (subItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubItemIsMutable();
subItem_.add(value);
onChanged();
} else {
subItemBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder addSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (subItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubItemIsMutable();
subItem_.add(index, value);
onChanged();
} else {
subItemBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder addSubItem(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.add(builderForValue.build());
onChanged();
} else {
subItemBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder addSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.add(index, builderForValue.build());
onChanged();
} else {
subItemBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder addAllSubItem(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.LineItem> values) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
super.addAll(values, subItem_);
onChanged();
} else {
subItemBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder clearSubItem() {
if (subItemBuilder_ == null) {
subItem_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
subItemBuilder_.clear();
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public Builder removeSubItem(int index) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.remove(index);
onChanged();
} else {
subItemBuilder_.remove(index);
}
return this;
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder getSubItemBuilder(
int index) {
return getSubItemFieldBuilder().getBuilder(index);
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSubItemOrBuilder(
int index) {
if (subItemBuilder_ == null) {
return subItem_.get(index); } else {
return subItemBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .LineItem subItem = 17;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemOrBuilderList() {
if (subItemBuilder_ != null) {
return subItemBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subItem_);
}
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder addSubItemBuilder() {
return getSubItemFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance());
}
/**
* repeated .LineItem subItem = 17;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder addSubItemBuilder(
int index) {
return getSubItemFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance());
}
/**
* repeated .LineItem subItem = 17;
*/
public java.util.List
getSubItemBuilderList() {
return getSubItemFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemFieldBuilder() {
if (subItemBuilder_ == null) {
subItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>(
subItem_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
subItem_ = null;
}
return subItemBuilder_;
}
// optional .LineItem total = 18;
private com.akdeniz.googleplaycrawler.GooglePlay.LineItem total_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder> totalBuilder_;
/**
* optional .LineItem total = 18;
*/
public boolean hasTotal() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .LineItem total = 18;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getTotal() {
if (totalBuilder_ == null) {
return total_;
} else {
return totalBuilder_.getMessage();
}
}
/**
* optional .LineItem total = 18;
*/
public Builder setTotal(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (totalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
total_ = value;
onChanged();
} else {
totalBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .LineItem total = 18;
*/
public Builder setTotal(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (totalBuilder_ == null) {
total_ = builderForValue.build();
onChanged();
} else {
totalBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .LineItem total = 18;
*/
public Builder mergeTotal(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (totalBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020) &&
total_ != com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance()) {
total_ =
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.newBuilder(total_).mergeFrom(value).buildPartial();
} else {
total_ = value;
}
onChanged();
} else {
totalBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .LineItem total = 18;
*/
public Builder clearTotal() {
if (totalBuilder_ == null) {
total_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
onChanged();
} else {
totalBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .LineItem total = 18;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder getTotalBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getTotalFieldBuilder().getBuilder();
}
/**
* optional .LineItem total = 18;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getTotalOrBuilder() {
if (totalBuilder_ != null) {
return totalBuilder_.getMessageOrBuilder();
} else {
return total_;
}
}
/**
* optional .LineItem total = 18;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getTotalFieldBuilder() {
if (totalBuilder_ == null) {
totalBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>(
total_,
getParentForChildren(),
isClean());
total_ = null;
}
return totalBuilder_;
}
// repeated string footerHtml = 19;
private com.google.protobuf.LazyStringList footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFooterHtmlIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
footerHtml_ = new com.google.protobuf.LazyStringArrayList(footerHtml_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated string footerHtml = 19;
*/
public java.util.List
getFooterHtmlList() {
return java.util.Collections.unmodifiableList(footerHtml_);
}
/**
* repeated string footerHtml = 19;
*/
public int getFooterHtmlCount() {
return footerHtml_.size();
}
/**
* repeated string footerHtml = 19;
*/
public java.lang.String getFooterHtml(int index) {
return footerHtml_.get(index);
}
/**
* repeated string footerHtml = 19;
*/
public com.google.protobuf.ByteString
getFooterHtmlBytes(int index) {
return footerHtml_.getByteString(index);
}
/**
* repeated string footerHtml = 19;
*/
public Builder setFooterHtml(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFooterHtmlIsMutable();
footerHtml_.set(index, value);
onChanged();
return this;
}
/**
* repeated string footerHtml = 19;
*/
public Builder addFooterHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFooterHtmlIsMutable();
footerHtml_.add(value);
onChanged();
return this;
}
/**
* repeated string footerHtml = 19;
*/
public Builder addAllFooterHtml(
java.lang.Iterable values) {
ensureFooterHtmlIsMutable();
super.addAll(values, footerHtml_);
onChanged();
return this;
}
/**
* repeated string footerHtml = 19;
*/
public Builder clearFooterHtml() {
footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* repeated string footerHtml = 19;
*/
public Builder addFooterHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureFooterHtmlIsMutable();
footerHtml_.add(value);
onChanged();
return this;
}
// optional int32 instrumentFamily = 29;
private int instrumentFamily_ ;
/**
* optional int32 instrumentFamily = 29;
*/
public boolean hasInstrumentFamily() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 instrumentFamily = 29;
*/
public int getInstrumentFamily() {
return instrumentFamily_;
}
/**
* optional int32 instrumentFamily = 29;
*/
public Builder setInstrumentFamily(int value) {
bitField0_ |= 0x00000080;
instrumentFamily_ = value;
onChanged();
return this;
}
/**
* optional int32 instrumentFamily = 29;
*/
public Builder clearInstrumentFamily() {
bitField0_ = (bitField0_ & ~0x00000080);
instrumentFamily_ = 0;
onChanged();
return this;
}
// repeated int32 deprecatedInstrumentInapplicableReason = 30;
private java.util.List deprecatedInstrumentInapplicableReason_ = java.util.Collections.emptyList();
private void ensureDeprecatedInstrumentInapplicableReasonIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
deprecatedInstrumentInapplicableReason_ = new java.util.ArrayList(deprecatedInstrumentInapplicableReason_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public java.util.List
getDeprecatedInstrumentInapplicableReasonList() {
return java.util.Collections.unmodifiableList(deprecatedInstrumentInapplicableReason_);
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public int getDeprecatedInstrumentInapplicableReasonCount() {
return deprecatedInstrumentInapplicableReason_.size();
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public int getDeprecatedInstrumentInapplicableReason(int index) {
return deprecatedInstrumentInapplicableReason_.get(index);
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public Builder setDeprecatedInstrumentInapplicableReason(
int index, int value) {
ensureDeprecatedInstrumentInapplicableReasonIsMutable();
deprecatedInstrumentInapplicableReason_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public Builder addDeprecatedInstrumentInapplicableReason(int value) {
ensureDeprecatedInstrumentInapplicableReasonIsMutable();
deprecatedInstrumentInapplicableReason_.add(value);
onChanged();
return this;
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public Builder addAllDeprecatedInstrumentInapplicableReason(
java.lang.Iterable extends java.lang.Integer> values) {
ensureDeprecatedInstrumentInapplicableReasonIsMutable();
super.addAll(values, deprecatedInstrumentInapplicableReason_);
onChanged();
return this;
}
/**
* repeated int32 deprecatedInstrumentInapplicableReason = 30;
*/
public Builder clearDeprecatedInstrumentInapplicableReason() {
deprecatedInstrumentInapplicableReason_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
// optional bool selectedInstrument = 32;
private boolean selectedInstrument_ ;
/**
* optional bool selectedInstrument = 32;
*/
public boolean hasSelectedInstrument() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool selectedInstrument = 32;
*/
public boolean getSelectedInstrument() {
return selectedInstrument_;
}
/**
* optional bool selectedInstrument = 32;
*/
public Builder setSelectedInstrument(boolean value) {
bitField0_ |= 0x00000200;
selectedInstrument_ = value;
onChanged();
return this;
}
/**
* optional bool selectedInstrument = 32;
*/
public Builder clearSelectedInstrument() {
bitField0_ = (bitField0_ & ~0x00000200);
selectedInstrument_ = false;
onChanged();
return this;
}
// optional .LineItem summary = 33;
private com.akdeniz.googleplaycrawler.GooglePlay.LineItem summary_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder> summaryBuilder_;
/**
* optional .LineItem summary = 33;
*/
public boolean hasSummary() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional .LineItem summary = 33;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSummary() {
if (summaryBuilder_ == null) {
return summary_;
} else {
return summaryBuilder_.getMessage();
}
}
/**
* optional .LineItem summary = 33;
*/
public Builder setSummary(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (summaryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
summary_ = value;
onChanged();
} else {
summaryBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .LineItem summary = 33;
*/
public Builder setSummary(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (summaryBuilder_ == null) {
summary_ = builderForValue.build();
onChanged();
} else {
summaryBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .LineItem summary = 33;
*/
public Builder mergeSummary(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (summaryBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400) &&
summary_ != com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance()) {
summary_ =
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.newBuilder(summary_).mergeFrom(value).buildPartial();
} else {
summary_ = value;
}
onChanged();
} else {
summaryBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
return this;
}
/**
* optional .LineItem summary = 33;
*/
public Builder clearSummary() {
if (summaryBuilder_ == null) {
summary_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
onChanged();
} else {
summaryBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
/**
* optional .LineItem summary = 33;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder getSummaryBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getSummaryFieldBuilder().getBuilder();
}
/**
* optional .LineItem summary = 33;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSummaryOrBuilder() {
if (summaryBuilder_ != null) {
return summaryBuilder_.getMessageOrBuilder();
} else {
return summary_;
}
}
/**
* optional .LineItem summary = 33;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSummaryFieldBuilder() {
if (summaryBuilder_ == null) {
summaryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>(
summary_,
getParentForChildren(),
isClean());
summary_ = null;
}
return summaryBuilder_;
}
// repeated string footnoteHtml = 35;
private com.google.protobuf.LazyStringList footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFootnoteHtmlIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
footnoteHtml_ = new com.google.protobuf.LazyStringArrayList(footnoteHtml_);
bitField0_ |= 0x00000800;
}
}
/**
* repeated string footnoteHtml = 35;
*/
public java.util.List
getFootnoteHtmlList() {
return java.util.Collections.unmodifiableList(footnoteHtml_);
}
/**
* repeated string footnoteHtml = 35;
*/
public int getFootnoteHtmlCount() {
return footnoteHtml_.size();
}
/**
* repeated string footnoteHtml = 35;
*/
public java.lang.String getFootnoteHtml(int index) {
return footnoteHtml_.get(index);
}
/**
* repeated string footnoteHtml = 35;
*/
public com.google.protobuf.ByteString
getFootnoteHtmlBytes(int index) {
return footnoteHtml_.getByteString(index);
}
/**
* repeated string footnoteHtml = 35;
*/
public Builder setFootnoteHtml(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFootnoteHtmlIsMutable();
footnoteHtml_.set(index, value);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 35;
*/
public Builder addFootnoteHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFootnoteHtmlIsMutable();
footnoteHtml_.add(value);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 35;
*/
public Builder addAllFootnoteHtml(
java.lang.Iterable values) {
ensureFootnoteHtmlIsMutable();
super.addAll(values, footnoteHtml_);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 35;
*/
public Builder clearFootnoteHtml() {
footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 35;
*/
public Builder addFootnoteHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureFootnoteHtmlIsMutable();
footnoteHtml_.add(value);
onChanged();
return this;
}
// optional .Instrument instrument = 43;
private com.akdeniz.googleplaycrawler.GooglePlay.Instrument instrument_ = com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Instrument, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder> instrumentBuilder_;
/**
* optional .Instrument instrument = 43;
*/
public boolean hasInstrument() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional .Instrument instrument = 43;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument getInstrument() {
if (instrumentBuilder_ == null) {
return instrument_;
} else {
return instrumentBuilder_.getMessage();
}
}
/**
* optional .Instrument instrument = 43;
*/
public Builder setInstrument(com.akdeniz.googleplaycrawler.GooglePlay.Instrument value) {
if (instrumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
instrument_ = value;
onChanged();
} else {
instrumentBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
return this;
}
/**
* optional .Instrument instrument = 43;
*/
public Builder setInstrument(
com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder builderForValue) {
if (instrumentBuilder_ == null) {
instrument_ = builderForValue.build();
onChanged();
} else {
instrumentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
return this;
}
/**
* optional .Instrument instrument = 43;
*/
public Builder mergeInstrument(com.akdeniz.googleplaycrawler.GooglePlay.Instrument value) {
if (instrumentBuilder_ == null) {
if (((bitField0_ & 0x00001000) == 0x00001000) &&
instrument_ != com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance()) {
instrument_ =
com.akdeniz.googleplaycrawler.GooglePlay.Instrument.newBuilder(instrument_).mergeFrom(value).buildPartial();
} else {
instrument_ = value;
}
onChanged();
} else {
instrumentBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00001000;
return this;
}
/**
* optional .Instrument instrument = 43;
*/
public Builder clearInstrument() {
if (instrumentBuilder_ == null) {
instrument_ = com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance();
onChanged();
} else {
instrumentBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
/**
* optional .Instrument instrument = 43;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder getInstrumentBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getInstrumentFieldBuilder().getBuilder();
}
/**
* optional .Instrument instrument = 43;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getInstrumentOrBuilder() {
if (instrumentBuilder_ != null) {
return instrumentBuilder_.getMessageOrBuilder();
} else {
return instrument_;
}
}
/**
* optional .Instrument instrument = 43;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Instrument, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>
getInstrumentFieldBuilder() {
if (instrumentBuilder_ == null) {
instrumentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Instrument, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>(
instrument_,
getParentForChildren(),
isClean());
instrument_ = null;
}
return instrumentBuilder_;
}
// optional string purchaseCookie = 45;
private java.lang.Object purchaseCookie_ = "";
/**
* optional string purchaseCookie = 45;
*/
public boolean hasPurchaseCookie() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional string purchaseCookie = 45;
*/
public java.lang.String getPurchaseCookie() {
java.lang.Object ref = purchaseCookie_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
purchaseCookie_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string purchaseCookie = 45;
*/
public com.google.protobuf.ByteString
getPurchaseCookieBytes() {
java.lang.Object ref = purchaseCookie_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseCookie_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string purchaseCookie = 45;
*/
public Builder setPurchaseCookie(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
purchaseCookie_ = value;
onChanged();
return this;
}
/**
* optional string purchaseCookie = 45;
*/
public Builder clearPurchaseCookie() {
bitField0_ = (bitField0_ & ~0x00002000);
purchaseCookie_ = getDefaultInstance().getPurchaseCookie();
onChanged();
return this;
}
/**
* optional string purchaseCookie = 45;
*/
public Builder setPurchaseCookieBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
purchaseCookie_ = value;
onChanged();
return this;
}
// repeated string disabledReason = 48;
private com.google.protobuf.LazyStringList disabledReason_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDisabledReasonIsMutable() {
if (!((bitField0_ & 0x00004000) == 0x00004000)) {
disabledReason_ = new com.google.protobuf.LazyStringArrayList(disabledReason_);
bitField0_ |= 0x00004000;
}
}
/**
* repeated string disabledReason = 48;
*/
public java.util.List
getDisabledReasonList() {
return java.util.Collections.unmodifiableList(disabledReason_);
}
/**
* repeated string disabledReason = 48;
*/
public int getDisabledReasonCount() {
return disabledReason_.size();
}
/**
* repeated string disabledReason = 48;
*/
public java.lang.String getDisabledReason(int index) {
return disabledReason_.get(index);
}
/**
* repeated string disabledReason = 48;
*/
public com.google.protobuf.ByteString
getDisabledReasonBytes(int index) {
return disabledReason_.getByteString(index);
}
/**
* repeated string disabledReason = 48;
*/
public Builder setDisabledReason(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDisabledReasonIsMutable();
disabledReason_.set(index, value);
onChanged();
return this;
}
/**
* repeated string disabledReason = 48;
*/
public Builder addDisabledReason(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDisabledReasonIsMutable();
disabledReason_.add(value);
onChanged();
return this;
}
/**
* repeated string disabledReason = 48;
*/
public Builder addAllDisabledReason(
java.lang.Iterable values) {
ensureDisabledReasonIsMutable();
super.addAll(values, disabledReason_);
onChanged();
return this;
}
/**
* repeated string disabledReason = 48;
*/
public Builder clearDisabledReason() {
disabledReason_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
/**
* repeated string disabledReason = 48;
*/
public Builder addDisabledReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureDisabledReasonIsMutable();
disabledReason_.add(value);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:BuyResponse.CheckoutInfo.CheckoutOption)
}
static {
defaultInstance = new CheckoutOption(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BuyResponse.CheckoutInfo.CheckoutOption)
}
private int bitField0_;
// optional .LineItem item = 3;
public static final int ITEM_FIELD_NUMBER = 3;
private com.akdeniz.googleplaycrawler.GooglePlay.LineItem item_;
/**
* optional .LineItem item = 3;
*/
public boolean hasItem() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .LineItem item = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getItem() {
return item_;
}
/**
* optional .LineItem item = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getItemOrBuilder() {
return item_;
}
// repeated .LineItem subItem = 4;
public static final int SUBITEM_FIELD_NUMBER = 4;
private java.util.List subItem_;
/**
* repeated .LineItem subItem = 4;
*/
public java.util.List getSubItemList() {
return subItem_;
}
/**
* repeated .LineItem subItem = 4;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemOrBuilderList() {
return subItem_;
}
/**
* repeated .LineItem subItem = 4;
*/
public int getSubItemCount() {
return subItem_.size();
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSubItem(int index) {
return subItem_.get(index);
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSubItemOrBuilder(
int index) {
return subItem_.get(index);
}
// repeated group CheckoutOption = 5 {
public static final int CHECKOUTOPTION_FIELD_NUMBER = 5;
private java.util.List checkoutOption_;
/**
* repeated group CheckoutOption = 5 { ... }
*/
public java.util.List getCheckoutOptionList() {
return checkoutOption_;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder>
getCheckoutOptionOrBuilderList() {
return checkoutOption_;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public int getCheckoutOptionCount() {
return checkoutOption_.size();
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption getCheckoutOption(int index) {
return checkoutOption_.get(index);
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder getCheckoutOptionOrBuilder(
int index) {
return checkoutOption_.get(index);
}
// optional string deprecatedCheckoutUrl = 10;
public static final int DEPRECATEDCHECKOUTURL_FIELD_NUMBER = 10;
private java.lang.Object deprecatedCheckoutUrl_;
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public boolean hasDeprecatedCheckoutUrl() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public java.lang.String getDeprecatedCheckoutUrl() {
java.lang.Object ref = deprecatedCheckoutUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
deprecatedCheckoutUrl_ = s;
}
return s;
}
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public com.google.protobuf.ByteString
getDeprecatedCheckoutUrlBytes() {
java.lang.Object ref = deprecatedCheckoutUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deprecatedCheckoutUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string addInstrumentUrl = 11;
public static final int ADDINSTRUMENTURL_FIELD_NUMBER = 11;
private java.lang.Object addInstrumentUrl_;
/**
* optional string addInstrumentUrl = 11;
*/
public boolean hasAddInstrumentUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string addInstrumentUrl = 11;
*/
public java.lang.String getAddInstrumentUrl() {
java.lang.Object ref = addInstrumentUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
addInstrumentUrl_ = s;
}
return s;
}
}
/**
* optional string addInstrumentUrl = 11;
*/
public com.google.protobuf.ByteString
getAddInstrumentUrlBytes() {
java.lang.Object ref = addInstrumentUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addInstrumentUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated string footerHtml = 20;
public static final int FOOTERHTML_FIELD_NUMBER = 20;
private com.google.protobuf.LazyStringList footerHtml_;
/**
* repeated string footerHtml = 20;
*/
public java.util.List
getFooterHtmlList() {
return footerHtml_;
}
/**
* repeated string footerHtml = 20;
*/
public int getFooterHtmlCount() {
return footerHtml_.size();
}
/**
* repeated string footerHtml = 20;
*/
public java.lang.String getFooterHtml(int index) {
return footerHtml_.get(index);
}
/**
* repeated string footerHtml = 20;
*/
public com.google.protobuf.ByteString
getFooterHtmlBytes(int index) {
return footerHtml_.getByteString(index);
}
// repeated int32 eligibleInstrumentFamily = 31;
public static final int ELIGIBLEINSTRUMENTFAMILY_FIELD_NUMBER = 31;
private java.util.List eligibleInstrumentFamily_;
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public java.util.List
getEligibleInstrumentFamilyList() {
return eligibleInstrumentFamily_;
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public int getEligibleInstrumentFamilyCount() {
return eligibleInstrumentFamily_.size();
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public int getEligibleInstrumentFamily(int index) {
return eligibleInstrumentFamily_.get(index);
}
// repeated string footnoteHtml = 36;
public static final int FOOTNOTEHTML_FIELD_NUMBER = 36;
private com.google.protobuf.LazyStringList footnoteHtml_;
/**
* repeated string footnoteHtml = 36;
*/
public java.util.List
getFootnoteHtmlList() {
return footnoteHtml_;
}
/**
* repeated string footnoteHtml = 36;
*/
public int getFootnoteHtmlCount() {
return footnoteHtml_.size();
}
/**
* repeated string footnoteHtml = 36;
*/
public java.lang.String getFootnoteHtml(int index) {
return footnoteHtml_.get(index);
}
/**
* repeated string footnoteHtml = 36;
*/
public com.google.protobuf.ByteString
getFootnoteHtmlBytes(int index) {
return footnoteHtml_.getByteString(index);
}
// repeated .Instrument eligibleInstrument = 44;
public static final int ELIGIBLEINSTRUMENT_FIELD_NUMBER = 44;
private java.util.List eligibleInstrument_;
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public java.util.List getEligibleInstrumentList() {
return eligibleInstrument_;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>
getEligibleInstrumentOrBuilderList() {
return eligibleInstrument_;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public int getEligibleInstrumentCount() {
return eligibleInstrument_.size();
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument getEligibleInstrument(int index) {
return eligibleInstrument_.get(index);
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getEligibleInstrumentOrBuilder(
int index) {
return eligibleInstrument_.get(index);
}
private void initFields() {
item_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
subItem_ = java.util.Collections.emptyList();
checkoutOption_ = java.util.Collections.emptyList();
deprecatedCheckoutUrl_ = "";
addInstrumentUrl_ = "";
footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
eligibleInstrumentFamily_ = java.util.Collections.emptyList();
footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
eligibleInstrument_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(3, item_);
}
for (int i = 0; i < subItem_.size(); i++) {
output.writeMessage(4, subItem_.get(i));
}
for (int i = 0; i < checkoutOption_.size(); i++) {
output.writeGroup(5, checkoutOption_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(10, getDeprecatedCheckoutUrlBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(11, getAddInstrumentUrlBytes());
}
for (int i = 0; i < footerHtml_.size(); i++) {
output.writeBytes(20, footerHtml_.getByteString(i));
}
for (int i = 0; i < eligibleInstrumentFamily_.size(); i++) {
output.writeInt32(31, eligibleInstrumentFamily_.get(i));
}
for (int i = 0; i < footnoteHtml_.size(); i++) {
output.writeBytes(36, footnoteHtml_.getByteString(i));
}
for (int i = 0; i < eligibleInstrument_.size(); i++) {
output.writeMessage(44, eligibleInstrument_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, item_);
}
for (int i = 0; i < subItem_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, subItem_.get(i));
}
for (int i = 0; i < checkoutOption_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeGroupSize(5, checkoutOption_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getDeprecatedCheckoutUrlBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getAddInstrumentUrlBytes());
}
{
int dataSize = 0;
for (int i = 0; i < footerHtml_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(footerHtml_.getByteString(i));
}
size += dataSize;
size += 2 * getFooterHtmlList().size();
}
{
int dataSize = 0;
for (int i = 0; i < eligibleInstrumentFamily_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(eligibleInstrumentFamily_.get(i));
}
size += dataSize;
size += 2 * getEligibleInstrumentFamilyList().size();
}
{
int dataSize = 0;
for (int i = 0; i < footnoteHtml_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(footnoteHtml_.getByteString(i));
}
size += dataSize;
size += 2 * getFootnoteHtmlList().size();
}
for (int i = 0; i < eligibleInstrument_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, eligibleInstrument_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BuyResponse.CheckoutInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.class, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getItemFieldBuilder();
getSubItemFieldBuilder();
getCheckoutOptionFieldBuilder();
getEligibleInstrumentFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (itemBuilder_ == null) {
item_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
} else {
itemBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (subItemBuilder_ == null) {
subItem_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
subItemBuilder_.clear();
}
if (checkoutOptionBuilder_ == null) {
checkoutOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
checkoutOptionBuilder_.clear();
}
deprecatedCheckoutUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
addInstrumentUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
eligibleInstrumentFamily_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
if (eligibleInstrumentBuilder_ == null) {
eligibleInstrument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
eligibleInstrumentBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_CheckoutInfo_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo build() {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo result = new com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (itemBuilder_ == null) {
result.item_ = item_;
} else {
result.item_ = itemBuilder_.build();
}
if (subItemBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subItem_ = java.util.Collections.unmodifiableList(subItem_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.subItem_ = subItem_;
} else {
result.subItem_ = subItemBuilder_.build();
}
if (checkoutOptionBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
checkoutOption_ = java.util.Collections.unmodifiableList(checkoutOption_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.checkoutOption_ = checkoutOption_;
} else {
result.checkoutOption_ = checkoutOptionBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000002;
}
result.deprecatedCheckoutUrl_ = deprecatedCheckoutUrl_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000004;
}
result.addInstrumentUrl_ = addInstrumentUrl_;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
footerHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(
footerHtml_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.footerHtml_ = footerHtml_;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
eligibleInstrumentFamily_ = java.util.Collections.unmodifiableList(eligibleInstrumentFamily_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.eligibleInstrumentFamily_ = eligibleInstrumentFamily_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
footnoteHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(
footnoteHtml_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.footnoteHtml_ = footnoteHtml_;
if (eligibleInstrumentBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
eligibleInstrument_ = java.util.Collections.unmodifiableList(eligibleInstrument_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.eligibleInstrument_ = eligibleInstrument_;
} else {
result.eligibleInstrument_ = eligibleInstrumentBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance()) return this;
if (other.hasItem()) {
mergeItem(other.getItem());
}
if (subItemBuilder_ == null) {
if (!other.subItem_.isEmpty()) {
if (subItem_.isEmpty()) {
subItem_ = other.subItem_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSubItemIsMutable();
subItem_.addAll(other.subItem_);
}
onChanged();
}
} else {
if (!other.subItem_.isEmpty()) {
if (subItemBuilder_.isEmpty()) {
subItemBuilder_.dispose();
subItemBuilder_ = null;
subItem_ = other.subItem_;
bitField0_ = (bitField0_ & ~0x00000002);
subItemBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSubItemFieldBuilder() : null;
} else {
subItemBuilder_.addAllMessages(other.subItem_);
}
}
}
if (checkoutOptionBuilder_ == null) {
if (!other.checkoutOption_.isEmpty()) {
if (checkoutOption_.isEmpty()) {
checkoutOption_ = other.checkoutOption_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureCheckoutOptionIsMutable();
checkoutOption_.addAll(other.checkoutOption_);
}
onChanged();
}
} else {
if (!other.checkoutOption_.isEmpty()) {
if (checkoutOptionBuilder_.isEmpty()) {
checkoutOptionBuilder_.dispose();
checkoutOptionBuilder_ = null;
checkoutOption_ = other.checkoutOption_;
bitField0_ = (bitField0_ & ~0x00000004);
checkoutOptionBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCheckoutOptionFieldBuilder() : null;
} else {
checkoutOptionBuilder_.addAllMessages(other.checkoutOption_);
}
}
}
if (other.hasDeprecatedCheckoutUrl()) {
bitField0_ |= 0x00000008;
deprecatedCheckoutUrl_ = other.deprecatedCheckoutUrl_;
onChanged();
}
if (other.hasAddInstrumentUrl()) {
bitField0_ |= 0x00000010;
addInstrumentUrl_ = other.addInstrumentUrl_;
onChanged();
}
if (!other.footerHtml_.isEmpty()) {
if (footerHtml_.isEmpty()) {
footerHtml_ = other.footerHtml_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureFooterHtmlIsMutable();
footerHtml_.addAll(other.footerHtml_);
}
onChanged();
}
if (!other.eligibleInstrumentFamily_.isEmpty()) {
if (eligibleInstrumentFamily_.isEmpty()) {
eligibleInstrumentFamily_ = other.eligibleInstrumentFamily_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureEligibleInstrumentFamilyIsMutable();
eligibleInstrumentFamily_.addAll(other.eligibleInstrumentFamily_);
}
onChanged();
}
if (!other.footnoteHtml_.isEmpty()) {
if (footnoteHtml_.isEmpty()) {
footnoteHtml_ = other.footnoteHtml_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureFootnoteHtmlIsMutable();
footnoteHtml_.addAll(other.footnoteHtml_);
}
onChanged();
}
if (eligibleInstrumentBuilder_ == null) {
if (!other.eligibleInstrument_.isEmpty()) {
if (eligibleInstrument_.isEmpty()) {
eligibleInstrument_ = other.eligibleInstrument_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.addAll(other.eligibleInstrument_);
}
onChanged();
}
} else {
if (!other.eligibleInstrument_.isEmpty()) {
if (eligibleInstrumentBuilder_.isEmpty()) {
eligibleInstrumentBuilder_.dispose();
eligibleInstrumentBuilder_ = null;
eligibleInstrument_ = other.eligibleInstrument_;
bitField0_ = (bitField0_ & ~0x00000100);
eligibleInstrumentBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEligibleInstrumentFieldBuilder() : null;
} else {
eligibleInstrumentBuilder_.addAllMessages(other.eligibleInstrument_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .LineItem item = 3;
private com.akdeniz.googleplaycrawler.GooglePlay.LineItem item_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder> itemBuilder_;
/**
* optional .LineItem item = 3;
*/
public boolean hasItem() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .LineItem item = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getItem() {
if (itemBuilder_ == null) {
return item_;
} else {
return itemBuilder_.getMessage();
}
}
/**
* optional .LineItem item = 3;
*/
public Builder setItem(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (itemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
item_ = value;
onChanged();
} else {
itemBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .LineItem item = 3;
*/
public Builder setItem(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (itemBuilder_ == null) {
item_ = builderForValue.build();
onChanged();
} else {
itemBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .LineItem item = 3;
*/
public Builder mergeItem(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (itemBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
item_ != com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance()) {
item_ =
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.newBuilder(item_).mergeFrom(value).buildPartial();
} else {
item_ = value;
}
onChanged();
} else {
itemBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .LineItem item = 3;
*/
public Builder clearItem() {
if (itemBuilder_ == null) {
item_ = com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
onChanged();
} else {
itemBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .LineItem item = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder getItemBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getItemFieldBuilder().getBuilder();
}
/**
* optional .LineItem item = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getItemOrBuilder() {
if (itemBuilder_ != null) {
return itemBuilder_.getMessageOrBuilder();
} else {
return item_;
}
}
/**
* optional .LineItem item = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getItemFieldBuilder() {
if (itemBuilder_ == null) {
itemBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>(
item_,
getParentForChildren(),
isClean());
item_ = null;
}
return itemBuilder_;
}
// repeated .LineItem subItem = 4;
private java.util.List subItem_ =
java.util.Collections.emptyList();
private void ensureSubItemIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
subItem_ = new java.util.ArrayList(subItem_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder> subItemBuilder_;
/**
* repeated .LineItem subItem = 4;
*/
public java.util.List getSubItemList() {
if (subItemBuilder_ == null) {
return java.util.Collections.unmodifiableList(subItem_);
} else {
return subItemBuilder_.getMessageList();
}
}
/**
* repeated .LineItem subItem = 4;
*/
public int getSubItemCount() {
if (subItemBuilder_ == null) {
return subItem_.size();
} else {
return subItemBuilder_.getCount();
}
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getSubItem(int index) {
if (subItemBuilder_ == null) {
return subItem_.get(index);
} else {
return subItemBuilder_.getMessage(index);
}
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder setSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (subItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubItemIsMutable();
subItem_.set(index, value);
onChanged();
} else {
subItemBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder setSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.set(index, builderForValue.build());
onChanged();
} else {
subItemBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder addSubItem(com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (subItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubItemIsMutable();
subItem_.add(value);
onChanged();
} else {
subItemBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder addSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem value) {
if (subItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubItemIsMutable();
subItem_.add(index, value);
onChanged();
} else {
subItemBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder addSubItem(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.add(builderForValue.build());
onChanged();
} else {
subItemBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder addSubItem(
int index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder builderForValue) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.add(index, builderForValue.build());
onChanged();
} else {
subItemBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder addAllSubItem(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.LineItem> values) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
super.addAll(values, subItem_);
onChanged();
} else {
subItemBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder clearSubItem() {
if (subItemBuilder_ == null) {
subItem_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
subItemBuilder_.clear();
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public Builder removeSubItem(int index) {
if (subItemBuilder_ == null) {
ensureSubItemIsMutable();
subItem_.remove(index);
onChanged();
} else {
subItemBuilder_.remove(index);
}
return this;
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder getSubItemBuilder(
int index) {
return getSubItemFieldBuilder().getBuilder(index);
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder getSubItemOrBuilder(
int index) {
if (subItemBuilder_ == null) {
return subItem_.get(index); } else {
return subItemBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .LineItem subItem = 4;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemOrBuilderList() {
if (subItemBuilder_ != null) {
return subItemBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subItem_);
}
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder addSubItemBuilder() {
return getSubItemFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance());
}
/**
* repeated .LineItem subItem = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder addSubItemBuilder(
int index) {
return getSubItemFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance());
}
/**
* repeated .LineItem subItem = 4;
*/
public java.util.List
getSubItemBuilderList() {
return getSubItemFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>
getSubItemFieldBuilder() {
if (subItemBuilder_ == null) {
subItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.LineItem, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder, com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder>(
subItem_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
subItem_ = null;
}
return subItemBuilder_;
}
// repeated group CheckoutOption = 5 {
private java.util.List checkoutOption_ =
java.util.Collections.emptyList();
private void ensureCheckoutOptionIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
checkoutOption_ = new java.util.ArrayList(checkoutOption_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder> checkoutOptionBuilder_;
/**
* repeated group CheckoutOption = 5 { ... }
*/
public java.util.List getCheckoutOptionList() {
if (checkoutOptionBuilder_ == null) {
return java.util.Collections.unmodifiableList(checkoutOption_);
} else {
return checkoutOptionBuilder_.getMessageList();
}
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public int getCheckoutOptionCount() {
if (checkoutOptionBuilder_ == null) {
return checkoutOption_.size();
} else {
return checkoutOptionBuilder_.getCount();
}
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption getCheckoutOption(int index) {
if (checkoutOptionBuilder_ == null) {
return checkoutOption_.get(index);
} else {
return checkoutOptionBuilder_.getMessage(index);
}
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder setCheckoutOption(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption value) {
if (checkoutOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCheckoutOptionIsMutable();
checkoutOption_.set(index, value);
onChanged();
} else {
checkoutOptionBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder setCheckoutOption(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder builderForValue) {
if (checkoutOptionBuilder_ == null) {
ensureCheckoutOptionIsMutable();
checkoutOption_.set(index, builderForValue.build());
onChanged();
} else {
checkoutOptionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder addCheckoutOption(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption value) {
if (checkoutOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCheckoutOptionIsMutable();
checkoutOption_.add(value);
onChanged();
} else {
checkoutOptionBuilder_.addMessage(value);
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder addCheckoutOption(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption value) {
if (checkoutOptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCheckoutOptionIsMutable();
checkoutOption_.add(index, value);
onChanged();
} else {
checkoutOptionBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder addCheckoutOption(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder builderForValue) {
if (checkoutOptionBuilder_ == null) {
ensureCheckoutOptionIsMutable();
checkoutOption_.add(builderForValue.build());
onChanged();
} else {
checkoutOptionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder addCheckoutOption(
int index, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder builderForValue) {
if (checkoutOptionBuilder_ == null) {
ensureCheckoutOptionIsMutable();
checkoutOption_.add(index, builderForValue.build());
onChanged();
} else {
checkoutOptionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder addAllCheckoutOption(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption> values) {
if (checkoutOptionBuilder_ == null) {
ensureCheckoutOptionIsMutable();
super.addAll(values, checkoutOption_);
onChanged();
} else {
checkoutOptionBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder clearCheckoutOption() {
if (checkoutOptionBuilder_ == null) {
checkoutOption_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
checkoutOptionBuilder_.clear();
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public Builder removeCheckoutOption(int index) {
if (checkoutOptionBuilder_ == null) {
ensureCheckoutOptionIsMutable();
checkoutOption_.remove(index);
onChanged();
} else {
checkoutOptionBuilder_.remove(index);
}
return this;
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder getCheckoutOptionBuilder(
int index) {
return getCheckoutOptionFieldBuilder().getBuilder(index);
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder getCheckoutOptionOrBuilder(
int index) {
if (checkoutOptionBuilder_ == null) {
return checkoutOption_.get(index); } else {
return checkoutOptionBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder>
getCheckoutOptionOrBuilderList() {
if (checkoutOptionBuilder_ != null) {
return checkoutOptionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(checkoutOption_);
}
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder addCheckoutOptionBuilder() {
return getCheckoutOptionFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.getDefaultInstance());
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder addCheckoutOptionBuilder(
int index) {
return getCheckoutOptionFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.getDefaultInstance());
}
/**
* repeated group CheckoutOption = 5 { ... }
*/
public java.util.List
getCheckoutOptionBuilderList() {
return getCheckoutOptionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder>
getCheckoutOptionFieldBuilder() {
if (checkoutOptionBuilder_ == null) {
checkoutOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOption.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.CheckoutOptionOrBuilder>(
checkoutOption_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
checkoutOption_ = null;
}
return checkoutOptionBuilder_;
}
// optional string deprecatedCheckoutUrl = 10;
private java.lang.Object deprecatedCheckoutUrl_ = "";
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public boolean hasDeprecatedCheckoutUrl() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public java.lang.String getDeprecatedCheckoutUrl() {
java.lang.Object ref = deprecatedCheckoutUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
deprecatedCheckoutUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public com.google.protobuf.ByteString
getDeprecatedCheckoutUrlBytes() {
java.lang.Object ref = deprecatedCheckoutUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deprecatedCheckoutUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public Builder setDeprecatedCheckoutUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
deprecatedCheckoutUrl_ = value;
onChanged();
return this;
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public Builder clearDeprecatedCheckoutUrl() {
bitField0_ = (bitField0_ & ~0x00000008);
deprecatedCheckoutUrl_ = getDefaultInstance().getDeprecatedCheckoutUrl();
onChanged();
return this;
}
/**
* optional string deprecatedCheckoutUrl = 10;
*/
public Builder setDeprecatedCheckoutUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
deprecatedCheckoutUrl_ = value;
onChanged();
return this;
}
// optional string addInstrumentUrl = 11;
private java.lang.Object addInstrumentUrl_ = "";
/**
* optional string addInstrumentUrl = 11;
*/
public boolean hasAddInstrumentUrl() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string addInstrumentUrl = 11;
*/
public java.lang.String getAddInstrumentUrl() {
java.lang.Object ref = addInstrumentUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
addInstrumentUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string addInstrumentUrl = 11;
*/
public com.google.protobuf.ByteString
getAddInstrumentUrlBytes() {
java.lang.Object ref = addInstrumentUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addInstrumentUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string addInstrumentUrl = 11;
*/
public Builder setAddInstrumentUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
addInstrumentUrl_ = value;
onChanged();
return this;
}
/**
* optional string addInstrumentUrl = 11;
*/
public Builder clearAddInstrumentUrl() {
bitField0_ = (bitField0_ & ~0x00000010);
addInstrumentUrl_ = getDefaultInstance().getAddInstrumentUrl();
onChanged();
return this;
}
/**
* optional string addInstrumentUrl = 11;
*/
public Builder setAddInstrumentUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
addInstrumentUrl_ = value;
onChanged();
return this;
}
// repeated string footerHtml = 20;
private com.google.protobuf.LazyStringList footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFooterHtmlIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
footerHtml_ = new com.google.protobuf.LazyStringArrayList(footerHtml_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated string footerHtml = 20;
*/
public java.util.List
getFooterHtmlList() {
return java.util.Collections.unmodifiableList(footerHtml_);
}
/**
* repeated string footerHtml = 20;
*/
public int getFooterHtmlCount() {
return footerHtml_.size();
}
/**
* repeated string footerHtml = 20;
*/
public java.lang.String getFooterHtml(int index) {
return footerHtml_.get(index);
}
/**
* repeated string footerHtml = 20;
*/
public com.google.protobuf.ByteString
getFooterHtmlBytes(int index) {
return footerHtml_.getByteString(index);
}
/**
* repeated string footerHtml = 20;
*/
public Builder setFooterHtml(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFooterHtmlIsMutable();
footerHtml_.set(index, value);
onChanged();
return this;
}
/**
* repeated string footerHtml = 20;
*/
public Builder addFooterHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFooterHtmlIsMutable();
footerHtml_.add(value);
onChanged();
return this;
}
/**
* repeated string footerHtml = 20;
*/
public Builder addAllFooterHtml(
java.lang.Iterable values) {
ensureFooterHtmlIsMutable();
super.addAll(values, footerHtml_);
onChanged();
return this;
}
/**
* repeated string footerHtml = 20;
*/
public Builder clearFooterHtml() {
footerHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* repeated string footerHtml = 20;
*/
public Builder addFooterHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureFooterHtmlIsMutable();
footerHtml_.add(value);
onChanged();
return this;
}
// repeated int32 eligibleInstrumentFamily = 31;
private java.util.List eligibleInstrumentFamily_ = java.util.Collections.emptyList();
private void ensureEligibleInstrumentFamilyIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
eligibleInstrumentFamily_ = new java.util.ArrayList(eligibleInstrumentFamily_);
bitField0_ |= 0x00000040;
}
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public java.util.List
getEligibleInstrumentFamilyList() {
return java.util.Collections.unmodifiableList(eligibleInstrumentFamily_);
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public int getEligibleInstrumentFamilyCount() {
return eligibleInstrumentFamily_.size();
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public int getEligibleInstrumentFamily(int index) {
return eligibleInstrumentFamily_.get(index);
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public Builder setEligibleInstrumentFamily(
int index, int value) {
ensureEligibleInstrumentFamilyIsMutable();
eligibleInstrumentFamily_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public Builder addEligibleInstrumentFamily(int value) {
ensureEligibleInstrumentFamilyIsMutable();
eligibleInstrumentFamily_.add(value);
onChanged();
return this;
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public Builder addAllEligibleInstrumentFamily(
java.lang.Iterable extends java.lang.Integer> values) {
ensureEligibleInstrumentFamilyIsMutable();
super.addAll(values, eligibleInstrumentFamily_);
onChanged();
return this;
}
/**
* repeated int32 eligibleInstrumentFamily = 31;
*/
public Builder clearEligibleInstrumentFamily() {
eligibleInstrumentFamily_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
// repeated string footnoteHtml = 36;
private com.google.protobuf.LazyStringList footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFootnoteHtmlIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
footnoteHtml_ = new com.google.protobuf.LazyStringArrayList(footnoteHtml_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated string footnoteHtml = 36;
*/
public java.util.List
getFootnoteHtmlList() {
return java.util.Collections.unmodifiableList(footnoteHtml_);
}
/**
* repeated string footnoteHtml = 36;
*/
public int getFootnoteHtmlCount() {
return footnoteHtml_.size();
}
/**
* repeated string footnoteHtml = 36;
*/
public java.lang.String getFootnoteHtml(int index) {
return footnoteHtml_.get(index);
}
/**
* repeated string footnoteHtml = 36;
*/
public com.google.protobuf.ByteString
getFootnoteHtmlBytes(int index) {
return footnoteHtml_.getByteString(index);
}
/**
* repeated string footnoteHtml = 36;
*/
public Builder setFootnoteHtml(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFootnoteHtmlIsMutable();
footnoteHtml_.set(index, value);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 36;
*/
public Builder addFootnoteHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFootnoteHtmlIsMutable();
footnoteHtml_.add(value);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 36;
*/
public Builder addAllFootnoteHtml(
java.lang.Iterable values) {
ensureFootnoteHtmlIsMutable();
super.addAll(values, footnoteHtml_);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 36;
*/
public Builder clearFootnoteHtml() {
footnoteHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* repeated string footnoteHtml = 36;
*/
public Builder addFootnoteHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureFootnoteHtmlIsMutable();
footnoteHtml_.add(value);
onChanged();
return this;
}
// repeated .Instrument eligibleInstrument = 44;
private java.util.List eligibleInstrument_ =
java.util.Collections.emptyList();
private void ensureEligibleInstrumentIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
eligibleInstrument_ = new java.util.ArrayList(eligibleInstrument_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Instrument, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder> eligibleInstrumentBuilder_;
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public java.util.List getEligibleInstrumentList() {
if (eligibleInstrumentBuilder_ == null) {
return java.util.Collections.unmodifiableList(eligibleInstrument_);
} else {
return eligibleInstrumentBuilder_.getMessageList();
}
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public int getEligibleInstrumentCount() {
if (eligibleInstrumentBuilder_ == null) {
return eligibleInstrument_.size();
} else {
return eligibleInstrumentBuilder_.getCount();
}
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument getEligibleInstrument(int index) {
if (eligibleInstrumentBuilder_ == null) {
return eligibleInstrument_.get(index);
} else {
return eligibleInstrumentBuilder_.getMessage(index);
}
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder setEligibleInstrument(
int index, com.akdeniz.googleplaycrawler.GooglePlay.Instrument value) {
if (eligibleInstrumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.set(index, value);
onChanged();
} else {
eligibleInstrumentBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder setEligibleInstrument(
int index, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder builderForValue) {
if (eligibleInstrumentBuilder_ == null) {
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.set(index, builderForValue.build());
onChanged();
} else {
eligibleInstrumentBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder addEligibleInstrument(com.akdeniz.googleplaycrawler.GooglePlay.Instrument value) {
if (eligibleInstrumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.add(value);
onChanged();
} else {
eligibleInstrumentBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder addEligibleInstrument(
int index, com.akdeniz.googleplaycrawler.GooglePlay.Instrument value) {
if (eligibleInstrumentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.add(index, value);
onChanged();
} else {
eligibleInstrumentBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder addEligibleInstrument(
com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder builderForValue) {
if (eligibleInstrumentBuilder_ == null) {
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.add(builderForValue.build());
onChanged();
} else {
eligibleInstrumentBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder addEligibleInstrument(
int index, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder builderForValue) {
if (eligibleInstrumentBuilder_ == null) {
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.add(index, builderForValue.build());
onChanged();
} else {
eligibleInstrumentBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder addAllEligibleInstrument(
java.lang.Iterable extends com.akdeniz.googleplaycrawler.GooglePlay.Instrument> values) {
if (eligibleInstrumentBuilder_ == null) {
ensureEligibleInstrumentIsMutable();
super.addAll(values, eligibleInstrument_);
onChanged();
} else {
eligibleInstrumentBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder clearEligibleInstrument() {
if (eligibleInstrumentBuilder_ == null) {
eligibleInstrument_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
eligibleInstrumentBuilder_.clear();
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public Builder removeEligibleInstrument(int index) {
if (eligibleInstrumentBuilder_ == null) {
ensureEligibleInstrumentIsMutable();
eligibleInstrument_.remove(index);
onChanged();
} else {
eligibleInstrumentBuilder_.remove(index);
}
return this;
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder getEligibleInstrumentBuilder(
int index) {
return getEligibleInstrumentFieldBuilder().getBuilder(index);
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getEligibleInstrumentOrBuilder(
int index) {
if (eligibleInstrumentBuilder_ == null) {
return eligibleInstrument_.get(index); } else {
return eligibleInstrumentBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public java.util.List extends com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>
getEligibleInstrumentOrBuilderList() {
if (eligibleInstrumentBuilder_ != null) {
return eligibleInstrumentBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(eligibleInstrument_);
}
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder addEligibleInstrumentBuilder() {
return getEligibleInstrumentFieldBuilder().addBuilder(
com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance());
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder addEligibleInstrumentBuilder(
int index) {
return getEligibleInstrumentFieldBuilder().addBuilder(
index, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.getDefaultInstance());
}
/**
* repeated .Instrument eligibleInstrument = 44;
*/
public java.util.List
getEligibleInstrumentBuilderList() {
return getEligibleInstrumentFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Instrument, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>
getEligibleInstrumentFieldBuilder() {
if (eligibleInstrumentBuilder_ == null) {
eligibleInstrumentBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Instrument, com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder, com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder>(
eligibleInstrument_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
eligibleInstrument_ = null;
}
return eligibleInstrumentBuilder_;
}
// @@protoc_insertion_point(builder_scope:BuyResponse.CheckoutInfo)
}
static {
defaultInstance = new CheckoutInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BuyResponse.CheckoutInfo)
}
private int bitField0_;
// optional .PurchaseNotificationResponse purchaseResponse = 1;
public static final int PURCHASERESPONSE_FIELD_NUMBER = 1;
private com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse purchaseResponse_;
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public boolean hasPurchaseResponse() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse getPurchaseResponse() {
return purchaseResponse_;
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder getPurchaseResponseOrBuilder() {
return purchaseResponse_;
}
// optional group CheckoutInfo = 2 {
public static final int CHECKOUTINFO_FIELD_NUMBER = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo checkoutInfo_;
/**
* optional group CheckoutInfo = 2 { ... }
*/
public boolean hasCheckoutInfo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo getCheckoutInfo() {
return checkoutInfo_;
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder getCheckoutInfoOrBuilder() {
return checkoutInfo_;
}
// optional string continueViaUrl = 8;
public static final int CONTINUEVIAURL_FIELD_NUMBER = 8;
private java.lang.Object continueViaUrl_;
/**
* optional string continueViaUrl = 8;
*/
public boolean hasContinueViaUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string continueViaUrl = 8;
*/
public java.lang.String getContinueViaUrl() {
java.lang.Object ref = continueViaUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
continueViaUrl_ = s;
}
return s;
}
}
/**
* optional string continueViaUrl = 8;
*/
public com.google.protobuf.ByteString
getContinueViaUrlBytes() {
java.lang.Object ref = continueViaUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
continueViaUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string purchaseStatusUrl = 9;
public static final int PURCHASESTATUSURL_FIELD_NUMBER = 9;
private java.lang.Object purchaseStatusUrl_;
/**
* optional string purchaseStatusUrl = 9;
*/
public boolean hasPurchaseStatusUrl() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string purchaseStatusUrl = 9;
*/
public java.lang.String getPurchaseStatusUrl() {
java.lang.Object ref = purchaseStatusUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
purchaseStatusUrl_ = s;
}
return s;
}
}
/**
* optional string purchaseStatusUrl = 9;
*/
public com.google.protobuf.ByteString
getPurchaseStatusUrlBytes() {
java.lang.Object ref = purchaseStatusUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseStatusUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string checkoutServiceId = 12;
public static final int CHECKOUTSERVICEID_FIELD_NUMBER = 12;
private java.lang.Object checkoutServiceId_;
/**
* optional string checkoutServiceId = 12;
*/
public boolean hasCheckoutServiceId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string checkoutServiceId = 12;
*/
public java.lang.String getCheckoutServiceId() {
java.lang.Object ref = checkoutServiceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
checkoutServiceId_ = s;
}
return s;
}
}
/**
* optional string checkoutServiceId = 12;
*/
public com.google.protobuf.ByteString
getCheckoutServiceIdBytes() {
java.lang.Object ref = checkoutServiceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checkoutServiceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bool checkoutTokenRequired = 13;
public static final int CHECKOUTTOKENREQUIRED_FIELD_NUMBER = 13;
private boolean checkoutTokenRequired_;
/**
* optional bool checkoutTokenRequired = 13;
*/
public boolean hasCheckoutTokenRequired() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool checkoutTokenRequired = 13;
*/
public boolean getCheckoutTokenRequired() {
return checkoutTokenRequired_;
}
// optional string baseCheckoutUrl = 14;
public static final int BASECHECKOUTURL_FIELD_NUMBER = 14;
private java.lang.Object baseCheckoutUrl_;
/**
* optional string baseCheckoutUrl = 14;
*/
public boolean hasBaseCheckoutUrl() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string baseCheckoutUrl = 14;
*/
public java.lang.String getBaseCheckoutUrl() {
java.lang.Object ref = baseCheckoutUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
baseCheckoutUrl_ = s;
}
return s;
}
}
/**
* optional string baseCheckoutUrl = 14;
*/
public com.google.protobuf.ByteString
getBaseCheckoutUrlBytes() {
java.lang.Object ref = baseCheckoutUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
baseCheckoutUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated string tosCheckboxHtml = 37;
public static final int TOSCHECKBOXHTML_FIELD_NUMBER = 37;
private com.google.protobuf.LazyStringList tosCheckboxHtml_;
/**
* repeated string tosCheckboxHtml = 37;
*/
public java.util.List
getTosCheckboxHtmlList() {
return tosCheckboxHtml_;
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public int getTosCheckboxHtmlCount() {
return tosCheckboxHtml_.size();
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public java.lang.String getTosCheckboxHtml(int index) {
return tosCheckboxHtml_.get(index);
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public com.google.protobuf.ByteString
getTosCheckboxHtmlBytes(int index) {
return tosCheckboxHtml_.getByteString(index);
}
// optional int32 iabPermissionError = 38;
public static final int IABPERMISSIONERROR_FIELD_NUMBER = 38;
private int iabPermissionError_;
/**
* optional int32 iabPermissionError = 38;
*/
public boolean hasIabPermissionError() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 iabPermissionError = 38;
*/
public int getIabPermissionError() {
return iabPermissionError_;
}
// optional .PurchaseStatusResponse purchaseStatusResponse = 39;
public static final int PURCHASESTATUSRESPONSE_FIELD_NUMBER = 39;
private com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse purchaseStatusResponse_;
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public boolean hasPurchaseStatusResponse() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse getPurchaseStatusResponse() {
return purchaseStatusResponse_;
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponseOrBuilder getPurchaseStatusResponseOrBuilder() {
return purchaseStatusResponse_;
}
// optional string purchaseCookie = 46;
public static final int PURCHASECOOKIE_FIELD_NUMBER = 46;
private java.lang.Object purchaseCookie_;
/**
* optional string purchaseCookie = 46;
*/
public boolean hasPurchaseCookie() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string purchaseCookie = 46;
*/
public java.lang.String getPurchaseCookie() {
java.lang.Object ref = purchaseCookie_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
purchaseCookie_ = s;
}
return s;
}
}
/**
* optional string purchaseCookie = 46;
*/
public com.google.protobuf.ByteString
getPurchaseCookieBytes() {
java.lang.Object ref = purchaseCookie_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseCookie_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional .Challenge challenge = 49;
public static final int CHALLENGE_FIELD_NUMBER = 49;
private com.akdeniz.googleplaycrawler.GooglePlay.Challenge challenge_;
/**
* optional .Challenge challenge = 49;
*/
public boolean hasChallenge() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional .Challenge challenge = 49;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Challenge getChallenge() {
return challenge_;
}
/**
* optional .Challenge challenge = 49;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder getChallengeOrBuilder() {
return challenge_;
}
private void initFields() {
purchaseResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance();
checkoutInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance();
continueViaUrl_ = "";
purchaseStatusUrl_ = "";
checkoutServiceId_ = "";
checkoutTokenRequired_ = false;
baseCheckoutUrl_ = "";
tosCheckboxHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
iabPermissionError_ = 0;
purchaseStatusResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.getDefaultInstance();
purchaseCookie_ = "";
challenge_ = com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, purchaseResponse_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeGroup(2, checkoutInfo_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(8, getContinueViaUrlBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(9, getPurchaseStatusUrlBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(12, getCheckoutServiceIdBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(13, checkoutTokenRequired_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(14, getBaseCheckoutUrlBytes());
}
for (int i = 0; i < tosCheckboxHtml_.size(); i++) {
output.writeBytes(37, tosCheckboxHtml_.getByteString(i));
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(38, iabPermissionError_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(39, purchaseStatusResponse_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBytes(46, getPurchaseCookieBytes());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeMessage(49, challenge_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, purchaseResponse_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeGroupSize(2, checkoutInfo_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getContinueViaUrlBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, getPurchaseStatusUrlBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(12, getCheckoutServiceIdBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, checkoutTokenRequired_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, getBaseCheckoutUrlBytes());
}
{
int dataSize = 0;
for (int i = 0; i < tosCheckboxHtml_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(tosCheckboxHtml_.getByteString(i));
}
size += dataSize;
size += 2 * getTosCheckboxHtmlList().size();
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(38, iabPermissionError_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, purchaseStatusResponse_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(46, getPurchaseCookieBytes());
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(49, challenge_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BuyResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.BuyResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPurchaseResponseFieldBuilder();
getCheckoutInfoFieldBuilder();
getPurchaseStatusResponseFieldBuilder();
getChallengeFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (purchaseResponseBuilder_ == null) {
purchaseResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance();
} else {
purchaseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (checkoutInfoBuilder_ == null) {
checkoutInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance();
} else {
checkoutInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
continueViaUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
purchaseStatusUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
checkoutServiceId_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
checkoutTokenRequired_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
baseCheckoutUrl_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
tosCheckboxHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
iabPermissionError_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
if (purchaseStatusResponseBuilder_ == null) {
purchaseStatusResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.getDefaultInstance();
} else {
purchaseStatusResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
purchaseCookie_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
if (challengeBuilder_ == null) {
challenge_ = com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance();
} else {
challengeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_BuyResponse_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse build() {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse result = new com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (purchaseResponseBuilder_ == null) {
result.purchaseResponse_ = purchaseResponse_;
} else {
result.purchaseResponse_ = purchaseResponseBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (checkoutInfoBuilder_ == null) {
result.checkoutInfo_ = checkoutInfo_;
} else {
result.checkoutInfo_ = checkoutInfoBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.continueViaUrl_ = continueViaUrl_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.purchaseStatusUrl_ = purchaseStatusUrl_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.checkoutServiceId_ = checkoutServiceId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.checkoutTokenRequired_ = checkoutTokenRequired_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.baseCheckoutUrl_ = baseCheckoutUrl_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
tosCheckboxHtml_ = new com.google.protobuf.UnmodifiableLazyStringList(
tosCheckboxHtml_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.tosCheckboxHtml_ = tosCheckboxHtml_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000080;
}
result.iabPermissionError_ = iabPermissionError_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000100;
}
if (purchaseStatusResponseBuilder_ == null) {
result.purchaseStatusResponse_ = purchaseStatusResponse_;
} else {
result.purchaseStatusResponse_ = purchaseStatusResponseBuilder_.build();
}
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000200;
}
result.purchaseCookie_ = purchaseCookie_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000400;
}
if (challengeBuilder_ == null) {
result.challenge_ = challenge_;
} else {
result.challenge_ = challengeBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.getDefaultInstance()) return this;
if (other.hasPurchaseResponse()) {
mergePurchaseResponse(other.getPurchaseResponse());
}
if (other.hasCheckoutInfo()) {
mergeCheckoutInfo(other.getCheckoutInfo());
}
if (other.hasContinueViaUrl()) {
bitField0_ |= 0x00000004;
continueViaUrl_ = other.continueViaUrl_;
onChanged();
}
if (other.hasPurchaseStatusUrl()) {
bitField0_ |= 0x00000008;
purchaseStatusUrl_ = other.purchaseStatusUrl_;
onChanged();
}
if (other.hasCheckoutServiceId()) {
bitField0_ |= 0x00000010;
checkoutServiceId_ = other.checkoutServiceId_;
onChanged();
}
if (other.hasCheckoutTokenRequired()) {
setCheckoutTokenRequired(other.getCheckoutTokenRequired());
}
if (other.hasBaseCheckoutUrl()) {
bitField0_ |= 0x00000040;
baseCheckoutUrl_ = other.baseCheckoutUrl_;
onChanged();
}
if (!other.tosCheckboxHtml_.isEmpty()) {
if (tosCheckboxHtml_.isEmpty()) {
tosCheckboxHtml_ = other.tosCheckboxHtml_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureTosCheckboxHtmlIsMutable();
tosCheckboxHtml_.addAll(other.tosCheckboxHtml_);
}
onChanged();
}
if (other.hasIabPermissionError()) {
setIabPermissionError(other.getIabPermissionError());
}
if (other.hasPurchaseStatusResponse()) {
mergePurchaseStatusResponse(other.getPurchaseStatusResponse());
}
if (other.hasPurchaseCookie()) {
bitField0_ |= 0x00000400;
purchaseCookie_ = other.purchaseCookie_;
onChanged();
}
if (other.hasChallenge()) {
mergeChallenge(other.getChallenge());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .PurchaseNotificationResponse purchaseResponse = 1;
private com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse purchaseResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder> purchaseResponseBuilder_;
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public boolean hasPurchaseResponse() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse getPurchaseResponse() {
if (purchaseResponseBuilder_ == null) {
return purchaseResponse_;
} else {
return purchaseResponseBuilder_.getMessage();
}
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public Builder setPurchaseResponse(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse value) {
if (purchaseResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
purchaseResponse_ = value;
onChanged();
} else {
purchaseResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public Builder setPurchaseResponse(
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder builderForValue) {
if (purchaseResponseBuilder_ == null) {
purchaseResponse_ = builderForValue.build();
onChanged();
} else {
purchaseResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public Builder mergePurchaseResponse(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse value) {
if (purchaseResponseBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
purchaseResponse_ != com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance()) {
purchaseResponse_ =
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.newBuilder(purchaseResponse_).mergeFrom(value).buildPartial();
} else {
purchaseResponse_ = value;
}
onChanged();
} else {
purchaseResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public Builder clearPurchaseResponse() {
if (purchaseResponseBuilder_ == null) {
purchaseResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance();
onChanged();
} else {
purchaseResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder getPurchaseResponseBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPurchaseResponseFieldBuilder().getBuilder();
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder getPurchaseResponseOrBuilder() {
if (purchaseResponseBuilder_ != null) {
return purchaseResponseBuilder_.getMessageOrBuilder();
} else {
return purchaseResponse_;
}
}
/**
* optional .PurchaseNotificationResponse purchaseResponse = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder>
getPurchaseResponseFieldBuilder() {
if (purchaseResponseBuilder_ == null) {
purchaseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder>(
purchaseResponse_,
getParentForChildren(),
isClean());
purchaseResponse_ = null;
}
return purchaseResponseBuilder_;
}
// optional group CheckoutInfo = 2 {
private com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo checkoutInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder> checkoutInfoBuilder_;
/**
* optional group CheckoutInfo = 2 { ... }
*/
public boolean hasCheckoutInfo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo getCheckoutInfo() {
if (checkoutInfoBuilder_ == null) {
return checkoutInfo_;
} else {
return checkoutInfoBuilder_.getMessage();
}
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public Builder setCheckoutInfo(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo value) {
if (checkoutInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
checkoutInfo_ = value;
onChanged();
} else {
checkoutInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public Builder setCheckoutInfo(
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder builderForValue) {
if (checkoutInfoBuilder_ == null) {
checkoutInfo_ = builderForValue.build();
onChanged();
} else {
checkoutInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public Builder mergeCheckoutInfo(com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo value) {
if (checkoutInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
checkoutInfo_ != com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance()) {
checkoutInfo_ =
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.newBuilder(checkoutInfo_).mergeFrom(value).buildPartial();
} else {
checkoutInfo_ = value;
}
onChanged();
} else {
checkoutInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public Builder clearCheckoutInfo() {
if (checkoutInfoBuilder_ == null) {
checkoutInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.getDefaultInstance();
onChanged();
} else {
checkoutInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder getCheckoutInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCheckoutInfoFieldBuilder().getBuilder();
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
public com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder getCheckoutInfoOrBuilder() {
if (checkoutInfoBuilder_ != null) {
return checkoutInfoBuilder_.getMessageOrBuilder();
} else {
return checkoutInfo_;
}
}
/**
* optional group CheckoutInfo = 2 { ... }
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder>
getCheckoutInfoFieldBuilder() {
if (checkoutInfoBuilder_ == null) {
checkoutInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfo.Builder, com.akdeniz.googleplaycrawler.GooglePlay.BuyResponse.CheckoutInfoOrBuilder>(
checkoutInfo_,
getParentForChildren(),
isClean());
checkoutInfo_ = null;
}
return checkoutInfoBuilder_;
}
// optional string continueViaUrl = 8;
private java.lang.Object continueViaUrl_ = "";
/**
* optional string continueViaUrl = 8;
*/
public boolean hasContinueViaUrl() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string continueViaUrl = 8;
*/
public java.lang.String getContinueViaUrl() {
java.lang.Object ref = continueViaUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
continueViaUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string continueViaUrl = 8;
*/
public com.google.protobuf.ByteString
getContinueViaUrlBytes() {
java.lang.Object ref = continueViaUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
continueViaUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string continueViaUrl = 8;
*/
public Builder setContinueViaUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
continueViaUrl_ = value;
onChanged();
return this;
}
/**
* optional string continueViaUrl = 8;
*/
public Builder clearContinueViaUrl() {
bitField0_ = (bitField0_ & ~0x00000004);
continueViaUrl_ = getDefaultInstance().getContinueViaUrl();
onChanged();
return this;
}
/**
* optional string continueViaUrl = 8;
*/
public Builder setContinueViaUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
continueViaUrl_ = value;
onChanged();
return this;
}
// optional string purchaseStatusUrl = 9;
private java.lang.Object purchaseStatusUrl_ = "";
/**
* optional string purchaseStatusUrl = 9;
*/
public boolean hasPurchaseStatusUrl() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string purchaseStatusUrl = 9;
*/
public java.lang.String getPurchaseStatusUrl() {
java.lang.Object ref = purchaseStatusUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
purchaseStatusUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string purchaseStatusUrl = 9;
*/
public com.google.protobuf.ByteString
getPurchaseStatusUrlBytes() {
java.lang.Object ref = purchaseStatusUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseStatusUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string purchaseStatusUrl = 9;
*/
public Builder setPurchaseStatusUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
purchaseStatusUrl_ = value;
onChanged();
return this;
}
/**
* optional string purchaseStatusUrl = 9;
*/
public Builder clearPurchaseStatusUrl() {
bitField0_ = (bitField0_ & ~0x00000008);
purchaseStatusUrl_ = getDefaultInstance().getPurchaseStatusUrl();
onChanged();
return this;
}
/**
* optional string purchaseStatusUrl = 9;
*/
public Builder setPurchaseStatusUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
purchaseStatusUrl_ = value;
onChanged();
return this;
}
// optional string checkoutServiceId = 12;
private java.lang.Object checkoutServiceId_ = "";
/**
* optional string checkoutServiceId = 12;
*/
public boolean hasCheckoutServiceId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string checkoutServiceId = 12;
*/
public java.lang.String getCheckoutServiceId() {
java.lang.Object ref = checkoutServiceId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
checkoutServiceId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string checkoutServiceId = 12;
*/
public com.google.protobuf.ByteString
getCheckoutServiceIdBytes() {
java.lang.Object ref = checkoutServiceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checkoutServiceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string checkoutServiceId = 12;
*/
public Builder setCheckoutServiceId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
checkoutServiceId_ = value;
onChanged();
return this;
}
/**
* optional string checkoutServiceId = 12;
*/
public Builder clearCheckoutServiceId() {
bitField0_ = (bitField0_ & ~0x00000010);
checkoutServiceId_ = getDefaultInstance().getCheckoutServiceId();
onChanged();
return this;
}
/**
* optional string checkoutServiceId = 12;
*/
public Builder setCheckoutServiceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
checkoutServiceId_ = value;
onChanged();
return this;
}
// optional bool checkoutTokenRequired = 13;
private boolean checkoutTokenRequired_ ;
/**
* optional bool checkoutTokenRequired = 13;
*/
public boolean hasCheckoutTokenRequired() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool checkoutTokenRequired = 13;
*/
public boolean getCheckoutTokenRequired() {
return checkoutTokenRequired_;
}
/**
* optional bool checkoutTokenRequired = 13;
*/
public Builder setCheckoutTokenRequired(boolean value) {
bitField0_ |= 0x00000020;
checkoutTokenRequired_ = value;
onChanged();
return this;
}
/**
* optional bool checkoutTokenRequired = 13;
*/
public Builder clearCheckoutTokenRequired() {
bitField0_ = (bitField0_ & ~0x00000020);
checkoutTokenRequired_ = false;
onChanged();
return this;
}
// optional string baseCheckoutUrl = 14;
private java.lang.Object baseCheckoutUrl_ = "";
/**
* optional string baseCheckoutUrl = 14;
*/
public boolean hasBaseCheckoutUrl() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string baseCheckoutUrl = 14;
*/
public java.lang.String getBaseCheckoutUrl() {
java.lang.Object ref = baseCheckoutUrl_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
baseCheckoutUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string baseCheckoutUrl = 14;
*/
public com.google.protobuf.ByteString
getBaseCheckoutUrlBytes() {
java.lang.Object ref = baseCheckoutUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
baseCheckoutUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string baseCheckoutUrl = 14;
*/
public Builder setBaseCheckoutUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
baseCheckoutUrl_ = value;
onChanged();
return this;
}
/**
* optional string baseCheckoutUrl = 14;
*/
public Builder clearBaseCheckoutUrl() {
bitField0_ = (bitField0_ & ~0x00000040);
baseCheckoutUrl_ = getDefaultInstance().getBaseCheckoutUrl();
onChanged();
return this;
}
/**
* optional string baseCheckoutUrl = 14;
*/
public Builder setBaseCheckoutUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
baseCheckoutUrl_ = value;
onChanged();
return this;
}
// repeated string tosCheckboxHtml = 37;
private com.google.protobuf.LazyStringList tosCheckboxHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTosCheckboxHtmlIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
tosCheckboxHtml_ = new com.google.protobuf.LazyStringArrayList(tosCheckboxHtml_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public java.util.List
getTosCheckboxHtmlList() {
return java.util.Collections.unmodifiableList(tosCheckboxHtml_);
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public int getTosCheckboxHtmlCount() {
return tosCheckboxHtml_.size();
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public java.lang.String getTosCheckboxHtml(int index) {
return tosCheckboxHtml_.get(index);
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public com.google.protobuf.ByteString
getTosCheckboxHtmlBytes(int index) {
return tosCheckboxHtml_.getByteString(index);
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public Builder setTosCheckboxHtml(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTosCheckboxHtmlIsMutable();
tosCheckboxHtml_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public Builder addTosCheckboxHtml(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTosCheckboxHtmlIsMutable();
tosCheckboxHtml_.add(value);
onChanged();
return this;
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public Builder addAllTosCheckboxHtml(
java.lang.Iterable values) {
ensureTosCheckboxHtmlIsMutable();
super.addAll(values, tosCheckboxHtml_);
onChanged();
return this;
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public Builder clearTosCheckboxHtml() {
tosCheckboxHtml_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* repeated string tosCheckboxHtml = 37;
*/
public Builder addTosCheckboxHtmlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTosCheckboxHtmlIsMutable();
tosCheckboxHtml_.add(value);
onChanged();
return this;
}
// optional int32 iabPermissionError = 38;
private int iabPermissionError_ ;
/**
* optional int32 iabPermissionError = 38;
*/
public boolean hasIabPermissionError() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional int32 iabPermissionError = 38;
*/
public int getIabPermissionError() {
return iabPermissionError_;
}
/**
* optional int32 iabPermissionError = 38;
*/
public Builder setIabPermissionError(int value) {
bitField0_ |= 0x00000100;
iabPermissionError_ = value;
onChanged();
return this;
}
/**
* optional int32 iabPermissionError = 38;
*/
public Builder clearIabPermissionError() {
bitField0_ = (bitField0_ & ~0x00000100);
iabPermissionError_ = 0;
onChanged();
return this;
}
// optional .PurchaseStatusResponse purchaseStatusResponse = 39;
private com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse purchaseStatusResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponseOrBuilder> purchaseStatusResponseBuilder_;
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public boolean hasPurchaseStatusResponse() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse getPurchaseStatusResponse() {
if (purchaseStatusResponseBuilder_ == null) {
return purchaseStatusResponse_;
} else {
return purchaseStatusResponseBuilder_.getMessage();
}
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public Builder setPurchaseStatusResponse(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse value) {
if (purchaseStatusResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
purchaseStatusResponse_ = value;
onChanged();
} else {
purchaseStatusResponseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public Builder setPurchaseStatusResponse(
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder builderForValue) {
if (purchaseStatusResponseBuilder_ == null) {
purchaseStatusResponse_ = builderForValue.build();
onChanged();
} else {
purchaseStatusResponseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public Builder mergePurchaseStatusResponse(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse value) {
if (purchaseStatusResponseBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200) &&
purchaseStatusResponse_ != com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.getDefaultInstance()) {
purchaseStatusResponse_ =
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.newBuilder(purchaseStatusResponse_).mergeFrom(value).buildPartial();
} else {
purchaseStatusResponse_ = value;
}
onChanged();
} else {
purchaseStatusResponseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
return this;
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public Builder clearPurchaseStatusResponse() {
if (purchaseStatusResponseBuilder_ == null) {
purchaseStatusResponse_ = com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.getDefaultInstance();
onChanged();
} else {
purchaseStatusResponseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder getPurchaseStatusResponseBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getPurchaseStatusResponseFieldBuilder().getBuilder();
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponseOrBuilder getPurchaseStatusResponseOrBuilder() {
if (purchaseStatusResponseBuilder_ != null) {
return purchaseStatusResponseBuilder_.getMessageOrBuilder();
} else {
return purchaseStatusResponse_;
}
}
/**
* optional .PurchaseStatusResponse purchaseStatusResponse = 39;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponseOrBuilder>
getPurchaseStatusResponseFieldBuilder() {
if (purchaseStatusResponseBuilder_ == null) {
purchaseStatusResponseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponseOrBuilder>(
purchaseStatusResponse_,
getParentForChildren(),
isClean());
purchaseStatusResponse_ = null;
}
return purchaseStatusResponseBuilder_;
}
// optional string purchaseCookie = 46;
private java.lang.Object purchaseCookie_ = "";
/**
* optional string purchaseCookie = 46;
*/
public boolean hasPurchaseCookie() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional string purchaseCookie = 46;
*/
public java.lang.String getPurchaseCookie() {
java.lang.Object ref = purchaseCookie_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
purchaseCookie_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string purchaseCookie = 46;
*/
public com.google.protobuf.ByteString
getPurchaseCookieBytes() {
java.lang.Object ref = purchaseCookie_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseCookie_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string purchaseCookie = 46;
*/
public Builder setPurchaseCookie(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
purchaseCookie_ = value;
onChanged();
return this;
}
/**
* optional string purchaseCookie = 46;
*/
public Builder clearPurchaseCookie() {
bitField0_ = (bitField0_ & ~0x00000400);
purchaseCookie_ = getDefaultInstance().getPurchaseCookie();
onChanged();
return this;
}
/**
* optional string purchaseCookie = 46;
*/
public Builder setPurchaseCookieBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
purchaseCookie_ = value;
onChanged();
return this;
}
// optional .Challenge challenge = 49;
private com.akdeniz.googleplaycrawler.GooglePlay.Challenge challenge_ = com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Challenge, com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder> challengeBuilder_;
/**
* optional .Challenge challenge = 49;
*/
public boolean hasChallenge() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional .Challenge challenge = 49;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Challenge getChallenge() {
if (challengeBuilder_ == null) {
return challenge_;
} else {
return challengeBuilder_.getMessage();
}
}
/**
* optional .Challenge challenge = 49;
*/
public Builder setChallenge(com.akdeniz.googleplaycrawler.GooglePlay.Challenge value) {
if (challengeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
challenge_ = value;
onChanged();
} else {
challengeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .Challenge challenge = 49;
*/
public Builder setChallenge(
com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder builderForValue) {
if (challengeBuilder_ == null) {
challenge_ = builderForValue.build();
onChanged();
} else {
challengeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .Challenge challenge = 49;
*/
public Builder mergeChallenge(com.akdeniz.googleplaycrawler.GooglePlay.Challenge value) {
if (challengeBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800) &&
challenge_ != com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance()) {
challenge_ =
com.akdeniz.googleplaycrawler.GooglePlay.Challenge.newBuilder(challenge_).mergeFrom(value).buildPartial();
} else {
challenge_ = value;
}
onChanged();
} else {
challengeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000800;
return this;
}
/**
* optional .Challenge challenge = 49;
*/
public Builder clearChallenge() {
if (challengeBuilder_ == null) {
challenge_ = com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance();
onChanged();
} else {
challengeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
/**
* optional .Challenge challenge = 49;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder getChallengeBuilder() {
bitField0_ |= 0x00000800;
onChanged();
return getChallengeFieldBuilder().getBuilder();
}
/**
* optional .Challenge challenge = 49;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder getChallengeOrBuilder() {
if (challengeBuilder_ != null) {
return challengeBuilder_.getMessageOrBuilder();
} else {
return challenge_;
}
}
/**
* optional .Challenge challenge = 49;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Challenge, com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder>
getChallengeFieldBuilder() {
if (challengeBuilder_ == null) {
challengeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Challenge, com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder>(
challenge_,
getParentForChildren(),
isClean());
challenge_ = null;
}
return challengeBuilder_;
}
// @@protoc_insertion_point(builder_scope:BuyResponse)
}
static {
defaultInstance = new BuyResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:BuyResponse)
}
public interface DeliveryResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .AndroidAppDeliveryData appDeliveryData = 2;
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
boolean hasAppDeliveryData();
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData getAppDeliveryData();
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder getAppDeliveryDataOrBuilder();
}
/**
* Protobuf type {@code DeliveryResponse}
*/
public static final class DeliveryResponse extends
com.google.protobuf.GeneratedMessage
implements DeliveryResponseOrBuilder {
// Use DeliveryResponse.newBuilder() to construct.
private DeliveryResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private DeliveryResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final DeliveryResponse defaultInstance;
public static DeliveryResponse getDefaultInstance() {
return defaultInstance;
}
public DeliveryResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeliveryResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 18: {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = appDeliveryData_.toBuilder();
}
appDeliveryData_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(appDeliveryData_);
appDeliveryData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_DeliveryResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_DeliveryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public DeliveryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeliveryResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .AndroidAppDeliveryData appDeliveryData = 2;
public static final int APPDELIVERYDATA_FIELD_NUMBER = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData appDeliveryData_;
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public boolean hasAppDeliveryData() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData getAppDeliveryData() {
return appDeliveryData_;
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder getAppDeliveryDataOrBuilder() {
return appDeliveryData_;
}
private void initFields() {
appDeliveryData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(2, appDeliveryData_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, appDeliveryData_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code DeliveryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_DeliveryResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_DeliveryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAppDeliveryDataFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (appDeliveryDataBuilder_ == null) {
appDeliveryData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance();
} else {
appDeliveryDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_DeliveryResponse_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse build() {
com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse result = new com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (appDeliveryDataBuilder_ == null) {
result.appDeliveryData_ = appDeliveryData_;
} else {
result.appDeliveryData_ = appDeliveryDataBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse.getDefaultInstance()) return this;
if (other.hasAppDeliveryData()) {
mergeAppDeliveryData(other.getAppDeliveryData());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.DeliveryResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .AndroidAppDeliveryData appDeliveryData = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData appDeliveryData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder> appDeliveryDataBuilder_;
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public boolean hasAppDeliveryData() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData getAppDeliveryData() {
if (appDeliveryDataBuilder_ == null) {
return appDeliveryData_;
} else {
return appDeliveryDataBuilder_.getMessage();
}
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public Builder setAppDeliveryData(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData value) {
if (appDeliveryDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
appDeliveryData_ = value;
onChanged();
} else {
appDeliveryDataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public Builder setAppDeliveryData(
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder builderForValue) {
if (appDeliveryDataBuilder_ == null) {
appDeliveryData_ = builderForValue.build();
onChanged();
} else {
appDeliveryDataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public Builder mergeAppDeliveryData(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData value) {
if (appDeliveryDataBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
appDeliveryData_ != com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance()) {
appDeliveryData_ =
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.newBuilder(appDeliveryData_).mergeFrom(value).buildPartial();
} else {
appDeliveryData_ = value;
}
onChanged();
} else {
appDeliveryDataBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public Builder clearAppDeliveryData() {
if (appDeliveryDataBuilder_ == null) {
appDeliveryData_ = com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.getDefaultInstance();
onChanged();
} else {
appDeliveryDataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder getAppDeliveryDataBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getAppDeliveryDataFieldBuilder().getBuilder();
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder getAppDeliveryDataOrBuilder() {
if (appDeliveryDataBuilder_ != null) {
return appDeliveryDataBuilder_.getMessageOrBuilder();
} else {
return appDeliveryData_;
}
}
/**
* optional .AndroidAppDeliveryData appDeliveryData = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder>
getAppDeliveryDataFieldBuilder() {
if (appDeliveryDataBuilder_ == null) {
appDeliveryDataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder>(
appDeliveryData_,
getParentForChildren(),
isClean());
appDeliveryData_ = null;
}
return appDeliveryDataBuilder_;
}
// @@protoc_insertion_point(builder_scope:DeliveryResponse)
}
static {
defaultInstance = new DeliveryResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:DeliveryResponse)
}
public interface ChallengeOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .AddressChallenge addressChallenge = 1;
/**
* optional .AddressChallenge addressChallenge = 1;
*/
boolean hasAddressChallenge();
/**
* optional .AddressChallenge addressChallenge = 1;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge getAddressChallenge();
/**
* optional .AddressChallenge addressChallenge = 1;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder getAddressChallengeOrBuilder();
// optional .AuthenticationChallenge authenticationChallenge = 2;
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
boolean hasAuthenticationChallenge();
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge getAuthenticationChallenge();
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder getAuthenticationChallengeOrBuilder();
}
/**
* Protobuf type {@code Challenge}
*/
public static final class Challenge extends
com.google.protobuf.GeneratedMessage
implements ChallengeOrBuilder {
// Use Challenge.newBuilder() to construct.
private Challenge(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Challenge(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Challenge defaultInstance;
public static Challenge getDefaultInstance() {
return defaultInstance;
}
public Challenge getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Challenge(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = addressChallenge_.toBuilder();
}
addressChallenge_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(addressChallenge_);
addressChallenge_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = authenticationChallenge_.toBuilder();
}
authenticationChallenge_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(authenticationChallenge_);
authenticationChallenge_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Challenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Challenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.Challenge.class, com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Challenge parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Challenge(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .AddressChallenge addressChallenge = 1;
public static final int ADDRESSCHALLENGE_FIELD_NUMBER = 1;
private com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge addressChallenge_;
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public boolean hasAddressChallenge() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge getAddressChallenge() {
return addressChallenge_;
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder getAddressChallengeOrBuilder() {
return addressChallenge_;
}
// optional .AuthenticationChallenge authenticationChallenge = 2;
public static final int AUTHENTICATIONCHALLENGE_FIELD_NUMBER = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge authenticationChallenge_;
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public boolean hasAuthenticationChallenge() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge getAuthenticationChallenge() {
return authenticationChallenge_;
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder getAuthenticationChallengeOrBuilder() {
return authenticationChallenge_;
}
private void initFields() {
addressChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance();
authenticationChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, addressChallenge_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, authenticationChallenge_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, addressChallenge_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, authenticationChallenge_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Challenge parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.Challenge prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Challenge}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.ChallengeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Challenge_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Challenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.Challenge.class, com.akdeniz.googleplaycrawler.GooglePlay.Challenge.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.Challenge.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAddressChallengeFieldBuilder();
getAuthenticationChallengeFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (addressChallengeBuilder_ == null) {
addressChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance();
} else {
addressChallengeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (authenticationChallengeBuilder_ == null) {
authenticationChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance();
} else {
authenticationChallengeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Challenge_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.Challenge getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.Challenge build() {
com.akdeniz.googleplaycrawler.GooglePlay.Challenge result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.Challenge buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.Challenge result = new com.akdeniz.googleplaycrawler.GooglePlay.Challenge(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (addressChallengeBuilder_ == null) {
result.addressChallenge_ = addressChallenge_;
} else {
result.addressChallenge_ = addressChallengeBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (authenticationChallengeBuilder_ == null) {
result.authenticationChallenge_ = authenticationChallenge_;
} else {
result.authenticationChallenge_ = authenticationChallengeBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.Challenge) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.Challenge)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.Challenge other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.Challenge.getDefaultInstance()) return this;
if (other.hasAddressChallenge()) {
mergeAddressChallenge(other.getAddressChallenge());
}
if (other.hasAuthenticationChallenge()) {
mergeAuthenticationChallenge(other.getAuthenticationChallenge());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.Challenge parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.Challenge) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .AddressChallenge addressChallenge = 1;
private com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge addressChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder> addressChallengeBuilder_;
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public boolean hasAddressChallenge() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge getAddressChallenge() {
if (addressChallengeBuilder_ == null) {
return addressChallenge_;
} else {
return addressChallengeBuilder_.getMessage();
}
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public Builder setAddressChallenge(com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge value) {
if (addressChallengeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
addressChallenge_ = value;
onChanged();
} else {
addressChallengeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public Builder setAddressChallenge(
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder builderForValue) {
if (addressChallengeBuilder_ == null) {
addressChallenge_ = builderForValue.build();
onChanged();
} else {
addressChallengeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public Builder mergeAddressChallenge(com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge value) {
if (addressChallengeBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
addressChallenge_ != com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance()) {
addressChallenge_ =
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.newBuilder(addressChallenge_).mergeFrom(value).buildPartial();
} else {
addressChallenge_ = value;
}
onChanged();
} else {
addressChallengeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public Builder clearAddressChallenge() {
if (addressChallengeBuilder_ == null) {
addressChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.getDefaultInstance();
onChanged();
} else {
addressChallengeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder getAddressChallengeBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getAddressChallengeFieldBuilder().getBuilder();
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder getAddressChallengeOrBuilder() {
if (addressChallengeBuilder_ != null) {
return addressChallengeBuilder_.getMessageOrBuilder();
} else {
return addressChallenge_;
}
}
/**
* optional .AddressChallenge addressChallenge = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder>
getAddressChallengeFieldBuilder() {
if (addressChallengeBuilder_ == null) {
addressChallengeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AddressChallengeOrBuilder>(
addressChallenge_,
getParentForChildren(),
isClean());
addressChallenge_ = null;
}
return addressChallengeBuilder_;
}
// optional .AuthenticationChallenge authenticationChallenge = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge authenticationChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder> authenticationChallengeBuilder_;
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public boolean hasAuthenticationChallenge() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge getAuthenticationChallenge() {
if (authenticationChallengeBuilder_ == null) {
return authenticationChallenge_;
} else {
return authenticationChallengeBuilder_.getMessage();
}
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public Builder setAuthenticationChallenge(com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge value) {
if (authenticationChallengeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
authenticationChallenge_ = value;
onChanged();
} else {
authenticationChallengeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public Builder setAuthenticationChallenge(
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder builderForValue) {
if (authenticationChallengeBuilder_ == null) {
authenticationChallenge_ = builderForValue.build();
onChanged();
} else {
authenticationChallengeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public Builder mergeAuthenticationChallenge(com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge value) {
if (authenticationChallengeBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
authenticationChallenge_ != com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance()) {
authenticationChallenge_ =
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.newBuilder(authenticationChallenge_).mergeFrom(value).buildPartial();
} else {
authenticationChallenge_ = value;
}
onChanged();
} else {
authenticationChallengeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public Builder clearAuthenticationChallenge() {
if (authenticationChallengeBuilder_ == null) {
authenticationChallenge_ = com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.getDefaultInstance();
onChanged();
} else {
authenticationChallengeBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder getAuthenticationChallengeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getAuthenticationChallengeFieldBuilder().getBuilder();
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder getAuthenticationChallengeOrBuilder() {
if (authenticationChallengeBuilder_ != null) {
return authenticationChallengeBuilder_.getMessageOrBuilder();
} else {
return authenticationChallenge_;
}
}
/**
* optional .AuthenticationChallenge authenticationChallenge = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder>
getAuthenticationChallengeFieldBuilder() {
if (authenticationChallengeBuilder_ == null) {
authenticationChallengeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallenge.Builder, com.akdeniz.googleplaycrawler.GooglePlay.AuthenticationChallengeOrBuilder>(
authenticationChallenge_,
getParentForChildren(),
isClean());
authenticationChallenge_ = null;
}
return authenticationChallengeBuilder_;
}
// @@protoc_insertion_point(builder_scope:Challenge)
}
static {
defaultInstance = new Challenge(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Challenge)
}
public interface FormCheckboxOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string description = 1;
/**
* optional string description = 1;
*/
boolean hasDescription();
/**
* optional string description = 1;
*/
java.lang.String getDescription();
/**
* optional string description = 1;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
// optional bool checked = 2;
/**
* optional bool checked = 2;
*/
boolean hasChecked();
/**
* optional bool checked = 2;
*/
boolean getChecked();
// optional bool required = 3;
/**
* optional bool required = 3;
*/
boolean hasRequired();
/**
* optional bool required = 3;
*/
boolean getRequired();
}
/**
* Protobuf type {@code FormCheckbox}
*/
public static final class FormCheckbox extends
com.google.protobuf.GeneratedMessage
implements FormCheckboxOrBuilder {
// Use FormCheckbox.newBuilder() to construct.
private FormCheckbox(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private FormCheckbox(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final FormCheckbox defaultInstance;
public static FormCheckbox getDefaultInstance() {
return defaultInstance;
}
public FormCheckbox getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FormCheckbox(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
description_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
checked_ = input.readBool();
break;
}
case 24: {
bitField0_ |= 0x00000004;
required_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_FormCheckbox_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_FormCheckbox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.class, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public FormCheckbox parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FormCheckbox(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string description = 1;
public static final int DESCRIPTION_FIELD_NUMBER = 1;
private java.lang.Object description_;
/**
* optional string description = 1;
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string description = 1;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
description_ = s;
}
return s;
}
}
/**
* optional string description = 1;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bool checked = 2;
public static final int CHECKED_FIELD_NUMBER = 2;
private boolean checked_;
/**
* optional bool checked = 2;
*/
public boolean hasChecked() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool checked = 2;
*/
public boolean getChecked() {
return checked_;
}
// optional bool required = 3;
public static final int REQUIRED_FIELD_NUMBER = 3;
private boolean required_;
/**
* optional bool required = 3;
*/
public boolean hasRequired() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool required = 3;
*/
public boolean getRequired() {
return required_;
}
private void initFields() {
description_ = "";
checked_ = false;
required_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getDescriptionBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, checked_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, required_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getDescriptionBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, checked_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, required_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code FormCheckbox}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.FormCheckboxOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_FormCheckbox_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_FormCheckbox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.class, com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
description_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
checked_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
required_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_FormCheckbox_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox build() {
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox result = new com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.description_ = description_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.checked_ = checked_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.required_ = required_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox.getDefaultInstance()) return this;
if (other.hasDescription()) {
bitField0_ |= 0x00000001;
description_ = other.description_;
onChanged();
}
if (other.hasChecked()) {
setChecked(other.getChecked());
}
if (other.hasRequired()) {
setRequired(other.getRequired());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.FormCheckbox) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string description = 1;
private java.lang.Object description_ = "";
/**
* optional string description = 1;
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string description = 1;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string description = 1;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string description = 1;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
description_ = value;
onChanged();
return this;
}
/**
* optional string description = 1;
*/
public Builder clearDescription() {
bitField0_ = (bitField0_ & ~0x00000001);
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* optional string description = 1;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
description_ = value;
onChanged();
return this;
}
// optional bool checked = 2;
private boolean checked_ ;
/**
* optional bool checked = 2;
*/
public boolean hasChecked() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool checked = 2;
*/
public boolean getChecked() {
return checked_;
}
/**
* optional bool checked = 2;
*/
public Builder setChecked(boolean value) {
bitField0_ |= 0x00000002;
checked_ = value;
onChanged();
return this;
}
/**
* optional bool checked = 2;
*/
public Builder clearChecked() {
bitField0_ = (bitField0_ & ~0x00000002);
checked_ = false;
onChanged();
return this;
}
// optional bool required = 3;
private boolean required_ ;
/**
* optional bool required = 3;
*/
public boolean hasRequired() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool required = 3;
*/
public boolean getRequired() {
return required_;
}
/**
* optional bool required = 3;
*/
public Builder setRequired(boolean value) {
bitField0_ |= 0x00000004;
required_ = value;
onChanged();
return this;
}
/**
* optional bool required = 3;
*/
public Builder clearRequired() {
bitField0_ = (bitField0_ & ~0x00000004);
required_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:FormCheckbox)
}
static {
defaultInstance = new FormCheckbox(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:FormCheckbox)
}
public interface LineItemOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
// optional string description = 2;
/**
* optional string description = 2;
*/
boolean hasDescription();
/**
* optional string description = 2;
*/
java.lang.String getDescription();
/**
* optional string description = 2;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
// optional .Offer offer = 3;
/**
* optional .Offer offer = 3;
*/
boolean hasOffer();
/**
* optional .Offer offer = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Offer getOffer();
/**
* optional .Offer offer = 3;
*/
com.akdeniz.googleplaycrawler.GooglePlay.OfferOrBuilder getOfferOrBuilder();
// optional .Money amount = 4;
/**
* optional .Money amount = 4;
*/
boolean hasAmount();
/**
* optional .Money amount = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Money getAmount();
/**
* optional .Money amount = 4;
*/
com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder getAmountOrBuilder();
}
/**
* Protobuf type {@code LineItem}
*/
public static final class LineItem extends
com.google.protobuf.GeneratedMessage
implements LineItemOrBuilder {
// Use LineItem.newBuilder() to construct.
private LineItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private LineItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final LineItem defaultInstance;
public static LineItem getDefaultInstance() {
return defaultInstance;
}
public LineItem getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LineItem(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
description_ = input.readBytes();
break;
}
case 26: {
com.akdeniz.googleplaycrawler.GooglePlay.Offer.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = offer_.toBuilder();
}
offer_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Offer.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(offer_);
offer_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = amount_.toBuilder();
}
amount_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Money.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(amount_);
amount_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_LineItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_LineItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.class, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public LineItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LineItem(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string description = 2;
public static final int DESCRIPTION_FIELD_NUMBER = 2;
private java.lang.Object description_;
/**
* optional string description = 2;
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string description = 2;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
description_ = s;
}
return s;
}
}
/**
* optional string description = 2;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional .Offer offer = 3;
public static final int OFFER_FIELD_NUMBER = 3;
private com.akdeniz.googleplaycrawler.GooglePlay.Offer offer_;
/**
* optional .Offer offer = 3;
*/
public boolean hasOffer() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .Offer offer = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Offer getOffer() {
return offer_;
}
/**
* optional .Offer offer = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.OfferOrBuilder getOfferOrBuilder() {
return offer_;
}
// optional .Money amount = 4;
public static final int AMOUNT_FIELD_NUMBER = 4;
private com.akdeniz.googleplaycrawler.GooglePlay.Money amount_;
/**
* optional .Money amount = 4;
*/
public boolean hasAmount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .Money amount = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Money getAmount() {
return amount_;
}
/**
* optional .Money amount = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder getAmountOrBuilder() {
return amount_;
}
private void initFields() {
name_ = "";
description_ = "";
offer_ = com.akdeniz.googleplaycrawler.GooglePlay.Offer.getDefaultInstance();
amount_ = com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getDescriptionBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, offer_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, amount_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getDescriptionBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, offer_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, amount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.LineItem parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.LineItem prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code LineItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.LineItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_LineItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_LineItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.LineItem.class, com.akdeniz.googleplaycrawler.GooglePlay.LineItem.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.LineItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getOfferFieldBuilder();
getAmountFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
description_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (offerBuilder_ == null) {
offer_ = com.akdeniz.googleplaycrawler.GooglePlay.Offer.getDefaultInstance();
} else {
offerBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (amountBuilder_ == null) {
amount_ = com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance();
} else {
amountBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_LineItem_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem build() {
com.akdeniz.googleplaycrawler.GooglePlay.LineItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.LineItem buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.LineItem result = new com.akdeniz.googleplaycrawler.GooglePlay.LineItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.description_ = description_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (offerBuilder_ == null) {
result.offer_ = offer_;
} else {
result.offer_ = offerBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (amountBuilder_ == null) {
result.amount_ = amount_;
} else {
result.amount_ = amountBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.LineItem) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.LineItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.LineItem other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.LineItem.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasDescription()) {
bitField0_ |= 0x00000002;
description_ = other.description_;
onChanged();
}
if (other.hasOffer()) {
mergeOffer(other.getOffer());
}
if (other.hasAmount()) {
mergeAmount(other.getAmount());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.LineItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.LineItem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional string description = 2;
private java.lang.Object description_ = "";
/**
* optional string description = 2;
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string description = 2;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string description = 2;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string description = 2;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
description_ = value;
onChanged();
return this;
}
/**
* optional string description = 2;
*/
public Builder clearDescription() {
bitField0_ = (bitField0_ & ~0x00000002);
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* optional string description = 2;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
description_ = value;
onChanged();
return this;
}
// optional .Offer offer = 3;
private com.akdeniz.googleplaycrawler.GooglePlay.Offer offer_ = com.akdeniz.googleplaycrawler.GooglePlay.Offer.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Offer, com.akdeniz.googleplaycrawler.GooglePlay.Offer.Builder, com.akdeniz.googleplaycrawler.GooglePlay.OfferOrBuilder> offerBuilder_;
/**
* optional .Offer offer = 3;
*/
public boolean hasOffer() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .Offer offer = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Offer getOffer() {
if (offerBuilder_ == null) {
return offer_;
} else {
return offerBuilder_.getMessage();
}
}
/**
* optional .Offer offer = 3;
*/
public Builder setOffer(com.akdeniz.googleplaycrawler.GooglePlay.Offer value) {
if (offerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
offer_ = value;
onChanged();
} else {
offerBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Offer offer = 3;
*/
public Builder setOffer(
com.akdeniz.googleplaycrawler.GooglePlay.Offer.Builder builderForValue) {
if (offerBuilder_ == null) {
offer_ = builderForValue.build();
onChanged();
} else {
offerBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Offer offer = 3;
*/
public Builder mergeOffer(com.akdeniz.googleplaycrawler.GooglePlay.Offer value) {
if (offerBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
offer_ != com.akdeniz.googleplaycrawler.GooglePlay.Offer.getDefaultInstance()) {
offer_ =
com.akdeniz.googleplaycrawler.GooglePlay.Offer.newBuilder(offer_).mergeFrom(value).buildPartial();
} else {
offer_ = value;
}
onChanged();
} else {
offerBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .Offer offer = 3;
*/
public Builder clearOffer() {
if (offerBuilder_ == null) {
offer_ = com.akdeniz.googleplaycrawler.GooglePlay.Offer.getDefaultInstance();
onChanged();
} else {
offerBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .Offer offer = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Offer.Builder getOfferBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOfferFieldBuilder().getBuilder();
}
/**
* optional .Offer offer = 3;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.OfferOrBuilder getOfferOrBuilder() {
if (offerBuilder_ != null) {
return offerBuilder_.getMessageOrBuilder();
} else {
return offer_;
}
}
/**
* optional .Offer offer = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Offer, com.akdeniz.googleplaycrawler.GooglePlay.Offer.Builder, com.akdeniz.googleplaycrawler.GooglePlay.OfferOrBuilder>
getOfferFieldBuilder() {
if (offerBuilder_ == null) {
offerBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Offer, com.akdeniz.googleplaycrawler.GooglePlay.Offer.Builder, com.akdeniz.googleplaycrawler.GooglePlay.OfferOrBuilder>(
offer_,
getParentForChildren(),
isClean());
offer_ = null;
}
return offerBuilder_;
}
// optional .Money amount = 4;
private com.akdeniz.googleplaycrawler.GooglePlay.Money amount_ = com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Money, com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder, com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder> amountBuilder_;
/**
* optional .Money amount = 4;
*/
public boolean hasAmount() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .Money amount = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Money getAmount() {
if (amountBuilder_ == null) {
return amount_;
} else {
return amountBuilder_.getMessage();
}
}
/**
* optional .Money amount = 4;
*/
public Builder setAmount(com.akdeniz.googleplaycrawler.GooglePlay.Money value) {
if (amountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
amount_ = value;
onChanged();
} else {
amountBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Money amount = 4;
*/
public Builder setAmount(
com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder builderForValue) {
if (amountBuilder_ == null) {
amount_ = builderForValue.build();
onChanged();
} else {
amountBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Money amount = 4;
*/
public Builder mergeAmount(com.akdeniz.googleplaycrawler.GooglePlay.Money value) {
if (amountBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
amount_ != com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance()) {
amount_ =
com.akdeniz.googleplaycrawler.GooglePlay.Money.newBuilder(amount_).mergeFrom(value).buildPartial();
} else {
amount_ = value;
}
onChanged();
} else {
amountBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .Money amount = 4;
*/
public Builder clearAmount() {
if (amountBuilder_ == null) {
amount_ = com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance();
onChanged();
} else {
amountBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .Money amount = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder getAmountBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getAmountFieldBuilder().getBuilder();
}
/**
* optional .Money amount = 4;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder getAmountOrBuilder() {
if (amountBuilder_ != null) {
return amountBuilder_.getMessageOrBuilder();
} else {
return amount_;
}
}
/**
* optional .Money amount = 4;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Money, com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder, com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder>
getAmountFieldBuilder() {
if (amountBuilder_ == null) {
amountBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.Money, com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder, com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder>(
amount_,
getParentForChildren(),
isClean());
amount_ = null;
}
return amountBuilder_;
}
// @@protoc_insertion_point(builder_scope:LineItem)
}
static {
defaultInstance = new LineItem(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:LineItem)
}
public interface MoneyOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int64 micros = 1;
/**
* optional int64 micros = 1;
*/
boolean hasMicros();
/**
* optional int64 micros = 1;
*/
long getMicros();
// optional string currencyCode = 2;
/**
* optional string currencyCode = 2;
*/
boolean hasCurrencyCode();
/**
* optional string currencyCode = 2;
*/
java.lang.String getCurrencyCode();
/**
* optional string currencyCode = 2;
*/
com.google.protobuf.ByteString
getCurrencyCodeBytes();
// optional string formattedAmount = 3;
/**
* optional string formattedAmount = 3;
*/
boolean hasFormattedAmount();
/**
* optional string formattedAmount = 3;
*/
java.lang.String getFormattedAmount();
/**
* optional string formattedAmount = 3;
*/
com.google.protobuf.ByteString
getFormattedAmountBytes();
}
/**
* Protobuf type {@code Money}
*/
public static final class Money extends
com.google.protobuf.GeneratedMessage
implements MoneyOrBuilder {
// Use Money.newBuilder() to construct.
private Money(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Money(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Money defaultInstance;
public static Money getDefaultInstance() {
return defaultInstance;
}
public Money getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Money(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
micros_ = input.readInt64();
break;
}
case 18: {
bitField0_ |= 0x00000002;
currencyCode_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
formattedAmount_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Money_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Money_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.Money.class, com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Money parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Money(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int64 micros = 1;
public static final int MICROS_FIELD_NUMBER = 1;
private long micros_;
/**
* optional int64 micros = 1;
*/
public boolean hasMicros() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 micros = 1;
*/
public long getMicros() {
return micros_;
}
// optional string currencyCode = 2;
public static final int CURRENCYCODE_FIELD_NUMBER = 2;
private java.lang.Object currencyCode_;
/**
* optional string currencyCode = 2;
*/
public boolean hasCurrencyCode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string currencyCode = 2;
*/
public java.lang.String getCurrencyCode() {
java.lang.Object ref = currencyCode_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
currencyCode_ = s;
}
return s;
}
}
/**
* optional string currencyCode = 2;
*/
public com.google.protobuf.ByteString
getCurrencyCodeBytes() {
java.lang.Object ref = currencyCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
currencyCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string formattedAmount = 3;
public static final int FORMATTEDAMOUNT_FIELD_NUMBER = 3;
private java.lang.Object formattedAmount_;
/**
* optional string formattedAmount = 3;
*/
public boolean hasFormattedAmount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string formattedAmount = 3;
*/
public java.lang.String getFormattedAmount() {
java.lang.Object ref = formattedAmount_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
formattedAmount_ = s;
}
return s;
}
}
/**
* optional string formattedAmount = 3;
*/
public com.google.protobuf.ByteString
getFormattedAmountBytes() {
java.lang.Object ref = formattedAmount_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formattedAmount_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
micros_ = 0L;
currencyCode_ = "";
formattedAmount_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, micros_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getCurrencyCodeBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getFormattedAmountBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, micros_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getCurrencyCodeBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getFormattedAmountBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.Money parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.Money prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Money}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.MoneyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Money_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Money_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.Money.class, com.akdeniz.googleplaycrawler.GooglePlay.Money.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.Money.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
micros_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
currencyCode_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
formattedAmount_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_Money_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.Money getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.Money build() {
com.akdeniz.googleplaycrawler.GooglePlay.Money result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.Money buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.Money result = new com.akdeniz.googleplaycrawler.GooglePlay.Money(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.micros_ = micros_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.currencyCode_ = currencyCode_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.formattedAmount_ = formattedAmount_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.Money) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.Money)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.Money other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.Money.getDefaultInstance()) return this;
if (other.hasMicros()) {
setMicros(other.getMicros());
}
if (other.hasCurrencyCode()) {
bitField0_ |= 0x00000002;
currencyCode_ = other.currencyCode_;
onChanged();
}
if (other.hasFormattedAmount()) {
bitField0_ |= 0x00000004;
formattedAmount_ = other.formattedAmount_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.Money parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.Money) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int64 micros = 1;
private long micros_ ;
/**
* optional int64 micros = 1;
*/
public boolean hasMicros() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 micros = 1;
*/
public long getMicros() {
return micros_;
}
/**
* optional int64 micros = 1;
*/
public Builder setMicros(long value) {
bitField0_ |= 0x00000001;
micros_ = value;
onChanged();
return this;
}
/**
* optional int64 micros = 1;
*/
public Builder clearMicros() {
bitField0_ = (bitField0_ & ~0x00000001);
micros_ = 0L;
onChanged();
return this;
}
// optional string currencyCode = 2;
private java.lang.Object currencyCode_ = "";
/**
* optional string currencyCode = 2;
*/
public boolean hasCurrencyCode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string currencyCode = 2;
*/
public java.lang.String getCurrencyCode() {
java.lang.Object ref = currencyCode_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
currencyCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string currencyCode = 2;
*/
public com.google.protobuf.ByteString
getCurrencyCodeBytes() {
java.lang.Object ref = currencyCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
currencyCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string currencyCode = 2;
*/
public Builder setCurrencyCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
currencyCode_ = value;
onChanged();
return this;
}
/**
* optional string currencyCode = 2;
*/
public Builder clearCurrencyCode() {
bitField0_ = (bitField0_ & ~0x00000002);
currencyCode_ = getDefaultInstance().getCurrencyCode();
onChanged();
return this;
}
/**
* optional string currencyCode = 2;
*/
public Builder setCurrencyCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
currencyCode_ = value;
onChanged();
return this;
}
// optional string formattedAmount = 3;
private java.lang.Object formattedAmount_ = "";
/**
* optional string formattedAmount = 3;
*/
public boolean hasFormattedAmount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string formattedAmount = 3;
*/
public java.lang.String getFormattedAmount() {
java.lang.Object ref = formattedAmount_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
formattedAmount_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string formattedAmount = 3;
*/
public com.google.protobuf.ByteString
getFormattedAmountBytes() {
java.lang.Object ref = formattedAmount_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formattedAmount_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string formattedAmount = 3;
*/
public Builder setFormattedAmount(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
formattedAmount_ = value;
onChanged();
return this;
}
/**
* optional string formattedAmount = 3;
*/
public Builder clearFormattedAmount() {
bitField0_ = (bitField0_ & ~0x00000004);
formattedAmount_ = getDefaultInstance().getFormattedAmount();
onChanged();
return this;
}
/**
* optional string formattedAmount = 3;
*/
public Builder setFormattedAmountBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
formattedAmount_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:Money)
}
static {
defaultInstance = new Money(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Money)
}
public interface PurchaseNotificationResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 status = 1;
/**
* optional int32 status = 1;
*/
boolean hasStatus();
/**
* optional int32 status = 1;
*/
int getStatus();
// optional .DebugInfo debugInfo = 2;
/**
* optional .DebugInfo debugInfo = 2;
*/
boolean hasDebugInfo();
/**
* optional .DebugInfo debugInfo = 2;
*/
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo getDebugInfo();
/**
* optional .DebugInfo debugInfo = 2;
*/
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfoOrBuilder getDebugInfoOrBuilder();
// optional string localizedErrorMessage = 3;
/**
* optional string localizedErrorMessage = 3;
*/
boolean hasLocalizedErrorMessage();
/**
* optional string localizedErrorMessage = 3;
*/
java.lang.String getLocalizedErrorMessage();
/**
* optional string localizedErrorMessage = 3;
*/
com.google.protobuf.ByteString
getLocalizedErrorMessageBytes();
// optional string purchaseId = 4;
/**
* optional string purchaseId = 4;
*/
boolean hasPurchaseId();
/**
* optional string purchaseId = 4;
*/
java.lang.String getPurchaseId();
/**
* optional string purchaseId = 4;
*/
com.google.protobuf.ByteString
getPurchaseIdBytes();
}
/**
* Protobuf type {@code PurchaseNotificationResponse}
*/
public static final class PurchaseNotificationResponse extends
com.google.protobuf.GeneratedMessage
implements PurchaseNotificationResponseOrBuilder {
// Use PurchaseNotificationResponse.newBuilder() to construct.
private PurchaseNotificationResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PurchaseNotificationResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PurchaseNotificationResponse defaultInstance;
public static PurchaseNotificationResponse getDefaultInstance() {
return defaultInstance;
}
public PurchaseNotificationResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PurchaseNotificationResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
status_ = input.readInt32();
break;
}
case 18: {
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = debugInfo_.toBuilder();
}
debugInfo_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(debugInfo_);
debugInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
bitField0_ |= 0x00000004;
localizedErrorMessage_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
purchaseId_ = input.readBytes();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseNotificationResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseNotificationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PurchaseNotificationResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PurchaseNotificationResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 status = 1;
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
* optional int32 status = 1;
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 status = 1;
*/
public int getStatus() {
return status_;
}
// optional .DebugInfo debugInfo = 2;
public static final int DEBUGINFO_FIELD_NUMBER = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo debugInfo_;
/**
* optional .DebugInfo debugInfo = 2;
*/
public boolean hasDebugInfo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo getDebugInfo() {
return debugInfo_;
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DebugInfoOrBuilder getDebugInfoOrBuilder() {
return debugInfo_;
}
// optional string localizedErrorMessage = 3;
public static final int LOCALIZEDERRORMESSAGE_FIELD_NUMBER = 3;
private java.lang.Object localizedErrorMessage_;
/**
* optional string localizedErrorMessage = 3;
*/
public boolean hasLocalizedErrorMessage() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string localizedErrorMessage = 3;
*/
public java.lang.String getLocalizedErrorMessage() {
java.lang.Object ref = localizedErrorMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
localizedErrorMessage_ = s;
}
return s;
}
}
/**
* optional string localizedErrorMessage = 3;
*/
public com.google.protobuf.ByteString
getLocalizedErrorMessageBytes() {
java.lang.Object ref = localizedErrorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
localizedErrorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string purchaseId = 4;
public static final int PURCHASEID_FIELD_NUMBER = 4;
private java.lang.Object purchaseId_;
/**
* optional string purchaseId = 4;
*/
public boolean hasPurchaseId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string purchaseId = 4;
*/
public java.lang.String getPurchaseId() {
java.lang.Object ref = purchaseId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
purchaseId_ = s;
}
return s;
}
}
/**
* optional string purchaseId = 4;
*/
public com.google.protobuf.ByteString
getPurchaseIdBytes() {
java.lang.Object ref = purchaseId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
status_ = 0;
debugInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.getDefaultInstance();
localizedErrorMessage_ = "";
purchaseId_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, status_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, debugInfo_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getLocalizedErrorMessageBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getPurchaseIdBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, status_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, debugInfo_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getLocalizedErrorMessageBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getPurchaseIdBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code PurchaseNotificationResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseNotificationResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseNotificationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.Builder.class);
}
// Construct using com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getDebugInfoFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
status_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (debugInfoBuilder_ == null) {
debugInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.getDefaultInstance();
} else {
debugInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
localizedErrorMessage_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
purchaseId_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseNotificationResponse_descriptor;
}
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse getDefaultInstanceForType() {
return com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance();
}
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse build() {
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse buildPartial() {
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse result = new com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.status_ = status_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (debugInfoBuilder_ == null) {
result.debugInfo_ = debugInfo_;
} else {
result.debugInfo_ = debugInfoBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.localizedErrorMessage_ = localizedErrorMessage_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.purchaseId_ = purchaseId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse) {
return mergeFrom((com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse other) {
if (other == com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasDebugInfo()) {
mergeDebugInfo(other.getDebugInfo());
}
if (other.hasLocalizedErrorMessage()) {
bitField0_ |= 0x00000004;
localizedErrorMessage_ = other.localizedErrorMessage_;
onChanged();
}
if (other.hasPurchaseId()) {
bitField0_ |= 0x00000008;
purchaseId_ = other.purchaseId_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akdeniz.googleplaycrawler.GooglePlay.PurchaseNotificationResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 status = 1;
private int status_ ;
/**
* optional int32 status = 1;
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 status = 1;
*/
public int getStatus() {
return status_;
}
/**
* optional int32 status = 1;
*/
public Builder setStatus(int value) {
bitField0_ |= 0x00000001;
status_ = value;
onChanged();
return this;
}
/**
* optional int32 status = 1;
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = 0;
onChanged();
return this;
}
// optional .DebugInfo debugInfo = 2;
private com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo debugInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo, com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.Builder, com.akdeniz.googleplaycrawler.GooglePlay.DebugInfoOrBuilder> debugInfoBuilder_;
/**
* optional .DebugInfo debugInfo = 2;
*/
public boolean hasDebugInfo() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo getDebugInfo() {
if (debugInfoBuilder_ == null) {
return debugInfo_;
} else {
return debugInfoBuilder_.getMessage();
}
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public Builder setDebugInfo(com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo value) {
if (debugInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
debugInfo_ = value;
onChanged();
} else {
debugInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public Builder setDebugInfo(
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.Builder builderForValue) {
if (debugInfoBuilder_ == null) {
debugInfo_ = builderForValue.build();
onChanged();
} else {
debugInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public Builder mergeDebugInfo(com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo value) {
if (debugInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
debugInfo_ != com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.getDefaultInstance()) {
debugInfo_ =
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.newBuilder(debugInfo_).mergeFrom(value).buildPartial();
} else {
debugInfo_ = value;
}
onChanged();
} else {
debugInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public Builder clearDebugInfo() {
if (debugInfoBuilder_ == null) {
debugInfo_ = com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.getDefaultInstance();
onChanged();
} else {
debugInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.Builder getDebugInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getDebugInfoFieldBuilder().getBuilder();
}
/**
* optional .DebugInfo debugInfo = 2;
*/
public com.akdeniz.googleplaycrawler.GooglePlay.DebugInfoOrBuilder getDebugInfoOrBuilder() {
if (debugInfoBuilder_ != null) {
return debugInfoBuilder_.getMessageOrBuilder();
} else {
return debugInfo_;
}
}
/**
* optional .DebugInfo debugInfo = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo, com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.Builder, com.akdeniz.googleplaycrawler.GooglePlay.DebugInfoOrBuilder>
getDebugInfoFieldBuilder() {
if (debugInfoBuilder_ == null) {
debugInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo, com.akdeniz.googleplaycrawler.GooglePlay.DebugInfo.Builder, com.akdeniz.googleplaycrawler.GooglePlay.DebugInfoOrBuilder>(
debugInfo_,
getParentForChildren(),
isClean());
debugInfo_ = null;
}
return debugInfoBuilder_;
}
// optional string localizedErrorMessage = 3;
private java.lang.Object localizedErrorMessage_ = "";
/**
* optional string localizedErrorMessage = 3;
*/
public boolean hasLocalizedErrorMessage() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string localizedErrorMessage = 3;
*/
public java.lang.String getLocalizedErrorMessage() {
java.lang.Object ref = localizedErrorMessage_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
localizedErrorMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string localizedErrorMessage = 3;
*/
public com.google.protobuf.ByteString
getLocalizedErrorMessageBytes() {
java.lang.Object ref = localizedErrorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
localizedErrorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string localizedErrorMessage = 3;
*/
public Builder setLocalizedErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
localizedErrorMessage_ = value;
onChanged();
return this;
}
/**
* optional string localizedErrorMessage = 3;
*/
public Builder clearLocalizedErrorMessage() {
bitField0_ = (bitField0_ & ~0x00000004);
localizedErrorMessage_ = getDefaultInstance().getLocalizedErrorMessage();
onChanged();
return this;
}
/**
* optional string localizedErrorMessage = 3;
*/
public Builder setLocalizedErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
localizedErrorMessage_ = value;
onChanged();
return this;
}
// optional string purchaseId = 4;
private java.lang.Object purchaseId_ = "";
/**
* optional string purchaseId = 4;
*/
public boolean hasPurchaseId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string purchaseId = 4;
*/
public java.lang.String getPurchaseId() {
java.lang.Object ref = purchaseId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
purchaseId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string purchaseId = 4;
*/
public com.google.protobuf.ByteString
getPurchaseIdBytes() {
java.lang.Object ref = purchaseId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
purchaseId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string purchaseId = 4;
*/
public Builder setPurchaseId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
purchaseId_ = value;
onChanged();
return this;
}
/**
* optional string purchaseId = 4;
*/
public Builder clearPurchaseId() {
bitField0_ = (bitField0_ & ~0x00000008);
purchaseId_ = getDefaultInstance().getPurchaseId();
onChanged();
return this;
}
/**
* optional string purchaseId = 4;
*/
public Builder setPurchaseIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
purchaseId_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PurchaseNotificationResponse)
}
static {
defaultInstance = new PurchaseNotificationResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PurchaseNotificationResponse)
}
public interface PurchaseStatusResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 status = 1;
/**
* optional int32 status = 1;
*/
boolean hasStatus();
/**
* optional int32 status = 1;
*/
int getStatus();
// optional string statusMsg = 2;
/**
* optional string statusMsg = 2;
*/
boolean hasStatusMsg();
/**
* optional string statusMsg = 2;
*/
java.lang.String getStatusMsg();
/**
* optional string statusMsg = 2;
*/
com.google.protobuf.ByteString
getStatusMsgBytes();
// optional string statusTitle = 3;
/**
* optional string statusTitle = 3;
*/
boolean hasStatusTitle();
/**
* optional string statusTitle = 3;
*/
java.lang.String getStatusTitle();
/**
* optional string statusTitle = 3;
*/
com.google.protobuf.ByteString
getStatusTitleBytes();
// optional string briefMessage = 4;
/**
* optional string briefMessage = 4;
*/
boolean hasBriefMessage();
/**
* optional string briefMessage = 4;
*/
java.lang.String getBriefMessage();
/**
* optional string briefMessage = 4;
*/
com.google.protobuf.ByteString
getBriefMessageBytes();
// optional string infoUrl = 5;
/**
* optional string infoUrl = 5;
*/
boolean hasInfoUrl();
/**
* optional string infoUrl = 5;
*/
java.lang.String getInfoUrl();
/**
* optional string infoUrl = 5;
*/
com.google.protobuf.ByteString
getInfoUrlBytes();
// optional .LibraryUpdate libraryUpdate = 6;
/**
* optional .LibraryUpdate libraryUpdate = 6;
*/
boolean hasLibraryUpdate();
/**
* optional .LibraryUpdate libraryUpdate = 6;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LibraryUpdate getLibraryUpdate();
/**
* optional .LibraryUpdate libraryUpdate = 6;
*/
com.akdeniz.googleplaycrawler.GooglePlay.LibraryUpdateOrBuilder getLibraryUpdateOrBuilder();
// optional .Instrument rejectedInstrument = 7;
/**
* optional .Instrument rejectedInstrument = 7;
*/
boolean hasRejectedInstrument();
/**
* optional .Instrument rejectedInstrument = 7;
*/
com.akdeniz.googleplaycrawler.GooglePlay.Instrument getRejectedInstrument();
/**
* optional .Instrument rejectedInstrument = 7;
*/
com.akdeniz.googleplaycrawler.GooglePlay.InstrumentOrBuilder getRejectedInstrumentOrBuilder();
// optional .AndroidAppDeliveryData appDeliveryData = 8;
/**
* optional .AndroidAppDeliveryData appDeliveryData = 8;
*/
boolean hasAppDeliveryData();
/**
* optional .AndroidAppDeliveryData appDeliveryData = 8;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData getAppDeliveryData();
/**
* optional .AndroidAppDeliveryData appDeliveryData = 8;
*/
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryDataOrBuilder getAppDeliveryDataOrBuilder();
}
/**
* Protobuf type {@code PurchaseStatusResponse}
*/
public static final class PurchaseStatusResponse extends
com.google.protobuf.GeneratedMessage
implements PurchaseStatusResponseOrBuilder {
// Use PurchaseStatusResponse.newBuilder() to construct.
private PurchaseStatusResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PurchaseStatusResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PurchaseStatusResponse defaultInstance;
public static PurchaseStatusResponse getDefaultInstance() {
return defaultInstance;
}
public PurchaseStatusResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PurchaseStatusResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
status_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
statusMsg_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
statusTitle_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
briefMessage_ = input.readBytes();
break;
}
case 42: {
bitField0_ |= 0x00000010;
infoUrl_ = input.readBytes();
break;
}
case 50: {
com.akdeniz.googleplaycrawler.GooglePlay.LibraryUpdate.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = libraryUpdate_.toBuilder();
}
libraryUpdate_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.LibraryUpdate.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(libraryUpdate_);
libraryUpdate_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 58: {
com.akdeniz.googleplaycrawler.GooglePlay.Instrument.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = rejectedInstrument_.toBuilder();
}
rejectedInstrument_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.Instrument.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(rejectedInstrument_);
rejectedInstrument_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 66: {
com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = appDeliveryData_.toBuilder();
}
appDeliveryData_ = input.readMessage(com.akdeniz.googleplaycrawler.GooglePlay.AndroidAppDeliveryData.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(appDeliveryData_);
appDeliveryData_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseStatusResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akdeniz.googleplaycrawler.GooglePlay.internal_static_PurchaseStatusResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.class, com.akdeniz.googleplaycrawler.GooglePlay.PurchaseStatusResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PurchaseStatusResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PurchaseStatusResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser