All Downloads are FREE. Search and download functionalities are using the official Maven repository.

POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Data/Analytics/ClientTelemetryClientSettings.proto

package POGOProtos.Data.Analytics;

public final class ClientTelemetryClientSettingsOuterClass {
  private ClientTelemetryClientSettingsOuterClass() {}
  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 ClientTelemetryClientSettingsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Analytics.ClientTelemetryClientSettings)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool is_upload_enabled = 1;
     */
    boolean getIsUploadEnabled();

    /**
     * int64 max_upload_size_in_bytes = 2;
     */
    long getMaxUploadSizeInBytes();

    /**
     * int64 update_interval_in_sec = 3;
     */
    long getUpdateIntervalInSec();

    /**
     * int64 settings_update_interval_in_sec = 4;
     */
    long getSettingsUpdateIntervalInSec();

    /**
     * int64 max_envelope_queue_size = 5;
     */
    long getMaxEnvelopeQueueSize();

    /**
     * double sampling_probability = 6;
     */
    double getSamplingProbability();

    /**
     * bool use_player_based_sampling = 7;
     */
    boolean getUsePlayerBasedSampling();

    /**
     * double player_hash = 8;
     */
    double getPlayerHash();

    /**
     * string player_external_omni_id = 9;
     */
    java.lang.String getPlayerExternalOmniId();
    /**
     * string player_external_omni_id = 9;
     */
    com.google.protobuf.ByteString
        getPlayerExternalOmniIdBytes();

    /**
     * bool disable_omni_sending = 10;
     */
    boolean getDisableOmniSending();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Analytics.ClientTelemetryClientSettings}
   */
  public  static final class ClientTelemetryClientSettings extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Analytics.ClientTelemetryClientSettings)
      ClientTelemetryClientSettingsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ClientTelemetryClientSettings.newBuilder() to construct.
    private ClientTelemetryClientSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ClientTelemetryClientSettings() {
      isUploadEnabled_ = false;
      maxUploadSizeInBytes_ = 0L;
      updateIntervalInSec_ = 0L;
      settingsUpdateIntervalInSec_ = 0L;
      maxEnvelopeQueueSize_ = 0L;
      samplingProbability_ = 0D;
      usePlayerBasedSampling_ = false;
      playerHash_ = 0D;
      playerExternalOmniId_ = "";
      disableOmniSending_ = false;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ClientTelemetryClientSettings(
        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: {

              isUploadEnabled_ = input.readBool();
              break;
            }
            case 16: {

              maxUploadSizeInBytes_ = input.readInt64();
              break;
            }
            case 24: {

              updateIntervalInSec_ = input.readInt64();
              break;
            }
            case 32: {

              settingsUpdateIntervalInSec_ = input.readInt64();
              break;
            }
            case 40: {

              maxEnvelopeQueueSize_ = input.readInt64();
              break;
            }
            case 49: {

              samplingProbability_ = input.readDouble();
              break;
            }
            case 56: {

              usePlayerBasedSampling_ = input.readBool();
              break;
            }
            case 65: {

              playerHash_ = input.readDouble();
              break;
            }
            case 74: {
              java.lang.String s = input.readStringRequireUtf8();

              playerExternalOmniId_ = s;
              break;
            }
            case 80: {

              disableOmniSending_ = 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.Data.Analytics.ClientTelemetryClientSettingsOuterClass.internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.class, POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.Builder.class);
    }

    public static final int IS_UPLOAD_ENABLED_FIELD_NUMBER = 1;
    private boolean isUploadEnabled_;
    /**
     * bool is_upload_enabled = 1;
     */
    public boolean getIsUploadEnabled() {
      return isUploadEnabled_;
    }

    public static final int MAX_UPLOAD_SIZE_IN_BYTES_FIELD_NUMBER = 2;
    private long maxUploadSizeInBytes_;
    /**
     * int64 max_upload_size_in_bytes = 2;
     */
    public long getMaxUploadSizeInBytes() {
      return maxUploadSizeInBytes_;
    }

    public static final int UPDATE_INTERVAL_IN_SEC_FIELD_NUMBER = 3;
    private long updateIntervalInSec_;
    /**
     * int64 update_interval_in_sec = 3;
     */
    public long getUpdateIntervalInSec() {
      return updateIntervalInSec_;
    }

    public static final int SETTINGS_UPDATE_INTERVAL_IN_SEC_FIELD_NUMBER = 4;
    private long settingsUpdateIntervalInSec_;
    /**
     * int64 settings_update_interval_in_sec = 4;
     */
    public long getSettingsUpdateIntervalInSec() {
      return settingsUpdateIntervalInSec_;
    }

    public static final int MAX_ENVELOPE_QUEUE_SIZE_FIELD_NUMBER = 5;
    private long maxEnvelopeQueueSize_;
    /**
     * int64 max_envelope_queue_size = 5;
     */
    public long getMaxEnvelopeQueueSize() {
      return maxEnvelopeQueueSize_;
    }

    public static final int SAMPLING_PROBABILITY_FIELD_NUMBER = 6;
    private double samplingProbability_;
    /**
     * double sampling_probability = 6;
     */
    public double getSamplingProbability() {
      return samplingProbability_;
    }

    public static final int USE_PLAYER_BASED_SAMPLING_FIELD_NUMBER = 7;
    private boolean usePlayerBasedSampling_;
    /**
     * bool use_player_based_sampling = 7;
     */
    public boolean getUsePlayerBasedSampling() {
      return usePlayerBasedSampling_;
    }

    public static final int PLAYER_HASH_FIELD_NUMBER = 8;
    private double playerHash_;
    /**
     * double player_hash = 8;
     */
    public double getPlayerHash() {
      return playerHash_;
    }

    public static final int PLAYER_EXTERNAL_OMNI_ID_FIELD_NUMBER = 9;
    private volatile java.lang.Object playerExternalOmniId_;
    /**
     * string player_external_omni_id = 9;
     */
    public java.lang.String getPlayerExternalOmniId() {
      java.lang.Object ref = playerExternalOmniId_;
      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();
        playerExternalOmniId_ = s;
        return s;
      }
    }
    /**
     * string player_external_omni_id = 9;
     */
    public com.google.protobuf.ByteString
        getPlayerExternalOmniIdBytes() {
      java.lang.Object ref = playerExternalOmniId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        playerExternalOmniId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DISABLE_OMNI_SENDING_FIELD_NUMBER = 10;
    private boolean disableOmniSending_;
    /**
     * bool disable_omni_sending = 10;
     */
    public boolean getDisableOmniSending() {
      return disableOmniSending_;
    }

    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 (isUploadEnabled_ != false) {
        output.writeBool(1, isUploadEnabled_);
      }
      if (maxUploadSizeInBytes_ != 0L) {
        output.writeInt64(2, maxUploadSizeInBytes_);
      }
      if (updateIntervalInSec_ != 0L) {
        output.writeInt64(3, updateIntervalInSec_);
      }
      if (settingsUpdateIntervalInSec_ != 0L) {
        output.writeInt64(4, settingsUpdateIntervalInSec_);
      }
      if (maxEnvelopeQueueSize_ != 0L) {
        output.writeInt64(5, maxEnvelopeQueueSize_);
      }
      if (samplingProbability_ != 0D) {
        output.writeDouble(6, samplingProbability_);
      }
      if (usePlayerBasedSampling_ != false) {
        output.writeBool(7, usePlayerBasedSampling_);
      }
      if (playerHash_ != 0D) {
        output.writeDouble(8, playerHash_);
      }
      if (!getPlayerExternalOmniIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, playerExternalOmniId_);
      }
      if (disableOmniSending_ != false) {
        output.writeBool(10, disableOmniSending_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (isUploadEnabled_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, isUploadEnabled_);
      }
      if (maxUploadSizeInBytes_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, maxUploadSizeInBytes_);
      }
      if (updateIntervalInSec_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, updateIntervalInSec_);
      }
      if (settingsUpdateIntervalInSec_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, settingsUpdateIntervalInSec_);
      }
      if (maxEnvelopeQueueSize_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(5, maxEnvelopeQueueSize_);
      }
      if (samplingProbability_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(6, samplingProbability_);
      }
      if (usePlayerBasedSampling_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, usePlayerBasedSampling_);
      }
      if (playerHash_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(8, playerHash_);
      }
      if (!getPlayerExternalOmniIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, playerExternalOmniId_);
      }
      if (disableOmniSending_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(10, disableOmniSending_);
      }
      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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings other = (POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings) obj;

      boolean result = true;
      result = result && (getIsUploadEnabled()
          == other.getIsUploadEnabled());
      result = result && (getMaxUploadSizeInBytes()
          == other.getMaxUploadSizeInBytes());
      result = result && (getUpdateIntervalInSec()
          == other.getUpdateIntervalInSec());
      result = result && (getSettingsUpdateIntervalInSec()
          == other.getSettingsUpdateIntervalInSec());
      result = result && (getMaxEnvelopeQueueSize()
          == other.getMaxEnvelopeQueueSize());
      result = result && (
          java.lang.Double.doubleToLongBits(getSamplingProbability())
          == java.lang.Double.doubleToLongBits(
              other.getSamplingProbability()));
      result = result && (getUsePlayerBasedSampling()
          == other.getUsePlayerBasedSampling());
      result = result && (
          java.lang.Double.doubleToLongBits(getPlayerHash())
          == java.lang.Double.doubleToLongBits(
              other.getPlayerHash()));
      result = result && getPlayerExternalOmniId()
          .equals(other.getPlayerExternalOmniId());
      result = result && (getDisableOmniSending()
          == other.getDisableOmniSending());
      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) + IS_UPLOAD_ENABLED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsUploadEnabled());
      hash = (37 * hash) + MAX_UPLOAD_SIZE_IN_BYTES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getMaxUploadSizeInBytes());
      hash = (37 * hash) + UPDATE_INTERVAL_IN_SEC_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getUpdateIntervalInSec());
      hash = (37 * hash) + SETTINGS_UPDATE_INTERVAL_IN_SEC_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getSettingsUpdateIntervalInSec());
      hash = (37 * hash) + MAX_ENVELOPE_QUEUE_SIZE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getMaxEnvelopeQueueSize());
      hash = (37 * hash) + SAMPLING_PROBABILITY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getSamplingProbability()));
      hash = (37 * hash) + USE_PLAYER_BASED_SAMPLING_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUsePlayerBasedSampling());
      hash = (37 * hash) + PLAYER_HASH_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getPlayerHash()));
      hash = (37 * hash) + PLAYER_EXTERNAL_OMNI_ID_FIELD_NUMBER;
      hash = (53 * hash) + getPlayerExternalOmniId().hashCode();
      hash = (37 * hash) + DISABLE_OMNI_SENDING_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDisableOmniSending());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings 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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings 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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings 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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings 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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings 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.Analytics.ClientTelemetryClientSettings}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:POGOProtos.Data.Analytics.ClientTelemetryClientSettings)
        POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettingsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.class, POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.Builder.class);
      }

      // Construct using POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.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();
        isUploadEnabled_ = false;

        maxUploadSizeInBytes_ = 0L;

        updateIntervalInSec_ = 0L;

        settingsUpdateIntervalInSec_ = 0L;

        maxEnvelopeQueueSize_ = 0L;

        samplingProbability_ = 0D;

        usePlayerBasedSampling_ = false;

        playerHash_ = 0D;

        playerExternalOmniId_ = "";

        disableOmniSending_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings getDefaultInstanceForType() {
        return POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings build() {
        POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings buildPartial() {
        POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings result = new POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings(this);
        result.isUploadEnabled_ = isUploadEnabled_;
        result.maxUploadSizeInBytes_ = maxUploadSizeInBytes_;
        result.updateIntervalInSec_ = updateIntervalInSec_;
        result.settingsUpdateIntervalInSec_ = settingsUpdateIntervalInSec_;
        result.maxEnvelopeQueueSize_ = maxEnvelopeQueueSize_;
        result.samplingProbability_ = samplingProbability_;
        result.usePlayerBasedSampling_ = usePlayerBasedSampling_;
        result.playerHash_ = playerHash_;
        result.playerExternalOmniId_ = playerExternalOmniId_;
        result.disableOmniSending_ = disableOmniSending_;
        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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings) {
          return mergeFrom((POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings other) {
        if (other == POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings.getDefaultInstance()) return this;
        if (other.getIsUploadEnabled() != false) {
          setIsUploadEnabled(other.getIsUploadEnabled());
        }
        if (other.getMaxUploadSizeInBytes() != 0L) {
          setMaxUploadSizeInBytes(other.getMaxUploadSizeInBytes());
        }
        if (other.getUpdateIntervalInSec() != 0L) {
          setUpdateIntervalInSec(other.getUpdateIntervalInSec());
        }
        if (other.getSettingsUpdateIntervalInSec() != 0L) {
          setSettingsUpdateIntervalInSec(other.getSettingsUpdateIntervalInSec());
        }
        if (other.getMaxEnvelopeQueueSize() != 0L) {
          setMaxEnvelopeQueueSize(other.getMaxEnvelopeQueueSize());
        }
        if (other.getSamplingProbability() != 0D) {
          setSamplingProbability(other.getSamplingProbability());
        }
        if (other.getUsePlayerBasedSampling() != false) {
          setUsePlayerBasedSampling(other.getUsePlayerBasedSampling());
        }
        if (other.getPlayerHash() != 0D) {
          setPlayerHash(other.getPlayerHash());
        }
        if (!other.getPlayerExternalOmniId().isEmpty()) {
          playerExternalOmniId_ = other.playerExternalOmniId_;
          onChanged();
        }
        if (other.getDisableOmniSending() != false) {
          setDisableOmniSending(other.getDisableOmniSending());
        }
        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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean isUploadEnabled_ ;
      /**
       * bool is_upload_enabled = 1;
       */
      public boolean getIsUploadEnabled() {
        return isUploadEnabled_;
      }
      /**
       * bool is_upload_enabled = 1;
       */
      public Builder setIsUploadEnabled(boolean value) {
        
        isUploadEnabled_ = value;
        onChanged();
        return this;
      }
      /**
       * bool is_upload_enabled = 1;
       */
      public Builder clearIsUploadEnabled() {
        
        isUploadEnabled_ = false;
        onChanged();
        return this;
      }

      private long maxUploadSizeInBytes_ ;
      /**
       * int64 max_upload_size_in_bytes = 2;
       */
      public long getMaxUploadSizeInBytes() {
        return maxUploadSizeInBytes_;
      }
      /**
       * int64 max_upload_size_in_bytes = 2;
       */
      public Builder setMaxUploadSizeInBytes(long value) {
        
        maxUploadSizeInBytes_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 max_upload_size_in_bytes = 2;
       */
      public Builder clearMaxUploadSizeInBytes() {
        
        maxUploadSizeInBytes_ = 0L;
        onChanged();
        return this;
      }

      private long updateIntervalInSec_ ;
      /**
       * int64 update_interval_in_sec = 3;
       */
      public long getUpdateIntervalInSec() {
        return updateIntervalInSec_;
      }
      /**
       * int64 update_interval_in_sec = 3;
       */
      public Builder setUpdateIntervalInSec(long value) {
        
        updateIntervalInSec_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 update_interval_in_sec = 3;
       */
      public Builder clearUpdateIntervalInSec() {
        
        updateIntervalInSec_ = 0L;
        onChanged();
        return this;
      }

      private long settingsUpdateIntervalInSec_ ;
      /**
       * int64 settings_update_interval_in_sec = 4;
       */
      public long getSettingsUpdateIntervalInSec() {
        return settingsUpdateIntervalInSec_;
      }
      /**
       * int64 settings_update_interval_in_sec = 4;
       */
      public Builder setSettingsUpdateIntervalInSec(long value) {
        
        settingsUpdateIntervalInSec_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 settings_update_interval_in_sec = 4;
       */
      public Builder clearSettingsUpdateIntervalInSec() {
        
        settingsUpdateIntervalInSec_ = 0L;
        onChanged();
        return this;
      }

      private long maxEnvelopeQueueSize_ ;
      /**
       * int64 max_envelope_queue_size = 5;
       */
      public long getMaxEnvelopeQueueSize() {
        return maxEnvelopeQueueSize_;
      }
      /**
       * int64 max_envelope_queue_size = 5;
       */
      public Builder setMaxEnvelopeQueueSize(long value) {
        
        maxEnvelopeQueueSize_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 max_envelope_queue_size = 5;
       */
      public Builder clearMaxEnvelopeQueueSize() {
        
        maxEnvelopeQueueSize_ = 0L;
        onChanged();
        return this;
      }

      private double samplingProbability_ ;
      /**
       * double sampling_probability = 6;
       */
      public double getSamplingProbability() {
        return samplingProbability_;
      }
      /**
       * double sampling_probability = 6;
       */
      public Builder setSamplingProbability(double value) {
        
        samplingProbability_ = value;
        onChanged();
        return this;
      }
      /**
       * double sampling_probability = 6;
       */
      public Builder clearSamplingProbability() {
        
        samplingProbability_ = 0D;
        onChanged();
        return this;
      }

      private boolean usePlayerBasedSampling_ ;
      /**
       * bool use_player_based_sampling = 7;
       */
      public boolean getUsePlayerBasedSampling() {
        return usePlayerBasedSampling_;
      }
      /**
       * bool use_player_based_sampling = 7;
       */
      public Builder setUsePlayerBasedSampling(boolean value) {
        
        usePlayerBasedSampling_ = value;
        onChanged();
        return this;
      }
      /**
       * bool use_player_based_sampling = 7;
       */
      public Builder clearUsePlayerBasedSampling() {
        
        usePlayerBasedSampling_ = false;
        onChanged();
        return this;
      }

      private double playerHash_ ;
      /**
       * double player_hash = 8;
       */
      public double getPlayerHash() {
        return playerHash_;
      }
      /**
       * double player_hash = 8;
       */
      public Builder setPlayerHash(double value) {
        
        playerHash_ = value;
        onChanged();
        return this;
      }
      /**
       * double player_hash = 8;
       */
      public Builder clearPlayerHash() {
        
        playerHash_ = 0D;
        onChanged();
        return this;
      }

      private java.lang.Object playerExternalOmniId_ = "";
      /**
       * string player_external_omni_id = 9;
       */
      public java.lang.String getPlayerExternalOmniId() {
        java.lang.Object ref = playerExternalOmniId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          playerExternalOmniId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string player_external_omni_id = 9;
       */
      public com.google.protobuf.ByteString
          getPlayerExternalOmniIdBytes() {
        java.lang.Object ref = playerExternalOmniId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          playerExternalOmniId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string player_external_omni_id = 9;
       */
      public Builder setPlayerExternalOmniId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        playerExternalOmniId_ = value;
        onChanged();
        return this;
      }
      /**
       * string player_external_omni_id = 9;
       */
      public Builder clearPlayerExternalOmniId() {
        
        playerExternalOmniId_ = getDefaultInstance().getPlayerExternalOmniId();
        onChanged();
        return this;
      }
      /**
       * string player_external_omni_id = 9;
       */
      public Builder setPlayerExternalOmniIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        playerExternalOmniId_ = value;
        onChanged();
        return this;
      }

      private boolean disableOmniSending_ ;
      /**
       * bool disable_omni_sending = 10;
       */
      public boolean getDisableOmniSending() {
        return disableOmniSending_;
      }
      /**
       * bool disable_omni_sending = 10;
       */
      public Builder setDisableOmniSending(boolean value) {
        
        disableOmniSending_ = value;
        onChanged();
        return this;
      }
      /**
       * bool disable_omni_sending = 10;
       */
      public Builder clearDisableOmniSending() {
        
        disableOmniSending_ = 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.Data.Analytics.ClientTelemetryClientSettings)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Analytics.ClientTelemetryClientSettings)
    private static final POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings();
    }

    public static POGOProtos.Data.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ClientTelemetryClientSettings parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ClientTelemetryClientSettings(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.Analytics.ClientTelemetryClientSettingsOuterClass.ClientTelemetryClientSettings getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_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/Analytics/ClientTeleme" +
      "tryClientSettings.proto\022\031POGOProtos.Data" +
      ".Analytics\"\333\002\n\035ClientTelemetryClientSett" +
      "ings\022\031\n\021is_upload_enabled\030\001 \001(\010\022 \n\030max_u" +
      "pload_size_in_bytes\030\002 \001(\003\022\036\n\026update_inte" +
      "rval_in_sec\030\003 \001(\003\022\'\n\037settings_update_int" +
      "erval_in_sec\030\004 \001(\003\022\037\n\027max_envelope_queue" +
      "_size\030\005 \001(\003\022\034\n\024sampling_probability\030\006 \001(" +
      "\001\022!\n\031use_player_based_sampling\030\007 \001(\010\022\023\n\013" +
      "player_hash\030\010 \001(\001\022\037\n\027player_external_omn" +
      "i_id\030\t \001(\t\022\034\n\024disable_omni_sending\030\n \001(\010" +
      "b\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_Data_Analytics_ClientTelemetryClientSettings_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Analytics_ClientTelemetryClientSettings_descriptor,
        new java.lang.String[] { "IsUploadEnabled", "MaxUploadSizeInBytes", "UpdateIntervalInSec", "SettingsUpdateIntervalInSec", "MaxEnvelopeQueueSize", "SamplingProbability", "UsePlayerBasedSampling", "PlayerHash", "PlayerExternalOmniId", "DisableOmniSending", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy