POGOProtos.Settings.BackgroundModeClientSettingsOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Settings/BackgroundModeClientSettings.proto
package POGOProtos.Settings;
public final class BackgroundModeClientSettingsOuterClass {
private BackgroundModeClientSettingsOuterClass() {}
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 BackgroundModeClientSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:POGOProtos.Settings.BackgroundModeClientSettings)
com.google.protobuf.MessageOrBuilder {
/**
* int64 maximum_sample_age_ms = 1;
*/
long getMaximumSampleAgeMs();
/**
* bool accept_manual_fitness_samples = 2;
*/
boolean getAcceptManualFitnessSamples();
/**
* double minimum_location_accuracy_meters = 3;
*/
double getMinimumLocationAccuracyMeters();
/**
* int32 background_wake_up_interval_minutes = 4;
*/
int getBackgroundWakeUpIntervalMinutes();
/**
* int32 max_upload_size_in_bytes = 5;
*/
int getMaxUploadSizeInBytes();
/**
* double min_enclosing_geofence_radius_m = 6;
*/
double getMinEnclosingGeofenceRadiusM();
}
/**
* Protobuf type {@code POGOProtos.Settings.BackgroundModeClientSettings}
*/
public static final class BackgroundModeClientSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:POGOProtos.Settings.BackgroundModeClientSettings)
BackgroundModeClientSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use BackgroundModeClientSettings.newBuilder() to construct.
private BackgroundModeClientSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BackgroundModeClientSettings() {
maximumSampleAgeMs_ = 0L;
acceptManualFitnessSamples_ = false;
minimumLocationAccuracyMeters_ = 0D;
backgroundWakeUpIntervalMinutes_ = 0;
maxUploadSizeInBytes_ = 0;
minEnclosingGeofenceRadiusM_ = 0D;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BackgroundModeClientSettings(
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: {
maximumSampleAgeMs_ = input.readInt64();
break;
}
case 16: {
acceptManualFitnessSamples_ = input.readBool();
break;
}
case 25: {
minimumLocationAccuracyMeters_ = input.readDouble();
break;
}
case 32: {
backgroundWakeUpIntervalMinutes_ = input.readInt32();
break;
}
case 40: {
maxUploadSizeInBytes_ = input.readInt32();
break;
}
case 49: {
minEnclosingGeofenceRadiusM_ = input.readDouble();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.internal_static_POGOProtos_Settings_BackgroundModeClientSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.internal_static_POGOProtos_Settings_BackgroundModeClientSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.class, POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.Builder.class);
}
public static final int MAXIMUM_SAMPLE_AGE_MS_FIELD_NUMBER = 1;
private long maximumSampleAgeMs_;
/**
* int64 maximum_sample_age_ms = 1;
*/
public long getMaximumSampleAgeMs() {
return maximumSampleAgeMs_;
}
public static final int ACCEPT_MANUAL_FITNESS_SAMPLES_FIELD_NUMBER = 2;
private boolean acceptManualFitnessSamples_;
/**
* bool accept_manual_fitness_samples = 2;
*/
public boolean getAcceptManualFitnessSamples() {
return acceptManualFitnessSamples_;
}
public static final int MINIMUM_LOCATION_ACCURACY_METERS_FIELD_NUMBER = 3;
private double minimumLocationAccuracyMeters_;
/**
* double minimum_location_accuracy_meters = 3;
*/
public double getMinimumLocationAccuracyMeters() {
return minimumLocationAccuracyMeters_;
}
public static final int BACKGROUND_WAKE_UP_INTERVAL_MINUTES_FIELD_NUMBER = 4;
private int backgroundWakeUpIntervalMinutes_;
/**
* int32 background_wake_up_interval_minutes = 4;
*/
public int getBackgroundWakeUpIntervalMinutes() {
return backgroundWakeUpIntervalMinutes_;
}
public static final int MAX_UPLOAD_SIZE_IN_BYTES_FIELD_NUMBER = 5;
private int maxUploadSizeInBytes_;
/**
* int32 max_upload_size_in_bytes = 5;
*/
public int getMaxUploadSizeInBytes() {
return maxUploadSizeInBytes_;
}
public static final int MIN_ENCLOSING_GEOFENCE_RADIUS_M_FIELD_NUMBER = 6;
private double minEnclosingGeofenceRadiusM_;
/**
* double min_enclosing_geofence_radius_m = 6;
*/
public double getMinEnclosingGeofenceRadiusM() {
return minEnclosingGeofenceRadiusM_;
}
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 (maximumSampleAgeMs_ != 0L) {
output.writeInt64(1, maximumSampleAgeMs_);
}
if (acceptManualFitnessSamples_ != false) {
output.writeBool(2, acceptManualFitnessSamples_);
}
if (minimumLocationAccuracyMeters_ != 0D) {
output.writeDouble(3, minimumLocationAccuracyMeters_);
}
if (backgroundWakeUpIntervalMinutes_ != 0) {
output.writeInt32(4, backgroundWakeUpIntervalMinutes_);
}
if (maxUploadSizeInBytes_ != 0) {
output.writeInt32(5, maxUploadSizeInBytes_);
}
if (minEnclosingGeofenceRadiusM_ != 0D) {
output.writeDouble(6, minEnclosingGeofenceRadiusM_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (maximumSampleAgeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, maximumSampleAgeMs_);
}
if (acceptManualFitnessSamples_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, acceptManualFitnessSamples_);
}
if (minimumLocationAccuracyMeters_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, minimumLocationAccuracyMeters_);
}
if (backgroundWakeUpIntervalMinutes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, backgroundWakeUpIntervalMinutes_);
}
if (maxUploadSizeInBytes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, maxUploadSizeInBytes_);
}
if (minEnclosingGeofenceRadiusM_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, minEnclosingGeofenceRadiusM_);
}
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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings)) {
return super.equals(obj);
}
POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings other = (POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings) obj;
boolean result = true;
result = result && (getMaximumSampleAgeMs()
== other.getMaximumSampleAgeMs());
result = result && (getAcceptManualFitnessSamples()
== other.getAcceptManualFitnessSamples());
result = result && (
java.lang.Double.doubleToLongBits(getMinimumLocationAccuracyMeters())
== java.lang.Double.doubleToLongBits(
other.getMinimumLocationAccuracyMeters()));
result = result && (getBackgroundWakeUpIntervalMinutes()
== other.getBackgroundWakeUpIntervalMinutes());
result = result && (getMaxUploadSizeInBytes()
== other.getMaxUploadSizeInBytes());
result = result && (
java.lang.Double.doubleToLongBits(getMinEnclosingGeofenceRadiusM())
== java.lang.Double.doubleToLongBits(
other.getMinEnclosingGeofenceRadiusM()));
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) + MAXIMUM_SAMPLE_AGE_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaximumSampleAgeMs());
hash = (37 * hash) + ACCEPT_MANUAL_FITNESS_SAMPLES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAcceptManualFitnessSamples());
hash = (37 * hash) + MINIMUM_LOCATION_ACCURACY_METERS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMinimumLocationAccuracyMeters()));
hash = (37 * hash) + BACKGROUND_WAKE_UP_INTERVAL_MINUTES_FIELD_NUMBER;
hash = (53 * hash) + getBackgroundWakeUpIntervalMinutes();
hash = (37 * hash) + MAX_UPLOAD_SIZE_IN_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getMaxUploadSizeInBytes();
hash = (37 * hash) + MIN_ENCLOSING_GEOFENCE_RADIUS_M_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getMinEnclosingGeofenceRadiusM()));
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings 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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings 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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings 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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings 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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings 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.BackgroundModeClientSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:POGOProtos.Settings.BackgroundModeClientSettings)
POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.internal_static_POGOProtos_Settings_BackgroundModeClientSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.internal_static_POGOProtos_Settings_BackgroundModeClientSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.class, POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.Builder.class);
}
// Construct using POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.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();
maximumSampleAgeMs_ = 0L;
acceptManualFitnessSamples_ = false;
minimumLocationAccuracyMeters_ = 0D;
backgroundWakeUpIntervalMinutes_ = 0;
maxUploadSizeInBytes_ = 0;
minEnclosingGeofenceRadiusM_ = 0D;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.internal_static_POGOProtos_Settings_BackgroundModeClientSettings_descriptor;
}
@java.lang.Override
public POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings getDefaultInstanceForType() {
return POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.getDefaultInstance();
}
@java.lang.Override
public POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings build() {
POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings buildPartial() {
POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings result = new POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings(this);
result.maximumSampleAgeMs_ = maximumSampleAgeMs_;
result.acceptManualFitnessSamples_ = acceptManualFitnessSamples_;
result.minimumLocationAccuracyMeters_ = minimumLocationAccuracyMeters_;
result.backgroundWakeUpIntervalMinutes_ = backgroundWakeUpIntervalMinutes_;
result.maxUploadSizeInBytes_ = maxUploadSizeInBytes_;
result.minEnclosingGeofenceRadiusM_ = minEnclosingGeofenceRadiusM_;
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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings) {
return mergeFrom((POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings other) {
if (other == POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings.getDefaultInstance()) return this;
if (other.getMaximumSampleAgeMs() != 0L) {
setMaximumSampleAgeMs(other.getMaximumSampleAgeMs());
}
if (other.getAcceptManualFitnessSamples() != false) {
setAcceptManualFitnessSamples(other.getAcceptManualFitnessSamples());
}
if (other.getMinimumLocationAccuracyMeters() != 0D) {
setMinimumLocationAccuracyMeters(other.getMinimumLocationAccuracyMeters());
}
if (other.getBackgroundWakeUpIntervalMinutes() != 0) {
setBackgroundWakeUpIntervalMinutes(other.getBackgroundWakeUpIntervalMinutes());
}
if (other.getMaxUploadSizeInBytes() != 0) {
setMaxUploadSizeInBytes(other.getMaxUploadSizeInBytes());
}
if (other.getMinEnclosingGeofenceRadiusM() != 0D) {
setMinEnclosingGeofenceRadiusM(other.getMinEnclosingGeofenceRadiusM());
}
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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long maximumSampleAgeMs_ ;
/**
* int64 maximum_sample_age_ms = 1;
*/
public long getMaximumSampleAgeMs() {
return maximumSampleAgeMs_;
}
/**
* int64 maximum_sample_age_ms = 1;
*/
public Builder setMaximumSampleAgeMs(long value) {
maximumSampleAgeMs_ = value;
onChanged();
return this;
}
/**
* int64 maximum_sample_age_ms = 1;
*/
public Builder clearMaximumSampleAgeMs() {
maximumSampleAgeMs_ = 0L;
onChanged();
return this;
}
private boolean acceptManualFitnessSamples_ ;
/**
* bool accept_manual_fitness_samples = 2;
*/
public boolean getAcceptManualFitnessSamples() {
return acceptManualFitnessSamples_;
}
/**
* bool accept_manual_fitness_samples = 2;
*/
public Builder setAcceptManualFitnessSamples(boolean value) {
acceptManualFitnessSamples_ = value;
onChanged();
return this;
}
/**
* bool accept_manual_fitness_samples = 2;
*/
public Builder clearAcceptManualFitnessSamples() {
acceptManualFitnessSamples_ = false;
onChanged();
return this;
}
private double minimumLocationAccuracyMeters_ ;
/**
* double minimum_location_accuracy_meters = 3;
*/
public double getMinimumLocationAccuracyMeters() {
return minimumLocationAccuracyMeters_;
}
/**
* double minimum_location_accuracy_meters = 3;
*/
public Builder setMinimumLocationAccuracyMeters(double value) {
minimumLocationAccuracyMeters_ = value;
onChanged();
return this;
}
/**
* double minimum_location_accuracy_meters = 3;
*/
public Builder clearMinimumLocationAccuracyMeters() {
minimumLocationAccuracyMeters_ = 0D;
onChanged();
return this;
}
private int backgroundWakeUpIntervalMinutes_ ;
/**
* int32 background_wake_up_interval_minutes = 4;
*/
public int getBackgroundWakeUpIntervalMinutes() {
return backgroundWakeUpIntervalMinutes_;
}
/**
* int32 background_wake_up_interval_minutes = 4;
*/
public Builder setBackgroundWakeUpIntervalMinutes(int value) {
backgroundWakeUpIntervalMinutes_ = value;
onChanged();
return this;
}
/**
* int32 background_wake_up_interval_minutes = 4;
*/
public Builder clearBackgroundWakeUpIntervalMinutes() {
backgroundWakeUpIntervalMinutes_ = 0;
onChanged();
return this;
}
private int maxUploadSizeInBytes_ ;
/**
* int32 max_upload_size_in_bytes = 5;
*/
public int getMaxUploadSizeInBytes() {
return maxUploadSizeInBytes_;
}
/**
* int32 max_upload_size_in_bytes = 5;
*/
public Builder setMaxUploadSizeInBytes(int value) {
maxUploadSizeInBytes_ = value;
onChanged();
return this;
}
/**
* int32 max_upload_size_in_bytes = 5;
*/
public Builder clearMaxUploadSizeInBytes() {
maxUploadSizeInBytes_ = 0;
onChanged();
return this;
}
private double minEnclosingGeofenceRadiusM_ ;
/**
* double min_enclosing_geofence_radius_m = 6;
*/
public double getMinEnclosingGeofenceRadiusM() {
return minEnclosingGeofenceRadiusM_;
}
/**
* double min_enclosing_geofence_radius_m = 6;
*/
public Builder setMinEnclosingGeofenceRadiusM(double value) {
minEnclosingGeofenceRadiusM_ = value;
onChanged();
return this;
}
/**
* double min_enclosing_geofence_radius_m = 6;
*/
public Builder clearMinEnclosingGeofenceRadiusM() {
minEnclosingGeofenceRadiusM_ = 0D;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:POGOProtos.Settings.BackgroundModeClientSettings)
}
// @@protoc_insertion_point(class_scope:POGOProtos.Settings.BackgroundModeClientSettings)
private static final POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings();
}
public static POGOProtos.Settings.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BackgroundModeClientSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BackgroundModeClientSettings(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.BackgroundModeClientSettingsOuterClass.BackgroundModeClientSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_POGOProtos_Settings_BackgroundModeClientSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_POGOProtos_Settings_BackgroundModeClientSettings_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n6POGOProtos/Settings/BackgroundModeClie" +
"ntSettings.proto\022\023POGOProtos.Settings\"\206\002" +
"\n\034BackgroundModeClientSettings\022\035\n\025maximu" +
"m_sample_age_ms\030\001 \001(\003\022%\n\035accept_manual_f" +
"itness_samples\030\002 \001(\010\022(\n minimum_location" +
"_accuracy_meters\030\003 \001(\001\022+\n#background_wak" +
"e_up_interval_minutes\030\004 \001(\005\022 \n\030max_uploa" +
"d_size_in_bytes\030\005 \001(\005\022\'\n\037min_enclosing_g" +
"eofence_radius_m\030\006 \001(\001b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_POGOProtos_Settings_BackgroundModeClientSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_POGOProtos_Settings_BackgroundModeClientSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_POGOProtos_Settings_BackgroundModeClientSettings_descriptor,
new java.lang.String[] { "MaximumSampleAgeMs", "AcceptManualFitnessSamples", "MinimumLocationAccuracyMeters", "BackgroundWakeUpIntervalMinutes", "MaxUploadSizeInBytes", "MinEnclosingGeofenceRadiusM", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy