POGOProtos.Settings.CombatGlobalSettingsOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Settings/CombatGlobalSettings.proto
package POGOProtos.Settings;
public final class CombatGlobalSettingsOuterClass {
private CombatGlobalSettingsOuterClass() {}
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 CombatGlobalSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Settings.CombatGlobalSettings)
com.google.protobuf.MessageOrBuilder {
/**
* bool enable_combat = 1;
*/
boolean getEnableCombat();
/**
* int32 maximum_daily_rewarded_battles = 2;
*/
int getMaximumDailyRewardedBattles();
/**
* bool enable_combat_stat_stages = 3;
*/
boolean getEnableCombatStatStages();
/**
* uint32 minimum_player_level = 4;
*/
int getMinimumPlayerLevel();
/**
* int32 maximum_daily_npc_rewarded_battles = 5;
*/
int getMaximumDailyNpcRewardedBattles();
/**
* int32 active_combat_update_interval_ms = 6;
*/
int getActiveCombatUpdateIntervalMs();
/**
* int32 waiting_for_player_update_interval_ms = 7;
*/
int getWaitingForPlayerUpdateIntervalMs();
/**
* int32 ready_for_battle_update_interval_ms = 8;
*/
int getReadyForBattleUpdateIntervalMs();
/**
* int32 pre_move_submit_window_ms = 9;
*/
int getPreMoveSubmitWindowMs();
/**
* int32 post_move_submit_window_ms = 10;
*/
int getPostMoveSubmitWindowMs();
/**
* bool enable_sockets = 11;
*/
boolean getEnableSockets();
/**
* bool enable_spin_minigame = 12;
*/
boolean getEnableSpinMinigame();
/**
* bool enable_quick_swap_v2 = 13;
*/
boolean getEnableQuickSwapV2();
}
/**
* Protobuf type {@code POGOProtos.Settings.CombatGlobalSettings}
*/
public static final class CombatGlobalSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Settings.CombatGlobalSettings)
CombatGlobalSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use CombatGlobalSettings.newBuilder() to construct.
private CombatGlobalSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CombatGlobalSettings() {
enableCombat_ = false;
maximumDailyRewardedBattles_ = 0;
enableCombatStatStages_ = false;
minimumPlayerLevel_ = 0;
maximumDailyNpcRewardedBattles_ = 0;
activeCombatUpdateIntervalMs_ = 0;
waitingForPlayerUpdateIntervalMs_ = 0;
readyForBattleUpdateIntervalMs_ = 0;
preMoveSubmitWindowMs_ = 0;
postMoveSubmitWindowMs_ = 0;
enableSockets_ = false;
enableSpinMinigame_ = false;
enableQuickSwapV2_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CombatGlobalSettings(
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: {
enableCombat_ = input.readBool();
break;
}
case 16: {
maximumDailyRewardedBattles_ = input.readInt32();
break;
}
case 24: {
enableCombatStatStages_ = input.readBool();
break;
}
case 32: {
minimumPlayerLevel_ = input.readUInt32();
break;
}
case 40: {
maximumDailyNpcRewardedBattles_ = input.readInt32();
break;
}
case 48: {
activeCombatUpdateIntervalMs_ = input.readInt32();
break;
}
case 56: {
waitingForPlayerUpdateIntervalMs_ = input.readInt32();
break;
}
case 64: {
readyForBattleUpdateIntervalMs_ = input.readInt32();
break;
}
case 72: {
preMoveSubmitWindowMs_ = input.readInt32();
break;
}
case 80: {
postMoveSubmitWindowMs_ = input.readInt32();
break;
}
case 88: {
enableSockets_ = input.readBool();
break;
}
case 96: {
enableSpinMinigame_ = input.readBool();
break;
}
case 104: {
enableQuickSwapV2_ = input.readBool();
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.Settings.CombatGlobalSettingsOuterClass.internal_static_POGOProtos_Settings_CombatGlobalSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.CombatGlobalSettingsOuterClass.internal_static_POGOProtos_Settings_CombatGlobalSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.class, POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.Builder.class);
}
public static final int ENABLE_COMBAT_FIELD_NUMBER = 1;
private boolean enableCombat_;
/**
* bool enable_combat = 1;
*/
public boolean getEnableCombat() {
return enableCombat_;
}
public static final int MAXIMUM_DAILY_REWARDED_BATTLES_FIELD_NUMBER = 2;
private int maximumDailyRewardedBattles_;
/**
* int32 maximum_daily_rewarded_battles = 2;
*/
public int getMaximumDailyRewardedBattles() {
return maximumDailyRewardedBattles_;
}
public static final int ENABLE_COMBAT_STAT_STAGES_FIELD_NUMBER = 3;
private boolean enableCombatStatStages_;
/**
* bool enable_combat_stat_stages = 3;
*/
public boolean getEnableCombatStatStages() {
return enableCombatStatStages_;
}
public static final int MINIMUM_PLAYER_LEVEL_FIELD_NUMBER = 4;
private int minimumPlayerLevel_;
/**
* uint32 minimum_player_level = 4;
*/
public int getMinimumPlayerLevel() {
return minimumPlayerLevel_;
}
public static final int MAXIMUM_DAILY_NPC_REWARDED_BATTLES_FIELD_NUMBER = 5;
private int maximumDailyNpcRewardedBattles_;
/**
* int32 maximum_daily_npc_rewarded_battles = 5;
*/
public int getMaximumDailyNpcRewardedBattles() {
return maximumDailyNpcRewardedBattles_;
}
public static final int ACTIVE_COMBAT_UPDATE_INTERVAL_MS_FIELD_NUMBER = 6;
private int activeCombatUpdateIntervalMs_;
/**
* int32 active_combat_update_interval_ms = 6;
*/
public int getActiveCombatUpdateIntervalMs() {
return activeCombatUpdateIntervalMs_;
}
public static final int WAITING_FOR_PLAYER_UPDATE_INTERVAL_MS_FIELD_NUMBER = 7;
private int waitingForPlayerUpdateIntervalMs_;
/**
* int32 waiting_for_player_update_interval_ms = 7;
*/
public int getWaitingForPlayerUpdateIntervalMs() {
return waitingForPlayerUpdateIntervalMs_;
}
public static final int READY_FOR_BATTLE_UPDATE_INTERVAL_MS_FIELD_NUMBER = 8;
private int readyForBattleUpdateIntervalMs_;
/**
* int32 ready_for_battle_update_interval_ms = 8;
*/
public int getReadyForBattleUpdateIntervalMs() {
return readyForBattleUpdateIntervalMs_;
}
public static final int PRE_MOVE_SUBMIT_WINDOW_MS_FIELD_NUMBER = 9;
private int preMoveSubmitWindowMs_;
/**
* int32 pre_move_submit_window_ms = 9;
*/
public int getPreMoveSubmitWindowMs() {
return preMoveSubmitWindowMs_;
}
public static final int POST_MOVE_SUBMIT_WINDOW_MS_FIELD_NUMBER = 10;
private int postMoveSubmitWindowMs_;
/**
* int32 post_move_submit_window_ms = 10;
*/
public int getPostMoveSubmitWindowMs() {
return postMoveSubmitWindowMs_;
}
public static final int ENABLE_SOCKETS_FIELD_NUMBER = 11;
private boolean enableSockets_;
/**
* bool enable_sockets = 11;
*/
public boolean getEnableSockets() {
return enableSockets_;
}
public static final int ENABLE_SPIN_MINIGAME_FIELD_NUMBER = 12;
private boolean enableSpinMinigame_;
/**
* bool enable_spin_minigame = 12;
*/
public boolean getEnableSpinMinigame() {
return enableSpinMinigame_;
}
public static final int ENABLE_QUICK_SWAP_V2_FIELD_NUMBER = 13;
private boolean enableQuickSwapV2_;
/**
* bool enable_quick_swap_v2 = 13;
*/
public boolean getEnableQuickSwapV2() {
return enableQuickSwapV2_;
}
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 (enableCombat_ != false) {
output.writeBool(1, enableCombat_);
}
if (maximumDailyRewardedBattles_ != 0) {
output.writeInt32(2, maximumDailyRewardedBattles_);
}
if (enableCombatStatStages_ != false) {
output.writeBool(3, enableCombatStatStages_);
}
if (minimumPlayerLevel_ != 0) {
output.writeUInt32(4, minimumPlayerLevel_);
}
if (maximumDailyNpcRewardedBattles_ != 0) {
output.writeInt32(5, maximumDailyNpcRewardedBattles_);
}
if (activeCombatUpdateIntervalMs_ != 0) {
output.writeInt32(6, activeCombatUpdateIntervalMs_);
}
if (waitingForPlayerUpdateIntervalMs_ != 0) {
output.writeInt32(7, waitingForPlayerUpdateIntervalMs_);
}
if (readyForBattleUpdateIntervalMs_ != 0) {
output.writeInt32(8, readyForBattleUpdateIntervalMs_);
}
if (preMoveSubmitWindowMs_ != 0) {
output.writeInt32(9, preMoveSubmitWindowMs_);
}
if (postMoveSubmitWindowMs_ != 0) {
output.writeInt32(10, postMoveSubmitWindowMs_);
}
if (enableSockets_ != false) {
output.writeBool(11, enableSockets_);
}
if (enableSpinMinigame_ != false) {
output.writeBool(12, enableSpinMinigame_);
}
if (enableQuickSwapV2_ != false) {
output.writeBool(13, enableQuickSwapV2_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (enableCombat_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, enableCombat_);
}
if (maximumDailyRewardedBattles_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, maximumDailyRewardedBattles_);
}
if (enableCombatStatStages_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, enableCombatStatStages_);
}
if (minimumPlayerLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, minimumPlayerLevel_);
}
if (maximumDailyNpcRewardedBattles_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, maximumDailyNpcRewardedBattles_);
}
if (activeCombatUpdateIntervalMs_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, activeCombatUpdateIntervalMs_);
}
if (waitingForPlayerUpdateIntervalMs_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, waitingForPlayerUpdateIntervalMs_);
}
if (readyForBattleUpdateIntervalMs_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, readyForBattleUpdateIntervalMs_);
}
if (preMoveSubmitWindowMs_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, preMoveSubmitWindowMs_);
}
if (postMoveSubmitWindowMs_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, postMoveSubmitWindowMs_);
}
if (enableSockets_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, enableSockets_);
}
if (enableSpinMinigame_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, enableSpinMinigame_);
}
if (enableQuickSwapV2_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, enableQuickSwapV2_);
}
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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings)) {
return super.equals(obj);
}
POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings other = (POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings) obj;
boolean result = true;
result = result && (getEnableCombat()
== other.getEnableCombat());
result = result && (getMaximumDailyRewardedBattles()
== other.getMaximumDailyRewardedBattles());
result = result && (getEnableCombatStatStages()
== other.getEnableCombatStatStages());
result = result && (getMinimumPlayerLevel()
== other.getMinimumPlayerLevel());
result = result && (getMaximumDailyNpcRewardedBattles()
== other.getMaximumDailyNpcRewardedBattles());
result = result && (getActiveCombatUpdateIntervalMs()
== other.getActiveCombatUpdateIntervalMs());
result = result && (getWaitingForPlayerUpdateIntervalMs()
== other.getWaitingForPlayerUpdateIntervalMs());
result = result && (getReadyForBattleUpdateIntervalMs()
== other.getReadyForBattleUpdateIntervalMs());
result = result && (getPreMoveSubmitWindowMs()
== other.getPreMoveSubmitWindowMs());
result = result && (getPostMoveSubmitWindowMs()
== other.getPostMoveSubmitWindowMs());
result = result && (getEnableSockets()
== other.getEnableSockets());
result = result && (getEnableSpinMinigame()
== other.getEnableSpinMinigame());
result = result && (getEnableQuickSwapV2()
== other.getEnableQuickSwapV2());
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) + ENABLE_COMBAT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableCombat());
hash = (37 * hash) + MAXIMUM_DAILY_REWARDED_BATTLES_FIELD_NUMBER;
hash = (53 * hash) + getMaximumDailyRewardedBattles();
hash = (37 * hash) + ENABLE_COMBAT_STAT_STAGES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableCombatStatStages());
hash = (37 * hash) + MINIMUM_PLAYER_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getMinimumPlayerLevel();
hash = (37 * hash) + MAXIMUM_DAILY_NPC_REWARDED_BATTLES_FIELD_NUMBER;
hash = (53 * hash) + getMaximumDailyNpcRewardedBattles();
hash = (37 * hash) + ACTIVE_COMBAT_UPDATE_INTERVAL_MS_FIELD_NUMBER;
hash = (53 * hash) + getActiveCombatUpdateIntervalMs();
hash = (37 * hash) + WAITING_FOR_PLAYER_UPDATE_INTERVAL_MS_FIELD_NUMBER;
hash = (53 * hash) + getWaitingForPlayerUpdateIntervalMs();
hash = (37 * hash) + READY_FOR_BATTLE_UPDATE_INTERVAL_MS_FIELD_NUMBER;
hash = (53 * hash) + getReadyForBattleUpdateIntervalMs();
hash = (37 * hash) + PRE_MOVE_SUBMIT_WINDOW_MS_FIELD_NUMBER;
hash = (53 * hash) + getPreMoveSubmitWindowMs();
hash = (37 * hash) + POST_MOVE_SUBMIT_WINDOW_MS_FIELD_NUMBER;
hash = (53 * hash) + getPostMoveSubmitWindowMs();
hash = (37 * hash) + ENABLE_SOCKETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableSockets());
hash = (37 * hash) + ENABLE_SPIN_MINIGAME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableSpinMinigame());
hash = (37 * hash) + ENABLE_QUICK_SWAP_V2_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableQuickSwapV2());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings 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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings 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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings 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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings 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.Settings.CombatGlobalSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Settings.CombatGlobalSettings)
POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.CombatGlobalSettingsOuterClass.internal_static_POGOProtos_Settings_CombatGlobalSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.CombatGlobalSettingsOuterClass.internal_static_POGOProtos_Settings_CombatGlobalSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.class, POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.Builder.class);
}
// Construct using POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.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();
enableCombat_ = false;
maximumDailyRewardedBattles_ = 0;
enableCombatStatStages_ = false;
minimumPlayerLevel_ = 0;
maximumDailyNpcRewardedBattles_ = 0;
activeCombatUpdateIntervalMs_ = 0;
waitingForPlayerUpdateIntervalMs_ = 0;
readyForBattleUpdateIntervalMs_ = 0;
preMoveSubmitWindowMs_ = 0;
postMoveSubmitWindowMs_ = 0;
enableSockets_ = false;
enableSpinMinigame_ = false;
enableQuickSwapV2_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Settings.CombatGlobalSettingsOuterClass.internal_static_POGOProtos_Settings_CombatGlobalSettings_descriptor;
}
@java.lang.Override
public POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings getDefaultInstanceForType() {
return POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings build() {
POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings buildPartial() {
POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings result = new POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings(this);
result.enableCombat_ = enableCombat_;
result.maximumDailyRewardedBattles_ = maximumDailyRewardedBattles_;
result.enableCombatStatStages_ = enableCombatStatStages_;
result.minimumPlayerLevel_ = minimumPlayerLevel_;
result.maximumDailyNpcRewardedBattles_ = maximumDailyNpcRewardedBattles_;
result.activeCombatUpdateIntervalMs_ = activeCombatUpdateIntervalMs_;
result.waitingForPlayerUpdateIntervalMs_ = waitingForPlayerUpdateIntervalMs_;
result.readyForBattleUpdateIntervalMs_ = readyForBattleUpdateIntervalMs_;
result.preMoveSubmitWindowMs_ = preMoveSubmitWindowMs_;
result.postMoveSubmitWindowMs_ = postMoveSubmitWindowMs_;
result.enableSockets_ = enableSockets_;
result.enableSpinMinigame_ = enableSpinMinigame_;
result.enableQuickSwapV2_ = enableQuickSwapV2_;
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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings) {
return mergeFrom((POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings other) {
if (other == POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings.getDefaultInstance()) return this;
if (other.getEnableCombat() != false) {
setEnableCombat(other.getEnableCombat());
}
if (other.getMaximumDailyRewardedBattles() != 0) {
setMaximumDailyRewardedBattles(other.getMaximumDailyRewardedBattles());
}
if (other.getEnableCombatStatStages() != false) {
setEnableCombatStatStages(other.getEnableCombatStatStages());
}
if (other.getMinimumPlayerLevel() != 0) {
setMinimumPlayerLevel(other.getMinimumPlayerLevel());
}
if (other.getMaximumDailyNpcRewardedBattles() != 0) {
setMaximumDailyNpcRewardedBattles(other.getMaximumDailyNpcRewardedBattles());
}
if (other.getActiveCombatUpdateIntervalMs() != 0) {
setActiveCombatUpdateIntervalMs(other.getActiveCombatUpdateIntervalMs());
}
if (other.getWaitingForPlayerUpdateIntervalMs() != 0) {
setWaitingForPlayerUpdateIntervalMs(other.getWaitingForPlayerUpdateIntervalMs());
}
if (other.getReadyForBattleUpdateIntervalMs() != 0) {
setReadyForBattleUpdateIntervalMs(other.getReadyForBattleUpdateIntervalMs());
}
if (other.getPreMoveSubmitWindowMs() != 0) {
setPreMoveSubmitWindowMs(other.getPreMoveSubmitWindowMs());
}
if (other.getPostMoveSubmitWindowMs() != 0) {
setPostMoveSubmitWindowMs(other.getPostMoveSubmitWindowMs());
}
if (other.getEnableSockets() != false) {
setEnableSockets(other.getEnableSockets());
}
if (other.getEnableSpinMinigame() != false) {
setEnableSpinMinigame(other.getEnableSpinMinigame());
}
if (other.getEnableQuickSwapV2() != false) {
setEnableQuickSwapV2(other.getEnableQuickSwapV2());
}
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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean enableCombat_ ;
/**
* bool enable_combat = 1;
*/
public boolean getEnableCombat() {
return enableCombat_;
}
/**
* bool enable_combat = 1;
*/
public Builder setEnableCombat(boolean value) {
enableCombat_ = value;
onChanged();
return this;
}
/**
* bool enable_combat = 1;
*/
public Builder clearEnableCombat() {
enableCombat_ = false;
onChanged();
return this;
}
private int maximumDailyRewardedBattles_ ;
/**
* int32 maximum_daily_rewarded_battles = 2;
*/
public int getMaximumDailyRewardedBattles() {
return maximumDailyRewardedBattles_;
}
/**
* int32 maximum_daily_rewarded_battles = 2;
*/
public Builder setMaximumDailyRewardedBattles(int value) {
maximumDailyRewardedBattles_ = value;
onChanged();
return this;
}
/**
* int32 maximum_daily_rewarded_battles = 2;
*/
public Builder clearMaximumDailyRewardedBattles() {
maximumDailyRewardedBattles_ = 0;
onChanged();
return this;
}
private boolean enableCombatStatStages_ ;
/**
* bool enable_combat_stat_stages = 3;
*/
public boolean getEnableCombatStatStages() {
return enableCombatStatStages_;
}
/**
* bool enable_combat_stat_stages = 3;
*/
public Builder setEnableCombatStatStages(boolean value) {
enableCombatStatStages_ = value;
onChanged();
return this;
}
/**
* bool enable_combat_stat_stages = 3;
*/
public Builder clearEnableCombatStatStages() {
enableCombatStatStages_ = false;
onChanged();
return this;
}
private int minimumPlayerLevel_ ;
/**
* uint32 minimum_player_level = 4;
*/
public int getMinimumPlayerLevel() {
return minimumPlayerLevel_;
}
/**
* uint32 minimum_player_level = 4;
*/
public Builder setMinimumPlayerLevel(int value) {
minimumPlayerLevel_ = value;
onChanged();
return this;
}
/**
* uint32 minimum_player_level = 4;
*/
public Builder clearMinimumPlayerLevel() {
minimumPlayerLevel_ = 0;
onChanged();
return this;
}
private int maximumDailyNpcRewardedBattles_ ;
/**
* int32 maximum_daily_npc_rewarded_battles = 5;
*/
public int getMaximumDailyNpcRewardedBattles() {
return maximumDailyNpcRewardedBattles_;
}
/**
* int32 maximum_daily_npc_rewarded_battles = 5;
*/
public Builder setMaximumDailyNpcRewardedBattles(int value) {
maximumDailyNpcRewardedBattles_ = value;
onChanged();
return this;
}
/**
* int32 maximum_daily_npc_rewarded_battles = 5;
*/
public Builder clearMaximumDailyNpcRewardedBattles() {
maximumDailyNpcRewardedBattles_ = 0;
onChanged();
return this;
}
private int activeCombatUpdateIntervalMs_ ;
/**
* int32 active_combat_update_interval_ms = 6;
*/
public int getActiveCombatUpdateIntervalMs() {
return activeCombatUpdateIntervalMs_;
}
/**
* int32 active_combat_update_interval_ms = 6;
*/
public Builder setActiveCombatUpdateIntervalMs(int value) {
activeCombatUpdateIntervalMs_ = value;
onChanged();
return this;
}
/**
* int32 active_combat_update_interval_ms = 6;
*/
public Builder clearActiveCombatUpdateIntervalMs() {
activeCombatUpdateIntervalMs_ = 0;
onChanged();
return this;
}
private int waitingForPlayerUpdateIntervalMs_ ;
/**
* int32 waiting_for_player_update_interval_ms = 7;
*/
public int getWaitingForPlayerUpdateIntervalMs() {
return waitingForPlayerUpdateIntervalMs_;
}
/**
* int32 waiting_for_player_update_interval_ms = 7;
*/
public Builder setWaitingForPlayerUpdateIntervalMs(int value) {
waitingForPlayerUpdateIntervalMs_ = value;
onChanged();
return this;
}
/**
* int32 waiting_for_player_update_interval_ms = 7;
*/
public Builder clearWaitingForPlayerUpdateIntervalMs() {
waitingForPlayerUpdateIntervalMs_ = 0;
onChanged();
return this;
}
private int readyForBattleUpdateIntervalMs_ ;
/**
* int32 ready_for_battle_update_interval_ms = 8;
*/
public int getReadyForBattleUpdateIntervalMs() {
return readyForBattleUpdateIntervalMs_;
}
/**
* int32 ready_for_battle_update_interval_ms = 8;
*/
public Builder setReadyForBattleUpdateIntervalMs(int value) {
readyForBattleUpdateIntervalMs_ = value;
onChanged();
return this;
}
/**
* int32 ready_for_battle_update_interval_ms = 8;
*/
public Builder clearReadyForBattleUpdateIntervalMs() {
readyForBattleUpdateIntervalMs_ = 0;
onChanged();
return this;
}
private int preMoveSubmitWindowMs_ ;
/**
* int32 pre_move_submit_window_ms = 9;
*/
public int getPreMoveSubmitWindowMs() {
return preMoveSubmitWindowMs_;
}
/**
* int32 pre_move_submit_window_ms = 9;
*/
public Builder setPreMoveSubmitWindowMs(int value) {
preMoveSubmitWindowMs_ = value;
onChanged();
return this;
}
/**
* int32 pre_move_submit_window_ms = 9;
*/
public Builder clearPreMoveSubmitWindowMs() {
preMoveSubmitWindowMs_ = 0;
onChanged();
return this;
}
private int postMoveSubmitWindowMs_ ;
/**
* int32 post_move_submit_window_ms = 10;
*/
public int getPostMoveSubmitWindowMs() {
return postMoveSubmitWindowMs_;
}
/**
* int32 post_move_submit_window_ms = 10;
*/
public Builder setPostMoveSubmitWindowMs(int value) {
postMoveSubmitWindowMs_ = value;
onChanged();
return this;
}
/**
* int32 post_move_submit_window_ms = 10;
*/
public Builder clearPostMoveSubmitWindowMs() {
postMoveSubmitWindowMs_ = 0;
onChanged();
return this;
}
private boolean enableSockets_ ;
/**
* bool enable_sockets = 11;
*/
public boolean getEnableSockets() {
return enableSockets_;
}
/**
* bool enable_sockets = 11;
*/
public Builder setEnableSockets(boolean value) {
enableSockets_ = value;
onChanged();
return this;
}
/**
* bool enable_sockets = 11;
*/
public Builder clearEnableSockets() {
enableSockets_ = false;
onChanged();
return this;
}
private boolean enableSpinMinigame_ ;
/**
* bool enable_spin_minigame = 12;
*/
public boolean getEnableSpinMinigame() {
return enableSpinMinigame_;
}
/**
* bool enable_spin_minigame = 12;
*/
public Builder setEnableSpinMinigame(boolean value) {
enableSpinMinigame_ = value;
onChanged();
return this;
}
/**
* bool enable_spin_minigame = 12;
*/
public Builder clearEnableSpinMinigame() {
enableSpinMinigame_ = false;
onChanged();
return this;
}
private boolean enableQuickSwapV2_ ;
/**
* bool enable_quick_swap_v2 = 13;
*/
public boolean getEnableQuickSwapV2() {
return enableQuickSwapV2_;
}
/**
* bool enable_quick_swap_v2 = 13;
*/
public Builder setEnableQuickSwapV2(boolean value) {
enableQuickSwapV2_ = value;
onChanged();
return this;
}
/**
* bool enable_quick_swap_v2 = 13;
*/
public Builder clearEnableQuickSwapV2() {
enableQuickSwapV2_ = false;
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.Settings.CombatGlobalSettings)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Settings.CombatGlobalSettings)
private static final POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings();
}
public static POGOProtos.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CombatGlobalSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CombatGlobalSettings(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.Settings.CombatGlobalSettingsOuterClass.CombatGlobalSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Settings_CombatGlobalSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Settings_CombatGlobalSettings_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/Settings/CombatGlobalSettin" +
"gs.proto\022\023POGOProtos.Settings\"\343\003\n\024Combat" +
"GlobalSettings\022\025\n\renable_combat\030\001 \001(\010\022&\n" +
"\036maximum_daily_rewarded_battles\030\002 \001(\005\022!\n" +
"\031enable_combat_stat_stages\030\003 \001(\010\022\034\n\024mini" +
"mum_player_level\030\004 \001(\r\022*\n\"maximum_daily_" +
"npc_rewarded_battles\030\005 \001(\005\022(\n active_com" +
"bat_update_interval_ms\030\006 \001(\005\022-\n%waiting_" +
"for_player_update_interval_ms\030\007 \001(\005\022+\n#r" +
"eady_for_battle_update_interval_ms\030\010 \001(\005" +
"\022!\n\031pre_move_submit_window_ms\030\t \001(\005\022\"\n\032p" +
"ost_move_submit_window_ms\030\n \001(\005\022\026\n\016enabl" +
"e_sockets\030\013 \001(\010\022\034\n\024enable_spin_minigame\030" +
"\014 \001(\010\022\034\n\024enable_quick_swap_v2\030\r \001(\010b\006pro" +
"to3"
};
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[] {
}, assigner);
internal_static_POGOProtos_Settings_CombatGlobalSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Settings_CombatGlobalSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Settings_CombatGlobalSettings_descriptor,
new java.lang.String[] { "EnableCombat", "MaximumDailyRewardedBattles", "EnableCombatStatStages", "MinimumPlayerLevel", "MaximumDailyNpcRewardedBattles", "ActiveCombatUpdateIntervalMs", "WaitingForPlayerUpdateIntervalMs", "ReadyForBattleUpdateIntervalMs", "PreMoveSubmitWindowMs", "PostMoveSubmitWindowMs", "EnableSockets", "EnableSpinMinigame", "EnableQuickSwapV2", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy