POGOProtos.Data.Raid.LobbyOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Raid/Lobby.proto
package POGOProtos.Data.Raid;
public final class LobbyOuterClass {
private LobbyOuterClass() {}
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 LobbyOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Data.Raid.Lobby)
com.google.protobuf.MessageOrBuilder {
/**
* repeated int32 lobby_id = 1;
*/
java.util.List getLobbyIdList();
/**
* repeated int32 lobby_id = 1;
*/
int getLobbyIdCount();
/**
* repeated int32 lobby_id = 1;
*/
int getLobbyId(int index);
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
java.util.List
getPlayersList();
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getPlayers(int index);
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
int getPlayersCount();
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
java.util.List extends POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>
getPlayersOrBuilderList();
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getPlayersOrBuilder(
int index);
/**
* int64 player_join_end_ms = 3;
*/
long getPlayerJoinEndMs();
/**
* int64 pokemon_selection_end_ms = 4;
*/
long getPokemonSelectionEndMs();
/**
* int64 raid_battle_start_ms = 5;
*/
long getRaidBattleStartMs();
/**
* int64 raid_battle_end_ms = 6;
*/
long getRaidBattleEndMs();
/**
* string raid_battle_id = 8;
*/
java.lang.String getRaidBattleId();
/**
* string raid_battle_id = 8;
*/
com.google.protobuf.ByteString
getRaidBattleIdBytes();
/**
* string owner_nickname = 9;
*/
java.lang.String getOwnerNickname();
/**
* string owner_nickname = 9;
*/
com.google.protobuf.ByteString
getOwnerNicknameBytes();
/**
* bool private = 10;
*/
boolean getPrivate();
/**
* int64 creation_ms = 11;
*/
long getCreationMs();
/**
* int32 battle_plfe_instance = 12;
*/
int getBattlePlfeInstance();
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
int getWeatherConditionValue();
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition getWeatherCondition();
}
/**
* Protobuf type {@code POGOProtos.Data.Raid.Lobby}
*/
public static final class Lobby extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Data.Raid.Lobby)
LobbyOrBuilder {
private static final long serialVersionUID = 0L;
// Use Lobby.newBuilder() to construct.
private Lobby(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Lobby() {
lobbyId_ = java.util.Collections.emptyList();
players_ = java.util.Collections.emptyList();
playerJoinEndMs_ = 0L;
pokemonSelectionEndMs_ = 0L;
raidBattleStartMs_ = 0L;
raidBattleEndMs_ = 0L;
raidBattleId_ = "";
ownerNickname_ = "";
private_ = false;
creationMs_ = 0L;
battlePlfeInstance_ = 0;
weatherCondition_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Lobby(
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: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
lobbyId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
lobbyId_.add(input.readInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
lobbyId_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
lobbyId_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
players_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
players_.add(
input.readMessage(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.parser(), extensionRegistry));
break;
}
case 24: {
playerJoinEndMs_ = input.readInt64();
break;
}
case 32: {
pokemonSelectionEndMs_ = input.readInt64();
break;
}
case 40: {
raidBattleStartMs_ = input.readInt64();
break;
}
case 48: {
raidBattleEndMs_ = input.readInt64();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
raidBattleId_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
ownerNickname_ = s;
break;
}
case 80: {
private_ = input.readBool();
break;
}
case 88: {
creationMs_ = input.readInt64();
break;
}
case 96: {
battlePlfeInstance_ = input.readInt32();
break;
}
case 104: {
int rawValue = input.readEnum();
weatherCondition_ = 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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
lobbyId_ = java.util.Collections.unmodifiableList(lobbyId_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
players_ = java.util.Collections.unmodifiableList(players_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Raid.LobbyOuterClass.internal_static_POGOProtos_Data_Raid_Lobby_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Raid.LobbyOuterClass.internal_static_POGOProtos_Data_Raid_Lobby_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Raid.LobbyOuterClass.Lobby.class, POGOProtos.Data.Raid.LobbyOuterClass.Lobby.Builder.class);
}
private int bitField0_;
public static final int LOBBY_ID_FIELD_NUMBER = 1;
private java.util.List lobbyId_;
/**
* repeated int32 lobby_id = 1;
*/
public java.util.List
getLobbyIdList() {
return lobbyId_;
}
/**
* repeated int32 lobby_id = 1;
*/
public int getLobbyIdCount() {
return lobbyId_.size();
}
/**
* repeated int32 lobby_id = 1;
*/
public int getLobbyId(int index) {
return lobbyId_.get(index);
}
private int lobbyIdMemoizedSerializedSize = -1;
public static final int PLAYERS_FIELD_NUMBER = 2;
private java.util.List players_;
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public java.util.List getPlayersList() {
return players_;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public java.util.List extends POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>
getPlayersOrBuilderList() {
return players_;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public int getPlayersCount() {
return players_.size();
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getPlayers(int index) {
return players_.get(index);
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getPlayersOrBuilder(
int index) {
return players_.get(index);
}
public static final int PLAYER_JOIN_END_MS_FIELD_NUMBER = 3;
private long playerJoinEndMs_;
/**
* int64 player_join_end_ms = 3;
*/
public long getPlayerJoinEndMs() {
return playerJoinEndMs_;
}
public static final int POKEMON_SELECTION_END_MS_FIELD_NUMBER = 4;
private long pokemonSelectionEndMs_;
/**
* int64 pokemon_selection_end_ms = 4;
*/
public long getPokemonSelectionEndMs() {
return pokemonSelectionEndMs_;
}
public static final int RAID_BATTLE_START_MS_FIELD_NUMBER = 5;
private long raidBattleStartMs_;
/**
* int64 raid_battle_start_ms = 5;
*/
public long getRaidBattleStartMs() {
return raidBattleStartMs_;
}
public static final int RAID_BATTLE_END_MS_FIELD_NUMBER = 6;
private long raidBattleEndMs_;
/**
* int64 raid_battle_end_ms = 6;
*/
public long getRaidBattleEndMs() {
return raidBattleEndMs_;
}
public static final int RAID_BATTLE_ID_FIELD_NUMBER = 8;
private volatile java.lang.Object raidBattleId_;
/**
* string raid_battle_id = 8;
*/
public java.lang.String getRaidBattleId() {
java.lang.Object ref = raidBattleId_;
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();
raidBattleId_ = s;
return s;
}
}
/**
* string raid_battle_id = 8;
*/
public com.google.protobuf.ByteString
getRaidBattleIdBytes() {
java.lang.Object ref = raidBattleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
raidBattleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OWNER_NICKNAME_FIELD_NUMBER = 9;
private volatile java.lang.Object ownerNickname_;
/**
* string owner_nickname = 9;
*/
public java.lang.String getOwnerNickname() {
java.lang.Object ref = ownerNickname_;
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();
ownerNickname_ = s;
return s;
}
}
/**
* string owner_nickname = 9;
*/
public com.google.protobuf.ByteString
getOwnerNicknameBytes() {
java.lang.Object ref = ownerNickname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ownerNickname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIVATE_FIELD_NUMBER = 10;
private boolean private_;
/**
* bool private = 10;
*/
public boolean getPrivate() {
return private_;
}
public static final int CREATION_MS_FIELD_NUMBER = 11;
private long creationMs_;
/**
* int64 creation_ms = 11;
*/
public long getCreationMs() {
return creationMs_;
}
public static final int BATTLE_PLFE_INSTANCE_FIELD_NUMBER = 12;
private int battlePlfeInstance_;
/**
* int32 battle_plfe_instance = 12;
*/
public int getBattlePlfeInstance() {
return battlePlfeInstance_;
}
public static final int WEATHER_CONDITION_FIELD_NUMBER = 13;
private int weatherCondition_;
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
public int getWeatherConditionValue() {
return weatherCondition_;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
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;
}
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 {
getSerializedSize();
if (getLobbyIdList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(lobbyIdMemoizedSerializedSize);
}
for (int i = 0; i < lobbyId_.size(); i++) {
output.writeInt32NoTag(lobbyId_.get(i));
}
for (int i = 0; i < players_.size(); i++) {
output.writeMessage(2, players_.get(i));
}
if (playerJoinEndMs_ != 0L) {
output.writeInt64(3, playerJoinEndMs_);
}
if (pokemonSelectionEndMs_ != 0L) {
output.writeInt64(4, pokemonSelectionEndMs_);
}
if (raidBattleStartMs_ != 0L) {
output.writeInt64(5, raidBattleStartMs_);
}
if (raidBattleEndMs_ != 0L) {
output.writeInt64(6, raidBattleEndMs_);
}
if (!getRaidBattleIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, raidBattleId_);
}
if (!getOwnerNicknameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, ownerNickname_);
}
if (private_ != false) {
output.writeBool(10, private_);
}
if (creationMs_ != 0L) {
output.writeInt64(11, creationMs_);
}
if (battlePlfeInstance_ != 0) {
output.writeInt32(12, battlePlfeInstance_);
}
if (weatherCondition_ != POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.NONE.getNumber()) {
output.writeEnum(13, weatherCondition_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < lobbyId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(lobbyId_.get(i));
}
size += dataSize;
if (!getLobbyIdList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
lobbyIdMemoizedSerializedSize = dataSize;
}
for (int i = 0; i < players_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, players_.get(i));
}
if (playerJoinEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, playerJoinEndMs_);
}
if (pokemonSelectionEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, pokemonSelectionEndMs_);
}
if (raidBattleStartMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, raidBattleStartMs_);
}
if (raidBattleEndMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, raidBattleEndMs_);
}
if (!getRaidBattleIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, raidBattleId_);
}
if (!getOwnerNicknameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, ownerNickname_);
}
if (private_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, private_);
}
if (creationMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, creationMs_);
}
if (battlePlfeInstance_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, battlePlfeInstance_);
}
if (weatherCondition_ != POGOProtos.Enums.WeatherConditionOuterClass.WeatherCondition.NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(13, weatherCondition_);
}
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.Raid.LobbyOuterClass.Lobby)) {
return super.equals(obj);
}
POGOProtos.Data.Raid.LobbyOuterClass.Lobby other = (POGOProtos.Data.Raid.LobbyOuterClass.Lobby) obj;
boolean result = true;
result = result && getLobbyIdList()
.equals(other.getLobbyIdList());
result = result && getPlayersList()
.equals(other.getPlayersList());
result = result && (getPlayerJoinEndMs()
== other.getPlayerJoinEndMs());
result = result && (getPokemonSelectionEndMs()
== other.getPokemonSelectionEndMs());
result = result && (getRaidBattleStartMs()
== other.getRaidBattleStartMs());
result = result && (getRaidBattleEndMs()
== other.getRaidBattleEndMs());
result = result && getRaidBattleId()
.equals(other.getRaidBattleId());
result = result && getOwnerNickname()
.equals(other.getOwnerNickname());
result = result && (getPrivate()
== other.getPrivate());
result = result && (getCreationMs()
== other.getCreationMs());
result = result && (getBattlePlfeInstance()
== other.getBattlePlfeInstance());
result = result && weatherCondition_ == other.weatherCondition_;
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();
if (getLobbyIdCount() > 0) {
hash = (37 * hash) + LOBBY_ID_FIELD_NUMBER;
hash = (53 * hash) + getLobbyIdList().hashCode();
}
if (getPlayersCount() > 0) {
hash = (37 * hash) + PLAYERS_FIELD_NUMBER;
hash = (53 * hash) + getPlayersList().hashCode();
}
hash = (37 * hash) + PLAYER_JOIN_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPlayerJoinEndMs());
hash = (37 * hash) + POKEMON_SELECTION_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPokemonSelectionEndMs());
hash = (37 * hash) + RAID_BATTLE_START_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRaidBattleStartMs());
hash = (37 * hash) + RAID_BATTLE_END_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRaidBattleEndMs());
hash = (37 * hash) + RAID_BATTLE_ID_FIELD_NUMBER;
hash = (53 * hash) + getRaidBattleId().hashCode();
hash = (37 * hash) + OWNER_NICKNAME_FIELD_NUMBER;
hash = (53 * hash) + getOwnerNickname().hashCode();
hash = (37 * hash) + PRIVATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPrivate());
hash = (37 * hash) + CREATION_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreationMs());
hash = (37 * hash) + BATTLE_PLFE_INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getBattlePlfeInstance();
hash = (37 * hash) + WEATHER_CONDITION_FIELD_NUMBER;
hash = (53 * hash) + weatherCondition_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby 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.Raid.LobbyOuterClass.Lobby parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby 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.Raid.LobbyOuterClass.Lobby parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby 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.Raid.LobbyOuterClass.Lobby parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby 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.Raid.LobbyOuterClass.Lobby 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.Raid.Lobby}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Data.Raid.Lobby)
POGOProtos.Data.Raid.LobbyOuterClass.LobbyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Data.Raid.LobbyOuterClass.internal_static_POGOProtos_Data_Raid_Lobby_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Data.Raid.LobbyOuterClass.internal_static_POGOProtos_Data_Raid_Lobby_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Data.Raid.LobbyOuterClass.Lobby.class, POGOProtos.Data.Raid.LobbyOuterClass.Lobby.Builder.class);
}
// Construct using POGOProtos.Data.Raid.LobbyOuterClass.Lobby.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPlayersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
lobbyId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
if (playersBuilder_ == null) {
players_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
playersBuilder_.clear();
}
playerJoinEndMs_ = 0L;
pokemonSelectionEndMs_ = 0L;
raidBattleStartMs_ = 0L;
raidBattleEndMs_ = 0L;
raidBattleId_ = "";
ownerNickname_ = "";
private_ = false;
creationMs_ = 0L;
battlePlfeInstance_ = 0;
weatherCondition_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Data.Raid.LobbyOuterClass.internal_static_POGOProtos_Data_Raid_Lobby_descriptor;
}
@java.lang.Override
public POGOProtos.Data.Raid.LobbyOuterClass.Lobby getDefaultInstanceForType() {
return POGOProtos.Data.Raid.LobbyOuterClass.Lobby.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Data.Raid.LobbyOuterClass.Lobby build() {
POGOProtos.Data.Raid.LobbyOuterClass.Lobby result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Data.Raid.LobbyOuterClass.Lobby buildPartial() {
POGOProtos.Data.Raid.LobbyOuterClass.Lobby result = new POGOProtos.Data.Raid.LobbyOuterClass.Lobby(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
lobbyId_ = java.util.Collections.unmodifiableList(lobbyId_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.lobbyId_ = lobbyId_;
if (playersBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
players_ = java.util.Collections.unmodifiableList(players_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.players_ = players_;
} else {
result.players_ = playersBuilder_.build();
}
result.playerJoinEndMs_ = playerJoinEndMs_;
result.pokemonSelectionEndMs_ = pokemonSelectionEndMs_;
result.raidBattleStartMs_ = raidBattleStartMs_;
result.raidBattleEndMs_ = raidBattleEndMs_;
result.raidBattleId_ = raidBattleId_;
result.ownerNickname_ = ownerNickname_;
result.private_ = private_;
result.creationMs_ = creationMs_;
result.battlePlfeInstance_ = battlePlfeInstance_;
result.weatherCondition_ = weatherCondition_;
result.bitField0_ = to_bitField0_;
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.Raid.LobbyOuterClass.Lobby) {
return mergeFrom((POGOProtos.Data.Raid.LobbyOuterClass.Lobby)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Data.Raid.LobbyOuterClass.Lobby other) {
if (other == POGOProtos.Data.Raid.LobbyOuterClass.Lobby.getDefaultInstance()) return this;
if (!other.lobbyId_.isEmpty()) {
if (lobbyId_.isEmpty()) {
lobbyId_ = other.lobbyId_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLobbyIdIsMutable();
lobbyId_.addAll(other.lobbyId_);
}
onChanged();
}
if (playersBuilder_ == null) {
if (!other.players_.isEmpty()) {
if (players_.isEmpty()) {
players_ = other.players_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePlayersIsMutable();
players_.addAll(other.players_);
}
onChanged();
}
} else {
if (!other.players_.isEmpty()) {
if (playersBuilder_.isEmpty()) {
playersBuilder_.dispose();
playersBuilder_ = null;
players_ = other.players_;
bitField0_ = (bitField0_ & ~0x00000002);
playersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPlayersFieldBuilder() : null;
} else {
playersBuilder_.addAllMessages(other.players_);
}
}
}
if (other.getPlayerJoinEndMs() != 0L) {
setPlayerJoinEndMs(other.getPlayerJoinEndMs());
}
if (other.getPokemonSelectionEndMs() != 0L) {
setPokemonSelectionEndMs(other.getPokemonSelectionEndMs());
}
if (other.getRaidBattleStartMs() != 0L) {
setRaidBattleStartMs(other.getRaidBattleStartMs());
}
if (other.getRaidBattleEndMs() != 0L) {
setRaidBattleEndMs(other.getRaidBattleEndMs());
}
if (!other.getRaidBattleId().isEmpty()) {
raidBattleId_ = other.raidBattleId_;
onChanged();
}
if (!other.getOwnerNickname().isEmpty()) {
ownerNickname_ = other.ownerNickname_;
onChanged();
}
if (other.getPrivate() != false) {
setPrivate(other.getPrivate());
}
if (other.getCreationMs() != 0L) {
setCreationMs(other.getCreationMs());
}
if (other.getBattlePlfeInstance() != 0) {
setBattlePlfeInstance(other.getBattlePlfeInstance());
}
if (other.weatherCondition_ != 0) {
setWeatherConditionValue(other.getWeatherConditionValue());
}
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.Raid.LobbyOuterClass.Lobby parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Data.Raid.LobbyOuterClass.Lobby) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List lobbyId_ = java.util.Collections.emptyList();
private void ensureLobbyIdIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
lobbyId_ = new java.util.ArrayList(lobbyId_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int32 lobby_id = 1;
*/
public java.util.List
getLobbyIdList() {
return java.util.Collections.unmodifiableList(lobbyId_);
}
/**
* repeated int32 lobby_id = 1;
*/
public int getLobbyIdCount() {
return lobbyId_.size();
}
/**
* repeated int32 lobby_id = 1;
*/
public int getLobbyId(int index) {
return lobbyId_.get(index);
}
/**
* repeated int32 lobby_id = 1;
*/
public Builder setLobbyId(
int index, int value) {
ensureLobbyIdIsMutable();
lobbyId_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 lobby_id = 1;
*/
public Builder addLobbyId(int value) {
ensureLobbyIdIsMutable();
lobbyId_.add(value);
onChanged();
return this;
}
/**
* repeated int32 lobby_id = 1;
*/
public Builder addAllLobbyId(
java.lang.Iterable extends java.lang.Integer> values) {
ensureLobbyIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lobbyId_);
onChanged();
return this;
}
/**
* repeated int32 lobby_id = 1;
*/
public Builder clearLobbyId() {
lobbyId_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List players_ =
java.util.Collections.emptyList();
private void ensurePlayersIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
players_ = new java.util.ArrayList(players_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder> playersBuilder_;
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public java.util.List getPlayersList() {
if (playersBuilder_ == null) {
return java.util.Collections.unmodifiableList(players_);
} else {
return playersBuilder_.getMessageList();
}
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public int getPlayersCount() {
if (playersBuilder_ == null) {
return players_.size();
} else {
return playersBuilder_.getCount();
}
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant getPlayers(int index) {
if (playersBuilder_ == null) {
return players_.get(index);
} else {
return playersBuilder_.getMessage(index);
}
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder setPlayers(
int index, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (playersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlayersIsMutable();
players_.set(index, value);
onChanged();
} else {
playersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder setPlayers(
int index, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder builderForValue) {
if (playersBuilder_ == null) {
ensurePlayersIsMutable();
players_.set(index, builderForValue.build());
onChanged();
} else {
playersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder addPlayers(POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (playersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlayersIsMutable();
players_.add(value);
onChanged();
} else {
playersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder addPlayers(
int index, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant value) {
if (playersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlayersIsMutable();
players_.add(index, value);
onChanged();
} else {
playersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder addPlayers(
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder builderForValue) {
if (playersBuilder_ == null) {
ensurePlayersIsMutable();
players_.add(builderForValue.build());
onChanged();
} else {
playersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder addPlayers(
int index, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder builderForValue) {
if (playersBuilder_ == null) {
ensurePlayersIsMutable();
players_.add(index, builderForValue.build());
onChanged();
} else {
playersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder addAllPlayers(
java.lang.Iterable extends POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant> values) {
if (playersBuilder_ == null) {
ensurePlayersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, players_);
onChanged();
} else {
playersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder clearPlayers() {
if (playersBuilder_ == null) {
players_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
playersBuilder_.clear();
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public Builder removePlayers(int index) {
if (playersBuilder_ == null) {
ensurePlayersIsMutable();
players_.remove(index);
onChanged();
} else {
playersBuilder_.remove(index);
}
return this;
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder getPlayersBuilder(
int index) {
return getPlayersFieldBuilder().getBuilder(index);
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder getPlayersOrBuilder(
int index) {
if (playersBuilder_ == null) {
return players_.get(index); } else {
return playersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public java.util.List extends POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>
getPlayersOrBuilderList() {
if (playersBuilder_ != null) {
return playersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(players_);
}
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder addPlayersBuilder() {
return getPlayersFieldBuilder().addBuilder(
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder addPlayersBuilder(
int index) {
return getPlayersFieldBuilder().addBuilder(
index, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.getDefaultInstance());
}
/**
* repeated .POGOProtos.Data.Battle.BattleParticipant players = 2;
*/
public java.util.List
getPlayersBuilderList() {
return getPlayersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>
getPlayersFieldBuilder() {
if (playersBuilder_ == null) {
playersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipant.Builder, POGOProtos.Data.Battle.BattleParticipantOuterClass.BattleParticipantOrBuilder>(
players_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
players_ = null;
}
return playersBuilder_;
}
private long playerJoinEndMs_ ;
/**
* int64 player_join_end_ms = 3;
*/
public long getPlayerJoinEndMs() {
return playerJoinEndMs_;
}
/**
* int64 player_join_end_ms = 3;
*/
public Builder setPlayerJoinEndMs(long value) {
playerJoinEndMs_ = value;
onChanged();
return this;
}
/**
* int64 player_join_end_ms = 3;
*/
public Builder clearPlayerJoinEndMs() {
playerJoinEndMs_ = 0L;
onChanged();
return this;
}
private long pokemonSelectionEndMs_ ;
/**
* int64 pokemon_selection_end_ms = 4;
*/
public long getPokemonSelectionEndMs() {
return pokemonSelectionEndMs_;
}
/**
* int64 pokemon_selection_end_ms = 4;
*/
public Builder setPokemonSelectionEndMs(long value) {
pokemonSelectionEndMs_ = value;
onChanged();
return this;
}
/**
* int64 pokemon_selection_end_ms = 4;
*/
public Builder clearPokemonSelectionEndMs() {
pokemonSelectionEndMs_ = 0L;
onChanged();
return this;
}
private long raidBattleStartMs_ ;
/**
* int64 raid_battle_start_ms = 5;
*/
public long getRaidBattleStartMs() {
return raidBattleStartMs_;
}
/**
* int64 raid_battle_start_ms = 5;
*/
public Builder setRaidBattleStartMs(long value) {
raidBattleStartMs_ = value;
onChanged();
return this;
}
/**
* int64 raid_battle_start_ms = 5;
*/
public Builder clearRaidBattleStartMs() {
raidBattleStartMs_ = 0L;
onChanged();
return this;
}
private long raidBattleEndMs_ ;
/**
* int64 raid_battle_end_ms = 6;
*/
public long getRaidBattleEndMs() {
return raidBattleEndMs_;
}
/**
* int64 raid_battle_end_ms = 6;
*/
public Builder setRaidBattleEndMs(long value) {
raidBattleEndMs_ = value;
onChanged();
return this;
}
/**
* int64 raid_battle_end_ms = 6;
*/
public Builder clearRaidBattleEndMs() {
raidBattleEndMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object raidBattleId_ = "";
/**
* string raid_battle_id = 8;
*/
public java.lang.String getRaidBattleId() {
java.lang.Object ref = raidBattleId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
raidBattleId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string raid_battle_id = 8;
*/
public com.google.protobuf.ByteString
getRaidBattleIdBytes() {
java.lang.Object ref = raidBattleId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
raidBattleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string raid_battle_id = 8;
*/
public Builder setRaidBattleId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
raidBattleId_ = value;
onChanged();
return this;
}
/**
* string raid_battle_id = 8;
*/
public Builder clearRaidBattleId() {
raidBattleId_ = getDefaultInstance().getRaidBattleId();
onChanged();
return this;
}
/**
* string raid_battle_id = 8;
*/
public Builder setRaidBattleIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
raidBattleId_ = value;
onChanged();
return this;
}
private java.lang.Object ownerNickname_ = "";
/**
* string owner_nickname = 9;
*/
public java.lang.String getOwnerNickname() {
java.lang.Object ref = ownerNickname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ownerNickname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string owner_nickname = 9;
*/
public com.google.protobuf.ByteString
getOwnerNicknameBytes() {
java.lang.Object ref = ownerNickname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ownerNickname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string owner_nickname = 9;
*/
public Builder setOwnerNickname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ownerNickname_ = value;
onChanged();
return this;
}
/**
* string owner_nickname = 9;
*/
public Builder clearOwnerNickname() {
ownerNickname_ = getDefaultInstance().getOwnerNickname();
onChanged();
return this;
}
/**
* string owner_nickname = 9;
*/
public Builder setOwnerNicknameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ownerNickname_ = value;
onChanged();
return this;
}
private boolean private_ ;
/**
* bool private = 10;
*/
public boolean getPrivate() {
return private_;
}
/**
* bool private = 10;
*/
public Builder setPrivate(boolean value) {
private_ = value;
onChanged();
return this;
}
/**
* bool private = 10;
*/
public Builder clearPrivate() {
private_ = false;
onChanged();
return this;
}
private long creationMs_ ;
/**
* int64 creation_ms = 11;
*/
public long getCreationMs() {
return creationMs_;
}
/**
* int64 creation_ms = 11;
*/
public Builder setCreationMs(long value) {
creationMs_ = value;
onChanged();
return this;
}
/**
* int64 creation_ms = 11;
*/
public Builder clearCreationMs() {
creationMs_ = 0L;
onChanged();
return this;
}
private int battlePlfeInstance_ ;
/**
* int32 battle_plfe_instance = 12;
*/
public int getBattlePlfeInstance() {
return battlePlfeInstance_;
}
/**
* int32 battle_plfe_instance = 12;
*/
public Builder setBattlePlfeInstance(int value) {
battlePlfeInstance_ = value;
onChanged();
return this;
}
/**
* int32 battle_plfe_instance = 12;
*/
public Builder clearBattlePlfeInstance() {
battlePlfeInstance_ = 0;
onChanged();
return this;
}
private int weatherCondition_ = 0;
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
public int getWeatherConditionValue() {
return weatherCondition_;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
public Builder setWeatherConditionValue(int value) {
weatherCondition_ = value;
onChanged();
return this;
}
/**
* .POGOProtos.Enums.WeatherCondition weather_condition = 13;
*/
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 = 13;
*/
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 = 13;
*/
public Builder clearWeatherCondition() {
weatherCondition_ = 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.Raid.Lobby)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Data.Raid.Lobby)
private static final POGOProtos.Data.Raid.LobbyOuterClass.Lobby DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Data.Raid.LobbyOuterClass.Lobby();
}
public static POGOProtos.Data.Raid.LobbyOuterClass.Lobby getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Lobby parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Lobby(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.Raid.LobbyOuterClass.Lobby getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Data_Raid_Lobby_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Data_Raid_Lobby_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/Raid/Lobby.proto\022\024POGO" +
"Protos.Data.Raid\032.POGOProtos/Data/Battle" +
"/BattleParticipant.proto\032\'POGOProtos/Enu" +
"ms/WeatherCondition.proto\"\200\003\n\005Lobby\022\020\n\010l" +
"obby_id\030\001 \003(\005\022:\n\007players\030\002 \003(\0132).POGOPro" +
"tos.Data.Battle.BattleParticipant\022\032\n\022pla" +
"yer_join_end_ms\030\003 \001(\003\022 \n\030pokemon_selecti" +
"on_end_ms\030\004 \001(\003\022\034\n\024raid_battle_start_ms\030" +
"\005 \001(\003\022\032\n\022raid_battle_end_ms\030\006 \001(\003\022\026\n\016rai" +
"d_battle_id\030\010 \001(\t\022\026\n\016owner_nickname\030\t \001(" +
"\t\022\017\n\007private\030\n \001(\010\022\023\n\013creation_ms\030\013 \001(\003\022" +
"\034\n\024battle_plfe_instance\030\014 \001(\005\022=\n\021weather" +
"_condition\030\r \001(\0162\".POGOProtos.Enums.Weat" +
"herConditionb\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.Enums.WeatherConditionOuterClass.getDescriptor(),
}, assigner);
internal_static_POGOProtos_Data_Raid_Lobby_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Data_Raid_Lobby_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Data_Raid_Lobby_descriptor,
new java.lang.String[] { "LobbyId", "Players", "PlayerJoinEndMs", "PokemonSelectionEndMs", "RaidBattleStartMs", "RaidBattleEndMs", "RaidBattleId", "OwnerNickname", "Private", "CreationMs", "BattlePlfeInstance", "WeatherCondition", });
POGOProtos.Data.Battle.BattleParticipantOuterClass.getDescriptor();
POGOProtos.Enums.WeatherConditionOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy