POGOProtos.Data.Battle.BattleOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Battle/Battle.proto
package POGOProtos.Data.Battle;
public final class BattleOuterClass {
private BattleOuterClass() {}
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 BattleOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Battle.Battle)
com.google.protobuf.MessageOrBuilder {
/**
* int64 battle_start_ms = 1;
*/
long getBattleStartMs();
/**
* int64 battle_end_ms = 2;
*/
long getBattleEndMs();
/**
* string battle_id = 3;
*/
java.lang.String getBattleId();
/**
* string battle_id = 3;
*/
com.google.protobuf.ByteString
getBattleIdBytes();
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
boolean hasDefender();
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getDefender();
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getDefenderOrBuilder();
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
boolean hasBattleLog();
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog getBattleLog();
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder getBattleLogOrBuilder();
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
boolean hasAttacker();
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getAttacker();
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getAttackerOrBuilder();
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
int getWeatherConditionValue();
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition getWeatherCondition();
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
int getHighestFriendshipMilestoneValue();
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone getHighestFriendshipMilestone();
}
/**
* Protobuf type {@code POGOProtos.Data.Battle.Battle}
*/
public static final class Battle extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Battle.Battle)
BattleOrBuilder {
private static final long serialVersionUID = 0L;
// Use Battle.newBuilder() to construct.
private Battle(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Battle() {
battleStartMs_ = 0L;
battleEndMs_ = 0L;
battleId_ = "";
weatherCondition_ = 0;
highestFriendshipMilestone_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Battle(
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: {
battleStartMs_ = input.readInt64();
break;
}
case 16: {
battleEndMs_ = input.readInt64();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
battleId_ = s;
break;
}
case 34: {
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder subBuilder = null;
if (defender_ != null) {
subBuilder = defender_.toBuilder();
}
defender_ = input.readMessage(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(defender_);
defender_ = subBuilder.buildPartial();
}
break;
}
case 42: {
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder subBuilder = null;
if (battleLog_ != null) {
subBuilder = battleLog_.toBuilder();
}
battleLog_ = input.readMessage(POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(battleLog_);
battleLog_ = subBuilder.buildPartial();
}
break;
}
case 50: {
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder subBuilder = null;
if (attacker_ != null) {
subBuilder = attacker_.toBuilder();
}
attacker_ = input.readMessage(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(attacker_);
attacker_ = subBuilder.buildPartial();
}
break;
}
case 56: {
int rawValue = input.readEnum();
weatherCondition_ = rawValue;
break;
}
case 64: {
int rawValue = input.readEnum();
highestFriendshipMilestone_ = rawValue;
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.Data.Battle.BattleOuterClass.internal_static_POGOProtos_Data_Battle_Battle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Battle.BattleOuterClass.internal_static_POGOProtos_Data_Battle_Battle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Battle.BattleOuterClass.Battle.class, POGOProtos.Data.Battle.BattleOuterClass.Battle.Builder.class);
}
public static final int BATTLE_START_MS_FIELD_NUMBER = 1;
private long battleStartMs_;
/**
* int64 battle_start_ms = 1;
*/
public long getBattleStartMs() {
return battleStartMs_;
}
public static final int BATTLE_END_MS_FIELD_NUMBER = 2;
private long battleEndMs_;
/**
* int64 battle_end_ms = 2;
*/
public long getBattleEndMs() {
return battleEndMs_;
}
public static final int BATTLE_ID_FIELD_NUMBER = 3;
private volatile java.lang.Object battleId_;
/**
* string battle_id = 3;
*/
public java.lang.String getBattleId() {
java.lang.Object ref = battleId_;
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();
battleId_ = s;
return s;
}
}
/**
* string battle_id = 3;
*/
public com.google.protobuf.ByteString
getBattleIdBytes() {
java.lang.Object ref = battleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
battleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFENDER_FIELD_NUMBER = 4;
private POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant defender_;
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public boolean hasDefender() {
return defender_ != null;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getDefender() {
return defender_ == null ? POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance() : defender_;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getDefenderOrBuilder() {
return getDefender();
}
public static final int BATTLE_LOG_FIELD_NUMBER = 5;
private POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog battleLog_;
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public boolean hasBattleLog() {
return battleLog_ != null;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog getBattleLog() {
return battleLog_ == null ? POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.getDefaultInstance() : battleLog_;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder getBattleLogOrBuilder() {
return getBattleLog();
}
public static final int ATTACKER_FIELD_NUMBER = 6;
private POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant attacker_;
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public boolean hasAttacker() {
return attacker_ != null;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getAttacker() {
return attacker_ == null ? POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance() : attacker_;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getAttackerOrBuilder() {
return getAttacker();
}
public static final int WEATHER_CONDITION_FIELD_NUMBER = 7;
private int weatherCondition_;
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public int getWeatherConditionValue() {
return weatherCondition_;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition getWeatherCondition() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition result = POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.valueOf(weatherCondition_);
return result == null ? POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.UNRECOGNIZED : result;
}
public static final int HIGHEST_FRIENDSHIP_MILESTONE_FIELD_NUMBER = 8;
private int highestFriendshipMilestone_;
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public int getHighestFriendshipMilestoneValue() {
return highestFriendshipMilestone_;
}
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone getHighestFriendshipMilestone() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone result = POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.valueOf(highestFriendshipMilestone_);
return result == null ? POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.UNRECOGNIZED : result;
}
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 (battleStartMs_ != 0L) {
output.writeInt64(1, battleStartMs_);
}
if (battleEndMs_ != 0L) {
output.writeInt64(2, battleEndMs_);
}
if (!getBattleIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, battleId_);
}
if (defender_ != null) {
output.writeMessage(4, getDefender());
}
if (battleLog_ != null) {
output.writeMessage(5, getBattleLog());
}
if (attacker_ != null) {
output.writeMessage(6, getAttacker());
}
if (weatherCondition_ != POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.NONE.getNumber()) {
output.writeEnum(7, weatherCondition_);
}
if (highestFriendshipMilestone_ != POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.FRIENDSHIP_LEVEL_UNSET.getNumber()) {
output.writeEnum(8, highestFriendshipMilestone_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (battleStartMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, battleStartMs_);
}
if (battleEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, battleEndMs_);
}
if (!getBattleIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, battleId_);
}
if (defender_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getDefender());
}
if (battleLog_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getBattleLog());
}
if (attacker_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getAttacker());
}
if (weatherCondition_ != POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, weatherCondition_);
}
if (highestFriendshipMilestone_ != POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.FRIENDSHIP_LEVEL_UNSET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, highestFriendshipMilestone_);
}
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.Data.Battle.BattleOuterClass.Battle)) {
return super.equals(obj);
}
POGOProtos.Data.Battle.BattleOuterClass.Battle other = (POGOProtos.Data.Battle.BattleOuterClass.Battle) obj;
boolean result = true;
result = result && (getBattleStartMs()
== other.getBattleStartMs());
result = result && (getBattleEndMs()
== other.getBattleEndMs());
result = result && getBattleId()
.equals(other.getBattleId());
result = result && (hasDefender() == other.hasDefender());
if (hasDefender()) {
result = result && getDefender()
.equals(other.getDefender());
}
result = result && (hasBattleLog() == other.hasBattleLog());
if (hasBattleLog()) {
result = result && getBattleLog()
.equals(other.getBattleLog());
}
result = result && (hasAttacker() == other.hasAttacker());
if (hasAttacker()) {
result = result && getAttacker()
.equals(other.getAttacker());
}
result = result && weatherCondition_ == other.weatherCondition_;
result = result && highestFriendshipMilestone_ == other.highestFriendshipMilestone_;
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) + BATTLE_START_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBattleStartMs());
hash = (37 * hash) + BATTLE_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBattleEndMs());
hash = (37 * hash) + BATTLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getBattleId().hashCode();
if (hasDefender()) {
hash = (37 * hash) + DEFENDER_FIELD_NUMBER;
hash = (53 * hash) + getDefender().hashCode();
}
if (hasBattleLog()) {
hash = (37 * hash) + BATTLE_LOG_FIELD_NUMBER;
hash = (53 * hash) + getBattleLog().hashCode();
}
if (hasAttacker()) {
hash = (37 * hash) + ATTACKER_FIELD_NUMBER;
hash = (53 * hash) + getAttacker().hashCode();
}
hash = (37 * hash) + WEATHER_CONDITION_FIELD_NUMBER;
hash = (53 * hash) + weatherCondition_;
hash = (37 * hash) + HIGHEST_FRIENDSHIP_MILESTONE_FIELD_NUMBER;
hash = (53 * hash) + highestFriendshipMilestone_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle 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.Data.Battle.BattleOuterClass.Battle parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle 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.Data.Battle.BattleOuterClass.Battle parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle 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.Data.Battle.BattleOuterClass.Battle 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.Data.Battle.Battle}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Battle.Battle)
POGOProtos.Data.Battle.BattleOuterClass.BattleOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Battle.BattleOuterClass.internal_static_POGOProtos_Data_Battle_Battle_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Battle.BattleOuterClass.internal_static_POGOProtos_Data_Battle_Battle_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Battle.BattleOuterClass.Battle.class, POGOProtos.Data.Battle.BattleOuterClass.Battle.Builder.class);
}
// Construct using POGOProtos.Data.Battle.BattleOuterClass.Battle.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();
battleStartMs_ = 0L;
battleEndMs_ = 0L;
battleId_ = "";
if (defenderBuilder_ == null) {
defender_ = null;
} else {
defender_ = null;
defenderBuilder_ = null;
}
if (battleLogBuilder_ == null) {
battleLog_ = null;
} else {
battleLog_ = null;
battleLogBuilder_ = null;
}
if (attackerBuilder_ == null) {
attacker_ = null;
} else {
attacker_ = null;
attackerBuilder_ = null;
}
weatherCondition_ = 0;
highestFriendshipMilestone_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Battle.BattleOuterClass.internal_static_POGOProtos_Data_Battle_Battle_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Battle.BattleOuterClass.Battle getDefaultInstanceForType() {
return POGOProtos.Data.Battle.BattleOuterClass.Battle.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Battle.BattleOuterClass.Battle build() {
POGOProtos.Data.Battle.BattleOuterClass.Battle result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Battle.BattleOuterClass.Battle buildPartial() {
POGOProtos.Data.Battle.BattleOuterClass.Battle result = new POGOProtos.Data.Battle.BattleOuterClass.Battle(this);
result.battleStartMs_ = battleStartMs_;
result.battleEndMs_ = battleEndMs_;
result.battleId_ = battleId_;
if (defenderBuilder_ == null) {
result.defender_ = defender_;
} else {
result.defender_ = defenderBuilder_.build();
}
if (battleLogBuilder_ == null) {
result.battleLog_ = battleLog_;
} else {
result.battleLog_ = battleLogBuilder_.build();
}
if (attackerBuilder_ == null) {
result.attacker_ = attacker_;
} else {
result.attacker_ = attackerBuilder_.build();
}
result.weatherCondition_ = weatherCondition_;
result.highestFriendshipMilestone_ = highestFriendshipMilestone_;
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.Data.Battle.BattleOuterClass.Battle) {
return mergeFrom((POGOProtos.Data.Battle.BattleOuterClass.Battle)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Battle.BattleOuterClass.Battle other) {
if (other == POGOProtos.Data.Battle.BattleOuterClass.Battle.getDefaultInstance()) return this;
if (other.getBattleStartMs() != 0L) {
setBattleStartMs(other.getBattleStartMs());
}
if (other.getBattleEndMs() != 0L) {
setBattleEndMs(other.getBattleEndMs());
}
if (!other.getBattleId().isEmpty()) {
battleId_ = other.battleId_;
onChanged();
}
if (other.hasDefender()) {
mergeDefender(other.getDefender());
}
if (other.hasBattleLog()) {
mergeBattleLog(other.getBattleLog());
}
if (other.hasAttacker()) {
mergeAttacker(other.getAttacker());
}
if (other.weatherCondition_ != 0) {
setWeatherConditionValue(other.getWeatherConditionValue());
}
if (other.highestFriendshipMilestone_ != 0) {
setHighestFriendshipMilestoneValue(other.getHighestFriendshipMilestoneValue());
}
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.Data.Battle.BattleOuterClass.Battle parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Battle.BattleOuterClass.Battle) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long battleStartMs_ ;
/**
* int64 battle_start_ms = 1;
*/
public long getBattleStartMs() {
return battleStartMs_;
}
/**
* int64 battle_start_ms = 1;
*/
public Builder setBattleStartMs(long value) {
battleStartMs_ = value;
onChanged();
return this;
}
/**
* int64 battle_start_ms = 1;
*/
public Builder clearBattleStartMs() {
battleStartMs_ = 0L;
onChanged();
return this;
}
private long battleEndMs_ ;
/**
* int64 battle_end_ms = 2;
*/
public long getBattleEndMs() {
return battleEndMs_;
}
/**
* int64 battle_end_ms = 2;
*/
public Builder setBattleEndMs(long value) {
battleEndMs_ = value;
onChanged();
return this;
}
/**
* int64 battle_end_ms = 2;
*/
public Builder clearBattleEndMs() {
battleEndMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object battleId_ = "";
/**
* string battle_id = 3;
*/
public java.lang.String getBattleId() {
java.lang.Object ref = battleId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
battleId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string battle_id = 3;
*/
public com.google.protobuf.ByteString
getBattleIdBytes() {
java.lang.Object ref = battleId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
battleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string battle_id = 3;
*/
public Builder setBattleId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
battleId_ = value;
onChanged();
return this;
}
/**
* string battle_id = 3;
*/
public Builder clearBattleId() {
battleId_ = getDefaultInstance().getBattleId();
onChanged();
return this;
}
/**
* string battle_id = 3;
*/
public Builder setBattleIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
battleId_ = value;
onChanged();
return this;
}
private POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant defender_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder> defenderBuilder_;
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public boolean hasDefender() {
return defenderBuilder_ != null || defender_ != null;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getDefender() {
if (defenderBuilder_ == null) {
return defender_ == null ? POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance() : defender_;
} else {
return defenderBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public Builder setDefender(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (defenderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
defender_ = value;
onChanged();
} else {
defenderBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public Builder setDefender(
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder builderForValue) {
if (defenderBuilder_ == null) {
defender_ = builderForValue.build();
onChanged();
} else {
defenderBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public Builder mergeDefender(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (defenderBuilder_ == null) {
if (defender_ != null) {
defender_ =
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.newBuilder(defender_).mergeFrom(value).buildPartial();
} else {
defender_ = value;
}
onChanged();
} else {
defenderBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public Builder clearDefender() {
if (defenderBuilder_ == null) {
defender_ = null;
onChanged();
} else {
defender_ = null;
defenderBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder getDefenderBuilder() {
onChanged();
return getDefenderFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getDefenderOrBuilder() {
if (defenderBuilder_ != null) {
return defenderBuilder_.getMessageOrBuilder();
} else {
return defender_ == null ?
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance() : defender_;
}
}
/**
* .POGOProtos.Data.Battle.BattleParticipant defender = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>
getDefenderFieldBuilder() {
if (defenderBuilder_ == null) {
defenderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>(
getDefender(),
getParentForChildren(),
isClean());
defender_ = null;
}
return defenderBuilder_;
}
private POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog battleLog_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder> battleLogBuilder_;
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public boolean hasBattleLog() {
return battleLogBuilder_ != null || battleLog_ != null;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog getBattleLog() {
if (battleLogBuilder_ == null) {
return battleLog_ == null ? POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.getDefaultInstance() : battleLog_;
} else {
return battleLogBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public Builder setBattleLog(POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog value) {
if (battleLogBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
battleLog_ = value;
onChanged();
} else {
battleLogBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public Builder setBattleLog(
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder builderForValue) {
if (battleLogBuilder_ == null) {
battleLog_ = builderForValue.build();
onChanged();
} else {
battleLogBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public Builder mergeBattleLog(POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog value) {
if (battleLogBuilder_ == null) {
if (battleLog_ != null) {
battleLog_ =
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.newBuilder(battleLog_).mergeFrom(value).buildPartial();
} else {
battleLog_ = value;
}
onChanged();
} else {
battleLogBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public Builder clearBattleLog() {
if (battleLogBuilder_ == null) {
battleLog_ = null;
onChanged();
} else {
battleLog_ = null;
battleLogBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder getBattleLogBuilder() {
onChanged();
return getBattleLogFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
public POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder getBattleLogOrBuilder() {
if (battleLogBuilder_ != null) {
return battleLogBuilder_.getMessageOrBuilder();
} else {
return battleLog_ == null ?
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.getDefaultInstance() : battleLog_;
}
}
/**
* .POGOProtos.Data.Battle.BattleLog battle_log = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder>
getBattleLogFieldBuilder() {
if (battleLogBuilder_ == null) {
battleLogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLog.Builder, POGOProtos.Data.Battle.BattleLogOuterClass.BattleLogOrBuilder>(
getBattleLog(),
getParentForChildren(),
isClean());
battleLog_ = null;
}
return battleLogBuilder_;
}
private POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant attacker_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder> attackerBuilder_;
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public boolean hasAttacker() {
return attackerBuilder_ != null || attacker_ != null;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getAttacker() {
if (attackerBuilder_ == null) {
return attacker_ == null ? POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance() : attacker_;
} else {
return attackerBuilder_.getMessage();
}
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public Builder setAttacker(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (attackerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attacker_ = value;
onChanged();
} else {
attackerBuilder_.setMessage(value);
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public Builder setAttacker(
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder builderForValue) {
if (attackerBuilder_ == null) {
attacker_ = builderForValue.build();
onChanged();
} else {
attackerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public Builder mergeAttacker(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (attackerBuilder_ == null) {
if (attacker_ != null) {
attacker_ =
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.newBuilder(attacker_).mergeFrom(value).buildPartial();
} else {
attacker_ = value;
}
onChanged();
} else {
attackerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public Builder clearAttacker() {
if (attackerBuilder_ == null) {
attacker_ = null;
onChanged();
} else {
attacker_ = null;
attackerBuilder_ = null;
}
return this;
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder getAttackerBuilder() {
onChanged();
return getAttackerFieldBuilder().getBuilder();
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getAttackerOrBuilder() {
if (attackerBuilder_ != null) {
return attackerBuilder_.getMessageOrBuilder();
} else {
return attacker_ == null ?
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance() : attacker_;
}
}
/**
* .POGOProtos.Data.Battle.BattleParticipant attacker = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>
getAttackerFieldBuilder() {
if (attackerBuilder_ == null) {
attackerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>(
getAttacker(),
getParentForChildren(),
isClean());
attacker_ = null;
}
return attackerBuilder_;
}
private int weatherCondition_ = 0;
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public int getWeatherConditionValue() {
return weatherCondition_;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public Builder setWeatherConditionValue(int value) {
weatherCondition_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition getWeatherCondition() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition result = POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.valueOf(weatherCondition_);
return result == null ? POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public Builder setWeatherCondition(POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition value) {
if (value == null) {
throw new NullPointerException();
}
weatherCondition_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 7;
*/
public Builder clearWeatherCondition() {
weatherCondition_ = 0;
onChanged();
return this;
}
private int highestFriendshipMilestone_ = 0;
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public int getHighestFriendshipMilestoneValue() {
return highestFriendshipMilestone_;
}
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public Builder setHighestFriendshipMilestoneValue(int value) {
highestFriendshipMilestone_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone getHighestFriendshipMilestone() {
@SuppressWarnings("deprecation")
POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone result = POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.valueOf(highestFriendshipMilestone_);
return result == null ? POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone.UNRECOGNIZED : result;
}
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public Builder setHighestFriendshipMilestone(POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.FriendshipLevelMilestone value) {
if (value == null) {
throw new NullPointerException();
}
highestFriendshipMilestone_ = value.getNumber();
onChanged();
return this;
}
/**
* .POGOProtos.Enums.FriendshipLevelMilestone highest_friendship_milestone = 8;
*/
public Builder clearHighestFriendshipMilestone() {
highestFriendshipMilestone_ = 0;
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.Data.Battle.Battle)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Battle.Battle)
private static final POGOProtos.Data.Battle.BattleOuterClass.Battle DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Battle.BattleOuterClass.Battle();
}
public static POGOProtos.Data.Battle.BattleOuterClass.Battle getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Battle parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Battle(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.Data.Battle.BattleOuterClass.Battle getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Battle_Battle_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Battle_Battle_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n#POGOProtos/Data/Battle/Battle.proto\022\026P" +
"OGOProtos.Data.Battle\032.POGOProtos/Data/B" +
"attle/BattleParticipant.proto\032&POGOProto" +
"s/Data/Battle/BattleLog.proto\032\'POGOProto" +
"s/Enums/WeatherCondition.proto\032/POGOProt" +
"os/Enums/FriendshipLevelMilestone.proto\"" +
"\215\003\n\006Battle\022\027\n\017battle_start_ms\030\001 \001(\003\022\025\n\rb" +
"attle_end_ms\030\002 \001(\003\022\021\n\tbattle_id\030\003 \001(\t\022;\n" +
"\010defender\030\004 \001(\0132).POGOProtos.Data.Battle" +
".BattleParticipant\0225\n\nbattle_log\030\005 \001(\0132!" +
".POGOProtos.Data.Battle.BattleLog\022;\n\010att" +
"acker\030\006 \001(\0132).POGOProtos.Data.Battle.Bat" +
"tleParticipant\022=\n\021weather_condition\030\007 \001(" +
"\0162\".POGOProtos.Enums.WeatherCondition\022P\n" +
"\034highest_friendship_milestone\030\010 \001(\0162*.PO" +
"GOProtos.Enums.FriendshipLevelMilestoneb" +
"\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.Data.Battle.BattleParticipantOuterClass.getDescriptor(),
POGOProtos.Data.Battle.BattleLogOuterClass.getDescriptor(),
POGOProtos.Enums.WeatherConditionOuterClass.getDescriptor(),
POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Battle_Battle_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Battle_Battle_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Battle_Battle_descriptor,
new java.lang.String[] { "BattleStartMs", "BattleEndMs", "BattleId", "Defender", "BattleLog", "Attacker", "WeatherCondition", "HighestFriendshipMilestone", });
POGOProtos.Data.Battle.BattleParticipantOuterClass.getDescriptor();
POGOProtos.Data.Battle.BattleLogOuterClass.getDescriptor();
POGOProtos.Enums.WeatherConditionOuterClass.getDescriptor();
POGOProtos.Enums.FriendshipLevelMilestoneOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy