POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Requests/Messages/GetAssetDigestMessage.proto
package POGOProtos.Networking.Requests.Messages;
public final class GetAssetDigestMessageOuterClass {
private GetAssetDigestMessageOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface GetAssetDigestMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage)
com.google.protobuf.MessageOrBuilder {
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
int getPlatformValue();
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
POGOProtos.Enums.PlatformOuterClass.Platform getPlatform();
/**
* string device_manufacturer = 2;
*/
java.lang.String getDeviceManufacturer();
/**
* string device_manufacturer = 2;
*/
com.google.protobuf.ByteString
getDeviceManufacturerBytes();
/**
* string device_model = 3;
*/
java.lang.String getDeviceModel();
/**
* string device_model = 3;
*/
com.google.protobuf.ByteString
getDeviceModelBytes();
/**
* string locale = 4;
*/
java.lang.String getLocale();
/**
* string locale = 4;
*/
com.google.protobuf.ByteString
getLocaleBytes();
/**
* uint32 app_version = 5;
*/
int getAppVersion();
/**
* bool paginate = 6;
*/
boolean getPaginate();
/**
* int32 page_offset = 7;
*/
int getPageOffset();
/**
* uint64 page_timestamp = 8;
*/
long getPageTimestamp();
}
/**
* Protobuf type {@code POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage}
*/
public static final class GetAssetDigestMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage)
GetAssetDigestMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAssetDigestMessage.newBuilder() to construct.
private GetAssetDigestMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAssetDigestMessage() {
platform_ = 0;
deviceManufacturer_ = "";
deviceModel_ = "";
locale_ = "";
appVersion_ = 0;
paginate_ = false;
pageOffset_ = 0;
pageTimestamp_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAssetDigestMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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;
case 8: {
int rawValue = input.readEnum();
platform_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
deviceManufacturer_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
deviceModel_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
locale_ = s;
break;
}
case 40: {
appVersion_ = input.readUInt32();
break;
}
case 48: {
paginate_ = input.readBool();
break;
}
case 56: {
pageOffset_ = input.readInt32();
break;
}
case 64: {
pageTimestamp_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.class, POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.Builder.class);
}
public static final int PLATFORM_FIELD_NUMBER = 1;
private int platform_;
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public int getPlatformValue() {
return platform_;
}
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public POGOProtos.Enums.PlatformOuterClass.Platform getPlatform() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PlatformOuterClass.Platform result = POGOProtos.Enums.PlatformOuterClass.Platform.valueOf(platform_);
return result == null ? POGOProtos.Enums.PlatformOuterClass.Platform.UNRECOGNIZED : result;
}
public static final int DEVICE_MANUFACTURER_FIELD_NUMBER = 2;
private volatile java.lang.Object deviceManufacturer_;
/**
* string device_manufacturer = 2;
*/
public java.lang.String getDeviceManufacturer() {
java.lang.Object ref = deviceManufacturer_;
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();
deviceManufacturer_ = s;
return s;
}
}
/**
* string device_manufacturer = 2;
*/
public com.google.protobuf.ByteString
getDeviceManufacturerBytes() {
java.lang.Object ref = deviceManufacturer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceManufacturer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEVICE_MODEL_FIELD_NUMBER = 3;
private volatile java.lang.Object deviceModel_;
/**
* string device_model = 3;
*/
public java.lang.String getDeviceModel() {
java.lang.Object ref = deviceModel_;
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();
deviceModel_ = s;
return s;
}
}
/**
* string device_model = 3;
*/
public com.google.protobuf.ByteString
getDeviceModelBytes() {
java.lang.Object ref = deviceModel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceModel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOCALE_FIELD_NUMBER = 4;
private volatile java.lang.Object locale_;
/**
* string locale = 4;
*/
public java.lang.String getLocale() {
java.lang.Object ref = locale_;
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();
locale_ = s;
return s;
}
}
/**
* string locale = 4;
*/
public com.google.protobuf.ByteString
getLocaleBytes() {
java.lang.Object ref = locale_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locale_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APP_VERSION_FIELD_NUMBER = 5;
private int appVersion_;
/**
* uint32 app_version = 5;
*/
public int getAppVersion() {
return appVersion_;
}
public static final int PAGINATE_FIELD_NUMBER = 6;
private boolean paginate_;
/**
* bool paginate = 6;
*/
public boolean getPaginate() {
return paginate_;
}
public static final int PAGE_OFFSET_FIELD_NUMBER = 7;
private int pageOffset_;
/**
* int32 page_offset = 7;
*/
public int getPageOffset() {
return pageOffset_;
}
public static final int PAGE_TIMESTAMP_FIELD_NUMBER = 8;
private long pageTimestamp_;
/**
* uint64 page_timestamp = 8;
*/
public long getPageTimestamp() {
return pageTimestamp_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (platform_ != POGOProtos.Enums.PlatformOuterClass.Platform.UNSET.getNumber()) {
output.writeEnum(1, platform_);
}
if (!getDeviceManufacturerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deviceManufacturer_);
}
if (!getDeviceModelBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deviceModel_);
}
if (!getLocaleBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locale_);
}
if (appVersion_ != 0) {
output.writeUInt32(5, appVersion_);
}
if (paginate_ != false) {
output.writeBool(6, paginate_);
}
if (pageOffset_ != 0) {
output.writeInt32(7, pageOffset_);
}
if (pageTimestamp_ != 0L) {
output.writeUInt64(8, pageTimestamp_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (platform_ != POGOProtos.Enums.PlatformOuterClass.Platform.UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, platform_);
}
if (!getDeviceManufacturerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deviceManufacturer_);
}
if (!getDeviceModelBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deviceModel_);
}
if (!getLocaleBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locale_);
}
if (appVersion_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, appVersion_);
}
if (paginate_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, paginate_);
}
if (pageOffset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, pageOffset_);
}
if (pageTimestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(8, pageTimestamp_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage)) {
return super.equals(obj);
}
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage other = (POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage) obj;
boolean result = true;
result = result && platform_ == other.platform_;
result = result && getDeviceManufacturer()
.equals(other.getDeviceManufacturer());
result = result && getDeviceModel()
.equals(other.getDeviceModel());
result = result && getLocale()
.equals(other.getLocale());
result = result && (getAppVersion()
== other.getAppVersion());
result = result && (getPaginate()
== other.getPaginate());
result = result && (getPageOffset()
== other.getPageOffset());
result = result && (getPageTimestamp()
== other.getPageTimestamp());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
hash = (53 * hash) + platform_;
hash = (37 * hash) + DEVICE_MANUFACTURER_FIELD_NUMBER;
hash = (53 * hash) + getDeviceManufacturer().hashCode();
hash = (37 * hash) + DEVICE_MODEL_FIELD_NUMBER;
hash = (53 * hash) + getDeviceModel().hashCode();
hash = (37 * hash) + LOCALE_FIELD_NUMBER;
hash = (53 * hash) + getLocale().hashCode();
hash = (37 * hash) + APP_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getAppVersion();
hash = (37 * hash) + PAGINATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPaginate());
hash = (37 * hash) + PAGE_OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getPageOffset();
hash = (37 * hash) + PAGE_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPageTimestamp());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage)
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.class, POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.Builder.class);
}
// Construct using POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
platform_ = 0;
deviceManufacturer_ = "";
deviceModel_ = "";
locale_ = "";
appVersion_ = 0;
paginate_ = false;
pageOffset_ = 0;
pageTimestamp_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage getDefaultInstanceForType() {
return POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage build() {
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage buildPartial() {
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage result = new POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage(this);
result.platform_ = platform_;
result.deviceManufacturer_ = deviceManufacturer_;
result.deviceModel_ = deviceModel_;
result.locale_ = locale_;
result.appVersion_ = appVersion_;
result.paginate_ = paginate_;
result.pageOffset_ = pageOffset_;
result.pageTimestamp_ = pageTimestamp_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage) {
return mergeFrom((POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage other) {
if (other == POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage.getDefaultInstance()) return this;
if (other.platform_ != 0) {
setPlatformValue(other.getPlatformValue());
}
if (!other.getDeviceManufacturer().isEmpty()) {
deviceManufacturer_ = other.deviceManufacturer_;
onChanged();
}
if (!other.getDeviceModel().isEmpty()) {
deviceModel_ = other.deviceModel_;
onChanged();
}
if (!other.getLocale().isEmpty()) {
locale_ = other.locale_;
onChanged();
}
if (other.getAppVersion() != 0) {
setAppVersion(other.getAppVersion());
}
if (other.getPaginate() != false) {
setPaginate(other.getPaginate());
}
if (other.getPageOffset() != 0) {
setPageOffset(other.getPageOffset());
}
if (other.getPageTimestamp() != 0L) {
setPageTimestamp(other.getPageTimestamp());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int platform_ = 0;
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public int getPlatformValue() {
return platform_;
}
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public Builder setPlatformValue(int value) {
platform_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public POGOProtos.Enums.PlatformOuterClass.Platform getPlatform() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.PlatformOuterClass.Platform result = POGOProtos.Enums.PlatformOuterClass.Platform.valueOf(platform_);
return result == null ? POGOProtos.Enums.PlatformOuterClass.Platform.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public Builder setPlatform(POGOProtos.Enums.PlatformOuterClass.Platform value) {
if (value == null) {
throw new NullPointerException();
}
platform_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.Platform platform = 1;
*/
public Builder clearPlatform() {
platform_ = 0;
onChanged();
return this;
}
private java.lang.Object deviceManufacturer_ = "";
/**
* string device_manufacturer = 2;
*/
public java.lang.String getDeviceManufacturer() {
java.lang.Object ref = deviceManufacturer_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deviceManufacturer_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string device_manufacturer = 2;
*/
public com.google.protobuf.ByteString
getDeviceManufacturerBytes() {
java.lang.Object ref = deviceManufacturer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceManufacturer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string device_manufacturer = 2;
*/
public Builder setDeviceManufacturer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
deviceManufacturer_ = value;
onChanged();
return this;
}
/**
* string device_manufacturer = 2;
*/
public Builder clearDeviceManufacturer() {
deviceManufacturer_ = getDefaultInstance().getDeviceManufacturer();
onChanged();
return this;
}
/**
* string device_manufacturer = 2;
*/
public Builder setDeviceManufacturerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
deviceManufacturer_ = value;
onChanged();
return this;
}
private java.lang.Object deviceModel_ = "";
/**
* string device_model = 3;
*/
public java.lang.String getDeviceModel() {
java.lang.Object ref = deviceModel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deviceModel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string device_model = 3;
*/
public com.google.protobuf.ByteString
getDeviceModelBytes() {
java.lang.Object ref = deviceModel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceModel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string device_model = 3;
*/
public Builder setDeviceModel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
deviceModel_ = value;
onChanged();
return this;
}
/**
* string device_model = 3;
*/
public Builder clearDeviceModel() {
deviceModel_ = getDefaultInstance().getDeviceModel();
onChanged();
return this;
}
/**
* string device_model = 3;
*/
public Builder setDeviceModelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
deviceModel_ = value;
onChanged();
return this;
}
private java.lang.Object locale_ = "";
/**
* string locale = 4;
*/
public java.lang.String getLocale() {
java.lang.Object ref = locale_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locale_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string locale = 4;
*/
public com.google.protobuf.ByteString
getLocaleBytes() {
java.lang.Object ref = locale_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locale_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string locale = 4;
*/
public Builder setLocale(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locale_ = value;
onChanged();
return this;
}
/**
* string locale = 4;
*/
public Builder clearLocale() {
locale_ = getDefaultInstance().getLocale();
onChanged();
return this;
}
/**
* string locale = 4;
*/
public Builder setLocaleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locale_ = value;
onChanged();
return this;
}
private int appVersion_ ;
/**
* uint32 app_version = 5;
*/
public int getAppVersion() {
return appVersion_;
}
/**
* uint32 app_version = 5;
*/
public Builder setAppVersion(int value) {
appVersion_ = value;
onChanged();
return this;
}
/**
* uint32 app_version = 5;
*/
public Builder clearAppVersion() {
appVersion_ = 0;
onChanged();
return this;
}
private boolean paginate_ ;
/**
* bool paginate = 6;
*/
public boolean getPaginate() {
return paginate_;
}
/**
* bool paginate = 6;
*/
public Builder setPaginate(boolean value) {
paginate_ = value;
onChanged();
return this;
}
/**
* bool paginate = 6;
*/
public Builder clearPaginate() {
paginate_ = false;
onChanged();
return this;
}
private int pageOffset_ ;
/**
* int32 page_offset = 7;
*/
public int getPageOffset() {
return pageOffset_;
}
/**
* int32 page_offset = 7;
*/
public Builder setPageOffset(int value) {
pageOffset_ = value;
onChanged();
return this;
}
/**
* int32 page_offset = 7;
*/
public Builder clearPageOffset() {
pageOffset_ = 0;
onChanged();
return this;
}
private long pageTimestamp_ ;
/**
* uint64 page_timestamp = 8;
*/
public long getPageTimestamp() {
return pageTimestamp_;
}
/**
* uint64 page_timestamp = 8;
*/
public Builder setPageTimestamp(long value) {
pageTimestamp_ = value;
onChanged();
return this;
}
/**
* uint64 page_timestamp = 8;
*/
public Builder clearPageTimestamp() {
pageTimestamp_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Requests.Messages.GetAssetDigestMessage)
private static final POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage();
}
public static POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAssetDigestMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAssetDigestMessage(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.GetAssetDigestMessageOuterClass.GetAssetDigestMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\nCPOGOProtos/Networking/Requests/Message" +
"s/GetAssetDigestMessage.proto\022\'POGOProto" +
"s.Networking.Requests.Messages\032\037POGOProt" +
"os/Enums/Platform.proto\"\334\001\n\025GetAssetDige" +
"stMessage\022,\n\010platform\030\001 \001(\0162\032.POGOProtos" +
".Enums.Platform\022\033\n\023device_manufacturer\030\002" +
" \001(\t\022\024\n\014device_model\030\003 \001(\t\022\016\n\006locale\030\004 \001" +
"(\t\022\023\n\013app_version\030\005 \001(\r\022\020\n\010paginate\030\006 \001(" +
"\010\022\023\n\013page_offset\030\007 \001(\005\022\026\n\016page_timestamp" +
"\030\010 \001(\004b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
POGOProtos.Enums.PlatformOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Requests_Messages_GetAssetDigestMessage_descriptor,
new java.lang.String[] { "Platform", "DeviceManufacturer", "DeviceModel", "Locale", "AppVersion", "Paginate", "PageOffset", "PageTimestamp", });
POGOProtos.Enums.PlatformOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy