POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Networking/Requests/Messages/SfidaCaptureMessage.proto
package POGOProtos.Networking.Requests.Messages;
public final class SfidaCaptureMessageOuterClass {
private SfidaCaptureMessageOuterClass() {}
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 SfidaCaptureMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Networking.Requests.Messages.SfidaCaptureMessage)
com.google.protobuf.MessageOrBuilder {
/**
* string spawnpoint_id = 1;
*/
java.lang.String getSpawnpointId();
/**
* string spawnpoint_id = 1;
*/
com.google.protobuf.ByteString
getSpawnpointIdBytes();
/**
* int64 encounter_id = 2;
*/
long getEncounterId();
/**
* double player_lat = 3;
*/
double getPlayerLat();
/**
* double player_lng = 4;
*/
double getPlayerLng();
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
int getEncounterTypeValue();
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
POGOProtos.Enums.EncounterTypeOuterClass.EncounterType getEncounterType();
/**
* double gym_lat = 6;
*/
double getGymLat();
/**
* double gym_lng = 7;
*/
double getGymLng();
}
/**
* Protobuf type {@code POGOProtos.Networking.Requests.Messages.SfidaCaptureMessage}
*/
public static final class SfidaCaptureMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Networking.Requests.Messages.SfidaCaptureMessage)
SfidaCaptureMessageOrBuilder {
private static final long serialVersionUID = 0L;
// Use SfidaCaptureMessage.newBuilder() to construct.
private SfidaCaptureMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SfidaCaptureMessage() {
spawnpointId_ = "";
encounterId_ = 0L;
playerLat_ = 0D;
playerLng_ = 0D;
encounterType_ = 0;
gymLat_ = 0D;
gymLng_ = 0D;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SfidaCaptureMessage(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
spawnpointId_ = s;
break;
}
case 16: {
encounterId_ = input.readInt64();
break;
}
case 25: {
playerLat_ = input.readDouble();
break;
}
case 33: {
playerLng_ = input.readDouble();
break;
}
case 40: {
int rawValue = input.readEnum();
encounterType_ = rawValue;
break;
}
case 49: {
gymLat_ = input.readDouble();
break;
}
case 57: {
gymLng_ = input.readDouble();
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.SfidaCaptureMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.class, POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.Builder.class);
}
public static final int SPAWNPOINT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object spawnpointId_;
/**
* string spawnpoint_id = 1;
*/
public java.lang.String getSpawnpointId() {
java.lang.Object ref = spawnpointId_;
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();
spawnpointId_ = s;
return s;
}
}
/**
* string spawnpoint_id = 1;
*/
public com.google.protobuf.ByteString
getSpawnpointIdBytes() {
java.lang.Object ref = spawnpointId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spawnpointId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENCOUNTER_ID_FIELD_NUMBER = 2;
private long encounterId_;
/**
* int64 encounter_id = 2;
*/
public long getEncounterId() {
return encounterId_;
}
public static final int PLAYER_LAT_FIELD_NUMBER = 3;
private double playerLat_;
/**
* double player_lat = 3;
*/
public double getPlayerLat() {
return playerLat_;
}
public static final int PLAYER_LNG_FIELD_NUMBER = 4;
private double playerLng_;
/**
* double player_lng = 4;
*/
public double getPlayerLng() {
return playerLng_;
}
public static final int ENCOUNTER_TYPE_FIELD_NUMBER = 5;
private int encounterType_;
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public int getEncounterTypeValue() {
return encounterType_;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public POGOProtos.Enums.EncounterTypeOuterClass.EncounterType getEncounterType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.EncounterTypeOuterClass.EncounterType result = POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.valueOf(encounterType_);
return result == null ? POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.UNRECOGNIZED : result;
}
public static final int GYM_LAT_FIELD_NUMBER = 6;
private double gymLat_;
/**
* double gym_lat = 6;
*/
public double getGymLat() {
return gymLat_;
}
public static final int GYM_LNG_FIELD_NUMBER = 7;
private double gymLng_;
/**
* double gym_lng = 7;
*/
public double getGymLng() {
return gymLng_;
}
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 (!getSpawnpointIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spawnpointId_);
}
if (encounterId_ != 0L) {
output.writeInt64(2, encounterId_);
}
if (playerLat_ != 0D) {
output.writeDouble(3, playerLat_);
}
if (playerLng_ != 0D) {
output.writeDouble(4, playerLng_);
}
if (encounterType_ != POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.SPAWN_POINT.getNumber()) {
output.writeEnum(5, encounterType_);
}
if (gymLat_ != 0D) {
output.writeDouble(6, gymLat_);
}
if (gymLng_ != 0D) {
output.writeDouble(7, gymLng_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSpawnpointIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spawnpointId_);
}
if (encounterId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, encounterId_);
}
if (playerLat_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, playerLat_);
}
if (playerLng_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, playerLng_);
}
if (encounterType_ != POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.SPAWN_POINT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, encounterType_);
}
if (gymLat_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, gymLat_);
}
if (gymLng_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(7, gymLng_);
}
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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage)) {
return super.equals(obj);
}
POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage other = (POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage) obj;
boolean result = true;
result = result && getSpawnpointId()
.equals(other.getSpawnpointId());
result = result && (getEncounterId()
== other.getEncounterId());
result = result && (
java.lang.Double.doubleToLongBits(getPlayerLat())
== java.lang.Double.doubleToLongBits(
other.getPlayerLat()));
result = result && (
java.lang.Double.doubleToLongBits(getPlayerLng())
== java.lang.Double.doubleToLongBits(
other.getPlayerLng()));
result = result && encounterType_ == other.encounterType_;
result = result && (
java.lang.Double.doubleToLongBits(getGymLat())
== java.lang.Double.doubleToLongBits(
other.getGymLat()));
result = result && (
java.lang.Double.doubleToLongBits(getGymLng())
== java.lang.Double.doubleToLongBits(
other.getGymLng()));
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) + SPAWNPOINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getSpawnpointId().hashCode();
hash = (37 * hash) + ENCOUNTER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEncounterId());
hash = (37 * hash) + PLAYER_LAT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPlayerLat()));
hash = (37 * hash) + PLAYER_LNG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPlayerLng()));
hash = (37 * hash) + ENCOUNTER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + encounterType_;
hash = (37 * hash) + GYM_LAT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getGymLat()));
hash = (37 * hash) + GYM_LNG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getGymLng()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage 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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage 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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage 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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage 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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage 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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage 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.SfidaCaptureMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Networking.Requests.Messages.SfidaCaptureMessage)
POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.class, POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.Builder.class);
}
// Construct using POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.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();
spawnpointId_ = "";
encounterId_ = 0L;
playerLat_ = 0D;
playerLng_ = 0D;
encounterType_ = 0;
gymLat_ = 0D;
gymLng_ = 0D;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_descriptor;
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage getDefaultInstanceForType() {
return POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage build() {
POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage buildPartial() {
POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage result = new POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage(this);
result.spawnpointId_ = spawnpointId_;
result.encounterId_ = encounterId_;
result.playerLat_ = playerLat_;
result.playerLng_ = playerLng_;
result.encounterType_ = encounterType_;
result.gymLat_ = gymLat_;
result.gymLng_ = gymLng_;
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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage) {
return mergeFrom((POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage other) {
if (other == POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage.getDefaultInstance()) return this;
if (!other.getSpawnpointId().isEmpty()) {
spawnpointId_ = other.spawnpointId_;
onChanged();
}
if (other.getEncounterId() != 0L) {
setEncounterId(other.getEncounterId());
}
if (other.getPlayerLat() != 0D) {
setPlayerLat(other.getPlayerLat());
}
if (other.getPlayerLng() != 0D) {
setPlayerLng(other.getPlayerLng());
}
if (other.encounterType_ != 0) {
setEncounterTypeValue(other.getEncounterTypeValue());
}
if (other.getGymLat() != 0D) {
setGymLat(other.getGymLat());
}
if (other.getGymLng() != 0D) {
setGymLng(other.getGymLng());
}
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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object spawnpointId_ = "";
/**
* string spawnpoint_id = 1;
*/
public java.lang.String getSpawnpointId() {
java.lang.Object ref = spawnpointId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spawnpointId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string spawnpoint_id = 1;
*/
public com.google.protobuf.ByteString
getSpawnpointIdBytes() {
java.lang.Object ref = spawnpointId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spawnpointId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string spawnpoint_id = 1;
*/
public Builder setSpawnpointId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spawnpointId_ = value;
onChanged();
return this;
}
/**
* string spawnpoint_id = 1;
*/
public Builder clearSpawnpointId() {
spawnpointId_ = getDefaultInstance().getSpawnpointId();
onChanged();
return this;
}
/**
* string spawnpoint_id = 1;
*/
public Builder setSpawnpointIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spawnpointId_ = value;
onChanged();
return this;
}
private long encounterId_ ;
/**
* int64 encounter_id = 2;
*/
public long getEncounterId() {
return encounterId_;
}
/**
* int64 encounter_id = 2;
*/
public Builder setEncounterId(long value) {
encounterId_ = value;
onChanged();
return this;
}
/**
* int64 encounter_id = 2;
*/
public Builder clearEncounterId() {
encounterId_ = 0L;
onChanged();
return this;
}
private double playerLat_ ;
/**
* double player_lat = 3;
*/
public double getPlayerLat() {
return playerLat_;
}
/**
* double player_lat = 3;
*/
public Builder setPlayerLat(double value) {
playerLat_ = value;
onChanged();
return this;
}
/**
* double player_lat = 3;
*/
public Builder clearPlayerLat() {
playerLat_ = 0D;
onChanged();
return this;
}
private double playerLng_ ;
/**
* double player_lng = 4;
*/
public double getPlayerLng() {
return playerLng_;
}
/**
* double player_lng = 4;
*/
public Builder setPlayerLng(double value) {
playerLng_ = value;
onChanged();
return this;
}
/**
* double player_lng = 4;
*/
public Builder clearPlayerLng() {
playerLng_ = 0D;
onChanged();
return this;
}
private int encounterType_ = 0;
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public int getEncounterTypeValue() {
return encounterType_;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public Builder setEncounterTypeValue(int value) {
encounterType_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public POGOProtos.Enums.EncounterTypeOuterClass.EncounterType getEncounterType() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.EncounterTypeOuterClass.EncounterType result = POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.valueOf(encounterType_);
return result == null ? POGOProtos.Enums.EncounterTypeOuterClass.EncounterType.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public Builder setEncounterType(POGOProtos.Enums.EncounterTypeOuterClass.EncounterType value) {
if (value == null) {
throw new NullPointerException();
}
encounterType_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.EncounterType encounter_type = 5;
*/
public Builder clearEncounterType() {
encounterType_ = 0;
onChanged();
return this;
}
private double gymLat_ ;
/**
* double gym_lat = 6;
*/
public double getGymLat() {
return gymLat_;
}
/**
* double gym_lat = 6;
*/
public Builder setGymLat(double value) {
gymLat_ = value;
onChanged();
return this;
}
/**
* double gym_lat = 6;
*/
public Builder clearGymLat() {
gymLat_ = 0D;
onChanged();
return this;
}
private double gymLng_ ;
/**
* double gym_lng = 7;
*/
public double getGymLng() {
return gymLng_;
}
/**
* double gym_lng = 7;
*/
public Builder setGymLng(double value) {
gymLng_ = value;
onChanged();
return this;
}
/**
* double gym_lng = 7;
*/
public Builder clearGymLng() {
gymLng_ = 0D;
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.SfidaCaptureMessage)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Networking.Requests.Messages.SfidaCaptureMessage)
private static final POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage();
}
public static POGOProtos.Networking.Requests.Messages.SfidaCaptureMessageOuterClass.SfidaCaptureMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SfidaCaptureMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SfidaCaptureMessage(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.SfidaCaptureMessageOuterClass.SfidaCaptureMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\nAPOGOProtos/Networking/Requests/Message" +
"s/SfidaCaptureMessage.proto\022\'POGOProtos." +
"Networking.Requests.Messages\032$POGOProtos" +
"/Enums/EncounterType.proto\"\305\001\n\023SfidaCapt" +
"ureMessage\022\025\n\rspawnpoint_id\030\001 \001(\t\022\024\n\014enc" +
"ounter_id\030\002 \001(\003\022\022\n\nplayer_lat\030\003 \001(\001\022\022\n\np" +
"layer_lng\030\004 \001(\001\0227\n\016encounter_type\030\005 \001(\0162" +
"\037.POGOProtos.Enums.EncounterType\022\017\n\007gym_" +
"lat\030\006 \001(\001\022\017\n\007gym_lng\030\007 \001(\001b\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.EncounterTypeOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Networking_Requests_Messages_SfidaCaptureMessage_descriptor,
new java.lang.String[] { "SpawnpointId", "EncounterId", "PlayerLat", "PlayerLng", "EncounterType", "GymLat", "GymLng", });
POGOProtos.Enums.EncounterTypeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy